]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC floating point little-endian [13 of 15]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
6a31fe7f
AM
12013-10-04 Alan Modra <amodra@gmail.com>
2
3 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4 constants to usual value for .cst8 section, and remove redundant
5 high address load.
6 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
7 constant for 0x1p52. Load little-endian words of double from
8 correct stack offsets.
9
7b88401f
AM
102013-10-04 Alan Modra <amodra@gmail.com>
11
12 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14 words of double from correct stack offsets.
15 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32
9c008155
AM
332013-10-04 Alan Modra <amodra@gmail.com>
34
35 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
36 64-bit int/double union.
37 (_FPU_SETCW): Likewise.
38 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
39 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
40
da13146d
AM
412013-10-04 Alan Modra <amodra@gmail.com>
42
43 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
44 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
45
603e8410
AM
462013-10-04 Alan Modra <amodra@gmail.com>
47
48 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
49 use vector int constants.
50 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
51
4a28b3ca
AB
522013-10-04 Anton Blanchard <anton@au1.ibm.com>
53
54 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
55 array with long long.
56 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
57 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
58 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
59 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
60 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
61 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
63 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
64 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
65 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
66 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
67 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
68 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
69
2ca85d2b
AB
702013-10-04 Anton Blanchard <anton@au1.ibm.com>
71
72 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
73 (__signbit): Likewise. Correct for little-endian.
74 (__signbitl): Call __signbit.
75 (lrint): Correct for little-endian.
76 (lrintf): Call lrint.
77
62a728ae
AM
782013-10-04 Alan Modra <amodra@gmail.com>
79
80 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
81 union 32-bit int array member with 64-bit int array.
82 (t515, tm256): Double rather than long double.
83 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
84
32c301df
AM
852013-10-04 Alan Modra <amodra@gmail.com>
86
87 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
88 Delete.
89 (IEEE854_LONG_DOUBLE_BIAS): Delete.
90 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
91 version of math_ldbl.h.
92
650ef4bd
AM
932013-10-04 Alan Modra <amodra@gmail.com>
94
95 [BZ #15734], [BZ #15735]
96 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
97 all uses of ieee875 long double macros and unions. Simplify test
98 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
99 ldbl_extract_mantissa value for ix,iy exponents. Properly
100 normalize after ldbl_extract_mantissa, and don't add hidden bit
101 already handled. Don't treat low word of ieee854 mantissa like
102 low word of IBM long double and mask off bit when testing for
103 zero.
104 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
105 all uses of ieee875 long double macros and unions. Simplify tests
106 for 0.0L and inf. Correct double adjustment of k. Delete dead code
107 adjusting ha,hb. Simplify code setting kld. Delete two600 and
108 two1022, instead use their values. Recognise that tests for large
109 "a" and small "b" are mutually exclusive. Rename vars. Comment.
110 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
111 Rewrite all uses of ieee875 long double macros and unions. Simplify
112 test for 0.0L and nan. Correct negation.
113 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
114 ieee875 long double macros and unions. Correct output for large
115 magnitude x. Correct absolute value calculation.
116 (__erfcl): Likewise.
117 * math/libm-test.inc: Add tests for errors discovered in IBM long
118 double versions of fmodl, remainderl, erfl and erfcl.
119
765714ca
AM
1202013-10-04 Alan Modra <amodra@gmail.com>
121
122 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
123 all uses of ieee854 long double macros and unions. Simplify tests
124 for long doubles that are fully specified by the high double.
125 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
126 Likewise.
127 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
128 Remove dead code too.
129 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
130 (__ieee754_ynl): Likewise.
131 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
132 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
133 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
134 Remove dead code too.
135 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
136 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
137 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
138 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
139 Simplify.
140 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
141 Simplify.
142 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
143 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
144 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
145 Comment on variable precision.
146 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
147 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
148 Likewise.
149 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
150 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
151 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
152 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
153 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
154
4ebd120c
AM
1552013-10-04 Alan Modra <amodra@gmail.com>
156
157 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
158 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
159 all uses of ieee854 long double macros and unions.
160 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
161 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
162 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
163 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
164 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
165 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
166 Likewise.
167 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
168 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
169 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
170 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
171 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
172 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
173 Simplify sign and nan test too.
174 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
175 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
176 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
177 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
178 Likewise.
179 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
180 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
181 Likewise.
182 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
183 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
184 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
185 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
186 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
187 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
188
1b6adf88
AM
1892013-10-04 Alan Modra <amodra@gmail.com>
190
191 * stdio-common/printf_size.c (__printf_size): Don't use
192 union ieee854_long_double in fpnum union.
193 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
194 signbit macro to retrieve sign from long double.
195 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
196 retrieve sign from long double.
197 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
198 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
199 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
200 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
201 * math/test-misc.c (main): Don't use union ieee854_long_double.
202
4cf69995
AM
2032013-10-04 Alan Modra <amodra@gmail.com>
204
205 [BZ #15680]
206 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
207 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
208 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
209 calculation. Remove unnecessary test for denormal exponent.
210 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
211 Correct handling of denormals. Avoid undefined shift behaviour.
212 Correct normalisation of low mantissa when low double is denormal.
213 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
214 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
215 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
216 Correct normalisation of low mantissa. Test for overflow of high
217 mantissa and normalise.
218 (ldbl_nearbyint): Use more readable constant for two52.
219 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
220 (__mpn_construct_long_double): Fix test for overflow of high
221 mantissa and correct normalisation. Avoid undefined shift.
222
9605ca6c
AM
2232013-10-04 Alan Modra <amodra@gmail.com>
224
225 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
226 (union ibm_extended_long_double): Define as an array of ieee754_double.
227 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
228 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
229 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
230 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
231 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
232 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
233 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
234 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
235 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
236 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
237 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
238
975569d0
JM
2392013-10-03 Joseph Myers <joseph@codesourcery.com>
240
d3d23756
JM
241 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
242 page size instead of calling getpagesize.
243
975569d0
JM
244 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
245 (LOCFILE_ALIGN_MASK): Likewise.
246 (LOCFILE_ALIGN_UP): Likewise.
247 (LOCFILE_ALIGNED_P): Likewise.
248 * locale/programs/ld-collate.c (collate_output): Use the new
249 macros instead of __alignof__ (int32_t).
250 * locale/weight.h (findidx): Likewise.
251
b1fe1f2b
OB
2522013-10-03 Ondřej Bílka <neleai@seznam.cz>
253
254 [BZ #431]
255 * manual/string.texi: Fix strncat and wcsncat.
256
5f855e35
BM
2572013-10-03 Brooks Moses <bmoses@google.com>
258
259 [BZ #15915]
260 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
261 * Makerules: ...here, and adjust associated comments.
262
3cef6009
WN
2632013-10-02 Will Newton <will.newton@linaro.org>
264
265 * malloc/Makefile: Add tst-pvalloc.
266 * malloc/tst-pvalloc.c: New file.
267
7815420b
WN
2682013-10-02 Will Newton <will.newton@linaro.org>
269
270 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
271 improve test coverage.
272
4868b204
WN
2732013-10-02 Will Newton <will.newton@linaro.org>
274
275 * malloc/Makefile: Add tst-posix_memalign.
276 * malloc/tst-posix_memalign.c: New file.
277
29c793b3
EB
2782013-10-01 Eric Blake <eblake@redhat.com>
279
280 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
281 Use __THROWNL rather than __THROW on static functions.
282
fd967522
PM
2832013-09-30 Petr Machata <pmachata@redhat.com>
284
285 * elf/elf.h (R_AARCH64_ABS16): New macro.
286 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
287 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
288 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
289 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
290 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
291 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
292 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
293 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
294 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
295 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
296 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
297 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
298 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
299 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
300 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
301 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
302 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
303 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
304 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
305 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
306 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
307 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
308 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
309 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
310 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
311 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
312 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
313 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
314 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
315 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
316 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
317 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
318 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
319 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
320 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
321 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
322 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
323 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
324 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
325 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
326 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
327 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
328 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
329 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
330 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
331 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
332 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
333 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
334 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
335 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
336 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
337 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
338 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
339 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
340 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
341 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
342 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
343 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
344 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
345 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
346 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
347 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
348 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
349 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
350 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
351 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
352 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
353 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
354 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
355 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
356 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
357 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
358 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
359 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
360 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
361 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
362 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
363 (R_AARCH64_TLSDESC_LDR): Likewise.
364 (R_AARCH64_TLSDESC_ADD): Likewise.
365 (R_AARCH64_TLSDESC_CALL): Likewise.
366
b2179107
AS
3672013-09-30 Andreas Schwab <schwab@suse.de>
368
369 [BZ #15048]
370 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
371 the nss database lookup.
372 * nscd/initgrcache.c (addinitgroupsX): Likewise.
373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
374
47f28d0a
MF
3752013-09-28 Mike Frysinger <vapier@gentoo.org>
376
377 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
378
3792013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
380
381 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
382 ${Bash-specific parameter/pattern/string} parameter expansion.
383 * sysdeps/unix/make-syscalls.sh: Likewise.
384
f4518a17
KK
3852013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
386
387 * sysdeps/sh/stackguard-macros.h: New file.
388
dc1a95c7
OB
3892013-09-26 Ondřej Bílka <neleai@seznam.cz>
390
391 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
392 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
393 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
394 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
395 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
396 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
397
5ebbff8f
AZ
3982013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
399
400 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
401 Fix thread ID register.
402
4fd2cf9f
JM
4032013-09-25 Joseph Myers <joseph@codesourcery.com>
404
405 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
406 [POSIX || UNIX98]: Require rather than permitting all symbols from
407 <time.h>.
408 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
409 element of struct sched_param.
410 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
411 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
412 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
413 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
414 constant.
415
12c22bc4
OL
4162013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
417
418 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
419 argument calculation.
420
a03d8ea7
JM
4212013-09-24 Joseph Myers <joseph@codesourcery.com>
422
423 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
424 Expect macro.
425 [POSIX] (pthread_attr_t): Do not require type.
426 [POSIX] (pthread_cond_t): Likewise.
427 [POSIX] (pthread_condattr_t): Likewise.
428 [POSIX] (pthread_key_t): Likewise.
429 [POSIX] (pthread_mutex_t): Likewise.
430 [POSIX] (pthread_mutexattr_t): Likewise.
431 [POSIX] (pthread_once_t): Likewise.
432 [POSIX] (pthread_t): Likewise.
433 [POSIX-based standards] (pthread_atfork): Expect function.
434
6055173a
JM
4352013-09-24 Joseph Myers <joseph@codesourcery.com>
436 Richard Sandiford <richard@codesourcery.com>
437
438 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
439 (swap_endianness_p): New extern variable.
440 (set_big_endian): New inline function.
441 (maybe_swap_uint32): Likewise.
442 (maybe_swap_uint32_array): Likewise.
443 (maybe_swap_uint32_obstack): Likewise.
444 * locale/programs/locfile.c: Include <stdbool.h>.
445 (swap_endianness_p): New variable.
446 (add_locale_uint32): Call maybe_swap_uint32.
447 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
448 (write_locale_data): Call maybe_swap_uint32_array.
449 * locale/programs/ld-collate.c (obstack_int32_grow): Call
450 maybe_swap_uint32.
451 (obstack_int32_grow_fast): Likewise.
452 (output_weightwc): Call maybe_swap_uint32_obstack.
453 (collate_output): Likewise.
454 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
455 (OPT_LITTLE_ENDIAN): Likewise.
456 (options): Add --little-endian and --big-endian options.
457 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
458 * locale/programs/locarchive.c: Include "locfile.h".
459 (GET): New macro.
460 (SET): Likewise.
461 (INC): Likewise.
462 (create_archive): Use the new macros to access fields of
463 structures directly mapped from or written to locale archives.
464 (oldlocrecentcmp): Likewise.
465 (enlarge_archive): Likewise.
466 (insert_name): Likewise.
467 (add_alias): Likewise.
468 (add_locale): Likewise.
469 (delete_locales_from_archive): Likewise.
470 (show_archive_content): Likewise.
471 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
472 locale data.
473
39bf0bb4
RM
4742013-09-24 Roland McGrath <roland@hack.frob.com>
475
476 * manual/freemanuals.texi: Updated from (newly) canonical copy at
477 http://www.gnu.org/doc/freemanuals.texi.
478 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
479
f02eed10
WN
4802013-09-24 Will Newton <will.newton@linaro.org>
481
482 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
483 macro.
484
a3a6c312
JM
4852013-09-23 Joseph Myers <joseph@codesourcery.com>
486
487 * locale/hashval.h (compute_hashval): Interpret bytes of key as
488 unsigned char.
489
107375ac
MR
4902013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
491
492 * manual/threads.texi (POSIX Threads): Fix a typo.
493
141f3a77
SP
4942013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
495
303e567a
SP
496 [BZ #14547]
497 * string/tst-strcoll-overflow.c: New test case.
498 * string/Makefile (xtests): Add tst-strcoll-overflow.
499 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
500 cache if string sizes may cause integer overflow.
501
141f3a77
SP
502 [BZ #14547]
503 * string/strcoll_l.c (coll_seq): New members rule, idx,
504 save_idx and back_us.
505 (get_next_seq_nocache): New function.
506 (do_compare_nocache): New function.
507 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
508 when malloc fails.
509
c61b4d41
CD
5102013-09-23 Carlos O'Donell <carlos@redhat.com>
511
0b1f8e35
CD
512 [BZ #15754]
513 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
514 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
515 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
516
c61b4d41
CD
517 [BZ #15754]
518 * elf/Makefile (tests): Add tst-ptrguard1.
519 (tests-static): Add tst-ptrguard1-static.
520 (tst-ptrguard1-ARGS): Define.
521 (tst-ptrguard1-static-ARGS): Define.
522 * elf/tst-ptrguard1.c: New file.
523 * elf/tst-ptrguard1-static.c: New file.
524 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
525 * sysdeps/i386/stackguard-macros.h: Likewise.
526 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
527 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
528 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
529 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
530 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
531 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
532
5332013-09-23 Hector Marco <hecmargi@upv.es>
534 Ismael Ripoll <iripoll@disca.upv.es>
535 Carlos O'Donell <carlos@redhat.com>
536
537 [BZ #15754]
538 * sysdeps/generic/stackguard-macros.h: Define
539 __pointer_chk_guard_local and POINTER_CHK_GUARD.
540 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
541 Define __pointer_chk_guard_local.
542 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
543 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
544
f5f4e7b4
VV
5452013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
546
547 [BZ #15859]
548 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
549
5bb43a43
AS
5502013-09-20 Andreas Schwab <schwab@linux-m68k.org>
551
552 * include/string.h (__ffs): Declare as hidden.
553 * string/ffs.c (__ffs): Define as hidden.
554 * sysdeps/i386/ffs.c (__ffs): Likewise.
555 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
556 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
557 * sysdeps/s390/ffs.c (__ffs): Likewise.
558 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
559
3ea5be54
AO
5602013-09-20 Alexandre Oliva <aoliva@redhat.com>
561
ffb89e53
AO
562 * NEWS: Mention malloc probes.
563
322dea08
AO
564 * malloc/arena.c (new_heap): New memory_heap_new probe.
565 (grow_heap): New memory_heap_more probe.
566 (shrink_heap): New memory_heap_less probe.
567 (heap_trim): New memory_heap_free probe.
568 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
569 (systrim): New memory_sbrk_less probe.
570 * manual/probes.texi: Document them.
571
655673f3
AO
572 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
573 * manual/probes.texi: Document it.
574
35fed6f1
AO
575 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
576 (__libc_realloc): Add memory_realloc_retry probe.
577 (__libc_memalign): Add memory_memalign_retry probe.
578 (__libc_valloc): Add memory_valloc_retry probe.
579 (__libc_pvalloc): Add memory_pvalloc_retry probe.
580 (__libc_calloc): Add memory_calloc_retry probe.
581 * manual/probes.texi: Document them.
582
6999d38c
AO
583 * malloc/arena.c (get_free_list): Add probe
584 memory_arena_reuse_free_list.
585 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
586 and memory_arena_reuse.
587 (arena_get2) [!PER_THREAD]: Likewise.
588 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
589 memory_arena_reuse_realloc.
590 * manual/probes.texi: Document them.
591
0653427f
AO
592 * malloc/malloc.c (__libc_free): Add
593 memory_mallopt_free_dyn_thresholds probe.
594 (__libc_mallopt): Add multiple memory_mallopt probes.
595 * manual/probes.texi: Document them.
596
3ea5be54
AO
597 * malloc/malloc.c: Include stap-probe.h.
598 (__libc_mallopt): Add memory_mallopt probe.
599 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
600 * manual/probes.texi: New.
601 * manual/Makefile (chapters): Add probes.
602 * manual/threads.texi: Set next node.
603
e35696c3 6042013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 605
e35696c3
CL
606 [BZ #15963, #13985]
607 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
608 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
609 Add `Chinese' to `nan' entry name.
610
4aafb73c
SP
6112013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
612
613 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
614 (POLYNOMIAL): Likewise.
615 (TAYLOR_SINCOS): Likewise.
616 (TAYLOR_SLOW): Likewise.
617 (__sin): Use TAYLOR_SINCOS.
618 (__cos): Likewise.
619 (slow): Use TAYLOR_SLOW.
620 (sloww): Likewise.
621 (bsloww): Likewise.
622 (csloww): Likewise.
623
d84f25c7
LD
6242013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
625
626 * stdlib/strtod_l.c: Fix buffer overrun.
627
5eea0404
SP
6282013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
629
7849ff93
SP
630 * benchtests/Makefile (bench): Add sincos.
631 * benchtests/bench-sincos.c: New file.
632
cfa3c886
SP
633 * math/libm-test.inc (cos_test_data): New test inputs.
634 (sin_test_data): Likewise.
635
b348e1e3
SP
636 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
637 macro.
638 (__sin): Use it.
639 (__cos): Likewise.
640 (slow1): Likewise.
641 (slow2): Likewise.
642 (sloww1): Likewise.
643 (sloww2): Likewise.
644 (bsloww1): Likewise.
645 (bsloww2): Likewise.
646 (cslow2): Likewise.
647 (csloww1): Likewise.
648 (csloww2): Likewise.
649
6cce25f8
SP
650 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
651 function.
652 (__sin): Use it.
653 (__cos): Likewise.
654
5eea0404
SP
655 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
656 gotos.
657 (__cos): Likewise.
658
9c21573c
MR
6592013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
660
661 * config.h.in (HAVE_MIPS_NAN2008): New macro.
662 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
663 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
664 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
665 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
666 * elf/cache.c (print_entry): Handle the new cache flags.
667
24d22e65
JM
6682013-09-18 Joseph Myers <joseph@codesourcery.com>
669 Aldy Hernandez <aldyh@redhat.com>
670
671 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
672 Change condition to [_SOFT_FLOAT].
673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
682 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
683 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
685 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
686 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
687 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
688 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
689 declaration.
690
d13ef066
JM
6912013-09-18 Joseph Myers <joseph@codesourcery.com>
692
2e071de0
JM
693 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
694 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
695 (__longjmp): Use LOAD_GP to load saved GPRs.
696 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
697 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
698 (__sigsetjmp): Use SAVE_GP to save GPRs.
699
d13ef066
JM
700 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
701 Do not append -msoft-float.
702 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
703
97a0650b
SP
7042013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
705
706 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
707
11ca09e9
JM
7082013-09-17 Joseph Myers <joseph@codesourcery.com>
709
710 [BZ #15966]
711 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
712 (_FPU_GETCW): Use initial "__" on variable and field names but not
713 on macro parameter name.
714 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
715 parentheses around reference to macro parameter.
716
08ffcf34
RS
7172013-09-13 Richard Sandiford <richard@codesourcery.com>
718
719 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
720 prototype.
721 (ctype_startup): Use uint32_t in cast and sizeof for
722 ctype->charnames.
723
ae7080d3
JL
7242013-09-11 Jia Liu <proljc@gmail.com>
725
726 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
727 __daddr_t_defined.
728 [__FreeBSD__]: Likewise.
729
5905e7b3
OB
7302013-09-11 Ondřej Bílka <neleai@seznam.cz>
731
732 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
733 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
734 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
735 (strchr): Remove __strchr_sse42 ifunc selection.
736 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
737 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
738
b987c776
WN
7392013-09-11 Will Newton <will.newton@linaro.org>
740
741 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
742 parameter to RES. Remove hardcoded 1000 value.
743 * benchtests/bench-skeleton.c (main): Pass RES parameter
744 to TIMING_INIT and multiply result by 1000.
745
ddf985af
AZ
7462013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
747
748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
749
ffdd3181
AS
7502013-09-11 Andreas Schwab <schwab@suse.de>
751
752 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
753 if not defined.
754 (O_TMPFILE) [__USE_GNU]: Define.
755 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
756 Define.
757
b73ed247
WN
7582013-09-11 Will Newton <will.newton@linaro.org>
759
760 [BZ #15857]
761 * malloc/malloc.c (__libc_memalign): Check the value of bytes
762 does not overflow.
763
55e17aad
WN
7642013-09-11 Will Newton <will.newton@linaro.org>
765
766 [BZ #15856]
767 * malloc/malloc.c (__libc_valloc): Check the value of bytes
768 does not overflow.
769
1159a193
WN
7702013-09-11 Will Newton <will.newton@linaro.org>
771
772 [BZ #15855]
773 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
774 does not overflow.
775
5905e7b3 7762013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
777
778 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
779 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
780 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
781 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
782 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
783
cdfc721b
AM
7842013-09-10 Allan McRae <allan@archlinux.org>
785
aa04af00
AM
786 [BZ #15748]
787 * manual/arith.texi (Parsing of Floats): Clarify
788 cross-reference.
789
cdfc721b
AM
790 [BZ #15849]
791 * manual/install.texi (Running make install): Mention
792 --enable-pt-chown.
793 * INSTALL: Regenerated.
794
95e7cf29
MR
7952013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
796
797 * csu/init-first.c (_init): Remove the !SHARED condition around
798 FPU control word initialization.
799 * elf/dl-support.c (_dl_fpu_control): New variable.
800 (_dl_aux_init) <AT_FPUCW>: Initialize it.
801 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
802 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
803 * math/test-fpucw-static.c: New file.
804 * math/test-fpucw-ieee.c: New file.
805 * math/test-fpucw-ieee-static.c: New file.
806 * math/Makefile (tests): Add `test-fpucw-ieee' and
807 `$(tests-static)'.
808 (tests-static): New variable.
809 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
810 dependency to...
811 [($(build-shared),yes)]
812 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
813 ... this.
814 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
815 New dependency.
816
83e43bf0
AM
8172013-09-09 Allan McRae <allan@archlinux.org>
818
a9f5ce09
AM
819 [BZ #15939]
820 * manual/string.texi (Collation Functions): Fix typo in
821 strcoll example.
822 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
823
34829bc2
AM
824 [BZ #15893]
825 * stdlib/isomac.c (get_null_defines): Fix memory leak.
826
3932737d
AM
827 [BZ #15892]
828 * libio/memstream.c (open_memstream): Fix memory leak.
829 * libio/wmemstream.c (open_wmemstream): Likewise.
830
83e43bf0
AM
831 [BZ #15895]
832 * nscd/netgroupcache.c: Fix nesting of ifdefs.
833
0c66b8e9
WN
8342013-09-09 Will Newton <will.newton@linaro.org>
835
836 * malloc/Makefile: Add tst-realloc to tests.
837 * malloc/tst-realloc.c: New file.
838
f6b00fd1
AM
8392013-09-09 Allan McRae <allan@archlinux.org>
840
841 [BZ #15844]
842 * COPYING: Update from GNU website to fix FSF address.
843 * COPYING.LIB: Likewise.
844
eec55e16
DM
8452013-09-06 David S. Miller <davem@davemloft.net>
846
847 * po/zh_TW.po: Update Chinese (traditional) translation from
848 translation project.
849
1ecbb381
RS
8502013-09-06 Richard Sandiford <richard@codesourcery.com>
851 Joseph Myers <joseph@codesourcery.com>
852
853 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
854 "localeinfo.h".
855 (obstack_chunk_alloc): New macro.
856 (obstack_chunk_free): Likewise.
857 (record_offset): New function.
858 (init_locale_data): Likewise.
859 (align_locale_data): Likewise.
860 (add_locale_empty): Likewise.
861 (add_locale_raw_data): Likewise.
862 (add_locale_raw_obstack): Likewise.
863 (add_locale_string): Likewise.
864 (add_locale_wstring): Likewise.
865 (add_locale_uint32): Likewise.
866 (add_locale_uint32_array): Likewise.
867 (add_locale_char): Likewise.
868 (start_locale_structure): Likewise.
869 (end_locale_structure): Likewise.
870 (start_locale_prelude): Likewise.
871 (end_locale_prelude): Likewise.
872 (write_locale_data): Take locale_file structure rather than an
873 iovec.
874 * locale/programs/locfile.h: Include "obstack.h".
875 (struct locale_file): Change to store locale file contents instead
876 of header.
877 (init_locale_data): New prototype.
878 (align_locale_data): Likewise.
879 (add_locale_empty): Likewise.
880 (add_locale_raw_data): Likewise.
881 (add_locale_raw_obstack): Likewise.
882 (add_locale_string): Likewise.
883 (add_locale_wstring): Likewise.
884 (add_locale_uint32): Likewise.
885 (add_locale_uint32_array): Likewise.
886 (add_locale_char): Likewise.
887 (start_locale_structure): Likewise.
888 (end_locale_structure): Likewise.
889 (start_locale_prelude): Likewise.
890 (end_locale_prelude): Likewise.
891 (write_locale_data): Update prototype.
892 * locale/programs/3level.h (struct TABLE): Remove result field.
893 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
894 Use new locale_file interface.
895 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
896 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
897 * locale/programs/ld-address.c (address_output): Use new
898 locale_file interface.
899 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
900 NO_ADD_LOCALE.
901 (collate_finish): Don't call collseq_table_finalize.
902 (collate_output): Use new locale_file interface.
903 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
904 in file.
905 (NO_FINALIZE): Change to NO_ADD_LOCALE.
906 (TABLE): Move defines earlier in file.
907 (ELEMENT): Likewise.
908 (DEFAULT): Likewise.
909 (wctrans_table_add): Move macro and inline function earlier in
910 file.
911 (struct wctype_table): Move type earlier in file.
912 (add_locale_wctype_table): New static prototype.
913 (struct locale_ctype_t): Use logical types instead of struct iovec
914 pointers for members.
915 (ctype_output): Use new locale_file interface.
916 (wctype_table_finalize): Change to add_locale_wctype_table. Use
917 new locale_file interface.
918 (allocate_arrays): Update for use of new locale_file interface.
919 * locale/programs/ld-identification.c (identification_output): Use
920 new locale_file interface.
921 * locale/programs/ld-measurement.c (measurement_output): Likewise.
922 * locale/programs/ld-messages.c (messages_output): Likewise.
923 * locale/programs/ld-monetary.c (monetary_output): Likewise.
924 * locale/programs/ld-name.c (name_output): Likewise.
925 * locale/programs/ld-numeric.c (numeric_output): Likewise.
926 * locale/programs/ld-paper.c (paper_output): Likewise.
927 * locale/programs/ld-telephone.c (telephone_output): Likewise.
928 * locale/programs/ld-time.c (time_output): Likewise.
929
e029e2e5
AZ
9302013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
931
932 * benchtests/Makefile: Add memrchr benchmark.
933 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
934 benchmark as memrchr.
935 * benchtests/bench-memrchr-ifunc.c: New file.
936 * benchtests/bench-memrchr.c: New file.
937
bbf6e8e4
WN
9382013-09-06 Will Newton <will.newton@linaro.org>
939
940 * benchtests/Makefile (string-bench): Add memcpy.
941
6c82a2f8
CD
9422013-09-05 Carlos O'Donell <carlos@redhat.com>
943 Cong Wang <amwang@redhat.com>
944
945 * sysdeps/unix/sysv/linux/bits/in.h
946 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
947 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
948 before __USE_KERNEL_IPV6_DEFS uses.
949 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
950 IPPROTO_BEETPH.
951 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
952 sockaddr_in6, or ipv6_mreq.
953
5430fc65
AZ
9542013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
955
956 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
957 memory access for final bytes in some large inputs.
958 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
959
4660856c
AZ
9602013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
961
962 * string/test-memrchr.c: New file.
963 * string/test-memrchr-ifunc.c: New file.
964 * string/Makefile: Add new memrchr testcase.
965
bb8ea713
MF
9662013-09-05 Mike Frysinger <vapier@gentoo.org>
967
968 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
969 fanotify_init returns EPERM.
970
b92a20b5
JM
9712013-09-04 Joseph Myers <joseph@codesourcery.com>
972
973 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
974 errors.
975 (top level): Treat second token from macro or constant entries for
976 allowed headers as allowed.
977 * include/complex.h: Condition internal declarations on
978 [!_ISOMAC].
979 * include/fenv.h: Condition include of <stdbool.h> and internal
980 declarations on [!_ISOMAC].
7447ccd9
CL
981
9822013-09-04 Chris Leonard <cjl@sugarlabs,.org>
983
3e181dda 984 [BZ #15923]
7447ccd9
CL
985 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
986
3f2e46a4
JM
9872013-09-04 Joseph Myers <joseph@codesourcery.com>
988
989 * configure.in (--enable-versioning): Remove configure option.
990 (libc_cv_asm_symver_directive): Remove configure test.
991 (libc_cv_ld_version_script_option): Likewise.
992 (VERSIONING): Remove variable and AC_SUBST.
993 (DO_VERSIONING): Remove AC_DEFINE.
994 * configure: Regenerated.
995 * config.h.in (DO_VERSIONING): Remove macro.
996 * Makerules [$(versioning) = yes]: Change conditionals to
997 [$(build-shared) = yes].
998 * config.make.in (versioning): Remove variable.
999 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1000 [$(build-shared) = yes].
1001 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1002 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1003 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1004 [$(build-shared) = yes].
1005 * extra-lib.mk [$(versioning) = yes]: Likewise.
1006 * hurd/Makefile [$(versioning) = yes]: Likewise.
1007 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1008 [SHARED].
1009 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1010 [SHARED].
1011 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1012 [SHARED && !NO_HIDDEN].
1013 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1014 [SHARED].
1015 [SHARED && DO_VERSIONING]: Likewise..
1016 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1017 [$(build-shared) = yes].
1018 * manual/install.texi (--disable-versioning): Remove
1019 documentation.
1020 * INSTALL: Regenerated.
1021 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1022 to [SHARED].
1023 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1024 [$(build-shared) = yes].
1025 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1026 * sysdeps/i386/i686/multiarch/strstr-c.c
1027 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1028 [SHARED && !NO_HIDDEN].
1029 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1030 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1031 * sysdeps/powerpc/powerpc32/dl-machine.c
1032 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1033 * sysdeps/powerpc/powerpc32/sysdep.h
1034 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1035 to [SHARED && PIC && !NO_HIDDEN].
1036 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1037 conditional to [SHARED].
1038
44558701
WN
10392013-09-04 Will Newton <will.newton@linaro.org>
1040
1041 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1042 * benchtests/bench-string.h: Include bench-timing.h instead
1043 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1044 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1045 call to HP_TIMING_DIFF_INIT.
1046 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1047 instead of hp-timing.h macros.
1048 * benchtests/bench-memchr.c: Likewise.
1049 * benchtests/bench-memcmp.c: Likewise.
1050 * benchtests/bench-memcpy.c: Likewise.
1051 * benchtests/bench-memmem.c: Likewise.
1052 * benchtests/bench-memmove.c: Likewise.
1053 * benchtests/bench-memset.c: Likewise.
1054 * benchtests/bench-rawmemchr.c: Likewise.
1055 * benchtests/bench-strcasecmp.c: Likewise.
1056 * benchtests/bench-strcasestr.c: Likewise.
1057 * benchtests/bench-strcat.c: Likewise.
1058 * benchtests/bench-strchr.c: Likewise.
1059 * benchtests/bench-strcmp.c: Likewise.
1060 * benchtests/bench-strcpy.c: Likewise.
1061 * benchtests/bench-strcpy_chk.c: Likewise.
1062 * benchtests/bench-strlen.c: Likewise.
1063 * benchtests/bench-strncasecmp.c: Likewise.
1064 * benchtests/bench-strncat.c: Likewise.
1065 * benchtests/bench-strncmp.c: Likewise.
1066 * benchtests/bench-strncpy.c: Likewise.
1067 * benchtests/bench-strnlen.c: Likewise.
1068 * benchtests/bench-strpbrk.c: Likewise.
1069 * benchtests/bench-strrchr.c: Likewise.
1070 * benchtests/bench-strspn.c: Likewise.
1071 * benchtests/bench-strstr.c: Likewise.
1072
cae16d66
WN
10732013-09-04 Will Newton <will.newton@linaro.org>
1074
1075 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1076
ffa3cd7f
JM
10772013-09-03 Joseph Myers <joseph@codesourcery.com>
1078
1079 [BZ #15427]
1080 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1081 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1082 * math/libm-test.inc (lgamma_test_data): Add more tests.
1083 * sysdeps/i386/fpu/libm-test-ulps: Update.
1084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1085
8f02859f
OB
10862013-09-03 Ondřej Bílka <neleai@seznam.cz>
1087
1088 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1089 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1090 Add ifunc.
1091 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1092 Add strcmp-sse2-unaligned
1093 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1094
18d43716
MF
10952013-09-02 Mike Frysinger <vapier@gentoo.org>
1096
1097 * Versions.def (libc): Add GLIBC_2.19.
1098
ac444012
MF
10992013-09-02 Mike Frysinger <vapier@gentoo.org>
1100
1101 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1102 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1103
b7835e32
JM
11042013-09-02 Joseph Myers <joseph@codesourcery.com>
1105
1106 [BZ #14155]
1107 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1108 intermediate calculations in recurrence.
1109 (__ieee754_ynf): Likewise.
1110 * math/libm-test.inc (jn_test_data): Do not allow spurious
1111 underflow exception. Add more tests.
1112 (yn_test_data): Add more tests.
1113 * sysdeps/i386/fpu/libm-test-ulps: Update.
1114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1115
8220f4f0
OB
11162013-09-02 Ondřej Bílka <neleai@seznam.cz>
1117
1118 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1119
f24a6d08
OB
11202013-08-30 Ondřej Bílka <neleai@seznam.cz>
1121
1122 * csu/init-first.c: Fix then/than typos.
1123 * locale/programs/ld-collate.c: Likewise.
1124 * locale/programs/linereader.h: Likewise.
1125 * manual/charset.texi: Likewise.
1126 * manual/filesys.texi: Likewise.
1127 * manual/stdio.texi: Likewise.
1128 * manual/string.texi: Likewise.
1129 * stdlib/fmtmsg.c: Likewise.
1130 * sysdeps/i386/stpncpy.S: Likewise.
1131 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1132 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1133 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1134 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1135
382466e0
OB
11362013-08-30 Ondřej Bílka <neleai@seznam.cz>
1137
1138 * elf/dl-open.c: Fix typos.
1139 * iconvdata/gbbig5.c: Likewise.
1140 * iconvdata/iso-2022-jp.c: Likewise.
1141 * iconv/gconv_int.h: Likewise.
1142 * iconv/loop.c: Likewise.
1143 * nis/rpcsvc/nis.h: Likewise.
1144 * resolv/ns_name.c: Likewise.
1145 * stdio-common/vfscanf.c: Likewise.
1146 * streams/stropts.h: Likewise.
1147 * sunrpc/rpc_thread.c: Likewise.
1148 * sysdeps/i386/strpbrk.S: Likewise.
1149 * sysdeps/ieee754/k_standard.c: Likewise.
1150 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1151 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1152 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1153 * sysdeps/mach/hurd/profil.c: Likewise.
1154 * sysdeps/s390/dl-procinfo.h: Likewise.
1155 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1156 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1157 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1158 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1159 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1160
0186c6e9
OB
11612013-08-30 Ondřej Bílka <neleai@seznam.cz>
1162
1163 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1164 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1165
d4e16af1
OB
11662013-08-29 Ondřej Bílka <neleai@seznam.cz>
1167
1168 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1169 aix specific files.
1170 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1171 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1172 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1173 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1174 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1175 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1176 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1177 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1178
88335980
TS
11792013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1180 Roland McGrath <roland@hack.frob.com>
1181
1182 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1183 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1184
ed479b02
ST
11852013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1186
1187 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1188 __executable_start symbol instead of _start.
1189
f1cc4c86
TS
11902013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1191
d821f07c
TS
1192 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1193 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1194 Move macros to...
1195 * sysdeps/gnu/ldsodefs.h: ... this new file.
1196
c54290cf
TS
1197 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1198 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1199 instead of ELFOSABI_LINUX.
1200
0007fc9b 1201 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
1202 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1203 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1204 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1205 Likewise.
1206 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1207 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1208 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1209 Likewise.
1210 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1211 (ibm_extended_long_double): Add ieee_nan member.
1212 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1213 (do_test): New function.
1214
f1cc4c86
TS
1215 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1216 TEST_TRUNC.
1217 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1218 functions, renamed from truncdfsf_test, trunctfsf_test,
1219 trunctfdf_test.
1220 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1221 functions.
1222 (do_test): Run all these.
1223
6f65e668
OB
12242013-08-29 Ondřej Bílka <neleai@seznam.cz>
1225
1226 * argp/argp-help.c: Fix typos.
1227 * argp/argp-parse.c: Likewise.
1228 * debug/backtracesyms.c: Likewise.
1229 * elf/elf.h: Likewise.
1230 * malloc/malloc.c: Likewise.
1231 * nis/nis_print.c: Likewise.
1232 * resolv/res_comp.c: Likewise.
1233 * stdlib/stdlib.h: Likewise.
1234 * sunrpc/clnt_tcp.c: Likewise.
1235 * sunrpc/clnt_udp.c: Likewise.
1236 * sunrpc/clnt_unix.c: Likewise.
1237 * sysdeps/unix/bsd/ptsname.c: Likewise.
1238 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1239 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1241 Likewise.
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1243 Likewise.
1244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1245 Likewise.
6f65e668
OB
1246 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1247
3a309239
SP
12482013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1249
1250 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1252
3b813b29
MF
12532013-08-27 Mike Frysinger <vapier@gentoo.org>
1254
1255 [BZ #15897]
1256 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1257 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1258 ($(objpfx)bug-dl-leaf): New rule.
1259 ($(objpfx)bug-dl-leaf.so): Likewise.
1260 ($(objpfx)bug-dl-leaf.out): Likewise.
1261 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1262 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1263 * dlfcn/bug-dl-leaf.c: New test.
1264 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1265 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1266 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1267 (dlclose): Likewise.
1268 (dlmopen): Likewise.
1269
8cc3269f
RM
12702013-08-27 Roland McGrath <roland@hack.frob.com>
1271
7f9d0034
RM
1272 * include/netdb.h [!_ISOMAC]:
1273 Don't include <tls.h>.
1274 (h_errno, __libc_h_errno): Move declaration and macros out of
1275 [_LIBC_REENTRANT].
1276
fb431262
RM
1277 * include/resolv.h [_RESOLV_H_]:
1278 Don't include <tls.h>.
1279 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1280 * resolv/res_libc.c: Don't include <tls.h>.
1281 (_res): Use __attribute__ ((nocommon)) in place of
1282 __attribute__ ((section (".bss"))).
1283
bd81123a
RM
1284 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1285 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1286
c4e42566
RM
1287 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1288
f890a59b
RM
1289 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1290 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1291
1292 * resolv/res_mkquery.c: Include <sys/time.h>.
1293
5d1f0a09
RM
1294 * inet/ifreq.c: Moved to ...
1295 * sysdeps/unix/ifreq.c: ... here.
1296 * inet/ifreq.c: New file, true stub version.
1297
6fcf28b3
RM
1298 * socket/sa_len.c: New file.
1299 * socket/Makefile (aux): Add it.
1300 * sysdeps/unix/sysv/linux/Makefile
1301 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1302 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1303 and #include <socket/sa_len.c>.
1304 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1305 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1306
e041fb8b
RM
1307 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1308 * bits/socket.h: ... here.
1309
8cc3269f
RM
1310 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1311 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1312 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1313
5d228a43
AS
13142013-08-27 Andreas Schwab <schwab@suse.de>
1315
45b8accc
AS
1316 [BZ #15736]
1317 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1318 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1319 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1320 * string/test-strcasecmp.c (test_main): Run tests in several
1321 locales.
1322 * string/test-strncasecmp.c (test_main): Likewise.
1323
5d228a43
AS
1324 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1325 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1326 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1327 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1328 (__strncasecmp_ssse3) [PIC]: Likewise.
1329
59d112a4
RM
13302013-08-26 Roland McGrath <roland@hack.frob.com>
1331
53234cc3
RM
1332 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1333
59d112a4
RM
1334 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1335 instead of explicitly declaring xdecrypt.
1336 * nis/nss_nis/nis-publickey.c: Likewise.
1337
595aba70
SP
13382013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1339
1340 [BZ #15890]
1341 * nscd/aicache.c: Include res_hconf.h.
1342 (addhstaiX): Initialize res_hconf.
1343
ffabd393
AS
13442013-08-26 Andreas Schwab <schwab@suse.de>
1345
1346 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1347 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1348
e0a69f5c
SP
13492013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1350
1351 * nscd/aicache.c (addhstaiX): Fix indentation.
1352
8c12f01d
MF
13532013-08-25 Mike Frysinger <vapier@gentoo.org>
1354
1355 * configure.ac: Quote $build_pt_chown test.
1356 * configure: Regenerated.
1357
8fe89494
JM
13582013-08-23 Joseph Myers <joseph@codesourcery.com>
1359
1360 [BZ #15532]
1361 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1362 * math/s_cexpf.c (__cexpf): Likewise.
1363 * math/s_cexpl.c (__cexpl): Likewise.
1364 * math/libm-test.inc (cexp_test_data): Correct expected return
1365 value for NaN + i0. Add another test.
1366
75b181d6
DM
13672013-08-22 David S. Miller <davem@davemloft.net>
1368
1369 * po/ca.po: Update Catalan translation from translation project.
936241e4 1370 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1371
acd06bb1
JM
13722013-08-21 Joseph Myers <joseph@codesourcery.com>
1373
1374 [BZ #15797]
1375 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1376 is infinite, not alongside NaN test.
1377 * math/s_fdimf.c (__fdimf): Likewise.
1378 * math/s_fdiml.c (__fdiml): Likewise.
1379 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1380 errno is unchanged.
1381
c0c3f78a
OB
13822013-08-21 Ondřej Bílka <neleai@seznam.cz>
1383
1384 * argp/argp-help.c: Fix typos.
1385 * crypt/speeds.c: Likewise.
1386 * csu/check_fds.c: Likewise.
1387 * elf/dl-load.c: Likewise.
1388 * elf/dl-open.c: Likewise.
1389 * elf/reldep3.c: Likewise.
1390 * elf/reldep.c: Likewise.
1391 * elf/sprof.c: Likewise.
1392 * iconv/iconv_charmap.c: Likewise.
1393 * iconv/skeleton.c: Likewise.
1394 * iconv/strtab.c: Likewise.
1395 * io/lockf64.c: Likewise.
1396 * libio/libioP.h: Likewise.
1397 * resolv/gai_notify.c: Likewise.
1398 * resolv/ns_name.c: Likewise.
1399 * resolv/ns_samedomain.c: Likewise.
1400 * resolv/res_send.c: Likewise.
1401 * stdlib/random.c: Likewise.
1402 * sunrpc/rpc/xdr.h: Likewise.
1403 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1404 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1405 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1406 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1407 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1408 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1409 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1410 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1411 * sysdeps/mach/hurd/check_fds.c: Likewise.
1412 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1413 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1414 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1415 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1416 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1417 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1418 * sysdeps/pthread/aio_notify.c: Likewise.
1419 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1420 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1421 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1422 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1423 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1424
46ed1038
LD
14252013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1426
1427 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1428 version if bit_Slow_SSE4_2 is set.
1429 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1430 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1431
d400dcac
AZ
14322013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1433
1434 [BZ #15867]
1435 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1436 trampoline stack frame information.
1437 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1438 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1439 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1440 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1441 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1442 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1443 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1444 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1445 sa_flags value.
1446 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1447 interrupting a syscall and set with option SA_SIGINFO.
1448
42c8fdd8
JM
14492013-08-20 Joseph Myers <joseph@codesourcery.com>
1450
c980f2f4
JM
1451 [BZ #15531]
1452 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1453 argument is infinite.
1454 * math/s_cprojf.c (__cprojf): Likewise.
1455 * math/s_cprojl.c (__cprojl): Likewise.
1456 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1457 * math/libm-test.inc (cproj_test_data): Add more tests.
1458
0716c4fc
JM
1459 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1460
42c8fdd8
JM
1461 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1462 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1463 size. Use __ffs to determine corresponding shift.
1464
b31469d0
JM
14652013-08-20 Joseph Myers <joseph@codesourcery.com>
1466 Roland McGrath <roland@hack.frob.com>
1467
1468 * Makefile (INSTALL): Remove trailing blank lines from output of
1469 makeinfo.
1470
4e39af6e
AK
14712013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1472
1473 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1474 Align 32 bit compat elf_greg to 8 bytes.
1475
f315524e
AA
14762013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1477
1478 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1479
1326ba1a
SP
14802013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1481
1482 * string/strcoll_l.c (coll_seq): New structure.
1483 (get_next_seq_cached): New function.
1484 (get_next_seq): New function.
1485 (do_compare): New function.
1486 (STRCOLL): Use GNU style definition. Simplify implementation
1487 by using get_next_seq, get_next_seq_cached and do_compare.
1488
91ce4085
FW
14892013-08-16 Florian Weimer <fweimer@redhat.com>
1490
1491 [BZ #14699]
1492 CVE-2013-4237
1493 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1494 member.
1495 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1496 member.
1497 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1498 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1499 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1500 conditional.
1501 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1502 GETDENTS_64BIT_ALIGNED.
1503 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1504 * manual/filesys.texi (Reading/Closing Directory): Document
1505 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1506 strongly.
1507 * manual/conf.texi (Limits for Files): Add portability note to
1508 NAME_MAX, PATH_MAX.
1509 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1510
ca0a6bc4
AS
15112013-08-13 Andreas Schwab <schwab@suse.de>
1512
1513 [BZ #15749]
1514 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1515 of fabs.
1516 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1517 LDBL_MAX_EXP >= 16384]: Add tests for it.
1518
6c1fd795
DM
15192013-08-12 David S. Miller <davem@davemloft.net>
1520
1521 * version.h (RELEASE): Set to "development".
1522 (VERSION): Set to "2.18.90".
1523 * NEWS: Add 2.19 section.
1524
31ad488d
DM
15252013-08-03 David S. Miller <davem@davemloft.net>
1526
1527 * po/ko.po: Update Korean translation from translation project.
1528
db24e684
DM
15292013-08-01 David S. Miller <davem@davemloft.net>
1530
1531 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1532 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1533 Bilka.
1534
f723285b
DM
15352013-07-30 David S. Miller <davem@davemloft.net>
1536
1537 * po/fr.po: Update French translation from translation project.
1538
3cbc52db
DM
15392013-07-28 David S. Miller <davem@davemloft.net>
1540
30bbc0cc
DM
1541 * po/cs.po: Update Czech translation from translation project.
1542
3cbc52db
DM
1543 * po/sv.po: Update Swedish translation from translation project.
1544
d492e6d0
DM
15452013-07-27 David S. Miller <davem@davemloft.net>
1546
f1a7f492
DM
1547 * po/eo.po: Update Esperanto translation from translation project.
1548
90e62a4a
DM
1549 * po/vi.po: Update Vietnamese translation from translation project.
1550
d492e6d0
DM
1551 * po/de.po: Update German translation from translation project.
1552
d4baa62d
DM
15532013-07-26 David S. Miller <davem@davemloft.net>
1554
641aa7b4
DM
1555 * po/bg.po: Update Bulgarian translation from translation project.
1556
d4baa62d
DM
1557 * po/nl.po: Update Dutch translation from translation project.
1558 * po/pl.po: Update Polish translation from translation project.
1559 * po/ru.po: Update Russian translation from translation project.
1560
61a9dcb9
DM
15612013-07-24 David S. Miller <davem@davemloft.net>
1562
1563 * po/libc.pot: Update.
1564
7b1f8b58
AZ
15652013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1566
1567 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1568 variable page size.
1569 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1570 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1571 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1572
a8fc7a03
AK
15732013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1574
1575 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1576
e4608715
CD
15772013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1578 Andreas Schwab <schwab@suse.de>
1579 Roland McGrath <roland@hack.frob.com>
1580 Joseph Myers <joseph@codesourcery.com>
1581 Carlos O'Donell <carlos@redhat.com>
1582
1583 [BZ #15755]
1584 * config.h.in: Define HAVE_PT_CHOWN.
1585 * config.make.in (build-pt-chown): New variable.
1586 * configure.in (--enable-pt_chown): New configure option.
1587 * configure: Regenerate.
1588 * login/Makefile: Include Makeconfig. Build pt_chown only if
1589 build-pt-chown is enabled.
1590 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1591 pt_chown to fix pty ownership.
1592 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1593 CLOSE_ALL_FDS.
1594 * manual/install.texi (Configuring and compiling): Mention
1595 --enable-pt_chown. Add @findex for grantpt.
1596 * INSTALL: Regenerate.
1597
da2d62df
DM
15982013-07-20 David S. Miller <davem@davemloft.net>
1599
1600 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1601 difference between 32-bit and 64-bit.
1602
d7e06450
CD
16032013-07-15 Carlos O'Donell <carlos@redhat.com>
1604
1605 [BZ #15711]
1606 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1607 Avoid system header dependency with -ffreestanding.
1608 ($(objpfx)bits/syscall%d): Likewise.
1609
f959cfd7
DM
16102013-07-13 David S. Miller <davem@davemloft.net>
1611
1612 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1613 underflows from atanl/atan2l due to bug 15319.
1614 (casinh_test_data): Likewise.
1615
c61f8513
DM
16162013-07-07 David S. Miller <davem@davemloft.net>
1617
1618 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1619
72c90ed0
JA
16202013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1621
1622 * sysdeps/i386/fpu/libm-test-ulps: Update.
1623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1624
52dfbe13
SP
16252013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1626
1627 * configure.in (--enable-lock-elision): Fix message text.
1628 * INSTALL: Regenerate.
1629 * configure: Regenerate.
1630
3f169543
AZ
16312013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1632
1633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1634
521c6785
AJ
16352013-07-03 Andreas Jaeger <aj@suse.de>
1636
1637 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1638 define.
1639 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1640 (ptrace_peeksiginfo_args): Add.
1641 (__ptrace_peeksiginfo_flags): Add.
1642 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1643 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1644 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1645
d2cc15cb
AM
16462013-07-03 Allan McRae <allan@archlinux.org>
1647
1648 * sysdeps/i386/fpu/libm-test-ulps: Update.
1649
3aaeeca7
DM
16502013-07-02 David S. Miller <davem@davemloft.net>
1651
1652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1653
5314ed1a
MT
16542013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1655
1656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1657
67338156
JM
16582013-07-02 Joseph Myers <joseph@codesourcery.com>
1659
1660 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1662
1717da59
AK
16632013-07-02 Andi Kleen <ak@linux.intel.com>
1664
1665 * config.h.in (ENABLE_LOCK_ELISION): Add.
1666 * configure.in (--enable-lock-elision): Add option.
1667 * manual/install.texi: Document --enable lock elision.
1668 * configure: Regenerate
1669 * INSTALL: Regenerate.
1670
1c81621c
L
16712013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1672
1673 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1674 SSE4.2 strcasecmp for libc.a.
1675 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1676
77f01ab5
JM
16772013-07-02 Joseph Myers <joseph@codesourcery.com>
1678
1679 [BZ #13304]
1680 * soft-fp/op-common.h (_FP_FMA): New macro.
1681 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1682 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1683 (_FP_MUL_MEAT_1_imm): ... here.
1684 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1685 (_FP_MUL_MEAT_1_wide): ... here.
1686 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1687 (_FP_MUL_MEAT_1_hard): ... here.
1688 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1689 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1690 (_FP_MUL_MEAT_2_wide): ... here.
1691 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1692 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1693 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1694 (_FP_MUL_MEAT_2_gmp): ... here.
1695 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1696 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1697 (_FP_MUL_MEAT_4_wide): ... here.
1698 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1699 (_FP_MUL_MEAT_4_gmp): ... here.
1700 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1701 (_FP_WFRACBITS_DW_S): Likewise.
1702 (_FP_WFRACXBITS_DW_S): Likewise.
1703 (_FP_HIGHBIT_DW_S): Likewise.
1704 (FP_FMA_S): Likewise.
1705 (_FP_FRAC_HIGH_DW_S): Likewise.
1706 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1707 (_FP_WFRACBITS_DW_D): Likewise.
1708 (_FP_WFRACXBITS_DW_D): Likewise.
1709 (_FP_HIGHBIT_DW_D): Likewise.
1710 (FP_FMA_D): Likewise.
1711 (_FP_FRAC_HIGH_DW_D): Likewise.
1712 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1713 (_FP_WFRACBITS_DW_E): Likewise.
1714 (_FP_WFRACXBITS_DW_E): Likewise.
1715 (_FP_HIGHBIT_DW_E): Likewise.
1716 (FP_FMA_E): Likewise.
1717 (_FP_FRAC_HIGH_DW_E): Likewise.
1718 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1719 (_FP_WFRACBITS_DW_Q): Likewise.
1720 (_FP_WFRACXBITS_DW_Q): Likewise.
1721 (_FP_HIGHBIT_DW_Q): Likewise.
1722 (FP_FMA_Q): Likewise.
1723 (_FP_FRAC_HIGH_DW_Q): Likewise.
1724 * soft-fp/fmasf4.c: New file.
1725 * soft-fp/fmadf4.c: Likewise.
1726 * soft-fp/fmatf4.c: Likewise.
1727
6308fd9a
LD
17282013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1729
1730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1731 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1732 Silvermont.
1733 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1734 macro.
1735 (index_Slow_SSE4_2): Likewise.
1736 (index_Prefer_PMINUB_for_stringop): Likewise.
1737 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1738 bit_Slow_SSE4_2 is set.
1739 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1740 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1741
89cd9569
RA
17422013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1743
1744 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1745 rtld_global._dl_hwcap2.
1746 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1747 POWER8.
1748 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1749 POWER8 feature descriptions defined in _dl_hwcap2.
1750 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1751 string handling for POWER8 feature bits.
1752 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1753 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1754 _dl_powerpc_cap_flags.
1755 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1756 * sysdeps/powerpc/rtld-global-offsets.sym
1757 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1758 _dl_hwcap2 in the rtld_global_ro structure.
1759
1ae8bfe0
RA
17602013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1761
1762 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1763 hardware capabilities in support of AT_HWCAP2.
1764 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1765 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1766 GLRO(dl_hwcap2).
1767 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1768 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1769 explicitly the unknown a_type display mechanism is used.
1770 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1771 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1772 struct member.
1773 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1774 to macro prototype for AT_HWCAP2 support.
1775 * sysdeps/i386/dl-procinfo.h: Likewise.
1776 * sysdeps/s390/dl-procinfo.h: Likewise.
1777 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1778 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1779 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1780 return -1 for unknown a_type display fallback.
1781 * sysdeps/sparc/dl-procinfo.h: Likewise.
1782 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1783 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1784
8fbec010
JM
17852013-06-28 Joseph Myers <joseph@codesourcery.com>
1786
1787 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1788 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1789
0432680e
PY
17902013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1791
1792 [BZ #12492]
1793 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1794 mprotect making __stack_prot writable.
1795
ce61a2ad
NF
17962013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1797 Joseph Myers <joseph@codesourcery.com>
1798
1799 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1800 as being properly aligned.
1801
f91f1c0f
MR
18022013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1803
3d0f5d0c
MR
1804 * dlfcn/modstatic5.c: New file.
1805 * dlfcn/tststatic5.c: New file.
1806 * dlfcn/Makefile (tests): Add tststatic5.
1807 (tests-static): Likewise.
1808 (modules-names): Add modstatic5.
1809 (tststatic5-ENV): New variable.
1810 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1811
f91f1c0f
MR
1812 [BZ #15022]
1813 * elf/dl-support.c (_dl_main_map): New variable.
1814 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1815 (_dl_nns, _dl_load_adds): Set to 1.
1816 (_dl_initial_searchlist): Refer to _dl_main_map.
1817 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1818 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1819 call to _dl_get_origin.
1820 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1821 around call_map.
1822 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1823 * dlfcn/modstatic3.c: New file.
1824 * dlfcn/tststatic3.c: New file.
1825 * dlfcn/tststatic4.c: New file.
1826 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1827 (tests-static): Likewise.
1828 (modules-names): Add modstatic3.
1829 (tststatic3-ENV, tststatic4-ENV): New variables.
1830 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1831 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1832
cbe7d24b
JM
18332013-06-26 Joseph Myers <joseph@codesourcery.com>
1834
1835 * configure.in (CC): Require GCC version 4.4 or later.
1836 * configure: Regenerated.
1837 * manual/install.texi (Tools for Compilation): Update GCC version
1838 requirement.
1839 * INSTALL: Regenerated.
1840
11b8a0e1
LD
18412013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1842
1843 [BZ #15674]
bb5bb87c
L
1844 * string/test-memcmp.c (check2): New.
1845 (main): Call check2.
1846
11b8a0e1
LD
1847 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1848
b0037103
MR
18492013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1850
1851 [BZ #15022]
1852 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1853 over to...
1854 (dl_open_worker) [!SHARED]: ... here.
1855
c18c701d
RA
18562013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1857
1858 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1859
1d17fa5f
RH
18602013-06-25 Richard Henderson <rth@redhat.com>
1861
1862 * locale/programs/locarchive.c: Include <libc-internal.h>
1863
8fcb833a
JM
18642013-06-25 Joseph Myers <joseph@codesourcery.com>
1865
1866 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1867 trailing whitespace removed.
1868
17db6e8d
MF
18692013-06-24 Mike Frysinger <vapier@gentoo.org>
1870
1871 [BZ #10283]
17db6e8d
MF
1872 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1873 * locale/programs/locarchive.c: Include libc-mmap.h.
1874 (prepare_address_space): Take two new outputs (the mmap base and len).
1875 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1876 values.
1877 (create_archive): Declare new mmap base and len values for
1878 prepare_address_space, and store the result in ah.
1879 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1880 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1881 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1882 Declare new mmap base and len values for
1883 prepare_address_space, and store the result in new_ah.
1884 (open_archive): Declare new mmap base and len values for
1885 prepare_address_space, and store the result in ah.
1886 (close_archive): If ah->mmap_base is not NULL, use that and
1887 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1888 * sysdeps/generic/libc-mmap.h: New file.
1889
d605071e
MF
18902013-06-24 Mike Frysinger <vapier@gentoo.org>
1891
1892 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1893 (ALIGN_UP): Likewise.
1894 (PTR_ALIGN_DOWN): Likewise.
1895 (PTR_ALIGN_UP): Likewise.
1896
2f063a6e
RA
18972013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1898
1899 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1900 entry mapped to PPC_PLATFORM_POWER8.
1901 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1902 POWER8.
1903 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1904 (_dl_string_platform): Add case for exporting platform position for
1905 POWER8.
1906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1907 search path to sysdeps/powerpc/powerpc32/power8 directory.
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1909 search path to sysdeps/powerpc/powerpc64/power8 directory.
1910 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1911 power7 directories.
1912 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1913 power7 directories.
1914
a31ee4b3
SP
19152013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1916
a74ca98f
SP
1917 * INSTALL: Regenerate.
1918
a31ee4b3
SP
1919 * nscd/connections.c (nscd_init): Fix comment.
1920
695c378f
JM
19212013-06-22 Joseph Myers <joseph@codesourcery.com>
1922
d8412221
JM
1923 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1924
695c378f
JM
1925 [BZ #15667]
1926 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1927 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1928
d1d54715
MR
19292013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1930
1931 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1932 DL_DST_REQ_STATIC.
1933 (DL_DST_REQ_STATIC): Remove macro.
1934
8fdda7af
JM
19352013-06-21 Joseph Myers <joseph@codesourcery.com>
1936
1937 [BZ #7006]
1938 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1939 with a shift of 0 bits.
1940
f3bc5e5a
MR
19412013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1942
1943 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1944 $(tststatic-ENV).
1945
be09e8c9
KK
19462013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1947
1948 [BZ #15655]
1949 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1950
85c2e611
AZ
19512013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1952
1953 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1954 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1955 accepts -fno-tree-loop-distribute-patterns.
1956 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1957 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1958 recursive call.
1959 * string/memset.c (memset): Likewise.
1960 * string/test-memmove.c (simple_memmove): Disable loop transformation
1961 to library calls.
1962 * string/test-memset.c (simple_memset): Likewise.
1963 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1964 * benchtests/bench-memset.c (simple_memset): Likewise.
1965 * configure: Regenerated.
1966
c91e0825
JM
19672013-06-20 Joseph Myers <joseph@codesourcery.com>
1968
b8c792af
JM
1969 * math/test-misc.c (main): Ignore fesetround failure when failures
1970 of subsequent rounding tests would be ignored.
1971
c91e0825
JM
1972 [BZ #15654]
1973 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1974 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1975 * math/fegetenv.c (__fegetenv): Return 0.
1976 * math/fegetexcept.c (fegetexcept): Return 0.
1977 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1978 FE_TONEAREST.
1979 * math/feholdexcpt.c (feholdexcept): Return 0.
1980 * math/fesetenv.c (__fesetenv): Return 0.
1981 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1982 argument FE_TONEAREST.
1983 * math/feupdateenv.c (__feupdateenv): Return 0.
1984 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1985
bfcacbde
RM
19862013-06-18 Roland McGrath <roland@hack.frob.com>
1987
1988 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1989 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1990 ($(objpfx)rtld-%.os rules): Use them.
1991
e55a9b25
AZ
19922013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1993
1994 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1995 fields.
1996
346d65b3
RM
19972013-06-17 Roland McGrath <roland@hack.frob.com>
1998
12086fb4
RM
1999 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2000 length of target pattern, then descending length of dependency pattern.
2001 * configure.in (AWK): Require gawk 3.1.2 or newer.
2002 * manual/install.texi (Tools for Compilation): Say that we do.
2003 * configure: Regenerated.
2004
346d65b3
RM
2005 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2006 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2007 * scripts/sysd-rules.awk: ... this new script.
2008 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2009 than a glob-style pattern.
2010
1a846317
JM
20112013-06-17 Joseph Myers <joseph@codesourcery.com>
2012
2013 * math/test-misc.c (main): Do not treat incorrectly rounded
2014 conversions as failure unless ROUNDING_TESTS passes.
2015
8fc75e6f
JM
20162013-06-15 Joseph Myers <joseph@codesourcery.com>
2017
3711a167
JM
2018 [BZ #15631]
2019 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2020 restore exception state around main square root computation, then
2021 check for inexactness explicitly.
2022
8fc75e6f
JM
2023 * math/libm-test.inc (fma_test_data): Add another test.
2024
61dd6208
SP
20252013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2026
adf23d2c
SP
2027 * manual/threads.texi (Non-POSIX Extensions): New document
2028 node. Document pthread_getattr_default_np and
2029 pthread_setattr_default_np.
2030
61dd6208
SP
2031 * Versions.def (libpthread): Add GLIBC_2.18.
2032 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2034 Likewise.
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2036 Likewise.
2037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2038 Likewise.
2039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2040 Likewise.
2041 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2042 Likewise.
2043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2044 Likewise.
2045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2046 Likewise.
2047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2048 Likewise.
2049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2050 Likewise.
2051
d086fc7b
LD
20522013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2053
2054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2055 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2056
747ef469
SP
20572013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2058 H.J. Lu <hjl.tools@gmail.com>
2059
2060 [BZ #15627]
2061 * sysdeps/x86_64/rtld-memset.c: Remove file.
2062 * sysdeps/x86_64/rtld-memset.S: New file.
2063
1b2feed2
JM
20642013-06-14 Joseph Myers <joseph@codesourcery.com>
2065
2066 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2067 (test_in_one_mode): Take arguments for whether the rounding mode
2068 is supported for each floating-point type.
2069 (do_test): Pass new arguments to test_in_one_mode using
2070 ROUNDING_TESTS.
2071
a58ad3f8
RM
20722013-06-13 Roland McGrath <roland@hack.frob.com>
2073
2074 * posix/tst-waitid.c (do_test): Distinguish different instances of
2075 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2076 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2077 before entering the kernel for waitpid.
2078
c204ab28
SP
20792013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2080
2081 * NEWS: Fix note on clock function precision. Text by Roland
2082 McGrath.
2083
f4a29fba
RM
20842013-06-13 Roland McGrath <roland@hack.frob.com>
2085
2086 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2087 it into place only when and if the sanity check passes.
2088
1f24b9ad
JM
20892013-06-13 Joseph Myers <joseph@codesourcery.com>
2090
2091 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2092 output for whether conversion result is exact. Take argument
2093 indicating whether type is IBM long double.
2094 (round_for_all): Change need_exact field to ibm_ld.
2095 * stdlib/tst-strtod-round.c (struct exactness): New type.
2096 (struct test): Change bool ld_ok field to struct exactness exact.
2097 (TEST): Update all definitions for change to field.
2098 (tests): Regenerate array contents.
2099 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2100 field value. Check for IBM long double here.
2101 (do_test): Update calls to test_in_one_mode.
2102
58206c68
SP
21032013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2104
2105 [BZ #12515]
2106 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2107 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2108
2d6f4c5b 21092013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
2110
2111 [BZ #15605]
2112 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2113 generated by the compiler on loop optimizations.
2114 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2115 general definitions.
2116
94f2c076
JM
21172013-06-12 Joseph Myers <joseph@codesourcery.com>
2118
2119 * math/bug-nextafter.c: Include <math-tests.h>.
2120 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2121 the relevant type.
2122 * math/bug-nexttoward.c: Include <math-tests.h>.
2123 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2124 the relevant type.
2125 * math/test-misc.c: Include <math-tests.h>.
2126 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2127 the relevant type.
2128
e0e50a0a
AJ
21292013-06-12 Andreas Jaeger <aj@suse.de>
2130
2131 * po/ia.po: Update Interlingua translation from translation
2132 project.
2133
25061094
SP
21342013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2135
2136 * include/fenv.h: Include stdbool.h.
2137 (struct rm_ctx): New structure.
2138 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2139 Define macro.
2140 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2141 (SET_RESTORE_ROUNDF): Likewise.
2142 (SET_RESTORE_ROUNDL): Likewise.
2143 (SET_RESTORE_ROUND_NOEX): Likewise.
2144 (SET_RESTORE_ROUND_NOEXF): Likewise.
2145 (SET_RESTORE_ROUND_NOEXL): Likewise.
2146 (SET_RESTORE_ROUND_53BIT): Likewise.
2147 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2148 (libc_feresetround_noexf_ctx): Likewise.
2149 (libc_feresetround_noexl_ctx): Likewise.
2150 (libc_feholdsetround_53bit_ctx): Likewise.
2151 (libc_feresetround_53bit_ctx): Likewise.
2152 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2153 (libc_feholdexcept_setround_sse_ctx): New function.
2154 (libc_fesetenv_sse_ctx): Likewise.
2155 (libc_feupdateenv_sse_ctx): Likewise.
2156 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2157 (libc_feholdexcept_setround_387_ctx): Likewise.
2158 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2159 (libc_feholdsetround_387_prec_ctx): Likewise.
2160 (libc_feholdsetround_387_ctx): Likewise.
2161 (libc_feholdsetround_387_53bit_ctx): Likewise.
2162 (libc_feholdsetround_sse_ctx): Likewise.
2163 (libc_feresetround_sse_ctx): Likewise.
2164 (libc_feresetround_387_ctx): Likewise.
2165 (libc_feupdateenv_387_ctx): Likewise.
2166 (libc_feholdexcept_setroundf_ctx): Define macro.
2167 (libc_fesetenvf_ctx): Likewise.
2168 (libc_feupdateenvf_ctx): Likewise.
2169 (libc_feholdsetroundf_ctx): Likewise.
2170 (libc_feresetroundf_ctx): Likewise.
2171 (libc_feholdexcept_setround_ctx): Likewise.
2172 (libc_fesetenv_ctx): Likewise.
2173 (libc_feupdateenv_ctx): Likewise.
2174 (libc_feholdsetround_ctx): Likewise.
2175 (libc_feresetround_ctx): Likewise.
2176 (libc_feholdexcept_setroundl_ctx): Likewise.
2177 (libc_feupdateenvl_ctx): Likewise.
2178 (libc_feholdsetroundl_ctx): Likewise.
2179 (libc_feresetroundl_ctx): Likewise.
2180 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2181 (libc_feresetround_53bit_ctx): Likewise.
2182
59b30555
SP
21832013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2184
2185 * locale/iso-639.def: Convert to UTF-8.
2186
f1d73d30
JM
21872013-06-11 Joseph Myers <joseph@codesourcery.com>
2188
2189 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2190 (EXCEPTION_TESTS_double): Likewise.
2191 (EXCEPTION_TESTS_long_double): Likewise.
2192 (EXCEPTION_TESTS): Likewise.
2193 * math/libm-test.inc (test_exceptions): Only test exceptions if
2194 EXCEPTION_TESTS (FLOAT).
2195
94aca5e7
SP
21962013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2197
2198 * benchtests/Makefile (string-bench): Add strcpy_chk and
2199 stpcpy_chk.
2200 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2201 * benchtests/bench-stpcpy_chk.c: New file.
2202 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2203 * benchtests/bench-strcpy_chk.c: New file.
2204 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2205 code.
2206 (do_test): Likewise.
2207
fac0c5f2
RA
22082013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2209
2210 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2211 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2212 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2213 with tabs where appropriate.
2214 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2215 dl-procinfo.h.
2216 [PPC_PLATFORM_PPC440]: Likewise.
2217 [PPC_PLATFORM_PPC464]: Likewise.
2218 [PPC_PLATFORM_PPC476]: Likewise.
2219 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2220 ppc464, and ppc476 platform strings merging from ports/
2221 dl-procinfo.h.
2222
f22bc486
AS
22232013-06-11 Andreas Schwab <schwab@suse.de>
2224
2225 [BZ #14991]
2226 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2227 (from_ucs4_idx): Regenerate.
2228 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2229 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2230 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2231 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2232 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2233 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2234 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2235 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2236 from FROM_LOOP and TO_LOOP specific macros.
2237 (BODY): Handle combining characters.
2238 * iconvdata/BIG5HKSCS.irreversible: Update.
2239 * iconvdata/BIG5HKSCS.precomposed: New file.
2240 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2241 characters.
2242 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2243
c1f75dc3
SP
22442013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2245
4eacded2
SP
2246 * include/sys/time.h: Fix indentation and add copyright header.
2247
fec799f8
SP
2248 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2249 (do_test): Likewise.
2250 * string/test-memchr.c (do_one_test): Likewise.
2251 (do_test): Likewise.
2252 * string/test-memcmp.c (do_one_test): Likewise.
2253 (do_test): Likewise.
2254 * string/test-memcpy.c (do_one_test): Likewise.
2255 (do_test): Likewise.
2256 * string/test-memmem.c (do_one_test): Likewise.
2257 (do_test): Likewise.
2258 (do_random_tests): Likewise.
2259 * string/test-memmove.c (do_one_test): Likewise.
2260 (do_test): Likewise.
2261 * string/test-memset.c (do_one_test): Likewise.
2262 (do_test): Likewise.
2263 * string/test-rawmemchr.c (do_one_test): Likewise.
2264 (do_test): Likewise.
2265 * string/test-strcasecmp.c (do_one_test): Likewise.
2266 (do_test): Likewise.
2267 * string/test-strcasestr.c (do_one_test): Likewise.
2268 (do_test): Likewise.
2269 * string/test-strcat.c (do_one_test): Likewise.
2270 (do_test): Likewise.
2271 * string/test-strchr.c (do_one_test): Likewise.
2272 (do_test): Likewise.
2273 * string/test-strcmp.c (do_one_test): Likewise.
2274 (do_test): Likewise.
2275 * string/test-strcpy.c (do_one_test): Likewise.
2276 (do_test): Likewise.
2277 * string/test-string.h: Likewise.
2278 (test_init): Likewise.
2279 * string/test-strlen.c (do_one_test): Likewise.
2280 (do_test): Likewise.
2281 * string/test-strncasecmp.c (do_one_test): Likewise.
2282 (do_test): Likewise.
2283 * string/test-strncat.c (do_one_test): Likewise.
2284 (do_test): Likewise.
2285 * string/test-strncmp.c (do_one_test): Likewise.
2286 (do_test_limit): Likewise.
2287 (do_test): Likewise.
2288 * string/test-strncpy.c (do_one_test): Likewise.
2289 (do_test): Likewise.
2290 * string/test-strnlen.c (do_one_test): Likewise.
2291 (do_test): Likewise.
2292 * string/test-strpbrk.c (do_one_test): Likewise.
2293 (do_test): Likewise.
2294 * string/test-strrchr.c (do_one_test): Likewise.
2295 (do_test): Likewise.
2296 * string/test-strspn.c (do_one_test): Likewise.
2297 (do_test): Likewise.
2298 * string/test-strstr.c (do_one_test): Likewise.
2299 (do_test): Likewise.
2300
97020474
SP
2301 * benchtests/Makefile (string-bench): Add string benchmarks.
2302 * benchtests/bench-bcopy-ifunc.c: New file.
2303 * benchtests/bench-bcopy.c: New file.
2304 * benchtests/bench-bzero-ifunc.c: New file.
2305 * benchtests/bench-bzero.c: New file.
2306 * benchtests/bench-memccpy-ifunc.c: New file.
2307 * benchtests/bench-memccpy.c: New file.
2308 * benchtests/bench-memchr-ifunc.c: New file.
2309 * benchtests/bench-memchr.c: New file.
2310 * benchtests/bench-memcmp-ifunc.c: New file.
2311 * benchtests/bench-memcmp.c: New file.
2312 * benchtests/bench-memmem-ifunc.c: New file.
2313 * benchtests/bench-memmem.c: New file.
2314 * benchtests/bench-memmove-ifunc.c: New file.
2315 * benchtests/bench-memmove.c: New file.
2316 * benchtests/bench-mempcpy-ifunc.c: New file.
2317 * benchtests/bench-mempcpy.c: New file.
2318 * benchtests/bench-memset-ifunc.c: New file.
2319 * benchtests/bench-memset.c: New file.
2320 * benchtests/bench-rawmemchr-ifunc.c: New file.
2321 * benchtests/bench-rawmemchr.c: New file.
2322 * benchtests/bench-stpcpy-ifunc.c: New file.
2323 * benchtests/bench-stpcpy.c: New file.
2324 * benchtests/bench-stpncpy-ifunc.c: New file.
2325 * benchtests/bench-stpncpy.c: New file.
2326 * benchtests/bench-strcasecmp-ifunc.c: New file.
2327 * benchtests/bench-strcasecmp.c: New file.
2328 * benchtests/bench-strcasestr-ifunc.c: New file.
2329 * benchtests/bench-strcasestr.c: New file.
2330 * benchtests/bench-strcat-ifunc.c: New file.
2331 * benchtests/bench-strcat.c: New file.
2332 * benchtests/bench-strchr-ifunc.c: New file.
2333 * benchtests/bench-strchr.c: New file.
2334 * benchtests/bench-strchrnul-ifunc.c: New file.
2335 * benchtests/bench-strchrnul.c: New file.
2336 * benchtests/bench-strcmp-ifunc.c: New file.
2337 * benchtests/bench-strcmp.c: New file.
2338 * benchtests/bench-strcpy-ifunc.c: New file.
2339 * benchtests/bench-strcpy.c: New file.
2340 * benchtests/bench-strcspn-ifunc.c: New file.
2341 * benchtests/bench-strcspn.c: New file.
2342 * benchtests/bench-strlen-ifunc.c: New file.
2343 * benchtests/bench-strlen.c: New file.
2344 * benchtests/bench-strncasecmp-ifunc.c: New file.
2345 * benchtests/bench-strncasecmp.c: New file.
2346 * benchtests/bench-strncat-ifunc.c: New file.
2347 * benchtests/bench-strncat.c: New file.
2348 * benchtests/bench-strncmp-ifunc.c: New file.
2349 * benchtests/bench-strncmp.c: New file.
2350 * benchtests/bench-strncpy-ifunc.c: New file.
2351 * benchtests/bench-strncpy.c: New file.
2352 * benchtests/bench-strnlen-ifunc.c: New file.
2353 * benchtests/bench-strnlen.c: New file.
2354 * benchtests/bench-strpbrk-ifunc.c: New file.
2355 * benchtests/bench-strpbrk.c: New file.
2356 * benchtests/bench-strrchr-ifunc.c: New file.
2357 * benchtests/bench-strrchr.c: New file.
2358 * benchtests/bench-strspn-ifunc.c: New file.
2359 * benchtests/bench-strspn.c: New file.
2360 * benchtests/bench-strstr-ifunc.c: New file.
2361 * benchtests/bench-strstr.c: New file.
2362
c1f75dc3
SP
2363 * benchtests/Makefile: Disable parallel execution of targets.
2364 (string-bench): Add memcpy.
2365 (benchset): New variable to store a list of benchmark sets.
2366 (bench-func): Renamed from bench.
2367 (bench-set): New target.
2368 (bench): Depend on bench-func and bench-set.
2369 * benchtests/README: Add section on benchmark sets.
2370 * benchtests/bench-memcpy-ifunc.c: New file.
2371 * benchtests/bench-memcpy.c: New file.
2372 * benchtests/bench-string.h: New file.
2373
50fd745b
AS
23742013-06-11 Andreas Schwab <schwab@suse.de>
2375
2376 [BZ #15577]
2377 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2378 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2379 values in the triple.
2380 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2381 terminator in the group key.
2382
3ee7e9fe
AJ
23832013-06-11 Andreas Jaeger <aj@suse.de>
2384
2385 * po/zh_TW.po: Update Chinese (traditional) translation from
2386 translation project.
2387
89fb6835
SP
23882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2389
2390 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2391 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2392 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2393 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2394 (clock_getcpuclockid): Likewise.
2395 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2396 Add weak_alias and libc_hidden_def.
2397 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2398 * rt/clock_gettime.c (clock_gettime): Rename to
2399 __clock_gettime. Add weak_alias and libc_hidden_def.
2400 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2401 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2402 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2403 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2404 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2405 Likewise.
2406 * rt/clock_settime.c (clock_settime): Rename to
2407 __clock_settime. Add weak_alias and libc_hidden_def.
2408 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2409
0efa6f8b
JM
24102013-06-10 Joseph Myers <joseph@codesourcery.com>
2411
b8c61b4b
JM
2412 * mach/err_boot.sub: Remove trailing whitespace.
2413 * mach/err_ipc.sub: Likewise.
2414 * mach/err_mach.sub: Likewise.
2415
0efa6f8b
JM
2416 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2417 (ROUNDING_TESTS_double): Likewise.
2418 (ROUNDING_TESTS_long_double): Likewise.
2419 (ROUNDING_TESTS): Likewise.
2420 * math/libm-test.inc: Include <math-tests.h>.
2421 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2422 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2423 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2424 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2425
50b818bf
SP
24262013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2427
2428 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2429 of assigning.
2430
60d2f8f3
JM
24312013-06-08 Joseph Myers <joseph@codesourcery.com>
2432
4902d2c3
JM
2433 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2434 otherwise empty TRANS lines.
2435 * sysdeps/gnu/errlist.c: Regenerated.
2436
60d2f8f3
JM
2437 * catgets/gencat.c (error_print): Use (void) in function
2438 definition.
2439 * crypt/crypt_util.c (__init_des): Likewise.
2440 * crypt/speeds.c (Stop): Likewise.
2441 (main): Likewise.
2442 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2443 * inet/ruserpass.c (token): Likewise.
2444 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2445 * intl/localealias.c (extend_alias_table): Likewise.
2446 * intl/plural-exp.c (init_germanic_plural): Likewise.
2447 * libio/fcloseall.c (__fcloseall): Likewise.
2448 * libio/genops.c (_IO_flush_all): Likewise.
2449 (_IO_flush_all_linebuffered): Likewise.
2450 (_IO_cleanup): Likewise.
2451 (_IO_iter_begin): Likewise.
2452 (_IO_iter_end): Likewise.
2453 (_IO_list_lock): Likewise.
2454 (_IO_list_unlock): Likewise.
2455 (_IO_list_resetlock): Likewise.
2456 * libio/getchar.c (getchar): Likewise.
2457 * libio/getchar_u.c (getchar_unlocked): Likewise.
2458 * libio/getwchar.c (getwchar): Likewise.
2459 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2460 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2461 * login/getpt.c (__getpt): Likewise.
2462 * login/tst-utmp.c (main): Likewise.
2463 * malloc/hooks.c (__malloc_check_init): Likewise.
2464 * malloc/malloc.c (__malloc_stats): Likewise.
2465 * malloc/mtrace.c (tr_break): Likewise.
2466 (mtrace): Likewise.
2467 (muntrace): Likewise.
2468 * misc/fstab.c (endfsent): Likewise.
2469 * misc/getclktck.c (__getclktck): Likewise.
2470 * misc/getdtsz.c (__getdtablesize): Likewise.
2471 * misc/gethostid.c (gethostid): Likewise.
2472 * misc/getpagesize.c (__getpagesize): Likewise.
2473 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2474 (__get_nprocs): Likewise.
2475 (__get_phys_pages): Likewise.
2476 (__get_avphys_pages): Likewise.
2477 * misc/getttyent.c (getttyent): Likewise.
2478 (setttyent): Likewise.
2479 (endttyent): Likewise.
2480 * misc/getusershell.c (getusershell): Likewise.
2481 (endusershell): Likewise.
2482 (setusershell): Likewise.
2483 (initshells): Likewise.
2484 * misc/hsearch.c (__hdestroy): Likewise.
2485 * misc/sync.c (sync): Likewise.
2486 * misc/syslog.c (closelog_internal): Likewise.
2487 (closelog): Likewise.
2488 * misc/ttyslot.c (ttyslot): Likewise.
2489 * misc/vhangup.c (vhangup): Likewise.
2490 * posix/fork.c (__fork): Likewise.
2491 * posix/getegid.c (__getegid): Likewise.
2492 * posix/geteuid.c (__geteuid): Likewise.
2493 * posix/getgid.c (__getgid): Likewise.
2494 * posix/getpid.c (__getpid): Likewise.
2495 * posix/getppid.c (__getppid): Likewise.
2496 * posix/getuid.c (__getuid): Likewise.
2497 * posix/pause.c (pause): Likewise.
2498 * posix/setpgrp.c (setpgrp): Likewise.
2499 * posix/setsid.c (__setsid): Likewise.
2500 * posix/test-vfork.c (noop): Likewise.
2501 * resolv/gethnamaddr.c (_endhtent): Likewise.
2502 (_gethtent): Likewise.
2503 (ht_endhostent): Likewise.
2504 (gethostent): Likewise.
2505 (dns_service): Likewise.
2506 * stdlib/drand48.c (drand48): Likewise.
2507 * stdlib/lrand48.c (lrand48): Likewise.
2508 * stdlib/mrand48.c (mrand48): Likewise.
2509 * stdlib/rand.c (rand): Likewise.
2510 * stdlib/random.c (__random): Likewise.
2511 * stdlib/setenv.c (clearenv): Likewise.
2512 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2513 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2514 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2515 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2516 (__get_nprocs): Likewise.
2517 (__get_phys_pages): Likewise.
2518 (__get_avphys_pages): Likewise.
2519 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2520 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2521 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2522 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2523 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2524 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2525 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2526 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2527 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2528 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2529 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2530 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2531 * sysdeps/posix/clock.c (clock): Likewise.
2532 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2533 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2534 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2535 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2536 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2537 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2538 (__get_nprocs_conf): Likewise.
2539 (__get_phys_pages): Likewise.
2540 (__get_avphys_pages): Likewise.
2541 * time/clock.c (clock): Likewise.
2542 * time/tzset.c (__tzname_max): Likewise.
2543
2e09a79a
JM
25442013-06-07 Joseph Myers <joseph@codesourcery.com>
2545
2546 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2547 (__bswap_32): Do not use "register".
2548 * crypt/crypt.c (_ufc_doit_r): Likewise.
2549 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2550 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2551 * gmon/gmon.c (__monstartup): Likewise.
2552 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2553 * hurd/hurdmalloc.c (more_memory): Likewise.
2554 (malloc): Likewise.
2555 (free): Likewise.
2556 (realloc): Likewise.
2557 (malloc_fork_prepare): Likewise.
2558 (malloc_fork_parent): Likewise.
2559 (malloc_fork_child): Likewise.
2560 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2561 (_svcauth_des): Likewise.
2562 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2563 * inet/inet_net.c (inet_network): Likewise.
2564 * inet/inet_netof.c (inet_netof): Likewise.
2565 * inet/rcmd.c (__validuser2_sa): Likewise.
2566 * io/fts.c (fts_open): Likewise.
2567 (fts_load): Likewise.
2568 (fts_close): Likewise.
2569 (fts_read): Likewise.
2570 (fts_children): Likewise.
2571 (fts_build): Likewise.
2572 (fts_stat): Likewise.
2573 (fts_sort): Likewise.
2574 (fts_alloc): Likewise.
2575 (fts_lfree): Likewise.
2576 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2577 (_IO_file_xsgetn): Likewise.
2578 (_IO_file_xsgetn_mmap): Likewise.
2579 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2580 (_IO_cookie_write): Likewise.
2581 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2582 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2583 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2584 * malloc/obstack.c (_obstack_begin): Likewise.
2585 (_obstack_begin_1): Likewise.
2586 (_obstack_newchunk): Likewise.
2587 (_obstack_allocated_p): Likewise.
2588 (obstack_free): Likewise.
2589 (_obstack_memory_used): Likewise.
2590 * misc/getttyent.c (getttynam): Likewise.
2591 (getttyent): Likewise.
2592 (skip): Likewise.
2593 (value): Likewise.
2594 * misc/getusershell.c (initshells): Likewise.
2595 * misc/syslog.c (__vsyslog_chk): Likewise.
2596 * misc/ttyslot.c (ttyslot): Likewise.
2597 * nis/nis_hash.c (__nis_hash): Likewise.
2598 * posix/fnmatch_loop.c (FCT): Likewise.
2599 * posix/getconf.c (print_all): Likewise.
2600 (main): Likewise.
2601 * posix/getopt.c (exchange): Likewise.
2602 * posix/glob.c (globfree): Likewise.
2603 (prefix_array): Likewise.
2604 (__glob_pattern_type): Likewise.
2605 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2606 (NS_GET32): Likewise.
2607 (NS_PUT16): Likewise.
2608 (NS_PUT32): Likewise.
2609 * resolv/gethnamaddr.c (getanswer): Likewise.
2610 (gethostbyname2): Likewise.
2611 (gethostbyaddr): Likewise.
2612 (_gethtent): Likewise.
2613 (_gethtbyname2): Likewise.
2614 (_gethtbyaddr): Likewise.
2615 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2616 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2617 * resolv/res_init.c (__res_vinit): Likewise.
2618 (net_mask): Likewise.
2619 * resolv/res_mkquery.c (outchar): Likewise.
2620 (PRINT): Likewise.
2621 * stdio-common/printf_fp.c (outchar): Likewise.
2622 (PRINT): Likewise.
2623 * stdio-common/printf_fphex.c (outchar): Likewise.
2624 (PRINT): Likewise.
2625 * stdio-common/printf_size.c (outchar): Likewise.
2626 (PRINT): Likewise.
2627 * stdio-common/test_rdwr.c (main): Likewise.
2628 * stdio-common/tfformat.c (matches): Likewise.
2629 * stdio-common/vfprintf.c (outchar): Likewise.
2630 (printf_unknown): Likewise.
2631 (buffered_vfprintf): Likewise.
2632 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2633 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2634 (ReadFile): Likewise.
2635 * stdlib/qsort.c (SWAP): Likewise.
2636 (_quicksort): Likewise.
2637 * stdlib/setenv.c (__add_to_environ): Likewise.
2638 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2639 * stdlib/strtol_l.c (__strtol_l): Likewise.
2640 * stdlib/tst-strtod.c (main): Likewise.
2641 * stdlib/tst-strtol.c (main): Likewise.
2642 * stdlib/tst-strtoll.c (main): Likewise.
2643 * string/bits/string2.h (__strcmp_cc): Likewise.
2644 (__strcmp_cg): Likewise.
2645 (__strcspn_c1): Likewise.
2646 (__strcspn_c2): Likewise.
2647 (__strcspn_c3): Likewise.
2648 (__strspn_c1): Likewise.
2649 (__strspn_c2): Likewise.
2650 (__strspn_c3): Likewise.
2651 (__strsep_1c): Likewise.
2652 (__strsep_2c): Likewise.
2653 (__strsep_3c): Likewise.
2654 * string/memccpy.c (__memccpy): Likewise.
2655 * string/stpcpy.c (__stpcpy): Likewise.
2656 * string/strcmp.c (strcmp): Likewise.
2657 * string/strrchr.c (strrchr): Likewise.
2658 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2659 Likewise.
2660 * sysdeps/mach/hurd/getcwd.c
2661 (_hurd_canonicalize_directory_name_internal): Likewise.
2662 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2663 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2664 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2665 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2666 Likewise, in both definitions.
2667 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2668 definitions.
2669 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2670 64] (__bswap_64): Likewise.
2671 * time/test_time.c (main): Likewise.
2672 * time/tzfile.c (__tzfile_read): Likewise.
2673 (__tzfile_compute): Likewise.
2674 * time/tzset.c (__tzset_parse_tz): Likewise.
2675 (tzset_internal): Likewise.
2676 (compute_change): Likewise.
2677 * wcsmbs/wcscat.c (__wcscat): Likewise.
2678 * wcsmbs/wcschr.c (wcschr): Likewise.
2679 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2680 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2681 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2682 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2683 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2684 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2685 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2686 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2687 * wcsmbs/wmemset.c (wmemset): Likewise.
2688
9e54314b
JM
26892013-06-06 Joseph Myers <joseph@codesourcery.com>
2690
2691 * scripts/config.guess: Update to version 2013-05-16.
2692 * scripts/config.sub: Update to version 2013-04-24.
2693 * scripts/install-sh: Update to version 2011-11-20.07.
2694 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2695 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2696
350635a5
OB
26972013-06-06 Ondřej Bílka <neleai@seznam.cz>
2698
2699 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2700 * elf/sln.c: Likewise.
2701 * hurd/hurd/ioctl.h: Likewise.
2702 * hurd/hurdmalloc.c: Likewise.
2703 * hurd/xattr.c: Likewise.
2704 * include/shlib-compat.h: Likewise.
2705 * inet/ruserpass.c: Likewise.
2706 * libio/iofgets_u.c: Likewise.
2707 * libio/iofgetws_u.c: Likewise.
2708 * locale/programs/ld-identification.c: Likewise.
2709 * locale/programs/ld-time.c: Likewise.
2710 * mach/msg-destroy.c: Likewise.
2711 * nss/nss_files/files-netgrp.c: Likewise.
2712 * resolv/res_data.c: Likewise.
2713 * soft-fp/op-1.h: Likewise.
2714 * soft-fp/op-2.h: Likewise.
2715 * soft-fp/op-4.h: Likewise.
2716 * soft-fp/op-common.h: Likewise.
2717 * stdio-common/printf_fphex.c: Likewise.
2718 * stdlib/strtod_l.c: Likewise.
2719 * sunrpc/rpc/clnt.h: Likewise.
2720 * sysdeps/generic/framestate.c: Likewise.
2721 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2722 * sysdeps/i386/bsd-setjmp.S: Likewise.
2723 * sysdeps/i386/__longjmp.S: Likewise.
2724 * sysdeps/i386/setjmp.S: Likewise.
2725 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2726 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2727 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2728 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2729 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2730 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2731 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2732 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2733 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2734 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2735 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2736 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2737 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2738 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2739 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2740 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2741 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2742 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2743 * sysdeps/ieee754/support.c: Likewise.
2744 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2745 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2746 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2747 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2748 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2749 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2750 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2751 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2752 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2753 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2754 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2755 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2756 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2757 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2758 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2759 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2760 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2762
44a988af
OB
27632013-06-05 Ondřej Bílka <neleai@seznam.cz>
2764
25506f09 2765 * posix/transbug.c: Remove executable mode.
44a988af 2766
9c84384c
JM
27672013-06-05 Joseph Myers <joseph@codesourcery.com>
2768
2769 * crypt/speeds.c: Remove trailing whitespace.
2770 * dlfcn/default.c: Likewise.
2771 * elf/ifuncdep2.c: Likewise.
2772 * elf/ifuncmain1.c: Likewise.
2773 * elf/ifuncmain1vis.c: Likewise.
2774 * elf/testobj.h: Likewise.
2775 * elf/tst-stackguard1.c: Likewise.
2776 * gmon/sys/gmon.h: Likewise.
2777 * hurd/hurdmsg.c: Likewise.
2778 * hurd/new-fd.c: Likewise.
2779 * hurd/ports-get.c: Likewise.
2780 * iconvdata/ibm1008_420.c: Likewise.
2781 * inet/tst-getni1.c: Likewise.
2782 * inet/tst-getni2.c: Likewise.
2783 * libio/ioungetc.c: Likewise.
2784 * libio/wfiledoalloc.c: Likewise.
2785 * manual/libm-err-tab.pl: Likewise.
2786 * math/w_dremf.c: Likewise.
2787 * misc/ftruncate.c: Likewise.
2788 * posix/bug-glob2.c: Likewise.
2789 * posix/tst-pcre.c: Likewise.
2790 * posix/wait4.c: Likewise.
2791 * resolv/README: Likewise.
2792 * resolv/res_debug.h: Likewise.
2793 * resolv/tst-inet_ntop.c: Likewise.
2794 * setjmp/bug269-setjmp.c: Likewise.
2795 * soft-fp/extended.h: Likewise.
2796 * soft-fp/op-1.h: Likewise.
2797 * soft-fp/op-2.h: Likewise.
2798 * soft-fp/op-4.h: Likewise.
2799 * soft-fp/op-8.h: Likewise.
2800 * soft-fp/testit.c: Likewise.
2801 * stdio-common/bug16.c: Likewise.
2802 * stdlib/random.c: Likewise.
2803 * sunrpc/rpcsvc/rquota.x: Likewise.
2804 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2805 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2806 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2807 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2808 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2809 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2810 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2811 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2812 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2813 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2814 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2815 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2816 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2817 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2818 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2819 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2820 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2821 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2822 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2823 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2824 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2825 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2826 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2827 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2828 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2829 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2830 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2831 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2832 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2833 * sysdeps/ieee754/s_lib_version.c: Likewise.
2834 * sysdeps/mach/hurd/check_fds.c: Likewise.
2835 * sysdeps/mach/hurd/getsockname.c: Likewise.
2836 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2837 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2838 * sysdeps/powerpc/bits/link.h: Likewise.
2839 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2840 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2841 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2842 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2843 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2844 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2845 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2846 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2847 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2848 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2849 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2850 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2851 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2852 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2853 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2854 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2855 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2856 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2857 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2858 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2859 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2860 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2861 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2862 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2863 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2864 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2865 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2866 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2867 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2868 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2869 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2870 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2871 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2872 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2873 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2874 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2875 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2876 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2877 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2878 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2879 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2880 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2881 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2882 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2883 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2884 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2885 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2886 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2887 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2888 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2889 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2890 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2891 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2892 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2893 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2894 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2895 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2896 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2897 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2898 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2899 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2900 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2901 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2902 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2903 * sysdeps/powerpc/sysdep.h: Likewise.
2904 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2905 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2906 * sysdeps/sh/dl-trampoline.S: Likewise.
2907 * sysdeps/sh/memset.S: Likewise.
2908 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2909 * sysdeps/sh/strlen.S: Likewise.
2910 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2911 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2912 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2913 * sysdeps/sparc/sparc32/rem.S: Likewise.
2914 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2915 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2916 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2917 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2918 * sysdeps/sparc/sparc32/urem.S: Likewise.
2919 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2920 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2921 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2922 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2923 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2924 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2925 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2926 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2927 * sysdeps/unix/bsd/times.c: Likewise.
2928 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2929 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2933 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2934 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2935 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2936 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2937 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2938 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2939 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2940 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2941 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2942 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2943 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2944 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2945 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2946 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2947 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2948 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2949 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2950 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2951 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2952 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2953 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2954 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2955 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2956 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2957 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2958 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2959 * sysdeps/x86_64/strcspn.S: Likewise.
2960
869378a5
RA
29612013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2962
2963 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2964 generated file. Regenerate properly from gen-translit.pl.
2965 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2966 locale/C-translit.h.
2967
840e2943
AS
29682013-06-05 Andreas Schwab <schwab@suse.de>
2969
2970 [BZ #15100]
2971 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2972 week as 6 instead of -1.
2973 * time/tst-strptime.c (day_tests): Add test case.
2974
4c60cb0c
SP
29752013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2976
2977 * sysdeps/generic/math_private.h
2978 (libc_feholdexcept_setround_53bit): Replace with
2979 libc_feholdsetround_53bit.
2980 (libc_feupdateenv_53bit): Replace with
2981 libc_feresetround_53bit.
2982 (SET_RESTORE_ROUND_53BIT): Adjust.
2983
d180203e
SP
29842013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2985
96df079a
SP
2986 * string/test-strchrnul.c: Add copyright header.
2987
d180203e
SP
2988 * posix/tst-getaddrinfo4.c: Increase test timeout.
2989
8b0ccb2d
CD
29902013-06-03 Carlos O'Donell <carlos@redhat.com>
2991
2992 [BZ #15536]
2993 * math/libm-test.inc (MAX_EXP): Remove
2994 (MIN_EXP): Define.
2995 (ulp): Use MIN_EXP - MANT_DIG.
2996 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2997
3b3c4d40
CD
29982013-05-31 Carlos O'Donell <carlos@redhat.com>
2999
3000 * po/be.po: Revert last change.
3001 * po/zh_CN.po: Likewise.
3002 * po/header.pot: Likewise.
3003
fab7ce3f
JM
30042013-05-31 Joseph Myers <joseph@codesourcery.com>
3005
3006 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3007 link-libc-deps to empty as target-specific variable.
3008 * Makerules (link-libc-args): New variable.
3009 (libc-for-link): Likewise.
3010 (link-libc-deps): Likewise.
3011 (lib%.so): Depend on $(link-libc-deps). Link with
3012 $(link-libc-args).
3013 (build-module): Link with $(link-libc-args).
3014 (build-module-asneeded): Likewise.
3015 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3016 list of objects.
3017 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3018 target-specific variable.
3019 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3020 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3021 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3022 libc.
3023 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3024 libc and ld.so.
3025 ($(objpfx)libpcprofile.so): Likewise.
3026 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3027 libc_nonshared.a.
3028 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3029 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3030 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3031 $(link-libc-deps).
3032 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3033 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3034 * login/Makefile ($(objpfx)libutil.so): Likewise.
3035 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3036 * math/Makefile ($(objpfx)libm.so): Likewise.
3037 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3038 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3039 variable instead of depending directly on libc.
3040 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3041 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3042 $(link-libc-deps).
3043 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3044 libc.
3045 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3046 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3047 ($(objpfx)libanl.so): Likewise.
3048 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3049 ld.so.
3050 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3051 $(link-libc-deps).
3052 * sysdeps/i386/fpu/Makefile: Remove file.
3053 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3054 ($(objpfx)libm.so): Remove dependency on ld.so.
3055
eca5920c
PF
30562013-05-30 Patsy Franklin <pfrankli@redhat.com>
3057
3058 [BZ # 15553]
3059 * nis/yp_xdr.c (XDRMAXNAME): Define.
3060 (XDRMAXRECORD): Define.
3061 (xdr_domainname): Use XDRMAXNAME.
3062 (xdr_mapname): Likewise.
3063 (xdr_peername): Likewise.
3064 (xdr_keydat): Use XDRMAXRECORD.
3065 (xdr_valdat): Likewise.
3066
30672013-05-30 Jeff Law <law@redhat.com>
96945714
JL
3068
3069 [BZ #14256]
3070 * manual/errno.texi (ESTALE): Update to account for more than
3071 just NFS file systems.
3072 * sysdeps/gnu/errlist.c: Regenerated.
3073
b9375348
SP
30742013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3075
3076 [BZ #15465]
3077 * elf/Makefile (tests): Add tst-null-argv.
3078 (modules-names): Add tst-null-argv-lib.
3079 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3080 (tst-null-argv-ENV): Set environment for tst-null-argv.
3081 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3082 (RTLD_PROGNAME): New macro.
3083 * elf/tst-null-argv.c: New test case.
3084 * elf/tst-null-argv-lib.c: Library for test case.
3085 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3086 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3087 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3088 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3089 * elf/dl-init.c (call_init): Likewise.
3090 (_dl_init): Likewise.
3091 * elf/dl-load.c (print_search_path): Likewise.
3092 (_dl_map_object): Likewise.
3093 * elf/dl-lookup.c (do_lookup_x): Likewise.
3094 (add_dependency): Likewise.
3095 (_dl_lookup_symbol_x): Likewise.
3096 (_dl_debug_bindings): Likewise.
3097 * elf/dl-open.c (_dl_show_scope): Likewise.
3098 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3099 * elf/dl-version.c (match_symbol): Likewise.
3100 (_dl_check_map_versions): Likewise.
3101 * elf/rtld.c (dl_main): Likewise.
3102 (print_unresolved): Use RTLD_PROGNAME.
3103 (print_missing_version): Likewise.
3104 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3105 (elf_machine_rela): Likewise.
3106 * sysdeps/powerpc/powerpc32/dl-machine.c
3107 (__process_machine_rela): Likewise.
3108 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3109 Likewise.
3110 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3111 Likewise.
3112 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3113 Likewise.
3114 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3115 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3116 Likewise.
3117 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3118 Likewise.
3119 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3120
8a9f20c8
CD
31212013-05-28 Carlos O'Donell <carlos@redhat.com>
3122
3123 * po/be.po: Add descriptive title.
3124 * po/zh_CN.po: Likewise.
3125 * po/header.pot: Likewise.
3126
0e60d68e
MF
31272013-05-28 Mike Frysinger <vapier@gentoo.org>
3128
3129 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3130 error message.
3131 (enlarge_archive): Likewise.
3132
56b672e9
BN
31332013-05-28 Ben North <ben@redfrontdoor.org>
3134
3135 * manual/arith.texi (frexp): It is the magnitude of the return
3136 value which lies in [0.5, 1), not the return value itself.
3137
5e056687
AZ
31382013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3139
3140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3141
2b66ef5d
TS
31422013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3143
528c2405
TS
3144 * stdio-common/bug26.c (main): Correct fscanf template.
3145
07b4c13d
TS
3146 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3147 declare _dl_skip_args.
3148
ec9dd97c
TS
3149 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3150 Don't declare.
3151
2b66ef5d
TS
3152 * manual/platform.texi: Add missing @end deftypefun.
3153
4f8dfe27
JM
31542013-05-24 Joseph Myers <joseph@codesourcery.com>
3155
0323d086
JM
3156 [BZ #15529]
3157 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3158 bit of mantissa of 2^16382.
3159 * math/libm-test.inc (hypot_test_data): Add more tests.
3160
dd4259b9
JM
3161 * math/libm-test.inc: Add drem and pow10 to list of tested
3162 functions.
3163 (pow10_test): New function.
3164 (drem_test): Likewise.
3165 (drem_test_tonearest): Likewise.
3166 (drem_test_towardzero): Likewise.
3167 (drem_test_downward): Likewise.
3168 (drem_test_upward): Likewise.
3169 (main): Call the new functions.
3170
4f8dfe27
JM
3171 * math/libm-test.inc (finite_test_data): Remove.
3172 (finite_test): Run tests from isfinite_test_data.
3173 (gamma_test_data): Remove.
3174 (gamma_test): Run tests from lgamma_test_data.
3175 * sysdeps/i386/fpu/libm-test-ulps: Update.
3176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3177
d116b7c4
AZ
31782013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3179
3180 * manual/platform.texi: Add PowerPC PPR function set documentation.
3181 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3182 implementation.
3183
e96e3767
CD
31842013-05-24 Carlos O'Donell <carlos@redhat.com>
3185
3186 * math/libm-test.inc (MAX_EXP): Define.
3187 (ULPDIFF): Define.
3188 (ulp): New function.
3189 (check_float_internal): Use ULPDIFF.
3190 (cpow_test): Disable failing test.
3191 (check_ulp): Test ulp() implemetnation.
3192 (main): Call check_ulp before starting tests.
3193
b679a606
JM
31942013-05-24 Joseph Myers <joseph@codesourcery.com>
3195
e8bdba36
JM
3196 * math/gen-libm-test.pl (generate_testfile): Do not handle
3197 START_DATA and END_DATA.
3198 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3199 END_DATA.
3200 (acos_tonearest_test_data): Likewise.
3201 (acos_towardzero_test_data): Likewise.
3202 (acos_downward_test_data): Likewise.
3203 (acos_upward_test_data): Likewise.
3204 (acosh_test_data): Likewise.
3205 (asin_test_data): Likewise.
3206 (asin_tonearest_test_data): Likewise.
3207 (asin_towardzero_test_data): Likewise.
3208 (asin_downward_test_data): Likewise.
3209 (asin_upward_test_data): Likewise.
3210 (asinh_test_data): Likewise.
3211 (atan_test_data): Likewise.
3212 (atanh_test_data): Likewise.
3213 (atan2_test_data): Likewise.
3214 (cabs_test_data): Likewise.
3215 (cacos_test_data): Likewise.
3216 (cacosh_test_data): Likewise.
3217 (carg_test_data): Likewise.
3218 (casin_test_data): Likewise.
3219 (casinh_test_data): Likewise.
3220 (catan_test_data): Likewise.
3221 (catanh_test_data): Likewise.
3222 (cbrt_test_data): Likewise.
3223 (ccos_test_data): Likewise.
3224 (ccosh_test_data): Likewise.
3225 (ceil_test_data): Likewise.
3226 (cexp_test_data): Likewise.
3227 (cimag_test_data): Likewise.
3228 (clog_test_data): Likewise.
3229 (clog10_test_data): Likewise.
3230 (conj_test_data): Likewise.
3231 (copysign_test_data): Likewise.
3232 (cos_test_data): Likewise.
3233 (cos_tonearest_test_data): Likewise.
3234 (cos_towardzero_test_data): Likewise.
3235 (cos_downward_test_data): Likewise.
3236 (cos_upward_test_data): Likewise.
3237 (cosh_test_data): Likewise.
3238 (cosh_tonearest_test_data): Likewise.
3239 (cosh_towardzero_test_data): Likewise.
3240 (cosh_downward_test_data): Likewise.
3241 (cosh_upward_test_data): Likewise.
3242 (cpow_test_data): Likewise.
3243 (cproj_test_data): Likewise.
3244 (creal_test_data): Likewise.
3245 (csin_test_data): Likewise.
3246 (csinh_test_data): Likewise.
3247 (csqrt_test_data): Likewise.
3248 (ctan_test_data): Likewise.
3249 (ctan_tonearest_test_data): Likewise.
3250 (ctan_towardzero_test_data): Likewise.
3251 (ctan_downward_test_data): Likewise.
3252 (ctan_upward_test_data): Likewise.
3253 (ctanh_test_data): Likewise.
3254 (ctanh_tonearest_test_data): Likewise.
3255 (ctanh_towardzero_test_data): Likewise.
3256 (ctanh_downward_test_data): Likewise.
3257 (ctanh_upward_test_data): Likewise.
3258 (erf_test_data): Likewise.
3259 (erfc_test_data): Likewise.
3260 (exp_test_data): Likewise.
3261 (exp_tonearest_test_data): Likewise.
3262 (exp_towardzero_test_data): Likewise.
3263 (exp_downward_test_data): Likewise.
3264 (exp_upward_test_data): Likewise.
3265 (exp10_test_data): Likewise.
3266 (exp2_test_data): Likewise.
3267 (expm1_test_data): Likewise.
3268 (fabs_test_data): Likewise.
3269 (fdim_test_data): Likewise.
3270 (finite_test_data): Likewise.
3271 (floor_test_data): Likewise.
3272 (fma_test_data): Likewise.
3273 (fma_towardzero_test_data): Likewise.
3274 (fma_downward_test_data): Likewise.
3275 (fma_upward_test_data): Likewise.
3276 (fmax_test_data): Likewise.
3277 (fmin_test_data): Likewise.
3278 (fmod_test_data): Likewise.
3279 (fpclassify_test_data): Likewise.
3280 (frexp_test_data): Likewise.
3281 (gamma_test_data): Likewise.
3282 (hypot_test_data): Likewise.
3283 (ilogb_test_data): Likewise.
3284 (isfinite_test_data): Likewise.
3285 (isgreater_test_data): Likewise.
3286 (isgreaterequal_test_data): Likewise.
3287 (isinf_test_data): Likewise.
3288 (isless_test_data): Likewise.
3289 (islessequal_test_data): Likewise.
3290 (islessgreater_test_data): Likewise.
3291 (isnan_test_data): Likewise.
3292 (isnormal_test_data): Likewise.
3293 (issignaling_test_data): Likewise.
3294 (isunordered_test_data): Likewise.
3295 (j0_test_data): Likewise.
3296 (j1_test_data): Likewise.
3297 (jn_test_data): Likewise.
3298 (ldexp_test_data): Likewise.
3299 (lgamma_test_data): Likewise.
3300 (lrint_test_data): Likewise.
3301 (lrint_tonearest_test_data): Likewise.
3302 (lrint_towardzero_test_data): Likewise.
3303 (lrint_downward_test_data): Likewise.
3304 (lrint_upward_test_data): Likewise.
3305 (llrint_test_data): Likewise.
3306 (llrint_tonearest_test_data): Likewise.
3307 (llrint_towardzero_test_data): Likewise.
3308 (llrint_downward_test_data): Likewise.
3309 (llrint_upward_test_data): Likewise.
3310 (log_test_data): Likewise.
3311 (log10_test_data): Likewise.
3312 (log1p_test_data): Likewise.
3313 (log2_test_data): Likewise.
3314 (logb_test_data): Likewise.
3315 (logb_downward_test_data): Likewise.
3316 (lround_test_data): Likewise.
3317 (llround_test_data): Likewise.
3318 (modf_test_data): Likewise.
3319 (nearbyint_test_data): Likewise.
3320 (nextafter_test_data): Likewise.
3321 (nexttoward_test_data): Likewise.
3322 (pow_test_data): Likewise.
3323 (pow_tonearest_test_data): Likewise.
3324 (pow_towardzero_test_data): Likewise.
3325 (pow_downward_test_data): Likewise.
3326 (pow_upward_test_data): Likewise.
3327 (remainder_test_data): Likewise.
3328 (remainder_tonearest_test_data): Likewise.
3329 (remainder_towardzero_test_data): Likewise.
3330 (remainder_downward_test_data): Likewise.
3331 (remainder_upward_test_data): Likewise.
3332 (remquo_test_data): Likewise.
3333 (rint_test_data): Likewise.
3334 (rint_tonearest_test_data): Likewise.
3335 (rint_towardzero_test_data): Likewise.
3336 (rint_downward_test_data): Likewise.
3337 (rint_upward_test_data): Likewise.
3338 (round_test_data): Likewise.
3339 (scalb_test_data): Likewise.
3340 (scalbn_test_data): Likewise.
3341 (scalbln_test_data): Likewise.
3342 (signbit_test_data): Likewise.
3343 (sin_test_data): Likewise.
3344 (sin_tonearest_test_data): Likewise.
3345 (sin_towardzero_test_data): Likewise.
3346 (sin_downward_test_data): Likewise.
3347 (sin_upward_test_data): Likewise.
3348 (sincos_test_data): Likewise.
3349 (sinh_test_data): Likewise.
3350 (sinh_tonearest_test_data): Likewise.
3351 (sinh_towardzero_test_data): Likewise.
3352 (sinh_downward_test_data): Likewise.
3353 (sinh_upward_test_data): Likewise.
3354 (sqrt_test_data): Likewise.
3355 (tan_test_data): Likewise.
3356 (tan_tonearest_test_data): Likewise.
3357 (tan_towardzero_test_data): Likewise.
3358 (tan_downward_test_data): Likewise.
3359 (tan_upward_test_data): Likewise.
3360 (tanh_test_data): Likewise.
3361 (tgamma_test_data): Likewise.
3362 (trunc_test_data): Likewise.
3363 (y0_test_data): Likewise.
3364 (y1_test_data): Likewise.
3365 (yn_test_data): Likewise.
3366 (significand_test_data): Likewise.
3367
b679a606
JM
3368 * math/gen-libm-test.pl (@functions): Remove variable.
3369 (generate_testfile): Don't handle START and END lines.
3370 * math/libm-test.inc (START): New macro.
3371 (END): Likewise.
3372 (END_COMPLEX): Likewise.
3373 (acos_test): Use END macro without arguments.
3374 (acos_test_tonearest): Likewise.
3375 (acos_test_towardzero): Likewise.
3376 (acos_test_downward): Likewise.
3377 (acos_test_upward): Likewise.
3378 (acosh_test): Likewise.
3379 (asin_test): Likewise.
3380 (asin_test_tonearest): Likewise.
3381 (asin_test_towardzero): Likewise.
3382 (asin_test_downward): Likewise.
3383 (asin_test_upward): Likewise.
3384 (asinh_test): Likewise.
3385 (atan_test): Likewise.
3386 (atanh_test): Likewise.
3387 (atan2_test): Likewise.
3388 (cabs_test): Likewise.
3389 (cacos_test): Use END_COMPLEX macro without arguments.
3390 (cacosh_test): Likewise.
3391 (carg_test): Use END macro without arguments.
3392 (casin_test): Use END_COMPLEX macro without arguments.
3393 (casinh_test): Likewise.
3394 (catan_test): Likewise.
3395 (catanh_test): Likewise.
3396 (cbrt_test): Use END macro without arguments.
3397 (ccos_test): Use END_COMPLEX macro without arguments.
3398 (ccosh_test): Likewise.
3399 (ceil_test): Use END macro without arguments.
3400 (cexp_test): Use END_COMPLEX macro without arguments.
3401 (cimag_test): Use END macro without arguments.
3402 (clog_test): Use END_COMPLEX macro without arguments.
3403 (clog10_test): Likewise.
3404 (conj_test): Likewise.
3405 (copysign_test): Use END macro without arguments.
3406 (cos_test): Likewise.
3407 (cos_test_tonearest): Likewise.
3408 (cos_test_towardzero): Likewise.
3409 (cos_test_downward): Likewise.
3410 (cos_test_upward): Likewise.
3411 (cosh_test): Likewise.
3412 (cosh_test_tonearest): Likewise.
3413 (cosh_test_towardzero): Likewise.
3414 (cosh_test_downward): Likewise.
3415 (cosh_test_upward): Likewise.
3416 (cpow_test): Use END_COMPLEX macro without arguments.
3417 (cproj_test): Likewise.
3418 (creal_test): Use END macro without arguments.
3419 (csin_test): Use END_COMPLEX macro without arguments.
3420 (csinh_test): Likewise.
3421 (csqrt_test): Likewise.
3422 (ctan_test): Likewise.
3423 (ctan_test_tonearest): Likewise.
3424 (ctan_test_towardzero): Likewise.
3425 (ctan_test_downward): Likewise.
3426 (ctan_test_upward): Likewise.
3427 (ctanh_test): Likewise.
3428 (ctanh_test_tonearest): Likewise.
3429 (ctanh_test_towardzero): Likewise.
3430 (ctanh_test_downward): Likewise.
3431 (ctanh_test_upward): Likewise.
3432 (erf_test): Use END macro without arguments.
3433 (erfc_test): Likewise.
3434 (exp_test): Likewise.
3435 (exp_test_tonearest): Likewise.
3436 (exp_test_towardzero): Likewise.
3437 (exp_test_downward): Likewise.
3438 (exp_test_upward): Likewise.
3439 (exp10_test): Likewise.
3440 (exp2_test): Likewise.
3441 (expm1_test): Likewise.
3442 (fabs_test): Likewise.
3443 (fdim_test): Likewise.
3444 (finite_test): Likewise.
3445 (floor_test): Likewise.
3446 (fma_test): Likewise.
3447 (fma_test_towardzero): Likewise.
3448 (fma_test_downward): Likewise.
3449 (fma_test_upward): Likewise.
3450 (fmax_test): Likewise.
3451 (fmin_test): Likewise.
3452 (fmod_test): Likewise.
3453 (fpclassify_test): Likewise.
3454 (frexp_test): Likewise.
3455 (gamma_test): Likewise.
3456 (hypot_test): Likewise.
3457 (ilogb_test): Likewise.
3458 (isfinite_test): Likewise.
3459 (isgreater_test): Likewise.
3460 (isgreaterequal_test): Likewise.
3461 (isinf_test): Likewise.
3462 (isless_test): Likewise.
3463 (islessequal_test): Likewise.
3464 (islessgreater_test): Likewise.
3465 (isnan_test): Likewise.
3466 (isnormal_test): Likewise.
3467 (issignaling_test): Likewise.
3468 (isunordered_test): Likewise.
3469 (j0_test): Likewise.
3470 (j1_test): Likewise.
3471 (jn_test): Likewise.
3472 (ldexp_test): Likewise.
3473 (lgamma_test): Likewise.
3474 (lrint_test): Likewise.
3475 (lrint_test_tonearest): Likewise.
3476 (lrint_test_towardzero): Likewise.
3477 (lrint_test_downward): Likewise.
3478 (lrint_test_upward): Likewise.
3479 (llrint_test): Likewise.
3480 (llrint_test_tonearest): Likewise.
3481 (llrint_test_towardzero): Likewise.
3482 (llrint_test_downward): Likewise.
3483 (llrint_test_upward): Likewise.
3484 (log_test): Likewise.
3485 (log10_test): Likewise.
3486 (log1p_test): Likewise.
3487 (log2_test): Likewise.
3488 (logb_test): Likewise.
3489 (logb_test_downward): Likewise.
3490 (lround_test): Likewise.
3491 (llround_test): Likewise.
3492 (modf_test): Likewise.
3493 (nearbyint_test): Likewise.
3494 (nextafter_test): Likewise.
3495 (nexttoward_test): Likewise.
3496 (pow_test): Likewise.
3497 (pow_test_tonearest): Likewise.
3498 (pow_test_towardzero): Likewise.
3499 (pow_test_downward): Likewise.
3500 (pow_test_upward): Likewise.
3501 (remainder_test): Likewise.
3502 (remainder_test_tonearest): Likewise.
3503 (remainder_test_towardzero): Likewise.
3504 (remainder_test_downward): Likewise.
3505 (remainder_test_upward): Likewise.
3506 (remquo_test): Likewise.
3507 (rint_test): Likewise.
3508 (rint_test_tonearest): Likewise.
3509 (rint_test_towardzero): Likewise.
3510 (rint_test_downward): Likewise.
3511 (rint_test_upward): Likewise.
3512 (round_test): Likewise.
3513 (scalb_test): Likewise.
3514 (scalbn_test): Likewise.
3515 (scalbln_test): Likewise.
3516 (signbit_test): Likewise.
3517 (sin_test): Likewise.
3518 (sin_test_tonearest): Likewise.
3519 (sin_test_towardzero): Likewise.
3520 (sin_test_downward): Likewise.
3521 (sin_test_upward): Likewise.
3522 (sincos_test): Likewise.
3523 (sinh_test): Likewise.
3524 (sinh_test_tonearest): Likewise.
3525 (sinh_test_towardzero): Likewise.
3526 (sinh_test_downward): Likewise.
3527 (sinh_test_upward): Likewise.
3528 (sqrt_test): Likewise.
3529 (tan_test): Likewise.
3530 (tan_test_tonearest): Likewise.
3531 (tan_test_towardzero): Likewise.
3532 (tan_test_downward): Likewise.
3533 (tan_test_upward): Likewise.
3534 (tanh_test): Likewise.
3535 (tgamma_test): Likewise.
3536 (trunc_test): Likewise.
3537 (y0_test): Likewise.
3538 (y1_test): Likewise.
3539 (yn_test): Likewise.
3540 (significand_test): Likewise.
3541
bae143d2
OB
35422013-05-24 Ondřej Bílka <neleai@seznam.cz>
3543
3544 [BZ #15381]
3545 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3546
9323d39b
EM
35472013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3548
d4ea44a0 3549 [BZ #14894]
9323d39b
EM
3550 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3551 __ppc_mdoio and __ppc_mdoom.
3552 * manual/platform.texi: Document new functions __ppc_yield,
3553 __ppc_mdoio and __ppc_mdoom.
3554
13e23af7
CD
35552013-05-22 Carlos O'Donell <carlos@redhat.com>
3556
3557 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3558 (main): Mention "tls" pseudo-hwcap is legacy.
3559 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3560
351fe550
JM
35612013-05-22 Joseph Myers <joseph@codesourcery.com>
3562
3563 * math/gen-libm-test.pl (parse_args): Output only string of
3564 arguments as text for test name, not full call or descriptions of
3565 tests for extra outputs.
3566 (generate_testfile): Do not pass function name to parse_args.
3567 Generate this_func variable from START.
3568 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3569 field to arg_str.
3570 (struct test_ff_f_data): Likewise.
3571 (test_ff_f_data_nexttoward): Likewise.
3572 (struct test_fi_f_data): Likewise.
3573 (struct test_fl_f_data): Likewise.
3574 (struct test_if_f_data): Likewise.
3575 (struct test_fff_f_data): Likewise.
3576 (struct test_c_f_data): Likewise.
3577 (struct test_f_f1_data): Likewise. Remove field extra_name.
3578 (struct test_fF_f1_data): Likewise.
3579 (struct test_ffI_f1_data): Likewise.
3580 (struct test_c_c_data): Rename test_name field to arg_str.
3581 (struct test_cc_c_data): Likewise.
3582 (struct test_f_i_data): Likewise.
3583 (struct test_ff_i_data): Likewise.
3584 (struct test_f_l_data): Likewise.
3585 (struct test_f_L_data): Likewise.
3586 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3587 and extra2_name.
3588 (COMMON_TEST_SETUP): New macro.
3589 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3590 (COMMON_TEST_CLEANUP): Likewise.
3591 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3592 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3593 macros.
3594 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3595 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3596 macros.
3597 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3598 (RUN_TEST_fff_f): Take argument string. Call new setup and
3599 cleanup macros.
3600 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3601 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3602 macros.
3603 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3604 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3605 macros.
3606 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3607 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3608 cleanup macros.
3609 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3610 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3611 cleanup macros.
3612 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3613 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3614 cleanup macros.
3615 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3616 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3617 macros.
3618 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3619 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3620 macros.
3621 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3622 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3623 macros.
3624 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3625 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3626 cleanup macros.
3627 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3628 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3629 cleanup macros.
3630 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3631 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3632 macros.
3633 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3634 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3635 cleanup macros.
3636 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3637 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3638 macros.
3639 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3640 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3641 macros.
3642 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3643 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3644 cleanup macros.
3645 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3646
85118d4d
EBM
36472013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3648
3649 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3650 to _sifields.sigfault.
3651 (si_addr_lsb): Define new macro.
3652 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3653 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3654 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3655
7a44c18f
CD
36562013-05-03 Carlos O'Donell <carlos at redhat.com>
3657
3658 [BZ #15441]
3659 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3660 returns -1.
3661 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3662 null return -1.
3663 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3664 loading the domain.
3665
b50a7181
JM
36662013-05-22 Joseph Myers <joseph@codesourcery.com>
3667
3668 * math/gen-libm-test.pl (parse_args): Do not include expected
3669 result in test name.
3670 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3671 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3672 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3673 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3674 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3676
051063c8
SP
36772013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3678
3ce9e010
SP
3679 * benchtests/Makefile: Sort function entries.
3680
051063c8
SP
3681 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3682 tanh, asinh, acosh, atanh.
3683 * benchtests/acos-inputs: New file.
3684 * benchtests/acosh-inputs: New file.
3685 * benchtests/asin-inputs: New file.
3686 * benchtests/asinh-inputs: New file.
3687 * benchtests/atanh-inputs: New file.
3688 * benchtests/cosh-inputs: New file.
3689 * benchtests/log-inputs: New file.
3690 * benchtests/sinh-inputs: New file.
3691 * benchtests/tanh-inputs: New file.
3692
47c22455
DL
36932013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3694
3695 [BZ #15339]
3696 * posix/tst-getaddrinfo4.c: New test.
3697 * posix/Makefile (tests): Add it.
3698
3d04f5db
SP
36992013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3700
3701 [BZ #15339]
3702 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3703 when no services were used.
3704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3705 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3706
d5dd6189
AS
37072013-05-21 Andreas Schwab <schwab@suse.de>
3708
3709 [BZ #15014]
3710 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3711 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3712 successful.
3713 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3714 redundant variable declarations and reallocation of buffer when
3715 parsing as IPv6 address. Always set NSS status when called from
3716 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3717 buffer too small. Correct computation of needed size.
3718 * nss/Makefile (tests): Add test-digits-dots.
3719 * nss/test-digits-dots.c: New test.
3720
fef94eab
SP
37212013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3722
3723 * benchtests/Makefile: Remove instructions for adding
3724 benchmark tests.
3725 * benchtests/README: New file to explain how to execute and
3726 enhance the benchmark tests.
3727
e39adf43
AS
37282013-05-21 Andreas Schwab <schwab@suse.de>
3729
3730 [BZ #15493]
3731 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3732 * setjmp/tst-sigsetjmp.c: New test.
3733
b2b671b6
OB
37342013-05-20 Ondřej Bílka <neleai@seznam.cz>
3735
3736 * sysdeps/x86_64/memset.S (memset): New implementation.
3737 (__bzero): Likewise.
3738 (__memset_tail): New function.
3739
2d48b41c
OB
37402013-05-20 Ondřej Bílka <neleai@seznam.cz>
3741
3742 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3743 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3744 __memcpy_sse2_unaligned ifunc selection.
3745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3746 Add memcpy-sse2-unaligned.S.
3747 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3748 Add: __memcpy_sse2_unaligned.
3749
f16cc3eb
JM
37502013-05-19 Joseph Myers <joseph@codesourcery.com>
3751
3e694268
JM
3752 [BZ #15490]
3753 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3754 math_force_eval before restoring floating-point envrionment.
3755 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3756 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3757 Likewise.
3758 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3759 <math_private.h>.
3760 (__nearbyintl): Use math_force_eval before restoring
3761 floating-point environment.
3762 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3763
db62a907
JM
3764 * math/gen-libm-test.pl (special_functions): Remove.
3765 (parse_args): Don't handle TEST_extra. Handle functions with no
3766 return value.
3767 * math/libm-test.inc (struct test_sincos_data): Replace with
3768 struct test_fFF_11_data.
3769 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3770 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3771 (sincos_test_data): Change element type to struct
3772 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3773 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3774 RUN_TEST_LOOP_sincos.
3775 * math/README.libm-test: Don't mention special handling of
3776 individual functions.
3777 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3778 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3779 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3780 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3781 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3783
f16cc3eb
JM
3784 * math/gen-libm-test.pl (get_variable): Remove function.
3785 (parse_args): Don't show pointer parameters to call in test
3786 names. Use "extra output N" in test names for extra outputs
3787 rather than naming variables.
3788
3779b5b6
JM
37892013-05-18 Joseph Myers <joseph@codesourcery.com>
3790
2ee094ff
JM
3791 [BZ #15488]
3792 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3793 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3794 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3795 double tests.
3796 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3797 disable.
3798 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3799 check_long_double.
3800
3779b5b6
JM
3801 * math/gen-libm-test.pl (@tests): Remove variable.
3802 ($count): Likewise.
3803 (new_test): Remove function.
3804 (show_exceptions): New function.
3805 (special_functions): Use show_exceptions instead of new_test.
3806 (parse_args): Likewise.
3807 (generate_testfile): Pass only function name in generated call to
3808 print_max_error or print_complex_max_error.
3809 (get_ulps): Do not handle complex tests specially.
3810 (output_test): Rename to ...
3811 (get_all_ulps_for_test): ... this. Return a string rather than
3812 printing to a file. Require ulps to be present.
3813 (output_ulps): Generate arrays rather than #defines.
3814 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3815 (struct ulp_data): New type.
3816 (BUILD_COMPLEX_ULP): Remove macro.
3817 (compare_ulp_data): New function.
3818 (find_ulps): Likewise.
3819 (find_test_ulps): Likewise.
3820 (find_function_ulps): Likewise.
3821 (find_complex_function_ulps): Likewise.
3822 (print_max_error): Determine allowed ulps using
3823 find_function_ulps.
3824 (print_complex_max_error): Determine allowed ulps using
3825 find_complex_function_ulps.
3826 (check_float_internal): Determine max ulps using find_test_ulps.
3827 (check_float): Do not take max_ulp parameter. Update call to
3828 check_float_internal.
3829 (check_complex): Likewise.
3830 (check_int): Do not take max_ulp parameter.
3831 (check_long): Likewise.
3832 (check_bool): Likewise.
3833 (check_longlong): Likewise.
3834 (struct test_f_f_data): Remove max_ulp field.
3835 (struct test_ff_f_data): Likewise.
3836 (struct test_ff_f_data_nexttoward): Likewise.
3837 (struct test_fi_f_data): Likewise.
3838 (struct test_fl_f_data): Likewise.
3839 (struct test_if_f_data): Likewise.
3840 (struct test_fff_f_data): Likewise.
3841 (struct test_c_f_data): Likewise.
3842 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3843 (struct test_fF_f1_data): Likewise.
3844 (struct test_ffI_f1_data): Likewise.
3845 (struct test_c_c_data): Remove max_ulp field.
3846 (struct test_cc_c_data): Likewise.
3847 (struct test_f_i_data): Likewise.
3848 (struct test_ff_i_data): Likewise.
3849 (struct test_f_l_data): Likewise.
3850 (struct test_f_L_data): Likewise.
3851 (struct test_sincos_data): Likewise.
3852 (RUN_TEST_f_f): Do not handle ulps.
3853 (RUN_TEST_LOOP_f_f): Likewise.
3854 (RUN_TEST_2_f): Likewise.
3855 (RUN_TEST_LOOP_2_f): Likewise.
3856 (RUN_TEST_fff_f): Likewise.
3857 (RUN_TEST_LOOP_fff_f): Likewise.
3858 (RUN_TEST_c_f): Likewise.
3859 (RUN_TEST_LOOP_c_f): Likewise.
3860 (RUN_TEST_f_f1): Likewise.
3861 (RUN_TEST_LOOP_f_f1): Likewise.
3862 (RUN_TEST_fF_f1): Likewise.
3863 (RUN_TEST_LOOP_fF_f1): Likewise.
3864 (RUN_TEST_fI_f1): Likewise.
3865 (RUN_TEST_LOOP_fI_f1): Likewise.
3866 (RUN_TEST_ffI_f1): Likewise.
3867 (RUN_TEST_LOOP_ffI_f1): Likewise.
3868 (RUN_TEST_c_c): Likewise.
3869 (RUN_TEST_LOOP_c_c): Likewise.
3870 (RUN_TEST_cc_c): Likewise.
3871 (RUN_TEST_LOOP_cc_c): Likewise.
3872 (RUN_TEST_f_i): Likewise.
3873 (RUN_TEST_LOOP_f_i): Likewise.
3874 (RUN_TEST_f_i_tg): Likewise.
3875 (RUN_TEST_LOOP_f_i_tg): Likewise.
3876 (RUN_TEST_ff_i_tg): Likewise.
3877 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3878 (RUN_TEST_f_b): Likewise.
3879 (RUN_TEST_LOOP_f_b): Likewise.
3880 (RUN_TEST_f_b_tg): Likewise.
3881 (RUN_TEST_LOOP_f_b_tg): Likewise.
3882 (RUN_TEST_f_l): Likewise.
3883 (RUN_TEST_LOOP_f_l): Likewise.
3884 (RUN_TEST_f_L): Likewise.
3885 (RUN_TEST_LOOP_f_L): Likewise.
3886 (RUN_TEST_sincos): Likewise.
3887 (RUN_TEST_LOOP_sincos): Likewise.
3888
8269107f
JM
38892013-05-17 Joseph Myers <joseph@codesourcery.com>
3890
bb38759d
JM
3891 [BZ #15480]
3892 [BZ #15485]
3893 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3894 main case of finite arguments, set rounding mode to FE_TONEAREST
3895 and discard exceptions.
3896 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3897 exceptions.
3898 (remainder_tonearest_test_data): New variable.
3899 (remainder_test_tonearest): New function.
3900 (remainder_towardzero_test_data): New variable.
3901 (remainder_test_towardzero): New function.
3902 (remainder_downward_test_data): New variable.
3903 (remainder_test_downward): New function.
3904 (remainder_upward_test_data): New variable.
3905 (remainder_test_upward): New function.
3906 (main): Call the new test functions.
3907
a00bdcf0
JM
3908 * math/libm-test.inc (struct test_f_f1_data): Remove field
3909 extra_init.
3910 (struct test_fF_f1_data): Likewise.
3911 (struct test_ffI_f1_data): Likewise.
3912 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3913 based on value of EXTRA_EXPECTED.
3914 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3915 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3916 EXTRA_VAR based on value of EXTRA_EXPECTED.
3917 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3918 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3919 EXTRA_VAR based on value of EXTRA_EXPECTED.
3920 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3921 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3922 EXTRA_VAR based on value of EXTRA_EXPECTED.
3923 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3924 * math/gen-libm-test.pl (parse_args): Don't output initializers
3925 for extra output values.
3926
de407f79
JM
3927 * math/libm-test.inc (check_int): Expect result to be exactly
3928 equal to expected value and do not handle ulps.
3929 (check_long): Likewise.
3930 (check_longlong): Likewise.
3931
8269107f
JM
3932 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3933 exceptions.
3934 (cimag_test_data): Likewise.
3935 (conj_test_data): Likewise.
3936 (copysign_test_data): Likewise.
3937 (cproj_test_data): Likewise.
3938 (creal_test_data): Likewise.
3939 (fabs_test_data): Likewise.
3940 (fdim_test_data): Likewise.
3941 (finite_test_data): Likewise.
3942 (floor_test_data): Likewise.
3943 (fmax_test_data): Likewise.
3944 (fmin_test_data): Likewise.
3945 (fmod_test_data): Likewise.
3946 (fpclassify_test_data): Likewise.
3947 (frexp_test_data): Likewise.
3948 (ilogb_test_data): Likewise.
3949 (isfinite_test_data): Likewise.
3950 (isgreater_test_data): Likewise.
3951 (isgreaterequal_test_data): Likewise.
3952 (isinf_test_data): Likewise.
3953 (isless_test_data): Likewise.
3954 (islessequal_test_data): Likewise.
3955 (islessgreater_test_data): Likewise.
3956 (isnan_test_data): Likewise.
3957 (isnormal_test_data): Likewise.
3958 (issignaling_test_data): Likewise.
3959 (isunordered_test_data): Likewise.
3960 (ldexp_test_data): Likewise.
3961 (lrint_test_data): Likewise.
3962 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3963 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3964 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3965 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3966 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3967 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3968 test input.
3969 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3970 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3971 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3972 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3973 that test input.
3974 (lrint_downward_test_data): Test for "inexact" exceptions.
3975 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3976 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3977 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3978 test input.
3979 (lrint_upward_test_data): Test for "inexact" exceptions.
3980 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3981 test input.
3982 (llrint_test_data): Test for "inexact" exceptions.
3983 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3984 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3985 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3986 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3987 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3988 (llrint_downward_test_data): Test for "inexact" exceptions.
3989 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3990 (llrint_upward_test_data): Test for "inexact" exceptions.
3991 (logb_test_data): Likewise.
3992 (logb_downward_test_data): Likewise.
3993 (nextafter_test_data): Likewise.
3994 (nexttoward_test_data): Likewise.
3995 (remainder_test_data): Likewise.
3996 (remquo_test_data): Likewise.
3997 (scalbn_test_data): Likewise.
3998 (scalbln_test_data): Likewise.
3999 (signbit_test_data): Likewise.
4000 (sqrt_test_data): Likewise.
4001 (significand_test_data): Likewise.
4002
48a18de1
SP
40032013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4004
4005 [BZ #15424]
4006 * benchtests/bench-modf.c (struct args): Mark arg0 as
4007 volatile.
4008 * scripts/bench.pl: Mark members of struct args as volatile.
4009
13d3b41a
AZ
40102013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4011
68191c1d 4012 [BZ # 15497]
13d3b41a
AZ
4013 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4014 negative infinity on POWER6 or lower.
4015 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4016
2848b105
MR
40172013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4018
4019 [BZ #15442]
4020 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4021 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4022 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4023 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4024 (_FP_SETQNAN): New macro.
4025 (_FP_SETQNAN_SEMIRAW): Likewise.
4026 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4027 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4028 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4029 (FP_EXTEND): Use _FP_FRAC_SNANP.
4030 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4031 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4032 into account.
4033 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4034 New macro.
4035 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4036 Likewise.
4037
323e5cb7
JM
40382013-05-16 Joseph Myers <joseph@codesourcery.com>
4039
c58b274f
JM
4040 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4041 with DIVIDE_BY_ZERO_EXCEPTION.
4042 (gamma_test_data): Likewise.
4043 (lgamma_test_data): Likewise.
4044 (log_test_data): Likewise.
4045 (log10_test_data): Likewise.
4046 (log2_test_data): Likewise.
4047 (tgamma_test_data): Likewise.
4048
0ab34904
JM
4049 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4050 (acos_test_tonearest): Likewise.
4051 (acos_test_towardzero): Likewise.
4052 (acos_test_downward): Likewise.
4053 (acos_test_upward): Likewise.
4054 (acosh_test): Likewise.
4055 (asin_test): Likewise.
4056 (asin_test_tonearest): Likewise.
4057 (asin_test_towardzero): Likewise.
4058 (asin_test_downward): Likewise.
4059 (asin_test_upward): Likewise.
4060 (asinh_test): Likewise.
4061 (atan_test): Likewise.
4062 (atanh_test): Likewise.
4063 (atan2_test): Likewise.
4064 (cabs_test): Likewise.
4065 (cacos_test): Likewise.
4066 (cacosh_test): Likewise.
4067 (casin_test): Likewise.
4068 (casinh_test): Likewise.
4069 (catan_test): Likewise.
4070 (catanh_test): Likewise.
4071 (cbrt_test): Likewise.
4072 (ccos_test): Likewise.
4073 (ccosh_test): Likewise.
4074 (cexp_test): Likewise.
4075 (clog_test): Likewise.
4076 (clog10_test): Likewise.
4077 (cos_test): Likewise.
4078 (cos_test_tonearest): Likewise.
4079 (cos_test_towardzero): Likewise.
4080 (cos_test_downward): Likewise.
4081 (cos_test_upward): Likewise.
4082 (cosh_test): Likewise.
4083 (cosh_test_tonearest): Likewise.
4084 (cosh_test_towardzero): Likewise.
4085 (cosh_test_downward): Likewise.
4086 (cosh_test_upward): Likewise.
4087 (cpow_test): Likewise.
4088 (csin_test): Likewise.
4089 (csinh_test): Likewise.
4090 (csqrt_test): Likewise.
4091 (ctan_test): Likewise.
4092 (ctan_test_tonearest): Likewise.
4093 (ctan_test_towardzero): Likewise.
4094 (ctan_test_downward): Likewise.
4095 (ctan_test_upward): Likewise.
4096 (ctanh_test): Likewise.
4097 (ctanh_test_tonearest): Likewise.
4098 (ctanh_test_towardzero): Likewise.
4099 (ctanh_test_downward): Likewise.
4100 (ctanh_test_upward): Likewise.
4101 (erf_test): Likewise.
4102 (erfc_test): Likewise.
4103 (exp_test): Likewise.
4104 (exp_test_tonearest): Likewise.
4105 (exp_test_towardzero): Likewise.
4106 (exp_test_downward): Likewise.
4107 (exp_test_upward): Likewise.
4108 (exp10_test): Likewise.
4109 (exp2_test): Likewise.
4110 (expm1_test): Likewise.
4111 (fmod_test): Likewise.
4112 (gamma_test): Likewise.
4113 (hypot_test): Likewise.
4114 (j0_test): Likewise.
4115 (j1_test): Likewise.
4116 (jn_test): Likewise.
4117 (lgamma_test): Likewise.
4118 (log_test): Likewise.
4119 (log10_test): Likewise.
4120 (log1p_test): Likewise.
4121 (log2_test): Likewise.
4122 (logb_test_downward): Likewise.
4123 (pow_test): Likewise.
4124 (pow_test_tonearest): Likewise.
4125 (pow_test_towardzero): Likewise.
4126 (pow_test_downward): Likewise.
4127 (pow_test_upward): Likewise.
4128 (remainder_test): Likewise.
4129 (remquo_test): Likewise.
4130 (sin_test): Likewise.
4131 (sin_test_tonearest): Likewise.
4132 (sin_test_towardzero): Likewise.
4133 (sin_test_downward): Likewise.
4134 (sin_test_upward): Likewise.
4135 (sincos_test): Likewise.
4136 (sinh_test): Likewise.
4137 (sinh_test_tonearest): Likewise.
4138 (sinh_test_towardzero): Likewise.
4139 (sinh_test_downward): Likewise.
4140 (sinh_test_upward): Likewise.
4141 (sqrt_test): Likewise.
4142 (tan_test): Likewise.
4143 (tan_test_tonearest): Likewise.
4144 (tan_test_towardzero): Likewise.
4145 (tan_test_downward): Likewise.
4146 (tan_test_upward): Likewise.
4147 (tanh_test): Likewise.
4148 (tgamma_test): Likewise.
4149 (y0_test): Likewise.
4150 (y1_test): Likewise.
4151 (yn_test): Likewise.
4152
323e5cb7
JM
4153 * math/gen-libm-test.pl (adjust_arg): Remove function.
4154 (special_function): Remove argument $in_func. Only handle
4155 generating output for tables of tests, not inside functions.
4156 (parse_args): Likewise.
4157 (generate_testfile): Remove variable $in_func. Update call to
4158 parse_args.
4159 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4160 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4161 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4162 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4163 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4164 (MAX_VALUE_INIT): Rename macro to max_value.
4165 (MIN_VALUE_INIT): Rename macro to min_value.
4166 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4167 (plus_zero): Remove variable.
4168 (minus_zero): Likewise.
4169 (plus_infty): Likewise.
4170 (minus_infty): Likewise.
4171 (qnan_value): Likewise.
4172 (max_value): Likewise.
4173 (min_value): Likewise.
4174 (min_subnorm_value): Likewise.
4175
e054f494
RA
41762013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4177
4178 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4179 uint64_t or uint32_t usage.
4180 * crypt/sha256-block.c: Likewise.
4181 * crypt/sha256-crypt.c: Likewise.
4182 * crypt/sha256.c: Likewise.
4183 * crypt/sha512-block.c: Likewise.
4184 * crypt/sha512-crypt.c: Likewise.
4185 * crypt/sha512.c: Likewise.
4186 * debug/backtrace-tst.c: Likewise.
4187 * debug/pcprofiledump.c: Likewise.
4188 * elf/cache.c: Likewise.
4189 * elf/dl-cache.c: Likewise.
4190 * elf/dl-misc.c: Likewise.
4191 * elf/dl-profile.c: Likewise.
4192 * elf/dl-support.c: Likewise.
4193 * elf/ldconfig.c: Likewise.
4194 * elf/sprof.c: Likewise.
4195 * iconv/dummy-repertoire.c: Likewise.
4196 * iconv/iconv_charmap.c: Likewise.
4197 * iconv/skeleton.c: Likewise.
4198 * iconvdata/8bit-generic.c: Likewise.
4199 * iconvdata/cp737.h: Likewise.
4200 * iconvdata/cp775.h: Likewise.
4201 * iconvdata/ibm1008.h: Likewise.
4202 * iconvdata/ibm1025.h: Likewise.
4203 * iconvdata/ibm1046.h: Likewise.
4204 * iconvdata/ibm1097.h: Likewise.
4205 * iconvdata/ibm1112.h: Likewise.
4206 * iconvdata/ibm1122.h: Likewise.
4207 * iconvdata/ibm1123.h: Likewise.
4208 * iconvdata/ibm1124.h: Likewise.
4209 * iconvdata/ibm1129.h: Likewise.
4210 * iconvdata/ibm1130.h: Likewise.
4211 * iconvdata/ibm1132.h: Likewise.
4212 * iconvdata/ibm1133.h: Likewise.
4213 * iconvdata/ibm1137.h: Likewise.
4214 * iconvdata/ibm1140.h: Likewise.
4215 * iconvdata/ibm1141.h: Likewise.
4216 * iconvdata/ibm1142.h: Likewise.
4217 * iconvdata/ibm1143.h: Likewise.
4218 * iconvdata/ibm1144.h: Likewise.
4219 * iconvdata/ibm1145.h: Likewise.
4220 * iconvdata/ibm1146.h: Likewise.
4221 * iconvdata/ibm1147.h: Likewise.
4222 * iconvdata/ibm1148.h: Likewise.
4223 * iconvdata/ibm1149.h: Likewise.
4224 * iconvdata/ibm1153.h: Likewise.
4225 * iconvdata/ibm1154.h: Likewise.
4226 * iconvdata/ibm1155.h: Likewise.
4227 * iconvdata/ibm1156.h: Likewise.
4228 * iconvdata/ibm1157.h: Likewise.
4229 * iconvdata/ibm1158.h: Likewise.
4230 * iconvdata/ibm1160.h: Likewise.
4231 * iconvdata/ibm1161.h: Likewise.
4232 * iconvdata/ibm1162.h: Likewise.
4233 * iconvdata/ibm1163.h: Likewise.
4234 * iconvdata/ibm1164.h: Likewise.
4235 * iconvdata/ibm1166.h: Likewise.
4236 * iconvdata/ibm1167.h: Likewise.
4237 * iconvdata/ibm12712.h: Likewise.
4238 * iconvdata/ibm1390.h: Likewise.
4239 * iconvdata/ibm1399.h: Likewise.
4240 * iconvdata/ibm16804.h: Likewise.
4241 * iconvdata/ibm4517.h: Likewise.
4242 * iconvdata/ibm4899.h: Likewise.
4243 * iconvdata/ibm4909.h: Likewise.
4244 * iconvdata/ibm4971.h: Likewise.
4245 * iconvdata/ibm5347.h: Likewise.
4246 * iconvdata/ibm803.h: Likewise.
4247 * iconvdata/ibm856.h: Likewise.
4248 * iconvdata/ibm901.h: Likewise.
4249 * iconvdata/ibm902.h: Likewise.
4250 * iconvdata/ibm9030.h: Likewise.
4251 * iconvdata/ibm9066.h: Likewise.
4252 * iconvdata/ibm921.h: Likewise.
4253 * iconvdata/ibm922.h: Likewise.
4254 * iconvdata/ibm9448.h: Likewise.
4255 * iconvdata/isiri-3342.h: Likewise.
4256 * iconvdata/jis0201.h: Likewise.
4257 * include/link.h: Likewise.
4258 * include/netdb.h: Likewise.
4259 * inet/check_native.c: Likewise.
4260 * inet/check_pf.c: Likewise.
4261 * inet/getipv4sourcefilter.c: Likewise.
4262 * inet/getnameinfo.c: Likewise.
4263 * inet/getsourcefilter.c: Likewise.
4264 * inet/htonl.c: Likewise.
4265 * inet/setipv4sourcefilter.c: Likewise.
4266 * inet/setsourcefilter.c: Likewise.
4267 * inet/test-inet6_opt.c: Likewise.
4268 * inet/tst-network.c: Likewise.
4269 * locale/C-collate.c: Likewise.
4270 * locale/C-ctype.c: Likewise.
4271 * locale/C-time.c: Likewise.
4272 * locale/C-translit.h: Likewise.
4273 * locale/loadarchive.c: Likewise.
4274 * locale/programs/3level.h: Likewise.
4275 * locale/programs/charmap.c: Likewise.
4276 * locale/programs/charmap.h: Likewise.
4277 * locale/programs/ld-address.c: Likewise.
4278 * locale/programs/ld-collate.c: Likewise.
4279 * locale/programs/ld-ctype.c: Likewise.
4280 * locale/programs/ld-identification.c: Likewise.
4281 * locale/programs/ld-measurement.c: Likewise.
4282 * locale/programs/ld-messages.c: Likewise.
4283 * locale/programs/ld-monetary.c: Likewise.
4284 * locale/programs/ld-name.c: Likewise.
4285 * locale/programs/ld-numeric.c: Likewise.
4286 * locale/programs/ld-paper.c: Likewise.
4287 * locale/programs/ld-telephone.c: Likewise.
4288 * locale/programs/ld-time.c: Likewise.
4289 * locale/programs/linereader.c: Likewise.
4290 * locale/programs/locale.c: Likewise.
4291 * locale/programs/locarchive.c: Likewise.
4292 * locale/programs/locfile.h: Likewise.
4293 * locale/programs/repertoire.c: Likewise.
4294 * locale/programs/simple-hash.c: Likewise.
4295 * locale/programs/simple-hash.h: Likewise.
4296 * malloc/memusage.c: Likewise.
4297 * malloc/memusagestat.c: Likewise.
4298 * nis/nis_defaults.c: Likewise.
4299 * nis/nis_hash.c: Likewise.
4300 * nis/nis_print.c: Likewise.
4301 * nis/nis_xdr.c: Likewise.
4302 * nscd/connections.c: Likewise.
4303 * nscd/hstcache.c: Likewise.
4304 * nscd/nscd_gethst_r.c: Likewise.
4305 * nscd/nscd_getserv_r.c: Likewise.
4306 * nscd/nscd_helper.c: Likewise.
4307 * nscd/servicescache.c: Likewise.
4308 * nss/makedb.c: Likewise.
4309 * nss/nss_db/db-XXX.c: Likewise.
4310 * nss/nss_db/db-initgroups.c: Likewise.
4311 * nss/nss_db/db-netgrp.c: Likewise.
4312 * nss/nss_files/files-network.c: Likewise.
4313 * nss/nss_files/files-parse.c: Likewise.
4314 * posix/bug-regex5.c: Likewise.
4315 * posix/fnmatch_loop.c: Likewise.
4316 * posix/regcomp.c: Likewise.
4317 * posix/regexec.c: Likewise.
4318 * posix/tst-rfc3484-2.c: Likewise.
4319 * posix/tst-rfc3484-3.c: Likewise.
4320 * posix/tst-rfc3484.c: Likewise.
4321 * resolv/nss_dns/dns-canon.c: Likewise.
4322 * resolv/nss_dns/dns-network.c: Likewise.
4323 * resolv/res_init.c: Likewise.
4324 * resolv/res_mkquery.c: Likewise.
4325 * resolv/tst-aton.c: Likewise.
4326 * stdlib/cxa_atexit.c: Likewise.
4327 * stdlib/cxa_finalize.c: Likewise.
4328 * stdlib/gen-fpioconst.c: Likewise.
4329 * stdlib/strtol_l.c: Likewise.
4330 * string/tst-endian.c: Likewise.
4331 * sunrpc/auth_des.c: Likewise.
4332 * sunrpc/clnt_udp.c: Likewise.
4333 * sunrpc/rtime.c: Likewise.
4334 * sunrpc/svcauth_des.c: Likewise.
4335 * sunrpc/xdr.c: Likewise.
4336 * sunrpc/xdr_intXX_t.c: Likewise.
4337 * sunrpc/xdr_rec.c: Likewise.
4338 * sysdeps/generic/ldconfig.h: Likewise.
4339 * sysdeps/generic/ldsodefs.h: Likewise.
4340 * sysdeps/generic/memusage.h: Likewise.
4341 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4342 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4343 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4344 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4345 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4346 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4347 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4348 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4349 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4350 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4351 * sysdeps/posix/getaddrinfo.c: Likewise.
4352 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4353 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4354 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4355 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4356 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4357 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4358 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4359 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4360 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4361 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4362 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4363 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4364 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4365 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4366 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4367 * sysdeps/x86_64/dl-tls.h: Likewise.
4368 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4369 * time/alt_digit.c: Likewise.
4370 * time/era.c: Likewise.
4371 * wcsmbs/tst-c16c32-1.c: Likewise.
4372
8c75f674
JM
43732013-05-16 Joseph Myers <joseph@codesourcery.com>
4374
4375 * math/libm-test.inc (struct test_sincos_data): New type.
4376 (RUN_TEST_LOOP_sincos): New macro.
4377 (sincos_test_data): New variable.
4378 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4379
e6e49e59
RH
43802013-05-16 Richard Henderson <rth@redhat.com>
4381
4382 * math/atest-exp2.c (LIMB64): New macro.
4383 (CONSTSZ): New macro.
4384 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4385 (hexdig): Move ...
4386 (print_mpn_fp): ... to function scope.
4387 (read_mpn_hex): Remove.
4388 (get_log2): Remove.
4389 (exp2_mpn): Use mp_log2.
4390 (main): Use mp_exp1.
4391
15c7c18d
JM
43922013-05-16 Joseph Myers <joseph@codesourcery.com>
4393
105a07df
JM
4394 * math/libm-test.inc: Remove comment about not testing "inexact"
4395 exceptions.
4396 (INEXACT_EXCEPTION): New macro.
4397 (NO_INEXACT_EXCEPTION): Likewise.
4398 (INVALID_EXCEPTION_OK): Update value.
4399 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4400 (OVERFLOW_EXCEPTION_OK): Likewise.
4401 (UNDERFLOW_EXCEPTION_OK): Likewise.
4402 (IGNORE_ZERO_INF_SIGN): Likewise.
4403 (ERRNO_UNCHANGED): Likewise.
4404 (ERRNO_EDOM): Likewise.
4405 (ERRNO_ERANGE): Likewise.
4406 (test_exceptions): Handle testing "inexact" exceptions.
4407 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4408 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4409 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4410 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4411 INEXACT_EXCEPTION.
4412 (rint_towardzero_test_data): Likewise.
4413 (rint_downward_test_data): Likewise.
4414 (rint_upward_test_data): Likewise.
4415
e9eee333
JM
4416 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4417 with OVERFLOW_EXCEPTION.
4418 (exp10_test_data): Likewise.
4419 (exp2_test_data): Likewise.
4420 (expm1_test_data): Likewise.
4421 (lgamma_test_data): Likewise.
4422 (pow_test_data): Likewise.
4423 (tgamma_test_data): Likewise.
4424 (yn_test_data): Remove duplicate test of overflow.
4425
1c38ff73
JM
4426 * math/libm-test.inc (struct test_cc_c_data): New type.
4427 (RUN_TEST_LOOP_cc_c): New macro.
4428 (cpow_test_data): New variable.
4429 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4430
15c7c18d
JM
4431 * math/libm-test.inc (struct test_f_L_data): New type.
4432 (RUN_TEST_LOOP_f_L): New macro.
4433 (llrint_test_data): New variable.
4434 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4435 (llrint_tonearest_test_data): New variable.
4436 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4437 (llrint_towardzero_test_data): New variable.
4438 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4439 (llrint_downward_test_data): New variable.
4440 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4441 (llrint_upward_test_data): New variable.
4442 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4443 (llround_test_data): New variable.
4444 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4445
f137ff13
PC
44462013-05-13 Peter Collingbourne <pcc@google.com>
4447
4448 * math/atest-exp2.c (get_log2): Remove const attribute.
4449
3608cb24
JM
44502013-05-15 Joseph Myers <joseph@codesourcery.com>
4451
4452 * math/libm-test.inc (struct test_f_l_data): New type.
4453 (RUN_TEST_LOOP_f_l): New macro.
4454 (lrint_test_data): New variable.
4455 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4456 (lrint_tonearest_test_data): New variable.
4457 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4458 (lrint_towardzero_test_data): New variable.
4459 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4460 (lrint_downward_test_data): New variable.
4461 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4462 (lrint_upward_test_data): New variable.
4463 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4464 (lround_test_data): New variable.
4465 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4466
39b1f617
PC
44672013-05-15 Peter Collingbourne <pcc@google.com>
4468
1deff3dc
PC
4469 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4470 (EXTRACT_WORDS64) Use where appropriate.
4471 (INSERT_WORDS64) Likewise.
4472
791f3ba0
PC
4473 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4474 constraints with x constraints.
4475 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4476
39b1f617
PC
4477 * malloc/obstack.c (_obstack_compat): Add initializer.
4478
12fba011
EM
44792013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4480
4481 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4482 si_trapno and add si_addr_lsb to _sifields.sigfault.
4483 (si_trapno): Remove macro.
4484 (si_addr_lsb): Define new macro.
4485 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4486
d369f531
JM
44872013-05-15 Joseph Myers <joseph@codesourcery.com>
4488
b861c6c4
JM
4489 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4490 instead of TEST_f_l.
4491 (llrint_test_tonearest): Likewise.
4492 (llrint_test_towardzero): Likewise.
4493 (llrint_test_downward): Likewise.
4494 (llrint_test_upward): Likewise.
4495 (llround_test): Likewise.
4496
7abeee12
JM
4497 * math/libm-test.inc (struct test_f_i_data): Add comment.
4498 (RUN_TEST_LOOP_f_b): New macro.
4499 (RUN_TEST_LOOP_f_b_tg): Likewise.
4500 (finite_test_data): New variable.
4501 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4502 (isfinite_test_data): New variable.
4503 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4504 (isinf_test_data): New variable.
4505 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4506 (isnan_test_data): New variable.
4507 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4508 (isnormal_test_data): New variable.
4509 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4510 (issignaling_test_data): New variable.
4511 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4512 (signbit_test_data): New variable.
4513 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4514
cbe8c4d3
JM
4515 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4516 with INVALID_EXCEPTION.
4517 (acosh_test_data): Likewise.
4518 (asin_test_data): Likewise.
4519 (atanh_test_data): Likewise.
4520 (fmod_test_data): Likewise.
4521 (log_test_data): Likewise.
4522 (log10_test_data): Likewise.
4523 (log2_test_data): Likewise.
4524 (pow_test_data): Likewise.
4525 (sqrt_test_data): Likewise.
4526 (y0_test_data): Likewise.
4527 (y1_test_data): Likewise.
4528 (yn_test_data): Likewise.
4529
5575c0e5
JM
4530 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4531 function contents.
4532
d369f531
JM
4533 * math/libm-test.inc (struct test_ff_i_data): New type.
4534 (RUN_TEST_LOOP_ff_i_tg): New macro.
4535 (isgreater_test_data): New variable.
4536 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4537 (isgreaterequal_test_data): New variable.
4538 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4539 (isless_test_data): New variable.
4540 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4541 (islessequal_test_data): New variable.
4542 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4543 (islessgreater_test_data): New variable.
4544 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4545 (isunordered_test_data): New variable.
4546 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4547
781fd748
DM
45482013-05-14 David S. Miller <davem@davemloft.net>
4549
4550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4551
87aa21df
JM
45522013-05-14 Joseph Myers <joseph@codesourcery.com>
4553
5e908270
JM
4554 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4555
f71172e5
JM
4556 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4557 extra_test to int.
4558 (struct test_f_i_data): Change type of max_ulp to int.
4559
8cfa635a
JM
4560 * math/libm-test.inc (test_ffI_f1_data): New type.
4561 (RUN_TEST_LOOP_ffI_f1): New macro.
4562 (remquo_test_data): New variable.
4563 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4564
2bcb36b2
JM
4565 * setjmp/tst-setjmp-fp.c: New file.
4566 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4567 (link-libm): New variable.
4568 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4569
acbd839a
JM
4570 * math/libm-test.inc (struct test_f_i_data): New type.
4571 (RUN_TEST_LOOP_f_i): New macro.
4572 (RUN_TEST_LOOP_f_i_tg): Likewise.
4573 (fpclassify_test_data): New variable.
4574 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4575 (ilogb_test_data): New variable.
4576 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4577
e414d745
JM
4578 * math/libm-test.inc (scalbln_test): Correct function name in END
4579 call.
4580
d9c2a0fd
JM
4581 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4582 (RUN_TEST_LOOP_fI_f1): New macro.
4583 (frexp_test_data): New variable.
4584 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4585
9dc9095d
JM
4586 * math/libm-test.inc (struct test_fF_f1_data): New type.
4587 (RUN_TEST_LOOP_fF_f1): New macro.
4588 (modf_test_data): New variable.
4589 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4590
87aa21df
JM
4591 * math/libm-test.inc (struct test_f_f1_data): New type.
4592 (RUN_TEST_LOOP_f_f1): New macro.
4593 (gamma_test_data): New variable.
4594 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4595 (lgamma_test_data): New variable.
4596 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4597
141af660
CD
45982013-05-13 Carlos O'Donell <carlos@redhat.com>
4599
4600 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4601 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4602 (main): Comment "tls" pseudo-hwcap.
4603
6d33265c
JM
46042013-05-13 Joseph Myers <joseph@codesourcery.com>
4605
68fc074c
JM
4606 * math/libm-test.inc (struct test_fl_f_data): New type.
4607 (RUN_TEST_LOOP_fl_f): New variable.
4608 (scalbln_test_data): New variable.
4609 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4610
243216e1
JM
4611 * math/libm-test.inc (struct test_fi_f_data): New type.
4612 (RUN_TEST_LOOP_fi_f): New macro.
4613 (ldexp_test_data): New variable.
4614 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4615 (scalbn_test_data): New variable.
4616 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4617
6a1992e2
JM
4618 * math/libm-test.inc (struct test_c_f_data): New type.
4619 (RUN_TEST_LOOP_c_f): New macro.
4620 (cabs_test_data): New variable.
4621 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4622 (carg_test_data): New variable.
4623 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4624 (cimag_test_data): New variable.
4625 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4626 (creal_test_data): New variable.
4627 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4628
0e400df5
JM
4629 * math/libm-test.inc (struct test_if_f_data): New type.
4630 (RUN_TEST_LOOP_if_f): New macro.
4631 (jn_test_data): New variable.
4632 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4633 (yn_test_data): New variable.
4634 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4635
6d33265c
JM
4636 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4637
f98ece5f
AZ
46382013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4639
4640 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4641 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4642
0f7d347b
SP
46432013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4644
43fe811b
SP
4645 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4646 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4647 (bench-deps): Add bench-timing.h.
4648 * benchtests-bench-skeleton.c: Include bench-timing.h.
4649 (main): Use TIMING_* macros instead of clock_gettime.
4650 * benchtests/bench-timing.h: New file.
4651
0f7d347b
SP
4652 [BZ #14582]
4653 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4654 Renamed from _LIB_VERSION.
4655 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4656
601a3a5f
JM
46572013-05-12 Joseph Myers <joseph@codesourcery.com>
4658
4f184d30
JM
4659 * math/libm-test.inc (struct test_fff_f_data): New type.
4660 (RUN_TEST_LOOP_fff_f): New macro.
4661 (fma_test_data): New variable.
4662 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4663 (fma_towardzero_test_data): New variable.
4664 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4665 (fma_downward_test_data): New variable.
4666 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4667 (fma_upward_test_data): New variable.
4668 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4669
08198877
JM
4670 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4671 (struct test_c_c_data): New type.
4672 (RUN_TEST_LOOP_c_c): New macro.
4673 (cacos_test_data): New variable.
4674 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4675 (cacosh_test_data): New variable.
4676 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4677 (casin_test_data): New variable.
4678 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4679 (casinh_test_data): New variable.
4680 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4681 (catan_test_data): New variable.
4682 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4683 (catanh_test_data): New variable.
4684 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4685 (ccos_test_data): New variable.
4686 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4687 (ccosh_test_data): New variable.
4688 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4689 (cexp_test_data): New variable.
4690 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4691 (clog_test_data): New variable.
4692 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4693 (clog10_test_data): New variable.
4694 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4695 (conj_test_data): New variable.
4696 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4697 (cproj_test_data): New variable.
4698 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4699 (csin_test_data): New variable.
4700 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4701 (csinh_test_data): New variable.
4702 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4703 (csqrt_test_data): New variable.
4704 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4705 (ctan_test_data): New variable.
4706 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4707 (ctan_tonearest_test_data): New variable.
4708 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4709 (ctan_towardzero_test_data): New variable.
4710 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4711 (ctan_downward_test_data): New variable.
4712 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4713 (ctan_upward_test_data): New variable.
4714 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4715 (ctanh_test_data): New variable.
4716 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4717 (ctanh_tonearest_test_data): New variable.
4718 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4719 (ctanh_towardzero_test_data): New variable.
4720 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4721 (ctanh_downward_test_data): New variable.
4722 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4723 (ctanh_upward_test_data): New variable.
4724 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4725 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4726 of BUILD_COMPLEX.
4727
601a3a5f
JM
4728 * math/libm-test.inc (struct test_ff_f_data): New type.
4729 (struct test_ff_f_data_nexttoward): Likewise.
4730 (RUN_TEST_LOOP_2_f): New macro.
4731 (RUN_TEST_LOOP_ff_f): Likewise.
4732 (atan2_test_data): New variable.
4733 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4734 (copysign_test_data): New variable.
4735 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4736 (fdim_test_data): New variable.
4737 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4738 (fmax_test_data): New variable.
4739 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4740 (fmin_test_data): New variable.
4741 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4742 (fmod_test_data): New variable.
4743 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4744 (hypot_test_data): New variable.
4745 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4746 (nextafter_test_data): New variable.
4747 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4748 (nexttoward_test_data): New variable.
4749 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4750 (pow_test_data): New variable.
4751 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4752 (pow_tonearest_test_data): New variable.
4753 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4754 (pow_towardzero_test_data): New variable.
4755 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4756 (pow_downward_test_data): New variable.
4757 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4758 (pow_upward_test_data): New variable.
4759 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4760 (remainder_test_data): New variable.
4761 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4762 (scalb_test_data): New variable.
4763 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4764 * sysdeps/i386/fpu/libm-test-ulps: Update.
4765
74c57478
JM
47662013-05-11 Joseph Myers <joseph@codesourcery.com>
4767
8329e4da
JM
4768 * math/libm-test.inc (fma_test): Use max_value instead of local
4769 variable fltmax.
4770 (nextafter_test): Likewise.
4771
74c57478
JM
4772 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4773 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4774 (acos_downward_test_data): New variable.
4775 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4776 (acos_upward_test_data): New variable.
4777 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4778 (acosh_test_data): New variable.
4779 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4780 (asin_test_data): New variable.
4781 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4782 (asin_tonearest_test_data): New variable.
4783 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4784 (asin_towardzero_test_data): New variable.
4785 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4786 (asin_downward_test_data): New variable.
4787 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4788 (asin_upward_test_data): New variable.
4789 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4790 (asinh_test_data): New variable.
4791 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4792 (atan_test_data): New variable.
4793 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4794 (atanh_test_data): New variable.
4795 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4796 (cbrt_test_data): New variable.
4797 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4798 (ceil_test_data): New variable.
4799 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4800 (cos_test_data): New variable.
4801 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4802 (cos_tonearest_test_data): New variable.
4803 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4804 (cos_towardzero_test_data): New variable.
4805 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4806 (cos_downward_test_data): New variable.
4807 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4808 (cos_upward_test_data): New variable.
4809 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4810 (cosh_test_data): New variable.
4811 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4812 (cosh_tonearest_test_data): New variable.
4813 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4814 (cosh_towardzero_test_data): New variable.
4815 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4816 (cosh_downward_test_data): New variable.
4817 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4818 (cosh_upward_test_data): New variable.
4819 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4820 (erf_test_data): New variable.
4821 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4822 (erfc_test_data): New variable.
4823 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4824 (exp_test_data): New variable.
4825 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4826 (exp_tonearest_test_data): New variable.
4827 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4828 (exp_towardzero_test_data): New variable.
4829 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4830 (exp_downward_test_data): New variable.
4831 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4832 (exp_upward_test_data): New variable.
4833 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4834 (exp10_test_data): New variable.
4835 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4836 (exp2_test_data): New variable.
4837 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4838 (expm1_test_data): New variable.
4839 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4840 (fabs_test_data): New variable.
4841 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4842 (floor_test_data): New variable.
4843 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4844 (j0_test_data): New variable.
4845 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4846 (j1_test_data): New variable.
4847 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4848 (log_test_data): New variable.
4849 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4850 (log10_test_data): New variable.
4851 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4852 (log1p_test_data): New variable.
4853 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4854 (log2_test_data): New variable.
4855 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4856 (logb_test_data): New variable.
4857 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4858 (logb_downward_test_data): New variable.
4859 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4860 (nearbyint_test_data): New variable.
4861 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4862 (rint_test_data): New variable.
4863 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4864 (rint_tonearest_test_data): New variable.
4865 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4866 (rint_towardzero_test_data): New variable.
4867 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4868 (rint_downward_test_data): New variable.
4869 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4870 (rint_upward_test_data): New variable.
4871 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4872 (round_test_data): New variable.
4873 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4874 (sin_test_data): New variable.
4875 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4876 (sin_tonearest_test_data): New variable.
4877 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4878 (sin_towardzero_test_data): New variable.
4879 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4880 (sin_downward_test_data): New variable.
4881 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4882 (sin_upward_test_data): New variable.
4883 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4884 (sinh_test_data): New variable.
4885 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4886 (sinh_tonearest_test_data): New variable.
4887 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4888 (sinh_towardzero_test_data): New variable.
4889 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4890 (sinh_downward_test_data): New variable.
4891 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4892 (sinh_upward_test_data): New variable.
4893 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4894 (sqrt_test_data): New variable.
4895 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4896 (tan_test_data): New variable.
4897 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4898 (tan_tonearest_test_data): New variable.
4899 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4900 (tan_towardzero_test_data): New variable.
4901 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4902 (tan_downward_test_data): New variable.
4903 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4904 (tan_upward_test_data): New variable.
4905 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4906 (tanh_test_data): New variable.
4907 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4908 (tgamma_test_data): New variable.
4909 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4910 (trunc_test_data): New variable.
4911 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4912 (y0_test_data): New variable.
4913 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4914 (y1_test_data): New variable.
4915 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4916 (significand_test_data): New variable.
4917 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4918
7187d844
CG
49192013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4920
4921 [BZ #12387]
4922 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4923
f63fae73
PT
49242013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4925
4926 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4927
8a67a4b3
AJ
49282013-05-10 Andreas Jaeger <aj@suse.de>
4929
4930 [BZ #15448]
4931 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4932 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4933
51df539d
JM
49342013-05-10 Joseph Myers <joseph@codesourcery.com>
4935
4936 * math/gen-libm-test.pl (adjust_arg): New function.
4937 (special_functions): Handle generating output in both functions
4938 and arrays.
4939 (parse_args): Likewise.
4940 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4941 $in_func argument to parse_args.
4942 * math/libm-test.inc (struct test_f_f_data): New type.
4943 (IF_ROUND_INIT_): New macro.
4944 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4945 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4946 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4947 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4948 (ROUND_RESTORE_): Likewise.
4949 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4950 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4951 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4952 (ROUND_RESTORE_FE_UPWARD): Likewise.
4953 (RUN_TEST_LOOP_f_f): New macro.
4954 (acos_test_data): New variable.
4955 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4956 (acos_tonearest_test_data): New variable.
4957 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4958
5c637fe5
SP
49592013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4960
4961 * benchtests/bench-skeleton.c (startup): Fix coding style.
4962
ab2b9461
JM
49632013-05-10 Joseph Myers <joseph@codesourcery.com>
4964
4965 [BZ #6809]
4966 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4967 negative infinity argument.
4968 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4969 negative infinity argument.
4970 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4971 negative infinity argument.
4972 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4973 domain errors.
4974
4c0fe6fe
FW
49752013-05-10 Florian Weimer <fweimer@redhat.com>
4976
4977 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4978 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4979 * iconv/iconv_prog.c (main): Likewise.
4980 * locale/programs/charmap-dir.c (charmap_readdir)
4981 (fopen_uncompressed): Likewise.
4982 * locale/programs/locfile.c (siblings_uncached)
4983 (write_locale_data): Use lstat64 instead of lstat.
4984 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4985 stat.
4986
a3375d29
AJ
49872013-05-10 Andreas Jaeger <aj@suse.de>
4988
4989 [BZ #15395]
4990 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4991 localization.
4992 Include <locale.h>.
4993
36129722
CD
49942013-05-09 Carlos O'Donell <carlos@redhat.com>
4995
4996 * elf/dl-close.c (_dl_close_worker): Add comments.
4997
faa7f811
JM
49982013-05-09 Joseph Myers <joseph@codesourcery.com>
4999
ed41ffef
JM
5000 [BZ #15359]
5001 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5002 high part of pi/2.
5003 (__ieee754_rem_pio2l): Update comments.
5004
d0213cd0
JM
5005 [BZ #15429]
5006 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5007 high part of pi/2.
5008 (__ieee754_rem_pio2l): Update comments.
5009
0d3e777a
JM
5010 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5011 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5012
24f56066
JM
5013 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5014 M_PI_4l.
5015
faa7f811
JM
5016 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5017 (M_PI_34_LOG10El): Likewise.
5018 (M_PI2_LOG10El): Likewise.
5019 (M_PI4_LOG10El): Likewise.
5020 (M_PI_LOG10El): Likewise.
5021
e9a5e0fd
AZ
50222013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5023
5024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5025
d8cd06db
JM
50262013-05-08 Joseph Myers <joseph@codesourcery.com>
5027
a0d9f9d7
JM
5028 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5029 (MINUS_ZERO_INIT): Likewise.
5030 (PLUS_INFTY_INIT): Likewise.
5031 (MINUS_INFTY_INIT): Likewise.
5032 (QNAN_VALUE_INIT): Likewise.
5033 (MAX_VALUE_INIT): Likewise.
5034 (MIN_VALUE_INIT): Likewise.
5035 (MIN_SUBNORM_VALUE_INIT): Likewise.
5036 (plus_zero): Initialize with PLUS_ZERO_INIT.
5037 (minus_zero): Initialize with MINUS_ZERO_INIT.
5038 (plus_infty): Initialize with PLUS_INFTY_INIT.
5039 (minus_infty): Initialize with MINUS_INFTY_INIT.
5040 (qnan_value): Initialize with QNAN_VALUE_INIT.
5041 (max_value): Initialize with MAX_VALUE_INIT.
5042 (min_value): Initialize with MIN_VALUE_INIT.
5043 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5044
ae08db3b
JM
5045 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5046 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5047 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5048 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5049
f44bf14a
JM
5050 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5051 (RUN_TEST_2_f): Likewise.
5052 (RUN_TEST_ff_f): Likewise.
5053 (RUN_TEST_fi_f): Likewise.
5054 (RUN_TEST_fl_f): Likewise.
5055 (RUN_TEST_fff_f): Likewise.
5056 (RUN_TEST_c_f): Likewise.
5057 (RUN_TEST_f_f1): Likewise.
5058 (RUN_TEST_fF_f1): Likewise.
5059 (RUN_TEST_fI_f1): Likewise.
5060 (RUN_TEST_ffI_f1): Likewise.
5061 (RUN_TEST_c_c): Likewise.
5062 (RUN_TEST_cc_c): Likewise.
5063 (RUN_TEST_f_i): Likewise.
5064 (RUN_TEST_f_i_tg): Likewise.
5065 (RUN_TEST_ff_i_tg): Likewise.
5066 (RUN_TEST_f_b): Likewise.
5067 (RUN_TEST_f_b_tg): Likewise.
5068 (RUN_TEST_f_l): Likewise.
5069 (RUN_TEST_f_L): Likewise.
5070 (RUN_TEST_sincos): Likewise.
5071 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5072 whether to show exceptions. Do not include ");\n" in return
5073 value.
5074 (special_functions): Output call to RUN_TEST_sincos instead of
5075 check_float calls. Update calls to new_test.
5076 (parse_args): Output call to single RUN_TEST_* macro instead of
5077 check_* calls and other assignments. Update calls to new_test.
5078
d8cd06db
JM
5079 [BZ #2546]
5080 [BZ #2560]
5081 [BZ #5159]
5082 [BZ #15426]
5083 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5084 input to result for tgamma overflow.
5085 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5086 (gamma_coeff): New variable.
5087 (NCOEFF): New macro.
5088 (gamma_positive): New function.
5089 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5090 underflow here. Use gamma_positive instead of exp (lgamma) for
5091 other arguments.
5092 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5093 (gamma_coeff): New variable.
5094 (NCOEFF): New macro.
5095 (gammaf_positive): New function.
5096 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5097 underflow here. Use gamma_positive instead of exp (lgamma) for
5098 other arguments.
5099 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5100 (gamma_coeff): New variable.
5101 (NCOEFF): New macro.
5102 (gammal_positive): New function.
5103 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5104 underflow here. Use gamma_positive instead of exp (lgamma) for
5105 other arguments.
5106 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5107 (gamma_coeff): New variable.
5108 (NCOEFF): New macro.
5109 (gammal_positive): New function.
5110 (__ieee754_gammal_r): Handle positive infinity, overflow and
5111 underflow here. Handle NaN the same as positive infinity. Remove
5112 check x < 0xffffffff for negative integers. Use gamma_positive
5113 instead of exp (lgamma) for other arguments.
5114 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5115 (gamma_coeff): New variable.
5116 (NCOEFF): New macro.
5117 (gammal_positive): New function.
5118 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5119 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5120 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5121 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5122 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5123 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5124 * sysdeps/generic/math_private.h (__gamma_productf): New
5125 prototype.
5126 (__gamma_product): Likewise.
5127 (__gamma_productl): Likewise.
5128 * math/Makefile (libm-calls): Add gamma_product.
5129 * math/libm-test.inc (tgamma_test): Add more tests.
5130 * sysdeps/i386/fpu/libm-test-ulps: Update.
5131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5132
bb7cf681
OB
51332013-05-08 Ondřej Bílka <neleai@seznam.cz>
5134
5135 * benchtests/bench-skeleton.c (main): Preheat CPU.
5136
ba853947
AJ
51372013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5138
5139 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5140
8347c74c
RM
51412013-05-07 Roland McGrath <roland@hack.frob.com>
5142
5143 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5144 and _dl_skip_args_internal.
5145
e8dd4791
CD
51462013-05-07 Carlos O'Donell <carlos@redhat.com>
5147
5148 * manual/message.texi (Message Translation): Talk about users.
5149 Message to key mapping impacts design.
5150
c7405830
RM
51512013-05-06 Roland McGrath <roland@hack.frob.com>
5152
a9173057
RM
5153 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5154
976e2f03
RM
5155 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5156
9723ffc5
RM
5157 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5158 * sysdeps/wordsize-64/glob64.c: ... here.
5159
962e6658
RM
5160 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5161 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5162 New macros.
5163
ee586a6d
RM
5164 * debug/getlogin_r_chk.c: Moved to ...
5165 * login/getlogin_r_chk.c: ... here.
5166 * debug/Makefile (routines): Move getlogin_r_chk to ...
5167 * login/Makefile (routines): ... here.
5168 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5169 * login/Versions (libc: GLIBC_2.4): ... here.
5170
355f9165
RM
5171 * io/poll.c (__poll): Renamed from poll.
5172 Add libc_hidden_def.
5173 (poll): Define as weak alias.
5174
bd9ffde6
RM
5175 * debug/ptsname_r_chk.c: Moved to ...
5176 * login/ptsname_r_chk.c: ... here.
5177 * debug/Makefile (routines): Move ptsname_r_chk to ...
5178 * login/Makefile (routines): ... here.
5179 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5180 * login/Versions (libc: GLIBC_2.4): ... here.
5181
8fb16a04
RM
5182 * posix/getlogin.c: Moved to ...
5183 * login/getlogin.c: ... here.
5184 * posix/getlogin_r.c: Moved to ...
5185 * login/getlogin_r.c: ... here.
5186 * posix/getlogin_r.c: Moved to ...
5187 * login/getlogin_r.c: ... here.
5188 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5189 * login/Makefile (routines): ... here.
5190 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5191 * login/Versions (libc: GLIBC_2.0): ... here.
5192
b99b892f
RM
5193 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5194 (setrlimit): Define as weak alias.
5195
c7405830
RM
5196 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5197 Call __ names for open, ftruncate, and close.
5198 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5199 (truncate): Define as weak alias.
5200
5bf96de5
JM
52012013-05-06 Joseph Myers <joseph@codesourcery.com>
5202
9ea3513c
JM
5203 * math/gen-libm-test.pl (parse_args): Initialize x before each
5204 test of frexp, modf and remquo.
5205
5bf96de5
JM
5206 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5207 test signgam value.
5208
16e616a7
AZ
52092013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5210
5211 [BZ #15418]
5212 [BZ #15419]
5213 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5214 internal tests.
5215 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5216
d5e82754
RM
52172013-05-06 Roland McGrath <roland@hack.frob.com>
5218
5219 * elf/dl-writev.h: New file.
5220 * elf/dl-misc.c: Include it.
5221 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5222 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5223
a7548d41
JM
52242013-05-04 Joseph Myers <joseph@codesourcery.com>
5225
b7dab1e4
JM
5226 * math/libm-test.inc (noXFails): Remove variable.
5227 (noXPasses): Likewise.
5228 (BUILD_COMPLEX_INT): Remove macro.
5229 (print_screen): Remove xfail argument.
5230 (print_screen_max_error): Likewise.
5231 (update_stats): Likewise.
5232 (print_max_error): Likewise. Update calls to other affected
5233 functions.
5234 (print_complex_max_error): Likewise.
5235 (test_single_exception): Update calls to print_screen.
5236 (test_single_errno): Likewise.
5237 (check_float_internal): Remove xfail argument. Update calls to
5238 other affected functions.
5239 (check_float): Likewise.
5240 (check_complex): Likewise.
5241 (check_int): Likewise.
5242 (check_long): Likewise.
5243 (check_bool): Likewise.
5244 (check_longlong): Likewise.
5245 (main): Don't print noXFails and noXPasses.
5246 * math/gen-libm-test.pl (top level): Don't mention expected
5247 failure handling in comment.
5248 (new_test): Don't handle expected failures.
5249 (parse_args): Don't mention expected failure handling in comment.
5250 (generate_testfile): Don't handle expected failures.
5251 (parse_ulps): Likewise.
5252 (print_ulps_file): Likewise.
5253 (get_failure): Remove function.
5254 (output_test): Don't handle expected failures.
5255 * make/README.libm-test: Don't mention expected failure handling.
5256
a7548d41
JM
5257 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5258 (minus_zero): Likewise.
5259 (plus_infty): Likewise.
5260 (minus_infty): Likewise.
5261 (qnan_value): Likewise.
5262 (max_value): Likewise.
5263 (min_value): Likewise.
5264 (min_subnorm_value): Likewise.
5265 (initialize): Do not initialize those variables dynamically.
5266
60bfd54c
RM
52672013-05-03 Roland McGrath <roland@hack.frob.com>
5268
cc0e6ed8
RM
5269 * io/open.c (__open_2): Moved to ...
5270 * io/open_2.c: ... this new file.
5271 * io/open64.c (__open64_2): Moved to ...
5272 * io/open64_2.c: ... this new file.
5273 * io/openat.c (__openat_2): Moved to ...
5274 * io/openat_2.c: ... this new file.
5275 * io/openat64.c (__openat64_2): Moved to ...
5276 * io/openat64_2.c: ... this new file.
5277 * io/Makefile (routines): Add them.
5278 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5279 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5280 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5281 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5282 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5283 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5284 (__openat64): Add hidden_ver.
5285 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5286 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5287
60bfd54c
RM
5288 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5289 Separately conditionalize setting of GLRO(dl_sysinfo) so
5290 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5291 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5292
83e7640f
AZ
52932013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5294
5295 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5296 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5297 definition.
5298 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5299 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5300 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5301 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5302 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5303
d5dc2af3
JM
53042013-05-03 Joseph Myers <joseph@codesourcery.com>
5305
c31a5b1e
JM
5306 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5307 test signgam value.
5308
d5dc2af3
JM
5309 * math/libm-test.inc (hypot_test): Do not use
5310 IGNORE_ZERO_INF_SIGN.
5311
164fd39d
AJ
53122013-05-03 Andreas Jaeger <aj@suse.de>
5313
5314 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5315 Linux 3.9.
5316 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5317 (PF_MAX): Adjust for VSOCK change.
5318
8237f48c
AZ
53192013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5320
5321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5322
9df02941
CD
53232013-05-02 Carlos O'Donell <carlos@redhat.com>
5324
5325 [BZ #15264]
5326 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5327 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5328 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5329
d422395e
DM
53302013-05-02 David S. Miller <davem@davemloft.net>
5331
5332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5333
a07c5731
OB
53342013-05-01 Ondřej Bílka <neleai@seznam.cz>
5335
5336 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5337
1324e37f
RM
53382013-05-01 Roland McGrath <roland@hack.frob.com>
5339
5340 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5341
0695940b
RS
53422013-05-01 Richard Smith <richard@metafoo.co.uk>
5343
bb5f27ad 5344 [BZ #14952]
0695940b
RS
5345 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5346 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5347 Use __attribute__ ((__gnu_inline__)).
5348 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5349 Don't use __attribute__ ((__gnu_inline__)).
5350
10de07f5
JM
53512013-05-01 Joseph Myers <joseph@codesourcery.com>
5352
5353 [BZ #15423]
5354 * math/s_catan.c (__catan): Handle small real or imaginary part of
5355 input specially to avoid spurious underflow.
5356 * math/s_catanf.c (__catanf): Likewise.
5357 * math/s_catanh.c (__catanh): Likewise.
5358 * math/s_catanhf.c (__catanhf): Likewise.
5359 * math/s_catanhl.c (__catanhl): Likewise.
5360 * math/s_catanl.c (__catanl): Likewise.
5361 * math/libm-test.inc (catan_test): Add more tests.
5362 (catanh_test): Likewise.
5363 * sysdeps/i386/fpu/libm-test-ulps: Update.
5364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5365
cb4d5414
AZ
53662013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5367
5368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5369
caf84319
JM
53702013-04-30 Joseph Myers <joseph@codesourcery.com>
5371
5372 [BZ #15416]
5373 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5374 accurately for denominator in atan2.
5375 * math/s_catanf.c (__catanf): Likewise.
5376 * math/s_catanh.c (__catanh): Likewise.
5377 * math/s_catanhf.c (__catanhf): Likewise.
5378 * math/s_catanhl.c (__catanhl): Likewise.
5379 * math/s_catanl.c (__catanl): Likewise.
5380 * math/libm-test.inc (catan_test): Add more tests.
5381 (catanh_test): Likewise.
5382 * sysdeps/i386/fpu/libm-test-ulps: Update.
5383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5384
d569c6ee
SP
53852013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5386
6dbe713d
SP
5387 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5388
f0ee064b
SP
5389 * benchtests/Makefile (bench): Remove slow benchmarks.
5390 * benchtests/atan-inputs: Add slow benchmark inputs.
5391 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5392 (BENCH_FUNC): Accept variant offset.
5393 (VARIANT): Define.
5394 * benchtests/bench-skeleton.c (main): Run benchmark for each
5395 variant.
5396 * benchtests/cos-inputs: Add slow benchmark inputs.
5397 * benchtests/exp-inputs: Likewise.
5398 * benchtests/pow-inputs: Likewise.
5399 * benchtests/sin-inputs: Likewise.
5400 * benchtests/slowatan-inputs: Remove.
5401 * benchtests/slowatan.c: Remove.
5402 * benchtests/slowcos-inputs: Remove.
5403 * benchtests/slowcos.c: Remove.
5404 * benchtests/slowexp-inputs: Remove.
5405 * benchtests/slowexp.c: Remove.
5406 * benchtests/slowpow-inputs: Remove.
5407 * benchtests/slowpow.c: Remove.
5408 * benchtests/slowsin-inputs: Remove.
5409 * benchtests/slowsin.c: Remove.
5410 * benchtests/slowtan-inputs: Remove.
5411 * benchtests/slowtan.c: Remove.
5412 * benchtests/tan-inputs: Add slow benchmark inputs.
5413 * scripts/bench.pl: Parse comments and directives.
5414
d569c6ee
SP
5415 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5416 in CPPFLAGS.
5417 ($(objpfx)bench-%.c): Remove *-ITER.
5418 * benchtests/bench-modf.c: Remove definition of ITER.
5419 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5420 (main): Loop for DURATION seconds instead of fixed number of
5421 iterations.
5422 * scripts/bench.pl: Don't expect iterations in parameters.
5423
a6a242fe
RM
54242013-04-29 Roland McGrath <roland@hack.frob.com>
5425
5426 * io/fchdir.c (__fchdir): Renamed from fchdir.
5427 (fchdir): Define as weak alias.
5428
f2da7793
JM
54292013-04-29 Joseph Myers <joseph@codesourcery.com>
5430
5431 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5432 (ERRNO_EDOM): Likewise.
5433 (ERRNO_ERANGE): Likewise.
5434 (noErrnoTests): New variable.
5435 (init_max_error): Set errno to 0.
5436 (test_single_errno): New function.
5437 (test_errno): Likewise.
5438 (check_float_internal): Call test_errno. Set errno to 0.
5439 (check_complex): Refer to errno tests in comment.
5440 (check_int): Call test_errno. Set errno to 0.
5441 (check_long): Likewise.
5442 (check_bool): Likewise.
5443 (check_longlong): Likewise.
5444 (cos_test): Use ERRNO_* flags for errno tests instead of
5445 check_int.
5446 (expm1_test): Likewise.
5447 (fmod_test): Likewise.
5448 (ilogb_test): Likewise.
5449 (lgamma_test): Likewise.
5450 (pow_test): Likewise.
5451 (remainder_test): Likewise.
5452 (sin_test): Likewise.
5453 (tan_test): Likewise.
5454 (yn_test): Likewise.
5455 (initialize): Set errno to 0.
5456 (main): Print number of errno tests.
5457 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5458
b1a36ceb
AJ
54592013-04-29 Andreas Jaeger <aj@suse.de>
5460
c3ed8088
AJ
5461 [BZ #15084]
5462 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5463 and RES_USEVC.
5464
f1a24198
AJ
5465 [BZ #15085]
5466 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5467 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5468 unimplemented.
5469
9ce3b2cb
AJ
5470 [BZ #15380]
5471 * stdlib/random.c (__initstate): Return NULL if
5472 __initstate fails.
5473
f1a24198 5474 [BZ #15086]
b1a36ceb
AJ
5475 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5476 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5477 RES_SNGLKUPREOP.
5478
7e7b6f36
AZ
54792013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5480
5481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5482
4d14f449
JM
54832013-04-29 Joseph Myers <joseph@codesourcery.com>
5484
5485 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5486 of individual tests.
5487 (casin_test): Likewise.
5488 (casinh_test): Likewise.
5489
5b4217d7
JM
54902013-04-27 Joseph Myers <joseph@codesourcery.com>
5491
5492 [BZ #15409]
5493 * math/s_catan.c (__catan): Handle arguments with large real or
5494 imaginary part separately without squaring.
5495 * math/s_catanf.c (__catanf): Likewise.
5496 * math/s_catanh.c (__catanh): Likewise.
5497 * math/s_catanhf.c (__catanhf): Likewise.
5498 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5499 and redefine.
5500 (__catanhl): Handle arguments with large real or imaginary part
5501 separately without squaring.
5502 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5503 and redefine.
5504 (__catanl): Handle arguments with large real or imaginary part
5505 separately without squaring.
5506 * math/libm-test.inc (catan_test): Add more tests.
5507 (catanh_test): Likewise.
5508 * sysdeps/i386/fpu/libm-test-ulps: Update.
5509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5510
4220c3ef
AJ
55112013-04-27 Andreas Jaeger <aj@suse.de>
5512
5513 [BZ #15007]
5514 * stdlib/stdlib.h: Update guards for qecvt.
5515 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5516 <stdlib.h>.
5517
4721b2d1
AM
55182013-04-27 Allan McRae <allan@archlinux.org>
5519
5520 * sysdeps/i386/fpu/libm-test-ulps: Update.
5521
f0302940
JM
55222013-04-26 Joseph Myers <joseph@codesourcery.com>
5523
9457fd95
JM
5524 [BZ #15406]
5525 * math/s_catan.c: Include <float.h>.
5526 (__catan): Ensure underflow exception occurs for underflowed
5527 result.
5528 * math/s_catanf.c: Include <float.h>.
5529 (__catanf): Ensure underflow exception occurs for underflowed
5530 result.
5531 * math/s_catanh.c: Include <float.h>.
5532 (__catanh): Ensure underflow exception occurs for underflowed
5533 result.
5534 * math/s_catanhf.c: Include <float.h>.
5535 (__catanhf): Ensure underflow exception occurs for underflowed
5536 result.
5537 * math/s_catanhl.c: Include <float.h>.
5538 (__catanhl): Ensure underflow exception occurs for underflowed
5539 result.
5540 * math/s_catanl.c: Include <float.h>.
5541 (__catanl): Ensure underflow exception occurs for underflowed
5542 result.
5543 * math/libm-test.inc (catan_test): Add more tests.
5544 (catanh_test): Likewise.
5545
f0302940
JM
5546 [BZ #15405]
5547 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5548 underflowed result.
5549 * math/s_ccoshf.c (__ccoshf): Likewise.
5550 * math/s_ccoshl.c (__ccoshl): Likewise.
5551 * math/s_csin.c (__csin): Likewise.
5552 * math/s_csinf.c (__csinf): Likewise.
5553 * math/s_csinh.c (__csinh): Likewise.
5554 * math/s_csinhf.c (__csinhf): Likewise.
5555 * math/s_csinhl.c (__csinhl): Likewise.
5556 * math/s_csinl.c (__csinl): Likewise.
5557 * math/libm-test.inc (ccos_test): Add more tests.
5558 (ccosh_test): Likewise.
5559 (csin_test): Likewise.
5560 (csinh_test): Likewise.
5561
aa630f59
AZ
55622013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5563
5564 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5565 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5566 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5567 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5568 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5569 powerpc/power5+/fpu folders.
5570 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5571
5572
1b835983
MT
55732013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5574
5575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5576
73709b26
JM
55772013-04-25 Joseph Myers <joseph@codesourcery.com>
5578
5579 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5580 additions to variable.
5581 [$(config-machine) = x86_64] (modules-names): Likewise.
5582 ($(objpfx)tst-audit3): Remove dependency.
5583 ($(objpfx)tst-audit3.out): Likewise.
5584 ($(objpfx)tst-audit4): Likewise.
5585 ($(objpfx)tst-audit4.out): Likewise.
5586 ($(objpfx)tst-audit5): Likewise.
5587 ($(objpfx)tst-audit5.out): Likewise.
5588 ($(objpfx)tst-audit6): Likewise.
5589 ($(objpfx)tst-audit6.out): Likewise.
5590 ($(objpfx)tst-audit7): Likewise.
5591 ($(objpfx)tst-audit7.out): Likewise.
5592 (tst-audit3-ENV): Remove variable.
5593 (tst-audit4-ENV): Likewise.
5594 (tst-audit5-ENV): Likewise.
5595 (tst-audit6-ENV): Likewise.
5596 (tst-audit7-ENV): Likewise.
5597 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5598 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5599 addition to variable.
5600 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5601 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5602 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5603 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5604 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5605 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5606 tst-audit3, tst-audit4 and tst-audit5.
5607 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5608 tst-audit6 and tst-audit7.
5609 [$(subdir) = elf] (modules-names): Add audit modules for those
5610 tests.
5611 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5612 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5613 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5614 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5615 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5616 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5617 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5618 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5619 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5620 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5621 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5622 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5623 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5624 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5625 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5626 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5627 Likewise.
5628 [$(subdir) = elf && $(config-cflags-avx) = yes]
5629 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5630 [$(subdir) = elf && $(config-cflags-avx) = yes]
5631 (CFLAGS-tst-auditmod4a.c): Likewise.
5632 [$(subdir) = elf && $(config-cflags-avx) = yes]
5633 (CFLAGS-tst-auditmod4b.c): Likewise.
5634 [$(subdir) = elf && $(config-cflags-avx) = yes]
5635 (CFLAGS-tst-auditmod6b.c): Likewise.
5636 [$(subdir) = elf && $(config-cflags-avx) = yes]
5637 (CFLAGS-tst-auditmod6c.c): Likewise.
5638 [$(subdir) = elf && $(config-cflags-avx) = yes]
5639 (CFLAGS-tst-auditmod7b.c): Likewise.
5640 * elf/tst-audit3.c: Move to ...
5641 * sysdeps/x86_64/tst-audit3.c: ... here.
5642 * elf/tst-audit4.c: Move to ...
5643 * sysdeps/x86_64/tst-audit4.c: ... here.
5644 * elf/tst-audit5.c: Move to ...
5645 * sysdeps/x86_64/tst-audit5.c: ... here.
5646 * elf/tst-audit6.c: Move to ...
5647 * sysdeps/x86_64/tst-audit6.c: ... here.
5648 * elf/tst-audit7.c: Move to ...
5649 * sysdeps/x86_64/tst-audit7.c: ... here.
5650 * elf/tst-auditmod3a.c: Move to ...
5651 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5652 * elf/tst-auditmod3b.c: Move to ...
5653 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5654 * elf/tst-auditmod4a.c: Move to ...
5655 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5656 * elf/tst-auditmod4b.c: Move to ...
5657 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5658 * elf/tst-auditmod5a.c: Move to ...
5659 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5660 * elf/tst-auditmod5b.c: Move to ...
5661 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5662 * elf/tst-auditmod6a.c: Move to ...
5663 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5664 * elf/tst-auditmod6b.c: Move to ...
5665 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5666 * elf/tst-auditmod6c.c: Move to ...
5667 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5668 * elf/tst-auditmod7a.c: Move to ...
5669 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5670 * elf/tst-auditmod7b.c: Move to ...
5671 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5672
1ef74943
PP
56732013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5674
5675 [BZ #15366]
5676 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5677 define unconditionally.
5678 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5679 define unconditionally.
5680 (INT8_C, INT16_C, etc.): Likewise.
5681
93fd48c5
MR
56822013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5683
ae9552cf
MR
5684 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5685 __ehdr_start with hidden visibility.
5686
93fd48c5
MR
5687 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5688
418601aa
CD
56892013-04-24 Carlos O'Donell <carlos@redhat.com>
5690
5691 * math/libm-test.inc (cos_test): Use accurate hex constants.
5692 (sincost_test): Likewise.
5693
2f38fbfe
JM
56942013-04-24 Joseph Myers <joseph@codesourcery.com>
5695
5e221800
JM
5696 * math/libm-test.inc (catan_test): Add more tests.
5697 (catanh_test): Likewise.
5698
77f143fd
JM
5699 * math/s_catanf.c (__catanf): Use suffixed floating-point
5700 constants.
5701 * math/s_catanhf.c (__catanhf): Likewise.
5702 * math/s_catanhl.c (__catanhl): Likewise.
5703 * math/s_catanl.c (__catanl): Likewise.
5704
2f38fbfe
JM
5705 [BZ #15394]
5706 * math/s_catan.c (__catan): Calculate imaginary part of result
5707 with log1p not log unless computing log of number close to 0.
5708 * math/s_catanf.c (__catanf): Likewise.
5709 * math/s_catanl.c (__catanl): Likewise.
5710 * math/s_catanh.c (__catanh): Calculate real part of result with
5711 log1p not log unless computing log of number close to 0.
5712 * math/s_catanhf.c (__catanhf): Likewise.
5713 * math/s_catanhl.c (__catanhl): Likewise.
5714 * math/libm-test.inc (catan_test): Add more tests.
5715 (catanh_test): Likewise.
5716 * sysdeps/i386/fpu/libm-test-ulps: Update.
5717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5718
45d69176
SP
57192013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5720
5721 * benchtests/Makefile: Mention files in which fast and slow
5722 paths of math functions are implemented.
5723
87f51853
RM
57242013-04-23 Roland McGrath <roland@hack.frob.com>
5725
5726 * sysdeps/posix/timespec_get.c: New file.
5727
3c026539
AZ
57282013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5729
5730 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5731 POWER.
5732 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5733 for POWER.
5734 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5735 powerpc/power5/fpu folders.
5736 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5737 * benchtests/Makefile: Add modf testcase.
5738 * benchtests/bench-modf.c: New file: Benchmark test for mo
5739
ff491d14
SP
57402013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5741
5742 [BZ #14888]
5743 * time/Makefile (tests): Add tst-strptime-whitespace.
5744 * time/strptime_l.c (get_number): Use ISSPACE.
5745 (__strptime_internal): Likewise.
5746 * time/tst-strptime-whitespace.c: New test case.
5747
7ed3f4e8
AS
57482013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5749
5750 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5751 member.
5752 (_nss_files_init): Set it here.
5753
5c95f7b6
HC
57542013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5755
5756 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5757 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5758 unsigned.
5759
d34c9158
JBG
57602013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5761
5762 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5763
2169712d
SP
57642013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5765
5766 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5767 size just once.
5768
29c5de99
DM
57692013-04-21 David S. Miller <davem@davemloft.net>
5770
5771 * po/ru.po: Update Russion translation from translation project.
5772
ccdad15d
AC
57732013-04-17 Adam Conrad <adconrad@0c3.net>
5774
5775 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5776 and setfsgid.
5777
0f122b8d
CD
57782013-04-17 Carlos O'Donell <carlos@redhat.com>
5779
5c5b07da 5780 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5781 * configure: Regenerate.
5c5b07da 5782 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5783 Add example to error message.
5784 * sysdeps/i386/configure: Regenerate.
5785
037714dd
SP
57862013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5787
5788 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5789 slowtan.
5790 * benchtests/cos-inputs: New file.
5791 * benchtests/slowcos-inputs: New file.
5792 * benchtests/slowcos.c: New file.
5793 * benchtests/slowtan-inputs: New file.
5794 * benchtests/slowtan.c: New file.
5795 * benchtests/tan-inputs: New file.
5796
e913141d
RM
57972013-04-16 Roland McGrath <roland@hack.frob.com>
5798
5799 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5800 considered kosher.
5801
a2964074
SP
58022013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5803
4856bcd2
SP
5804 * benchtests/Makefile: Include cppflags-iterator.mk to add
5805 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5806
a2964074
SP
5807 * Makefile.in (bench-clean): New target.
5808 * benchtests/Makefile (bench-clean): Likewise.
5809
9fbf9aca
DH
58102013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5811
5812 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5813
207d1e2a
TS
58142013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5815
5816 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5817
306dfba9
AS
58182013-04-15 Andreas Schwab <schwab@suse.de>
5819
5820 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5821 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5822 * nscd/pwdcache.c (cache_addpw): Likewise.
5823 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5824 more than recsize.
5825
206a6699
SP
58262013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5827
5828 * benchtests/Makefile (bench): Write all output to
5829 bench-out.tmp together.
5830
0582f6b3
AS
58312013-04-15 Andreas Schwab <schwab@suse.de>
5832
5833 * nscd/nscd.c (main): Don't fork again after closing files.
5834
acb4325f
SP
58352013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5836
5cb26d0a
SP
5837 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5838
acb4325f
SP
5839 * benchtests/Rules (bench-deps): Collect dependencies into a
5840 single variable. Add Makefile to dependencies.
5841 ($(objpfx)bench-%.c): Depend on bench-deps.
5842
47792506
RM
58432013-04-12 Roland McGrath <roland@hack.frob.com>
5844 Xavier Roche <roche+kml2@exalead.com>
5845
5846 [BZ #15361]
5847 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5848 just that it's a file descriptor.
5849 * manual/llio.texi (Synchronizing AIO Operations): Update description
5850 for EBADF error from aio_fsync.
5851
8fc1bee5
SP
58522013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5853
5854 * Rules (bench): Move target definition...
5855 * benchtests/Makefile: ... here.
5856
aba5e333
CD
58572013-04-11 Carlos O'Donell <carlos@redhat.com>
5858
5859 * math/libm-test.inc (cos_test): Fix PI/2 test.
5860 (sincos_test): Likewise.
5861 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5862 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5863
273cdee8
AS
58642013-04-11 Andreas Schwab <schwab@suse.de>
5865
6ecec3b6
AS
5866 [BZ #13988]
5867 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5868 accept exponent character only when digits were seen.
5869 * stdio-common/Makefile (tests): Add bug26.
5870 * stdio-common/bug26.c: New file.
5871
273cdee8
AS
5872 [BZ #14293]
5873 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5874 non-freeable.
5875
8da491f5
SP
58762013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5877
01dc6df9
SP
5878 * Makeconfig (rtld-prefix): Define built linker prefix.
5879 * Rules (run-bench): Use it.
5880 * math/Makefile (run-regen-ulps): Likewise.
5881
8da491f5
SP
5882 * Rules (bench): Remove eval.
5883
abe7f530
SP
58842013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5885 Roland McGrath <roland@hack.frob.com>
5886 Ondrej Bilka <neleai@seznam.cz>
5887
5888 [BZ #15346]
5889 * time/getdate.c: Include ctype.h and alloca.h.
5890 (__getdate_r): Trim leading and trailing spaces of input.
5891 * time/tst-getdate.c (tests): Add tests with leading and
5892 trailing spaces.
5893
61c23e62
RM
58942013-04-08 Roland McGrath <roland@hack.frob.com>
5895
5896 [BZ #14280]
5897 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5898 when computing value.
5899
7208a313
CD
59002013-04-06 Carlos O'Donell <carlos@redhat.com>
5901
085b2d41
CD
5902 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5903 Use testrun.sh to run libm tests.
5904
7208a313
CD
5905 [BZ #15309]
5906 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5907
872c0acd
MM
59082013-04-06 Marko Myllynen <myllynen@redhat.com>
5909
5910 [BZ #15264]
5911 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5912
26510bdd
CD
59132013-04-06 Carlos O'Donell <carlos@redhat.com>
5914
5915 * Makefile.in (regen-ulps): New target.
5916 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5917 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5918 [ifneq (no,$(PERL)] (regen-ulps): New target.
5919 [ifeq (no,$(PERL)] (regen-ulps): New target.
5920 * math/libm-test.inc (ulps_file_name): Define.
5921 (output_dir): New variable.
5922 (options): Add "output-dir" option.
5923 (parse_opt): Handle 'o' case.
5924 (main): If output_dir is non-NULL use it as a prefix
5925 otherwise use "".
5926 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5927
a01f19c8
CD
59282013-04-06 Carlos O'Donell <carlos@redhat.com>
5929
5930 [BZ #10060, #10062]
5931 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5932 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5933 fail configure if __sync_val_compare_and_swap is not inlined.
5934 * sysdeps/i386/configure: Regenerate.
5935 * configure.in: Build for i686 when configured for i386.
5936 * configure: Regenerate.
5937 * README: Remove i386 reference.
5938
b7a329a5
CD
59392013-04-06 Carlos O'Donell <carlos@redhat.com>
5940
5941 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5942 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5943
bf0f50df
TS
59442013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5945
ee091edf
TS
5946 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5947 (lmsnanval): New variables.
5948 (F): Add conversion tests.
5949 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5950 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5951
a8b792d6
TS
5952 * stdio-common/tstdiomisc.c (F): Properly collect individual
5953 tests' results.
5954
a1cbf437
TS
5955 [BZ #14686, #15336]
5956 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5957 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5958 Instead, use input NaN values or generate a qNaN by arithmetic
5959 operation. Also fix bugs to comply with the standard.
5960 * math/libm-test.inc (remainder_test): Add more tests.
5961
8b43a0c9
TS
5962 [BZ #15335, #15342]
5963 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5964 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5965 input NaN values or generate a qNaN by arithmetic operation.
5966
d91da4ce
TS
5967 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5968 unreachable code.
5969
bf0f50df
TS
5970 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5971 definitions.
5972
05e166c8
JM
59732013-04-03 Joseph Myers <joseph@codesourcery.com>
5974
5975 [BZ #14478]
5976 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5977 underflowed result.
5978 * math/s_cexpf.c (__cexpf): Likewise.
5979 * math/s_cexpl.c (__cexpl): Likewise.
5980 * math/libm-test.inc (cexp_test): Add more tests.
5981
1cef1b19
AS
59822013-04-03 Andreas Schwab <schwab@suse.de>
5983
5984 [BZ #15330]
5985 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5986 order arrays from heap if bigger than alloca cutoff.
5987
74d87055
TS
59882013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5989
5990 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5991 (SNAN_TESTS_double): Refer to GCC PR56831.
5992 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5993 GCC PR56828.
5994
d755bba4
SP
59952013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5996
90d5d5bb
SP
5997 * Rules (bench): Move bench.out after the run is complete.
5998
73e0cd5d
SP
5999 * Rules (bench): Echo currently running benchmark.
6000
64aabd4b
SP
6001 * benchtests/Makefile (bench): Add atan and slowatan.
6002 * benchtests/atan-inputs: New file.
6003 * benchtests/slowatan-inputs: New file.
6004 * benchtests/slowatan.c: New file.
6005
c871eccd
SP
6006 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6007 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6008 its value.
6009
d755bba4
SP
6010 [BZ #15305]
6011 * sysdeps/unix/sysv/linux/kernel-features.h
6012 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6013 __ASSUME_XFS_RESTRICTED_CHOWN.
6014 * sysdeps/unix/sysv/linux/pathconf.c
6015 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6016 Save and restore errno.
6017
52ce4860
JM
60182013-04-02 Joseph Myers <joseph@codesourcery.com>
6019
6020 [BZ #15327]
6021 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6022 arguments using __kernel_casinh.
6023 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6024 arguments using __kernel_casinhf.
6025 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6026 arguments using __kernel_casinhl.
6027 * math/libm-test.inc (cacosh_test): Add more tests.
6028 * sysdeps/i386/fpu/libm-test-ulps: Update.
6029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6030
81f311c2
SP
60312013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6032
e7906a47
SP
6033 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6034 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6035
92e3664b
SP
6036 * bench/Makefile (bench): Add sin and slowsin.
6037 * benchtests/sin-inputs: New file.
6038 * benchtests/slowsin-inputs: New file.
6039 * benchtests/slowsin.c: New file.
6040
81f311c2
SP
6041 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6042 (bench): Add slowexp and slowpow.
6043 (exp-ITER): Increase iterations.
6044 (pow-ITER): Likewise.
6045 * benchtests/exp-inputs: Change input.
6046 * benchtests/pow-inputs: Likewise.
6047 * benchtests/slowexp-inputs: New file.
6048 * benchtests/slowexp.c: New file.
6049 * benchtests/slowpow-inputs: New file.
6050 * benchtests/slowpow.c: New file.
6051
ab0f1aa9
AZ
60522013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6053
6054 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6055 instructions.
6056 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6057 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6058 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6059 * benchtests/Makefile: Add rint benchtest.
6060 * benchtests/rint-inputs: Input for rint benchtest.
6061
57267616
TS
60622013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6063
6064 * Versions.def (libm): Add GLIBC_2.18.
6065 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6066 hidden libm prototypes.
6067 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6068 * math/Makefile (libm-calls): Add s_issignaling.
6069 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6070 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6071 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6072 declaration.
6073 * math/math.h [__USE_GNU] (issignaling): New macro.
6074 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6075 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6076 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6077 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6078 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6079 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6080 * manual/arith.texi (issignaling): New section.
6081 * manual/libm-err-tab.pl (@all_functions): Update comment.
6082 * math/gen-libm-test.pl (parse_args): Apply special handling for
6083 issignaling.
6084 * math/libm-test.inc (print_float, issignaling_test): New
6085 functions.
6086 (check_float_internal): Add issignaling checks.
6087 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6088 default definition.
6089 * sysdeps/powerpc/math-tests.h: New file.
6090 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6091 tests.
6092 * math/test-snan.c (TEST_FUNC): Likewise.
6093
6142896d
DM
60942013-03-30 David S. Miller <davem@davemloft.net>
6095
6096 * po/de.po: Update from translation team.
6097
ccc8cadf
JM
60982013-03-30 Joseph Myers <joseph@codesourcery.com>
6099
6100 [BZ #10357]
6101 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6102 imaginary part less than 1.0 and real part less than 0.5
6103 specially.
6104 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6105 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6106 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6107 (cacos_test): Add more tests.
6108 (casin_test): Likewise.
6109 (casinh_test): Likewise.
6110 * sysdeps/i386/fpu/libm-test-ulps: Update.
6111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6112
0f6a8d4b
SP
61132013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6114
0d1029de
SP
6115 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6116 ONE with its value.
6117
c2d94018
SP
6118 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6119 (__pow_mp): Replace ONE and MONE with their values.
6120 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6121 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6122 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6123 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6124 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6125 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6126
27ec37f1
SP
6127 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6128
a64d7e0e
SP
6129 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6130 (__pow_mp): Replace ZERO and MZERO with their values.
6131 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6132 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6133 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6134 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6135 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6136 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6137 (__sqr): Likewise.
6138
d26dd3eb
SP
6139 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6140
0f6a8d4b
SP
6141 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6142
e57b0c61
RM
61432013-03-28 Roland McGrath <roland@hack.frob.com>
6144
6145 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6146 Declare with __attribute__ ((weak)).
6147 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6148 Call __call_tls_dtors only if it's not NULL.
6149
356b3480
RM
61502013-03-28 Roland McGrath <roland@hack.frob.com>
6151
288f7d79
RM
6152 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6153 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6154 magic __ehdr_start linker symbol if it's defined.
6155 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6156 them up here if it was already done.
6157
dc0a0263
RM
6158 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6159 (_dl_aux_init): Use const in cast when setting it.
6160 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6161 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6162 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6163
3d3436ae
RM
6164 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6165 Declare them here.
6166 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6167 * csu/libc-tls.c: Nor here.
6168 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6169
356b3480
RM
6170 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6171 (__libc_message): Never call vsyslog.
6172
b0f1246a
AM
61732013-03-28 Alan Modra <amodra@gmail.com>
6174
6175 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6176 Define as empty.
6177 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6178 Likewise.
6179
fbbe2b9a
AZ
61802013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6181
6182 [BZ #15214]
6183 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6184 underflow.
6185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6186
1728ab37
SP
61872013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6188
7a86be6e
SP
6189 [BZ #15304]
6190 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6191 Don't add gid passed as argument.
6192
1728ab37
SP
6193 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6194
3a7182a1
JM
61952013-03-27 Joseph Myers <joseph@codesourcery.com>
6196
6197 [BZ #15307]
6198 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6199 imaginary part between 1.0 and 1.5 and real part less than 0.5
6200 specially.
6201 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6202 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6203 * math/libm-test.inc (cacos_test): Add more tests.
6204 (casin_test): Likewise.
6205 (casinh_test): Likewise.
6206 * sysdeps/i386/fpu/libm-test-ulps: Update.
6207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6208
6f2e90e7
SP
62092013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6210
5739f705
SP
6211 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6212 constants.
6213 (norm): Likewise.
6214 (denorm): Likewise.
6215 (__dbl_mp): Likewise.
6216 (add_magnitudes): Likewise.
6217 (sub_magnitudes): Likewise.
6218 (__add): Likewise.
6219 (__sub): Likewise.
6220 (__mul): Likewise.
6221 (__sqr): Likewise.
6222 (__inv): Likewise.
6223 (__dvd): Likewise.
6224
e375e83d
SP
6225 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6226 commented code.
6227 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6228 (__dubcos): Likewise.
6229 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6230 (__ieee754_acos): Likewise.
6231 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6232 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6233 (__exp1): Likewise.
6234 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6235 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6236 (log1): Likewise.
6237 (my_log2): Likewise.
6238 (checkint): Likewise.
6239 * sysdeps/ieee754/dbl-64/e_remainder.c
6240 (__ieee754_remainder): Likewise.
6241 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6242 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6243 (bsloww): Likewise.
6244 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6245
6f2e90e7
SP
6246 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6247 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6248 MANTISSA_STORE_T to store computations on mantissa. Use
6249 macros for rounding and division.
6250 (denorm): Likewise.
6251 (__dbl_mp): Likewise.
6252 (add_magnitudes): Likewise.
6253 (sub_magnitudes): Likewise.
6254 (__mul): Likewise.
6255 (__sqr): Likewise.
6256 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6257 powers of two in terms of TWOPOW macro.
6258 (mp_no): Make type of mantissa as MANTISSA_T.
6259 [!RADIXI]: Define RADIXI.
6260 [!TWO52]: Define TWO52.
6261 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6262
fce14d4e
AZ
62632013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6264
6265 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6266 llroundl symbol when building for PPC32.
6267
9ad027fb
MW
62682013-03-24 Mark H Weaver <mhw@netris.org>
6269
6270 * manual/arith.texi (Normalization Functions): Fix prototypes for
6271 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6272
e42a38dd
AZ
62732013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6274
6275 [BZ #13889]
6276 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6277 high value to check if expl overflow.
6278 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6279 to check for underflow and overflow.
6280 * math/libm-test.inc: Add exp test.
6281
2e0fb521
DL
62822013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6283
6284 [BZ #11120]
6285 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6286 with NOT_IN_libc.
6287
b5784d95
AZ
62882013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6289
6290 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6291 symbol.
6292
5aa4a1a1
TS
62932013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6294
bdef0be7
TS
6295 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6296 wrap blocks consisting of several statements.
6297
5aa4a1a1
TS
6298 * sysdeps/generic/math-tests.h: New file.
6299 * sysdeps/i386/fpu/math-tests.h: Likewise.
6300 * math/test-snan.c: Include it.
6301 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6302
98c48fe5
JM
63032013-03-21 Joseph Myers <joseph@codesourcery.com>
6304
6305 [BZ #15285]
6306 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6307 (__ieee754_j0l): Do not improve calculations using cos of twice
6308 input for inputs above LDBL_MAX / 2.0L.
6309 (__ieee754_y0l): Likewise.
6310 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6311 (__ieee754_j1l): Do not improve calculations using cos of twice
6312 input for inputs above LDBL_MAX / 2.0L.
6313 (__ieee754_y1l): Likewise.
6314 * math/libm-test.inc (j0_test): Add another test.
6315 (j1_test): Likewise.
6316 (y0_test): Likewise.
6317 (y1_test): Likewise.
6318 * sysdeps/i386/fpu/libm-test-ulps: Update.
6319
3775a8bc
SP
63202013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6321
6322 * Rules ($(objpfx)bench-%.c): Include code from a C source
6323 file.
6324
0a1b2ae6
JM
63252013-03-21 Joseph Myers <joseph@codesourcery.com>
6326
6327 [BZ #15287]
6328 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6329 imaginary part 1.0 and real part less than 0.5 specially.
6330 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6331 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6332 * math/libm-test.inc (cacos_test): Add more tests.
6333 (casin_test): Likewise.
6334 (casinh_test): Likewise.
6335 * sysdeps/i386/fpu/libm-test-ulps: Update.
6336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6337
b33d4ce4
SP
63382013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6339
6340 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6341 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6342
bef0b507
JM
63432013-03-20 Joseph Myers <joseph@codesourcery.com>
6344
6345 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6346 * config.make.in (config-cflags-sse4): Remove variable.
6347 (config-cflags-avx): Likewise.
6348 (config-cflags-sse2avx): Likewise.
6349 (config-cflags-novzeroupper): Likewise.
6350 (config-asflags-i686): Likewise.
6351 (have-mfma4): Likewise.
6352 (have-as-vis3): Likewise.
6353 (MIG): Likewise.
6354 * configure.in (MIG): Do not AC_SUBST.
6355 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6356 (libc_cv_cc_sse4): Do not AC_SUBST.
6357 (libc_cv_cc_avx): Likewise.
6358 (libc_cv_cc_sse2avx): Likewise.
6359 (libc_cv_cc_novzeroupper): Likewise.
6360 (libc_cv_cc_fma4): Likewise.
6361 (libc_cv_as_i686): Likewise.
6362 (libc_cv_sparc_as_vis3): Likewise.
6363 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6364 LIBC_CONFIG_VAR.
6365 (config-asflags-i686): Likewise.
6366 (config-cflags-avx): Likewise.
6367 (config-cflags-sse2avx): Likewise.
6368 (have-mfma4): Likewise.
6369 (config-cflags-novzeroupper): Likewise.
6370 * sysdeps/mach/configure.in (MIG): Likewise.
6371 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6372 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6373 LIBC_CONFIG_VAR.
6374 (config-cflags-avx): Likewise.
6375 (config-cflags-sse2avx): Likewise.
6376 (have-mfma4): Likewise.
6377 (config-cflags-novzeroupper): Likewise.
6378 * configure: Regenerated.
6379 * sysdeps/i386/configure: Likewise.
6380 * sysdeps/mach/configure: Likewise.
6381 * sysdeps/sparc/configure: Likewise.
6382 * sysdeps/x86_64/configure: Likewise.
6383
912cc4b3
RM
63842013-03-20 Roland McGrath <roland@hack.frob.com>
6385
6386 [BZ #14812]
6387 * locale/programs/localedef.c (options): Put N_ translation marker
6388 on argument names, not just descriptions.
6389
04eed2b0
MS
63902013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6391
6392 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6393
a065ceff
OB
63942013-03-20 Ondřej Bílka <neleai@seznam.cz>
6395
9bb2a810 6396 [BZ #14176]
a065ceff
OB
6397 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6398
a600e5ce
RM
63992013-03-19 Roland McGrath <roland@hack.frob.com>
6400
6401 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6402 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6403 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6404 [!BEFORE_ABORT] (before_abort): New function.
6405 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6406 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6407 (writev_for_fatal): New function.
6408 (WRITEV_FOR_FATAL): New macro; call that.
6409 (backtrace_and_maps): New function.
6410 (BEFORE_ABORT): New macro; call that.
6411 (struct str_list): Type removed.
6412 (__libc_message, __libc_fatal): Functions removed.
6413 Include <sysdeps/posix/libc_fatal.c> instead.
6414
6b18bea6
JM
64152013-03-19 Joseph Myers <joseph@codesourcery.com>
6416
6417 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6418 constants.
6419 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6420 double constants.
6421
aaa8cb4b
AS
64222013-03-19 Andreas Schwab <schwab@suse.de>
6423
44673770
AS
6424 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6425 * sysdeps/gnu/configure: Regenerate.
6426
aaa8cb4b
AS
6427 * configure.in: Substitute libc_cv_rtlddir.
6428 * configure: Regenerate.
6429 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6430 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6431 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6432 * elf/Makefile (install-others, CFLAGS-interp.c)
6433 (ldso_install, common-ldd-rewrite): Likewise.
6434 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6435 $(inst_slibdir)/$(rtld-installed-name).
6436 * scripts/rellns-sh: Add -p option.
6437 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6438 for source.
6439
d3cfc668
SP
64402013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6441
6442 * manual/nptl.texi: Renamed to ...
6443 * manual/threads.texi: ... this.
6444 * manual/Makefile (chapters): Update.
6445
0e2b9cdd
RM
64462013-03-18 Roland McGrath <roland@hack.frob.com>
6447
6448 [BZ #14812]
6449 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6450 on argument names, not just descriptions.
0e2b9cdd
RM
6451 * malloc/memusagestat.c (options): Likewise.
6452 * nss/getent.c (options): Likewise.
63270c24
RM
6453
64542013-03-18 Benno Schulenberg <bensberg@justemail.net>
6455
6456 [BZ #14812]
6457 * iconv/iconv_prog.c (options): Put N_ translation marker
6458 on argument names, not just descriptions.
6459 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6460
b2e1393c
OB
64612013-03-18 Ondrej Bilka <neleai@seznam.cz>
6462
6463 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6464 implementation which is faster on all x86_64 architectures.
6465 Tested on AMD, Intel Nehalem, SNB, IVB.
6466 * sysdeps/x86_64/strnlen.S: Likewise.
6467
6468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6469 Remove all multiarch strlen and strnlen versions.
6470 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6471 Remove strlen and strnlen related parts.
6472
6473 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6474 Inline strlen part.
6475 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6476
6477 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6478 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6479 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6480 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6481 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6482 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6483
ec4ff04d
CD
64842013-03-17 Carlos O'Donell <carlos@redhat.com>
6485
6486 * manual/memory.texi (Malloc Tunable Parameters):
6487 Sort parameters alphabetically. Add comments for missing entries.
6488
cd18e90a
DM
64892013-03-17 David S. Miller <davem@davemloft.net>
6490
6491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6492
2a185d32
JM
64932013-03-16 Joseph Myers <joseph@codesourcery.com>
6494
d2f9799e
JM
6495 [BZ #15283]
6496 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6497 for arguments at most half maximum finite value.
6498 * math/libm-test.inc (j0_test): Add more tests.
6499 (j1_test): Likewise.
6500 (y0_test): Likewise.
6501 (y1_test): Likewise.
6502 * sysdeps/i386/fpu/libm-test-ulps: Update.
6503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6504
2a185d32
JM
6505 [BZ #14155]
6506 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6507 1 / x and functions P and Q for arguments above 0x1p256L.
6508 (__ieee754_y0l): Likewise.
6509 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6510 (__ieee754_y1l): Likewise.
6511 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6512 (j1_test): Likewise.
6513 (y0_test): Likewise.
6514 (y1_test): Likewise.
6515
6cbec759
TS
65162013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6517
6518 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6519 variable.
6520
bc16e260
RM
65212013-03-15 Roland McGrath <roland@hack.frob.com>
6522
aefc9b8c
RM
6523 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6524 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6525 zero since it's initialized to EXEC_PAGESIZE.
6526
bc16e260
RM
6527 * sysdeps/unix/sysv/linux/ldsodefs.h
6528 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6529 * sysdeps/generic/ldsodefs.h: ... here.
6530
a57da955
TS
65312013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6532
af00a34d
TS
6533 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6534
495ded2c
TS
6535 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6536 math/test-snan.c.
6537 * math/test-snan.c: Renamed from
6538 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6539 * math/Makefile (tests): Add test-snan.
6540 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6541 test-powerpc-snan.
6542
777b0332
TS
6543 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6544 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6545 functions.
6546 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6547 __builtin_nan family of functions.
6548 * math/libm-test.inc (initialize): Initialize qnan_value with
6549 __builtin_nan family of functions.
6550 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6551 Remove variables.
6552 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6553 Remove functions.
6554 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6555 storage class. Initialize qNaN_var and sNaN_var with
6556 __builtin_nan and __builtin_nans families of functions,
6557 respectively.
6558
64d063b8
TS
6559 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6560 (sqrt_test): Remove duplicate test with qNaN input.
6561 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6562 (round_test, signbit_test, significand_test): Note missing +/-Inf
6563 as well as qNaN tests.
6564
67e971f1
TS
6565 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6566 qNaN_var. Fix a few strings, too.
6567 * math/libm-test.inc (nan_value): Rename to qnan_value.
6568 * math/gen-libm-test.pl (%beautify): Adjust to that.
6569 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6570 * math/test-misc.c (main): Likewise.
6571 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6572 to __qnan_bytes, and __qnan_union, respectively.
6573 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6574 Likewise.
6575 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6576 and lqnanval, respectively.
6577 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6578 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6579 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6580 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6581
64487e12
TS
6582 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6583 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6584 doubles.
6585
e015e27b
TS
6586 * math/test-misc.c (main): Fix copy'n'pastos.
6587 * misc/tst-efgcvt.c (special): Likewise.
6588
a57da955
TS
6589 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6590 Remove declarations.
6591
1e380345
SP
65922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6593
6594 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6595 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6596 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6597 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6598
ef26eece
AZ
65992013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6600
6601 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6602 macro to return vdso values correctly in IFUNC implementations.
6603 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6604 Optimization by using IFUNC.
6605
8cfdb7e0
SP
66062013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6607 Richard Henderson <rth@redhat.com>
6608 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6609
6610 * Makefile.in (bench): New target.
6611 * NEWS: Mention the benchmark framework.
6612 * Rules (bench): Likewise.
6613 (binaries-bench): Generate binaries for functions to
6614 benchmark.
6615 * benchtests/Makefile: New makefile for benchmark tests.
6616 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6617 programs.
6618 * benchtests/exp-inputs: New input file for EXP function.
6619 * benchtests/pow-inputs: New input file for POW function.
6620 * scripts/bench.pl: New script to generate source files for
6621 benchmark programs.
6622
bcda9880
SP
66232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6624
d22ca8cd
SP
6625 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6626 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6627 computations on mantissa. Use macros for rounding and
6628 division.
6629 (denorm): Likewise.
6630 (__dbl_mp): Likewise.
6631 (add_magnitudes): Likewise.
6632 (sub_magnitudes): Likewise.
6633 (__mul): Likewise.
6634 (__sqr): Likewise.
6635 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6636 powers of two in terms of TWOPOW macro.
6637 (mp_no): Make type of mantissa as MANTISSA_T.
6638 [!RADIXI]: Define RADIXI.
6639 [!TWO52]: Define TWO52.
6640 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6641
bcda9880
SP
6642 * manual/nptl.texi (cindex): Modify threads to pthreads.
6643
06d5adfb
JM
66442013-03-15 Joseph Myers <joseph@codesourcery.com>
6645
6646 * sysdeps/x86_64/preconfigure: Regenerated.
6647
41c7328e
JM
66482013-03-14 Joseph Myers <joseph@codesourcery.com>
6649
6650 [BZ #14155]
6651 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6652 0x1p28 and above.
6653 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6654 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6655 0x1p28 and above.
6656 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6657 * math/libm-test.inc (j0_test): Do not allow one spurious
6658 underflow exception.
6659 (y1_test): Likewise.
6660
e25cfa60
SP
66612013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6662
0409959c
SP
6663 * manual/Makefile (chapters): Add nptl.
6664 * manual/debug.texi (Debugging Support): Add link to Threads
6665 chapter.
6666 * manual/nptl.texi: New file.
6667
e25cfa60
SP
6668 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6669
58a1335e
PB
66702013-03-14 Petr Baudis <pasky@ucw.cz>
6671
6672 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6673 for non-NULL pointer before the memory validity test. Pointed
6674 out by Holger Brunck <holger.brunck@keymile.com>.
6675
9dc7c64f
AS
66762013-03-13 Andreas Schwab <schwab@suse.de>
6677
6678 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6679 instead of .os.
6680
54206aa6
JM
66812013-03-13 Joseph Myers <joseph@codesourcery.com>
6682
6683 * timezone/zic.c: Update from tzcode 2013b.
6684
e98cdb38
CD
66852013-03-12 Carlos O'Donell <carlos@redhat.com>
6686
6687 * manual/install.texi (Configuring and compiling):
6688 Mention i686 and i586.
6689 * INSTALL: Regenerate.
6690
9967e003
RM
66912013-03-12 Roland McGrath <roland@hack.frob.com>
6692
6693 * sysdeps/init_array/elf-init.c: New file.
6694 * csu/elf-init.c
6695 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6696 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6697
6698 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6699 __gmon_start__ as global, but as static with a .preinit_array pointer.
6700 * sysdeps/init_array/gmon-start.c: New file. Use that.
6701 * sysdeps/init_array/crti.S: New file, empty except for comments.
6702 * sysdeps/init_array/crtn.S: Likewise.
6703
e6b5a293 67042013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6705
6706 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6707 definining bcopy.
80f844c9
OB
6708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6709 Remove Prefer_SSE_for_memop.
6710 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6711 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6712 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6714 memset-x86-64.
80f844c9 6715 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6716 Remove bzero, memset ifunc support.
80f844c9
OB
6717 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6718 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6719 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6720 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6721
fb6b0fcb
AS
67222013-03-11 Andreas Schwab <schwab@suse.de>
6723
6724 [BZ #15234]
6725 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6726 by SHLIB_COMPAT.
6727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6728 (GLIBC_2.16): Remove pthread_atfork.
6729
3e6bd4b1
PP
67302013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6731
6732 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6733 (ptestcases.h): Likewise.
6734
222d7f00
RM
67352013-03-08 Roland McGrath <roland@hack.frob.com>
6736
6737 * Makeconfig ($(common-objpfx)config.status): Depend on
6738 sysdeps/*/preconfigure{,.in} too.
6739
1ba4f030
JM
67402013-03-08 Joseph Myers <joseph@codesourcery.com>
6741
a222d91a
JM
6742 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6743 (__free_hook): Use void * instead of __malloc_ptr_t.
6744 (__malloc_hook): Likewise.
6745 (__realloc_hook): Likewise.
6746 (__memalign_hook): Likewise.
6747 (__after_morecore_hook): Likewise.
6748 * malloc/arena.c (save_malloc_hook): Likewise.
6749 (save_free_hook): Likewise.
6750 * malloc/hooks.c (malloc_hook_ini): Likewise.
6751 (realloc_hook_ini): Likewise.
6752 (memalign_hook_ini): Likewise.
6753 * malloc/malloc.c (malloc_hook_ini): Likewise.
6754 (realloc_hook_ini): Likewise.
6755 (memalign_hook_ini): Likewise.
6756 (__free_hook): Likewise.
6757 (__malloc_hook): Likewise.
6758 (__realloc_hook): Likewise.
6759 (__memalign_hook): Likewise.
6760 (__libc_malloc): Likewise.
6761 (__libc_free): Likewise.
6762 (__libc_realloc): Likewise.
6763 (__libc_memalign): Likewise.
6764 (__libc_valloc): Likewise.
6765 (__libc_pvalloc): Likewise.
6766 (__libc_calloc): Likewise.
6767 (__posix_memalign): Likewise.
6768 * malloc/morecore.c (__sbrk): Likewise.
6769 (__default_morecore): Likewise.
6770
5cc45e10
JM
6771 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6772
dd54b864
JM
6773 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6774 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6775 __malloc_ptrdiff_t.
6776
1ba4f030
JM
6777 * malloc/malloc.h (__malloc_size_t): Remove macro.
6778 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6779 __malloc_size_t.
6780 (old_memalign_hook): Likewise.
6781 (old_realloc_hook): Likewise.
6782 (struct hdr): Likewise.
6783 (flood): Likewise.
6784 (mallochook): Likewise.
6785 (memalignhook): Likewise.
6786 (reallochook): Likewise.
6787 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6788 (tr_old_realloc_hook): Likewise.
6789 (tr_old_memalign_hook): Likewise.
6790 (tr_mallochook): Likewise.
6791 (tr_reallochook): Likewise.
6792 (tr_memalignhook): Likewise.
6793
edf66e57
AZ
67942013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6795
6796 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6797 default_ldbl_pack and using as default implementation.
6798 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6799 implementation.
6800 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6801 redundant definition.
6802 (ldbl_insert_mantissa): Likewise.
6803 (ldbl_canonicalize): Likewise.
6804 (ldbl_nearbyint): Likewise.
6805 (ldbl_pack): Rename to ldbl_pack_ppc.
6806 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6807 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6808 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6809
6d9145d8
SP
68102013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6811
6812 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6813 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6814 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6815 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6817 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6818 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6819 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6820
4dd4e157
AJ
68212013-03-07 Andreas Jaeger <aj@suse.de>
6822
6823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6824 bits/mman-linux.h.
6825
adbb8027
SP
68262013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6827
ce544b5b
SP
6828 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6829 Include mpa.h and declare __MPEXP.
6830 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6831 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6832 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6833 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6834 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6835 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6836 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6837
4cc149fd
SP
6838 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6839 (__slowpow): Use long double EXPL and LOGL functions to
6840 compute POW.
6841 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6842 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6843 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6844 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6845 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6846 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6847
e6ebd4a7
SP
6848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6849 intermediate variable to calculate exponent.
6850 (__sqr): Likewise.
6851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6852 Likewise.
6853 (__sqr): Likewise.
6854
82a9811d
SP
6855 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6856 [!NO__SQR]: Define __sqr.
6857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6858 and NO__SQR. Remove all code except __mul and __sqr. Include
6859 sysdeps/ieee754/dbl-64/mpa.c.
6860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6861
adbb8027
SP
6862 [BZ #12723]
6863 * posix/Makefile (tests): Add tst-pathconf.
6864 * posix/tst-pathconf.c: New test case.
6865 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6866 _PC_PIPE_BUF.
6867 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6868
39120df9
PF
68692013-03-06 Patsy Franklin <pfrankli@redhat.com>
6870
6871 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6872
67525cb8
AJ
68732013-03-06 Andreas Jaeger <aj@suse.de>
6874
664a9ce4
AJ
6875 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6876 definition via __MAP_ANONYMOUS.
6877
8e39047d
AJ
6878 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6879 it's not part of Linux headers.
6880
67525cb8
AJ
6881 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6882 (MAP_HUGE_MASK): Define.
6883
6884 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6885 Define.
6886 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6887 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6888 Define.
6889 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6890 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6891 Define.
6892 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6893 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6894 Define.
6895 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6896
6897 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6898 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6899 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6900 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6901 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6902 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6903
6904 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6905 Handle f2fs.
6906
6907 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6908 Handle f2fs and efivarfs.
6909
6910 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6911 f2fs.
6912
6913 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6914 (EFIVARFS_MAGIC): Add.
6915 (F2FS_LINK_MAX): Add.
6916
e1b42695
PP
69172013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6918
6919 * stdio-common/vfprintf.c: Replace __builtin_expect with
6920 __glibc_unlikely.
6921
2d67d91a
JM
69222013-03-06 Joseph Myers <joseph@codesourcery.com>
6923
6924 [BZ #13550]
6925 * sysdeps/generic/bp-sym.h: Remove file.
6926 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6927 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6928 <bp-sym.h> and <bp-asm.h>.
6929 (__longjmp): Don't use BP_SYM.
6930 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6931 and <bp-asm.h>.
6932 (memcpy): Don't use BP_SYM.
6933 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6934 <bp-sym.h> and <bp-asm.h>.
6935 (memcpy): Don't use BP_SYM.
6936 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6937 <bp-asm.h>.
6938 (memcpy): Don't use BP_SYM.
6939 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6940 <bp-asm.h>.
6941 (memset): Don't use BP_SYM.
6942 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6943 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6944 (__bzero): Don't use BP_SYM.
6945 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6946 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6947 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6948 <bp-sym.h> and <bp-asm.h>.
6949 (memcmp): Don't use BP_SYM. Remove comment about bounded
6950 pointers.
6951 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6952 <bp-sym.h> and <bp-asm.h>.
6953 (memcpy): Don't use BP_SYM.
6954 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6955 <bp-sym.h> and <bp-asm.h>.
6956 (memset): Don't use BP_SYM.
6957 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6958 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6959 (__bzero): Don't use BP_SYM.
6960 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6961 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6962 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6963 <bp-sym.h> and <bp-asm.h>.
6964 (strncmp): Don't use BP_SYM. Remove comment about bounded
6965 pointers.
6966 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6967 <bp-sym.h> and <bp-asm.h>.
6968 (memcpy): Don't use BP_SYM.
6969 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6970 <bp-sym.h> and <bp-asm.h>.
6971 (memset): Don't use BP_SYM.
6972 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6973 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6974 (__bzero): Don't use BP_SYM.
6975 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6976 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6977 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6978 <bp-sym.h> and <bp-asm.h>.
6979 (__memchr): Don't use BP_SYM.
6980 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6981 <bp-sym.h> and <bp-asm.h>.
6982 (memcmp): Don't use BP_SYM. Remove comment about bounded
6983 pointers.
6984 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6985 <bp-sym.h> and <bp-asm.h>.
6986 (memcpy): Don't use BP_SYM.
6987 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6988 <bp-sym.h> and <bp-asm.h>.
6989 (__mempcpy): Don't use BP_SYM.
6990 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6991 <bp-sym.h> and <bp-asm.h>.
6992 (__memrchr): Don't use BP_SYM.
6993 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6994 <bp-sym.h> and <bp-asm.h>.
6995 (memset): Don't use BP_SYM.
6996 (__bzero): Likewise.
6997 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6998 <bp-sym.h> and <bp-asm.h>.
6999 (__rawmemchr): Don't use BP_SYM.
7000 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7001 <bp-sym.h> and <bp-asm.h>.
7002 (__STRCMP): Don't use BP_SYM.
7003 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7004 <bp-sym.h> and <bp-asm.h>.
7005 (strchr): Don't use BP_SYM.
7006 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7007 <bp-sym.h> and <bp-asm.h>.
7008 (__strchrnul): Don't use BP_SYM.
7009 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7010 <bp-sym.h> and <bp-asm.h>.
7011 (strlen): Don't use BP_SYM.
7012 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7013 <bp-sym.h> and <bp-asm.h>.
7014 (strncmp): Don't use BP_SYM. Remove comment about bounded
7015 pointers.
7016 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7017 <bp-sym.h> and <bp-asm.h>.
7018 (__strnlen): Don't use BP_SYM.
7019 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7020 <bp-sym.h> and <bp-asm.h>.
7021 (__GI__setjmp): Don't use BP_SYM.
7022 (_setjmp): Likewise.
7023 (__sigsetjmp): Likewise.
7024 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7025 (L(start_addresses)): Don't use BP_SYM.
7026 (_start): Likewise.
7027 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7028 <bp-asm.h>.
7029 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7030 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7031 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7032 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7033 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7034 <bp-asm.h>.
7035 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7036 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7037 about bounded pointers.
7038 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7039 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7040 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7041 <bp-asm.h>.
7042 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7043 about bounded pointers. Remove GKM FIXME comments.
7044 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7045 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7046 <bp-asm.h>.
7047 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7048 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7049 Remove GKM FIXME comments.
7050 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7051 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7052 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7053 <bp-asm.h>.
7054 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7055 about bounded pointers. Remove GKM FIXME comment.
7056 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7057 and <bp-asm.h>.
7058 (strncmp): Don't use BP_SYM. Remove comment about bounded
7059 pointers.
7060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7061 <bp-sym.h> and <bp-asm.h>.
7062 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7064 <bp-sym.h> and <bp-asm.h>.
7065 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7066 comment.
7067
cdcf361f
PP
70682013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7069
7070 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7071 call free(NULL).
7072
3c4a2b15
DM
70732013-03-05 David S. Miller <davem@davemloft.net>
7074
7075 * po/es.po: Update from translation team.
7076
cdcf361f 70772013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
7078
7079 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7080 <bits/mman-linux.h>.
7081 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7082 is fine.
7083 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7084 <bits/mman-linux.h> to end of file.
7085 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7086 is fine.
7087 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7088 <bits/mman-linux.h> to end of file.
7089 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7090 is fine.
7091 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7092 <bits/mman-linux.h> to end of file.
7093
7094 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7095 (MCL_CURRENT, MCL_FUTURE): Define here.
7096
5f67c04f
AK
70972013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7098
8a4473cc 7099 [BZ #15232]
5f67c04f
AK
7100 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7101 attribute_hidden.
7102 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7103
c3e94a95
AK
71042013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7105
7106 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7107 fourth parameter needed for rt_sigprocmask syscall.
7108 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7109 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7110 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7111 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7112 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7113 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7114
cfb6382a
JM
71152013-03-04 Joseph Myers <joseph@codesourcery.com>
7116
7117 [BZ #13550]
7118 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7119 comment about bounded pointers.
7120 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7121 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7122
539d8e01
AJ
71232013-03-04 Andreas Jaeger <aj@suse.de>
7124
7125 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7126 common definitions.
7127
7128 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7129 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7130 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7131 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7132 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
7133 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7134
2e167a70 71352013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
7136
7137 [BZ #15055]
7138 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7139 __ieee754_sqrl instead of __sqrl.
7140
68508633
JM
71412013-03-01 Joseph Myers <joseph@codesourcery.com>
7142
7143 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7144 * sysdeps/powerpc/fpu_control.h: ... here.
7145 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7146 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7147 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7148 * sysdeps/powerpc/bits/mathinline.h: ... here.
7149
7775448e
RM
71502013-03-01 Roland McGrath <roland@hack.frob.com>
7151
7152 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7153 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7154 to just [NEED_DL_SYSINFO_DSO].
7155 * elf/dl-support.c: Likewise.
7156 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7157 * elf/rtld.c (dl_main): Likewise.
7158 * elf/setup-vdso.h (setup_vdso): Likewise.
7159 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7160 * sysdeps/unix/sysv/linux/dl-sysdep.c
7161 (_dl_discover_osversion): Likewise.
7162
4e9b5995
CD
71632013-03-01 Carlos O'Donell <carlos@redhat.com>
7164
7165 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7166 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7167
e23872c8
SP
71682013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7169
e5c74c63
SP
7170 * NEWS: Mention libm performance improvements and non-x86 PI
7171 futex support.
7172
e23872c8
SP
7173 * csu/libc-start.c (__pthread_initialize_minimal): Change
7174 function arguments.
7175 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7176
b5510883
JM
71772013-02-28 Joseph Myers <joseph@codesourcery.com>
7178
7179 [BZ #13550]
7180 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7181 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7182 <bp-sym.h> and <bp-asm.h>.
7183 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7184 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7185 and <bp-asm.h>.
7186 (memcpy): Don't use BP_SYM.
7187 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7188 <bp-asm.h>.
7189 (__mpn_add_n): Don't use BP_SYM.
7190 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7191 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7192 and <bp-asm.h>.
7193 (__mpn_addmul_1): Don't use BP_SYM.
7194 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7195 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7196 <bp-sym.h>.
7197 (_setjmp): Don't use BP_SYM.
7198 (__novmx_setjmp): Likewise.
7199 (__GI__setjmp): Likewise.
7200 (__vmx_setjmp): Likewise.
7201 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7202 <bp-sym.h>.
7203 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7204 (__bzero): Don't use BP_SYM.
7205 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7206 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7207 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7208 <bp-sym.h> and <bp-asm.h>.
7209 (memcpy): Don't use BP_SYM.
7210 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7211 <bp-sym.h> and <bp-asm.h>.
7212 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7213 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7214 <bp-sym.h> and <bp-asm.h>.
7215 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7216 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7217 <bp-asm.h>.
7218 (__mpn_lshift): Don't use BP_SYM.
7219 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7220 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7221 <bp-asm.h>.
7222 (memset): Don't use BP_SYM.
7223 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7224 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7225 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7226 <bp-asm.h>.
7227 (__mpn_mul_1): Don't use BP_SYM.
7228 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7229 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7230 <bp-sym.h> and <bp-asm.h>.
7231 (memcmp): Don't use BP_SYM.
7232 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7233 <bp-sym.h> and <bp-asm.h>.
7234 (memcpy): Don't use BP_SYM.
7235 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7236 <bp-sym.h> and <bp-asm.h>.
7237 (memset): Don't use BP_SYM.
7238 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7239 <bp-sym.h> and <bp-asm.h>.
7240 (strncmp): Don't use BP_SYM.
7241 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7242 <bp-sym.h> and <bp-asm.h>.
7243 (memcpy): Don't use BP_SYM.
7244 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7245 <bp-sym.h> and <bp-asm.h>.
7246 (memset): Don't use BP_SYM.
7247 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7248 <bp-sym.h> and <bp-asm.h>.
7249 (__memchr): Don't use BP_SYM.
7250 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7251 <bp-sym.h> and <bp-asm.h>.
7252 (memcmp): Don't use BP_SYM.
7253 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7254 <bp-sym.h> and <bp-asm.h>.
7255 (memcpy): Don't use BP_SYM.
7256 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7257 <bp-sym.h> and <bp-asm.h>.
7258 (__mempcpy): Don't use BP_SYM.
7259 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7260 <bp-sym.h> and <bp-asm.h>.
7261 (__memrchr): Don't use BP_SYM.
7262 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7263 <bp-sym.h> and <bp-asm.h>.
7264 (memset): Don't use BP_SYM.
7265 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7266 <bp-sym.h> and <bp-asm.h>.
7267 (__rawmemchr): Don't use BP_SYM.
7268 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7269 <bp-sym.h> and <bp-asm.h>.
7270 (__STRCMP): Don't use BP_SYM.
7271 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7272 <bp-sym.h> and <bp-asm.h>.
7273 (strchr): Don't use BP_SYM.
7274 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7275 <bp-sym.h> and <bp-asm.h>.
7276 (__strchrnul): Don't use BP_SYM.
7277 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7278 <bp-sym.h> and <bp-asm.h>.
7279 (strlen): Don't use BP_SYM.
7280 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7281 <bp-sym.h> and <bp-asm.h>.
7282 (strncmp): Don't use BP_SYM.
7283 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7284 <bp-sym.h> and <bp-asm.h>.
7285 (__strnlen): Don't use BP_SYM.
7286 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7287 <bp-asm.h>.
7288 (__mpn_rshift): Don't use BP_SYM.
7289 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7290 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7291 <bp-sym.h> and <bp-asm.h>.
7292 (__sigsetjmp): Don't use BP_SYM.
7293 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7294 (L(start_addresses)): Don't use BP_SYM.
7295 (_start): Likewise.
7296 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7297 <bp-asm.h>.
7298 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7299 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7300 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7301 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7302 <bp-asm.h>.
7303 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7304 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7305 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7306 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7307 <bp-asm.h>.
7308 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7309 comments.
7310 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7311 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7312 <bp-asm.h>.
7313 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7314 FIXME comments.
7315 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7316 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7317 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7318 <bp-asm.h>.
7319 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7320 comment.
7321 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7322 and <bp-asm.h>.
7323 (strncmp): Don't use BP_SYM,
7324 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7325 <bp-asm.h>.
7326 (__mpn_sub_n): Don't use BP_SYM.
7327 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7328 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7329 and <bp-asm.h>.
7330 (__mpn_submul_1): Don't use BP_SYM.
7331 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7333 <bp-sym.h> and <bp-asm.h>.
7334 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7336 <bp-sym.h> and <bp-asm.h>.
7337 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7338 comment.
7339
8d19fe64
SP
73402013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7341
7342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7343 Use ZK to minimize writes to Z.
7344 (sub_magnitudes): Simplify code a bit.
7345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7346 Use ZK to minimize writes to Z.
7347 (sub_magnitudes): Simplify code a bit.
7348
85bd816a
RM
73492013-02-27 Roland McGrath <roland@hack.frob.com>
7350
7351 * csu/gmon-start.c: Add special exception to license text.
7352
b5977bf2
RH
73532013-02-27 Richard Henderson <rth@redhat.com>
7354
7355 * scripts/config.guess: Update from config.git.
7356 * scripts/config.sub: Likewise.
7357
11d6e2f2
SP
73582013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7359
09c14ed2
SP
7360 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7361
a688864e
SP
7362 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7363
6295157a
SP
7364 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7365
b8de2202
SP
7366 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7367
11d6e2f2
SP
7368 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7369
7e80ddb8
RM
73702013-02-26 Roland McGrath <roland@hack.frob.com>
7371
7372 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7373 [$(build-shared = yes].
7e80ddb8 7374
7da6d9ed
SP
73752013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7376
45f05884
SP
7377 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7378 (__mul): Reduce iterations for calculating mantissa.
7379
2236d359
SP
7380 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7381 MPTWO.
7382 (__mpranred): Likewise.
7383
7da6d9ed
SP
7384 [BZ #15160]
7385 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7386 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7387
b7688c42
PE
73882013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7389
7390 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7391 Define __attribute__.
7392
53a5c423
SP
73932013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7394
7395 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7396 unused.
7397 * posix/regex_internal.h (__attribute): Remove.
7398 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7399 (re_string_context_at): Likewise.
7400 (bitset_not): Use __attribute__ and mark function as possibly
7401 unused.
7402 (bitset_merge): Likewise.
7403 (bitset_mask): Likewise.
7404 (re_string_char_size_at): Likewise.
7405 (re_string_wchar_at): Likewise.
7406 (re_string_elem_size_at): Likewise.
7407
60f5a8b5
SP
74082013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7409
2a983a2e
SP
7410 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7411 code.
7412 (cc32): Likewise.
7413
e69804d1
SP
7414 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7415 (__acr): Likewise.
7416 (__cpy): Likewise.
7417 (norm): Likewise.
7418 (denorm): Likewise.
7419 (__dbl_mp): Likewise.
7420 (add_magnitudes): Likewise.
7421 (sub_magnitudes): Likewise.
7422 (__mul): Likewise.
7423 (__inv): Likewise.
7424
2f22a1e8
SP
7425 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7426 style.
7427
8930ddc7
SP
7428 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7429 style.
7430
dc60cb11
SP
7431 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7432 code.
7433
60f5a8b5
SP
7434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7435 up changes with default code.
7436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7437 Likewise.
7438
b4d1fd33
AM
74392013-02-24 Allan McRae <allan@archlinux.org>
7440
faf6f8bc
AM
7441 * manual/socket.texi (The Internet Namespace): Order menu items
7442 to match that in the file.
7443
b4d1fd33
AM
7444 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7445 node listing of the info page menu.
7446
2366713d
JM
74472013-02-21 Joseph Myers <joseph@codesourcery.com>
7448
7449 [BZ #13550]
7450 * sysdeps/i386/bp-asm.h: Remove file.
7451 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7452 (PARMS): Do not use macros from bp-asm.h.
7453 (S1): Likewise.
7454 (S2): Likewise.
7455 (SIZE): Likewise.
7456 (__mpn_add_n): Do not use BP_SYM
7457 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7458 "bp-asm.h".
7459 (PARMS): Do not use macros from bp-asm.h.
7460 (S1): Likewise.
7461 (SIZE): Likewise.
7462 (__mpn_addmul_1): Do not use BP_SYM
7463 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7464 "bp-asm.h".
7465 (PARMS): Do not use macros from bp-asm.h.
7466 (SIGMSK): Likewise.
7467 (_setjmp): Likewise. Do not use BP_SYM.
7468 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7469 "bp-asm.h".
7470 (PARMS): Do not use macros from bp-asm.h.
7471 (SIGMSK): Likewise.
7472 (setjmp): Likewise. Do not use BP_SYM.
7473 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7474 "bp-asm.h".
7475 (PARMS): Do not use macros from bp-asm.h.
7476 (__frexp): Do not use BP_SYM.
7477 (frexp): Likewise.
7478 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7479 "bp-asm.h".
7480 (PARMS): Do not use macros from bp-asm.h.
7481 (__frexpf): Do not use BP_SYM.
7482 (frexpf): Likewise.
7483 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7484 "bp-asm.h".
7485 (PARMS): Do not use macros from bp-asm.h.
7486 (__frexpl): Do not use BP_SYM.
7487 (frexpl): Likewise.
7488 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7489 "bp-asm.h".
7490 (PARMS): Do not use macros from bp-asm.h.
7491 (__remquo): Do not use BP_SYM.
7492 (remquo): Likewise.
7493 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7494 "bp-asm.h".
7495 (PARMS): Do not use macros from bp-asm.h.
7496 (__remquof): Do not use BP_SYM.
7497 (remquof): Likewise.
7498 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7499 "bp-asm.h".
7500 (PARMS): Do not use macros from bp-asm.h.
7501 (__remquol): Do not use BP_SYM.
7502 (remquol): Likewise.
7503 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7504 "bp-asm.h".
7505 (PARMS): Do not use macros from bp-asm.h.
7506 (DEST): Likewise.
7507 (SRC): Likewise.
7508 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7509 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7510 "bp-asm.h".
7511 (PARMS): Do not use macros from bp-asm.h.
7512 (strlen): Do not use BP_SYM.
7513 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7514 "bp-asm.h".
7515 (PARMS): Do not use macros from bp-asm.h.
7516 (S1): Likewise.
7517 (S2): Likewise.
7518 (SIZE): Likewise.
7519 (__mpn_add_n): Do not use BP_SYM.
7520 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7521 "bp-asm.h".
7522 (PARMS): Do not use macros from bp-asm.h.
7523 (S1): Likewise.
7524 (SIZE): Likewise.
7525 (__mpn_addmul_1): Do not use BP_SYM.
7526 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7527 weak_alias.
7528 (bzero): Likewise.
7529 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7530 "bp-asm.h".
7531 (PARMS): Do not use macros from bp-asm.h.
7532 (S): Likewise.
7533 (SIZE): Likewise.
7534 (__mpn_lshift): Do not use BP_SYM.
7535 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7536 "bp-asm.h".
7537 (PARMS): Do not use macros from bp-asm.h.
7538 (DEST): Likewise.
7539 (SRC): Likewise.
7540 (LEN): Likewise.
7541 (memcpy): Likewise. Do not use BP_SYM.
7542 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7543 libc_hidden_def and weak_alias.
7544 (mempcpy): Do not use BP_SYM in weak_alias.
7545 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7546 "bp-asm.h".
7547 (PARMS): Do not use macros from bp-asm.h.
7548 (DEST): Likewise.
7549 (LEN): Likewise.
7550 [!BZERO_P] (CHR): Likewise.
7551 (memset): Likewise. Do not use BP_SYM.
7552 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7553 "bp-asm.h".
7554 (PARMS): Do not use macros from bp-asm.h.
7555 (S1): Likewise.
7556 (SIZE): Likewise.
7557 (__mpn_mul_1): Do not use BP_SYM.
7558 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7559 "bp-asm.h".
7560 (PARMS): Do not use macros from bp-asm.h.
7561 (S): Likewise.
7562 (SIZE): Likewise.
7563 (__mpn_rshift): Do not use BP_SYM.
7564 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7565 "bp-asm.h".
7566 (PARMS): Do not use macros from bp-asm.h.
7567 (STR): Likewise.
7568 (CHR): Likewise.
7569 (strchr): Likewise. Do not use BP_SYM.
7570 (index): Do not use BP_SYM in weak_alias.
7571 * sysdeps/i386/i586/strcpy.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 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7577 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7578 "bp-asm.h".
7579 (PARMS): Do not use macros from bp-asm.h.
7580 (strlen): Do not use BP_SYM.
7581 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7582 "bp-asm.h".
7583 (PARMS): Do not use macros from bp-asm.h.
7584 (S1): Likewise.
7585 (S2): Likewise.
7586 (SIZE): Likewise.
7587 (__mpn_sub_n): Do not use BP_SYM.
7588 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7589 "bp-asm.h".
7590 (PARMS): Do not use macros from bp-asm.h.
7591 (S1): Likewise.
7592 (SIZE): Likewise.
7593 (__mpn_submul_1): Do not use BP_SYM.
7594 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7595 "bp-asm.h".
7596 (PARMS): Do not use macros from bp-asm.h.
7597 (S1): Likewise.
7598 (S2): Likewise.
7599 (SIZE): Likewise.
7600 (__mpn_add_n): Do not use BP_SYM.
7601 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7602 weak_alias.
7603 (bzero): Likewise.
7604 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7605 "bp-asm.h".
7606 (PARMS): Do not use macros from bp-asm.h.
7607 (BLK2): Likewise.
7608 (LEN): Likewise.
7609 (memcmp): Do not use BP_SYM.
7610 (bcmp): Do not use BP_SYM in weak_alias.
7611 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7612 "bp-asm.h".
7613 (PARMS): Do not use macros from bp-asm.h.
7614 (DEST): Likewise.
7615 (SRC): Likewise.
7616 (LEN): Likewise.
7617 (memcpy): Likewise. Do not use BP_SYM.
7618 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7619 "bp-asm.h".
7620 (PARMS): Do not use macros from bp-asm.h.
7621 (DEST): Likewise.
7622 (SRC): Likewise.
7623 (LEN): Likewise.
7624 (memmove): Likewise. Do not use BP_SYM.
7625 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7626 "bp-asm.h".
7627 (PARMS): Do not use macros from bp-asm.h.
7628 (DEST): Likewise.
7629 (SRC): Likewise.
7630 (LEN): Likewise.
7631 (__mempcpy): Likewise. Do not use BP_SYM.
7632 (mempcpy): Do not use BP_SYM in weak_alias.
7633 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7634 "bp-asm.h".
7635 (PARMS): Do not use macros from bp-asm.h.
7636 (DEST): Likewise.
7637 (LEN): Likewise.
7638 [!BZERO_P] (CHR): Likewise.
7639 (memset): Likewise. Do not use BP_SYM.
7640 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7641 "bp-asm.h".
7642 (PARMS): Do not use macros from bp-asm.h.
7643 (STR2): Likewise.
7644 (strcmp): Do not use BP_SYM.
7645 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7646 "bp-asm.h".
7647 (PARMS): Do not use macros from bp-asm.h.
7648 (STR): Likewise.
7649 (DELIM): Likewise.
7650 [USE_AS_STRTOK_R] (SAVE): Likewise.
7651 (FUNCTION): Likewise. Do not use BP_SYM.
7652 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7653 aliases.
7654 (strtok_r): Likewise.
7655 (__GI___strtok_r): Likewise.
7656 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7657 (PARMS): Do not use macros from bp-asm.h.
7658 (S): Likewise.
7659 (SIZE): Likewise.
7660 (__mpn_lshift): Do not use BP_SYM.
7661 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7662 (PARMS): Do not use macros from bp-asm.h.
7663 (STR): Likewise.
7664 (CHR): Likewise.
7665 (__memchr): Do not use BP_SYM.
7666 (memchr): Do not use BP_SYM in weak_alias.
7667 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7668 (PARMS): Do not use macros from bp-asm.h.
7669 (BLK2): Likewise.
7670 (LEN): Likewise.
7671 (memcmp): Do not use BP_SYM.
7672 (bcmp): Do not use BP_SYM in weak_alias.
7673 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7674 (PARMS): Do not use macros from bp-asm.h.
7675 (S1): Likewise.
7676 (SIZE): Likewise.
7677 (__mpn_mul_1): Do not use BP_SYM.
7678 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7679 "bp-asm.h".
7680 (PARMS): Do not use macros from bp-asm.h.
7681 (STR): Likewise.
7682 (CHR): Likewise.
7683 (__rawmemchr): Do not use BP_SYM.
7684 (rawmemchr): Do not use BP_SYM in weak_alias.
7685 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7686 (PARMS): Do not use macros from bp-asm.h.
7687 (S): Likewise.
7688 (SIZE): Likewise.
7689 (__mpn_rshift): Do not use BP_SYM.
7690 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7691 (PARMS): Do not use macros from bp-asm.h.
7692 (SIGMSK): Likewise.
7693 (__sigsetjmp): Likewise. Do not use BP_SYM.
7694 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7695 (_start): Do not use BP_SYM.
7696 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7697 (PARMS): Do not use macros from bp-asm.h.
7698 (DEST): Likewise.
7699 (SRC): Likewise.
7700 (__stpcpy): Likewise. Do not use BP_SYM.
7701 (stpcpy): Do not use BP_SYM in weak_alias.
7702 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7703 "bp-asm.h".
7704 (PARMS): Do not use macros from bp-asm.h.
7705 (DEST): Likewise.
7706 (SRC): Likewise.
7707 (LEN): Likewise.
7708 (__stpncpy): Likewise. Do not use BP_SYM.
7709 (stpncpy): Do not use BP_SYM in weak_alias.
7710 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7711 (PARMS): Do not use macros from bp-asm.h.
7712 (STR): Likewise.
7713 (CHR): Likewise.
7714 (strchr): Likewise. Do not use BP_SYM.
7715 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7716 "bp-asm.h".
7717 (PARMS): Do not use macros from bp-asm.h.
7718 (STR): Likewise.
7719 (CHR): Likewise.
7720 (__strchrnul): Likewise. Do not use BP_SYM.
7721 (strchrnul): Do not use BP_SYM in weak_alias.
7722 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7723 "bp-asm.h".
7724 (PARMS): Do not use macros from bp-asm.h.
7725 (STOP): Likewise.
7726 (strcspn): Do not use BP_SYM.
7727 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7728 "bp-asm.h".
7729 (PARMS): Do not use macros from bp-asm.h.
7730 (STR): Likewise.
7731 (STOP): Likewise.
7732 (strpbrk): Likewise. Do not use BP_SYM.
7733 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7734 "bp-asm.h".
7735 (PARMS): Do not use macros from bp-asm.h.
7736 (STR): Likewise.
7737 (CHR): Likewise.
7738 (strrchr): Likewise. Do not use BP_SYM.
7739 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7740 (PARMS): Do not use macros from bp-asm.h.
7741 (SKIP): Likewise.
7742 (strspn): Do not use BP_SYM.
7743 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7744 (PARMS): Do not use macros from bp-asm.h.
7745 (STR): Likewise.
7746 (DELIM): Likewise.
7747 (SAVE): Likewise.
7748 (FUNCTION): Likewise. Do not use BP_SYM.
7749 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7750 aliases.
7751 (strtok_r): Likewise.
7752 (__GI___strtok_r): Likewise.
7753 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7754 (PARMS): Do not use macros from bp-asm.h.
7755 (S1): Likewise.
7756 (S2): Likewise.
7757 (SIZE): Likewise.
7758 (__mpn_sub_n): Do not use BP_SYM.
7759 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7760 "bp-asm.h".
7761 (PARMS): Do not use macros from bp-asm.h.
7762 (S1): Likewise.
7763 (SIZE): Likewise.
7764 (__mpn_submul_1): Do not use BP_SYM.
7765 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7766 <bp-sym.h>.
7767 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7768 and <bp-asm.h>.
7769 (PARMS): Do not use macros from bp-asm.h.
7770 (FLAGS): Likewise.
7771 (PTID): Likewise.
7772 (TLS): Likewise.
7773 (CTID): Likewise.
7774 (__clone): Do not use BP_SYM.
7775 (clone): Do not use BP_SYM in weak_alias.
7776 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7777 and <bp-asm.h>.
7778 (PARMS): Do not use macros from bp-asm.h.
7779 (LEN): Likewise.
7780 (__mmap64): Do not use BP_SYM.
7781 (mmap64): Do not use BP_SYM in weak_alias.
7782 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7783 <bp-sym.h> and <bp-asm.h>.
7784 (PARMS): Do not use macros from bp-asm.h.
7785 (__posix_fadvise64_l64): Do not use BP_SYM.
7786 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7787 (PARMS): Do not use macros from bp-asm.h.
7788 (NSOPS): Likewise.
7789 (semtimedop): Do not use BP_SYM.
7790 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7791 and <bp-asm.h>.
7792
582a3cff
AM
77932013-02-21 Allan McRae <allan@archlinux.org>
7794
7795 * manual/message.texi (Charset conversion in gettext):
7796 Move @end statement to beginning of line.
7797
bab8a695
SP
77982013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7799
80945231
SP
7800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7801 static.
7802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7803 Likewise.
7804
bab8a695
SP
7805 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7806 (denorm): Likewise.
7807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7809
e21d7aa7
AK
78102013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7811
7812 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7813 tail-call to the resolved function if pltexit isn't needed.
7814
4c7a4263
SP
78152013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7816
7817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7818 or Y being zero as being unlikely.
7819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7820 Likewise.
7821
41f49342
CD
78222013-02-20 Carlos O'Donell <carlos@redhat.com>
7823
7824 * manual/nss.texi (System Databases and Name Service Switch):
7825 Remove frobnicate @pxref.
7826
50022a93
TS
78272013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7828
7829 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7830 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7831
08cbd996
PM
78322013-02-20 Petr Machata <pmachata@redhat.com>
7833
7834 * elf/elf.h (R_ARM_TARGET1): New macro.
7835 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7836 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7837 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7838 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7839 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7840 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7841 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7842 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7843 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7844 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7845 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7846 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7847 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7848 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7849 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7850 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7851 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7852 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7853 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7854 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7855 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7856 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7857 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7858 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7859 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7860 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7861 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7862 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7863 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7864 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7865 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7866 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7867 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7868 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7869 (R_ARM_THM_GOT_BREL12): Likewise.
7870 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7871 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7872 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7873 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7874 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7875 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7876 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7877 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7878 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7879
c7b275d6
TS
78802013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7881
7882 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7883 __attribute_used__ to __attribute__ ((unused)).
7884
20cd7fb3
SP
78852013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7886
7887 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7888 powerpc mpa.c.
7889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7890 comment formatting.
7891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7892
92945b52
JM
78932013-02-19 Joseph Myers <joseph@codesourcery.com>
7894
7895 [BZ #13550]
7896 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7897 Remove macro.
7898 (ENTER): Remove both macro definitions.
7899 (LEAVE): Likewise.
7900 (CHECK_BOUNDS_LOW): Likewise.
7901 (CHECK_BOUNDS_HIGH): Likewise.
7902 (CHECK_BOUNDS_BOTH): Likewise.
7903 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7904 (RETURN_BOUNDED_POINTER): Likewise.
7905 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7906 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7907 (POP_ERRNO_LOCATION_RETURN): Likewise.
7908 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7909 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7910 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7911 macros.
7912 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7913 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7914 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7915 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7916 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7917 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7918 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7919 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7920 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7921 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7922 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7923 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7924 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7925 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7926 removed macros.
7927 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7928 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7929 macros.
7930 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7931 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7932 * sysdeps/i386/i586/memset.S (memset): Likewise.
7933 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7934 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7935 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7936 macros.
7937 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7938 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7939 Change uses of L(2) to L(out).
7940 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7941 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7942 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7943 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7944 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7945 removed macros.
7946 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7947 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7948 macros.
7949 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7950 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7951 (RETURN): Do not use macro LEAVE.
7952 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7953 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7954 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7955 * sysdeps/i386/i686/memset.S (memset): Likewise.
7956 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7957 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7958 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7959 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7960 Likewise.
7961 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7962 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7963 L(1_2) and L(1_3) into L(1).
7964 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7965 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7966 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7967 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7968 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7969 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7970 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7971 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7972 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7973 macros.
7974 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7975 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7976 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7977 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7978 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7979 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7980 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7981 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7982 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7983 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7984 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7985 * sysdeps/i386/strspn.S (strspn): Likewise.
7986 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7987 conditional code.
7988 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7989 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7990 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7991 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7992 L(1_3) into L(1_1).
7993 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7994 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7995 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7996 macros.
7997 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7998
2389741a
JJ
79992013-02-19 Jakub Jelinek <jakub@redhat.com>
8000
8001 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8002 macro.
8003
2016b3cd
SP
80042013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8005
e4f22324
SP
8006 * math/atest-exp.c (exp_mpn): Remove ROUND.
8007 * math/atest-exp2.c (exp_mpn): Likewise.
8008 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8009
2016b3cd
SP
8010 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8011 * stdlib/tst-tls-atexit-lib.c: Likewise.
8012 * stdlib/tst-tls-atexit.c: Likewise.
8013
4be9b544
MF
80142013-02-18 Mike Frysinger <vapier@gentoo.org>
8015
8016 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8017 and __attribute_alloc_size__.
8018
2f62b9ee
MF
80192013-02-18 Mike Frysinger <vapier@gentoo.org>
8020
8021 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8022 __attribute_alloc_size__.
8023 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8024 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8025
6ff444c4
MF
80262013-02-18 Mike Frysinger <vapier@gentoo.org>
8027
8028 * include/programs/xmalloc.h: New file.
8029 * catgets/gencat.c: Include it.
8030 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8031 * elf/pldd.c: Likewise.
8032 * iconv/iconv_charmap.c: Likewise.
8033 * iconv/iconvconfig.c: Likewise.
8034 * iconv/strtab.c: Likewise.
8035 * locale/programs/locale.c: Likewise.
8036 * locale/programs/localedef.h: Likewise.
8037 * locale/programs/simple-hash.c: Likewise.
8038 * nscd/nscd.h: Likewise.
8039 * nss/makedb.c: Likewise.
8040 * sysdeps/generic/ldconfig.h: Likewise.
8041
be179c8a
SP
80422013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8043
ba384f6e
SP
8044 * Versions.def: Add GLIBC_2.18.
8045 * include/link.h (struct link_map): New member l_tls_dtor_count.
8046 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8047 (__call_tls_dtors): Likewise.
8048 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8049 __cxa_thread_atexit_impl.
8050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8051 Likewise.
8052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8053 Likewise.
8054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8055 Likewise.
8056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8057 Likewise.
8058 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8060 Likewise.
8061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8062 Likewise.
8063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8065 Likewise.
8066 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8067 (tests): Add test case tst-tls-atexit.
8068 (modules-names): Add shared library for tst-tls-atexit.
85891aca 8069 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
8070 (GLIBC_PRIVATE): Add __call_tls_dtors.
8071 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8072 for libstdc++.
8073 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8074 * stdlib/tst-tls-atexit.c: New test case.
8075 * stdlib/tst-tls-atexit-lib.c: New test case.
8076
ffaa74cf 8077 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 8078
be179c8a
SP
8079 * elf/Versions (ld): Add _dl_find_dso_for_object.
8080 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8081 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8082 (dl_open_worker): Use _dl_find_dso_for_object.
8083 * elf/dl-sym.c (do_sym): Likewise.
8084 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8085
f78b5caa
AK
80862013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8087
8088 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8089 Syntactic changes only.
8090 (_dl_runtime_profile): Do a tail-call to the resolved function.
8091
29691210
JM
80922013-02-17 Joseph Myers <joseph@codesourcery.com>
8093
8094 [BZ #13550]
8095 * sysdeps/x86_64/bp-asm.h: Remove file.
8096 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8097 <bp-sym.h> and <bp-asm.h>.
8098 (__clone): Do not use BP_SYM.
8099 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8100 <bp-sym.h> and <bp-asm.h>.
8101 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8102 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8103 "bp-asm.h".
8104 (_setjmp): Do not use BP_SYM.
8105 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8106 "bp-asm.h".
8107 (setjmp): Do not use BP_SYM.
8108 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8109 libc_hidden_def.
8110 (mempcpy): Do not use BP_SYM in weak_alias.
8111 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8112 "bp-asm.h".
8113 (strchr): Do not use BP_SYM.
8114 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8115 "bp-asm.h".
8116 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8117 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8118 (_start): Do not use BP_SYM.
8119 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8120 "bp-asm.h".
8121 (strcat): Do not use BP_SYM.
8122 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8123 "bp-asm.h".
8124 (STRCMP): Do not use BP_SYM.
8125 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8126 "bp-asm.h".
8127 (STRCPY): Do not use BP_SYM.
8128 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8129 "bp-asm.h".
8130 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8131 "bp-asm.h".
8132 (FUNCTION): Do not use BP_SYM.
8133 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8134 weak_alias.
8135 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8136
f238fd19
AJ
81372013-02-17 Andreas Jaeger <aj@suse.de>
8138
8139 * time/Versions: Sort entries.
8140 * string/Versions: Likewise.
8141 * resolv/Versions: Likewise.
8142 * posix/Versions: Likewise.
8143 * iconv/Versions: Likewise.
8144 * elf/Versions: Likewise.
8145 * wcsmbs/Versions: Likewise.
8146
bd07f23c 81472013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 8148
22af19f9
SP
8149 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8150 loop termination condition.
8151
4709fe76
SP
8152 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8153 variable to calculate EZ.
8154 (__sqr): Likewise.
2d0e0f29
SP
8155
8156 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8157 the lower precision input.
8158
daaa7713
JM
81592013-02-15 Joseph Myers <joseph@codesourcery.com>
8160
8161 [BZ #13550]
8162 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8163 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8164 (run-via-rtld-prefix): Do not handle %-bp tests.
8165 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8166 (all-object-suffixes): Remove .ob.
8167 (bppfx): Remove variable.
8168 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8169 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8170 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8171 [$(build-bounded) = yes] (libtype.ob): Likewise.
8172 * Makerules (elide-routines.ob): Remove variable.
8173 (do-tests-clean): Do not handle *-bp.out.
8174 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8175 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8176 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8177 (tests): Do not include $(tests-bp.out).
8178 (xtests): Do not include $(xtests-bp.out).
8179 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8180 [$(build-bounded) = yes] ($(addprefix
8181 $(objpfx),$(binaries-bounded))): Remove rule.
8182 ($(objpfx)%-bp.out): Remove rule.
8183 * config.make.in (build-bounded): Remove variable.
8184 * crypt/Makefile [$(build-bounded) = yes]
8185 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8186 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8187 append to variable.
8188 [$(build-bounded) = yes] (install-lib): Likewise.
8189 [$(build-bounded) = yes] (generated): Likewise.
8190 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8191 Remove rule.
8192 * intl/Makefile [$(build-bounded) = yes]
8193 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8194 * math/Makefile [$(build-bounded) = yes]
8195 ($(tests:%=$(objpfx)%-bp): Likewise.
8196 * misc/Makefile [$(build-bounded) = yes]
8197 ($(objpfx)tst-tsearch-bp): Likewise.
8198 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8199 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8200 Remove dependency.
8201 * string/Makefile (o-objects.ob): Remove variable.
8202 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8203 (CFLAGS-.ob): Remove variable.
8204 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8205 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8206 both definitions of variable.
8207 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8208 (ASFLAGS-.ob): Remove variable.
8209
e97ed6dd
JM
82102013-02-14 Joseph Myers <joseph@codesourcery.com>
8211
2bdd4ca6
JM
8212 [BZ #13550]
8213 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8214 Remove __BOUNDED_POINTERS__ from condition.
8215 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8216 * string/bits/string2.h [!__NO_STRING_INLINES &&
8217 !__BOUNDED_POINTERS__]: Likewise.
8218 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8219 Likewise.
8220 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8221 Remove conditional code.
8222 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8223 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8224 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8225 condition.
8226
e97ed6dd
JM
8227 [BZ #13550]
8228 * csu/libc-start.c: Do not include <bp-sym.h>.
8229 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8230 * elf/dl-open.c: Do not include <bp-sym.h>.
8231 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8232 * math/fegetenv.c: Do not include <bp-sym.h>.
8233 (fegetenv): Do not use BP_SYM in versioned symbols.
8234 * nptl/sysdeps/pthread/bits/libc-lockP.h
8235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8236 <bp-sym.h>.
8237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8238 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8240 (__pthread_mutex_destroy): Likewise.
8241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8242 (__pthread_mutex_lock): Likewise.
8243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8244 (__pthread_mutex_trylock): Likewise.
8245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8246 (__pthread_mutex_unlock): Likewise.
8247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8248 (__pthread_mutexattr_init): Likewise.
8249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8250 (__pthread_mutexattr_destroy): Likewise.
8251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8252 (__pthread_mutexattr_settype): Likewise.
8253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8254 (__pthread_rwlock_init): Likewise.
8255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8256 (__pthread_rwlock_destroy): Likewise.
8257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8258 (__pthread_rwlock_rdlock): Likewise.
8259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8260 (__pthread_rwlock_tryrdlock): Likewise.
8261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8262 (__pthread_rwlock_wrlock): Likewise.
8263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8264 (__pthread_rwlock_trywrlock): Likewise.
8265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8266 (__pthread_rwlock_unlock): Likewise.
8267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8268 (__pthread_key_create): Likewise.
8269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8270 (__pthread_setspecific): Likewise.
8271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8272 (__pthread_getspecific): Likewise.
8273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8274 Likewise.
8275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8276 (_pthread_cleanup_push_defer): Likewise.
8277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8278 (_pthread_cleanup_pop_restore): Likewise.
8279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8280 (pthread_setcancelstate): Likewise.
8281 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8282 <bp-sym.h>.
8283 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8284 (memchr): Do not use BP_SYM in weak_alias.
8285 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8286 (fegetenv): Do not use BP_SYM in versioned symbols.
8287 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8288 (fesetenv): Do not use BP_SYM in versioned symbols.
8289 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8290 (feupdateenv): Do not use BP_SYM in versioned symbols.
8291 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8292 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8293 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8294 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8295 (open64): Do not use BP_SYM in weak_alias.
8296 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8297 (fegetenv): Do not use BP_SYM in versioned symbols.
8298 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8299 (fesetenv): Do not use BP_SYM in versioned symbols.
8300 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8301 (feupdateenv): Do not use BP_SYM in versioned symbols.
8302 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8303 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8304 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8305 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8306 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8307 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8308 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8309 <bp-sym.h>.
8310 (__libc_start_main): Do not use BP_SYM.
8311
d6752ccd
SP
83122013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8313
cb57ce60
SP
8314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8315 redundant return line.
8316 (norm): Likewise.
8317 (denorm): Likewise.
8318 (dbl_mp): Likewise.
8319 (sub_magnitudes): Likewise.
8320 (__add): Likewise.
8321 (__sub): Likewise.
8322 (__mul): Likewise.
8323 (__inv): Likewise.
8324 (__dvd): Likewise.
8325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8326 (norm): Likewise.
8327 (denorm): Likewise.
8328 (dbl_mp): Likewise.
8329 (sub_magnitudes): Likewise.
8330 (__add): Likewise.
8331 (__sub): Likewise.
8332 (__mul): Likewise.
8333 (__inv): Likewise.
8334 (__dvd): Likewise.
8335
f414520d
SP
8336 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8337 instead of __mul.
8338 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8339 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8340 (cc32): Likewise.
8341
d6752ccd
SP
8342 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8343 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8345 of __mul for squares.
8346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8347 function
8348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8349 Likewise.
8350 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8351 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8352
70d9946a
JM
83532013-02-13 Joseph Myers <joseph@codesourcery.com>
8354
8355 [BZ #13550]
8356 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8357 code.
8358 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8359 prototype or function definition. Rename ubp_* variables and
8360 parameters. Remove argv definitions conditional on
8361 [__BOUNDED_POINTERS__].
8362 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8363 * elf/dl-runtime.c (_dl_fixup): Likewise.
8364 * include/set-hooks.h (RUN_HOOK): Likewise.
8365 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8366 definition.
8367 * string/strcpy.c (strcpy): Do not use __unbounded.
8368 * sysdeps/generic/frame.h (struct layout): Likewise.
8369 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8370 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8371 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8372 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8373 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8374 (__backtrace): Likewise.
8375 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8376 use __ptrvalue.
8377 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8378 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8379 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8380 Likewise.
8381 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8382 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8383 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8384 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8385 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8386 Do not use __unbounded.
8387 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8388 Rename __unboundedrlimits parameter to rlimits in prototype.
8389 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8390 Do not use __unbounded.
8391 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8392 not use __ptrvalue.
8393 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8394 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8395 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8396 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8397 __ptrvalue or __unbounded.
8398 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8399 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8400 use __unbounded.
8401 (__new_msgctl): Do not use __ptrvalue.
8402 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8403 __unbounded.
8404 (__libc_msgrcv): Do not use __ptrvalue.
8405 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8406 startup_info): Do not use __unbounded.
8407 (__libc_start_main): Likewise. Rename ubp_* variables and
8408 parameters. Remove argv definitions conditional on
8409 [__BOUNDED_POINTERS__].
8410 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8411 __ptrvalue.
8412 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8413 use __unbounded.
8414 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8415 or __ptrvalue.
8416 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8417 use __unbounded.
8418 (__new_shmctl): Do not use __ptrvalue.
8419 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8420 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8421 Likewise.
8422 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8423 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8424 (__libc_sigaction): Likewise.
8425 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8426 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8427 Likewise.
8428 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8429
cc7834d6
OB
84302013-02-13 Ondřej Bílka <neleai@seznam.cz>
8431
ffb1ec7b 8432 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8433
8434 * string/mempcpy.c: Implement by calling memcpy.
8435
bdf02814
SP
84362013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8437
c2af38aa
SP
8438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8439
4e92d59e
SP
8440 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8441 evaluation.
8442
909279a5
SP
8443 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8444 values in the mantissa.
8445
bdf02814
SP
8446 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8447 minimize writes to Z.
8448 (sub_magnitudes): Simplify code a bit.
8449
cd525923
RM
84502013-02-12 Roland McGrath <roland@hack.frob.com>
8451
8452 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8453 from the message. The linker prefixes all warnings with that already.
8454
7e2f0d2d
AS
84552013-02-12 Andreas Schwab <schwab@suse.de>
8456
a445af0b
AS
8457 [BZ #15078]
8458 * posix/regexec.c (extend_buffers): Add parameter min_len.
8459 (check_matching): Pass minimum needed length.
8460 (clean_state_log_if_needed): Likewise.
8461 (get_subexp): Likewise.
8462 * posix/Makefile (tests): Add bug-regex34.
8463 (bug-regex34-ENV): Define.
8464 * posix/bug-regex34.c: New file.
8465
7e2f0d2d
AS
8466 [BZ #11561]
8467 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8468 elements compare against the byte sequence of it, not its name.
8469 * posix/Makefile (tests): Add bug-regex35.
8470 (bug-regex35-ENV): Define.
8471 * posix/bug-regex35.c: New file.
8472
a175b684
TV
84732013-02-11 Tom de Vries <tom@codesourcery.com>
8474
8475 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8476 comment.
8477 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8478 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8479 (CHECK_EOL): Add undef.
8480
310998fe 84812013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8482
8483 * bits/stdlib-bsearch.h: New file.
8484 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8485 * stdlib/stdlib.h: Likewise.
41eda41d 8486
8ded91fb
RM
84872013-02-11 Roland McGrath <roland@hack.frob.com>
8488
8489 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8490 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8491 declaration.
8492 * manual/search.texi (Array Search Function): Add missing const in
8493 lfind prototype.
8494 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8495 declaration to use rlim_t.
8496 (Basic Scheduling Functions): Remove erroneous const from
8497 sched_getparam prototype. Remove erroneous * from
8498 sched_get_priority_max and sched_get_priority_min prototypes.
8499 (Resource Usage): Fix summary @comment on vtimes to refer to
8500 sys/vtimes.h rather than vtimes.h.
8501 Add missing *s in vtimes prototype.
8502 (Limits on Resources): Fix ulimit prototype to return long int.
8503 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8504 prototypes to use long int rather than double.
8505 (BSD Random): Fix initstate and setstate to use char *, not void *.
8506 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8507 prototype to make second argument 'struct aiocb64 *const[]'.
8508 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8509 (Status of AIO Operations): Remove erroneous const in aio_return and
8510 aio_return64 prototypes.
8511 (Synchronizing I/O): Fix sync prototype to return void.
8512 * manual/startup.texi (Suboptions): Remove an erroneous const in
8513 getsubopt prototype.
8514 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8515 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8516 use size_t rather than int.
8517 (Scanning All Users): Likewise for getpwent_r.
8518 (Setting Groups): Add missing const to setgroups prototype.
8519 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8520 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8521 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8522 'const void *' rather than 'const char *'.
8523 (Host Address Functions): Likewise for inet_ntop.
8524 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8525 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8526 ssize_t for return value.
8527 (Sending Data): Likewise for send, sendto, sendmsg.
8528 (Socket Option Functions): Add a missing const in setsockopt prototype.
8529 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8530 use wchar_t for the argument.
8531 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8532 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8533 take no arguments.
8534 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8535 double/float/long double for second argument.
8536 Fix return types of significand, significandf, significandl.
8537 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8538 argument in fchmod prototype.
8539 (File Owner): Use uid_t and gid_t in fchown prototype.
8540 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8541 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8542 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8543 use 'const struct dirent **' as argument types to CMP function pointer
8544 argument.
8545 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8546 (File Times): Fix summary magic @comment for struct utimbuf and utime
8547 to refer to utime.h, not time.h.
8548 * manual/string.texi (Argz Functions): Add missing const in
8549 argz_extract and argz_next prototypes.
8550 (Finding Tokens in a String): Likewise for basename.
8551 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8552 (Copying and Concatenation): Fix typo in wmemmove prototype.
8553 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8554 (Signal Stack): Remove erroneous const in sigstack prototype.
8555 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8556 prototype.
8557 (Simple Calendar Time): Likewise for stime.
8558 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8559 prototype.
8560 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8561 say sys/sysctl.h instead.
8562 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8563 and vsyslog prototypes.
8564
fe77fe6d
TV
85652013-02-11 Tom de Vries <tom@codesourcery.com>
8566
8567 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8568 Remove.
8569
3a09b620
RM
85702013-02-11 Roland McGrath <roland@hack.frob.com>
8571
8572 * misc/sys/mman.h: Fix typo in mremap comment.
8573
550a0b89
RM
85742013-02-08 Roland McGrath <roland@hack.frob.com>
8575
8576 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8577 the '\0' terminator.
8578
a2da1673
JM
85792013-02-08 Joseph Myers <joseph@codesourcery.com>
8580
8581 [BZ #13550]
8582 * debug/segfault.c: Don't include <bp-checks.h>.
8583 * sysdeps/generic/bp-checks.h: Remove file.
8584 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8585 (__GETDENTS): Don't use CHECK_N.
8586 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8587 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8588 (__getgroups): Don't use CHECK_N.
8589 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8590 (setgroups): Don't use CHECK_N.
8591 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8592 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8593 (__libc_msgrcv): Don't use CHECK_N.
8594 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8595 (__libc_msgsnd): Don't use CHECK_N.
8596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8597 <bp-checks.h>.
8598 (__libc_pread): Don't use CHECK_N.
8599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8600 include <bp-checks.h>.
8601 (__libc_pread64): Don't use CHECK_N.
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8603 include <bp-checks.h>.
8604 (__libc_pwrite): Don't use CHECK_N.
8605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8606 include <bp-checks.h>.
8607 (__libc_pwrite64): Don't use CHECK_N.
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8609 <bp-checks.h>.
8610 (__libc_pread): Don't use CHECK_N.
8611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8612 include <bp-checks.h>.
8613 (__libc_pread64): Don't use CHECK_N.
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8615 include <bp-checks.h>.
8616 (__libc_pwrite): Don't use CHECK_N.
8617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8618 include <bp-checks.h>.
8619 (__libc_pwrite64): Don't use CHECK_N.
8620 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8621 (do_pread): Don't use CHECK_N.
8622 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8623 (do_pread64): Don't use CHECK_N.
8624 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8625 (do_pwrite): Don't use CHECK_N.
8626 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8627 (do_pwrite64): Don't use CHECK_N.
8628 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8629 (__libc_readv): Don't use CHECK_N.
8630 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8631 (semop): Don't use CHECK_N.
8632 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8633 <bp-checks.h>.
8634 (semtimedop): Don't use CHECK_N.
8635 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8636 (__libc_pread): Don't use CHECK_N.
8637 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8638 <bp-checks.h>.
8639 (__libc_pread64): Don't use CHECK_N.
8640 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8641 <bp-checks.h>.
8642 (__libc_pwrite): Don't use CHECK_N.
8643 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8644 <bp-checks.h>.
8645 (__libc_pwrite64): Don't use CHECK_N.
8646 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8647 <bp-checks.h>.
8648 (__libc_msgrcv): Don't use CHECK_N.
8649 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8650 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8651 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8652 (__libc_writev): Don't use CHECK_N.
8653
b84660a8
RM
86542013-02-08 Roland McGrath <roland@hack.frob.com>
8655
7f3e75f8
RM
8656 * string/strcpy.c: Removed unused variable.
8657
b84660a8
RM
8658 * Makeconfig (+sysdep-includes): Define with := rather than =.
8659 Use an existing include/ subdir of each sysdeps dir before it.
8660
471514d3
CD
86612013-02-08 Carlos O'Donell <carlos@redhat.com>
8662
8663 * nscd/connection.c (register_traced_file): Comment function.
8664 [HAVE_INOTIFY] (union __inev): Define.
8665 [HAVE_INOTIFY] (inotify_check_files): New function.
8666 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8667 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8668 clear_db_cache.
8669 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8670
b2d3c3be
CD
86712013-02-08 Carlos O'Donell <carlos@redhat.com>
8672
8673 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8674 loaded if not already and that a failure is permanent.
8675
b39949d2
CD
86762013-02-08 Carlos O'Donell <carlos@redhat.com>
8677
ddacd1db 8678 [BZ #15006]
b39949d2
CD
8679 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8680 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8681
b2c9eff4
JM
86822013-02-08 Joseph Myers <joseph@codesourcery.com>
8683
f3aae3f3
JM
8684 [BZ #13550]
8685 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8686 (CHECK_1_NULL_OK): Likewise.
8687 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8688 (__fxstat): Do not use CHECK_1.
8689 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8690 <bp-checks.h>.
8691 (___fxstat64): Do not use CHECK_1.
8692 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8693 <bp-checks.h>.
8694 (__fxstatat): Do not use CHECK_1.
8695 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8696 <bp-checks.h>.
8697 (__fxstatat64): Do not use CHECK_1.
8698 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8699 <bp-checks.h>.
8700 (__fxstat): Do not use CHECK_1.
8701 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8702 <bp-checks.h>.
8703 (__fxstatat): Do not use CHECK_1.
8704 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8705 <bp-checks.h>.
8706 (__getresgid): Do not use CHECK_1.
8707 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8708 <bp-checks.h>.
8709 (__getresuid): Do not use CHECK_1.
8710 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8711 <bp-checks.h>.
8712 (__lxstat): Do not use CHECK_1.
8713 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8714 <bp-checks.h>.
8715 (__old_msgctl): Do not use CHECK_1.
8716 (__new_msgctl): Likewise.
8717 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8718 <bp-checks.h>.
8719 (__new_setrlimit): Do not use CHECK_1.
8720 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8721 <bp-checks.h>.
8722 (__old_shmctl): Do not use CHECK_1.
8723 (__new_shmctl): Likewise.
8724 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8725 <bp-checks.h>.
8726 (__xstat): Do not use CHECK_1.
8727 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8728 (__lxstat): Do not use CHECK_1.
8729 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8730 <bp-checks.h>.
8731 (___lxstat64): Do not use CHECK_1.
8732 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8733 (__old_msgctl): Do not use CHECK_1.
8734 (__new_msgctl): Likewise.
8735 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8736 <bp-checks.h>.
8737 (__gettimeofday): Do not use CHECK_1.
8738 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8739 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8740 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8741 <bp-checks.h>.
8742 (__gettimeofday): Do not use CHECK_1.
8743 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8744 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8745 (__new_shmctl): Do not use CHECK_1.
8746 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8747 <bp-checks.h>.
8748 (do_sigtimedwait): Do not use CHECK_1.
8749 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8750 <bp-checks.h>.
8751 (do_sigwaitinfo): Do not use CHECK_1.
8752 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8753 <bp-checks.h>.
8754 (msgctl): Do not use CHECK_1.
8755 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8756 <bp-checks.h>.
8757 (shmctl): Do not use CHECK_1.
8758 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8759 (ustat): Do not use CHECK_1.
8760 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8761 <bp-checks.h>.
8762 (__fxstat): Do not use CHECK_1.
8763 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8764 <bp-checks.h>.
8765 (__fxstatat): Do not use CHECK_1.
8766 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8767 <bp-checks.h>.
8768 (__lxstat): Do not use CHECK_1.
8769 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8770 <bp-checks.h>.
8771 (__xstat): Do not use CHECK_1.
8772 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8773 (__xstat): Do not use CHECK_1.
8774 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8775 (___xstat64): Do not use CHECK_1.
8776
b2c9eff4
JM
8777 [BZ #13550]
8778 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8779 definitions.
8780 (CHECK_BOUNDS_HIGH): Likewise.
8781 * string/strcpy.c: Do not include <bp-checks.h>.
8782 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8783
f1d70dad
RM
87842013-02-07 Roland McGrath <roland@hack.frob.com>
8785
8786 * nscd/nscd-client.h (__nscd_drop_map_ref):
8787 Add __attribute__ ((unused)).
8788 * nis/nss-nisplus.h (niserr2nss): Likewise.
8789
8790 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8791 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8792
8793 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8794 Remove inline keyword.
8795 * include/rounding-mode.h (round_away): Likewise.
8796 * libio/wfileops.c (adjust_wide_data): Likewise.
8797 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8798 (__m128i_strloadu_tolower): Likewise.
8799 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8800 (__m128i_strloadu_tolower): Likewise.
8801 * time/mktime.c (ydhms_diff): Likewise.
8802 * locale/elem-hash.h (elem_hash): Likewise.
8803 * locale/setlocale.c (setdata): Likewise.
8804 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8805 (re_string_wchar_at): Likewise.
8806 (bitset_not, bitset_merge, bitset_mask): Likewise.
8807 [!(__GNUC__ > 3)] (inline): Remove macro.
8808 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8809 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8810 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8811 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8812 * string/memcmp.c (memcmp_bytes): Likewise.
8813 * locale/programs/locarchive.c (compute_hashval): Likewise.
8814 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8815 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8816 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8817 * nss/getent.c (print_rpc, print_protocols): Likewise.
8818 (print_passwd, print_group, print_aliases): Likewise.
8819 * nis/nss-nisplus.h (niserr2nss): Likewise.
8820 * nscd/connections.c (restart_p): Likewise.
8821 Change return type to bool.
8822
eab55bfb
RM
88232013-02-05 Roland McGrath <roland@hack.frob.com>
8824
7bd642f5
RM
8825 * Makeconfig (all-Depend-files): Add existing
8826 $(sorted-subdirs:=/Depend) files.
8827 (all-subdirs): Remove nss.
8828 * sysdeps/unix/inet/Subdirs: Add it here instead.
8829 * hesiod/Depend: New file.
8830
573c29b2
RM
8831 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8832 instead of calling alloca.
8833
b2e25af0
RM
8834 * io/lseek.c (__lseek): Rename to __libc_lseek.
8835 Define __lseek as an alias.
8836
eab55bfb
RM
8837 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8838
9a0d1941
CD
88392013-02-04 Carlos O'Donell <carlos@redhat.com>
8840
8841 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8842 else clause and remove check for non-standard endianness.
8843
b83bbec4
DM
88442013-02-04 David S. Miller <davem@davemloft.net>
8845
8846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8847
6277fdab
JM
88482013-02-04 Joseph Myers <joseph@codesourcery.com>
8849
8850 [BZ #13550]
8851 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8852 (__ubp_memchr): Remove prototype.
8853 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8854 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8855 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8856 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8857 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8858 Remove alias.
8859 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8860 (__ubp_memchr): Likewise.
8861 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8862 (__ubp_memchr): Likewise.
8863 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8864 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8865 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8866 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8867 CHECK_STRING.
8868 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8869 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8870 (__getcwd): Do not use CHECK_STRING.
8871 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8872 <bp-checks.h>.
8873 (__real_chown): Do not use CHECK_STRING.
8874 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8875 <bp-checks.h>.
8876 (fchownat): Do not use CHECK_STRING.
8877 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8878 CHECK_STRING.
8879 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8880 <bp-checks.h>.
8881 (__lchown): Do not use CHECK_STRING.
8882 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8883 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8884 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8885 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8887 include <bp-checks.h>.
8888 (truncate64): Do not use CHECK_STRING.
8889 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8890 <bp-checks.h>.
8891 (__real_chown): Do not use CHECK_STRING.
8892 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8893 <bp-checks.h>.
8894 (__lchown): Do not use CHECK_STRING.
8895 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8896 <bp-checks.h>.
8897 (__chown): Do not use CHECK_STRING.
8898 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8899 <bp-checks.h>.
8900 (truncate64): Do not use CHECK_STRING.
8901 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8902 Likewise.
8903 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8904 (__xmknod): Do not use CHECK_STRING.
8905 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8906 <bp-checks.h>.
8907 (__xmknodat): Do not use CHECK_STRING.
8908 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8909 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8910
903ae060
AS
89112013-02-04 Andreas Schwab <schwab@suse.de>
8912
8913 [BZ #14142]
8914 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8915 * include/netdb.h: Likewise for h_errno.
8916 * elf/tst-stackguard1.c: Include <tls.h>.
8917
542f9466
JK
89182013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8919
8920 * elf/link.h (struct link_map): Extend the l_addr comment.
8921 * include/link.h (struct link_map): Likewise.
8922
e782a927
JM
89232013-02-01 Joseph Myers <joseph@codesourcery.com>
8924
8925 [BZ #13550]
8926 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8927 (BOUNDED_1): Remove macro.
8928 * debug/backtrace.c: Don't include <bp-checks.h>.
8929 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8930 (__backtrace): Likewise.
8931 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8932 <bp-checks.h>.
8933 (__backtrace): Don't use BOUNDED_1.
8934 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8935 <bp-checks.h>.
8936 (__backtrace): Don't use BOUNDED_1.
8937 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8938 (__backtrace): Don't use BOUNDED_1.
8939 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8940 (shmat): Don't use BOUNDED_N.
8941
8cf28c5e
JM
89422013-01-31 Joseph Myers <joseph@codesourcery.com>
8943
3a7ac8a0
JM
8944 [BZ #13550]
8945 * sysdeps/generic/bp-start.h: Remove file.
8946 * csu/libc-start.c: Don't include <bp-start.h>.
8947 (LIBC_START_MAIN): Set up __environ directly instead of using
8948 INIT_ARGV_and_ENVIRON.
8949 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8950 <bp-start.h>.
8951
f3499f95
JM
8952 [BZ #13550]
8953 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8954 definitions.
8955 (CHECK_FCNTL): Likewise.
8956 (CHECK_N_PAGES): Likewise.
8957
32a45bea
JM
8958 [BZ #13550]
8959 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8960 definitions.
8961 (CHECK_SIGSET_NULL_OK): Likewise.
8962 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8963 <bp-checks.h>.
8964 (sigpending): Don't use CHECK_SIGSET.
8965 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8966 <bp-checks.h>.
8967 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8968 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8969 <bp-checks.h>.
8970 (do_sigsuspend): Don't use CHECK_SIGSET.
8971 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8972 use CHECK_SIGSET.
8973 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8974 (do_sigwait): Don't use CHECK_SIGSET.
8975 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8976 use CHECK_SIGSET.
8977 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8978 include <bp-checks.h>.
8979 (sigpending): Don't use CHECK_SIGSET.
8980 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8981 include <bp-checks.h>.
8982 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8983 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8984 <bp-checks.h>.
8985 (sigpending): Don't use CHECK_SIGSET.
8986 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8987 <bp-checks.h>.
8988 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8989
2e8a5c8c
JM
8990 [BZ #13550]
8991 * sysdeps/generic/bp-semctl.h: Remove file.
8992 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8993 <bp-checks.h> and <bp-semctl.h>.
8994 (__old_semctl): Don't use CHECK_SEMCTL.
8995 (__new_semctl): Likewise.
8996 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8997 and <bp-semctl.h>.
8998 (__old_semctl): Don't use CHECK_SEMCTL.
8999 (__new_semctl): Likewise.
9000 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9001 <bp-checks.h> and <bp-semctl.h>.
9002 (__old_semctl): Don't use CHECK_SEMCTL.
9003 (__new_semctl): Likewise.
9004 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9005 <bp-checks.h> and <bp-semctl.h>.
9006 (semctl): Don't use CHECK_SEMCTL.
9007
c2d54929
JM
9008 [BZ #13550]
9009 * Makerules (elide-bp-thunks): Remove variable.
9010 (elide-routines.oS): Don't use $(elide-bp-thunks).
9011 (elide-routines.os): Likewise.
9012 (elide-routines.o): Likewise.
9013 (elide-routines.op): Likewise.
9014 (elide-routines.og): Likewise.
9015 (objects): Don't use $(bp-thunks).
9016 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9017 include.
9018 (common-generated): Do not add s-proto-bp.d.
9019 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9020 (int): Likewise.
9021 (typ): Likewise.
9022 Do not generate makefile rules for bounded-pointer thunks.
9023 * sysdeps/generic/bp-thunks.h: Remove file.
9024 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9025 * sysdeps/unix/s-proto-bp.S: Likewise.
9026
8cf28c5e
JM
9027 [BZ #15062]
9028 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9029 parts of result separately when argument is not close to line from
9030 -i to i and one part of argument is small.
9031 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9032 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9033 * math/libm-test.inc (cacos_test): Add more tests.
9034 (casin_test): Likewise.
9035 (casinh_test): Likewise.
9036 * sysdeps/i386/fpu/libm-test-ulps: Update.
9037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9038
c4e33b8d
DM
90392013-01-31 David S. Miller <davem@davemloft.net>
9040
9041 * po/de.po: Update from translation team.
9042
3b60b421
MK
90432013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9044
9045 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9046
bb931195
TS
90472013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9048
b5a5da23
TS
9049 * configure.in (_AC_PROG_CC_C89): New definition.
9050 * configure: Regenerate.
9051
bb931195
TS
9052 * configure.in (AC_PROG_CPP): New definition.
9053 * configure: Regenerate.
9054
8c53a12c
JM
90552013-01-23 Joseph Myers <joseph@codesourcery.com>
9056
9057 * debug/tst-backtrace.h: New file.
9058 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9059 (ret): Remove variable.
9060 (x): Likewise.
9061 (FAIL): Remove macro.
9062 (NO_INLINE): Likewise.
9063 (fn1): Use match function instead of strstr.
9064 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9065 (ret): Remove variable.
9066 (x): Likewise.
9067 (FAIL): Remove macro.
9068 (NO_INLINE): Likewise.
9069 (fn): Use match function instead of strstr.
9070 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9071 (ret): Remove variable.
9072 (x): Likewise.
9073 (FAIL): Remove macro.
9074 (NO_INLINE): Likewise.
9075 (handle_signal): Use match function instead of strstr.
9076 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9077 (ret): Remove variable.
9078 (x): Likewise.
9079 (FAIL): Remove macro.
9080 (NO_INLINE): Likewise.
9081 (handle_signal): Use match function instead of strstr.
9082
4858fa2a
RM
90832013-01-23 Roland McGrath <roland@hack.frob.com>
9084
9085 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9086
bae8e7f5
DM
90872013-01-23 David S. Miller <davem@davemloft.net>
9088
9089 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9090 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9091 argument of CAS if possible.
9092 * sysdeps/sparc/sparc64/bits/atomic.h
9093 (__arch_compare_and_exchange_val_32_acq): Likewise.
9094 (__arch_compare_and_exchange_val_64_acq): Likewise.
9095
9cbbc4ae
PT
90962013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9097
9098 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9099 * sysdeps/posix/ulimit.c: ... this.
92a601b8 9100 Include <limits.h>.
67b3f58c 9101 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 9102
5655a0b5
AC
91032013-01-23 Adam Conrad <adconrad@0c3.net>
9104
9105 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9106 (LDFLAGS-tst-array5): Likewise.
9107
052aff95
JM
91082013-01-23 Joseph Myers <joseph@codesourcery.com>
9109
9110 [BZ #15036]
9111 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9112 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9113 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9114 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9115
7c1e01aa
DM
91162013-01-21 David S. Miller <davem@davemloft.net>
9117
9118 * sysdeps/sparc/backtrace.c: New file.
9119 * sysdeps/sparc/sparc32/backtrace.h: New file.
9120 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9121 * sysdeps/sparc/sparc64/backtrace.h: New file.
9122 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9123 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9124 -funwind-tables.
9125
ab087e0a
AS
91262013-01-21 Andreas Schwab <schwab@suse.de>
9127
9128 [BZ #15020]
9129 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9130 closed its stdout.
9131
ed689c2f
AS
91322013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9133
9134 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9135 "mpa2.h".
9136 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9137
31d470ac
JM
91382013-01-18 Joseph Myers <joseph@codesourcery.com>
9139 Mark Mitchell <mark@codesourcery.com>
9140 Tom de Vries <tom@codesourcery.com>
9141 Paul Pluzhnikov <ppluzhnikov@google.com>
9142
9143 * debug/tst-backtrace2.c: New file.
9144 * debug/tst-backtrace3.c: Likewise.
9145 * debug/tst-backtrace4.c: Likewise.
9146 * debug/tst-backtrace5.c: Likewise.
9147 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9148 (CFLAGS-tst-backtrace3.c): Likewise.
9149 (CFLAGS-tst-backtrace4.c): Likewise.
9150 (CFLAGS-tst-backtrace5.c): Likewise.
9151 (LDFLAGS-tst-backtrace2): Likewise.
9152 (LDFLAGS-tst-backtrace3): Likewise.
9153 (LDFLAGS-tst-backtrace4): Likewise.
9154 (LDFLAGS-tst-backtrace5): Likewise.
9155 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9156 tst-backtrace4 and tst-backtrace5.
9157
90567f30 91582013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
9159 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9160
9161 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9162 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9163 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9164 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9166 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9167 "+r" and remove output regs list as redundant. Add explicit inline
9168 asm to specify register of return val to work around compiler codegen
9169 bug. Remove (int) cast on return value. Add return type parameter to
9170 use in macro so that this macro does not truncate return value for
9171 64-bit values.
9172 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9173 pass to INTERNAL_VSYSCALL_NCS.
9174 (INLINE_VSYSCALL): Add 'long int' as return type to
9175 INTERNAL_VSYSCALL_NCS macro invocation.
9176 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9177 INTERNAL_VSYSCALL_NCS macro invocation.
9178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9179
d3b9ea61
SP
91802013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9181
0b57daeb
SP
9182 [BZ #14496]
9183 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9184 Fix application of SIMD FP exception mask.
9185
caa99d06
SP
9186 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9187 mp_no from a power of two.
9188 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9189 __mpexp_twomm1. Use __pow_mp.
9190
d3b9ea61
SP
9191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9192 multiplication.
9193
1dbaee3c
DM
91942013-01-17 David S. Miller <davem@davemloft.net>
9195
9196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9197
728d7b43
JM
91982013-01-17 Joseph Myers <joseph@codesourcery.com>
9199
9200 [BZ #15023]
9201 * include/complex.h: Condition contents on [!_COMPLEX_H].
9202 (__kernel_casinhf): New prototype.
9203 (__kernel_casinh): Likewise.
9204 (__kernel_casinhl): Likewise.
9205 * math/Makefile (libm_calls): Add k_casinh.
9206 * math/k_casinh.c: New file.
9207 * math/k_casinhf.c: Likewise.
9208 * math/k_casinhl.c: Likewise.
9209 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9210 finite nonzero arguments.
9211 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9212 finite nonzero arguments.
9213 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9214 finite nonzero arguments.
9215 * math/s_casinh.c: Do not include <float.h>.
9216 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9217 * math/s_casinhf.c: Do not include <float.h>.
9218 (__casinhf): Move code for finite nonzero arguments to
9219 k_casinhf.c.
9220 * math/s_casinhl.c: Do not include <float.h>.
9221 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9222 redefine.
9223 (__casinhl): Move code for finite nonzero arguments to
9224 k_casinhl.c.
9225 * math/libm-test.inc (cacos_test): Add more tests.
9226 * sysdeps/i386/fpu/libm-test-ulps: Update.
9227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9228
2a26ef3a
PT
92292013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9230
9231 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9232 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9233 [!HAVE_MREMAP]: Remove [defined linux] case.
9234 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9235
a897655d
SP
92362013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9237
9238 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9239
881ebe89 92402013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
9241
9242 * elf/elf.h (R_386_SIZE32): New relocation.
9243 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9244 R_386_SIZE32.
9245 (elf_machine_rela): Likewise.
9246 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9247 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9248
59981e9b
JM
92492013-01-17 Joseph Myers <joseph@codesourcery.com>
9250
9251 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9252 (FP_FAST_FMA): Do not define.
9253 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9254 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9255 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9256 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9257 !_SOFT_FLOAT]: Likewise.
9258 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9259 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9260 value.
9261 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9262 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9263 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9264 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9265 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9266 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9267 file.
9268
cfa8054f
AS
92692013-01-16 Andreas Schwab <schwab@suse.de>
9270
9271 [BZ #14327]
9272 * include/stdlib.h (__mktemp): Add declaration.
9273 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9274 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9275
dd930cc5
SP
92762013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9277
881ebe89
SP
9278 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9279 definitions.
9280 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9281 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9282 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9283 definitions here.
9284 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9285 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9286 definitions.
9287 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9288 and ONE.
9289 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9290 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9291 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9292 definitions.
9293 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9294 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9295 definitions.
9296 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9297
dd930cc5
SP
9298 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9299
c19a9f89
DM
93002013-01-15 David S. Miller <davem@davemloft.net>
9301
1aa61767
DM
9302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9303 trunc{,f} to libm-sysdep_routes.
9304 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9306 file.
9307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9309 file.
9310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9311 file.
9312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9314 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9315 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9316 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9317 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9318 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9319 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9320
c42d5e98
DM
9321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9322 nearbyint{,f} to libm-sysdep_routes.
9323 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9325 New file.
9326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9327 file.
9328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9329 New file.
9330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9331 file.
9332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9334 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9335 file.
9336 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9337 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9338 file.
9339 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9340 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9341 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9342
c19a9f89
DM
9343 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9344 libc_feholdexcept and libc_fesetenv.
9345
357679d2
MF
93462013-01-15 Mike Frysinger <vapier@gentoo.org>
9347
9348 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9349
65a82e3d
DM
93502013-01-14 David S. Miller <davem@davemloft.net>
9351
8b954ab9
DM
9352 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9353 (SPARC_ASM_VIS2_IFUNC): Likewise.
9354 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9356 use of 'siam' instruction.
9357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9358 Likewise.
9359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9360 Likewise.
9361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9362 Likewise.
9363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9368 file.
9369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9370 file.
9371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9372 file.
9373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9374 file.
9375 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9376 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9377 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9378 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9380 new VIS2 routines.
9381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9384 Likewise.
9385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9386 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9388 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9390 routines to libm-sysdep_routines.
9391 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9392
65a82e3d
DM
9393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9394 fdim/fdimf to libm-sysdep_routines.
9395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9396 file.
9397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9399 file.
9400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9403 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9404 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9405 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9406 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9407
e34ab705
SP
94082013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9409
2a91b573
SP
9410 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9411 to optimize copies.
9412
1066a534
SP
9413 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9416
e34ab705
SP
9417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9418 local variable MPTWO.
9419 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9420 Likewise.
9421
aba5e596
MF
94222013-01-13 Mike Frysinger <vapier@gentoo.org>
9423
9424 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9425 GLOB_NOESCAPE.
9426
e557e9e5
MF
94272013-01-13 Mike Frysinger <vapier@gentoo.org>
9428
9429 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9430
0428cec9
MF
94312013-01-13 Mike Frysinger <vapier@gentoo.org>
9432
9433 * manual/pattern.texi (glob_t): Document gl_flags.
9434 (glob64_t): Likewise.
9435
8794a964
DM
94362013-01-11 David S. Miller <davem@davemloft.net>
9437
66438c3f
RM
9438 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9439 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9440 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9441 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9442 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9443 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9444 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9445 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9446 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9447 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9448 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9449 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9450 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9451
4ae4244d
DM
9452 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9453 sparc V9 rather than using V8 code.
9454 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9455 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9456
8794a964
DM
9457 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9458 Move to...
9459 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9460 Here.
9461
6270516e
RM
94622013-01-11 Roland McGrath <roland@hack.frob.com>
9463
9464 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9465 not in the main loop.
9466 * configure: Regenerated.
9467
6a57d931
JM
94682013-01-11 Joseph Myers <joseph@codesourcery.com>
9469
9470 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9471 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9472 to just #else.
9473 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9474 [!__GLIBC_HAVE_LONG_LONG] case.
9475 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9476 condition to just #else.
9477 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9478 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9479 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9480 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9481 unconditional.
9482 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9483 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9484 #elif condition to just #else.
9485 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9486 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9487 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9488 #elif condition to just #else.
9489
0e8529e9
SE
94902013-01-11 Steve Ellcey <sellcey@mips.com>
9491
9492 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9493 (EF_MIPS_ARCH_64): Fix value.
9494 (EF_MIPS_ARCH_32R2): New.
9495 (EF_MIPS_ARCH_64R2): New.
9496
740b3dbe
L
94972013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9498
9499 * Makeconfig (+link-pie-before-libc): New.
9500 (+link-pie-after-libc): Likewise.
9501 (+link-pie-tests): Likewise.
9502 (+link-pie): Rewritten.
9503 (link-before-libc): Remove $(config-LDFLAGS).
9504 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9505 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9506 (config-LDFLAGS): Renamed to ...
9507 (rtld-LDFLAGS): This.
9508 (rtld-tests-LDFLAGS): New macro.
9509 (link-libc-rpath-link): Likewise.
9510 (link-libc-tests-rpath-link): Likewise.
9511 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9512 (link-libc): Prepand $(link-libc-rpath-link).
9513 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9514 (test-program-prefix): New macro.
9515 (test-via-rtld-prefix): Likewise.
9516 (test-program-cmd): Likewise.
9517 (host-test-program-cmd): Likewise.
9518 * Makefile ($(common-objpfx)testrun.sh): Replace
9519 $(run-program-prefix) with $(test-program-prefix).
9520 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9521 $(rtld-LDFLAGS).
9522 ($(common-objpfx)shlib.lds): Likewise.
9523 (build-module-helper): Likewise.
9524 ($(common-objpfx)format.lds): Likewise.
9525 * Rules (binaries-pie-tests): New.
9526 (binaries-pie-notests): Likewise.
9527 (binaries-pie): Rewritten.
9528 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9529 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9530 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9531 (make-test-out): Replace $(host-built-program-cmd) with
9532 $(host-test-program-cmd).
9533 * config.make.in (build-hardcoded-path-in-tests): New variable.
9534 * configure.in (--enable-hardcoded-path-in-tests): New configure
9535 option.
9536 (hardcoded_path_in_tests): New AC_SUBST.
9537 * configure: Regenerated.
9538 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9539 $(built-program-cmd) with $(test-program-cmd).
9540 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9541 (test_program_cmd): This.
9542 * elf/Makefile ($(objpfx)order.out): Run test with
9543 $(test-program-prefix).
9544 ($(objpfx)order2.out): Likewise.
9545 ($(objpfx)tst-initorder.out): Likewise.
9546 ($(objpfx)tst-initorder2.out): Likewise.
9547 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9548 $(test-program-cmd).
9549 ($(objpfx)tst-array1-static.out): Likewise.
9550 ($(objpfx)tst-array2.out): Likewise.
9551 ($(objpfx)tst-array3.out): Likewise.
9552 ($(objpfx)tst-array4.out): Likewise.
9553 ($(objpfx)tst-array5.out): Likewise.
9554 ($(objpfx)tst-array5-static.out): Likewise.
9555 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9556 $(test-program-cmd).
9557 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9558 $(run-program-prefix) with $(test-program-prefix).
9559 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9560 (test_program_prefix): This.
9561 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9562 $(run-program-prefix) with $(test-program-prefix).
9563 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9564 (test_program_prefix): This.
9565 * iconvdata/tst-tables.sh: Likewise.
9566 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9567 $(run-program-prefix) with $(test-program-prefix).
9568 ($(objpfx)tst-translit.out): Likewise.
9569 ($(objpfx)tst-gettext2.out): Likewise.
9570 ($(objpfx)tst-gettext4.out): Likewise.
9571 ($(objpfx)tst-gettext6.out): Likewise.
9572 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9573 (test_program_prefix): This.
9574 * intl/tst-gettext2.sh: Likewise.
9575 * intl/tst-gettext4.sh Likewise.
9576 * intl/tst-gettext6.sh: Likewise.
9577 * intl/tst-translit.sh: Likewise.
9578 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9579 with $(test-program-cmd).
9580 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9581 $(run-program-prefix) with $(test-program-prefix).
9582 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9583 (test_program_prefix): This.
9584 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9585 $(run-program-prefix) with $(test-program-prefix).
9586 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9587 (test_program_prefix): This.
9588 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9589 * posix/Makefile ($(objpfx)globtest.out): Replace
9590 $(run-via-rtld-prefix) and $(test-wrapper) with
9591 $(test-program-prefix) and $(test-via-rtld-prefix).
9592 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9593 $(test-program-prefix).
9594 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9595 $(host-test-program-cmd).
9596 (tst-spawn-ARGS): Likewise.
9597 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9598 $(test-program-prefix).
9599 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9600 (test_via_rtld_prefix): This.
9601 (test_wrapper): Renamed to ...
9602 (test_program_prefix): This.
9603 (run_program_prefix): Replaced by test_program_prefix.
9604 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9605 (test_program_prefix): This.
9606 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9607 with $(host-test-program-cmd).
9608 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9609 $(run-program-prefix) with $(test-program-prefix).
9610 ($(objpfx)tst-printf.out): Likewise.
9611 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9612 $(test-program-cmd).
9613 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9614 (test_program_prefix): This.
9615 * stdio-common/tst-unbputc.sh: Likewise.
9616 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9617 $(run-program-prefix) with $(test-program-prefix).
9618 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9619 (test_program_prefix): This.
9620 * string/Makefile ($(objpfx)tst-svc.out): Replace
9621 $(built-program-cmd) with $(test-program-cmd).
9622
c6fe55cf
AJ
96232013-01-11 Andreas Jaeger <aj@suse.de>
9624
9625 [BZ #15003]
9626 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9627 value. Sync with Linux 3.7.
9628
9e6919c8
DM
96292013-01-10 David S. Miller <davem@davemloft.net>
9630
9631 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9632 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9633 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9634
1c9f1a02
RM
96352013-01-10 Roland McGrath <roland@hack.frob.com>
9636
9637 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9638 never set.
9639 * configure: Regenerated.
9640
b9de2dde
DM
96412013-01-10 David S. Miller <davem@davemloft.net>
9642
9643 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9644 sparc V9 rather than using V8 code.
9645 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9646 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9647
e7f68ef4
RM
96482013-01-10 Roland McGrath <roland@hack.frob.com>
9649
9650 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9651 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9652 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9653 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9654 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9655 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9656 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9657 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9658 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9659 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9660 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9661 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9662 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9663 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9664 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9665 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9666 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9667 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9668 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9669 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9670 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9671 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9672 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9673 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9674 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9675 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9676 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9677
5a47cc9c
DM
96782013-01-10 David S. Miller <davem@davemloft.net>
9679
9680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9681
4cf8f209
L
96822013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9683
9684 * posix/Makefile (tests-static): New variable.
9685 (tests): Add $(tests-static).
9686 (tst-exec-static-ARGS): New variable.
9687 (tst-spawn-static-ARGS): Likewise.
9688 * posix/tst-exec-static.c: New file.
9689 * posix/tst-spawn-static.c: Likewise.
9690 * posix/tst-exec.c: Support run directly.
9691 * posix/tst-spawn.c: Likewise.
9692
fed0faa1
JM
96932013-01-10 Joseph Myers <joseph@codesourcery.com>
9694
828beb13
JM
9695 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9696 long.
9697 * math/bits/mathcalls.h (llrint): Likewise.
9698 (llround): Likewise.
9699 * stdlib/stdlib.h (struct drand48_data): Likewise.
9700 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9701 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9702 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9703 Likewise.
9704 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9705 Likewise.
9706 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9707 (elf_greg_t): Likewise.
9708 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9709 (__jmp_buf): Likewise.
9710 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9711 definitions.
9712 (llrint): Likewise, for all definitions.
9713 (llrintl): Likewise.
9714
fed0faa1
JM
9715 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9716 Remove [__GNUC__] condition.
9717 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9718 condition to just [__USE_ISOC99].
9719 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9720
1a20cb20
L
97212013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9722
9723 [BZ #14200]
9724 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9725 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9726 defined.
9727 (_POSIX_V6_ILP32_OFF32): Likewise.
9728 (_XBS5_ILP32_OFF32): Likewise.
9729 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9730 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9731
751b85f7
SP
97322013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9733
7490eb81
SP
9734 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9735
751b85f7
SP
9736 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9737 doubles __mpexp_twomm1. Adjust usage.
9738 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9739 Remove.
9740
988197f0
AS
97412013-01-10 Andreas Schwab <schwab@suse.de>
9742
9743 [BZ #14964]
9744 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9745 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9746
e83d7298
DM
97472013-01-09 David S. Miller <davem@davemloft.net>
9748
034ed64b 9749 [BZ #15003]
e83d7298
DM
9750 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9751 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9752 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9753 TCP_FASTOPEN): Define.
9754 (tcp_repair_opt): New structure.
9755 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9756 enum values.
9757 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9758 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9759 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9760 (tcp_cookie_transactions): New structure.
9761
d5e0b9bd
AB
97622013-01-09 Anton Blanchard <anton@samba.org>
9763
9764 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9765 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9766 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9767 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9768
0c07e3ea
JM
97692013-01-09 Joseph Myers <joseph@codesourcery.com>
9770
9771 * include/features.h (__USE_ANSI): Remove.
9772
232f7002
RM
97732013-01-09 Roland McGrath <roland@hack.frob.com>
9774
ad98e30c
RM
9775 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9776
232f7002
RM
9777 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9778
950c99ca
SP
97792013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9780
b5792741
SP
9781 * sysdeps/s390/fpu/libm-test-ulps: Update.
9782
47cf2278
SP
9783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9784
950c99ca
SP
9785 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9786 (__acr): Likewise.
9787 (__cpy): Likewise.
9788 (norm): Likewise.
9789 (denorm): Likewise.
9790 (__mp_dbl): Likewise.
9791 (__dbl_mp): Likewise.
9792 (add_magnitudes): Likewise.
9793 (sub_magnitudes): Likewise.
9794 (__add): Likewise.
9795 (__sub): Likewise.
9796 (__mul): Likewise.
9797 (__inv): Likewise.
9798 (__dvd): Likewise.
9799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9800 (__acr): Likewise.
9801 (__cpy): Likewise.
9802 (norm): Likewise.
9803 (denorm): Likewise.
9804 (__mp_dbl): Likewise.
9805 (__dbl_mp): Likewise.
9806 (add_magnitudes): Likewise.
9807 (sub_magnitudes): Likewise.
9808 (__add): Likewise.
9809 (__sub): Likewise.
9810 (__mul): Likewise.
9811 (__inv): Likewise.
9812 (__dvd): Likewise.
9813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9814 (__acr): Likewise.
9815 (__cpy): Likewise.
9816 (norm): Likewise.
9817 (denorm): Likewise.
9818 (__mp_dbl): Likewise.
9819 (__dbl_mp): Likewise.
9820 (add_magnitudes): Likewise.
9821 (sub_magnitudes): Likewise.
9822 (__add): Likewise.
9823 (__sub): Likewise.
9824 (__mul): Likewise.
9825 (__inv): Likewise.
9826 (__dvd): Likewise.
9827
eede9df9
JM
98282013-01-08 Joseph Myers <joseph@codesourcery.com>
9829
9830 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9831 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9832 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9833 2 && __USE_EXTERN_INLINES]: Likewise.
9834
c40ea3d9
AJ
98352013-01-08 Andreas Jaeger <aj@suse.de>
9836
9837 [BZ# 14985]
9838 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9839 Remove.
9840 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9841 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9842
2ccdea26
AB
98432013-01-07 Anton Blanchard <anton@samba.org>
9844
9845 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9846 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9847 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9848 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9849 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9850 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9851 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9852 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9854 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9855 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9856 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9857 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9858 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9859 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9860 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9861 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9862 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9863 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9864 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9865 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9866 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9867 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9868 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9869 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9870 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9871 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9872 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9873 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9874 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9875 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9877 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9878 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9879 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9880 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9881 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9882 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9883 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9884 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9885 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9886 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9887 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9888
a9708fed
JM
98892013-01-07 Joseph Myers <joseph@codesourcery.com>
9890
375607b9
JM
9891 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9892 (__MALLOC_PMT): Likewise.
9893 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9894 [__GNUC__], only on [_LIBC].
9895 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9896 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9897 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9898 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9899 forward declaration.
9900 (realloc_hook_ini): Likewise.
9901 (memalign_hook_ini): Likewise.
9902 (__libc_memalign): Do not use __MALLOC_PMT in variable
9903 declaration.
9904 (__libc_valloc): Likewise.
9905 (__libc_pvalloc): Likewise.
9906 (__libc_calloc): Likewise.
9907 (__posix_memalign): Likewise.
9908
a9708fed
JM
9909 [BZ #14996]
9910 * math/s_casinh.c: Include <float.h>.
9911 (__casinh): Do not do computation with squaring and square root
9912 for large arguments.
9913 * math/s_casinhf.c: Include <float.h>.
9914 (__casinhf): Do not do computation with squaring and square root
9915 for large arguments.
9916 * math/s_casinhl.c: Include <float.h>.
9917 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9918 (__casinhl): Do not do computation with squaring and square root
9919 for large arguments.
9920 * math/libm-test.inc (casin_test): Add more tests.
9921 (casinh_test): Likewise.
9922 * sysdeps/i386/fpu/libm-test-ulps: Update.
9923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9924
afec409a
L
99252013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9926
9927 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9928 (__x86_64_raw_data_cache_size): Likewise.
9929 (__x86_64_data_cache_size_half): Likewise.
9930 (__x86_64_raw_data_cache_size_half): Likewise.
9931 (__x86_64_shared_cache_size): Likewise.
9932 (__x86_64_raw_shared_cache_size): Likewise.
9933 (__x86_64_shared_cache_size_half): Likewise.
9934 (__x86_64_raw_shared_cache_size_half): Likewise.
9935 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9936 to ...
9937 (__x86_data_cache_size): This.
9938 (__x86_64_raw_data_cache_size): Renamed to ...
9939 (__x86_raw_data_cache_size): This.
9940 (__x86_64_data_cache_size_half): Renamed to ...
9941 (__x86_data_cache_size_half): This.
9942 (__x86_64_raw_data_cache_size_half): Renamed to ...
9943 (__x86_raw_data_cache_size_half): This.
9944 (__x86_64_shared_cache_size): Renamed to ...
9945 (__x86_shared_cache_size): This.
9946 (__x86_64_raw_shared_cache_size): Renamed to ...
9947 (__x86_raw_shared_cache_size): This.
9948 (__x86_64_shared_cache_size_half): Renamed to ...
9949 (__x86_shared_cache_size_half): This.
9950 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9951 (__x86_raw_shared_cache_size_half): This.
9952 * sysdeps/x86_64/memcpy.S: Updated.
9953 * sysdeps/x86_64/memset.S: Likewise.
9954 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9955 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9956 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9957
0b3986d0
DM
99582013-01-04 David S. Miller <davem@davemloft.net>
9959
9960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9961
e47686e9
AS
99622013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9963
d643bac1
AS
9964 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9965 1 to avoid redefinition warning.
9966 (__USE_GNU): Don't define.
9967 (init_signaling_nan): Protoize.
9968
e47686e9
AS
9969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9970
b18decba
SP
99712013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9972
fffb407f
SP
9973 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9975 (__cpymn): Likewise.
9976 (norm): Remove commented code.
9977 (denorm): Likewise.
9978 (__mp_dbl): Likewise.
9979 (__inv): Likewise.
9980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9981 (__cpymn): Likewise.
9982 (norm): Remove commented code.
9983 (denorm): Likewise.
9984 (__mp_dbl): Likewise.
9985 (__inv): Likewise.
9986
b18decba
SP
9987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9988 mp_no value for 1.0 and 2.0.
9989 (norm): Use RADIXI instead of radixi.d.
9990 (denorm): Likewise.
9991 (__mul): Use 0.0 instead of zero.d.
9992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9993 mp_no value for 1.0 and 2.0.
9994 (norm): Use RADIXI instead of radixi.d.
9995 (denorm): Likewise.
9996 (__mul): Use 0.0 instead of zero.d.
9997
cdc1c96f
JM
99982013-01-04 Joseph Myers <joseph@codesourcery.com>
9999
10000 [BZ #14994]
10001 * math/s_casinh.c (__casinh): Reduce finite argument to first
10002 quadrant then set signs of results at the end.
10003 * math/s_casinhf.c (__casinhf): Likewise.
10004 * math/s_casinhl.c (__casinhl): Likewise.
10005 * math/libm-test.inc (casin_test): Add more tests.
10006 (casinh_test): Likewise.
10007 * sysdeps/i386/fpu/libm-test-ulps: Update.
10008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10009
302913e1
SP
100102013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10011
6420d207
SP
10012 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10013
a9e48ab4
SP
10014 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10015
b7837264
SP
10016 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10017 declarations.
10018 (denorm): Likewise.
10019 (__mp_dbl): Likewise.
10020 (__inv): Likewise.
10021
f8af25d2
SP
10022 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10023 and adjust the header comment.
10024
302913e1
SP
10025 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10026 variable name from declaration.
10027
5d7dd1ca
L
100282013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10029
10030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10031 Initialize COMMON_CPUID_INDEX_7 element.
10032 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10033 (CPUID_RTM): Likewise.
10034 (HAS_RTM): Likewise.
10035 (COMMON_CPUID_INDEX_7): New enum.
10036
2f5f40f4
AS
100372013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10038
10039 [BZ #14981]
10040 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10041 size is zero, record memory as freed.
10042
4056f4a0
AJ
100432013-01-03 Andreas Jaeger <aj@suse.de>
10044
10045 * po/ia.po: Add new Interlingua translation.
10046
ab15736f 100472012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
10048
10049 * locale/programs/localedef.c: Fix description of '--posix' flag.
10050
568035b7
JM
100512013-01-02 Joseph Myers <joseph@codesourcery.com>
10052
e6898b8d
JM
10053 * NEWS: Update dates in second copyright notice.
10054 * README: Update copyright dates in example.
10055 * manual/libc.texinfo: Update copyright dates.
10056 * scripts/test-installation.pl: Update copyright date in --version
10057 output.
10058
0e2f9562
JM
10059 * hurd/ctty-input.c: Fix copyright notice formatting.
10060 * hurd/ctty-output.c: Likewise.
10061 * hurd/dtable.c: Likewise.
10062 * hurd/hurd-raise.c: Likewise.
10063 * hurd/hurdprio.c: Likewise.
10064 * hurd/msgportdemux.c: Likewise.
10065 * misc/sys/file.h: Likewise.
10066 * misc/sys/ioctl.h: Likewise.
10067 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10068 * sysdeps/mach/hurd/chdir.c: Likewise.
10069 * sysdeps/mach/hurd/fchdir.c: Likewise.
10070 * sysdeps/mach/hurd/rename.c: Likewise.
10071 * sysdeps/mach/hurd/rmdir.c: Likewise.
10072 * sysdeps/mach/hurd/seekdir.c: Likewise.
10073 * sysdeps/mach/hurd/setsid.c: Likewise.
10074 * sysdeps/posix/wait3.c: Likewise.
10075
568035b7
JM
10076 * All files with FSF copyright notices: Update copyright dates
10077 using scripts/update-copyrights.
10078 * intl/plural.c: Regenerated.
10079 * locale/programs/charmap-kw.h: Likewise.
10080 * locale/programs/locfile-kw.h: Likewise.
10081
da08f647
SP
100822013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10083
0f5477af
SP
10084 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10085 four values.
10086
44e0d4c2
SP
10087 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10088 calculation loop and add branch prediction.
10089
4d55b4e5
SP
10090 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10091 check access beyond bounds of m1np.
10092
da08f647
SP
10093 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10094 MPTWO.
10095 (__inv): Remove local variable MPTWO to use the global
10096 constant.
10097 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10098 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10099 variable MPTWO.
10100 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10101 MP3HALFS static const.
10102
8e051029
DM
101032013-01-01 David S. Miller <davem@davemloft.net>
10104
10105 * po/ca.po: Update from translation team.
10106
f4cf5f2d
JM
101072013-01-01 Joseph Myers <joseph@codesourcery.com>
10108
10109 * scripts/update-copyrights: New file.
10110 * Makeconfig: Reformat copyright notice.
10111 * ctype/ctype.h: Likewise.
10112 * debug/swprintf_chk.c: Likewise.
10113 * elf/dl-cache.c: Likewise.
10114 * elf/dl-debug.c: Likewise.
10115 * elf/dl-object.c: Likewise.
10116 * grp/initgroups.c: Likewise.
10117 * hurd/Makefile: Likewise.
10118 * hurd/hurd/signal.h: Likewise.
10119 * hurd/hurdfault.c: Likewise.
10120 * hurd/hurdioctl.c: Likewise.
10121 * hurd/hurdlookup.c: Likewise.
10122 * hurd/intr-msg.c: Likewise.
10123 * iconv/gconv_open.c: Likewise.
10124 * libio/swprintf.c: Likewise.
10125 * locale/lc-ctype.c: Likewise.
10126 * locale/nl_langinfo.c: Likewise.
10127 * mach/Machrules: Likewise.
10128 * mach/Makefile: Likewise.
10129 * malloc/obstack.h: Likewise.
10130 * manual/Makefile: Likewise.
10131 * manual/tsort.awk: Likewise.
10132 * misc/bits/stab.def: Likewise.
10133 * nis/nis_print_group_entry.c: Likewise.
10134 * nis/nis_table.c: Likewise.
10135 * nis/nss_compat/compat-pwd.c: Likewise.
10136 * nis/nss_compat/compat-spwd.c: Likewise.
10137 * po/Makefile: Likewise.
10138 * posix/fnmatch.c: Likewise.
10139 * posix/regex.h: Likewise.
10140 * resolv/Makefile: Likewise.
10141 * resolv/nss_dns/dns-network.c: Likewise.
10142 * resolv/res_hconf.c: Likewise.
10143 * scripts/gen-sorted.awk: Likewise.
10144 * soft-fp/soft-fp.h: Likewise.
10145 * stdio-common/printf.h: Likewise.
10146 * stdlib/monetary.h: Likewise.
10147 * stdlib/random.c: Likewise.
10148 * stdlib/random_r.c: Likewise.
10149 * sysdeps/generic/Makefile: Likewise.
10150 * sysdeps/gnu/Makefile: Likewise.
10151 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10152 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10153 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10154 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10155 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10157 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10158 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10159 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10160 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10161 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10162 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10163 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10164 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10165 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10166 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10167 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10168 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10169 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10170 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10171 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10172 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10173 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10174 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10175 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10176 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10177 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10178 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10179 * sysdeps/mach/hurd/errnos.awk: Likewise.
10180 * sysdeps/mach/hurd/fork.c: Likewise.
10181 * sysdeps/mach/hurd/getcwd.c: Likewise.
10182 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10183 * sysdeps/mach/hurd/mmap.c: Likewise.
10184 * sysdeps/mach/hurd/utimes.c: Likewise.
10185 * sysdeps/mach/hurd/xmknod.c: Likewise.
10186 * sysdeps/posix/profil.c: Likewise.
10187 * sysdeps/posix/readdir_r.c: Likewise.
10188 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10189 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10190 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10191 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10193 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10194 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10195 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10197 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10198 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10199 * sysdeps/pthread/lio_listio.c: Likewise.
10200 * sysdeps/sparc/dl-procinfo.h: Likewise.
10201 * sysdeps/unix/i386/sysdep.S: Likewise.
10202 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10203 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10204 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10205 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10207 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10208 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10209 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10210 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10211 * sysdeps/wordsize-32/divdi3.c: Likewise.
10212 * time/sys/time.h: Likewise.
10213 * wcsmbs/Makefile: Likewise.
10214
0549fbba
DM
102152013-01-01 David S. Miller <davem@davemloft.net>
10216
a141f1a7
DM
10217 * po/fr.po: Update from translation team.
10218
0549fbba
DM
10219 * catgets/gencat.c: Update copyright year.
10220 * csu/version.c: Likewise.
10221 * debug/catchsegv.sh: Likewise.
10222 * debug/pcprofiledump.c: Likewise.
10223 * debug/xtrace.sh: Likewise.
10224 * elf/ldconfig.c: Likewise.
10225 * elf/ldd.bash.in: Likewise.
10226 * elf/pldd.c: Likewise.
10227 * elf/sotruss.ksh: Likewise.
10228 * elf/sprof.c: Likewise.
10229 * iconv/iconv_prog.c: Likewise.
10230 * iconv/iconvconfig.c: Likewise.
10231 * locale/programs/locale.c: Likewise.
10232 * locale/programs/localedef.c: Likewise.
10233 * login/programs/pt_chown.c: Likewise.
10234 * malloc/memusage.sh: Likewise.
10235 * malloc/memusagestat.c: Likewise.
10236 * malloc/mtrace.pl: Likewise.
10237 * nscd/nscd.c: Likewise.
10238 * nss/getent.c: Likewise.
10239 * nss/makedb.c: Likewise.
10240 * posix/getconf.c: Likewise.
10241
18ea052c
SP
102422012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10243
10244 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10245 numbers.
10246
9c89fca6
MF
102472012-12-30 Mike Frysinger <vapier@gentoo.org>
10248
10249 * math/bits/mathcalls.h (modf): Use __nonnull.
10250
085ec079
SP
102512012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10252
10253 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10254 (split): Use macro CN instead of the bare value.
10255 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10256 could be used.
10257 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10258 instead of the bare value.
10259 (power1): Likewise.
10260
6d9f97e1
SP
102612012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10262
d63f73be
SP
10263 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10264 __ATAN_TWOM.
10265 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10266
6d9f97e1
SP
10267 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10268 their values.
10269 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10270 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10271 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10272 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10273
4c4febf5
AJ
102742012-12-28 Andreas Jaeger <aj@suse.de>
10275
af5843ef
AJ
10276 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10277 values are from Linux 3.7.
10278
4c4febf5
AJ
10279 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10280 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10281
99136f82
SP
102822012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10283
2f216c3c 10284 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10285 TRUE case.
10286
99136f82
SP
10287 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10288 (norm): Likewise.
10289 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10290 variables with preprocessor constants.
10291 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10292 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10293 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10294
7fffbdff
BH
102952012-12-27 Bruno Haible <bruno@clisp.org>
10296
10297 [BZ #14317]
10298 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10299 only if needed.
10300
b76eb5f0
SP
103012012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10302
31a7fe5c
SP
10303 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10304 and use variable directly.
10305 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10306
b76eb5f0
SP
10307 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10308 MPONE.
10309 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10310 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10311 variable MPONE.
10312 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10313 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10314 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10315 include directive. Remove local variable MPONE.
10316 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10317 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10318 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10319
2c8bfe7d
DM
103202012-12-25 David S. Miller <davem@davemloft.net>
10321
10322 * version.h (RELEASE): Set to "development".
10323 (VERSION): Set to "2.17.90".
10324 * NEWS: Add 2.18 section.
10325
147d03b0
DM
103262012-12-21 David S. Miller <davem@davemloft.net>
10327
10328 * po/hr.po: Update from translation team.
10329
a8ebb2b9
AK
103302012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10331
10332 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10333
95b4f1b6
SE
103342012-12-19 Steve Ellcey <sellcey@mips.com>
10335
b2d94007 10336 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10337
cedb2a90
MS
103382012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10339
10340 * manual/contrib.texi (Contributors): Spelling correction.
10341
bbf527d6
DM
103422012-12-15 David S. Miller <davem@davemloft.net>
10343
10344 * po/ru.po: Update from translation team.
10345
bc38c906
DM
103462012-12-13 David S. Miller <davem@davemloft.net>
10347
85429b1a
DM
10348 * NEWS: Mention IFUNC testsuite enhancements.
10349
d283e353
DM
10350 * po/pl.po: Update from translation team.
10351 * po/bg.po: Likewise.
10352
bc38c906
DM
10353 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10354 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10355
a181b0d7
DM
103562012-12-11 David S. Miller <davem@davemloft.net>
10357
4641d57e
DM
10358 * po/sv.po: Update from translation team.
10359
f7bc6495
DM
10360 * po/vi.po: Update from translation team.
10361
6fc9048f
DM
10362 * po/cs.po: Update from translation team.
10363
a181b0d7
DM
10364 * po/de.po: Update from translation team.
10365 * po/eo.po: Likewise.
10366 * po/nl.po: Likewise.
10367
f70bfe80
SP
103682012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10369
3c8b4190
SP
10370 [BZ #14246]
10371 * manual/argp.texi (Argp Helper Functions): Move node to follow
10372 Argp Parsing State.
10373
f70bfe80
SP
10374 [BZ #14872]
10375 * manual/conf.texi (Limits on File System Capacity): Mention if
10376 terminating null is included in the max size.
10377
188f0adf
AJ
103782012-12-10 Andreas Jaeger <aj@suse.de>
10379
10380 * po/cs.po: Update from translation team.
10381
56e7d3ad
SP
103822012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10383
10384 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10385 void pointer and cast to uintptr_t.
10386 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10387 path.
10388 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10389 * sysdeps/s390/s390-64/memset.S: Likewise.
10390
76f2d2ea 103912012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10392
10393 [BZ #14833]
10394 * menual/message.texi (Message Translation): Fix typos.
10395 (Helper programs for gettext): Likewise.
10396
67cbf9a2
AS
103972012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10398
10399 [BZ #14898]
10400 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10401 Change to -1.
10402
682d0e9a
DM
104032012-12-07 David S. Miller <davem@davemloft.net>
10404
10405 * po/libc.pot: Update.
10406
573cd484
RH
104072012-12-07 Richard Henderson <rth@redhat.com>
10408
7e9da188 10409 [BZ #10114]
573cd484
RH
10410 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10411 normal/normal case to before the switch.
10412 (_FP_DIV): Likewise.
10413
e933a943
MF
104142012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10415 Mike Frysinger <vapier@gentoo.org>
10416
10417 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10418 check for __NR_fadvise64_64.
10419
82123268
CM
104202012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10421
10422 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10423 0, not just to plain "0" as a statement.
10424 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10425 with cw.
10426
d9814526
JM
104272012-12-06 Joseph Myers <joseph@codesourcery.com>
10428
10429 * NEWS: Use sourceware.org in Bugzilla URL.
10430
7728c574
SP
104312012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10432
f16946dd
SP
10433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10434 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10435
5704bbcb
SP
10436 * stdio-common/tst-put-error.c (do_test): Add newline to the
10437 padded test to ensure flush.
10438
17aa0516
JL
104392012-12-05 Jeff Law <law@redhat.com>
10440
10441 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10442
363313b5
JM
104432012-12-05 Joseph Myers <joseph@codesourcery.com>
10444
effbd42a
JM
10445 * README: Don't refer to ports add-on as distributed separately.
10446 Mention AArch64 in list of systems supported in the ports add-on.
10447
87600365
JM
10448 * LICENSES: Add more non-FSF copyright and license notices.
10449
a0d7066a
JM
10450 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10451 ((unused)).
10452
66ca5a5b
JM
10453 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10454
363313b5
JM
10455 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10456 10000 as width of padded output.
10457
b37984ad
JM
104582012-12-04 Joseph Myers <joseph@codesourcery.com>
10459
9003570a
JM
10460 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10461
b37984ad
JM
10462 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10463 variable LX with __attribute__ ((unused)).
10464 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10465 Likewise.
10466 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10467 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10468 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10469 with __attribute__ ((unused)).
10470
c8df52ec
DM
104712012-12-04 David S. Miller <davem@abraco.davemloft.net>
10472
10473 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10474
b3b099af
JM
104752012-12-04 Joseph Myers <joseph@codesourcery.com>
10476
c33aa6e3
JM
10477 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10478 (CFLAGS-nldbl-acos.c): New variable.
10479 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10480 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10481 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10482 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10483 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10484 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10485 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10486 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10487 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10488 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10489 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10490 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10491 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10492 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10493 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10494 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10495 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10496 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10497 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10498 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10499 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10500 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10501 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10502 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10503 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10504 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10505 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10506 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10507 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10508 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10509 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10510 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10511 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10512 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10513 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10514 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10515 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10516 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10517 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10518 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10519 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10520 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10521 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10522 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10523 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10524 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10525 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10526 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10527 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10528 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10529 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10530 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10531 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10532 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10533 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10534 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10535 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10536 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10537 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10538 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10539 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10540 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10541 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10542 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10543 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10544 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10545 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10546 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10547 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10548 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10549 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10550 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10551 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10552 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10553 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10554 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10555 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10556 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10557 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10558 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10559 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10560 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10561 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10562 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10563 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10564 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10565 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10566 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10567 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10568 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10569 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10570 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10571 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10572 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10573 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10574 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10575 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10576
20f0018d
JM
10577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10578 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10579
b3b099af
JM
10580 [BZ #14914]
10581 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10582 whole low double instead of just low 47 bits when splitting values
10583 into two parts.
10584
029264d1
AM
105852012-12-03 Allan McRae <allan@archlinux.org>
10586
10587 * manual/stdio.texi (Predefined Printf Handlers): Remove
10588 @hsep and @vsep usage.
10589
c9d6789e
MF
105902012-12-03 Mike Frysinger <vapier@gentoo.org>
10591
10592 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10593 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10594
4b7634a5
JL
105952012-12-03 Jeff Law <law@redhat.com>
10596
10597 * time/sys/time.h (settimeofday): Do not mark TV argument
10598 as __nonnull.
10599
eb6cbd24
MF
106002012-12-01 Mike Frysinger <vapier@gentoo.org>
10601
10602 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10603 when currently writing and seek to current position when not.
10604 * libio/Makefile (tests): Remove bug-fclose1.
10605 * libio/bug-fclose1.c: Delete.
10606
f638872a
JM
106072012-12-01 Joseph Myers <joseph@codesourcery.com>
10608
10609 * manual/arith.texi (feenableexcept): Fix typo.
10610 (fedisableexcept): Likewise.
10611
48085d14
RM
106122012-11-30 Roland McGrath <roland@hack.frob.com>
10613
10614 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10615 second, differently-typed declaration, rather than a cast.
10616
1a538b9f
SP
106172012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10618
10619 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10620 * include/rpc/svc.h: ... here.
10621
d07f2ff1 106222012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10623
10624 [BZ #13013]
10625 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10626 depending n and resplen2 to catch cases where answer
10627 equals answerp2.
10628
c93ec1f0
CD
106292012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10630
10631 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10632 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10633
37db69de
MF
106342012-11-29 Mike Frysinger <vapier@gentoo.org>
10635
10636 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10637
e10c4e4f
RM
106382012-11-29 Roland McGrath <roland@hack.frob.com>
10639
10640 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10641
2af1b328
JL
106422012-11-28 Jeff Law <law@redhat.com>
10643
10644 [BZ #13761]
10645 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10646 dataset_temporary. Track alloca usage into alloca_used.
10647 If dataset is large allocate and release it via malloc/free.
10648
111db5b1
FW
106492012-06-04 Florian Weimer <fweimer@redhat.com>
10650
f06cc227 10651 [BZ #14197]
111db5b1
FW
10652 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10653
dd694abd
DM
106542012-11-28 David S. Miller <davem@davemloft.net>
10655
10656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10657
9984dd01
JM
106582012-11-28 Joseph Myers <joseph@codesourcery.com>
10659
10660 [BZ #14803]
10661 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10662 of pi/2 rounded to nearest to 64 bits.
10663 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10664 nearest to 64 bits.
10665 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10666 bits.
10667
14bc93a9
JL
106682012-11-28 Jeff Law <law@redhat.com>
10669 Martin Osvald <mosvald@redhat.com>
10670
10671 [BZ #14889]
10672 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10673 * sunrpc/svc.c: Include time.h.
10674 (__svc_accept_failed): New function.
10675 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10676 any reason other than EINTR, call __svc_accept_failed.
10677 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10678 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10679
e3c6aa3a
AS
106802012-11-28 Andreas Schwab <schwab@suse.de>
10681
10682 * scripts/abilist.awk: Also handle indirect functions in .opd
10683 section.
10684
1bead169
JM
106852012-11-28 Joseph Myers <joseph@codesourcery.com>
10686
10687 [BZ #13881]
10688 * sysdeps/x86/fpu/powl_helper.c: New file.
10689 * sysdeps/x86/fpu/Makefile: Likewise.
10690 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10691 (p3): New object.
10692 (__ieee754_powl): Use __powl_helper for finite arguments except
10693 integer exponents below 8.
10694 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10695 (p3): New object.
10696 (__ieee754_powl): Use __powl_helper for finite arguments except
10697 integer exponents below 8.
10698 * math/libm-test.inc (pow_test): Add more tests and enable some
10699 previously disabled tests.
10700 * sysdeps/i386/fpu/libm-test-ulps: Update.
10701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10702
0817d63d
SP
107032012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10704 Carlos O'Donell <carlos_odonell@mentor.com>
10705
10706 * nss/makedb.c (is_prime): Assert that input is odd and greater
10707 than 4. Note that fact in a comment too.
10708 (next_prime): Add 4 to input.
10709
de2fd463
SP
107102012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10711
10712 [BZ #11741]
10713 * libio/Makefile (tests): Add test case tst-fwrite-error.
10714 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10715 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10716 * libio/tst-fwrite-error.c: New test case.
10717
c515fb51
L
107182012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10719
10720 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10721 before casting to void *.
10722 * include/libc-internal.h (__pointer_type): New macro.
10723 (__integer_if_pointer_type_sub): Likewise.
10724 (__integer_if_pointer_type): Likewise.
10725 (cast_to_integer): Likewise.
10726 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10727 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10728 before casting to atomic64_t.
10729 (atomic_exchange_acq): Likewise.
10730 (__arch_exchange_and_add_body): Likewise.
10731 (__arch_add_body): Likewise.
10732 (atomic_add_negative): Likewise.
10733 (atomic_add_zero): Likewise.
10734
4cf77aa9
JM
107352012-11-26 Joseph Myers <joseph@codesourcery.com>
10736
10737 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10738 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10739 (add_fdes): Likewise.
10740 (linear_search_fdes): Likewise.
10741 (binary_search_unencoded_fdes): Likewise.
10742
d260b3b4
AS
107432012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10744
10745 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10746
67060746
AC
107472012-11-24 Adam Conrad <adconrad@0c3.net>
10748
10749 * configure.in: Autodetect C++ header directories.
10750 * configure: Regenerated.
10751
800938a1
MF
107522012-11-23 Mike Frysinger <vapier@gentoo.org>
10753
10754 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10755
4e6e34e6
AS
107562012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10757
10758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10759
7c7feb47
JM
107602012-11-22 Joseph Myers <joseph@codesourcery.com>
10761
7184dcdf
JM
10762 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10763 LDBL_MANT_DIG == 106]: Disable some tests.
10764 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10765 Likewise.
10766 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10767 Likewise.
10768
0a42601f
JM
10769 [BZ #14871]
10770 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10771 input for small inputs. Return +/- pi/2 for large inputs.
10772 * math/libm-test.inc (atan_test): Add more tests.
10773
79c9b9fe
JM
10774 * sysdeps/generic/unwind-dw2-fde-glibc.c
10775 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10776 __attribute__ ((unused)).
10777
c60d3bf2
JM
10778 [BZ #14645]
10779 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10780 x * y if x and y are nonzero and z is zero.
10781
ef1e0867
JM
10782 [BZ #14811]
10783 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10784 nonzero exponents with absolute value below 0x1p-117 to +/-
10785 0x1p-117.
10786
1468ded3
JM
10787 [BZ #14869]
10788 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10789 up arguments below 2**-450, not just those below 2**-500.
10790 * math/libm-test.inc (hypot_test): Add another test.
10791
8e27e3cc
JM
10792 [BZ #14868]
10793 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10794 Return a+b for ratio over 2**120, not 2**60.
10795 * math/libm-test.inc (hypot_test): Add another test.
10796
c9c0279b
JM
10797 * math/libm-test.inc (clog_test): Use
10798 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10799 (clog10_test): Likewise.
10800
7c7feb47
JM
10801 [BZ #6778]
10802 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10803
fff1530e
AS
108042012-11-22 Andreas Schwab <schwab@suse.de>
10805
10806 * sysdeps/i386/fpu/libm-test-ulps: Update.
10807
94558d30
PT
108082012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10809
10810 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10811 printf output with newline.
10812
7e1be741
L
108132012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10814
6bfea974
L
10815 [BZ #14865]
10816 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10817 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10818 -z nodlopen, -z initfirst and -z execstack support.
10819 * configure: Regenerated.
10820
7e1be741
L
10821 * elf/elf.h (DF_1_NODIRECT): New macro.
10822 (DF_1_IGNMULDEF): Likewise.
10823 (DF_1_NOKSYMS): Likewise.
10824 (DF_1_NOHDR): Likewise.
10825 (DF_1_EDITED): Likewise.
10826 (DF_1_NORELOC): Likewise.
10827 (DF_1_SYMINTPOSE): Likewise.
10828 (DF_1_GLOBAUDIT): Likewise.
10829 (DF_1_SINGLETON): Likewise.
10830 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10831 DT_1_SUPPORTED_MASK bits.
10832 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10833
105ce2ce
CD
108342012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10835
10836 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10837
123be9de
TS
108382012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10839
d072f3f7
TS
10840 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10841 macro.
10842
123be9de
TS
10843 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10844 (sendmmsg): Move declarations...
10845 * socket/sys/socket.h: ... here.
10846 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10847 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10848 include it from...
10849 * socket/recvmmsg.c: ... this new file.
10850 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10851 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10852 definition of __sendmmsg hidden.
10853 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10854 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10855 Move ENOSYS stub into and include it from...
10856 * socket/sendmmsg.c: ... this new file.
10857 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10858 (sysdep_routines): Move recvmmsg and sendmmsg...
10859 * socket/Makefile (routines): ... here.
10860 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10861 (GLIBC_PRIVATE): Add __sendmmsg.
10862 * include/sys/socket.h (__sendmmsg): Add declarations.
10863 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10864 sendmmsg.
10865
cf9a5d18
JM
108662012-11-20 Joseph Myers <joseph@codesourcery.com>
10867
10868 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10869 variable I1 with __attribute__ ((unused)).
10870 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10871
ecd4caf9
JM
108722012-11-19 Joseph Myers <joseph@codesourcery.com>
10873
be14d48f
JM
10874 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10875 DUMMY variables with __attribute__ ((unused)).
10876
ecd4caf9
JM
10877 * bits/byteswap.h: Include <bits/types.h>.
10878 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10879
986cab95
PT
108802012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10881
10882 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10883 string_t. Do not manually set errno.
10884 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10885 length with __strnlen. Make sure to both set errno and return it on
10886 failure.
10887
6d33cc9d
DM
108882012-11-19 David S. Miller <davem@davemloft.net>
10889
10890 With help from Joseph Myers.
10891 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10892 very large arguments properly.
10893 * math/libm-test.inc (atan_test): New tests.
10894 (atan2_test): New tests.
10895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10897
ee663277
JM
108982012-11-19 Joseph Myers <joseph@codesourcery.com>
10899
877f2d8e
JM
10900 [BZ #14856]
10901 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10902 Define to 3.
10903
116fc08a
JM
10904 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10905 [POSIX] (EADDRNOTAVAIL): Likewise.
10906 [POSIX] (EAFNOSUPPORT): Likewise.
10907 [POSIX] (EALREADY): Likewise.
10908 [POSIX] (ECONNABORTED): Likewise.
10909 [POSIX] (ECONNREFUSED): Likewise.
10910 [POSIX] (ECONNRESET): Likewise.
10911 [POSIX] (EDESTADDRREQ): Likewise.
10912 [POSIX] (EDQUOT): Likewise.
10913 [POSIX] (EHOSTUNREACH): Likewise.
10914 [POSIX] (EIDRM): Likewise.
10915 [POSIX] (EISCONN): Likewise.
10916 [POSIX] (ELOOP): Likewise.
10917 [POSIX] (EMULTIHOP): Likewise.
10918 [POSIX] (ENETDOWN): Likewise.
10919 [POSIX] (ENETUNREACH): Likewise.
10920 [POSIX] (ENOBUFS): Likewise.
10921 [POSIX] (ENODATA): Likewise.
10922 [POSIX] (ENOLINK): Likewise.
10923 [POSIX] (ENOMSG): Likewise.
10924 [POSIX] (ENOPROTOOPT): Likewise.
10925 [POSIX] (ENOSR): Likewise.
10926 [POSIX] (ENOSTR): Likewise.
10927 [POSIX] (ENOTCONN): Likewise.
10928 [POSIX] (ENOTSOCK): Likewise.
10929 [POSIX] (EOPNOTSUPP): Likewise.
10930 [POSIX] (EOVERFLOW): Likewise.
10931 [POSIX] (EPROTO): Likewise.
10932 [POSIX] (EPROTONOSUPPORT): Likewise.
10933 [POSIX] (EPROTOTYPE): Likewise.
10934 [POSIX] (ESTALE): Likewise.
10935 [POSIX] (ETIME): Likewise.
10936 [POSIX] (ETXTBSY): Likewise.
10937 [POSIX] (EWOULDBLOCK): Likewise.
10938 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10939 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10940 [POSIX] (SEEK_CUR): Likewise.
10941 [POSIX] (SEEK_END): Likewise.
10942 [POSIX || UNIX98] (mode_t): Do not require.
10943 [POSIX] (off_t): Likewise.
10944 [POSIX] (pid_t): Likewise.
10945 [POSIX] (sys/stat.h): Do not allow header.
10946 [POSIX] (unistd.h): Likewise.
10947 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10948 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10949 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10950 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10951 require.
10952 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10953 sigevent): Specify elements.
10954 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10955 entry.
10956 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10957 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10958
a483863f
JM
10959 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10960 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10961 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10962 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10963 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10964 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10965 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10966 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10967 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10968 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10969 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10970 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10971 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10972 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10973 Likewise.
10974 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10975 Likewise.
10976 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10977 Likewise.
10978 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10979 Likewise.
10980 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10981 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10982 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10983 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10984 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10985 Specify lower bound on value.
10986 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10987 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10988 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10989 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10990 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10991 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10992 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10993 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10994 value.
10995 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10996 as optional.
10997 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10998 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10999 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11000 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11001 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11002 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11003 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11004 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11005 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11006 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11007 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11008 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11009 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11010 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11011 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11012 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11013 entry.
11014 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11015 optional.
11016 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11017 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11018 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11019 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11020 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11021 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11022 Likewise.
11023 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11024 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11025 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11026 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11027 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11028 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11029 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11030 as optional.
11031 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11032 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11033 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11034 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11035 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11036 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11037 specify as optional.
11038 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11039 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11040 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11041 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11042 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11043 [XPG3] (NL_LANGMAX): Likewise.
11044 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11045 [POSIX || XPG3] (NL_NMAX): Likewise.
11046 [POSIX || XPG3] (NL_SETMAX): Likewise.
11047 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11048 [XPG3] (NZERO): Likewise.
11049 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11050 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11051 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11052 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11053 (REG_ERANGE): Expect.
11054 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11055 optional-constant.
11056 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11057 Use (void) in prototype.
11058 [POSIX] (*_t): Allow.
11059 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11060 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11061 (WRDE_BADVAL): Expect.
11062
5ba924e3
JM
11063 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11064 expect.
11065 [XPG3 || XPG4] (O_RSYNC): Likewise.
11066 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11067 Likewise.
11068 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11069 [XPG3 || XPG4] (sigqueue): Likewise.
11070 [XPG3 || XPG4] (sigtimedwait): Likewise.
11071 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11072 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11073 [XPG3 || XPG4] (vsnprintf): Likewise.
11074 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11075 Likewise.
11076 [XPG3 || XPG4] (blksize_t): Likewise.
11077 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11078 Likewise.
11079 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11080 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11081 [XPG3 || XPG4] (struct itimerspec): Likewise.
11082 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11083 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11084 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11085 [XPG3 || XPG4] (clockid_t): Likewise.
11086 [XPG3 || XPG4] (timer_t): Likewise.
11087 [XPG3 || XPG4] (clock_getres): Likewise.
11088 [XPG3 || XPG4] (clock_gettime): Likewise.
11089 [XPG3 || XPG4] (clock_settime): Likewise.
11090 [XPG3 || XPG4] (nanosleep): Likewise.
11091 [XPG3 || XPG4] (timer_create): Likewise.
11092 [XPG3 || XPG4] (timer_delete): Likewise.
11093 [XPG3 || XPG4] (timer_gettime): Likewise.
11094 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11095 [XPG3 || XPG4] (timer_settime): Likewise.
11096 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11097 [XPG3 || XPG4] (getlogin_r): Likewise.
11098 [XPG3 || XPG4] (pread): Likewise.
11099 [XPG3 || XPG4] (pthread_atfork): Likewise.
11100 [XPG3 || XPG4] (pwrite): Likewise.
11101
ee663277
JM
11102 [BZ #14835]
11103 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11104 <bits/siginfo.h>.
11105
942caa16
PT
111062012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11107
e19af380
PT
11108 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11109 finalizing MALLSTREAM.
11110
942caa16
PT
11111 * sysdeps/mach/hurd/syncfs.c: New file.
11112
cfde9b46
SP
111132012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11114
11115 [BZ #14719]
11116 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11117 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11118 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11119 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11120 (_nss_dns_gethostbyname4_r): Likewise.
11121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11122 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11123
f6da27e5
PH
111242012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11125
11126 [BZ #13763]
11127 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11128
6665d4a2
SM
111292012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11130
1f51ee92
SM
11131 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11132 * elf/cache.c (print_entry): Print ",AArch64" for
11133 FLAG_AARCH64_LIB64
11134
6665d4a2
SM
11135 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11136 * elf/cache.c (print_entry): Print ",hard-float" for
11137 FLAG_ARM_LIBHF.
11138
05b227bd
DM
111392012-11-18 David S. Miller <davem@davemloft.net>
11140
11141 With help from Joseph Myers.
11142 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11143 cutoff to 2**-13.
11144 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11145 cutoff to 2**-25.
11146 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11147 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11148 small.
11149 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11150 * math/libm-test.inc (y0_test): New tests.
11151 (y1_test): New tests.
11152 * sysdeps/i386/fpu/libm-test-ulps: Update.
11153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11155
786b0b67
AS
111562012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11157
11158 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11159 64-bit targets.
11160 * configure: Regenerated.
11161
8e18b86d
DM
111622012-11-17 David S. Miller <davem@davemloft.net>
11163
11164 [BZ #14811]
11165 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11166 nonzero exponents with absolute value below 0x1p-128 to +/-
11167 0x1p-128.
11168
531f1ae0
JM
111692012-11-17 Joseph Myers <joseph@codesourcery.com>
11170
12df29e2
JM
11171 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11172
150dc1a0
JM
11173 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11174
531f1ae0
JM
11175 * posix/getconf-speclist.c: New file.
11176 * posix/posix-envs.def: Likewise.
11177 * posix/confstr.c (START_ENV_GROUP): New macro.
11178 (END_ENV_GROUP): Likewise.
11179 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11180 (KNOWN_PRESENT_ENV_STRING): Likewise.
11181 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11182 (UNKNOWN_ENVIRONMENT): Likewise.
11183 (confstr): Include posix-envs.def instead of handling
11184 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11185 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11186 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11187 (END_ENV_GROUP): Likewise.
11188 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11189 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11190 (UNKNOWN_ENVIRONMENT): Likewise.
11191 (__sysconf): Include posix-envs.def instead of handling associated
11192 cases directly here.
11193 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11194 preprocessing getconf-speclist.c rather than running getconf or
11195 generating empty file.
11196
a93f9cbc
PT
111972012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11198
11199 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11200
d64d9f87
AL
112012012-11-16 Andrej Lajovic <natrij@gmail.com>
11202
11203 [BZ #14672]
11204 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11205
447885eb
DM
112062012-11-16 David S. Miller <davem@davemloft.net>
11207
11208 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11209 smaller than LDBL_EPSILON/2.0L, just return xm1.
11210
bcbf9830
L
112112012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11212
11213 * elf/tst-array1.c (init): Set constructor priority to 1000.
11214 (fini): Set destructor priority to 1000.
11215 * elf/tst-array2dep.c: Likewise.
11216
2b766585
SP
112172012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11218
11219 [BZ #11741]
11220 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11221 (_IO_new_file_xsputn): Also return EOF if none of the input
11222 data was written when overflow failed.
11223 * libio/iopadn.c (_IO_padn): Likewise.
11224 * libio/iowpadn.c (_IO_wpadn): Likewise.
11225 * stdio-common/tst-put-error.c: Add copyright notice.
11226 (do_test): Add case for printing padded string.
11227 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11228 _IO_padn returned error.
11229 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11230 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11231 return EOF.
11232
b1848fde
SP
112332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11234
11235 * libio/libioP.h: Add comment note that the references to C++
11236 bits are now obsolete.
11237
2fd89785
MS
112382012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11239
11240 * math/libm-test.inc (check_complex): Use asprintf.
11241
e3ea5409
JM
112422012-11-14 Joseph Myers <joseph@codesourcery.com>
11243
11244 * debug/pcprofiledump.c (print_version): Update copyright year.
11245 * malloc/memusagestat.c (print_version): Likewise.
11246
2e64d265
L
112472012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11248
11249 [BZ #14831]
11250 * elf/Makefile (tests): Add tst-audit8.
11251 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11252 ($(objpfx)tst-audit8.out): New target.
11253 (tst-audit8-ENV): New variable.
11254 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11255 audit if l_reloc_result is NULL.
11256 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11257 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11258 * elf/tst-audit8.c: New file.
11259
c485e4d2
MS
112602012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11261
11262 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11263 * misc/Makefile (CFLAGS-select.c): Define.
11264 * posix/Makefile (CFLAGS-pause.c): Define.
11265
3a0d900a
DM
112662012-11-13 David S. Miller <davem@davemloft.net>
11267
11268 * crypt/Makefile: Move test targets after toplevel Rules
11269 inclusion. Grab any necessary sysdep routines when linking.
11270 * crypt/md5.c (md5_process_block): Remove define, we will always
11271 name it __md5_process_block.
11272 (md5_finish_ctx): Update md5_process_block call.
11273 (md5_stream): Likewise.
11274 (md5_process_bytes): Likewise.
11275 (md5_process_block): Rename to __md5_process_block and move to ...
11276 * crypt/md5-block.c: ... here.
11277 * crypt/sha256.c (sha256_process_block): Move to ...
11278 * crypt/sha256-block.c: ... here.
11279 * crypt/sha512.c (sha512_process_block): Move to ...
11280 * crypt/sha512-block.c: ... here.
11281 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11282 path.
11283 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11284 * sysdeps/sparc/sparc64/multiarch/Makefile
11285 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11286 crypt subdir.
11287 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11288 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11289 multiarch changes.
11290 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11291 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11292 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11293 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11294 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11295 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11296 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11297 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11298 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11299 file.
11300 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11301 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11302 file.
11303 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11304
8ca89318
JM
113052012-11-13 Joseph Myers <joseph@codesourcery.com>
11306
e27d476a
JM
11307 * timezone/tzselect.ksh: Update from tzcode git revision
11308 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11309 * timezone/zdump.c: Likewise.
11310 * timezone/zic.c: Likewise.
11311 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11312 in TZVERSION setting, not $(PKGVERSION).
11313 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11314 REPORT_BUGS_TO settings.
11315
8ca89318
JM
11316 [BZ #14838]
11317 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11318 macro.
11319
47594329
MS
113202012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11321
11322 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11323 detection to immediately after _FP_ROUND().
11324 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11325 bits are 0.
11326
640ac3f1
DM
113272012-11-11 David S. Miller <davem@davemloft.net>
11328
11329 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11330 inttypes.h
11331 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11332 __close rather than their public counterparts.
11333
3d2577bb
JM
113342012-11-10 Joseph Myers <joseph@codesourcery.com>
11335
11336 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11337 file.
11338 [UNIX98] (sem_timedwait): Do not expect.
11339 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11340 [XPG4 || UNIX98] (sockatmark): Do not expect.
11341 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11342 (clock_getcpuclockid): Do not expect.
11343 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11344 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11345 Do not expect.
11346 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11347 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11348 [UNIX98] (vwscanf): Likewise.
11349 [UNIX98] (vswscanf): Likewise.
11350
fb1ae1ee
JM
113512012-11-09 Joseph Myers <joseph@codesourcery.com>
11352
9ec6f8bd
JM
11353 * timezone/version.h: Remove file.
11354 * timezone/README: Do not refer to version.h.
11355 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11356 $(objpfx)version.h.
11357 ($(objpfx)zdump.o): Likewise.
c3f81911 11358 ($(objpfx)version.h): New target.
9ec6f8bd 11359
0aa8f8a1
JM
11360 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11361 2012i.
11362 * timezone/README: Don't mention modification to tzselect.ksh.
11363 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11364 work on unmodified tzselect.ksh. Substitute version numbers in
11365 tzselect.ksh.
11366
4e87147f
JM
11367 * Makefile (format-me): Remove.
11368 (INSTALL): Adjust indentation. Use commands directly instead of
11369 using $(format-me).
11370
8b748aed
JM
11371 * aclocal.m4 (ACX_PKGVERSION): New macro.
11372 (ACX_BUGURL): Likewise.
11373 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11374 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11375 (REPORT_BUGS_TO): Likewise.
11376 * configure: Regenerated.
11377 * config.h.in (PKGVERSION): New macro.
11378 (REPORT_BUGS_TO): Likewise.
11379 * config.make.in (PKGVERSION): New variable.
11380 (PKGVERSION_TEXI): Likewise.
11381 (REPORT_BUGS_TO): Likewise.
11382 (REPORT_BUGS_TEXI): Likewise.
11383 * Makefile (format-me): Use -I$(common-objpfx)manual.
11384 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11385 ($(common-objpfx)manual/%): New target.
11386 (manual/%): Remove target.
11387 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11388 (print_version): Use PKGVERSION.
11389 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11390 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11391 and REPORT_BUGS_TO.
11392 ($(objpfx)xtrace): Likewise.
11393 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11394 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11395 (print_version): Use PKGVERSION.
11396 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11397 (do_version): Use PKGVERSION.
11398 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11399 REPORT_BUGS_TO.
11400 (common-ldd-rewrite): Likewise.
11401 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11402 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11403 (print_version): Use PKGVERSION.
11404 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11405 * elf/pldd.c (argp_program_bug_address): Remove variable.
11406 (more_help): New function.
11407 (argp): Use more_help.
11408 (print_version): Use PKGVERSION.
11409 * elf/sln.c (main): Use PKGVERSION.
11410 (usage): Use REPORT_BUGS_TO.
11411 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11412 (top level): Use PKGVERSION.
11413 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11414 (print_version): Use PKGVERSION.
11415 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11416 (print_version): Use PKGVERSION.
11417 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11418 (print_version): Use PKGVERSION.
11419 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11420 (print_version): Use PKGVERSION.
11421 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11422 (print_version): Use PKGVERSION.
11423 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11424 (print_version): Use PKGVERSION.
11425 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11426 and BUGURL.
11427 ($(objpfx)memusage): Likewise.
11428 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11429 (do_version): Use PKGVERSION.
11430 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11431 (print_version): Use PKGVERSION.
11432 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11433 ($PKGVERSION): New variable.
11434 ($REPORT_BUGS_TO): Likewise.
11435 (usage): Use $REPORT_BUGS_TO.
11436 (top level): Use $PKGVERSION.
11437 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11438 ($(objpfx)pkgvers.texi): New rule.
11439 ($(objpfx)stamp-pkgvers): Likewise.
11440 * manual/install.texi: Include pkgvers.texi.
11441 (--with-pkgversion): Document new configure option.
11442 (--with-bugurl): Likewise.
11443 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11444 than necessarily for this particular distribution. Use
11445 REPORT_BUGS_TO for where to report bugs.
11446 * INSTALL: Regenerated.
11447 * manual/libc.texinfo: Include pkgvers.texi.
11448 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11449 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11450 (print_version): Use PKGVERSION.
11451 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11452 (print_version): Use PKGVERSION.
11453 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11454 (print_version): Use PKGVERSION.
11455 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11456 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11457 macro.
11458 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11459 (print_version): Use PKGVERSION.
11460 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11461 (print_version): Use PKGVERSION.
11462 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11463 and PKGVERSION.
11464
92e4b6a9
JM
11465 * timezone/checktab.awk: Update from tzcode 2012i.
11466 * timezone/ialloc.c: Likewise.
11467 * timezone/private.h: Likewise.
11468 * timezone/scheck.c: Likewise.
11469 * timezone/tzfile.h: Likewise.
11470 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11471 (TZVERSION): Hardcode tzcode version number.
11472 * timezone/zdump.c: Update from tzcode 2012i.
11473 * timezone/zic.c: Likewise.
11474 * timezone/version.h: New file.
11475 * timezone/README: Describe version.h. Update upstream location.
11476
9bde902c
JM
11477 [BZ #14824]
11478 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11479 (mktemp): Enable declaration.
11480 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11481 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11482 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11483 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11484 Likewise.
11485 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11486 Likewise.
11487 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11488 Likewise.
11489 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11490 Likewise.
11491 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11492 Likewise.
11493 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11494 Likewise.
11495
fb1ae1ee
JM
11496 [BZ #14821]
11497 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11498 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11499 for copies of such integer values.
11500 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11501 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11502
2c1adbcb
AJ
115032012-11-09 Andreas Jaeger <aj@suse.de>
11504
11505 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11506 definitions and declarations that are provided by
11507 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11508
d0f8457e
AK
115092012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11510
3a235abb 11511 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11512 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11513 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11514 definition.
11515
57241e26
MS
115162012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11517
11518 * elf/elf.h: Update comment before AArch64 relocations.
11519
60e8270d
DM
115202012-11-07 David S. Miller <davem@davemloft.net>
11521
11522 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11523 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11524 (__start_context): Declare.
11525 (__makecontext_ret): Delete.
11526 (__makecontext): Hook up __start_context instead of
11527 __makecontext_ret.
11528 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11529 (sysdep_routines): Add __start_context when in stdlib.
11530
0fbb0fbc
JM
115312012-11-07 Joseph Myers <joseph@codesourcery.com>
11532
11533 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11534 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11535 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11536 hardcoded "nm".
11537 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11538 (READELF): New variable. Use it instead of hardcoded "readelf".
11539
eb48db7e
L
115402012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11541
11542 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11543 * sysdeps/x86/Makefile: Here.
11544 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11545 * sysdeps/x86/tst-xmmymm.sh: This.
11546
05bcf62a
JM
115472012-11-07 Joseph Myers <joseph@codesourcery.com>
11548
c4b6cf53
JM
11549 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11550 expectations.
11551 [UNIX98] (pthread_barrier_t): Do not expect.
11552 [UNIX98] (pthread_barrierattr_t): Likewise.
11553 [UNIX98] (pthread_spinlock_t): Likewise.
11554 [UNIX98] (pthread_barrier_destroy): Likewise.
11555 [UNIX98] (pthread_barrier_init): Likewise.
11556 [UNIX98] (pthread_barrier_wait): Likewise.
11557 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11558 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11559 [UNIX98] (pthread_barrierattr_init): Likewise.
11560 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11561 [UNIX98] (pthread_getcpuclockid): Likewise.
11562 [UNIX98] (pthread_mutex_timedlock): Likewise.
11563 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11564 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11565 [UNIX98] (pthread_sigmask): Likewise.
11566 [UNIX98] (pthread_spin_destroy): Likewise.
11567 [UNIX98] (pthread_spin_init): Likewise.
11568 [UNIX98] (pthread_spin_lock): Likewise.
11569 [UNIX98] (pthread_spin_trylock): Likewise.
11570 [UNIX98] (pthread_spin_unlock): Likewise.
11571 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11572 Do not expect.
11573 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11574 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11575 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11576 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11577 [XPG3 || XPG4] (pthread_key_t): Likewise.
11578 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11579 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11580 [XPG3 || XPG4] (pthread_once_t): Likewise.
11581 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11582 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11583 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11584 [XPG3 || XPG4] (pthread_t): Likewise.
11585
cbe6e120
JM
11586 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11587 not expect.
11588 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11589
1b126443
JM
11590 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11591 Change function return type to int.
11592
b961a573
JM
11593 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11594 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11595 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11596 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11597 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11598 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11599 [!POSIX] (posix_madvise): Likewise.
11600 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11601 && !UNIX98].
11602 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11603 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11604 (mode_t): Likewise.
11605 (posix_mem_offset): Likewise.
11606 (posix_typed_mem_get_info): Likewise.
11607 (posix_typed_mem_open): Likewise.
11608
9e188909
JM
11609 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11610 Change condition to [XOPEN2K8].
11611
05bcf62a
JM
11612 * conform/conformtest.pl: Preprocess allow-header data with -x c
11613 instead of from stdin.
11614 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11615 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11616 [C99-based standards] (cerfc): Likewise.
11617 [C99-based standards] (cexp2): Likewise.
11618 [C99-based standards] (cexpm1): Likewise.
11619 [C99-based standards] (clog10): Likewise.
11620 [C99-based standards] (clog1p): Likewise.
11621 [C99-based standards] (clog2): Likewise.
11622 [C99-based standards] (clgamma): Likewise.
11623 [C99-based standards] (ctgamma): Likewise.
11624 [C99-based standards] (cerff): Likewise.
11625 [C99-based standards] (cerfcf): Likewise.
11626 [C99-based standards] (cexp2f): Likewise.
11627 [C99-based standards] (cexpm1f): Likewise.
11628 [C99-based standards] (clog10f): Likewise.
11629 [C99-based standards] (clog1pf): Likewise.
11630 [C99-based standards] (clog2f): Likewise.
11631 [C99-based standards] (clgammaf): Likewise.
11632 [C99-based standards] (ctgammaf): Likewise.
11633 [C99-based standards] (cerfl): Likewise.
11634 [C99-based standards] (cerfcl): Likewise.
11635 [C99-based standards] (cexp2l): Likewise.
11636 [C99-based standards] (cexpm1l): Likewise.
11637 [C99-based standards] (clog10l): Likewise.
11638 [C99-based standards] (clog1pl): Likewise.
11639 [C99-based standards] (clog2l): Likewise.
11640 [C99-based standards] (clgammal): Likewise.
11641 [C99-based standards] (ctgammal): Likewise.
11642 * conform/data/inttypes.h-data [C99-based standards]: Include
11643 stdint.h-data. Remove all expectations for stdint.h contents.
11644 [C99-based standards] (PRI*): Do not allow.
11645 [C99-based standards] (SCN*): Likewise.
11646 [C99-based standards] (*_t): Likewise.
11647 [C99-based-standards] (PRId8): Expect macro.
11648 [C99-based-standards] (PRIi8): Likewise.
11649 [C99-based-standards] (PRIo8): Likewise.
11650 [C99-based-standards] (PRIu8): Likewise.
11651 [C99-based-standards] (PRIx8): Likewise.
11652 [C99-based-standards] (PRIX8): Likewise.
11653 [C99-based-standards] (SCNd8): Likewise.
11654 [C99-based-standards] (SCNi8): Likewise.
11655 [C99-based-standards] (SCNo8): Likewise.
11656 [C99-based-standards] (SCNu8): Likewise.
11657 [C99-based-standards] (SCNx8): Likewise.
11658 [C99-based-standards] (PRIdLEAST8): Likewise.
11659 [C99-based-standards] (PRIiLEAST8): Likewise.
11660 [C99-based-standards] (PRIoLEAST8): Likewise.
11661 [C99-based-standards] (PRIuLEAST8): Likewise.
11662 [C99-based-standards] (PRIxLEAST8): Likewise.
11663 [C99-based-standards] (PRIXLEAST8): Likewise.
11664 [C99-based-standards] (SCNdLEAST8): Likewise.
11665 [C99-based-standards] (SCNiLEAST8): Likewise.
11666 [C99-based-standards] (SCNoLEAST8): Likewise.
11667 [C99-based-standards] (SCNuLEAST8): Likewise.
11668 [C99-based-standards] (SCNxLEAST8): Likewise.
11669 [C99-based-standards] (PRIdFAST8): Likewise.
11670 [C99-based-standards] (PRIiFAST8): Likewise.
11671 [C99-based-standards] (PRIoFAST8): Likewise.
11672 [C99-based-standards] (PRIuFAST8): Likewise.
11673 [C99-based-standards] (PRIxFAST8): Likewise.
11674 [C99-based-standards] (PRIXFAST8): Likewise.
11675 [C99-based-standards] (SCNdFAST8): Likewise.
11676 [C99-based-standards] (SCNiFAST8): Likewise.
11677 [C99-based-standards] (SCNoFAST8): Likewise.
11678 [C99-based-standards] (SCNuFAST8): Likewise.
11679 [C99-based-standards] (SCNxFAST8): Likewise.
11680 [C99-based-standards] (PRId16): Likewise.
11681 [C99-based-standards] (PRIi16): Likewise.
11682 [C99-based-standards] (PRIo16): Likewise.
11683 [C99-based-standards] (PRIu16): Likewise.
11684 [C99-based-standards] (PRIx16): Likewise.
11685 [C99-based-standards] (PRIX16): Likewise.
11686 [C99-based-standards] (SCNd16): Likewise.
11687 [C99-based-standards] (SCNi16): Likewise.
11688 [C99-based-standards] (SCNo16): Likewise.
11689 [C99-based-standards] (SCNu16): Likewise.
11690 [C99-based-standards] (SCNx16): Likewise.
11691 [C99-based-standards] (PRIdLEAST16): Likewise.
11692 [C99-based-standards] (PRIiLEAST16): Likewise.
11693 [C99-based-standards] (PRIoLEAST16): Likewise.
11694 [C99-based-standards] (PRIuLEAST16): Likewise.
11695 [C99-based-standards] (PRIxLEAST16): Likewise.
11696 [C99-based-standards] (PRIXLEAST16): Likewise.
11697 [C99-based-standards] (SCNdLEAST16): Likewise.
11698 [C99-based-standards] (SCNiLEAST16): Likewise.
11699 [C99-based-standards] (SCNoLEAST16): Likewise.
11700 [C99-based-standards] (SCNuLEAST16): Likewise.
11701 [C99-based-standards] (SCNxLEAST16): Likewise.
11702 [C99-based-standards] (PRIdFAST16): Likewise.
11703 [C99-based-standards] (PRIiFAST16): Likewise.
11704 [C99-based-standards] (PRIoFAST16): Likewise.
11705 [C99-based-standards] (PRIuFAST16): Likewise.
11706 [C99-based-standards] (PRIxFAST16): Likewise.
11707 [C99-based-standards] (PRIXFAST16): Likewise.
11708 [C99-based-standards] (SCNdFAST16): Likewise.
11709 [C99-based-standards] (SCNiFAST16): Likewise.
11710 [C99-based-standards] (SCNoFAST16): Likewise.
11711 [C99-based-standards] (SCNuFAST16): Likewise.
11712 [C99-based-standards] (SCNxFAST16): Likewise.
11713 [C99-based-standards] (PRId32): Likewise.
11714 [C99-based-standards] (PRIi32): Likewise.
11715 [C99-based-standards] (PRIo32): Likewise.
11716 [C99-based-standards] (PRIu32): Likewise.
11717 [C99-based-standards] (PRIx32): Likewise.
11718 [C99-based-standards] (PRIX32): Likewise.
11719 [C99-based-standards] (SCNd32): Likewise.
11720 [C99-based-standards] (SCNi32): Likewise.
11721 [C99-based-standards] (SCNo32): Likewise.
11722 [C99-based-standards] (SCNu32): Likewise.
11723 [C99-based-standards] (SCNx32): Likewise.
11724 [C99-based-standards] (PRIdLEAST32): Likewise.
11725 [C99-based-standards] (PRIiLEAST32): Likewise.
11726 [C99-based-standards] (PRIoLEAST32): Likewise.
11727 [C99-based-standards] (PRIuLEAST32): Likewise.
11728 [C99-based-standards] (PRIxLEAST32): Likewise.
11729 [C99-based-standards] (PRIXLEAST32): Likewise.
11730 [C99-based-standards] (SCNdLEAST32): Likewise.
11731 [C99-based-standards] (SCNiLEAST32): Likewise.
11732 [C99-based-standards] (SCNoLEAST32): Likewise.
11733 [C99-based-standards] (SCNuLEAST32): Likewise.
11734 [C99-based-standards] (SCNxLEAST32): Likewise.
11735 [C99-based-standards] (PRIdFAST32): Likewise.
11736 [C99-based-standards] (PRIiFAST32): Likewise.
11737 [C99-based-standards] (PRIoFAST32): Likewise.
11738 [C99-based-standards] (PRIuFAST32): Likewise.
11739 [C99-based-standards] (PRIxFAST32): Likewise.
11740 [C99-based-standards] (PRIXFAST32): Likewise.
11741 [C99-based-standards] (SCNdFAST32): Likewise.
11742 [C99-based-standards] (SCNiFAST32): Likewise.
11743 [C99-based-standards] (SCNoFAST32): Likewise.
11744 [C99-based-standards] (SCNuFAST32): Likewise.
11745 [C99-based-standards] (SCNxFAST32): Likewise.
11746 [C99-based-standards] (PRId64): Likewise.
11747 [C99-based-standards] (PRIi64): Likewise.
11748 [C99-based-standards] (PRIo64): Likewise.
11749 [C99-based-standards] (PRIu64): Likewise.
11750 [C99-based-standards] (PRIx64): Likewise.
11751 [C99-based-standards] (PRIX64): Likewise.
11752 [C99-based-standards] (SCNd64): Likewise.
11753 [C99-based-standards] (SCNi64): Likewise.
11754 [C99-based-standards] (SCNo64): Likewise.
11755 [C99-based-standards] (SCNu64): Likewise.
11756 [C99-based-standards] (SCNx64): Likewise.
11757 [C99-based-standards] (PRIdLEAST64): Likewise.
11758 [C99-based-standards] (PRIiLEAST64): Likewise.
11759 [C99-based-standards] (PRIoLEAST64): Likewise.
11760 [C99-based-standards] (PRIuLEAST64): Likewise.
11761 [C99-based-standards] (PRIxLEAST64): Likewise.
11762 [C99-based-standards] (PRIXLEAST64): Likewise.
11763 [C99-based-standards] (SCNdLEAST64): Likewise.
11764 [C99-based-standards] (SCNiLEAST64): Likewise.
11765 [C99-based-standards] (SCNoLEAST64): Likewise.
11766 [C99-based-standards] (SCNuLEAST64): Likewise.
11767 [C99-based-standards] (SCNxLEAST64): Likewise.
11768 [C99-based-standards] (PRIdFAST64): Likewise.
11769 [C99-based-standards] (PRIiFAST64): Likewise.
11770 [C99-based-standards] (PRIoFAST64): Likewise.
11771 [C99-based-standards] (PRIuFAST64): Likewise.
11772 [C99-based-standards] (PRIxFAST64): Likewise.
11773 [C99-based-standards] (PRIXFAST64): Likewise.
11774 [C99-based-standards] (SCNdFAST64): Likewise.
11775 [C99-based-standards] (SCNiFAST64): Likewise.
11776 [C99-based-standards] (SCNoFAST64): Likewise.
11777 [C99-based-standards] (SCNuFAST64): Likewise.
11778 [C99-based-standards] (SCNxFAST64): Likewise.
11779 [C99-based-standards] (PRIdMAX): Likewise.
11780 [C99-based-standards] (PRIiMAX): Likewise.
11781 [C99-based-standards] (PRIoMAX): Likewise.
11782 [C99-based-standards] (PRIuMAX): Likewise.
11783 [C99-based-standards] (PRIxMAX): Likewise.
11784 [C99-based-standards] (PRIXMAX): Likewise.
11785 [C99-based-standards] (SCNdMAX): Likewise.
11786 [C99-based-standards] (SCNiMAX): Likewise.
11787 [C99-based-standards] (SCNoMAX): Likewise.
11788 [C99-based-standards] (SCNuMAX): Likewise.
11789 [C99-based-standards] (SCNxMAX): Likewise.
11790 [C99-based-standards] (PRIdPTR): Likewise.
11791 [C99-based-standards] (PRIiPTR): Likewise.
11792 [C99-based-standards] (PRIoPTR): Likewise.
11793 [C99-based-standards] (PRIuPTR): Likewise.
11794 [C99-based-standards] (PRIxPTR): Likewise.
11795 [C99-based-standards] (PRIXPTR): Likewise.
11796 [C99-based-standards] (SCNdPTR): Likewise.
11797 [C99-based-standards] (SCNiPTR): Likewise.
11798 [C99-based-standards] (SCNoPTR): Likewise.
11799 [C99-based-standards] (SCNuPTR): Likewise.
11800 [C99-based-standards] (SCNxPTR): Likewise.
11801 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11802 allow.
11803 * conform/data/stdint.h-data: Update comments to clarify
11804 requirements.
11805 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11806 type.
11807 [C99-based standards] (INT8_MAX): Likewise.
11808 [C99-based standards] (INT16_MIN): Likewise.
11809 [C99-based standards] (INT16_MAX): Likewise.
11810 [C99-based standards] (INT32_MIN): Likewise.
11811 [C99-based standards] (INT32_MAX): Likewise.
11812 [C99-based standards] (INT64_MIN): Likewise.
11813 [C99-based standards] (INT64_MAX): Likewise.
11814 [C99-based standards] (UINT8_MAX): Likewise.
11815 [C99-based standards] (UINT16_MAX): Likewise.
11816 [C99-based standards] (UINT32_MAX): Likewise.
11817 [C99-based standards] (UINT64_MAX): Likewise.
11818 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11819 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11820 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11821 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11822 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11823 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11824 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11825 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11826 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11827 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11828 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11829 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11830 [C99-based standards] (INT_FAST8_MIN): Likewise.
11831 [C99-based standards] (INT_FAST8_MAX): Likewise.
11832 [C99-based standards] (INT_FAST16_MIN): Likewise.
11833 [C99-based standards] (INT_FAST16_MAX): Likewise.
11834 [C99-based standards] (INT_FAST32_MIN): Likewise.
11835 [C99-based standards] (INT_FAST32_MAX): Likewise.
11836 [C99-based standards] (INT_FAST64_MIN): Likewise.
11837 [C99-based standards] (INT_FAST64_MAX): Likewise.
11838 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11839 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11840 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11841 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11842 [C99-based standards] (INTPTR_MIN): Likewise.
11843 [C99-based standards] (INTPTR_MAX): Likewise.
11844 [C99-based standards] (UINTPTR_MAX): Likewise.
11845 [C99-based standards] (INTMAX_MIN): Likewise.
11846 [C99-based standards] (INTMAX_MAX): Likewise.
11847 [C99-based standards] (UINTMAX_MAX): Likewise.
11848 [C99-based standards] (PTRDIFF_MIN): Likewise.
11849 [C99-based standards] (PTRDIFF_MAX): Likewise.
11850 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11851 [C99-based standards] (SIZE_MAX): Likewise.
11852 [C99-based standards] (WCHAR_MAX): Likewise.
11853 [C99-based standards] (WINT_MAX): Likewise.
11854 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11855 constraint on value.
11856 [C99-based standards] (WCHAR_MIN): Likewise.
11857 [C99-based standards] (WINT_MIN): Likewise.
11858 [C99-based standards] (*_t): Allow.
11859 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11860 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11861 Include math.h-data and complex.h-data. Remove all expectations
11862 of math.h and complex.h contents.
11863 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11864 at end of line.
11865 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11866 (struct tm): Expect tag.
11867 [C99-based-standards] (wcstof): Expect function.
11868 [C99-based-standards] (wcstold): Likewise.
11869 [C99-based-standards] (wcstoll): Likewise.
11870 [C99-based-standards] (wcstoull): Likewise.
11871 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11872 macro-int-constant. Specify type.
11873 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11874 constraint on value.
11875 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11876 Specify type.
11877 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11878 Specify value.
11879 [ISO C standards]: Do not allow headers.
11880 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11881 wcs[abcdefghijklmnopqrstuvwxyz]*.
11882 [ISO C standards] (*_t): Do not allow.
11883 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11884 Expect function.
11885 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11886 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11887 Specify type.
11888 [ISO C standards]: Do not allow headers.
11889 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11890 is[abcdefghijklmnopqrstuvwxyz]*.
11891 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11892 to[abcdefghijklmnopqrstuvwxyz]*.
11893 [ISO C standards] (*_t): Do not allow.
11894 * conform/data/stdalign.h-data: New file.
11895 * conform/data/stdbool.h-data: Likewise.
11896 * conform/data/stdnoreturn.h-data: Likewise.
11897
7514feb8
RM
118982012-11-07 Roland McGrath <roland@hack.frob.com>
11899
11900 [BZ #14815]
11901 * manual/filesys.texi (Directory Entries): Typo fix.
11902 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11903
19b2ecfc
MS
119042012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11905
11906 * elf/elf.h (EM_AARCH64): New macro.
11907 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11908 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11909 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11910 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11911 (R_AARCH64_TLSDESC): Likewise.
11912 (NT_ARM_TLS): Likewise.
11913 (NT_ARM_HW_BREAK): Likewise.
11914 (NT_ARM_HW_WATCH): Likewise.
11915
60e235ee
JM
119162012-11-07 Joseph Myers <joseph@codesourcery.com>
11917
11918 [BZ #14811]
11919 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11920 (__ieee754_powl): Saturate nonzero exponents with absolute value
11921 below 0x1p-79 to +/- 0x1p-79.
11922 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11923 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11924 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11925 nonzero exponents with absolute value below 0x1p-32 to +/-
11926 0x1p-32.
11927 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11928 (__ieee754_powl): Saturate nonzero exponents with absolute value
11929 below 0x1p-79 to +/- 0x1p-79.
11930 * math/libm-test.inc (pow_test): Add more tests.
11931
0ab234b7
AK
119322012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11933
11934 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11935 _dl_s390_cap_flags with kernel. Increase string length.
11936 (_dl_s390_platforms): Add z196 and zEC12.
11937
45832f74
JM
119382012-11-07 Joseph Myers <joseph@codesourcery.com>
11939
11940 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11941 Change XOPEN21K to XOPEN2K.
11942
19218757
MK
119432012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11944
11945 * string/memmove.c: Use memcpy when possible.
11946
c5f45721
AJ
119472012-11-06 Andreas Jaeger <aj@suse.de>
11948
11949 * po/eo.po: Update from translation team.
11950
82477c28
JM
119512012-11-06 Joseph Myers <joseph@codesourcery.com>
11952
11953 [BZ #14793]
11954 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11955 exponent and small x and y exponents, scale x or y up. Increase
11956 by 2 the exponent used in scaling up.
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
99252c8c
JM
119642012-11-05 Joseph Myers <joseph@codesourcery.com>
11965
acfa885f
JM
11966 [BZ #14805]
11967 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11968 fenv_t *.
11969
99252c8c
JM
11970 [BZ #14801]
11971 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11972 namespace for names of struct fields.
11973 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11974 fenv_t fields.
11975 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11976 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11977
d6d98dea
ST
119782012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11979
11980 [BZ #3665]
11981 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11982
e10bb107
TS
119832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11984
11985 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11986 PTR_DEMANGLE.
11987
11988 [BZ #5246]
11989 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11990 PTR_DEMANGLE.
11991
a0c2940d
JM
119922012-11-04 Joseph Myers <joseph@codesourcery.com>
11993
11994 [BZ #14797]
11995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11996 definitely overflow as x * y not x * y + z.
11997 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11998 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11999 * math/libm-test.inc (fma_test): Add more tests.
12000 (fma_test_towardzero): Likewise.
12001 (fma_test_downward): Likewise.
12002 (fma_test_upward): Likewise.
12003
b830319d
TS
120042012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12005
12006 [BZ #157]
12007
12008 * include/stub-tag.h: Remove file.
12009 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12010 '#include' of it.
12011 * manual/maint.texi (Porting): Don't reference it.
12012 * Makerules ($(objpfx)stubs): Likewise.
12013 * dirent/closedir.c: Don't include <stub-tag.h>.
12014 * dirent/dirfd.c: Likewise.
12015 * dirent/fdopendir.c: Likewise.
12016 * dirent/getdents.c: Likewise.
12017 * dirent/getdents64.c: Likewise.
12018 * dirent/opendir.c: Likewise.
12019 * dirent/readdir.c: Likewise.
12020 * dirent/readdir64.c: Likewise.
12021 * dirent/readdir64_r.c: Likewise.
12022 * dirent/readdir_r.c: Likewise.
12023 * dirent/rewinddir.c: Likewise.
12024 * dirent/seekdir.c: Likewise.
12025 * dirent/telldir.c: Likewise.
12026 * gmon/profil.c: Likewise.
12027 * grp/setgroups.c: Likewise.
12028 * inet/if_index.c: Likewise.
12029 * io/access.c: Likewise.
12030 * io/chdir.c: Likewise.
12031 * io/chmod.c: Likewise.
12032 * io/chown.c: Likewise.
12033 * io/close.c: Likewise.
12034 * io/dup.c: Likewise.
12035 * io/dup2.c: Likewise.
12036 * io/dup3.c: Likewise.
12037 * io/euidaccess.c: Likewise.
12038 * io/faccessat.c: Likewise.
12039 * io/fchdir.c: Likewise.
12040 * io/fchmod.c: Likewise.
12041 * io/fchmodat.c: Likewise.
12042 * io/fchown.c: Likewise.
12043 * io/fchownat.c: Likewise.
12044 * io/fcntl.c: Likewise.
12045 * io/flock.c: Likewise.
12046 * io/fstatfs.c: Likewise.
12047 * io/fstatfs64.c: Likewise.
12048 * io/fstatvfs.c: Likewise.
12049 * io/fstatvfs64.c: Likewise.
12050 * io/futimens.c: Likewise.
12051 * io/fxstat.c: Likewise.
12052 * io/fxstat64.c: Likewise.
12053 * io/fxstatat.c: Likewise.
12054 * io/fxstatat64.c: Likewise.
12055 * io/getcwd.c: Likewise.
12056 * io/isatty.c: Likewise.
12057 * io/lchmod.c: Likewise.
12058 * io/lchown.c: Likewise.
12059 * io/link.c: Likewise.
12060 * io/linkat.c: Likewise.
12061 * io/lseek.c: Likewise.
12062 * io/lseek64.c: Likewise.
12063 * io/lxstat64.c: Likewise.
12064 * io/mkdir.c: Likewise.
12065 * io/mkdirat.c: Likewise.
12066 * io/mkfifo.c: Likewise.
12067 * io/mkfifoat.c: Likewise.
12068 * io/open.c: Likewise.
12069 * io/open64.c: Likewise.
12070 * io/openat.c: Likewise.
12071 * io/openat64.c: Likewise.
12072 * io/pipe.c: Likewise.
12073 * io/pipe2.c: Likewise.
12074 * io/poll.c: Likewise.
12075 * io/posix_fadvise.c: Likewise.
12076 * io/posix_fadvise64.c: Likewise.
12077 * io/posix_fallocate.c: Likewise.
12078 * io/posix_fallocate64.c: Likewise.
12079 * io/read.c: Likewise.
12080 * io/readlink.c: Likewise.
12081 * io/readlinkat.c: Likewise.
12082 * io/rmdir.c: Likewise.
12083 * io/sendfile.c: Likewise.
12084 * io/sendfile64.c: Likewise.
12085 * io/statfs.c: Likewise.
12086 * io/statfs64.c: Likewise.
12087 * io/statvfs.c: Likewise.
12088 * io/statvfs64.c: Likewise.
12089 * io/symlink.c: Likewise.
12090 * io/symlinkat.c: Likewise.
12091 * io/ttyname.c: Likewise.
12092 * io/ttyname_r.c: Likewise.
12093 * io/umask.c: Likewise.
12094 * io/unlink.c: Likewise.
12095 * io/unlinkat.c: Likewise.
12096 * io/utime.c: Likewise.
12097 * io/utimensat.c: Likewise.
12098 * io/write.c: Likewise.
12099 * io/xmknod.c: Likewise.
12100 * io/xmknodat.c: Likewise.
12101 * io/xstat.c: Likewise.
12102 * io/xstat64.c: Likewise.
12103 * login/getpt.c: Likewise.
12104 * login/grantpt.c: Likewise.
12105 * login/unlockpt.c: Likewise.
12106 * math/e_acoshl.c: Likewise.
12107 * math/e_acosl.c: Likewise.
12108 * math/e_asinl.c: Likewise.
12109 * math/e_atan2l.c: Likewise.
12110 * math/e_atanhl.c: Likewise.
12111 * math/e_coshl.c: Likewise.
12112 * math/e_expl.c: Likewise.
12113 * math/e_fmodl.c: Likewise.
12114 * math/e_gammal_r.c: Likewise.
12115 * math/e_hypotl.c: Likewise.
12116 * math/e_j0l.c: Likewise.
12117 * math/e_j1l.c: Likewise.
12118 * math/e_jnl.c: Likewise.
12119 * math/e_lgammal_r.c: Likewise.
12120 * math/e_log10l.c: Likewise.
12121 * math/e_log2l.c: Likewise.
12122 * math/e_logl.c: Likewise.
12123 * math/e_powl.c: Likewise.
12124 * math/e_rem_pio2l.c: Likewise.
12125 * math/e_sinhl.c: Likewise.
12126 * math/e_sqrtl.c: Likewise.
12127 * math/fclrexcpt.c: Likewise.
12128 * math/fedisblxcpt.c: Likewise.
12129 * math/feenablxcpt.c: Likewise.
12130 * math/fegetenv.c: Likewise.
12131 * math/fegetexcept.c: Likewise.
12132 * math/fegetround.c: Likewise.
12133 * math/feholdexcpt.c: Likewise.
12134 * math/fesetenv.c: Likewise.
12135 * math/fesetround.c: Likewise.
12136 * math/feupdateenv.c: Likewise.
12137 * math/fgetexcptflg.c: Likewise.
12138 * math/fraiseexcpt.c: Likewise.
12139 * math/fsetexcptflg.c: Likewise.
12140 * math/ftestexcept.c: Likewise.
12141 * math/k_cosl.c: Likewise.
12142 * math/k_rem_pio2l.c: Likewise.
12143 * math/k_sinl.c: Likewise.
12144 * math/k_tanl.c: Likewise.
12145 * math/s_asinhl.c: Likewise.
12146 * math/s_atanl.c: Likewise.
12147 * math/s_cbrtl.c: Likewise.
12148 * math/s_erfl.c: Likewise.
12149 * math/s_expm1l.c: Likewise.
12150 * math/s_log1pl.c: Likewise.
12151 * math/s_tanhl.c: Likewise.
12152 * misc/acct.c: Likewise.
12153 * misc/brk.c: Likewise.
12154 * misc/chflags.c: Likewise.
12155 * misc/chroot.c: Likewise.
12156 * misc/fchflags.c: Likewise.
12157 * misc/fgetxattr.c: Likewise.
12158 * misc/flistxattr.c: Likewise.
12159 * misc/fremovexattr.c: Likewise.
12160 * misc/fsetxattr.c: Likewise.
12161 * misc/fsync.c: Likewise.
12162 * misc/ftruncate.c: Likewise.
12163 * misc/futimes.c: Likewise.
12164 * misc/futimesat.c: Likewise.
12165 * misc/getdomain.c: Likewise.
12166 * misc/getdtsz.c: Likewise.
12167 * misc/gethostid.c: Likewise.
12168 * misc/gethostname.c: Likewise.
12169 * misc/getloadavg.c: Likewise.
12170 * misc/getpagesize.c: Likewise.
12171 * misc/getsysstats.c: Likewise.
12172 * misc/getxattr.c: Likewise.
12173 * misc/gtty.c: Likewise.
12174 * misc/ioctl.c: Likewise.
12175 * misc/lgetxattr.c: Likewise.
12176 * misc/listxattr.c: Likewise.
12177 * misc/llistxattr.c: Likewise.
12178 * misc/lremovexattr.c: Likewise.
12179 * misc/lsetxattr.c: Likewise.
12180 * misc/lutimes.c: Likewise.
12181 * misc/madvise.c: Likewise.
12182 * misc/mincore.c: Likewise.
12183 * misc/mlock.c: Likewise.
12184 * misc/mlockall.c: Likewise.
12185 * misc/mmap.c: Likewise.
12186 * misc/mprotect.c: Likewise.
12187 * misc/msync.c: Likewise.
12188 * misc/munlock.c: Likewise.
12189 * misc/munlockall.c: Likewise.
12190 * misc/munmap.c: Likewise.
12191 * misc/preadv.c: Likewise.
12192 * misc/preadv64.c: Likewise.
12193 * misc/ptrace.c: Likewise.
12194 * misc/pwritev.c: Likewise.
12195 * misc/pwritev64.c: Likewise.
12196 * misc/readv.c: Likewise.
12197 * misc/reboot.c: Likewise.
12198 * misc/remap_file_pages.c: Likewise.
12199 * misc/removexattr.c: Likewise.
12200 * misc/revoke.c: Likewise.
12201 * misc/select.c: Likewise.
12202 * misc/setdomain.c: Likewise.
12203 * misc/setegid.c: Likewise.
12204 * misc/seteuid.c: Likewise.
12205 * misc/sethostid.c: Likewise.
12206 * misc/sethostname.c: Likewise.
12207 * misc/setregid.c: Likewise.
12208 * misc/setreuid.c: Likewise.
12209 * misc/setxattr.c: Likewise.
12210 * misc/sstk.c: Likewise.
12211 * misc/stty.c: Likewise.
12212 * misc/swapoff.c: Likewise.
12213 * misc/swapon.c: Likewise.
12214 * misc/sync.c: Likewise.
12215 * misc/syncfs.c: Likewise.
12216 * misc/syscall.c: Likewise.
12217 * misc/truncate.c: Likewise.
12218 * misc/ualarm.c: Likewise.
12219 * misc/usleep.c: Likewise.
12220 * misc/ustat.c: Likewise.
12221 * misc/utimes.c: Likewise.
12222 * misc/vhangup.c: Likewise.
12223 * misc/writev.c: Likewise.
12224 * posix/_exit.c: Likewise.
12225 * posix/alarm.c: Likewise.
12226 * posix/execve.c: Likewise.
12227 * posix/fexecve.c: Likewise.
12228 * posix/fork.c: Likewise.
12229 * posix/fpathconf.c: Likewise.
12230 * posix/getaddrinfo.c: Likewise.
12231 * posix/getegid.c: Likewise.
12232 * posix/geteuid.c: Likewise.
12233 * posix/getgid.c: Likewise.
12234 * posix/getgroups.c: Likewise.
12235 * posix/getlogin.c: Likewise.
12236 * posix/getlogin_r.c: Likewise.
12237 * posix/getpgid.c: Likewise.
12238 * posix/getpid.c: Likewise.
12239 * posix/getppid.c: Likewise.
12240 * posix/getresgid.c: Likewise.
12241 * posix/getresuid.c: Likewise.
12242 * posix/getsid.c: Likewise.
12243 * posix/getuid.c: Likewise.
12244 * posix/glob64.c: Likewise.
12245 * posix/nanosleep.c: Likewise.
12246 * posix/pathconf.c: Likewise.
12247 * posix/pause.c: Likewise.
12248 * posix/posix_madvise.c: Likewise.
12249 * posix/pread.c: Likewise.
12250 * posix/pread64.c: Likewise.
12251 * posix/pwrite.c: Likewise.
12252 * posix/pwrite64.c: Likewise.
12253 * posix/sched_getaffinity.c: Likewise.
12254 * posix/sched_getp.c: Likewise.
12255 * posix/sched_gets.c: Likewise.
12256 * posix/sched_primax.c: Likewise.
12257 * posix/sched_primin.c: Likewise.
12258 * posix/sched_rr_gi.c: Likewise.
12259 * posix/sched_setaffinity.c: Likewise.
12260 * posix/sched_setp.c: Likewise.
12261 * posix/sched_sets.c: Likewise.
12262 * posix/sched_yield.c: Likewise.
12263 * posix/setgid.c: Likewise.
12264 * posix/setlogin.c: Likewise.
12265 * posix/setpgid.c: Likewise.
12266 * posix/setresgid.c: Likewise.
12267 * posix/setresuid.c: Likewise.
12268 * posix/setsid.c: Likewise.
12269 * posix/setuid.c: Likewise.
12270 * posix/sleep.c: Likewise.
12271 * posix/spawni.c: Likewise.
12272 * posix/sysconf.c: Likewise.
12273 * posix/times.c: Likewise.
12274 * posix/wait.c: Likewise.
12275 * posix/wait3.c: Likewise.
12276 * posix/wait4.c: Likewise.
12277 * posix/waitpid.c: Likewise.
12278 * resolv/gai_sigqueue.c: Likewise.
12279 * resource/getpriority.c: Likewise.
12280 * resource/getrlimit.c: Likewise.
12281 * resource/getrusage.c: Likewise.
12282 * resource/nice.c: Likewise.
12283 * resource/setpriority.c: Likewise.
12284 * resource/setrlimit.c: Likewise.
12285 * resource/ulimit.c: Likewise.
12286 * rt/aio_cancel.c: Likewise.
12287 * rt/aio_fsync.c: Likewise.
12288 * rt/aio_read.c: Likewise.
12289 * rt/aio_sigqueue.c: Likewise.
12290 * rt/aio_suspend.c: Likewise.
12291 * rt/aio_write.c: Likewise.
12292 * rt/clock_getres.c: Likewise.
12293 * rt/clock_gettime.c: Likewise.
12294 * rt/clock_nanosleep.c: Likewise.
12295 * rt/clock_settime.c: Likewise.
12296 * rt/lio_listio.c: Likewise.
12297 * rt/mq_close.c: Likewise.
12298 * rt/mq_getattr.c: Likewise.
12299 * rt/mq_notify.c: Likewise.
12300 * rt/mq_open.c: Likewise.
12301 * rt/mq_receive.c: Likewise.
12302 * rt/mq_send.c: Likewise.
12303 * rt/mq_setattr.c: Likewise.
12304 * rt/mq_timedreceive.c: Likewise.
12305 * rt/mq_timedsend.c: Likewise.
12306 * rt/mq_unlink.c: Likewise.
12307 * rt/shm_open.c: Likewise.
12308 * rt/shm_unlink.c: Likewise.
12309 * rt/timer_create.c: Likewise.
12310 * rt/timer_delete.c: Likewise.
12311 * rt/timer_getoverr.c: Likewise.
12312 * rt/timer_gettime.c: Likewise.
12313 * rt/timer_settime.c: Likewise.
12314 * setjmp/__longjmp.c: Likewise.
12315 * setjmp/setjmp.c: Likewise.
12316 * signal/kill.c: Likewise.
12317 * signal/killpg.c: Likewise.
12318 * signal/raise.c: Likewise.
12319 * signal/sigaction.c: Likewise.
12320 * signal/sigaltstack.c: Likewise.
12321 * signal/sigblock.c: Likewise.
12322 * signal/sigignore.c: Likewise.
12323 * signal/sigintr.c: Likewise.
12324 * signal/signal.c: Likewise.
12325 * signal/sigpause.c: Likewise.
12326 * signal/sigpending.c: Likewise.
12327 * signal/sigqueue.c: Likewise.
12328 * signal/sigreturn.c: Likewise.
12329 * signal/sigset.c: Likewise.
12330 * signal/sigsetmask.c: Likewise.
12331 * signal/sigstack.c: Likewise.
12332 * signal/sigsuspend.c: Likewise.
12333 * signal/sigtimedwait.c: Likewise.
12334 * signal/sigvec.c: Likewise.
12335 * signal/sigwait.c: Likewise.
12336 * signal/sigwaitinfo.c: Likewise.
12337 * signal/sysv_signal.c: Likewise.
12338 * socket/accept.c: Likewise.
12339 * socket/accept4.c: Likewise.
12340 * socket/bind.c: Likewise.
12341 * socket/connect.c: Likewise.
12342 * socket/getpeername.c: Likewise.
12343 * socket/getsockname.c: Likewise.
12344 * socket/getsockopt.c: Likewise.
12345 * socket/isfdtype.c: Likewise.
12346 * socket/listen.c: Likewise.
12347 * socket/recv.c: Likewise.
12348 * socket/recvfrom.c: Likewise.
12349 * socket/recvmsg.c: Likewise.
12350 * socket/send.c: Likewise.
12351 * socket/sendmsg.c: Likewise.
12352 * socket/sendto.c: Likewise.
12353 * socket/setsockopt.c: Likewise.
12354 * socket/shutdown.c: Likewise.
12355 * socket/sockatmark.c: Likewise.
12356 * socket/socket.c: Likewise.
12357 * socket/socketpair.c: Likewise.
12358 * stdio-common/ctermid.c: Likewise.
12359 * stdio-common/cuserid.c: Likewise.
12360 * stdio-common/remove.c: Likewise.
12361 * stdio-common/rename.c: Likewise.
12362 * stdio-common/renameat.c: Likewise.
12363 * stdio-common/tempname.c: Likewise.
12364 * stdlib/getcontext.c: Likewise.
12365 * stdlib/makecontext.c: Likewise.
12366 * stdlib/setcontext.c: Likewise.
12367 * stdlib/swapcontext.c: Likewise.
12368 * stdlib/system.c: Likewise.
12369 * streams/fattach.c: Likewise.
12370 * streams/fdetach.c: Likewise.
12371 * streams/getmsg.c: Likewise.
12372 * streams/getpmsg.c: Likewise.
12373 * streams/putmsg.c: Likewise.
12374 * streams/putpmsg.c: Likewise.
12375 * sysdeps/unix/bsd/getpt.c: Likewise.
12376 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12377 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12378 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12380 Likewise.
12381 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12382 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12383 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12384 * sysvipc/msgctl.c: Likewise.
12385 * sysvipc/msgget.c: Likewise.
12386 * sysvipc/msgrcv.c: Likewise.
12387 * sysvipc/msgsnd.c: Likewise.
12388 * sysvipc/semctl.c: Likewise.
12389 * sysvipc/semget.c: Likewise.
12390 * sysvipc/semop.c: Likewise.
12391 * sysvipc/semtimedop.c: Likewise.
12392 * sysvipc/shmat.c: Likewise.
12393 * sysvipc/shmctl.c: Likewise.
12394 * sysvipc/shmdt.c: Likewise.
12395 * sysvipc/shmget.c: Likewise.
12396 * termios/tcdrain.c: Likewise.
12397 * termios/tcflow.c: Likewise.
12398 * termios/tcflush.c: Likewise.
12399 * termios/tcgetattr.c: Likewise.
12400 * termios/tcgetpgrp.c: Likewise.
12401 * termios/tcsendbrk.c: Likewise.
12402 * termios/tcsetattr.c: Likewise.
12403 * termios/tcsetpgrp.c: Likewise.
12404 * time/adjtime.c: Likewise.
12405 * time/clock.c: Likewise.
12406 * time/getitimer.c: Likewise.
12407 * time/gettimeofday.c: Likewise.
12408 * time/setitimer.c: Likewise.
12409 * time/settimeofday.c: Likewise.
12410 * time/stime.c: Likewise.
12411 * time/time.c: Likewise.
12412
124132012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12414
a20492cf
PT
12415 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12416 /usr/old/bin.
12417
72e182e3
PT
12418 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12419 instead of spaces.
12420 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12421
fbeafede
JM
124222012-11-03 Joseph Myers <joseph@codesourcery.com>
12423
5b5b04d6
JM
12424 [BZ #14796]
12425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12426 FE_TONEAREST before applying Dekker multiplication and Knuth
12427 addition. Clear inexact exceptions and check for exact zero
12428 results afterwards.
12429 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12430 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12431 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12432 * math/libm-test.inc (fma_test): Add more tests.
12433 (fma_test_towardzero): Likewise.
12434 (fma_test_downward): Likewise.
12435 (fma_test_upward): Likewise.
12436 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12437 function.
12438 (libc_fesetround): New macro.
12439 (libc_fesetroundf): Likewise.
12440 (libc_fesetroundl): Likewise.
12441 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12442 function.
12443 (libc_fesetround_387): Likewise.
12444 (libc_fesetroundf): New macro.
12445 (libc_fesetround): Likewise.
12446 (libc_fesetroundl): Likewise.
12447 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12448 function.
12449 (libc_fesetroundf): New macro.
12450 (libc_fesetround): Likewise.
12451 (libc_fesetroundl): Likewise.
12452 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12453 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12454 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12455 libm_hidden_ver.
12456 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12457 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12458 libm_hidden_def.
12459 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12460 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12461 libm_hidden_ver.
12462 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12463 libm_hidden_def.
12464
fbeafede
JM
12465 [BZ #3439]
12466 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12467 integer constant usable in #if and use that to give value to enum
12468 constant.
12469 (FE_DIVBYZERO): Likewise.
12470 (FE_UNDERFLOW): Likewise.
12471 (FE_OVERFLOW): Likewise.
12472 (FE_INVALID): Likewise.
12473 (FE_INVALID_SNAN): Likewise.
12474 (FE_INVALID_ISI): Likewise.
12475 (FE_INVALID_IDI): Likewise.
12476 (FE_INVALID_ZDZ): Likewise.
12477 (FE_INVALID_IMZ): Likewise.
12478 (FE_INVALID_COMPARE): Likewise.
12479 (FE_INVALID_SOFTWARE): Likewise.
12480 (FE_INVALID_SQRT): Likewise.
12481 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12482 (FE_TONEAREST): Likewise.
12483 (FE_TOWARDZERO): Likewise.
12484 (FE_UPWARD): Likewise.
12485 (FE_DOWNWARD): Likewise.
12486 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12487 (FE_DIVBYZERO): Likewise.
12488 (FE_OVERFLOW): Likewise.
12489 (FE_UNDERFLOW): Likewise.
12490 (FE_INEXACT): Likewise.
12491 (FE_TONEAREST): Likewise.
12492 (FE_DOWNWARD): Likewise.
12493 (FE_UPWARD): Likewise.
12494 (FE_TOWARDZERO): Likewise.
12495 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12496 (FE_UNDERFLOW): Likewise.
12497 (FE_OVERFLOW): Likewise.
12498 (FE_DIVBYZERO): Likewise.
12499 (FE_INVALID): Likewise.
12500 (FE_TONEAREST): Likewise.
12501 (FE_TOWARDZERO): Likewise.
12502 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12503 (FE_OVERFLOW): Likewise.
12504 (FE_UNDERFLOW): Likewise.
12505 (FE_DIVBYZERO): Likewise.
12506 (FE_INEXACT): Likewise.
12507 (FE_TONEAREST): Likewise.
12508 (FE_TOWARDZERO): Likewise.
12509 (FE_UPWARD): Likewise.
12510 (FE_DOWNWARD): Likewise.
12511 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12512 (FE_DIVBYZERO): Likewise.
12513 (FE_OVERFLOW): Likewise.
12514 (FE_UNDERFLOW): Likewise.
12515 (FE_INEXACT): Likewise.
12516 (FE_TONEAREST): Likewise.
12517 (FE_DOWNWARD): Likewise.
12518 (FE_UPWARD): Likewise.
12519 (FE_TOWARDZERO): Likewise.
12520
105ca950
CM
125212012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12522
12523 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12524
a542b389
AS
125252012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12526
12527 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12528 commands. Quote $PWD.
12529 (blacklist_exports): Don't use remove_newlines. Replace "declare
12530 -x" by "export".
12531 (remove_newlines): Remove.
12532
f62c8abc
L
125332012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12534
12535 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12536 * stdlib/stdlib.h (atof): Moved to ...
12537 * include/bits/stdlib-float.h: Here. New file.
12538 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12539 * stdlib/bits/stdlib-float.h: New file.
12540 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12541 -mno-sse -mno-mmx.
12542 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12543 <xmmintrin.h>.
12544
0155d5b2
JM
125452012-11-02 Joseph Myers <joseph@codesourcery.com>
12546
a68d0680
JM
12547 * conform/conformtest.pl (@headers): Add fenv.h.
12548 * conform/data/fenv.h-data: New file.
12549 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12550 include of <math/fenv.h>.
12551
caf7f573
JM
12552 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12553 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12554 && !UNIX98]. Enables tests for XOPEN2K8.
12555 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12556 POSIX2008]: Likewise.
12557
6c073ad6
JM
12558 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12559 (struct rusage): Do not expect type or its members.
12560
0155d5b2
JM
12561 [BZ #3439]
12562 * math/math.h (FP_NAN): Define macro to integer constant usable in
12563 #if and use that to give value to enum constant.
12564 (FP_INFINITE): Likewise.
12565 (FP_ZERO): Likewise.
12566 (FP_SUBNORMAL): Likewise.
12567 (FP_NORMAL): Likewise.
12568
b5dcacb4
AS
125692012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12570
12571 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12572 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12573 arguments.
12574
f7934be8
RM
125752012-11-02 Roland McGrath <roland@hack.frob.com>
12576
12577 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12578 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12579 autoconf-time if not.
12580 * configure.in: Remove AC_PREREQ.
12581
d7d08bde
TMQMF
125822012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12583
12584 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12585 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12586 of the internal implementation.
12587
dcdae19a
JM
125882012-11-02 Joseph Myers <joseph@codesourcery.com>
12589
12590 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12591 except include of <misc/sys/syslog.h>.
12592
d6cffd3e
AS
125932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12594
12595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12596 function returns with a NULL context exit with zero.
12597
b3563932
TMQMF
125982012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12599
12600 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12601
b288a93d
L
126022012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12603
12604 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12605 (run_program_cmd): This.
12606 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12607 (tst_langinfo): New variable. Use it.
12608
a2421a68
SAS
126092012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12610
12611 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12612 floating point opcodes.
12613
6f796e1b
TS
126142012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12615
7402596b
TS
12616 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12617 variable.
12618
d0d4f868
TS
12619 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12620
6f796e1b
TS
12621 * sysdeps/mach/hurd/powerpc: Remove directory.
12622 * sysdeps/mach/powerpc: Likewise.
12623
4da224a2
AS
126242012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12625
12626 * scripts/check-local-headers.sh: Ignore c++ headers.
12627
341dd673
TS
126282012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12629
12630 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12631 __libc_cleanup_region_start argument.
12632
473611b2
JM
126332012-11-01 Joseph Myers <joseph@codesourcery.com>
12634
12635 [BZ #14784]
12636 [BZ #14785]
12637 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12638 x * y using scaling, not as x * y + z.
12639 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12640 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12641 * math/libm-test.inc (fma_test): Add more tests.
12642 (fma_test_towardzero): Likewise.
12643 (fma_test_downward): Likewise.
12644 (fma_test_upward): Likewise.
12645
4078da3d
TS
126462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12647
12648 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12649
903252aa
JM
126502012-10-31 Joseph Myers <joseph@codesourcery.com>
12651
12652 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12653 New variable.
12654
cbc818d0
TS
126552012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12656
12657 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12658
5a03cb1e
AS
126592012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12660
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12662 Fix sort order.
12663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12664 Likewise.
12665
90aff2ff
TMQMF
126662012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12667
12668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12669 Fix the order of the list for glibc 2.17.
12670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12671 Likewise.
12672
1818fcb7
AS
126732012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12674
12675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12676
ef82f4da
JM
126772012-10-31 Joseph Myers <joseph@codesourcery.com>
12678
16a0e2ec
JM
12679 [BZ #14610]
12680 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12681 for low part of x being zero before using __atanl (y).
12682 * math/libm-test.inc (atan2_test): Add another test.
12683
0eb69512
JM
12684 * manual/install.texi (Configuring and compiling): Document
12685 general use of test-wrapper and test-wrapper-env.
12686 * INSTALL: Regenerated.
12687
ef82f4da
JM
12688 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12689 (__fma): Do not extract and scale down low bits on after-rounding
12690 systems when result rounded to normal precision would have normal
12691 exponent.
12692 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12693 (__fmal): Do not extract and scale down low bits on after-rounding
12694 systems when result rounded to normal precision would have normal
12695 exponent.
12696 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12697 (__fmal): Do not extract and scale down low bits on after-rounding
12698 systems when result rounded to normal precision would have normal
12699 exponent.
12700 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12701 macro.
12702 (fma_test): Add more tests.
12703 (fma_test_towardzero): Likewise.
12704 (fma_test_downward): Likewise.
12705 (fma_test_upward): Likewise.
12706
954ef0d9
L
127072012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12708
12709 * sysdeps/i386/tininess.h: Renamed to ...
12710 * sysdeps/x86/tininess.h: This.
12711 * sysdeps/x86_64/tininess.h: Removed.
12712
df61ffb2
JM
127132012-10-30 Joseph Myers <joseph@codesourcery.com>
12714
12715 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12716 input. Use $(build-program-cmd).
12717 ($(objpfx)tst-array1-static.out): Likewise.
12718 ($(objpfx)tst-array2.out): Likewise.
12719 ($(objpfx)tst-array3.out): Likewise.
12720 ($(objpfx)tst-array4.out): Likewise.
12721 ($(objpfx)tst-array5.out): Likewise.
12722 ($(objpfx)tst-array5-static.out): Likewise.
12723
01767843
CM
127242012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12725
47cc1490
CM
12726 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12727 if defined.
12728
01767843
CM
12729 * nss/nsswitch.h (nss_interface_function): Provide new
12730 macro for use with NSS functions.
12731 * grp/initgroups.c: Use new macro.
12732 * nss/getXXbyYY.c: Likewise.
12733 * nss/getXXbyYY_r.c: Likewise.
12734 * nss/getXXent.c: Likewise.
12735 * nss/getXXent_r.c: Likewise.
12736 * sysdeps/posix/getaddrinfo.c: Likewise.
12737
8321aa97
AJ
127382012-10-30 Andreas Jaeger <aj@suse.de>
12739
12740 * po/ru.po: Update Russion translation from translation project.
12741
2a27fd6d
JM
127422012-10-30 Joseph Myers <joseph@codesourcery.com>
12743
8627a232
JM
12744 [BZ #14152]
12745 [BZ #14783]
12746 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12747 result and shift together with sticky bit instead of replicating
12748 round-to-nearest rounding.
12749 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12750 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12751 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12752 missing underflow exceptions.
12753 (fma_test_towardzero): Add more tests.
12754 (fma_test_downward): Likewise.
12755 (fma_test_upward): Likewise.
12756
2a27fd6d
JM
12757 [BZ #14047]
12758 * sysdeps/generic/tininess.h: New file.
12759 * sysdeps/i386/tininess.h: Likewise.
12760 * sysdeps/sh/tininess.h: Likewise.
12761 * sysdeps/x86_64/tininess.h: Likewise.
12762 * stdlib/tst-strtod-underflow.c: Likewise.
12763 * stdlib/tst-tininess.c: Likewise.
12764 * stdlib/strtod_l.c: Include <tininess.h>.
12765 (round_and_return): Do not set errno for exact underflow cases.
12766 Force an underflow exception when setting errno for underflow.
12767 Determine underflow based on rounding to normal precision if
12768 TININESS_AFTER_ROUNDING.
12769 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12770 ERANGE for exact underflow cases.
12771 * stdlib/Makefile (tests): Add tst-tininess and
12772 tst-strtod-underflow.
12773 ($(objpfx)tst-tininess): Use $(link-libm).
12774 ($(objpfx)tst-strtod-underflow): Likewise.
12775
e7170363
AJ
127762012-10-30 Andreas Jaeger <aj@suse.de>
12777
e5088dc6
AJ
12778 [BZ#14767]
12779 * elf/Makefile (tests): Remove conditional for have-initfini-array
12780 since this is now always required and the variable does not exist
12781 anymore.
12782 (tests-static): Likewise.
12783 (modules-names): Likewise.
12784
e7170363 12785 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12786
12787 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12788 merged with constructor/destructor.
12789 (init_array): Likewise.
12790 * elf/tst-array2dep.c (fini_array): Likewise.
12791 (init_array): Likewise.
12792
60457d8a
MF
127932012-10-29 Mike Frysinger <vapier@gentoo.org>
12794
12795 * manual/message.texi: Delete @cartouche tags.
12796
8bece752
PT
127972012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12798
94ce799f
PT
12799 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12800 EOPNOTSUPP.
12801 * sysdeps/mach/hurd/fsync.c: Likewise.
12802
8bece752
PT
12803 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12804 [_POSIX_REALTIME_SIGNALS]: Change condition to
12805 [_POSIX_REALTIME_SIGNALS > 0].
12806
86ebe6b1
AJ
128072012-10-27 Andreas Jaeger <aj@suse.de>
12808
12809 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12810 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12811 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12812 [__WORDSIZE != 64]: Likewise.
12813
54399c08
L
128142012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12815
12816 * iconvdata/tst-table.sh: Remove ${SHELL}.
12817 * iconvdata/tst-tables.sh: Likewise.
12818
e2211bed
DM
128192012-10-25 David S. Miller <davem@davemloft.net>
12820
12821 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12822 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12823 of strtoull.
12824
f303f97c
DM
12825 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12826 ifunc-impl-list.c
12827 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12828 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12829 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12830 file.
12831
1e9d84cd
RM
128322012-10-25 Roland McGrath <roland@hack.frob.com>
12833
12834 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12835 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12836 __getdirentries.
12837
df381762
JM
128382012-10-25 Joseph Myers <joseph@codesourcery.com>
12839 Jim Blandy <jimb@codesourcery.com>
12840
12841 * scripts/cross-test-ssh.sh: New file.
12842 * manual/install.texi (Configuring and compiling): Document use of
12843 cross-test-ssh.sh.
12844 * INSTALL: Regenerated.
12845
bff64913
PT
128462012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12847
12848 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12849 EOPNOTSUPP.
12850
25fe8932
JM
128512012-10-25 Joseph Myers <joseph@codesourcery.com>
12852
12853 * Makeconfig (run-program-prefix): Fix comment.
12854
cc1290d0
JM
128552012-10-24 Joseph Myers <joseph@codesourcery.com>
12856 Jim Blandy <jimb@codesourcery.com>
12857
12858 * Makeconfig (test-wrapper): New variable,
12859 (test-wrapper-env): Likewise.
12860 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12861 (run-built-tests): Define to yes.
12862 (run-program-prefix): Use $(test-wrapper).
12863 (built-program-cmd): Likewise.
12864 * Rules (make-test-out): Use $(test-wrapper-env) and
12865 $(host-built-program-cmd).
12866 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12867 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12868 tst-pathopt.sh.
12869 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12870 $(test-wrapper-env) to tst-rtld-load-self.sh.
12871 ($(objpfx)order2.out): Use $(test-wrapper).
12872 ($(objpfx)tst-initorder.out): Likewise.
12873 ($(objpfx)tst-initorder2.out): Likewise.
12874 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12875 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12876 (test_wrapper_env): New variable. Use it to run ld.so.
12877 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12878 Use it to run ld.so.
12879 (test_wrapper_env): Likewise.
12880 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12881 $(test-wrapper) to run-iconv-test.sh.
12882 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12883 (ICONV): Use $test_wrapper.
12884 * posix/Makefile ($(objpfx)globtest.out): Pass
12885 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12886 globtest.sh, not $(run-program-prefix).
12887 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12888 (test_wrapper): Likewise.
12889 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12890 set together with run_via_rtld_prefix.
12891 (run_program_prefix): Define in terms of test_wrapper and
12892 run_via_rtld_prefix.
12893
6e6249d0
RM
128942012-10-24 Roland McGrath <roland@hack.frob.com>
12895
12896 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12897 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12898 Targets removed.
12899
12900 [BZ #14743]
12901 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12902 Declare __clock_getres, __clock_gettime, __clock_settime,
12903 __clock_nanosleep, and __clock_getcpuclockid.
12904 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12905 Remove librt_hidden_def (clock_gettime).
12906 * sysdeps/unix/clock_gettime.c: Likewise.
12907 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12908 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12909 * rt/clock_getres.c: Define __clock_getres as an alias.
12910 * sysdeps/posix/clock_getres.c: Likewise.
12911 * rt/clock_settime.c: Define __clock_settime as an alias.
12912 * sysdeps/unix/clock_settime.c: Likewise.
12913 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12914 * sysdeps/unix/clock_nanosleep.c: Likewise.
12915 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12916 * rt/clock-compat.c: New file.
12917 * rt/Makefile (librt-routines): Add clock-compat and move
12918 $(clock-routines) to ...
12919 (routines): ... here, new variable.
12920 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12921 Don't add get_clockfreq here.
12922 * rt/Versions (libc: GLIBC_2.17): New version set.
12923 Add clock_* symbols here.
12924 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12925 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12926 (GLIBC_2.17): Add clock_* symbols.
12927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12929 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12931 Likewise.
12932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12933 Likewise.
12934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12938 * NEWS: Mention the move.
12939
12940 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12941 Use __open, __read, __close rather than their public counterparts.
12942 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12943 (__get_clockfreq_via_cpuinfo): Likewise.
12944 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12945 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12946
12947 * config.h.in (HAVE_IFUNC): New #undef.
12948 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12949 was successful.
12950 * configure: Regenerated.
12951
0cae3f4b
MF
129522012-10-24 Mike Frysinger <vapier@gentoo.org>
12953
12954 * configure.in: Move READELF check to start of file.
12955 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12956 libc_cv_asm_gnu_indirect_function in the process.
12957 * configure: Regenerated.
12958
8175a253
MF
129592012-10-24 Mike Frysinger <vapier@gentoo.org>
12960
12961 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12962 send the output to /dev/null.
12963 (libc_cv_cc_with_libunwind): Likewise.
12964 (libc_cv_as_noexecstack): Likewise.
12965 * configure: Regenerate.
12966
0708a7d1
JM
129672012-10-24 Joseph Myers <joseph@codesourcery.com>
12968
10b40d85
JM
12969 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12970
0708a7d1
JM
12971 * posix/globtest.sh (TMPDIR): Do not set.
12972 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12973 (testout): Likewise.
12974
9fddec1a
AJ
129752012-10-24 Andreas Jaeger <aj@suse.de>
12976
3a8db22f
AJ
12977 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12978 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12979 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12980 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12981 posix_fadvise64, posix_fallocate64.
12982
9fddec1a
AJ
12983 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12984 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12985 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12986 Likewise.
12987 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12988 Likewise.
12989 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12990
12991 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12992 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12993 <bits/fcntl-linux.h>.
12994 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12995
12996 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12997 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12998 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12999 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13000 [__WORDSIZE != 64]: Likewise.
13001
ebfd1bbd
JM
130022012-10-23 Joseph Myers <joseph@codesourcery.com>
13003
03ac099f
JM
13004 * Makeconfig (run-built-tests): New variable.
13005 * Rules [$(cross-compiling) = yes]: Change condition to
13006 [$(run-built-tests) = no].
13007 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13008 to [$(run-built-tests) = yes].
13009 * elf/Makefile [$(cross-compiling) = no]: Likewise
13010 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13011 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13012 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13013 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13014 * io/Makefile [$(cross-compiling) = no]: Likewise.
13015 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13016 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13017 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13018 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13019 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13020 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13021 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13022 * string/Makefile [$(cross-compiling) = no]: Likewise.
13023
ebfd1bbd
JM
13024 * posix/Makefile ($(objpfx)globtest.out): Pass
13025 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13026 $(rtld-installed-name).
13027 * posix/globtest.sh (elf_objpfx): Remove variable.
13028 (rtld_installed_name): Likewise.
13029 (library_path): Likewise.
13030 (run_program_prefix): New variable. Use for running globtest
13031 binary.
13032
166bca24
JB
130332012-10-23 Jim Blandy <jimb@codesourcery.com>
13034 Joseph Myers <joseph@codesourcery.com>
13035
13036 * Makeconfig (host-built-program-cmd): New variable.
13037 * elf/Makefile (tst-stackguard1-ARGS): Use
13038 $(host-built-program-cmd).
13039 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13040 (tst-spawn-ARGS): Likewise.
13041 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13042
88866099
JM
130432012-10-23 Joseph Myers <joseph@codesourcery.com>
13044 Jim Blandy <jimb@codesourcery.com>
13045
13046 * Makeconfig (run-via-rtld-prefix): New variable.
13047 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13048 (built-program-cmd): Likewise.
13049
b4b4c296
AJ
130502012-10-22 Andreas Jaeger <aj@suse.de>
13051
13052 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13053 __O_RSYNC if it exists, otherwise to O_SYNC.
13054
6fb54a22
JB
130552012-10-22 Jim Blandy <jimb@codesourcery.com>
13056 Joseph Myers <joseph@codesourcery.com>
13057
13058 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13059 /dev/null.
13060 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13061 from /dev/null
13062 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13063 /dev/null.
13064
481b90b9
AJ
130652012-10-22 Andreas Jaeger <aj@suse.de>
13066
2a0e2669
AJ
13067 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13068 Define always.
13069 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13070
76e38f9a
AJ
13071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13072 bits/fcntl-linux.h.
13073
7cd37b43
AJ
13074 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13075 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13076
481b90b9
AJ
13077 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13078 to __O_LARGEFILE.
13079 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13080 to __O_LARGEFILE.
13081
aba75984
JB
130822012-10-21 Jim Blandy <jimb@codesourcery.com>
13083 Joseph Myers <joseph@codesourcery.com>
13084
13085 * config.make.in (NM): New variable.
13086
88d4247f
AJ
130872012-10-21 Andreas Jaeger <aj@suse.de>
13088
13089 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13090 definitions and declarations that are provided by
13091 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13092
f2eed205
L
130932012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13094
13095 [BZ #14683]
13096 * elf/Makefile (tests-static): Add tst-leaks1-static.
13097 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13098 ($(objpfx)tst-leaks1-static): New rule.
13099 ($(objpfx)tst-leaks1-static-mem): Likewise.
13100 (tst-leaks1-static-ENV): New macro.
13101 * elf/dl-open.c (dl_open_worker): Check the main application
13102 only if SHARED is defined.
13103 * elf/tst-leaks1-static.c: New file.
13104
335e6931
AJ
131052012-10-20 Andreas Jaeger <aj@suse.de>
13106
13107 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13108 generic values for Linux.
13109 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13110 and declarations that are provided by <bits/fcntl-linux.h> and
13111 include <bits/fcntl-linux.h>.
13112 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13113 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13114
ac5c94d3
RM
131152012-10-20 Roland McGrath <roland@hack.frob.com>
13116
13117 * io/fcntl.h: Move include of <bits/types.h> to the top and
13118 include it unconditionally.
13119
de54b33a
L
131202012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13121
228cfb01
L
13122 * wcsmbs/Makefile (tests-ifunc): New variable.
13123 (tests): Add $(tests-ifunc).
13124 * wcsmbs/test-wcschr-ifunc.c: New file.
13125 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13126 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13127 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13128 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13129 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13130
69f07e5f
L
13131 * string/Makefile (tests-ifunc): New variable.
13132 (tests): Add $(tests-ifunc).
13133 * string/test-memccpy.c (TEST_NAME): New macro.
13134 * string/test-memchr.c (TEST_NAME): Likewise.
13135 * string/test-memcmp.c (TEST_NAME): Likewise.
13136 * string/test-memcpy.c (TEST_NAME): Likewise.
13137 * string/test-memmem.c (TEST_NAME): Likewise.
13138 * string/test-memmove.c (TEST_NAME): Likewise.
13139 * string/test-memset.c (TEST_NAME): Likewise.
13140 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13141 * string/test-stpcpy.c (TEST_NAME): Likewise.
13142 * string/test-stpncpy.c (TEST_NAME): Likewise.
13143 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13144 * string/test-strcasestr.c (TEST_NAME): Likewise.
13145 * string/test-strcat.c (TEST_NAME): Likewise.
13146 * string/test-strchr.c (TEST_NAME): Likewise.
13147 * string/test-strcmp.c(TEST_NAME): Likewise.
13148 * string/test-strcpy.c (TEST_NAME): Likewise.
13149 * string/test-strcspn.c (TEST_NAME): Likewise.
13150 * string/test-strlen.c (TEST_NAME): Likewise.
13151 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13152 * string/test-strncmp.c (TEST_NAME): Likewise.
13153 * string/test-strncpy.c (TEST_NAME): Likewise.
13154 * string/test-strnlen.c (TEST_NAME): Likewise.
13155 * string/test-strpbrk.c (TEST_NAME): Likewise.
13156 * string/test-strrchr.c (TEST_NAME): Likewise.
13157 * string/test-strspn.c (TEST_NAME): Likewise.
13158 * string/test-strstr.c (TEST_NAME): Likewise.
13159 * string/test-bcopy-ifunc.c: New file.
13160 * string/test-bzero-ifunc.c: Likewise.
13161 * string/test-memccpy-ifunc.c: Likewise.
13162 * string/test-memchr-ifunc.c: Likewise.
13163 * string/test-memcmp-ifunc.c: Likewise.
13164 * string/test-memcpy-ifunc.c: Likewise.
13165 * string/test-memmem-ifunc.c: Likewise.
13166 * string/test-memmove-ifunc.c: Likewise.
13167 * string/test-mempcpy-ifunc.c: Likewise.
13168 * string/test-memset-ifunc.c: Likewise.
13169 * string/test-rawmemchr-ifunc.c: Likewise.
13170 * string/test-stpcpy-ifunc.c: Likewise.
13171 * string/test-stpncpy-ifunc.c: Likewise.
13172 * string/test-strcasecmp-ifunc.c: Likewise.
13173 * string/test-strcasestr-ifunc.c: Likewise.
13174 * string/test-strcat-ifunc.c: Likewise.
13175 * string/test-strchr-ifunc.c: Likewise.
13176 * string/test-strchrnul-ifunc.c: Likewise.
13177 * string/test-strcmp-ifunc.c: Likewise.
13178 * string/test-strcpy-ifunc.c: Likewise.
13179 * string/test-strcspn-ifunc.c: Likewise.
13180 * string/test-strlen-ifunc.c: Likewise.
13181 * string/test-strncasecmp-ifunc.c: Likewise.
13182 * string/test-strncat-ifunc.c: Likewise.
13183 * string/test-strncmp-ifunc.c: Likewise.
13184 * string/test-strncpy-ifunc.c: Likewise.
13185 * string/test-strnlen-ifunc.c: Likewise.
13186 * string/test-strpbrk-ifunc.c: Likewise.
13187 * string/test-strrchr-ifunc.c: Likewise.
13188 * string/test-strspn-ifunc.c: Likewise.
13189 * string/test-strstr-ifunc.c: Likewise.
13190
de54b33a
L
13191 * debug/Makefile (tests-ifunc): New variable.
13192 (tests): Add $(tests-ifunc).
13193 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13194 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13195 * debug/test-stpcpy_chk-ifunc.c: New file.
13196 * debug/test-strcpy_chk-ifunc.c: Likewise.
13197
88481c16
SP
131982012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13199
13200 [BZ #13601]
13201 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13202 header is not read in.
13203
135948bd
JM
132042012-10-19 Joseph Myers <joseph@codesourcery.com>
13205
89f1c388
JM
13206 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13207 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13208 directly. Pass built executable to script as
13209 $(built-program-cmd).
13210 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13211 $testprogram without using LD_LIBRARY_PATH and $ldso.
13212
e40a0d21
JM
13213 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13214 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13215 $(rtld-installed-name).
13216 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13217 (rtld_installed_name): Likewise.
13218 (library_path): Likewise.
13219 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13220 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13221 $(run-program-prefix) to tst-tables.sh.
13222 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13223 it to run tst-table-from and tst-table-to.
13224 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13225 Pass it to tst-table.sh.
13226 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13227 $(run-program-prefix) to tst-gettext.sh.
13228 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13229 tst-translit.sh.
13230 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13231 tst-gettext2.sh.
13232 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13233 to run tst-gettext.
13234 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13235 to run tst-gettext2.
13236 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13237 to run tst-translit.
13238 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13239 $(run-program-prefix) to tst-mtrace.sh.
13240 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13241 to run tst-mtrace.
13242 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13243 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13244 $(rtld-installed-name).
13245 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13246 (rtld_installed_name): Likewise.
13247 (run_program_prefix): New variable. Use it to run wordexp-test.
13248
728e272a
JM
13249 * Makeconfig (ARCH): Remove all definitions.
13250 (machine): Likewise.
13251 [ARCH]: Remove conditional code.
13252 [!objdir]: Give error.
13253 [!objdir] (objpfx): Remove.
13254 [!objdir] (common-objpfx): Likewise.
13255 [!objdir] (common-objdir): Likewise.
13256 * configure.in (config_makefile): Remove. Hardcode Makefile in
13257 AC_CONFIG_FILES call.
13258 * configure: Regenerated.
13259
d528cdcf
JM
13260 [BZ #13888]
13261 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13262 or TMPDIR.
13263 (testout): Likewise.
13264
135948bd
JM
13265 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13266 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13267 $(rtld-installed-name).
13268 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13269 (rtld_installed_name): Likwise.
13270 (runit): Remove function.
13271 (run_getconf): New variable, Use it for running getconf binary.
13272
38c78296
L
132732012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13274
13275 [BZ #14716]
13276 * string/test-memmem.c (check_result): New function.
13277 (do_one_test): Use it.
13278 (check1): New function.
13279 (test_main): Use it.
13280
d077f65f
MT
132812012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13282
13283 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13284
ced52c71
JM
132852012-10-18 Joseph Myers <joseph@codesourcery.com>
13286
13287 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13288 (_G_LSEEK64): Likewise.
13289 (_G_MMAP64): Likewise.
13290 (_G_FSTAT64): Likewise.
13291 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13292 (_G_LSEEK64): Likewise.
13293 (_G_MMAP64): Likewise.
13294 (_G_FSTAT64): Likewise.
13295 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13296 unconditional. Call __mmap64 directly.
13297 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13298 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13299 __lseek64 directly.
13300 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13301 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13302 __mmap64 directly.
13303 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13304 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13305 __lseek64 directly.
13306 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13307 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13308 __lseek64 directly.
13309 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13310 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13311 __lseek64 directly.
13312 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13313 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13314 __fxstat64 directly.
13315 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13316 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13317 unconditional.
13318 (freopen64) [!_G_OPEN64]: Remove conditional code.
13319 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13320 unconditional.
13321 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13322 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13323 unconditional.
13324 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13325 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13326 unconditional.
13327 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13328 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13329 unconditional.
13330 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13331 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13332 unconditional.
13333 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13334 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13335 unconditional.
13336 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13337 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13338 unconditional.
13339 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13340
b741de23
SP
133412012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13342
13343 [BZ #12140]
13344 * manual/memory.texi (Malloc Tunable Parameters): Add note
13345 about free list pointers overwriting some perturb bytes.
13346 Wording suggested by Roland McGrath.
13347
f9b9d9c9
JM
133482012-10-17 Joseph Myers <joseph@codesourcery.com>
13349
13350 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13351 (lgamma_test): Likewise.
13352 (tgamma_test): Likewise.
13353
172a631a
FW
133542012-10-16 Florian Weimer <fweimer@redhat.com>
13355
13356 [BZ #14700]
13357 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13358 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13359
e9f37252
MK
133602012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13361
13362 * NEWS: Mention BZ #14716.
13363 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13364 when removing AVAILABLE1_USES_J macro.
13365
d394eb74
L
133662012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13367
13368 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13369 (__bswap_64): __uint64_t for unsigned 64-bit int.
13370
ca38dc17
AS
133712012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13372
13373 * include/string.h (memmem): Declare libc hidden alias.
13374 * string/memmem.c (memmem): Define libc hidden alias.
13375 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13376 __read, __close instead of open, read, close.
13377
9a387d1f
L
133782012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13379
ac49ecaf
L
13380 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13381 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13382 global and hidden.
13383 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13384 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13385 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13386 Likewise.
13387 (__rawmemchr_sse2): Likewise.
13388 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13389 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13390 (__strchr_sse2): Likewise.
13391 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13392 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13393 (__strcasecmp_sse2): Likewise.
13394 (__strncasecmp_sse2): Likewise.
13395 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13396 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13397 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13398 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13399 (__strrchr_sse2): Likewise.
13400 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13401 ifunc-impl-list.c.
13402 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13403 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13404 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13405 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13406 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13407 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13408 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13409 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13410 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13411 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13412 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13413 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13414 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13415 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13416 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13417 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13418 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13419 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13420 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13421 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13422 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13423 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13424 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13425 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13426 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13427 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13428 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13429 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13430 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13431 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13432
b090e8ea
L
13433 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13434 global and hidden.
13435 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13436 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13437 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13438 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13439 Likewise.
13440 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13441 Likewise.
13442 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13443 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13444 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13445 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13446 ifunc-impl-list.c.
13447 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13448 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13449 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13450 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13451 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13452 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13453 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13454 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13455 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13456 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13457 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13458 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13459 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13460 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13461 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13462 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13463 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13464 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13465 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13466 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13467 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13468 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13469 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13470 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13471 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13472 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13473 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13474 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13475 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13476 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13477 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13478 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13479 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13480 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13481 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13482 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13483 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13484 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13485 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13486 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13487 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13488
11dd4af6
L
13489 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13490 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13491 * include/ifunc-impl-list.h: New file.
13492 * misc/ifunc-impl-list.c: Likewise.
13493 * misc/Makefile (routines): Add ifunc-impl-list.
13494 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13495 * string/test-string.h: Include <ifunc-impl-list.h>.
13496 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13497 impl_array): New variables.
13498 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13499 are defined.
13500 (test_init): Call __libc_ifunc_impl_list to initialize
13501 func_list if TEST_IFUNC and TEST_NAME are defined.
13502
9a387d1f
L
13503 * string/Makefile (strop-tests): Add bcopy and bzero.
13504 * string/test-bcopy.c: New file.
13505 * string/test-bzero.c: Likewise.
13506 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13507 defined.
13508 * string/test-memset.c: Support bzero test if TEST_BZERO is
13509 defined.
13510 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13511 __libc_memmove.
13512 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13513 __libc_memset.
13514 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13515 of memset.
13516
472371b9
JM
135172012-10-10 Joseph Myers <joseph@codesourcery.com>
13518
1e4a9536
JM
13519 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13520 * configure: Regenerated.
13521
d173d12e
JM
13522 * Makeconfig (+link-static-before-libc): Don't include
13523 $(link-static-libc).
13524
472371b9
JM
13525 * libio/libio.h (_IO_pos_t): Remove.
13526
89a3ad0b
AO
135272012-10-10 Alexandre Oliva <aoliva@redhat.com>
13528
13529 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13530 McGrath.
13531
e7451425
AO
135322012-10-10 Alexandre Oliva <aoliva@redhat.com>
13533
13534 * crypt/crypt-entry.c: Include fips-private.h.
13535 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13536 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13537 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13538 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13539
4ba74a35
AO
135402012-10-10 Alexandre Oliva <aoliva@redhat.com>
13541
13542 * crypt/crypt-private.h: Include stdbool.h.
13543 (_ufc_setup_salt_r): Return bool.
13544 * crypt/crypt-entry.c: Include errno.h.
13545 (__crypt_r): Return NULL with EINVAL for bad salt.
13546 * crypt/crypt_util.c (bad_for_salt): New.
13547 (_ufc_setup_salt_r): Check that salt is long enough and within
13548 the specified alphabet.
13549 * crypt/badsalttest.c: New file.
13550 * crypt/Makefile (tests): Add it.
13551 ($(objpfx)badsalttest): New.
13552
f96f1242
MK
135532012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13554
13555 * NEWS: Add entry for BZ #14602.
13556
0e8e0c1c
JM
135572012-10-09 Joseph Myers <joseph@codesourcery.com>
13558
13559 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13560 type-generic.
13561 * math/libm-test.inc: Update comment listing what functions and
13562 macros are tested.
13563 (isgreater_test): New function.
13564 (isgreaterequal_test): Likewise.
13565 (isless_test): Likewise.
13566 (islessequal_test): Likewise.
13567 (islessgreater_test): Likewise.
13568 (isunordered_test): Likewise.
13569 (main): Call the new functions.
13570
273edc5e
RM
135712012-10-09 Roland McGrath <roland@hack.frob.com>
13572
b8493de0
RM
13573 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13574 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13575 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13576 * sysdeps/i386/configure: Regenerated.
13577 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13578 * sysdeps/mach/configure: Regenerated.
13579 * sysdeps/mach/hurd/configure: Regenerated.
13580 * sysdeps/powerpc/configure: Regenerated.
13581 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13582 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13583 * sysdeps/s390/s390-32/configure: Regenerated.
13584 * sysdeps/s390/s390-64/configure: Regenerated.
13585 * sysdeps/sh/configure: Regenerated.
13586 * sysdeps/sparc/configure: Regenerated.
13587 * sysdeps/unix/sysv/linux/configure: Regenerated.
13588 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13589 * sysdeps/x86_64/configure: Regenerated.
13590
273edc5e
RM
13591 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13592 defined. Don't check if MAP is NULL.
13593
c8450f70
JM
135942012-10-09 Joseph Myers <joseph@codesourcery.com>
13595
13596 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13597 (_G_stat64): Likewise.
13598 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13599 (_G_stat64): Likewise.
13600 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13601 instead of struct _G_stat64.
13602 * libio/fileops.c (mmap_remap_check): Likewise.
13603 (decide_maybe_mmap): Likewise.
13604 (_IO_new_file_seekoff): Likewise.
13605 (_IO_file_stat): Likewise.
13606 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13607 _G_off64_t.
13608 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13609 instead of struct _G_stat64.
13610 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13611
57e605ba
MK
136122012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13613
13614 [BZ #14602]
13615 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13616 Replace with ...
13617 (CHECK_EOL): New macro.
13618 (two_way_short_needle): Check beginning of haystack for EOL. Use
13619 CHECK_EOL.
13620 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13621 Replace with CHECK_EOL.
13622 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13623 Replace with CHECK_EOL.
13624
ef1bb361
JM
136252012-10-08 Joseph Myers <joseph@codesourcery.com>
13626
13627 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13628 type-generic.
13629 * math/libm-test.inc: Update comment listing what functions and
13630 macros are tested.
13631 (finite_test): New function.
13632 (isinf_test): Likewise.
13633 (isnan_test): Likewise.
13634 (fpclassify_test): Test subnormal input.
13635 (isfinite_test): Likewise.
13636 (isnormal_test): Likewise.
13637 (main): Call the new functions.
13638
55f11534
JN
136392012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13640
13641 [BZ #14660]
13642 * Makerules (%.dynsym): Force C locale when running
13643 $(OBJDUMP) --dynamic-syms.
13644
1ab29350
AS
136452012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13646
13647 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13648 <stdint.h>.
13649
f1ecb7ef
DM
136502012-10-06 David S. Miller <davem@davemloft.net>
13651
13652 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13653 upper 32-bits of the length value in %o2 since we use branch-on-register
13654 tests which consider the entire 64-bit register.
13655
5d41d91a
L
136562012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13657
13658 * string/test-strstr.c (check2): Add a test for page boundary.
13659
3baddb72
DM
136602012-10-05 David S. Miller <davem@davemloft.net>
13661
13662 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13663 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13664 file.
13665 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13666 sysdep_routines.
13667 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13668 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13669 and bzero when HWCAP_SPARC_CRYPTO is present.
13670
9cee5585
L
136712012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13672
d7e0dab9
L
13673 [BZ #14602]
13674 * string/test-strstr.c (check2): New function.
13675 (test_main): Call check2.
13676
03759f47
L
13677 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13678 and bug-strchr1.
13679 * string/bug-strcasestr1.c (do_test): Moved to ...
13680 * string/test-strcasestr.c (check1): Here. New function.
13681 (do_one_test): Break out result checking code into ...
13682 (check_result): This. New function.
13683 (do_one_test): Call check_result.
13684 (test_main): Call check1.
13685 * string/bug-strchr1.c (do_test): Moved to ...
13686 * string/test-strchr.c (check1): Here. New function.
13687 (do_one_test): Break out result checking code into ...
13688 (check_result): This. New function.
13689 (do_one_test): Call check_result.
13690 (test_main): Call check1.
13691 * string/bug-strstr1.c (main): Moved to ...
046f153e 13692 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13693 (do_one_test): Break out result checking code into ...
13694 (check_result): This. New function.
13695 (do_one_test): Call check_result.
13696 (test_main): Call check1.
13697 * string/bug-strcasestr1.c: Removed.
13698 * string/bug-strchr1.c: Likewise.
13699 * string/bug-strstr1.c: Likewise.
13700
53cea63e
L
13701 * elf/Makefile (dl-routines): Add hwcaps.
13702 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13703 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13704 (_dl_important_hwcaps): Moved to ...
13705 * elf/dl-hwcaps.c: Here. New file.
13706 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13707
9cee5585 13708 [BZ #14557]
bb859b06
L
13709 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13710 if IS_IN_rtld isn't defined.
13711
9cee5585
L
13712 * elf/dl-support.c (_dl_sysinfo_map): New.
13713 Include "get-dynamic-info.h" and "setup-vdso.h".
13714 (_dl_non_dynamic_init): Call setup_vdso.
13715 * elf/dynamic-link.h: Don't include <assert.h>.
13716 (elf_get_dynamic_info): Moved to ...
13717 * elf/get-dynamic-info.h: Here. New file.
13718 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13719 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13720 * elf/setup-vdso.h: Here. New file.
13721 * elf/rtld.c: Include "setup-vdso.h".
13722 (dl_main): Call setup_vdso.
13723
23c31b76
JM
137242012-10-05 Joseph Myers <joseph@codesourcery.com>
13725
28234b07
JM
13726 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13727 creal in comment listing functions tested. List finite, isinf,
13728 isnan, isless, islessequal, isgreater, isgreaterequal,
13729 islessgreater, isunordered, lgamma_r and pow10 as functions and
13730 macros not tested. Mention which functions not tested are aliases
13731 for other functions. Fix typo. Note that signs of NaNs are not
13732 tested.
13733
23c31b76
JM
13734 * scripts/config.guess: Update from config.git.
13735 * scripts/config.sub: Likewise.
13736
9043e228
RM
137372012-10-04 Roland McGrath <roland@hack.frob.com>
13738
13739 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13740 * misc/madvise.c (madvise): Renamed to __madvise.
13741 Make madvise a weak alias.
13742 * include/sys/mman.h: Declare __madvise.
13743 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13744 * sysdeps/unix/syscalls.list
13745 (madvise): Make __madvise the strong name, and madvise a weak alias.
13746 * sysdeps/unix/sysv/linux/syscalls.list
13747 (madvise, mmap): Remove redundant entries.
13748 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13749 * malloc/malloc.c (mtrim): Likewise.
13750 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13751
f57f8055
RM
137522012-10-03 Roland McGrath <roland@hack.frob.com>
13753
13754 * sysdeps/mach/hurd/dl-cache.c: File removed.
13755 * config.h.in (USE_LDCONFIG): New #undef.
13756 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13757 * configure: Regenerated.
13758 * elf/Makefile (dl-routines): Add dl-cache only under
13759 [$(use-ldconfig) = yes].
13760 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13761 cache on [USE_LDCONFIG].
13762 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13763 [USE_LDCONFIG].
13764 * elf/rtld.c (dl_main): Likewise.
13765
5bb0c10a
PT
137662012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13767
13768 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13769 _SC_LEVEL4_CACHE_LINESIZE.
13770
010188c6
RM
137712012-10-03 Roland McGrath <roland@hack.frob.com>
13772
13773 * sysdeps/unix/bsd/confstr.h: File removed.
13774
b6c5ec07
AO
137752012-10-02 Alexandre Oliva <aoliva@redhat.com>
13776
13777 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13778 sys/sdt-config.h.
13779
408223d4
RM
137802012-10-02 Roland McGrath <roland@hack.frob.com>
13781
13782 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13783 Make 'mapoff' field ElfW(Off) rather than off_t.
13784
bb9510dc
DL
137852012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13786
fc997c6e
DL
13787 * nscd/Makefile: Remove nscd-cflags and all its users.
13788 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13789 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13790
bb9510dc
DL
13791 [BZ #10631]
13792 * malloc.c (malloc_printerr): Clarify error message.
13793
05699367
L
137942012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13795
13796 [BZ #14648]
13797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13798 Set bit_FMA_Usable if FMA is supported.
13799 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13800 macro.
13801 (bit_FMA4_Usable): Updated.
13802 (index_FMA_Usable): New macro.
13803 (CPUID_FMA): Likewise
13804 (HAS_FMA): Defined with bit_FMA_Usable.
13805
51367701
RM
138062012-10-01 Roland McGrath <roland@hack.frob.com>
13807
13808 * bits/types.h (__swblk_t): Type removed.
13809 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13810 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13811 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13812 (__SWBLK_T_TYPE): Likewise.
13813 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13814 (__SWBLK_T_TYPE): Likewise.
13815 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13816 (__SWBLK_T_TYPE): Likewise.
13817 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13818 (__SWBLK_T_TYPE): Likewise.
13819
4d57bf63 138202012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13821 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13822
13823 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13824 (xdr_mapname): Use YPMAXMAP as maxsize.
13825 (xdr_peername): Use YPMAXPEER as maxsize.
13826 (xdr_keydat): Use YPAXRECORD as maxsize.
13827 (xdr_valdat): Use YPMAXRECORD as maxsize.
13828
93c65d43
RM
138292012-10-01 Roland McGrath <roland@hack.frob.com>
13830
497a03d6
RM
13831 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13832
93c65d43
RM
13833 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13834 * csu/init-first.c: ... here.
13835 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13836 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13837 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13838 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13839 * sysdeps/i386/init-first.c: File removed.
13840 * sysdeps/sh/init-first.c: File removed.
13841
bec749fd
JM
138422012-10-01 Joseph Myers <joseph@codesourcery.com>
13843
13844 [BZ #14645]
13845 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13846 if x * y might underflow to zero and z is zero.
13847 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13848 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13849 * math/libm-test.inc (min_subnorm_value): New variable.
13850 (fma_test): Add more tests.
13851 (fma_test_towardzero): Likewise.
13852 (fma_test_downward): Likewise
13853 (fma_test_upward): Likewise.
13854 (initialize): Set min_subnorm_value.
13855
8ec5b013
JM
138562012-09-29 Joseph Myers <joseph@codesourcery.com>
13857
13858 [BZ #14638]
13859 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13860 0 + 0.
13861 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13862 mode for addition resulting in exact zero.
13863 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13864 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13865 exact 0 + 0.
13866 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13867 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13868 * math/libm-test.inc (fma_test): Add more tests.
13869 (fma_test_towardzero): New function.
13870 (fma_test_downward): Likewise.
13871 (fma_test_upward): Likewise.
13872 (main): Call the new functions.
13873
b1fa802e
DM
138742012-09-28 David S. Miller <davem@davemloft.net>
13875
13876 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13877
d3b9fd9e
RM
138782012-09-28 Roland McGrath <roland@hack.frob.com>
13879
ea4d37b3
RM
13880 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13881 instead of SIGALRM.
13882
ac51c949
RM
13883 * sysdeps/gnu/_G_config.h: Moved to ...
13884 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13885 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13886 * sysdeps/generic/_G_config.h: ... here.
13887
28c195f7
RM
13888 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13889
848917f9
RM
13890 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13891
6bacf05b
RM
13892 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13893 Conditionalize target on [libnss_test1.so-version].
13894
91363dbb
RM
13895 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13896
cc87f7d8
RM
13897 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13898 (elfobjdir): Move out of conditionals.
13899
b1c608fe
RM
13900 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13901 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13902 (__nss_lookup_function): Conditionalize label remove_from_tree on
13903 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13904
1d9a6d96
DM
139052012-09-28 David S. Miller <davem@davemloft.net>
13906
13907 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13908 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13909 file.
13910 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13911 sysdep_routines.
13912 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13913 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13914 when HWCAP_SPARC_CRYPTO is present.
13915
72581615
PT
139162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13917
13918 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13919
715a900c
JL
139202012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13921
13922 [BZ #6530]
13923 * stdio-common/vfprintf.c (process_string_arg): Revert
13924 2000-07-22 change.
13925
139262011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13927
13928 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13929 for testcase.
13930 * stdio-common/tst-sprintf.c: Include <locale.h>
13931 (main): Test sprintf's handling of incomplete multibyte
13932 characters.
13933
9bac1d86
L
139342012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13935
13936 * elf/dl-runtime.c (VERSYMIDX): Removed.
13937 * elf/dl-version.c (VERSYMIDX): Likewise.
13938 * elf/do-rel.h (VERSYMIDX): Likewise.
13939 (VALIDX): Likewise.
13940 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13941 * elf/rtld.c (VALIDX): Likewise.
13942 (ADDRIDX): Likewise.
9bac1d86
L
13943 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13944 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13945 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13946 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13947 (VALIDX): Likewise.
13948 (ADDRIDX): Likewise.
9bac1d86 13949
b31606c0
PT
139502012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13951
13952 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13953
11541177
JL
139542012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13955
13956 [BZ #11438]
13957 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13958 to global scope.
13959 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13960 addresses are in the same scope as 192.0.2/24.
13961 * posix/gai.conf: Document new scope table defaults.
13962
adb26fae
SP
139632012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13964
13965 [BZ #5298]
13966 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13967 for ftell. Compute offsets from write pointers instead.
13968 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13969
4573c6b0
SP
139702012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13971
13972 [BZ #14543]
13973 * libio/Makefile (tests): New test case tst-fseek.
13974 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13975 combination works in wide mode.
13976 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13977 state when the external buffer state changes.
13978
aa9bbfe6
DM
139792012-09-27 David S. Miller <davem@davemloft.net>
13980
13981 [BZ #14376]
13982 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13983 pass reloc->r_addend in as the 'high' argument to
13984 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13985
784421e7
DM
13986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13987
c39bc8b8
PT
139882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13989
13990 * rt/tst-aio2.c: Include <pthread.h>.
13991 * rt/tst-aio3.c: Likewise.
13992
1ccc2399
SE
139932012-09-27 Steve Ellcey <sellcey@mips.com>
13994
13995 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13996
31ed4153
L
139972012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13998
25f5f885
L
13999 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14000 contents on [SHARED].
31ed4153 14001
b7bfe116
MP
140022012-09-26 Marek Polacek <polacek@redhat.com>
14003
14004 [BZ #14530]
14005 [BZ #13741]
14006 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14007 for C++ and GCC <4.3 as well as for non GCC compilers.
14008
43c4edba
MT
140092012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14010
14011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14012
6a1bf82f
RM
140132012-09-25 Roland McGrath <roland@hack.frob.com>
14014
14015 * Makefile.in (all, install): Declare with .PHONY.
14016 Reported by Michael Hope <michael.hope@linaro.org>.
14017
8ad11b9a
TMQMF
140182012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14019
14020 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14021 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14022 system header.
14023 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14024 Likewise.
14025 (sydep_routines): Add the new and the internal functions.
14026 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14027 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14029 (GLIBC_2.17): Add the new function.
14030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14031 (GLIBC_2.17): Likewise.
14032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14033 (GLIBC_2.17): Likewise.
14034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14035 (GLIBC_2.17): Likewise.
14036 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14037
7e2fca8d
AM
140382012-09-25 Alan Modra <amodra@gmail.com>
14039
14040 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14041 Add release barrier before setting once_control to say
14042 initialisation is done. Add hints on lwarx. Use macro in
14043 place of isync.
14044 (clear_once_control): Add release barrier.
14045
b87c4b24
JM
140462012-09-25 Joseph Myers <joseph@codesourcery.com>
14047
d032e0d2
JM
14048 [BZ #13629]
14049 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14050 specially.
14051 * math/s_clog10.c (__clog10): Likewise.
14052 * math/s_clog10f.c (__clog10f): Likewise.
14053 * math/s_clog10l.c (__clog10l): Likewise.
14054 * math/s_clogf.c (__clogf): Likewise.
14055 * math/s_clogl.c (__clogl): Likewise.
14056 * math/Makefile (libm-calls): Add x2y2m1.
14057 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14058 (__x2y2m1): Likewise.
14059 (__x2y2m1l): Likewise.
14060 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14061 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14062 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14063 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14064 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14065 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14066 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14067 * sysdeps/i386/fpu/libm-test-ulps: Update.
14068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14069
b87c4b24
JM
14070 [BZ #14621]
14071 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14072 int as type of variable DEPTH.
14073 (glob): Use size_t instead of int as type of variables NEWCOUNT
14074 and OLD_PATHC.
14075
6d3bf199
LD
140762012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14077
22bf5c17
LD
14078 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14079 Add s_sincosf-sse2.
14080 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14081 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14082 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14083 macros for using routine as __sincosf_ia32.
14084 Use macro for function declaration and weak_alias.
14085 * sysdeps/i386/fpu/libm-test-ulps: Update.
14086
14087 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14089
14090 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
14091 subnormal argument.
14092 * math/s_cexpf.c (__cexpf): Likewise.
14093 * math/s_csinf.c (__csinf): Likewise.
14094 * math/s_csinhf.c (__csinhf): Likewise.
14095 * math/s_ctanf.c (__ctanf): Likewise.
14096 * math/s_ctanhf.c (__ctanhf): Likewise.
14097 * math/s_ccosh.c (__ccoshf): Likewise.
14098 * math/s_cexp.c (__cexpl): Likewise.
14099 * math/s_csin.c (__csin): Likewise.
14100 * math/s_csinh.c (__csinh): Likewise.
14101 * math/s_ctan.c (__ctan): Likewise.
14102 * math/s_ctanh.c (ctanh): Likewise.
14103 * math/s_ccoshl.c (__ccoshl): Likewise.
14104 * math/s_cexpl.c (__cexpl): Likewise.
14105 * math/s_csinl.c (__csinl): Likewise.
14106 * math/s_csinhl.c (__csinhl): Likewise.
14107 * math/s_ctanl.c (__ctanl): Likewise.
14108 * math/s_ctanhl.c (__ctanhl): Likewise.
14109
203e5603
JM
141102012-09-25 Joseph Myers <joseph@codesourcery.com>
14111
14112 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14113 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14114 (_IO_off_t): Define to __off_t, not _G_off_t.
14115 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14116 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14117 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14118 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14119 type of __dummy and __dummy2 fields.
14120 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14121 (_G_ssize_t): Likewise.
14122 (_G_off_t): Likewise.
14123 (_G_pid_t): Likewise.
14124 (_G_uid_t): Likewise.
14125 (_G_wchar_t): Likewise.
14126 (_G_wint_t): Likewise.
14127 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14128 (_G_ssize_t): Likewise.
14129 (_G_off_t): Likewise.
14130 (_G_pid_t): Likewise.
14131 (_G_uid_t): Likewise.
14132 (_G_wchar_t): Likewise.
14133 (_G_wint_t): Likewise.
14134 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14135 (_G_ssize_t): Likewise.
14136 (_G_off_t): Likewise.
14137 (_G_pid_t): Likewise.
14138 (_G_uid_t): Likewise.
14139 (_G_wchar_t): Likewise.
14140 (_G_wint_t): Likewise.
14141
9fab36eb
SP
141422012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14143
14144 * malloc/arena.c: Include malloc-sysdep.h.
14145 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14146 is sufficient to shrink the heap or an unmap is needed.
14147 * sysdeps/generic/malloc-sysdep.h: New file. Define
14148 new function check_may_shrink_heap.
14149 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14150 new function check_may_shrink_heap.
14151
2b4f00d1
SP
141522012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14153
14154 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14155 comments.
14156
9a9028b1
DL
141572012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14158
57c69bef
DL
14159 * catgets/test-gencat.sh: Add "set -e".
14160 * elf/tst-pathopt.sh: Likewise.
14161 * grp/tst_fgetgrent.sh: Likewise.
14162 * iconvdata/run-iconv-test.sh: Likewise.
14163 * intl/tst-gettext.sh: Likewise.
14164 * intl/tst-gettext2.sh: Likewise.
14165 * intl/tst-gettext4.sh: Likewise.
14166 * intl/tst-gettext6.sh: Likewise.
14167 * intl/tst-translit.sh: Likewise.
14168 * io/ftwtest-sh: Likewise.
14169 * libio/test-freopen.sh: Likewise.
14170 * malloc/tst-mtrace.sh: Likewise.
14171 * posix/globtest.sh: Likewise.
14172 * posix/tst-getconf.sh: Likewise.
14173 * posix/wordexp-tst.sh: Likewise.
14174 * stdio-common/tst-printf.sh: Likewise.
14175 * stdio-common/tst-unbputc.sh: Likewise.
14176 * stdlib/tst-fmtmsg.sh: Likewise.
14177 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14178 * catgets/Makefile: Do not specify -e option when running
14179 testsuite shell scripts.
14180 * elf/Makefile: Likewise.
14181 * grp/Makefile: Likewise.
14182 * iconvdata/Makefile: Likewise.
14183 * intl/Makefile: Likewise.
14184 * io/Makefile: Likewise.
14185 * libio/Makefile: Likewise.
14186 * malloc/Makefile: Likewise.
14187 * posix/Makefile: Likewise.
14188 * stdio-common/Makefile: Likewise.
14189 * stdlib/Makefile: Likewise.
14190 * sysdeps/x86_64/Makefile: Likewise.
14191
9a9028b1
DL
14192 * io/ftwtest-sh: Add copyright header.
14193 * posix/globtest.sh: Likewise.
14194 * posix/tst-getconf.sh: Likewise.
14195 * posix/wordexp-tst.sh: Likewise.
14196 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14197
ced6f16e
L
141982012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14199
94b32c39
L
14200 [BZ #13679]
14201 * Makeconfig (+link): Defined as $(+link-static) if
14202 $(build-shared) isn't yes.
14203 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14204 isn't yes.
14205 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14206
189e935b
L
14207 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14208
ced6f16e
L
14209 [BZ #14562]
14210 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14211 new chunk size with MALLOC_ALIGN_MASK.
14212
a9f8e53a
JM
142132012-09-24 Joseph Myers <joseph@codesourcery.com>
14214
14215 [BZ #5044]
14216 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14217 <rounding-mode.h>.
14218 (__printf_fphex): Determine rounding using get_rounding_mode and
14219 round_away.
14220 * stdio-common/tst-printf-round.c (struct hex_test): New
14221 structure.
14222 (hex_tests): New variable.
14223 (test_hex_in_one_mode): New function.
14224 (do_test): Also run tests for hex float output.
14225
43153109
JM
142262012-09-21 Joseph Myers <joseph@codesourcery.com>
14227
14228 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14229 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14230 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14231 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14232 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14233 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14234 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14235 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14236
8a26625d
JM
142372012-09-20 Joseph Myers <joseph@codesourcery.com>
14238
14239 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14240 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14241 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14242 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14243
f3fd569c
DL
142442012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14245
14246 [BZ #14579]
14247 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14248 mode only.
14249 * elf/tst-rtld-load-self.sh: New test.
14250 * elf/Makefile: Run it.
14251
63bbedd4
JM
142522012-09-18 Joseph Myers <joseph@codesourcery.com>
14253
14254 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14255 (tst-writev-ENV): Remove.
14256 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14257
626f8b6a
CM
142582012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14259
14260 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14261
b7aaa4d6
JM
142622012-09-17 Joseph Myers <joseph@codesourcery.com>
14263
14264 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14265 unconditional.
14266 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14267 Likewise.
14268 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14269 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14270 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14271 Likewise.
14272
65513990
L
142732012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14274
14275 [BZ #14587]
14276 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14277 * config.make.in (have-cpp-asm-debuginfo): Removed.
14278 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14279 * configure: Regenerated.
14280
784761be
JM
142812012-09-14 Joseph Myers <joseph@codesourcery.com>
14282
14283 [BZ #5044]
14284 * stdio-common/printf_fp.c: Include <stdbool.h> and
14285 <rounding-mode.h>.
14286 (___printf_fp): Determine rounding using get_rounding_mode and
14287 round_away.
14288 * stdio-common/tst-printf-round.c: New file.
14289 * stdio-common/Makefile (tests): Add tst-printf-round.
14290 (link-libm): New variable.
14291 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14292
9503345f
L
142932012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14294
14295 [BZ #14576]
14296 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14297 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14298 Likewise.
14299 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14300 Likewise.
14301
ad35fc00
JM
143022012-09-13 Joseph Myers <joseph@codesourcery.com>
14303
14304 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14305 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14306 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14307 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14308
6c9b0f68
JM
143092012-09-12 Joseph Myers <joseph@codesourcery.com>
14310
14311 [BZ #14518]
14312 * include/rounding-mode.h: New file.
14313 * sysdeps/generic/get-rounding-mode.h: Likewise.
14314 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14315 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14316 (MAX_VALUE): New macro.
14317 (MIN_VALUE): Likewise.
14318 (overflow_value): New function.
14319 (underflow_value): Likewise.
14320 (round_and_return): Use overflow_value and underflow_value to
14321 determine return values in overflow and underflow cases. Use
14322 round_away to determine rounding depending on rounding mode.
14323 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14324 determine return values in overflow and underflow cases.
14325 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14326 (struct test_results): New structure.
14327 (struct test): Use struct test_results to store expected results
14328 for all rounding modes.
14329 (TEST): Include expected results for all rounding modes.
14330 (test_in_one_mode): New function.
14331 (do_test): Use test_in_one_mode to compute and check results.
14332 Check results for all rounding modes.
14333 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14334 $(link-libm).
14335
19fcedd5
AM
143362012-12-09 Allan McRae <allan@archlinux.org>
14337
1e9d84cd 14338 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14339
8bbfd2f1
JM
143402012-09-11 Joseph Myers <joseph@codesourcery.com>
14341
14342 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14343 (_G_int32_t): Likewise.
14344 (_G_uint16_t): Likewise.
14345 (_G_uint32_t): Likewise.
14346 (_G_HAVE_BOOL): Likewise.
14347 (_G_HAVE_ATEXIT): Likewise.
14348 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14349 (_G_HAVE_IO_FILE_OPEN): Likewise.
14350 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14351 (_G_int32_t): Likewise.
14352 (_G_uint16_t): Likewise.
14353 (_G_uint32_t): Likewise.
14354 (_G_HAVE_BOOL): Likewise.
14355 (_G_HAVE_ATEXIT): Likewise.
14356 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14357 (_G_HAVE_IO_FILE_OPEN): Likewise.
14358 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14359 (_G_int32_t): Likewise.
14360 (_G_uint16_t): Likewise.
14361 (_G_uint32_t): Likewise.
14362 (_G_HAVE_BOOL): Likewise.
14363 (_G_HAVE_ATEXIT): Likewise.
14364 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14365 (_G_HAVE_IO_FILE_OPEN): Likewise.
14366
b1dc5912
L
143672012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14368
14369 * csu/libc-tls.c: Update copyright years.
14370
0e886ef9
JM
143712012-09-10 Joseph Myers <joseph@codesourcery.com>
14372
28361c5e
JM
14373 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14374 [!_G_USING_THUNKS]: Remove conditional code.
14375 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14376 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14377
0e886ef9
JM
14378 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14379 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14380 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14381 (_G_VTABLE_LABEL_PREFIX): Likewise.
14382 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14383 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14384 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14385 (_G_VTABLE_LABEL_PREFIX): Likewise.
14386 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14387 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14388 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14389 (_G_VTABLE_LABEL_PREFIX): Likewise.
14390 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14391
bcba7aa2
L
143922012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14393
14394 * libio/Makefile: Include ../Makeconfig before tests.
14395 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14396 only if $(build-shared) is yes.
14397
06585ee8
L
14398 * iconv/gconv_db.c: Update copyright years.
14399
80ccd52c
LD
144002012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14401
14402 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14403 unwind info if defined PIC. Fix special cases description.
14404 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14405
14406 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14407 DP_HI_MASK entry.
14408 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14409
691bc9c1
L
144102012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14411
3d9b46b3
L
14412 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14413
de2139a9
L
14414 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14415 is NULL.
14416
5ca78dd0
L
14417 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14418 (LDLIBS-tst-chk4): This.
14419 (LDFLAGS-tst-chk5): Renamed to ...
14420 (LDLIBS-tst-chk5): This.
14421 (LDFLAGS-tst-chk6): Renamed to ...
14422 (LDLIBS-tst-chk6): This.
14423 (LDFLAGS-tst-lfschk4): Renamed to ...
14424 (LDLIBS-tst-lfschk4): This.
14425 (LDFLAGS-tst-lfschk5): Renamed to ...
14426 (LDLIBS-tst-lfschk5): This.
14427 (LDFLAGS-tst-lfschk6): Renamed to ...
14428 (LDLIBS-tst-lfschk6): This.
14429
691bc9c1
L
14430 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14431 on $(common-objpfx)soversions.mk.
14432
65cafb1c
JM
144332012-09-07 Joseph Myers <joseph@codesourcery.com>
14434
14435 [BZ #10014]
14436 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14437 example host name.
14438
c78ab094
SP
144392012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14440
14441 * malloc/arena.c (arena_get_retry): New function that gets
14442 another arena for the caller to try its request on.
14443 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14444 current arena cannot fulfill the request.
14445 (__libc_memalign): Likewise.
14446 (__libc_memalign): Likewise.
14447 (__libc_pvalloc): Likewise.
14448 (__libc_calloc): Likewise.
14449
01f49f59
JT
144502012-09-05 John Tobey <john.tobey@gmail.com>
14451
14452 [BZ #13542]
14453 * manual/arith.texi (Operations on Complex): Fix description
14454 of carg branch cut.
14455
4c23fed5
JM
144562012-09-06 Joseph Myers <joseph@codesourcery.com>
14457
1d3c8572
JM
14458 [BZ #10014]
14459 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14460 host name.
14461
4c23fed5
JM
14462 [BZ #10038]
14463 * manual/memory.texi (Memory): Make order of menu items match
14464 order of sections.
14465
04570aaa
L
144662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14467
14468 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14469 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14470 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14471
b80af2f4
L
144722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14473
14474 * csu/libc-tls.c (static_dtv): Renamed to ...
14475 (_dl_static_dtv): This. Make it global.
14476 (_dl_initial_dtv): Removed.
14477 (__libc_setup_tls): Updated.
14478 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14479 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14480 DL_INITIAL_DTV.
14481
2abe9f15
PM
144822012-09-06 Petr Machata <pmachata@redhat.com>
14483
14484 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14485 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14486 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14487 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14488
0948c3af
L
144892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14490
14491 [BZ #14545]
14492 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14493 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14494 freeing dtv[-1].
14495
a5055ad1
L
144962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14497
14498 [BZ #14544]
14499 * Makeconfig (link-static-before-libc): Replace $(+prector)
14500 with $(+prectorT).
14501 (link-static-after-libc): Replace $(+postctor) with
14502 $(+postctorT).
14503 (link-bounded): Replace $(+prector)/$(+postctor) with
14504 $(+prectorT)/$(+postctorT).
14505 (+prectorT): New macro.
14506 (+postctorT): Likewise.
14507
ed8c2ecd
JM
145082012-09-06 Joseph Myers <joseph@codesourcery.com>
14509
14510 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14511 (round_str): Handle values above the maximum for IBM long double
14512 as inexact.
14513 * stdlib/tst-strtod-round.c (tests): Regenerated.
14514
14c996c8
AK
145152012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14516
14517 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14518 assembler flag.
14519 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14520 zarch_nohighgprs around the zarch optimized routines.
14521 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14522 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14523 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14524 for zarch.
14525
430d6ce6
DM
145262012-09-05 David S. Miller <davem@davemloft.net>
14527
14528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14529
ff04dda4
DM
14530 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14531 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14532 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14533 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14534 entries.
14535
24d4e01b
AO
145362012-09-05 Alexandre Oliva <aoliva@redhat.com>
14537
14538 * malloc/arena.c: Fold copyright years.
14539 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14540
61d58174
AO
145412012-09-05 Alexandre Oliva <aoliva@redhat.com>
14542
14543 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14544
20196a5e
AO
145452012-09-05 Alexandre Oliva <aoliva@redhat.com>
14546
14547 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14548
5c447383
AO
145492012-09-05 Alexandre Oliva <aoliva@redhat.com>
14550
14551 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14552 change internal state upon failure.
14553
fad64255
AO
145542012-09-05 Alexandre Oliva <aoliva@redhat.com>
14555
14556 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14557 * malloc/memusage.c (mmap): Likewise.
14558 (mmap64, mremap): Likewise. Adjust name in comment.
14559
1ffb8c90
SP
145602012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14561
14562 * libio/fileops.c: Fix typos in comments.
14563 * libio/oldfileops.c: Likewise.
14564 * libio/wfileops.c: Likewise.
14565
6ef9cc37
SP
145662012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14567
14568 [BZ #1349]
14569 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14570 (tst-malloc-usable-ENV): Set environment for test case.
14571 * malloc/hooks.c (malloc_check_get_size): New function to get
14572 requested size.
14573 * malloc/malloc.c (musable): Use malloc_check_get_size.
14574 * malloc/tst-malloc-usable.c: New test case.
14575
4d038ae3
AS
145762012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14577
14578 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14579
c4e85184
AM
145802012-09-05 Allan McRae <allan@archlinux.org>
14581
b9dafc56 14582 [BZ #13966]
c4e85184
AM
14583 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14584 determine header location.
14585 * configure: Regenerated.
14586
e1343020
AS
145872012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14588
14589 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14590 float format.
14591 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14592 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14593 format.
e1343020
AS
14594 (test): Regenerate.
14595
0a9f1987
DM
145962012-09-04 David S. Miller <davem@davemloft.net>
14597
14598 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14599 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14600 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14601
29237804
FW
146022012-09-04 Florian Weimer <fweimer@redhat.com>
14603
14604 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14605 failures.
14606
edb3cb88
FW
14607 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14608
60160d83
JM
146092012-09-04 Joseph Myers <joseph@codesourcery.com>
14610
14611 [BZ #9914]
14612 * libio/iogetdelim.c: Include <limits.h>.
14613 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14614 + len + 1 would overflow.
14615
bcd6c8dc
AJ
146162012-09-03 Andreas Jaeger <aj@suse.de>
14617
14618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14619 * sysdeps/i386/fpu/libm-test-ulps: Update.
14620
4ffffbd2
LD
146212012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14622
14623 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14624 Add s_sinf-sse2, s_conf-sse2.
14625
14626 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14627 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14628 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14629 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14630
14631 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14632 for using routine as __sinf_ia32.
14633 Use macro for function declaration and weak_alias.
14634 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14635 for using routine as __cosf_ia32.
14636 Use macro for function declaration and weak_alias.
14637
14638 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14639 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14640
14641 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14642 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14644
14645 * math/libm-test.inc (cos_test): Add more test cases.
14646 (sin_test): Likewise.
14647 (sincos_test): Likewise.
14648
511fa286
AK
146492012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14650
14651 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14652 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14653 hidden.
14654 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14655
5f30cfec
L
146562012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14657
14658 [BZ #14538]
14659 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14660 first element of the GOT.
14661 (elf_machine_load_address): Return the difference between
14662 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14663
0786794f
AM
146642012-09-01 Allan McRae <allan@archlinux.org>
14665
5f30cfec
L
14666 [BZ #13412]
14667 * configure.in (AWK): Require gawk version 3.0 or later.
14668 * configure: Regenerated.
0786794f 14669
26889eac
JM
146702012-09-01 Joseph Myers <joseph@codesourcery.com>
14671
14672 * sysdeps/unix/sysv/linux/kernel-features.h
14673 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14674 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14675 [__NR_clock_getres]: Make code unconditional.
14676 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14677 (clock_getcpuclockid): Remove code left unreachable by removal of
14678 conditionals.
14679 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14680 code unconditional.
14681 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14682 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14683 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14684 Make code unconditional.
14685 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14686 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14687 * sysdeps/unix/sysv/linux/clock_settime.c
14688 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14689 conditional code.
14690 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14691 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14692
d22e28b0
L
146932012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14694
14695 [BZ #14476]
14696 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14697 scripts/test-installation.pl.
14698
14699 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14700 and $ld_so_version if it is set.
14701
050af9c4
SP
147022012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14703
14704 [BZ #14516]
14705 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14706 failure if reading from procfs failed.
14707 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14708
ad845c0b
JM
147092012-08-27 Joseph Myers <joseph@codesourcery.com>
14710
14711 * sysdeps/unix/sysv/linux/kernel-features.h
14712 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14713 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14714 Remove conditional code.
14715 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14716 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14717 Remove conditional code.
14718 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14719 * sysdeps/unix/sysv/linux/i386/fxstat.c
14720 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14721 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14722 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14723 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14724 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14725 * sysdeps/unix/sysv/linux/i386/lxstat.c
14726 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14727 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14728 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14729 Remove conditional code.
14730 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14731 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14732 Remove conditional code.
14733 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14734 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14735 <kernel-features.h>.
14736 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14737 Remove.
14738 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14739 Remove conditional code.
14740 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14741 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14742 Remove conditional.
14743
5dbf56af
MF
147442012-08-27 Mike Frysinger <vapier@gentoo.org>
14745
14746 [BZ #5400]
14747 * NEWS: Add fixed bug number.
14748
d6e70f43
JM
147492012-08-27 Joseph Myers <joseph@codesourcery.com>
14750
7efb4737
JM
14751 [BZ #14519]
14752 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14753 underflowing exponent in case of negative sign.
14754 * stdlib/tst-strtod-round-data: Add more tests.
14755 * stdlib/tst-strtod-round.c (tests): Regenerated.
14756
af92131a
JM
14757 [BZ #3479]
14758 * stdlib/strtod_l.c (NDIG): Remove.
14759 (HEXNDIG): Likewise.
14760 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14761 smallest representable value.
14762 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14763 lie within an exact representation of 1/2 ulp of the result.
14764 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14765 unconditionally.
14766 (TENS_P9_IDX): Define unconditionally.
14767 (TENS_P9_SIZE): Likewise.
14768 (TENS_P10_IDX): Likewise.
14769 (TENS_P10_SIZE): Likewise.
14770 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14771 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14772 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14773 entries for 10^2^13 and 10^2^14.
14774 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14775 (TENS_P13_IDX): Define.
14776 (TENS_P13_SIZE): Likewise.
14777 (TENS_P14_IDX): Likewise.
14778 (TENS_P14_SIZE): Likewise.
14779 (_fpioconst_pow10): Change array size to
14780 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14781 unconditional.
14782 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14783 1024]: Add entries for 10^2^13 and 10^2^14.
14784 [LAST_POW10 > _LAST_POW10]: Remove #error.
14785 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14786 (_fpioconst_pow10): Change array size to
14787 FPIOCONST_POW10_ARRAY_SIZE.
14788 * stdlib/gen-fpioconst.c: New file.
14789 * stdlib/gen-tst-strtod-round.c: Likewise.
14790 * stdlib/tst-strtod-round-data: Likewise.
14791 * stdlib/tst-strtod-round.c: Likewise.
14792 * stdlib/Makefile (tests): Add tst-strtod-round.
14793
d6e70f43
JM
14794 [BZ #14459]
14795 * stdlib/strtod_l.c: Include <stdint.h>.
14796 (NDEBUG): Do not define.
14797 (round_and_return): Change EXPONENT parameter to type intmax_t.
14798 Rearrange calculations to avoid internal overflow possibilities.
14799 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14800 Rearrange calculations to avoid internal overflow possibilities.
14801 Assert that number fits inside MPNSIZE limbs.
14802 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14803 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14804 calculations and add assertions to avoid internal overflow
14805 possibilities. Add casts to avoid signed/unsigned operations.
14806 * stdlib/tst-strtod-overflow.c: New file.
14807 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14808
1f529f7d
MP
148092012-08-25 Marek Polacek <polacek@redhat.com>
14810
14811 * time/time.h: Fix some typos in comments.
14812
59a629f1
RM
148132012-08-23 Roland McGrath <roland@hack.frob.com>
14814
14815 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14816 * posix/tst-rfc3484-2.c: Likewise.
14817 * posix/tst-rfc3484-3.c: Likewise.
14818
d3bafbc9
SM
148192012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14820
14821 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14822 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14823
4efcc022
JM
148242012-08-23 Joseph Myers <joseph@codesourcery.com>
14825
14826 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14827 #include of fxstatat64.c.
14828
3cc3ef96
RM
148292012-08-22 Roland McGrath <roland@hack.frob.com>
14830
f04e2132
RM
14831 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14832 * shadow/getspent_r.c: Likewise.
14833 * shadow/getspnam.c: Likewise.
14834 * shadow/getspnam_r.c: Likewise.
14835 * gshadow/getsgent.c: Likewise.
14836 * gshadow/getsgent_r.c: Likewise.
14837 * gshadow/getsgnam.c: Likewise.
14838 * gshadow/getsgnam_r.c: Likewise.
14839 * inet/getnetbyad.c: Likewise.
14840 * inet/getnetbyad_r.c: Likewise.
14841 * inet/getnetbynm.c: Likewise.
14842 * inet/getnetbynm_r.c: Likewise.
14843 * inet/getnetent.c: Likewise.
14844 * inet/getnetent_r.c: Likewise.
14845 * inet/getproto.c: Likewise.
14846 * inet/getproto_r.c: Likewise.
14847 * inet/getprtent.c: Likewise.
14848 * inet/getprtent_r.c: Likewise.
14849 * inet/getprtname.c: Likewise.
14850 * inet/getprtname_r.c: Likewise.
14851 * inet/getrpcbyname.c: Likewise.
14852 * inet/getrpcbyname_r.c: Likewise.
14853 * inet/getrpcbynumber.c: Likewise.
14854 * inet/getrpcbynumber_r.c: Likewise.
14855 * inet/getrpcent.c: Likewise.
14856 * inet/getrpcent_r.c: Likewise.
14857 * inet/getaliasent.c: Likewise.
14858 * inet/getaliasent_r.c: Likewise.
14859 * inet/getaliasname.c: Likewise.
14860 * inet/getaliasname_r.c: Likewise.
14861 * nscd/getgrgid_r.c: Likewise.
14862 * nscd/getgrnam_r.c: Likewise.
14863 * nscd/gethstbyad_r.c: Likewise.
14864 * nscd/gethstbynm3_r.c: Likewise.
14865 * nscd/getpwnam_r.c: Likewise.
14866 * nscd/getpwuid_r.c: Likewise.
14867 * nscd/getsrvbynm_r.c: Likewise.
14868 * nscd/getsrvbypt_r.c: Likewise.
14869 * nscd/gai.c: Likewise.
14870
c53d909c
RM
14871 * configure.in (build_nscd): New substituted variable, set
14872 by --disable-build-nscd and defaults to $use_nscd.
14873 * configure: Regenerated.
14874 * config.make.in (build-nscd): New substituted variable.
14875 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14876 Change conditional to require [$(build-nscd) = yes] as well.
14877 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14878
3cc3ef96
RM
14879 [BZ# 13696]
14880 * configure.in (use_nscd): New substituted variable, set by
14881 --disable-nscd. If enabled, define USE_NSCD.
14882 * configure: Regenerated.
14883 * config.h.in: Add USE_NSCD.
14884 * config.make.in (use-nscd): New substituted variable.
14885 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14886 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14887 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14888 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14889 (CFLAGS-getgrnam_r.c): Likewise.
14890 (CFLAGS-initgroups.c): Likewise.
14891 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14892 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14893 Variables removed.
14894 * inet/getnetgrent_r.c
14895 (nscd_setnetgrent): New function, broken out of ...
14896 (setnetgrent): ... here. Call it.
14897 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14898 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14899 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14900 * nscd/Makefile (routines, aux): Move definitions after include of
14901 Makeconfig. Conditionalize on [$(use-nscd) != no].
14902 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14903 Conditionalize on [USE_NSCD].
14904 (is_nscd, nscd_init_cb): Likewise.
14905 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14906 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14907 * nss/nss_db/db-init.c: Likewise.
14908 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14909 [USE_NSCD].
14910 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14911 (make_request): Use it.
14912 (cache_valid_p): New function.
14913 (__check_pf): Use it.
14914 * NEWS: Add item for --disable-nscd.
14915
07e51550
DL
149162012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14917
14918 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14919 to support sed >= 4.2.1-20-ga9bf076.
14920 * configure: Regenerated.
14921
35a5b08b
RM
149222012-08-22 Roland McGrath <roland@hack.frob.com>
14923
14924 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14925 Conditionalize whole body on [IREL].
14926
8479f23a
JL
149272012-08-22 Jeff Law <law@redhat.com>
14928
14929 [BZ #14505]
14930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14931 if the family is PF_UNSPEC.
14932
48da0b21
MF
149332012-08-22 Mike Frysinger <vapier@gentoo.org>
14934
14935 * Makerules (lib-version): Rename from V.
14936 (install-lib-nosubdir): Change V to lib-version.
14937
15d0da8c
WS
149382012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14939
14940 [BZ #14252]
14941 * powerpc32/power6/wcschr.c: New file.
14942 * powerpc32/power6/wcscpy.c: New file.
14943 * powerpc32/power6/wcsrchr.c: New file.
14944 * powerpc64/power6/wcschr.c: New file.
14945 * powerpc64/power6/wcscpy.c: New file.
14946 * powerpc64/power6/wcsrchr.c: New file.
14947
bcca0895
MK
149482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14949
14950 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14951 (two_way_short_needle): Use it.
5a4aaa33
RM
14952 * string/strstr.c (AVAILABLE1_USES_J): Define.
14953 * string/strcasestr.c: Likewise.
99677e57
MK
14954
14955 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14956 array references.
14957 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14958
400726de
MK
14959 [BZ #11607]
14960 * NEWS: Add an entry.
14961 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14962 define their defaults.
14963 (two_way_short_needle): Detect end-of-string on-the-fly.
14964 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14965 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14966 * string/bug-strcasestr1.c: New test.
14967 * string/Makefile: Run it.
14968
20a71f2c
MK
149692012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14970
14971 [BZ #11607]
14972 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14973 the first character.
14974
21ad0558
RM
149752012-08-21 Roland McGrath <roland@hack.frob.com>
14976
14977 * csu/elf-init.c (__libc_csu_irel): Function removed.
14978 * csu/libc-start.c (apply_irel): New function.
14979 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14980
0e1d9911
JM
149812012-08-21 Joseph Myers <joseph@codesourcery.com>
14982
14983 * sysdeps/unix/sysv/linux/kernel-features.h
14984 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14985 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14986 <kernel-features.h>.
14987 [__NR_fadvise64_64]: Make code unconditional.
14988 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14989 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14990 !__NR_fadvise64_64)]: Likewise.
14991 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14992 !__NR_fadvise64_64))]: Likewise.
14993 [__NR_fadvise64]: Make code unconditional.
14994 [!__NR_fadvise64]: Remove conditional code.
14995 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14996 <kernel-features.h>.
14997 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14998 unconditional.
14999 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15000 conditional code.
15001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15002 not include <kernel-features.h>.
15003 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15004 unconditional.
15005 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15006 conditional code.
15007 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15008 include <kernel-features.h>.
15009 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15010 unconditional.
15011 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15012 conditional code.
15013
14a50c9d
WS
150142012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15015
15016 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15017 slight instruction rearrangements per scrollpipe analysis.
15018 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15019
c0f4faf0
RM
150202012-08-20 Roland McGrath <roland@hack.frob.com>
15021
696da859
RM
15022 * manual/syslog.texi (syslog; vsyslog, closelog):
15023 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15024 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15025
c0f4faf0
RM
15026 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15027 DSOCAPS to match condition on defining it.
15028
348363b2
JM
150292012-08-20 Joseph Myers <joseph@codesourcery.com>
15030
a35cbf28
JM
15031 * sysdeps/unix/sysv/linux/kernel-features.h
15032 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15034 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15035 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15037 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15038 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15040 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15041 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15042
445f7ecd
JM
15043 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15044 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15045
348363b2
JM
15046 * sysdeps/unix/sysv/linux/kernel-features.h
15047 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15048 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15049 unconditional.
15050 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15051 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15052 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15053 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15054 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15055 Make code unconditional.
15056 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15057 (__mmap64) [!__NR_mmap2]: Likewise.
15058 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15059 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15060 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15061 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15062 [__NR_mmap2]: Make code unconditional.
15063 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15064 (__mmap64) [!__NR_mmap2]: Likewise.
15065
bc5bc0e5
AK
150662012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15067
15068 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15069
88d506de
AJ
150702012-08-18 Andreas Jaeger <aj@suse.de>
15071
15072 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15073
493387d2
MF
150742012-08-18 Mike Frysinger <vapier@gentoo.org>
15075
15076 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15077 * include/unistd.h (__have_sock_cloexec): Likewise.
15078 (__have_pipe2): Likewise.
15079 (__have_dup3): Likewise.
15080
a277af22
MF
150812012-08-18 Mike Frysinger <vapier@gentoo.org>
15082
15083 [BZ #9685]
15084 * include/unistd.h (__have_pipe2): Change define into an extern int.
15085 (__have_dup3): Likewise.
15086 * socket/have_sock_cloexec.c: Include fcntl.h.
15087 (__have_pipe2): New variable.
15088 (__have_dup3): Likewise.
15089
fdab8fd3
MF
150902012-08-17 Mike Frysinger <vapier@gentoo.org>
15091
15092 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15093
31035e80
MP
150942012-08-17 Marek Polacek <polacek@redhat.com>
15095
15096 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15097 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15098
3bd9e993
RM
150992012-08-17 Roland McGrath <roland@hack.frob.com>
15100
c91c505f
RM
15101 * configure.in: Add AC_SUBST for sysheaders.
15102 * configure: Regenerated.
15103 * config.make.in (sysheaders): New substituted variable.
15104
7c6f9d53
RM
15105 * sysdeps/unix/mkfifo.c: Moved ...
15106 * sysdeps/posix/mkfifo.c: ... here.
15107 * sysdeps/unix/mkfifoat.c: Moved ...
15108 * sysdeps/posix/mkfifoat.c: ... here.
15109
15110 * sysdeps/unix/utime.c: Moved ...
15111 * sysdeps/posix/utime.c: ... here.
15112
15113 * sysdeps/unix/time.c: Moved ...
15114 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
15115 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15116 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
15117
15118 * sysdeps/unix/nice.c: Moved ...
15119 * sysdeps/posix/nice.c: ... here.
15120
15121 * sysdeps/unix/alarm.c: Moved ...
15122 * sysdeps/posix/alarm.c: ... here.
15123
3bd9e993
RM
15124 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15125
d1f09384
JL
151262012-08-17 Jeff Law <law@redhat.com>
15127
15128 * intl/Makefile (codeset_mo): New variable.
15129 ($(codeset_mo)): New target.
15130 (tst-codeset.out): Depend on that. Remove explicit rule.
15131 (tst-gettext3.out, tst-gettext5.out): Likewise.
15132 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15133 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15134 * intl/tst-codeset.sh: Remove.
15135 * intl/tst-gettext3.sh: Likewise.
15136 * intl/tst-gettext5.sh: Likewise.
15137
2ae1ae5c
RM
151382012-08-17 Roland McGrath <roland@hack.frob.com>
15139
c31fdb83
RM
15140 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15141 * sysdeps/unix/syscalls.list: ... here.
15142
a0844057
RM
15143 * sysdeps/posix/getaddrinfo.c
15144 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15145 (gaiconf_init, gaiconf_reload): Use them.
15146 [!_STATBUF_ST_NSEC]
15147 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15148 Define using time_t rather than struct timespec.
15149
750c1f2a
RM
15150 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15151 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15152 Macros removed.
15153 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15154 [!NO_THREADS].
15155 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15156 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15157 Likewise.
15158
2ae1ae5c
RM
15159 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15160 __libc_cleanup_push argument.
15161
e66a42f5
RM
15162 * bits/param.h: New file.
15163 * misc/sys/param.h: New file.
15164 * include/sys/param.h: New file.
15165 * misc/Makefile (headers): Add bits/param.h.
15166 * sysdeps/generic/sys/param.h: File removed.
15167 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15168 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15169 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 15170 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 15171
b7c08a66
RM
15172 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15173 last change.
15174
b2e1c562
RM
15175 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15176 [_IO_MTSAFE_IO].
15177 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15178 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15179 New macros.
15180
c75ccd4c
RM
15181 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15182 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15183 rather than -D_IO_MTSAFE_IO conditionally.
15184 * stdio-common/Makefile (CPPFLAGS): Likewise.
15185 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15186 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15187 Use $(libio-mtsafe).
15188 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15189 of -D_IO_MTSAFE_IO.
15190 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15191 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15192 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15193 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15194 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15195 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15196 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15197 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15198 (CFLAGS-fread_u_chk.c): Likewise.
15199 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15200 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15201 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15202 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15203 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15204 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15205 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15206 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15207 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15208
15209 * libio/Makefile: Test [$(libc-reentrant) = yes]
15210 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15211
15212 * Makeconfig
15213 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15214 * sysdeps/pthread/configure: File removed.
15215 * sysdeps/pthread/Makeconfig: New file.
15216 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15217 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15218
d9195db8
GB
152192012-08-16 Gary Benson <gbenson@redhat.com>
15220
15221 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15222 unmapping the first object in a namespace.
15223
86466cd9
RM
152242012-08-16 Roland McGrath <roland@hack.frob.com>
15225
15226 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15227 (__internal_setnetgrent): ... this. Add internal_function to
15228 definition. Add libc_hidden_def.
15229 (setnetgrent): Update caller.
15230 (internal_endnetgrent): Renamed to ...
15231 (__internal_endnetgrent): ... this. Add internal_function to
15232 definition. Add libc_hidden_def.
15233 (endnetgrent): Update caller.
15234 (internal_getnetgrent_r): Renamed to ...
15235 (__internal_getnetgrent_r): ... this. Add internal_function to
15236 definition. Add libc_hidden_def.
15237 (__getnetgrent_r): Update caller.
15238 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15239
c3c8283c
JM
152402012-08-16 Joseph Myers <joseph@codesourcery.com>
15241
15242 * stdlib/longlong.h: Update from GCC.
15243
db1ee0a8
RM
152442012-08-16 Roland McGrath <roland@hack.frob.com>
15245
15246 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15247 on _QL, which is set by umul_ppmm but never used.
15248 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15249 variables, which are set by GMP macros but never used.
15250 * stdio-common/_itowa.c (_itowa): Likewise.
15251 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15252 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15253
30f69637
CD
152542012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15255
15256 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15257 struct La_sh_regs is not constant.
15258 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15259 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15260 and struct La_sparc64_regs are not constant.
15261
93a78ac4
JM
152622012-08-16 Joseph Myers <joseph@codesourcery.com>
15263
15264 * sysdeps/unix/sysv/linux/kernel-features.h
15265 (__ASSUME_POSIX_TIMERS): Remove.
15266 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15267 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15268 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15269 Make code unconditional.
15270 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15271 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15272 Make code unconditional.
15273 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15274 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15275 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15276 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15277 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15278 Make code unconditional.
15279 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15280 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15281 (__libc_missing_posix_timers): Remove.
15282
dd924cd7
RM
152832012-08-15 Roland McGrath <roland@hack.frob.com>
15284
4b4f2771
RM
15285 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15286 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15287
601c888b
RM
15288 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15289
176790a7
RM
15290 * elf/dl-sym.c: Include <stdlib.h>.
15291
329bc018
RM
15292 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15293 constants, which avoids warnings in 32-bit builds.
15294
e04e272d
RM
15295 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15296 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15297
952bf94a
RM
15298 * misc/lseek.c: File moved to ...
15299 * io/lseek.c: ... here.
15300
7c99b50a
RM
15301 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15302
dd924cd7
RM
15303 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15304 shifting LEN more than 31 bits at once.
15305
b3f479a8
LD
153062012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15307
15308 [BZ #14195]
8c4ae0d4
RM
15309 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15310 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15311 * string/test-strncasecmp.c (check1): Renamed to...
15312 (bz12205): ...this.
15313 (bz14195): Add new testcase for two empty input strings and N > 0.
15314 (test_main): Call new testcase, adapt for renamed function.
15315
9c55864e
AJ
153162012-08-15 Andreas Jaeger <aj@suse.de>
15317
15318 [BZ #14090]
15319 * crypt/md5test2.c: New test, based on test supplied by Serge
15320 Belyshev <belyshev@depni.sinp.msu.ru>.
15321 * crypt/Makefile (xtests): Add md5test-giant..
15322 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15323
02dcb6c5
PE
153242012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15325
15326 [BZ #14090]
15327 * crypt/md5.c (md5_process_block): Don't assume the buffer
15328 length is less than 2**32.
15329 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15330 length is less than 2**64.
15331
a3f95dcc
RM
153322012-08-15 Roland McGrath <roland@hack.frob.com>
15333
be75d758
RM
15334 * string/str-two-way.h: Include <sys/param.h>.
15335 (MAX): Macro removed.
15336
7312ca90
RM
15337 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15338 Move #define and #undef of memmove to just before and after
15339 including <string.h>.
15340
9a0a5486
RM
15341 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15342 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15343 and after including <string.h>. Move declarations of
15344 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15345 to before #include "string/memmove.c".
15346
67cc348d
RM
15347 * include/dirent.h: Declare __getdirentries.
15348
a3f95dcc
RM
15349 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15350 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15351
ca98e171
MF
153522012-08-14 Mike Frysinger <vapier@gentoo.org>
15353
15354 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15355 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15356 * sysdeps/i386/configure: Regenerated.
15357 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15358 STABS_CURRENT_FILE, and STABS_FUN.
15359 (END): Remove call to STABS_FUN_END.
15360 (STABS_CURRENT_FILE1): Delete.
15361 (STABS_CURRENT_FILE): Likewise.
15362 (STABS_FUN): Likewise.
15363 (STABS_FUN_END): Likewise.
15364 (STABS_FUN2): Likewise.
15365 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15366 * sysdeps/x86_64/configure: Regenerated.
15367
5908bf46
RM
153682012-08-14 Roland McGrath <roland@hack.frob.com>
15369
15370 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15371 * elf/dl-lookup.c: Likewise.
5908bf46 15372
f2c05b9e
JM
153732012-08-14 Joseph Myers <joseph@codesourcery.com>
15374
15375 * sysdeps/unix/sysv/linux/kernel-features.h
15376 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15377 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15378 unconditionally.
15379 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15380 unconditionally.
15381 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15382 condition on __ASSUME_CLONE_THREAD_FLAGS.
15383
e11f5155
AJ
153842012-08-14 Andreas Jaeger <aj@suse.de>
15385
15386 * sysdeps/i386/fpu/libm-test-ulps: Update.
15387
51a9ba86
MK
153882012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15389
2fdd4f78
AJ
15390 * include/atomic.h (atomic_exchange_and_add): Split into ...
15391 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15392 New atomic macros.
51a9ba86 15393
ba6cba9e
MT
153942012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15395
15396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15397
42443a47
JL
153982012-08-13 Jeff Law <law@redhat.com>
15399
15400 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15401 null byte in the output string.
15402
121dce05
JM
154032012-08-10 Joseph Myers <joseph@codesourcery.com>
15404
15405 * sysdeps/unix/sysv/linux/kernel-features.h
15406 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15407 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15408 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15409 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15410 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15411 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15412 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15413
bf51f568
JL
154142012-08-09 Jeff Law <law@redhat.com>
15415
15416 [BZ #13939]
15417 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15418 When avoid_arena is set, don't retry in the that arena. Pick the
15419 next one, whatever it might be.
15420 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15421 (arena_lock): Pass in new parameter to arena_get2.
15422 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15423 arena_get2.
15424 (__libc_malloc): Unify retrying after main arena failure with
15425 __libc_memalign version.
15426 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15427
f85fa270
L
154282012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15429
15430 [BZ #14166]
15431 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15432 to __redirect_strstr.
15433 (__strstr_sse42): Use typeof __redirect_strstr.
15434 (__strstr_ia32): Likewise.
15435 (__libc_strstr): New prototype.
15436 (strstr): Renamed to ...
15437 (__libc_strstr): This.
15438 (strstr): New strong alias of __libc_strstr.
15439 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15440 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15441 __redirect_time.
15442 Include <time.h>.
15443 (__libc_time): New prototype.
15444 (time_ifunc): Replace time with __libc_time.
15445 (time): New strong alias and hidden definition of __libc_time.
15446 (__GI_time): Remove strong alias.
15447 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15448 Include <stddef.h>.
15449 (memmove): Redefined to __redirect_memmove.
15450 (__memmove_sse2): Use typeof __redirect_memmove.
15451 (__memmove_ssse3): Likewise.
15452 (__memmove_ssse3_back): Likewise.
15453 (__libc_memmove): New prototype.
15454 (memmove): Renamed to ...
15455 (__libc_memmove): This.
15456 (memmove): New strong alias of __libc_memmove.
15457
33b4a91e
MS
154582012-08-08 Mark Salter <msalter@redhat.com>
15459
15460 * elf/elf.h
15461 (R_MN10300_TLS_GD): Define.
15462 (R_MN10300_TLS_LD): Likewise.
15463 (R_MN10300_TLS_LDO): Likewise.
15464 (R_MN10300_TLS_GOTIE): Likewise.
15465 (R_MN10300_TLS_IE): Likewise.
15466 (R_MN10300_TLS_LE): Likewise.
15467 (R_MN10300_TLS_DTPMOD): Likewise.
15468 (R_MN10300_TLS_DTPOFF): Likewise.
15469 (R_MN10300_TLS_TPOFF): Likewise.
15470 (R_MN10300_SYM_DIFF): Likewise.
15471 (R_MN10300_ALIGN): Likewise.
15472 (R_MN10300_NUM): Update.
15473
b36137f1
JM
154742012-08-08 Joseph Myers <joseph@codesourcery.com>
15475
15476 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15477 Remove.
15478
cdd915fd
RM
154792012-08-08 Roland McGrath <roland@hack.frob.com>
15480
a2433aac
RM
15481 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15482
cdd915fd
RM
15483 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15484 sysdeps/unix -> sysdeps/posix move.
15485 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15486
bf9b740a
AM
154872012-08-07 Allan McRae <allan@archlinux.org>
15488
15489 [BZ #14303]
15490 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15491 (SUNOS_CPP): Likewise.
15492 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15493 not found.
15494 (open_input): Call CPP using execvp.
15495
93df14ee
JM
154962012-08-07 Joseph Myers <joseph@codesourcery.com>
15497
15498 * sysdeps/unix/sysv/linux/kernel-features.h
15499 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15500 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15501 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15502 (__ASSUME_WAITID_SYSCALL): Likewise.
15503 * sysdeps/unix/sysv/linux/dl-execstack.c
15504 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15505 code unconditional.
15506 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15507 conditional code.
15508 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15509 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15510 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15511 code.
15512 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15513 unconditional.
15514 [__ASSUME_WAITID_SYSCALL]: Likewise.
15515 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15516
d34689de
RM
155172012-08-07 Roland McGrath <roland@hack.frob.com>
15518
a281decc
RM
15519 * sysdeps/unix/closedir.c: Renamed to ...
15520 * sysdeps/posix/closedir.c: ... here.
15521 * sysdeps/unix/dirfd.c: Renamed to ...
15522 * sysdeps/posix/dirfd.c: ... here.
15523 * sysdeps/unix/dirstream.h: Renamed to ...
15524 * sysdeps/posix/dirstream.h: ... here.
15525 * sysdeps/unix/fdopendir.c: Renamed to ...
15526 * sysdeps/posix/fdopendir.c: ... here.
15527 * sysdeps/unix/opendir.c: Renamed to ...
15528 * sysdeps/posix/opendir.c: ... here.
15529 * sysdeps/unix/readdir.c: Renamed to ...
15530 * sysdeps/posix/readdir.c: ... here.
15531 * sysdeps/unix/readdir_r.c: Renamed to ...
15532 * sysdeps/posix/readdir_r.c: ... here.
15533 * sysdeps/unix/rewinddir.c: Renamed to ...
15534 * sysdeps/posix/rewinddir.c: ... here.
15535 * sysdeps/unix/seekdir.c: Renamed to ...
15536 * sysdeps/posix/seekdir.c: ... here.
15537 * sysdeps/unix/telldir.c: Renamed to ...
15538 * sysdeps/posix/telldir.c: ... here.
15539 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15540 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15541 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15542 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15543
22895b47
RM
15544 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15545 * bits/fcntl.h: ... here.
15546
707a53b6
RM
15547 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15548 not 0.
15549 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15550 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15551 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15552 (struct flock): Move l_start, l_len to the beginning.
15553 Use __pid_t for l_pid.
15554 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15555 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15556 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15557 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15558 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15559 [__USE_LARGEFILE64] (struct flock64): New type.
15560 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15561
f0bd3e25
RM
15562 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15563 * bits/dirent.h: ... here.
15564
d34689de
RM
15565 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15566 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15567
6dad2c06
JM
155682012-08-07 Joseph Myers <joseph@codesourcery.com>
15569
15570 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15571 Change from 2.6.0 to 2.6.16.
15572 * sysdeps/unix/sysv/linux/configure: Regenerated.
15573 * sysdeps/unix/sysv/linux/kernel-features.h
15574 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15575 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15576 version.
15577 (__ASSUME_UTIMES): Likewise.
15578 (__ASSUME_CLONE_STOPPED): Remove.
15579 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15580 architectures, not kernel version.
15581 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15582 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15583 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15584 (__ASSUME_WAITID_SYSCALL): Likewise.
15585 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15586 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15587 * README: State 2.6.16 as minimum Linux kernel version. Do not
15588 refer to older versions.
15589
03af9520
RM
155902012-08-06 Roland McGrath <roland@hack.frob.com>
15591
8e49df1d
RM
15592 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15593 Define alphasort64 as an alias.
15594 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15595 Define versionsort64 as an alias.
15596 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15597 Define scandir64 as an alias.
15598 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15599 Define scandirat64 as an alias.
15600 * dirent/alphasort64.c (alphasort64):
15601 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15602 * dirent/versionsort64.c: Likewise.
15603 * dirent/scandir64.c: Likewise.
15604 * dirent/scandirat64.c: Likewise.
15605 * sysdeps/wordsize-64/alphasort.c: File removed.
15606 * sysdeps/wordsize-64/alphasort64.c: File removed.
15607 * sysdeps/wordsize-64/scandir.c: File removed.
15608 * sysdeps/wordsize-64/scandir64.c: File removed.
15609 * sysdeps/wordsize-64/scandirat.c: File removed.
15610 * sysdeps/wordsize-64/scandirat64.c: File removed.
15611 * sysdeps/wordsize-64/versionsort.c: File removed.
15612 * sysdeps/wordsize-64/versionsort64.c: File removed.
15613 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15614 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15615 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15616 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15617 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15618 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15619 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15620 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15621
15622 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15624 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15626 [defined __arch64__ || defined __sparcv9]
15627 (__INO_T_MATCHES_INO64_T): New macro.
15628 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15629 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15630 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15631 * sysdeps/unix/sysv/linux/bits/dirent.h
15632 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15633 (_DIRENT_MATCHES_DIRENT64): New macro.
15634
03af9520
RM
15635 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15636 Define lockf64 as an alias.
15637 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15638 Define fseeko64 as an alias.
15639 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15640 Define ftello64 as an alias.
15641 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15642 Define _IO_fgetpos64 and fgetpos64 as aliases.
15643 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15644 Define _IO_fsetpos64 and fsetpos64 as aliases.
15645 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15646 Conditionalize body on this.
15647 * libio/fseeko64.c: Likewise.
15648 * libio/ftello64.c: Likewise.
15649 * libio/iofgetpos64.c: Likewise.
15650 * libio/iofsetpos64.c: Likewise.
15651 * sysdeps/wordsize-64/lockf.c: File removed.
15652 * sysdeps/wordsize-64/lockf64.c: File removed.
15653 * sysdeps/wordsize-64/fseeko.c: File removed.
15654 * sysdeps/wordsize-64/fseeko64.c: File removed.
15655 * sysdeps/wordsize-64/ftello.c: File removed.
15656 * sysdeps/wordsize-64/ftello64.c: File removed.
15657 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15658 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15659 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15660 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15661 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15662 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15663 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15664 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15665 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15666 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15667 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15668 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15669 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15670 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15671
15672 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15673 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15674 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15675 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15676 [defined __arch64__ || defined __sparcv9]
15677 (__OFF_T_MATCHES_OFF64_T): New macro.
15678 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15679 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15680 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15681 (__OFF_T_MATCHES_OFF64_T): New macro.
15682
c5757acd
L
156832012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15684
15685 * stdlib/secure-getenv.c (__secure_getenv): Replace
15686 GLIBC_2_16 with GLIBC_2_17.
15687
3a31811e
L
156882012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15689
15690 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15691 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15692
faa2bccb
DM
156932012-08-03 David S. Miller <davem@davemloft.net>
15694
15695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15696
85fe1997
JM
156972012-08-03 Joseph Myers <joseph@codesourcery.com>
15698
15699 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15700 Remove.
15701 (__ASSUME_CORRECT_SI_PID): Likewise.
15702 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15703 (__ASSUME_TMPFS_NAME): Likewise.
15704 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15705 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15706 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15707 (HAVE_AUX_SECURE): Make definition unconditional.
15708 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15709 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15710
4f75b7a0
RM
157112012-08-03 Roland McGrath <roland@hack.frob.com>
15712
15713 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15714 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15715 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15716 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15717 __eloop_threshold instead of SYMLOOP_MAX.
15718
15719 * sysdeps/generic/eloop-threshold.h: New file.
15720 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15721 of MAXSYMLINKS.
15722 * elf/chroot_canon.c (chroot_canon): Likewise.
15723
7aab07e4
JM
157242012-08-03 Joseph Myers <joseph@codesourcery.com>
15725
15726 [BZ #13717]
15727 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15728 Change to 2.6.0 everywhere.
15729 * sysdeps/unix/sysv/linux/configure: Regenerated.
15730 * sysdeps/unix/sysv/linux/kernel-features.h
15731 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15732 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15733 kernel versions.
15734 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15735 (__ASSUME_FUTEX_REQUEUE): Remove.
15736 (__ASSUME_STATFS64): Define unconditionally.
15737 (__ASSUME_AT_SECURE): Likewise.
15738 (__ASSUME_CORRECT_SI_PID): Likewise.
15739 (__ASSUME_TGKILL): Define without depending on kernel version for
15740 i386.
15741 (__ASSUME_UTIMES): Likewise.
15742 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15743 kernel version.
15744 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15745 (__ASSUME_TMPFS_NAME): Likewise.
15746 * README: Update reference to Linux kernel versions.
15747
b67e9372
MP
157482012-08-02 Marek Polacek <polacek@redhat.com>
15749
1f529f7d 15750 [BZ# 14150]
b67e9372
MP
15751 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15752 libc_cv_asm_type_prefix with %.
15753 * configure: Regenerated.
d2441631
RM
15754 * include/libc-symbols.h: Remove comment about
15755 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15756 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15757 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15758 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15759 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15760 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15761 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15762 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15763 * elf/tst-unique2mod1.c: Likewise.
15764 * elf/tst-unique1mod2.c: Likewise.
15765 * elf/tst-unique1mod1.c: Likewise.
15766 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15767 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15768 Replace ASM_TYPE_DIRECTIVE with .type.
15769 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15770 * sysdeps/i386/sysdep.h: Likewise.
15771 * sysdeps/x86_64/sysdep.h: Likewise.
15772 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15774 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15775 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15776 * sysdeps/powerpc/powerpc32/sysdep.h:
15777 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15778 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15779 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15780 * sysdeps/i386/fpu/e_powf.S: Likewise.
15781 * sysdeps/i386/fpu/e_expl.S: Likewise.
15782 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15783 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15784 * sysdeps/i386/fpu/e_pow.S: Likewise.
15785 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15786 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15787 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15788 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15789 * sysdeps/i386/fpu/e_log2.S: Likewise.
15790 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15791 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15792 * sysdeps/i386/fpu/e_powl.S: Likewise.
15793 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15794 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15795 * sysdeps/i386/fpu/e_logl.S: Likewise.
15796 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15797 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15798 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15799 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15800 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15801 * sysdeps/i386/fpu/e_log.S: Likewise.
15802 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15803 * sysdeps/i386/fpu/e_logf.S: Likewise.
15804 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15805 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15806 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15807 * sysdeps/i386/fpu/e_log10.S: Likewise.
15808 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15809 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15810 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15811 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15812 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15813 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15814 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15815 * sysdeps/i386/i686/strtok.S: Likewise.
15816 * sysdeps/i386/i386-mcount.S: Likewise.
15817 * sysdeps/i386/strtok.S: Likewise.
15818 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15819 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15820 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15821 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15822 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15823 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15824 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15825 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15826 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15827 * sysdeps/x86_64/_mcount.S: Likewise.
15828 * sysdeps/x86_64/strtok.S: Likewise.
15829 * sysdeps/sh/_mcount.S: Likewise.
15830
2747bf9a
RM
158312012-08-01 Roland McGrath <roland@hack.frob.com>
15832
15833 * libio/iofopen.c: Include <fcntl.h>.
15834 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15835 (_IO_fopen64, fopen64): Define as aliases.
15836 * libio/iofopen64.c: Include <fcntl.h>.
15837 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15838 Conditionalize body on this.
15839 * sysdeps/wordsize-64/iofopen.c: File removed.
15840 * sysdeps/wordsize-64/iofopen64.c: File removed.
15841
3fb791b8
MP
158422012-08-01 Marek Polacek <polacek@redhat.com>
15843
15844 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15845 Use dlfcn directly instead of a variable.
15846 (binfmt-subdir): Do not define.
15847 (dlfcn): Likewise.
15848
a9f1039f
JM
158492012-08-01 Joseph Myers <joseph@codesourcery.com>
15850
23bddc06
JM
15851 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15852 Remove all definitions.
15853 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15854 <kernel-features.h>.
15855 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15856 (miss_F_GETOWN_EX): Remove all definitions.
15857 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15858 macro definition.
15859 [!__ASSUME_FCNTL64]: Remove conditional code.
15860 [__ASSUME_FCNTL64]: Make code unconditional.
15861 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15862 <kernel-features.h>.
15863 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15864 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15865 (lockf64) [__NR_fcntl64]: Make code unconditional.
15866 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15867
a9f1039f
JM
15868 * sysdeps/unix/sysv/linux/kernel-features.h
15869 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15870 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15871 Make code unconditional.
15872 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15873 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15875 [__NR_vfork]: Make code unconditional.
15876 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15877 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15879 [__NR_vfork]: Make code unconditional.
15880 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15881 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15882
09c0ee5f
RM
158832012-08-01 Roland McGrath <roland@hack.frob.com>
15884
48aec5b9
RM
15885 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15886 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15887
cd97c966
RM
15888 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15889 Define mkstemp64 as an alias.
3f55550c
RM
15890 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15891 Define mkstemps64 as an alias.
cd97c966
RM
15892 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15893 Define mkostemp64 as an alias.
b8625cfc
RM
15894 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15895 Define mkostemps64 as an alias.
cd97c966
RM
15896 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15897 Conditionalize body on this.
15898 * misc/mkostemp64.c: Likewise.
b8625cfc 15899 * misc/mkostemps64.c: Likewise.
3f55550c 15900 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15901 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15902 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15903 * sysdeps/wordsize-64/mkostemp.c: File removed.
15904 * sysdeps/wordsize-64/mkstemp.c: File removed.
15905 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15906 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15907 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15908 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15909
09c0ee5f
RM
15910 [BZ #14138]
15911 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15912 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15913 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15914 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15915
15916 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15917 compat_symbol macros from <shlib-compat.h> rather than the underlying
15918 default_symbol_version and symbol_version macros, so that DEFAULT
15919 lines in shlib-versions are respected.
15920 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15921
7e66ee51
FW
159222012-08-01 Florian Weimer <fweimer@redhat.com>
15923
15924 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15925 Declare with warn_unused_result.
15926 (setgid, setregid, setegid, setresgid): Likewise.
15927 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15928 Likewise.
15929 * WUR-REPORT: Remove set*id functions.
15930
d2a54255
PT
159312012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15932
15933 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15934
7ecdb005
RM
159352012-07-31 Roland McGrath <roland@hack.frob.com>
15936
b4180a5e 15937 [BZ #10191]
789bd351
RM
15938 * include/sys/socket.h (__libc_accept, __libc_accept4):
15939 Add attribute_hidden.
15940 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15941
40ce302d
RM
15942 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15943 use of PTR_MANGLE.
15944 * inet/getnetgrent_r.c (setup): Likewise.
15945
7ecdb005
RM
15946 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15947
e2eabb2c
DM
159482012-07-31 David S. Miller <davem@davemloft.net>
15949
15950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15951
d0419dbf
JM
159522012-07-31 Joseph Myers <joseph@codesourcery.com>
15953
15954 [BZ #13629]
15955 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15956 value between 1.0 and 2.0 and smaller part has absolute value less
15957 than 1.0.
15958 * math/s_clog10.c (__clog10): Likewise.
15959 * math/s_clog10f.c (__clog10f): Likewise.
15960 * math/s_clog10l.c (__clog10l): Likewise.
15961 * math/s_clogf.c (__clogf): Likewise.
15962 * math/s_clogl.c (__clogl): Likewise.
15963 * math/libm-test.inc (clog_test): Add more tests.
15964 (clog10_test): Likewise.
15965 * sysdeps/i386/fpu/libm-test-ulps: Update.
15966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15967
2bc13872
FW
159682012-07-31 Florian Weimer <fweimer@redhat.com>
15969
15970 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15971 Exit with zero in case no suitable GID is found, and write a
15972 message to standard error.
15973
bea9b193
RM
159742012-07-30 Roland McGrath <roland@hack.frob.com>
15975
15976 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15977 rather than to 1.
15978 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15979 (MAXPATHLEN): Removed.
15980 (NOGROUP, NODEV): New macros.
15981 (setbit, clrbit, isset, isclr): New macros.
15982 (howmany, roundup, powerof2): New macros.
15983 (DEV_BSIZE): New macro.
15984
15985 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15986 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15987
15988 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15989 definition on [!__NO_LONG_DOUBLE_MATH].
15990
15991 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15992 PTR_MANGLE and PTR_DEMANGLE.
15993
15994 * socket/accept4.c (accept4): Rename to __libc_accept4.
15995 Define accept4 as a weak alias.
15996
15997 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15998 on [_DIRENT_HAVE_D_TYPE].
15999 * io/ftw.c (ftw_dir): Likewise.
16000
16001 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16002
16003 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16004
16005 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16006 Use the BSD numbers rather than the arbitrary ones we had.
16007 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16008 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16009 (SIGXCPU, SIGXFSZ): New macros.
16010 (_NSIG): Now 32.
16011
16012 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16013 initializer on [_LIBC_REENTRANT].
16014
16015 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16016 definitions inside [_POSIX_MAPPED_FILES].
16017
16018 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16019
16020 * dirent/opendir.c: Include <fcntl.h>.
16021
16022 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16023 (__libc_getspecific): Likewise.
16024 (__libc_key_create): Likewise.
16025
16026 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16027 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16028 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16029 (tmpfile64): Define as alias.
16030 * sysdeps/wordsize-64/tmpfile.c: File removed.
16031 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16032 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16033 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16034
16035 * stdio-common/vfscanf.c: Include <stdbool.h>.
16036 * nss/makedb.c: Likewise.
16037 * stdio-common/_i18n_number.h: Likewise.
16038 * argp/argp-help.c: Likewise.
16039 * posix/wordexp.c: Likewise.
16040 * sysdeps/posix/spawni.c: Likewise.
16041 * nss/nss_files/files-initgroups.c: Likewise.
16042 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16043 * nss/nss_files/files-initgroups.c: Likewise.
16044 * nss/nss_db/db-netgrp.c: Likewise.
16045 * nss/nss_db/db-initgroups.c: Likewise.
16046 * io/fchmodat.c: Include <sys/stat.h>.
16047
16048 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16049 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16050
16051 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16052 [HAVE_MMAP].
16053
16054 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16055 Add multiple inclusion protection.
16056
e5abc686
DM
160572012-07-27 David S. Miller <davem@davemloft.net>
16058
16059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16060
815e6fa3
GB
160612012-07-27 Gary Benson <gbenson@redhat.com>
16062
16063 [BZ #14298]
16064 * elf/rtld.c: Include <stap-probe.h>.
16065 (dl_main): Added static probes "init_start" and "init_complete".
16066 * elf/dl-load.c: Include <stap-probe.h>.
16067 (lose): Take new parameter "nsid".
16068 Added static probe "map_failed".
16069 (_dl_map_object_from_fd): Pass namespace id to lose.
16070 Added static probe "map_start".
16071 (open_verify): Pass namespace id to lose.
16072 * elf/dl-open.c: Include <stap-probe.h>.
16073 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16074 and "reloc_complete".
16075 * elf/dl-close.c: Include <stap-probe.h>.
16076 (_dl_close_worker): Added static probes "unmap_start" and
16077 "unmap_complete".
16078 * elf/rtld-debugger-interface.txt: New file documenting the above.
16079
9f98c16c
RM
160802012-07-26 Roland McGrath <roland@hack.frob.com>
16081
16082 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16083 rather than a string variable.
16084 * sunrpc/rpc_main.c (h_output): Likewise.
16085 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16086
f3c22df3
PT
160872012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16088
16089 * inet/check_native.c: New file.
16090
3129cfc6
JM
160912012-07-26 Joseph Myers <joseph@codesourcery.com>
16092
da865e95
JM
16093 [BZ #13629]
16094 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16095 if larger part has absolute value 1.0.
16096 * math/s_clog10.c (__clog10): Likewise.
16097 * math/s_clog10f.c (__clog10f): Likewise.
16098 * math/s_clog10l.c (__clog10l): Likewise.
16099 * math/s_clogf.c (__clogf): Likewise.
16100 * math/s_clogl.c (__clogl): Likewise.
16101 * math/libm-test.inc (clog_test): Add more tests.
16102 (clog10_test): Likewise.
16103 * sysdeps/i386/fpu/libm-test-ulps: Update.
16104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16105
3129cfc6
JM
16106 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16107 (pltexit): Likewise.
16108 (La_regs): Likewise.
16109 (La_retval): Likewise.
16110 (int_retval): Likewise.
16111 Update #error for removed macros to refer only to definitions in
16112 tst-audit.h.
16113 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16114 macro.
16115 (pltexit): Likewise.
16116 (La_regs): Likewise.
16117 (La_retval): Likewise.
16118 (int_retval): Likewise.
16119 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16120 macro.
16121 (pltexit): Likewise.
16122 (La_regs): Likewise.
16123 (La_retval): Likewise.
16124 (int_retval): Likewise.
16125 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16126 macro.
16127 (pltexit): Likewise.
16128 (La_regs): Likewise.
16129 (La_retval): Likewise.
16130 (int_retval): Likewise.
16131 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16132 macro.
16133 (pltexit): Likewise.
16134 (La_regs): Likewise.
16135 (La_retval): Likewise.
16136 (int_retval): Likewise.
16137 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16138 macro.
16139 (pltexit): Likewise.
16140 (La_regs): Likewise.
16141 (La_retval): Likewise.
16142 (int_retval): Likewise.
16143 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16144 macro.
16145 (pltexit): Likewise.
16146 (La_regs): Likewise.
16147 (La_retval): Likewise.
16148 (int_retval): Likewise.
16149 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16150 macro definitions in tst-audit.h.
16151 * sysdeps/i386/tst-audit.h: New file.
16152 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16153 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16154 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16155 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16156 * sysdeps/sh/tst-audit.h: Likewise.
16157 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16158 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16159 * sysdeps/x86_64/tst-audit.h: Likewise.
16160
bfc07087
AJ
161612012-07-26 Andreas Jaeger <aj@suse.de>
16162
b1b2aaf8
AJ
16163 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16164 ptrace.
16165
16166 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16167 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16168 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16169 PTRACE_O_MASK.
16170 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16171 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16172 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16173
bfc07087
AJ
16174 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16175 value.
16176
16177 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16178 _sigsys.
16179 (si_call_addr, si_syscall, si_arch): Define new macro.
16180 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16181 _sigsys.
16182 (si_call_addr, si_syscall, si_arch): Define new marcro.
16183 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16184 _sigsys.
16185 (si_call_addr, si_syscall, si_arch): Define new macro.
16186 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16187 _sigsys.
16188 (si_call_addr, si_syscall, si_arch): Define new macro.
16189
89b4b02f
JM
161902012-07-25 Joseph Myers <joseph@codesourcery.com>
16191
16192 [BZ #13717]
16193 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16194 Change to 2.4.21 where previously 2.4.1.
16195 * sysdeps/unix/sysv/linux/configure: Regenerated.
16196 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16197 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16198 Linux kernel version.
16199 (__ASSUME_STD_AUXV): Remove.
16200 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16201 kernel version.
16202 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16203 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16204 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16205 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16206 (__ASSUME_NETLINK_SUPPORT): Likewise.
16207 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16208 (__no_netlink_support): Remove conditional definition.
16209 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16210 Remove.
16211 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16212 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16213 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16214 (if_nameindex_ioctl): Remove.
16215 (if_nameindex_netlink): Do not handle __no_netlink_support.
16216 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16217 code.
16218 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16219 Remove conditional code.
16220 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16221 code.
16222 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16223 unconditional.
16224 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16225 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16226 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16227 Remove.
16228 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16229 [!__ASSUME_STD_AUXV]: Remove conditional code.
16230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16231 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16232 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16234 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16235 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16236 code.
16237 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16239 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16240 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16241 conditional code.
16242 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16244 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16245 code.
16246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16247 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16248 conditional code.
16249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16250 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16251 code unconditional.
16252 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16253 conditional code.
16254 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16255 unconditional.
16256 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16257 conditional code.
16258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16259 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16260 unconditional.
16261 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16262 conditional code.
16263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16264 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16265 code unconditional.
16266 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16267 conditional code.
16268 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16269 unconditional.
16270 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16271 conditional code.
16272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16273 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16274 code unconditional.
16275 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16276 conditional code.
16277 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16278 unconditional.
16279 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16280 conditional code.
16281
842a39cd
AS
162822012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16283
16284 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16285 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16286 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16287 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16288 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16289 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16290 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16291 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16292 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16293 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16294 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16295 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16296 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16297 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16298 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16299 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16300 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16301 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16302 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16303 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16304 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16305 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16306 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16307
84b3fd84
FW
163082012-07-25 Florian Weimer <fweimer@redhat.com>
16309
16310 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16311 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16312 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16313 Introduce __libc_secure_getenv.
0c7936d5
FW
16314 * stdlib/Versions (2.17): Add secure_getenv
16315 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16316 * stdlib/secure-getenv.c: Rename __secure_getenv to
16317 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16318 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16319 * stdlib/tst-secure-getenv.c: New.
16320 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16321 * manual/startup.texi (Environment Access): Document
16322 secure_getenv.
84b3fd84
FW
16323 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16324 __libc_secure_getenv.
16325 * inet/ruserpass.c (ruserpass): Likewise.
16326 * malloc/mtrace.c (mtrace): Likewise.
16327 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16328 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16329 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16330 * sysdeps/posix/tempname.c: Likewise. Evaluate
16331 HAVE_SECURE_GETENV.
16332 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16333 __secure_getenv to __libc_secure_getenv.
84b3fd84 16334 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16336 Likewise.
16337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16338 Likewise.
16339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16341 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16346
56e49b71
JM
163472012-07-25 Joseph Myers <joseph@codesourcery.com>
16348
16349 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16350 (struct La_i86_retval): Likewise.
16351 (struct La_x86_64_regs): Likewise.
16352 (struct La_x86_64_retval): Likewise.
16353 (struct La_x32_regs): Likewise.
16354 (struct La_x32_retval): Likewise.
16355 (struct La_ppc32_regs): Likewise.
16356 (struct La_ppc32_retval): Likewise.
16357 (struct La_ppc64_regs): Likewise.
16358 (struct La_ppc64_retval): Likewise.
16359 (struct La_sh_regs): Likewise.
16360 (struct La_sh_retval): Likewise.
16361 (struct La_s390_32_regs): Likewise.
16362 (struct La_s390_32_retval): Likewise.
16363 (struct La_s390_64_regs): Likewise.
16364 (struct La_s390_64_retval): Likewise.
16365 (struct La_sparc32_regs): Likewise.
16366 (struct La_sparc32_retval): Likewise.
16367 (struct La_sparc64_regs): Likewise.
16368 (struct La_sparc64_retval): Likewise.
16369 (struct audit_ifaces): Remove architecture-specific pltenter and
16370 pltexit members.
16371 * sysdeps/i386/ldsodefs.h: New file.
16372 * sysdeps/powerpc/ldsodefs.h: Likewise.
16373 * sysdeps/s390/ldsodefs.h: Likewise.
16374 * sysdeps/sh/ldsodefs.h: Likewise.
16375 * sysdeps/sparc/ldsodefs.h: Likewise.
16376 * sysdeps/x86_64/ldsodefs.h: Likewise.
16377
354691b7
MP
163782012-07-25 Marek Polacek <polacek@redhat.com>
16379
16380 [BZ #6808]
16381 * math/libm-test.inc (yn_test): Add another test.
16382 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16383 to ERANGE when the result is +-Inf.
16384 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16385 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16386 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16387 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16388
bf9e2071
JM
163892012-07-24 Joseph Myers <joseph@codesourcery.com>
16390
16391 * conform/data/time.h-data (NULL): Use macro-constant. Require
16392 equal to 0.
16393 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16394 clock_t.
16395 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16396
57633811
TS
163972012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16398
16399 * configure.in <sysdeps resolving>: Correct printing
16400 Implies_before.
16401 * configure: Regenerate.
16402
c23c33b0
TS
164032012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16404
16405 * math/w_ilogb.c: Include <limits.h>.
16406 * math/w_ilogbl.c: Likewise.
16407
b5982523
JM
164082012-07-20 Joseph Myers <joseph@codesourcery.com>
16409
16410 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16411 va_copy. Document allowing for unavailable va_copy only as
16412 pre-C99 compatibility.
16413 * manual/string.texi (Copying and Concatenation): Use va_copy
16414 instead of __va_copy in concat example.
16415
ac4ea442
PT
164162012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16417
16418 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16419 (__sendto): Use create_address_port. Initialize APORT and deallocate
16420 it if not null.
16421
f98eafbd
PT
16422 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16423 with O_NOLINK passed to __file_name_lookup.
16424
898c7aab
PT
16425 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16426 with O_NOLINK passed to __file_name_lookup.
16427
0ced335a
PT
16428 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16429 negative N or less than NGIDS.
16430
b3404dbd
PT
16431 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16432 type to string_t. Set ERANGE as errno and return it if NAME is not big
16433 enough. Use memcpy instead of strncpy.
16434
0f48659e
JM
164352012-07-20 Joseph Myers <joseph@codesourcery.com>
16436
16437 * elf/Makefile (check-data): Remove.
16438 (localplt.data): New vpath directive.
16439 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16440 instead of $(check-data).
16441 * scripts/data/localplt-generic.data: Move to ...
16442 * sysdeps/generic/localplt.data: ... here.
16443 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16444 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16445 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16447 ... here.
16448 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16450 ... here.
16451 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16453 ... here.
16454 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16456 ... here.
16457 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16459 ... here.
16460 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16462 ... here.
16463
d37cbdaa
AZ
164642012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16465
16466 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16467 PPC32 and PPC64 files.
16468 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16469 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16470
46f85fc2
AK
164712012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16472
16473 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16474 __makecontext_ret to ...
16475 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16476 ... here and call exit if uc_link is NULL. New file.
16477 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16478 __makecontext_ret.S.
16479 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16480 __makecontext_ret to ...
16481 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16482 ... here and call exit if uc_link is NULL. New file.
16483 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16484 __makecontext_ret.S.
16485
08f43f9b
AK
164862012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16487
16488 * elf/elf.h (R_390_IRELATIVE): New definition.
16489 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16490 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16491 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16492 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16493 (elf_machine_lazy_rel): Likewise.
16494 * sysdeps/s390/dl-irel.h: New file.
16495 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16496 * sysdeps/s390/s390-64/memset.S: New asm code.
16497 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16498 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16499 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16500 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16501 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16502 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16503 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16504 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16505 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16506 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16507 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16508 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16509 * sysdeps/s390/s390-32/memset.S: New asm code.
16510 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16511
3b05db33
MP
165122012-07-17 Marek Polacek <polacek@redhat.com>
16513
16514 [BZ #14349]
16515 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16516 * sysdeps/s390/s390-64/configure.in: Likewise.
16517 * sysdeps/sparc/configure.in: Likewise.
16518 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16519 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16520 * sysdeps/i386/configure.in: Likewise.
16521 * sysdeps/x86_64/configure.in: Likewise.
16522 * sysdeps/sh/configure.in: Likewise.
16523 * sysdeps/s390/s390-32/configure: Regenerated.
16524 * sysdeps/s390/s390-64/configure: Likewise.
16525 * sysdeps/x86_64/configure: Likewise.
16526 * sysdeps/sh/configure: Likewise.
16527 * sysdeps/powerpc/powerpc64/configure: Likewise.
16528 * sysdeps/powerpc/powerpc32/configure: Likewise.
16529 * sysdeps/sparc/configure: Likwise.
16530 * sysdeps/i386/configure: Likewise.
16531
a66877c6
MP
16532 * elf/dl-open.c: Comment fixes.
16533
cfc82fd8
JM
165342012-07-17 Joseph Myers <joseph@codesourcery.com>
16535
bd29910a
JM
16536 * Makefile [CXX] (check-data): Remove.
16537 [CXX] (c++-types.data): New vpath directive.
16538 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16539 vpath. Do not allow for C++ type data being missing.
16540 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16541 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16542 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16543 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16544 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16545 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16546 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16548 ... here.
16549 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16551 ... here.
16552 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16554 ... here.
16555 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16557 ... here.
16558 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16560 ... here.
16561 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16563 ... here.
16564 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16566 ... here.
16567 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16569
cfc82fd8
JM
16570 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16571 definitions to architecture-specific files.
16572 (TLS_IE): Likewise.
16573 (TLS_LD): Likewise.
16574 (TLS_GD): Likewise.
16575 * sysdeps/i386/tls-macros.h: New file.
16576 * sysdeps/powerpc/tls-macros.h: Likewise.
16577 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16578 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16579 * sysdeps/sh/tls-macros.h: Likewise.
16580 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16581 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16582 * sysdeps/x86_64/tls-macros.h: Likewise.
16583
f7db3170
TS
165842012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16585
07cbfc23
TS
16586 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16587 zero value for regular exit case.
16588
f7db3170
TS
16589 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16590 (__start_context): Preserve zero value for regular exit case.
16591
dc97c227
TS
165922012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16593 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16594
16595 * manual/setjmp.texi (setcontext): Clarify normal process
16596 termination when uc_link is the null pointer.
16597 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16598 exit call.
16599
d0cd7d02
AS
166002012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16601
16602 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16603 preprocessor. Test for each exception mask separately.
16604
dd318934
AJ
166052012-07-16 Andreas Jaeger <aj@suse.de>
16606
16607 * po/ru.po: Update from translation team.
16608
8048311a
JM
166092012-07-15 Joseph Myers <joseph@codesourcery.com>
16610
16611 * conform/data/string.h-data (NULL): Use macro-constant. Require
16612 equal to 0.
16613 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16614 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16615 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16616 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16617 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16618
b637d46e
AJ
166192012-07-13 Andreas Jaeger <aj@suse.de>
16620
16621 * po/fr.po: Update from translation team.
16622
541428fe
MP
166232012-07-12 Marek Polacek <polacek@redhat.com>
16624
16625 [BZ #14173]
16626 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16627 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16628 loop condition.
16629
ec332e94
JM
166302012-07-12 Joseph Myers <joseph@codesourcery.com>
16631
16632 [BZ #13717]
16633 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16634 Change to 2.4.1 where previously 2.4.0.
16635 * sysdeps/unix/sysv/linux/configure: Regenerated.
16636 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16637 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16638 version.
16639 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16640 (__ASSUME_AT_CLKTCK): Remove.
16641 (__ASSUME_AT_PAGESIZE): Likewise.
16642 (__ASSUME_AT_XID): Likewise.
16643 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16644 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16645 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16646 unconditionally.
16647 (HAVE_AUX_PAGESIZE): Likewise.
16648 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16649 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16650 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16651
7b6e99be
JB
166522012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16653
16654 [BZ #14307]
16655 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16656 the temporary buffer used to invoke __gethostbyname2_r,
16657 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16658 host_data / struct gaih_addrtuple.
16659 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16660 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16661 header file nss/nsswitch.h.
16662 * nss/nsswitch.h (global scope): Add definition of implementation
16663 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16664 resolv/nss_dns/dns-host.c).
16665
608404eb
AJ
166662012-07-11 Andreas Jaeger <aj@suse.de>
16667
16668 * po/fr.po: Update from translation team.
16669
71220aca
AJ
16670 * po/sv.po: Update from translation team
16671 * po/fr.po: Another update from translation team.
16672
28cfe843
AZ
166732012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16674
16675 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16676 for subnormals or multiply small sinh result by itself.
16677 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16679
6b90f981
DM
166802012-07-11 David S. Miller <davem@davemloft.net>
16681
16682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16683
c6825772
AS
166842012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16685
16686 [BZ #14347]
16687 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16688 (INTERNAL_MARK): Shift it here.
16689
7b8e0d49
MP
166902012-07-10 Marek Polacek <polacek@redhat.com>
16691
16692 [BZ #14151]
16693 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16694 libc_cv_asm_global_directive with .globl.
16695 * configure: Regenerated.
16696 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16697 with .globl.
16698 * sysdeps/i386/configure: Regenerated.
16699 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16700 with .globl.
16701 * sysdeps/x86_64/configure: Regenerated.
16702 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16703 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16704 * elf/tst-unique2mod2.c: Likewise.
16705 * elf/tst-unique2mod1.c: Likewise.
16706 * elf/tst-unique1mod2.c: Likewise.
16707 * elf/tst-unique1mod1.c: Likewise.
16708 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16709 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16710 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16711 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16712 * sysdeps/mach/sysdep.h: Likewise.
16713 * sysdeps/i386/sysdep.h: Likewise.
16714 * sysdeps/i386/i386-mcount.S: Likewise.
16715 * sysdeps/x86_64/_mcount.S: Likewise.
16716 * sysdeps/x86_64/sysdep.h: Likewise.
16717 * sysdeps/sh/_mcount.S: Likewise.
16718 * sysdeps/sh/sysdep.h: Likewise.
16719 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16720 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16721 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16722 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16723 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16724 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16725 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16726 * locale/localeinfo.h: Likewise.
16727 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16728 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16729
6c55cda3
RM
167302012-07-09 Roland McGrath <roland@hack.frob.com>
16731
16732 [BZ #14336]
16733 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16734 system".
16735 * manual/message.texi (The Uniforum approach): Likewise.
16736 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16737 (glibc iconv Implementation): Likewise.
16738
638a572e
JM
167392012-07-09 Joseph Myers <joseph@codesourcery.com>
16740
16741 [BZ #14337]
16742 * math/s_clog.c (__clog): Avoid scaling a value down where that
16743 could result in underflow.
16744 * math/s_clog10.c (__clog10): Likewise.
16745 * math/s_clog10f.c (__clog10f): Likewise.
16746 * math/s_clog10l.c (__clog10l): Likewise.
16747 * math/s_clogf.c (__clogf): Likewise.
16748 * math/s_clogl.c (__clogl): Likewise.
16749 * math/libm-test.inc (clog_test): Add more tests.
16750 (clog10_test): Likewise.
16751 * sysdeps/i386/fpu/libm-test-ulps: Update.
16752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16753
261f4859
AS
167542012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16755
0abaf3e4
AS
16756 [BZ #14283]
16757 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16758 by 7 not 8 to examine high bit of fractional part.
16759
261f4859
AS
16760 [BZ #14042]
16761 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16762 for call to __mcount_internal.
16763 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16764 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16765 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16766
f17ac40d
JM
167672012-07-06 Joseph Myers <joseph@codesourcery.com>
16768
9ad63c23
JM
16769 [BZ #14154]
16770 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16771 approximation for values within 0x1p-13f of an odd multiple of
16772 pi/4.
16773 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16774 exception. Add more tests.
16775 * sysdeps/i386/fpu/libm-test-ulps: Update.
16776
f17ac40d
JM
16777 [BZ #6778]
16778 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16779 inputs and return -1 for them. Do not check for +Inf in case not
16780 reachable for +Inf.
16781 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16782 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16783 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16784 and return -1 for them. Do not check for +Inf in case not
16785 reachable for +Inf.
16786 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16787 define.
16788 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16789 and return -1 for them. Do not check for +Inf in case not
16790 reachable for +Inf.
16791 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16792 spurious underflow.
16793 * sysdeps/i386/fpu/libm-test-ulps: Update.
16794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16795
fb21f89b
MF
167962012-07-06 Mike Frysinger <vapier@gentoo.org>
16797
16798 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16799
cdfe2c5e
JM
168002012-07-05 Joseph Myers <joseph@codesourcery.com>
16801
16802 [BZ #14157]
16803 [BZ #14331]
16804 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16805 could result in spurious underflow. Scale down values above
16806 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16807 * math/s_csqrtf.c (__csqrtf): Likewise.
16808 * math/s_csqrtl.c (__csqrtl): Likewise.
16809 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16810 spurious underflow.
16811 * sysdeps/i386/fpu/libm-test-ulps: Update.
16812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16813
70d35b67
AS
168142012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16815
704bc459
AS
16816 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16817 xopen-msg.sed.
16818 * catgets/xopen-msg.awk: New file.
16819 * catgets/xopen-msg.sed: Removed.
16820
70d35b67
AS
16821 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16822 po2text.sed.
16823 * intl/po2test.awk: New file.
16824 * intl/po2test.sed: Removed.
16825
ca61cf32
JM
168262012-07-04 Joseph Myers <joseph@codesourcery.com>
16827
16828 [BZ #14328]
16829 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16830 or multiply small sinh result by itself.
16831 * math/s_ctanf.c (__ctanf): Likewise.
16832 * math/s_ctanh.c (__ctanh): Likewise.
16833 * math/s_ctanhf.c (__ctanhf): Likewise.
16834 * math/s_ctanhl.c (__ctanhl): Likewise.
16835 * math/s_ctanl.c (__ctanl): Likewise.
16836 * math/libm-test.inc (ctan_test_tonearest): New function.
16837 (ctan_test_towardzero): Likewise.
16838 (ctan_test_downward): Likewise.
16839 (ctan_test_upward): Likewise.
16840 (ctanh_test_tonearest): Likewise.
16841 (ctanh_test_towardzero): Likewise.
16842 (ctanh_test_downward): Likewise.
16843 (ctanh_test_upward): Likewise.
16844 (main): Call these new functions.
16845 * sysdeps/i386/fpu/libm-test-ulps: Update.
16846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16847
ca48a46a
MF
168482012-07-03 Mike Frysinger <vapier@gentoo.org>
16849
16850 * .gitignore: Delete /ports entry.
16851
9d63d37d
AJ
168522012-07-03 Andreas Jaeger <aj@suse.de>
16853
16854 * po/bg.po: Update from translation team.
16855 * po/cs.po: Likewise.
16856 * po/de.po: Likewise.
16857 * po/hr.po: Likewise.
16858 * po/nl.pl: Likewise.
16859 * po/pl.po: Likewise.
16860 * po/vi.po: Likewise.
16861
370ca3d2
JM
168622012-07-03 Joseph Myers <joseph@codesourcery.com>
16863
95f5a9a8
JM
16864 * Makeconfig [!+link] (+link-before-libc): New variable.
16865 [!+link] (+link-after-libc): Likewise.
16866 [!+link] (+link-tests): Likewise.
16867 [!+link] (+link): Define in terms of $(+link-before-libc) and
16868 $(+link-after-libc).
16869 [!+link-static] (+link-static-before-libc): New variable.
16870 [!+link-static] (+link-static-after-libc): Likewise.
16871 [!+link-static] (+link-static-tests): Likewise.
16872 [!+link-static] (+link-static): Define in terms of
16873 $(+link-static-before-libc) and $(+link-static-after-libc).
16874 [build-shared] (link-libc-before-gnulib): New variable.
16875 [build-shared] (link-libc-tests): Likewise.
16876 [build-shared] (link-libc): Define in terms of
16877 $(link-libc-before-gnulib).
16878 [!build-shared] (link-libc-tests): New variable.
16879 (link-libc-static-tests): New variable.
16880 [!gnulib] (gnulib-arch): New variable.
16881 [!gnulib] (gnulib-tests): Likewise.
16882 [!gnulib] (static-gnulib-arch): Likewise.
16883 [!gnulib] (static-gnulib-tests): Likewise.
16884 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16885 Define with "=" instead of ":=".
16886 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16887 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16888 * Rules (binaries-all-notests): New variable.
16889 (binaries-all-tests): Likewise.
16890 (binaries-static-notests): Likewise.
16891 (binaries-static-tests): Likewise.
16892 (binaries-all): Define using $(binaries-all-notests) and
16893 $(binaries-all-tests).
16894 (binaries-static): Define using $(binaries-static-notests) and
16895 $(binaries-static-tests).
16896 (binaries-shared-tests): New variable.
16897 (binaries-shared-notests): Likewise.
16898 (binaries-shared): Remove variable.
16899 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16900 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16901 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16902 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16903 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16904 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16905 * elf/Makefile (sln-modules): New variable.
16906 (extra-objs): Add $(sln-modules:=.o).
16907 (ldconfig-modules): Add static-stubs.
16908 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16909 * elf/static-stubs.c: New file.
16910
7a845b2c
JM
16911 [BZ #14283]
16912 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16913 by 7 not 8 to examine high bit of fractional part. Use volatile
16914 variables when splitting into final array of floats if
16915 __FLT_EVAL_METHOD__ != 0.
16916 * math/libm-test.inc (cos_test): Add another test.
16917 (sin_test): Likewise.
16918 * sysdeps/i386/fpu/libm-test-ulps: Update.
16919
e2283f38
JM
16920 [BZ #14273]
16921 * math/libm-test.inc (cosh_test): Add more tests.
16922
370ca3d2
JM
16923 * version.h (RELEASE): Set to "development".
16924 (VERSION): Set to "2.16.90".
16925
ee9247c3
CD
169262012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16927
16928 * NEWS: Update copyright. Remove last-updated date.
16929 Mention math library bug fixes and timezone data changes.
16930 * README: Mention GNU/Hurd, x32, and HPPA support status.
16931
4648c381
TS
169322012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16933
16934 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16935
aac78a43
AJ
169362012-06-27 Andreas Jaeger <aj@suse.de>
16937
16938 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16939
ed3dbfad
AJ
169402012-06-25 Andreas Jaeger <aj@suse.de>
16941
16942 * sysdeps/s390/fpu/libm-test-ulps: Update.
16943
4d0ee855
AS
169442012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16945 Thomas Schwinge <thomas@codesourcery.com>
16946
16947 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16948 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16949 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16950 fanotify_mark.
16951
af1bce34
TS
169522012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16953
a9fa33ba
TS
16954 * sysdeps/mach/start.c: Remove file.
16955 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16956 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16957 * sysdeps/sh/init-first.c: Likewise.
16958
58f902b8
TS
16959 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16960 registers for frame unwinding purposes, add CFI directives.
16961 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16962 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16963 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16964 Likewise.
16965
1518f58b
TS
16966 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16967 __fortify_fail returning.
16968 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16969
db9b5059
TS
16970 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16971 sysdeps/sh/____longjmp_chk.S.
16972 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16973 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16974 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16975 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16976
967705fe
TS
16977 * sysdeps/sh/abort-instr.h: New file.
16978 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16979 process in case exit returns.
16980
a9def8c4
TS
16981 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16982 initialize the GOT register before use.
16983
2a649725
TS
16984 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16985 calculation of ARGC > 4.
16986
af1bce34
TS
16987 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16988 meaningful names to some local labels.
16989
d230f50a
KK
169902012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16991 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16992
16993 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16994 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16995 (__arch_compare_and_exchange_val_16_acq): Likewise.
16996 (__arch_compare_and_exchange_val_32_acq): Likewise.
16997 (atomic_exchange_and_add): Fix gUSA sequence.
16998 (atomic_add): Likewise.
16999 (atomic_add_negative): Likewise.
17000 (atomic_add_zero): Likewise.
17001 (atomic_bit_test_set): Likewise.
17002
0479b305
AS
170032012-06-22 Andreas Schwab <schwab@redhat.com>
17004
17005 [BZ #13579]
17006 * include/link.h (struct link_map): Add l_free_initfini.
17007 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17008 l_initfini.
17009 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17010 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17011 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17012 set.
17013
0e3933b9
CD
170142012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17015
17016 * configure.in: Use AC_LANG_SOURCE.
17017 * configure: Regenerate.
17018
4248b1b1
RM
170192012-06-22 Roland McGrath <roland@hack.frob.com>
17020
17021 * configure.in (libc_cv_localstatedir): New substituted variable.
17022 * configure: Regenerated.
17023 * config.make.in (localstatedir): New variable, substituted from
17024 libc_cv_localstatedir.
17025 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17026 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17027 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17028 * sysdeps/gnu/configure: Regenerated.
17029
006dd861
JL
170302012-06-21 Jeff Law <law@redhat.com>
17031
17032 [BZ #14277]
17033 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17034 free. Simplify list management for _LIBC case.
17035
79662d42
JM
170362012-06-21 Joseph Myers <joseph@codesourcery.com>
17037
b7abb4bf
JM
17038 [BZ #14273]
17039 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17040 Clear sign bit of 64-bit integer value before comparing against
17041 overflow value.
17042
79662d42
JM
17043 * sysdeps/mach/configure: Regenerated.
17044
1f150908
L
170452012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17046
17047 [BZ #14278]
17048 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17049
28363bbf
JL
170502012-06-21 Jeff Law <law@redhat.com>
17051
17052 [BZ #13882]
17053 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17054 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 17055 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
17056 * elf/dl-open.c (dl_open_worker): Likewise.
17057
09615db4
CD
170582012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17059
17060 * scripts/list-sources.sh: Scan PORTS for translations.
17061 * po/libc.pot: Regenerated.
17062
2174c6dd
AJ
170632012-06-21 Andreas Jaeger <aj@suse.de>
17064
17065 [BZ #12194]
17066 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17067 warning.
17068 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17069 * bits/byteswap-16.h (__bswap_16): Likewise.
17070 * bits/byteswap.h (__bswap_constant_16): Likewise.
17071
3ee947b1
L
170722012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17073
17074 [BZ #14117]
a2f34833
L
17075 * sysdeps/i386/fpu_control.h: Removed.
17076 * sysdeps/x86_64/fpu_control.h: Moved to ...
17077 * sysdeps/x86/fpu_control.h: Here.
17078
3ee947b1
L
17079 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17080 (_FPU_SETCW): Likewise.
17081
ed1825f8
L
170822012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17083
25f1282a
L
17084 [BZ #14117]
17085 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17086 * sysdeps/x86/fpu/bits/mathinline.h: This.
17087 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17088
ed1825f8
L
17089 [BZ #14050]
17090 [BZ #14117]
17091 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17092 functions if __x86_64__ is defined.
17093
36d54b74
CLT
170942012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17095
17096 * string/endian.h: Add !__ASSEMBLER__ condition for including
17097 conversion interfaces.
17098
10285c21
JM
170992012-06-15 Joseph Myers <joseph@codesourcery.com>
17100
17101 [BZ #14241]
17102 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17103 of ABS(x) in calculating zero to negative powers other than odd
17104 integers.
17105 * math/libm-test.inc (pow_test): Add more tests.
17106
06c5abbd
AJ
171072012-06-15 Andreas Jaeger <aj@suse.de>
17108
17109 * manual/contrib.texi (Contributors): Update entry of Liubov
17110 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17111 Machado Filho.
17112
a3aeac40
CH
171132012-06-15 Cyril Hrubis <metan@ucw.cz>
17114
17115 * string/string.h: Add __wur to GNU version of strerror_r.
17116
49bdf4c1
L
171172012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17118
17119 [BZ #14229]
17120 * string/Makefile (tests): Add tst-strtok_r.
17121 * string/tst-strtok_r.c: New file.
17122 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17123 RAX_LP/RDX_LP on SAVE_PTR.
17124
834f9b8d
RM
171252012-06-14 Roland McGrath <roland@hack.frob.com>
17126
17127 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17128
75fa1921
JM
171292012-06-14 Joseph Myers <joseph@codesourcery.com>
17130
17131 * libm_test.inc (csqrt_test): Allow more spurious underflow
17132 exceptions.
17133 (j0_test): Likewise.
17134 (j1_test): Likewise.
17135 (y0_test): Likewise.
17136 (y1_test): Likewise.
17137
771766df
CD
171382012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17139
17140 * po/Makefile (libc.pot): Use UTF-8 charset.
17141
ceb9e56b
PP
171422012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17143
17144 [BZ #14210]
17145 Suppress sign-conversion warning from FD_SET.
17146 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17147 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17148 not unsigned long int.
17149 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17150
ddb28975
L
171512012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17152
17153 [BZ #14050]
17154 [BZ #14117]
17155 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17156 __extern_always_inline instead of __extern_inline.
17157 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17158 (__signbit): Likewise.
17159 (__signbitl): Support C++ namespace.
17160 (lrintf): New inline function.
17161 (lrint): Likewise.
17162 (llrintf): Likewise.
17163 (llrint): Likewise.
17164 (fmaxf): Likewise.
17165 (fmax): Likewise.
17166 (fminf): Likewise.
17167 (fmin): Likewise.
17168 (rint): Likewise.
17169 (rintf): Likewise.
17170 (ceil): Likewise.
17171 (ceilf): Likewise.
17172 (floor): Likewise.
17173 (floorf): Likewise.
17174 (nearbyint): Likewise.
17175 (nearbyintf): Likewise.
17176
d7b4fb26
TS
171772012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17178
17179 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17180 non-default versions.
17181
eb55f5c2
RM
171822012-06-11 Roland McGrath <roland@hack.frob.com>
17183
17184 [BZ #14218]
17185 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17186
366af02c
TS
171872012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17188
99ff6e5c
TS
17189 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17190 (FE_UPWARD, FE_DOWNWARD): Don't define.
17191 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17192 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17193
366af02c
TS
17194 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17195 reading it.
17196 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17197 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17198
793ea851
KK
171992012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17200
17201 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17202 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17203 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17204 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17205
a728a38f
L
172062012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17207
17208 [BZ #14117]
c08010c7
L
17209 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17210 * sysdeps/i386/fpu/Implies: New file.
17211 * sysdeps/x86_64/fpu/Implies: Likewise.
17212 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17213 * sysdeps/x86/fpu/bits/fenv.h: This.
17214
a728a38f
L
17215 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17216 __SSE_MATH__.
17217
6e230d11
SP
172182012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17219
17220 [BZ #14134]
17221 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17222 character 0xffff that matches the last element of the
17223 conversion table.
17224
1b671feb
AZ
172252012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17226
17227 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17228 fmodl commit.
17229
6043738b
AZ
172302012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17231
17232 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17233 values higher than 25.6283.
17234
34ae0b32
AZ
172352012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17236
17237 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17238 subnormal exponent extraction and add some __builtin_expect.
17239 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17240 Fix for subnormal mantissa calculation.
17241
1214ec8f
MF
172422012-06-04 Mike Frysinger <vapier@gentoo.org>
17243
17244 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17245 cpu2 is -1 and errno is not ENOSYS.
17246
f3d1f93c
L
172472012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17248
17249 [BZ #14117]
0e4a3cd7
L
17250 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17251 * sysdeps/x86/bits/string.h: This.
17252 * sysdeps/x86_64/bits/string.h: Removed.
17253
6704c645
L
17254 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17255 if not compiling for x86-64, but compiling for >= i486.
17256
48495318
L
17257 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17258 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17259
14adcbfc
L
17260 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17261 New macro from Linux kernel 3.4.0.
17262 (FP_XSTATE_MAGIC2): Likewise.
17263 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17264 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17265 (struct _fpx_sw_bytes): New struct.
17266 (struct _xsave_hdr): Likewise.
17267 (struct _ymmh_state): Likewise.
17268 (struct _xstate): Likewise.
17269
68e408ab
L
17270 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17271 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17272 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17273 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17274 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17275 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17276
f3d1f93c
L
17277 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17278 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17279 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17280 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17281 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17282 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17283
d9dc34cd
TMQMF
172842012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17285
17286 [BZ #13743]
17287 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17288 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17289 (sysdep_headers): Include sys/platform/ppc.h.
17290 * sysdeps/powerpc/test-gettimebase.c: Test for
17291 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17292 * manual/Makefile (appendices): Include platform.texi.
17293 * manual/contrib.texi (Contributors): Update @node pointers.
17294 * manual/maint.texi (Maintenance): Likewise.
17295 (Platform): New node.
17296 * manual/platform.texi: New file. Document the new features.
17297
4af3879c
SP
172982012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17299 Jakub Jelinek <jakub@redhat.com>
17300
17301 [BZ #14188]
17302 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17303 where __builtin_expect is unavailable.
17304
2fd6ff13
DM
173052012-06-03 David S. Miller <davem@davemloft.net>
17306
17307 * stdlib/longlong.h: Updated from GCC.
17308
173f7220
AS
173092012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17310
17311 [BZ #14042]
17312 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17313 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17314 __mcount_internal.
17315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17316 (GLIBC_2.16): Likewise.
17317
f34a1c6f
L
173182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17319
17320 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17321
88a4576f
JM
173222012-06-01 Joseph Myers <joseph@codesourcery.com>
17323
ea32bcdd
JM
17324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17325 (default-abi): New variable.
17326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17327 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17328 variable.
17329 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17330 Likewise.
17331 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17332 Likewise.
17333 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17334 Likewise.
17335
88a4576f
JM
17336 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17337 definition. Document in comment.
17338
402fe938
DM
173392012-06-01 David S. Miller <davem@davemloft.net>
17340
17341 * stdlib/longlong.h: Updated from GCC.
17342
3553723f
L
173432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17344
17345 [BZ #14117]
3bd872c4
L
17346 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17347 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17348 sys/debugreg.h sys/io.h here.
17349 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17350 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17351 sys/io.h.
17352 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17353 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17354 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17355 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17356 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17357 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17358
3553723f
L
17359 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17360 Define only if __x86_64__ is defined.
17361
4842e4fe
JM
173622012-06-01 Joseph Myers <joseph@codesourcery.com>
17363
c5bfe3d5
JM
17364 [BZ #14048]
17365 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17366 Use int64_t for variable i.
17367 * math/libm-test.inc (fmod_test): Add more tests.
17368
4842e4fe
JM
17369 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17370 z computation is not scheduled after fetestexcept.
17371 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17372 Use math_force_eval instead of asm to ensure calculation scheduled
17373 before exception test.
17374 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17375 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17376
efb73488
AJ
173772012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17378
17379 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17380 computation is not scheduled after fetestexcept.
17381
29bcce7c
L
173822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17383
17384 [BZ #14117]
17385 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17386 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17387
73a68f94
AZ
173882012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17389
17390 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17391 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17392
67b6df78
L
173932012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17394
edf2933a 17395 [BZ #14117]
ebc64a18
L
17396 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17397 <bits/wordsize.h>.
17398 (__WCHAR_MIN): Support __WORDSIZE == 64.
17399 (__WCHAR_MAX): Likewise.
17400
edf2933a
L
17401 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17402 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17403
57c6cf40
L
17404 [BZ #14183]
17405 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17406 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17407
67b6df78 17408 [BZ #14117]
8eb6281e
L
17409 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17410 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17411
aac639f4
L
17412 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17413 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17414
67b6df78
L
17415 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17416 Defined to 1 if __x86_64__ isn't defined.
17417 (_STAT_VER_LINUX_OLD): New.
17418 (st_atime): Remove duplicate.
17419 (st_mtime): Likewise.
17420 (st_ctime): Likewise.
17421
1c2cfe81
DM
174222012-05-31 David S. Miller <davem@davemloft.net>
17423
17424 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17425 entries.
17426
5be8418c
AS
174272012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17428
e7725326
AS
17429 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17430 gen-libm-test.pl.
17431
5be8418c
AS
17432 [BZ #14132]
17433 * elf/dl-reloc.c: Include <_itoa.h>.
17434 (_dl_reloc_bad_type): Remove use of INTUSE.
17435 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17436 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17437 * stdio-common/psiginfo.c (psiginfo): Likewise.
17438 * stdio-common/psignal.c (psignal): Likewise.
17439 * string/strsignal.c (strsignal): Likewise.
17440 * include/signal.h (_sys_siglist): Declare hidden proto.
17441 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17442 INTVARDEF with libc_hidden_data_def.
17443 * stdio-common/itoa-udigits.c: Likewise.
17444 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17445 (_itoa_lower_digits_internal): Remove declaration.
17446 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17447 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17448 (_sys_sigabbrev_internal): Remove aliases.
17449 (_sys_siglist): Define hidden alias.
17450
507352f1
MT
174512012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17452
17453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17454 bits/sysctl.h.
17455
42bbb1c3
L
174562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17457
17458 [BZ #14117]
6bd784b6
L
17459 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17460 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17461
8bca20f0
L
17462 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17463 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17464 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17465 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17466 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17467 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17468
f9e890a9
L
17469 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17470 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17471 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17472
471101a1
L
17473 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17474 with __addr.
17475 (insw): Likewise.
17476 (insl): Likewise.
17477 (outsb): Likewise.
17478 (outsw): Likewise.
17479 (outsl): Likewise.
17480
6451c862
L
17481 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17482 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17483 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17484
a254b8c9
L
17485 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17486 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17487 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17488 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17489 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17490 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17491
b8dfdd92
L
17492 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17493 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17494
578cd270
L
17495 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17496 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17497
de662f5f
L
17498 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17499 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17500 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17501
25653439
L
17502 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17503 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17504 to ...
17505 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17506
6bad24a0
L
17507 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17508 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17509 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17510
42bbb1c3
L
17511 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17512 for x86-64.
17513 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17514
2d10d547
JM
175152012-05-31 Joseph Myers <joseph@codesourcery.com>
17516
17517 * math/math.h (M_El): Use two more decimal places.
17518 (M_LOG2El): Likewise.
17519 (M_LOG10El): Likewise.
17520 (M_LN2l): Likewise.
17521 (M_LN10l): Likewise.
17522 (M_PIl): Likewise.
17523 (M_PI_2l): Likewise.
17524 (M_PI_4l): Likewise.
17525 (M_1_PIl): Likewise.
17526 (M_2_PIl): Likewise.
17527 (M_2_SQRTPIl): Likewise.
17528 (M_SQRT2l): Likewise.
17529 (M_SQRT1_2l): Likewise.
17530
f230c29b
DM
175312012-05-31 David S. Miller <davem@davemloft.net>
17532
17533 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17534 values between float registers.
17535 * sysdeps/sparc/sparc64/memset.S: Likewise.
17536 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17537
fed806c3
MF
175382012-05-31 Mike Frysinger <vapier@gentoo.org>
17539
17540 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17541 -D_FORTIFY_SOURCE=1.
17542 (CPPFLAGS-tst-longjmp_chk.c): Define.
17543 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17544 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17545 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17546 CFLAGS-tst-wchar-h.c.
17547
30917259
MP
175482012-05-31 Marek Polacek <polacek@redhat.com>
17549
17550 [BZ #14132]
17551 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17552 __endmntent_internal): Remove declaration.
17553 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17554 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17555 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17556
1c58d5dc
DM
175572012-05-30 David S. Miller <davem@davemloft.net>
17558
17559 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17560 (___Q_simulate_exceptions): Use real FP ops rather than writing
17561 into the %fsr.
17562 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17563 Likewise.
17564
7dc00e0d
L
175652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17566
17567 [BZ #14117]
0bd53985
L
17568 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17569 * sysdeps/x86/bits/xtitypes.h: This.
17570
3a257e66
L
17571 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17572 * sysdeps/x86/bits/wordsize.h: This.
17573
62f62904
L
17574 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17575 * sysdeps/x86/bits/huge_vall.h: This.
17576
404fe9d9
L
17577 * sysdeps/i386/bits/select.h: Removed.
17578 * sysdeps/x86_64/bits/select.h: Renamed to ...
17579 * sysdeps/x86/bits/select.h: This.
17580
d48d0446
L
17581 * sysdeps/i386/bits/setjmp.h: Removed.
17582 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17583 * sysdeps/x86/bits/setjmp.h: This.
17584
7dc00e0d
L
17585 * sysdeps/i386/bits/mathdef.h: Removed.
17586 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17587 * sysdeps/x86/bits/mathdef.h: This.
17588
03277f8f
AS
175892012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17590
17591 [BZ #14132]
17592 * include/sys/socket.h (__connect_internal)
17593 (__libc_sa_len_internal): Remove declaration.
17594 (__connect, __libc_sa_len): Declare hidden_proto.
17595 (SA_LEN): Remove use of INTUSE.
17596 * socket/connect.c: Add libc_hidden_def.
17597 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17598 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17599 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17600 alias.
17601 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17602 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17603 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17604 of adding _internal alias.
17605
13764867
L
176062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17607
17608 [BZ #14117]
6bd97696
L
17609 * sysdeps/i386/bits/link.h: Removed.
17610 * sysdeps/i386/bits/linkmap.h: Likewise.
17611 * sysdeps/x86_64/bits/link.h: Renamed to ...
17612 * sysdeps/x86/bits/link.h: This.
17613 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17614 * sysdeps/x86/bits/linkmap.h: This.
17615
f726f0bb
L
17616 * sysdeps/i386/bits/endian.h: Removed.
17617 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17618 * sysdeps/x86/bits/endian.h: This.
17619
13764867
L
17620 * sysdeps/i386/bits/byteswap.h: Removed.
17621 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17622 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17623 * sysdeps/x86/bits/byteswap.h: This.
17624 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17625 * sysdeps/x86/bits/byteswap-16.h: This.
17626 * sysdeps/i386/Implies: Add x86.
17627 * sysdeps/x86_64/Implies: Likewise.
17628
ae251b0b
DM
176292012-05-30 David S. Miller <davem@davemloft.net>
17630
17631 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17632 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17633 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17634 (FP_TRAPPING_EXCEPTIONS): Define.
17635 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17636 (FP_TRAPPING_EXCEPTIONS): Define.
17637 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17638 subnormals only when inexact has been signalled or underflow
17639 exceptions are enabled.
17640 (_FP_PACK_CANONICAL): Likewise.
17641
d5c90867
L
176422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17643
17644 [BZ #14183]
17645 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17646 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17647
63f1549e
RH
176482012-05-30 Richard Henderson <rth@twiddle.net>
17649
8d8f2279
RH
17650 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17651 with #ifndef NOT_IN_libc.
17652
63f1549e
RH
17653 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17654 marked to avoid plt entry.
17655
0ab0291b
L
176562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17657
17658 [BZ #14112]
17659 * Makeconfig (default-abi): New macro.
17660 (abi-includes): Likewise.
17661 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17662 $(abi-$(default-abi)-lib-soname) for soname if defined.
17663 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17664 abi-variants.
17665 * Makefile (installed-stubs): Likewise.
17666 * include/stubs-biarch.h: Removed.
17667 * scripts/lib-names.awk: Only handle one library at a time.
17668 * scripts/soversions.awk: Remove WORDSIZE support.
17669 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17670 entries.
17671 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17672 Removed.
17673 (syscall-list-default-condition): Likewise.
17674 (syscall-list-default-condition): Likewise.
17675 (syscall-list-includes): Likewise.
17676 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17677 syscall-list-* with abi-*. Handle undefined abi-variants.
17678 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17679 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17680 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17681 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17682 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17683 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17684 Removed.
17685 (syscall-list-32-options): Likewise.
17686 (syscall-list-32-condition): Likewise.
17687 (syscall-list-64-options): Likewise.
17688 (syscall-list-64-condition): Likewise.
17689 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17690 macro.
17691 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17692 Renamed to ...
17693 (abi-*): This.
17694 (abi-64-ld-soname): New macro.
17695 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17696 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17697 Renamed to ...
17698 (abi-*): This.
17699 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17700 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17701
4da0431d
JM
177022012-05-30 Joseph Myers <joseph@codesourcery.com>
17703
3a85279c
JM
17704 * sysdeps/unix/sysv/linux/kernel-features.h
17705 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17706 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17707 include <kernel-features.h>.
17708 [!__NR_ftruncate64]: Remove conditional code.
17709 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17710 [__NR_ftruncate64]: Make code unconditional.
17711 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17712 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17713 include <kernel-features.h>.
17714 [!__NR_ftruncate64]: Remove conditional code.
17715 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17716 [__NR_ftruncate64]: Make code unconditional.
17717 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17719 include <kernel-features.h>.
17720 [!__NR_ftruncate64]: Remove conditional code.
17721 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17722 [__NR_ftruncate64]: Make code unconditional.
17723 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17725 include <kernel-features.h>.
17726 [!__NR_ftruncate64]: Remove conditional code.
17727 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17728 [__NR_ftruncate64]: Make code unconditional.
17729 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17730
4da0431d
JM
17731 * configure.in (libc_cv_fpie): Weaken to a compile test using
17732 LIBC_TRY_CC_OPTION.
17733 * configure: Regenerated.
17734
11ef492c
AK
177352012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17736
17737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17741 Refreshed.
17742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17748 Refreshed.
17749
d66ef399
DM
177502012-05-27 David S. Miller <davem@davemloft.net>
17751
17752 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17753 (___Q_zero): New.
17754 (__Q_simulate_exceptions): Return void. Change to simulate
17755 exceptions by writing into the %fsr.
17756 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17757 (__Qp_handle_exceptions): Likewise.
17758 (numbers): Delete.
17759 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17760 __Qp_handle_exceptions.
17761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17762 __Qp_handle_exceptions.
17763 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17764 as unused and give dummy FP_RND_NEAREST initializer.
17765 (FP_INHIBIT_RESULTS): Define.
17766 (___Q_simulate_exceptions): Update declaration.
17767 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17768 formatting.
17769 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17770 as unused and give dummy FP_RND_NEAREST initializer.
17771 (__Qp_handle_exceptions): Update declaration.
17772 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17773 formatting.
17774
04fb54b5
TS
177752012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17776
17777 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17778 the temporary FPU control word.
17779 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17780 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17781 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17782 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17783 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17784 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17785 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17786 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17787 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17788 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17789 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17790
3f99608f
KK
177912012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17792
17793 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17794 fields.
17795
65a4de4e
CLT
177962012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17797
17798 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17799 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17800 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17801 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17802 Likewise.
17803 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17804 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17805 Likewise.
17806
15749d40
UD
178072012-05-27 Ulrich Drepper <drepper@gmail.com>
17808
17809 * po/h.po: Update from translation team.
17810
25dbcb27
AS
178112012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17812
3d3f8e55
AS
17813 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17814
25dbcb27
AS
17815 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17816 handling of denormals.
17817 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17818 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17819 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17820 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17821 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17822 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17823 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17824 Likewise.
17825
7ad47a80 178262012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17827
17828 [BZ #14152]
17829 * math/libm-test.inc (fma_test): Don't always expect underflow
17830 exception.
17831
9c6ea9fa
SP
178322012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17833
17834 [BZ #12416]
17835 * elf/tst-execstack.c: Include stackinfo.h.
17836 (do_test): Adjust test case to ensure that pthread_getattr_np
17837 behaviour remains the same after marking stack executable.
17838
a8239222
JM
178392012-05-25 Joseph Myers <joseph@codesourcery.com>
17840
17841 * sysdeps/unix/sysv/linux/kernel-features.h
17842 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17843 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17844 kernel-features.h.
17845 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17846 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17847 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17848 kernel-features.h.
17849 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17850 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17851
918b5606
L
178522012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17853
17854 * configure.in: Define the default includes to being none.
17855 * configure: Regenerated.
17856
3a097cc7
RM
178572012-05-25 Roland McGrath <roland@hack.frob.com>
17858
8422c9a5
RM
17859 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17860 * sysdeps/x86_64/setjmp.S: Likewise.
17861 * sysdeps/i386/bsd-setjmp.S: Likewise.
17862 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17863 * sysdeps/i386/setjmp.S: Likewise.
17864 * sysdeps/i386/__longjmp.S: Likewise.
17865 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17866 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17867
3a097cc7
RM
17868 * include/stap-probe.h: New file.
17869 * configure.in: Handle --enable-systemtap.
17870 * configure: Regenerated.
17871 * config.h.in (USE_STAP_PROBE): New #undef.
17872 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17873 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17874 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17875
21708942
JM
178762012-05-25 Joseph Myers <joseph@codesourcery.com>
17877
17878 [BZ #13717]
17879 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17880 to 2.4.0 where earlier.
17881 * sysdeps/unix/sysv/linux/configure: Regenerated.
17882 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17883 <kernel-features.h>.
17884 [__ASSUME_32BITUIDS]: Make code unconditional.
17885 [!__ASSUME_32BITUIDS]: Remove conditional code.
17886 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17887 <kernel-features.h>.
17888 [__ASSUME_32BITUIDS]: Make code unconditional.
17889 [!__ASSUME_32BITUIDS]: Remove conditional code.
17890 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17891 [__ASSUME_32BITUIDS]: Make code unconditional.
17892 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17893 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17894 <kernel-features.h>.
17895 [__ASSUME_32BITUIDS]: Make code unconditional.
17896 [!__ASSUME_32BITUIDS]: Remove conditional code.
17897 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17898 <kernel-features.h>.
17899 [__ASSUME_32BITUIDS]: Make code unconditional.
17900 [!__ASSUME_32BITUIDS]: Remove conditional code.
17901 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17902 <kernel-features.h>.
17903 [__ASSUME_32BITUIDS]: Make code unconditional.
17904 [!__ASSUME_32BITUIDS]: Remove conditional code.
17905 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17906 <kernel-features.h>.
17907 [__ASSUME_32BITUIDS]: Make code unconditional.
17908 [!__ASSUME_32BITUIDS]: Remove conditional code.
17909 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17910 <kernel-features.h>.
17911 [__ASSUME_32BITUIDS]: Make code unconditional.
17912 [!__ASSUME_32BITUIDS]: Remove conditional code.
17913 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17914 <kernel-features.h>.
17915 [__ASSUME_32BITUIDS]: Make code unconditional.
17916 [!__ASSUME_32BITUIDS]: Remove conditional code.
17917 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17918 <kernel-features.h>.
17919 [__ASSUME_32BITUIDS]: Make code unconditional.
17920 [!__ASSUME_32BITUIDS]: Remove conditional code.
17921 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17922 <kernel-features.h>.
17923 [__ASSUME_32BITUIDS]: Make code unconditional.
17924 [!__ASSUME_32BITUIDS]: Remove conditional code.
17925 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17926 <kernel-features.h>.
17927 [__ASSUME_32BITUIDS]: Make code unconditional.
17928 [!__ASSUME_32BITUIDS]: Remove conditional code.
17929 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17930 <kernel-features.h>.
17931 [__ASSUME_32BITUIDS]: Make code unconditional.
17932 [!__ASSUME_32BITUIDS]: Remove conditional code.
17933 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17934 <kernel-features.h>.
17935 [__NR_setresgid] (__setresgid): Do not declare.
17936 [__ASSUME_32BITUIDS]: Make code unconditional.
17937 [!__ASSUME_32BITUIDS]: Remove conditional code.
17938 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17939 <kernel-features.h>.
17940 [__NR_setresuid] (__setresuid): Do not declare.
17941 [__ASSUME_32BITUIDS]: Make code unconditional.
17942 [!__ASSUME_32BITUIDS]: Remove conditional code.
17943 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17944 <kernel-features.h>.
17945 [__ASSUME_32BITUIDS]: Make code unconditional.
17946 [!__ASSUME_32BITUIDS]: Remove conditional code.
17947 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17948 <kernel-features.h>.
17949 [__ASSUME_32BITUIDS]: Make code unconditional.
17950 [!__ASSUME_32BITUIDS]: Remove conditional code.
17951 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17952 <kernel-features.h>.
17953 [__ASSUME_32BITUIDS]: Make code unconditional.
17954 [!__ASSUME_32BITUIDS]: Remove conditional code.
17955 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17956 <kernel-features.h>.
17957 [__ASSUME_32BITUIDS]: Make code unconditional.
17958 [!__ASSUME_32BITUIDS]: Remove conditional code.
17959 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17960 <kernel-features.h>.
17961 [__ASSUME_32BITUIDS]: Make code unconditional.
17962 [!__ASSUME_32BITUIDS]: Remove conditional code.
17963 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17964 <kernel-features.h>.
17965 [__ASSUME_32BITUIDS]: Make code unconditional.
17966 [!__ASSUME_32BITUIDS]: Remove conditional code.
17967 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17968 <kernel-features.h>.
17969 [__ASSUME_32BITUIDS]: Make code unconditional.
17970 [!__ASSUME_32BITUIDS]: Remove conditional code.
17971 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17972 <kernel-features.h>.
17973 [__ASSUME_32BITUIDS]: Make code unconditional.
17974 [!__ASSUME_32BITUIDS]: Remove conditional code.
17975 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17976 <kernel-features.h>.
17977 [__ASSUME_32BITUIDS]: Make code unconditional.
17978 [!__ASSUME_32BITUIDS]: Remove conditional code.
17979 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17980 <kernel-features.h>.
17981 [__ASSUME_32BITUIDS]: Make code unconditional.
17982 [!__ASSUME_32BITUIDS]: Remove conditional code.
17983 * sysdeps/unix/sysv/linux/kernel-features.h
17984 (__ASSUME_SETRESUID_SYSCALL): Remove.
17985 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17986 (__ASSUME_32BITUIDS): Likewise.
17987 (__ASSUME_LDT_WORKS): Likewise.
17988 (__ASSUME_O_DIRECTORY): Likewise.
17989 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17990 architecture but not kernel version.
17991 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17992 (__ASSUME_MMAP2_SYSCALL): Likewise.
17993 (__ASSUME_STAT64_SYSCALL): Likewise.
17994 (__ASSUME_IPC64): Likewise.
17995 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17996 <kernel-features.h>.
17997 [__ASSUME_32BITUIDS]: Make code unconditional.
17998 [!__ASSUME_32BITUIDS]: Remove conditional code.
17999 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18000 <kernel-features.h>.
18001 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18002 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18003 132096]: Remove conditional code.
18004 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18005 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18006 <kernel-features.h>.
18007 [__ASSUME_32BITUIDS]: Make code unconditional.
18008 [!__ASSUME_32BITUIDS]: Remove conditional code.
18009 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18010 <kernel-features.h>.
18011 [__ASSUME_32BITUIDS]: Make code unconditional.
18012 [!__ASSUME_32BITUIDS]: Remove conditional code.
18013 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18014 <kernel-features.h>.
18015 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18016 unconditional.
18017 (__setresgid): Do not declare.
18018 [__ASSUME_32BITUIDS]: Make code unconditional.
18019 [!__ASSUME_32BITUIDS]: Remove conditional code.
18020 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18021 <kernel-features.h>.
18022 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18023 unconditional.
18024 (__setresuid): Do not declare.
18025 [__ASSUME_32BITUIDS]: Make code unconditional.
18026 [!__ASSUME_32BITUIDS]: Remove conditional code.
18027 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18028 <kernel-features.h>.
18029 [__ASSUME_32BITUIDS]: Make code unconditional.
18030 [!__ASSUME_32BITUIDS]: Remove conditional code.
18031 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18032 <kernel-features.h>.
18033 [__ASSUME_32BITUIDS]: Make code unconditional.
18034 [!__ASSUME_32BITUIDS]: Remove conditional code.
18035
a386f1cc
RH
180362012-05-25 Richard Henderson <rth@twiddle.net>
18037
18038 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18039 dl_hwcap to ifunc resolver.
18040 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18041 elf_ifunc_invoke.
18042 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18043 dl_hwcap to ifunc resolver.
18044 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18045
b6550497
JM
180462012-05-24 Joseph Myers <joseph@codesourcery.com>
18047
18048 [BZ #14153]
18049 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18050 for |x| <= 2**-26, not 2**-57.
18051 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18052 exception.
18053
b0bc23a1
JL
180542012-05-24 Jeff Law <law@redhat.com>
18055
18056 * stdio-common/Makefile (tests): Add bug25.
18057 * stdio-common/bug25.c: New test.
18058
347c92e9
L
180592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18060
18061 [BZ #13576]
18062 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18063 multiple of MALLOC_ALIGNMENT in size.
18064 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18065
6bcc8b3f
JM
180662012-05-24 Joseph Myers <joseph@codesourcery.com>
18067
18068 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18069 Require >= 256.
18070 (FILENAME_MAX): Use macro-int-constant.
18071 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18072 (_IOFBF): Use macro-int-constant.
18073 (_IOLBF): Likewise.
18074 (_IONBF): Likewise.
18075 (SEEK_CUR): Likewise.
18076 (SEEK_END): Likewise.
18077 (SEEK_SET): Likewise.
18078 (TMP_MAX): Likewise.
18079 (EOF): Use macro-int-constant. Require < 0.
18080 (NULL): Use macro-constant. Require == 0.
18081 (stdin): Require type to be FILE *.
18082 (stdout): Likewise.
18083 (stderr): Likewise.
18084 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18085 macro-int-constant.
18086 (EXIT_SUCCESS): Likewise.
18087 (NULL): Use macro-constant. Require == 0.
18088 (RAND_MAX): Use macro-int-constant.
18089 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18090 [C99-based standards] (strtof): Require function.
18091 [C99-based standards] (strtold): Likewise.
18092 [C99-based standards] (strtoll): Likewise.
18093 [C99-based standards] (strtoull): Likewise.
18094 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18095 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18096 [ISO || ISO99 || ISO11] (math.h): Likewise.
18097 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18098 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18099 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18100
d18ea0c5
AS
181012012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18102
18103 [BZ #14132]
56d25bb8
AS
18104 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18105 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18106 * intl/dgettext.c (DCGETTEXT): Likewise.
18107 * intl/gettext.c (DCGETTEXT): Likewise.
18108 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18109 * posix/regex_internal.h (gettext): Likewise.
18110 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18111 Remove declaration.
18112 * include/argz.h (__argz_count_internal)
18113 (__argz_stringify_internal): Remove declaration.
18114 (__argz_count, __argz_stringify): Declare hidden proto.
18115 * intl/dcgettext.c: Remove use of INTDEF.
18116 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18117 * string/argz-stringify.c: Likewise.
18118 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18119 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18120 Declare hidden proto.
d18ea0c5
AS
18121 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18122 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18123 Declare hidden proto.
18124 * include/stdio.h (__asprintf_internal): Don't declare.
18125 (__asprintf): Don't define as macro. Declare hidden proto.
18126 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18127 (__fsetlocking): Declare hidden proto.
18128 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18129 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18130 hidden proto.
18131 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18132 (_IO_setlinebuf): Remove use of INTUSE.
18133 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18134 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18135 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18136 Remove declaration.
18137 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18138 (_IO_do_flush): Remove use of INTUSE.
18139 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18140 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18141 (_IO_adjust_column, _IO_least_wmarker)
18142 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18143 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18144 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18145 (_IO_default_doallocate, _IO_wdefault_doallocate)
18146 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18147 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18148 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18149 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18150 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18151 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18152 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18153 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18154 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18155 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18156 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18157 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18158 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18159 proto.
18160 (_IO_flush_all_internal, _IO_adjust_column_internal)
18161 (_IO_default_uflow_internal, _IO_default_finish_internal)
18162 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18163 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18164 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18165 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18166 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18167 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18168 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18169 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18170 (_IO_file_close_internal, _IO_file_close_it_internal)
18171 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18172 (_IO_file_init_internal, _IO_file_attach_internal)
18173 (_IO_file_fopen_internal, _IO_file_read_internal)
18174 (_IO_file_sync_internal, _IO_file_seek_internal)
18175 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18176 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18177 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18178 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18179 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18180 (_IO_list_all_internal, _IO_link_in_internal)
18181 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18182 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18183 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18184 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18185 (_IO_do_write_internal, _IO_padn_internal)
18186 (_IO_getline_info_internal, _IO_getline_internal)
18187 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18188 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18189 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18190 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18191 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18192 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18193 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18194 with libc_hidden_ver, remove use of INTUSE.
18195 * libio/genops.c: Likewise.
18196 * libio/freopen.c: Likewise.
18197 * libio/freopen64.c: Likewise.
18198 * libio/iofclose.c: Likewise.
18199 * libio/iofdopen.c: Likewise.
18200 * libio/iofflush.c: Likewise.
18201 * libio/iofflush_u.c: Likewise.
18202 * libio/iofgets.c: Likewise.
18203 * libio/iofgets_u.c: Likewise.
18204 * libio/iofopen.c: Likewise.
18205 * libio/iofopncook.c: Likewise.
18206 * libio/iofread.c: Likewise.
18207 * libio/iofread_u.c: Likewise.
18208 * libio/ioftell.c: Likewise.
18209 * libio/iofwrite.c: Likewise.
18210 * libio/iogetline.c: Likewise.
18211 * libio/iogets.c: Likewise.
18212 * libio/iogetwline.c: Likewise.
18213 * libio/iopadn.c: Likewise.
18214 * libio/iopopen.c: Likewise.
18215 * libio/ioseekoff.c: Likewise.
18216 * libio/ioseekpos.c: Likewise.
18217 * libio/iosetbuffer.c: Likewise.
18218 * libio/iosetvbuf.c: Likewise.
18219 * libio/ioungetc.c: Likewise.
18220 * libio/ioungetwc.c: Likewise.
18221 * libio/iovdprintf.c: Likewise.
18222 * libio/iovsprintf.c: Likewise.
18223 * libio/iovsscanf.c: Likewise.
18224 * libio/memstream.c: Likewise.
18225 * libio/obprintf.c: Likewise.
18226 * libio/oldfileops.c: Likewise.
18227 * libio/oldiofclose.c: Likewise.
18228 * libio/oldiofdopen.c: Likewise.
18229 * libio/oldiofopen.c: Likewise.
18230 * libio/oldiopopen.c: Likewise.
18231 * libio/oldstdfiles.c: Likewise.
18232 * libio/putc.c: Likewise.
18233 * libio/setbuf.c: Likewise.
18234 * libio/setlinebuf.c: Likewise.
18235 * libio/stdfiles.c: Likewise.
18236 * libio/strops.c: Likewise.
18237 * libio/vasprintf.c: Likewise.
18238 * libio/vscanf.c: Likewise.
18239 * libio/vsnprintf.c: Likewise.
18240 * libio/vswprintf.c: Likewise.
18241 * libio/wfiledoalloc.c: Likewise.
18242 * libio/wfileops.c: Likewise.
18243 * libio/wgenops.c: Likewise.
18244 * libio/wmemstream.c: Likewise.
18245 * libio/wstrops.c: Likewise.
18246 * libio/__fpurge.c: Likewise.
18247 * libio/__fsetlocking.c: Likewise.
18248 * assert/assert.c: Likewise.
18249 * debug/fgets_chk.c: Likewise.
18250 * debug/fgets_u_chk.c: Likewise.
18251 * debug/fread_chk.c: Likewise.
18252 * debug/fread_u_chk.c: Likewise.
18253 * debug/gets_chk.c: Likewise.
18254 * debug/obprintf_chk.c: Likewise.
18255 * debug/vasprintf_chk.c: Likewise.
18256 * debug/vdprintf_chk.c: Likewise.
18257 * debug/vsnprintf_chk.c: Likewise.
18258 * debug/vsprintf_chk.c: Likewise.
18259 * malloc/mtrace.c: Likewise.
18260 * misc/error.c: Likewise.
18261 * misc/syslog.c: Likewise.
18262 * stdio-common/asprintf.c: Likewise.
18263 * stdio-common/fxprintf.c: Likewise.
18264 * stdio-common/getw.c: Likewise.
18265 * stdio-common/isoc99_fscanf.c: Likewise.
18266 * stdio-common/isoc99_scanf.c: Likewise.
18267 * stdio-common/isoc99_vfscanf.c: Likewise.
18268 * stdio-common/isoc99_vscanf.c: Likewise.
18269 * stdio-common/isoc99_vsscanf.c: Likewise.
18270 * stdio-common/printf-prs.c: Likewise.
18271 * stdio-common/printf_fp.c: Likewise.
18272 * stdio-common/printf_fphex.c: Likewise.
18273 * stdio-common/printf_size.c: Likewise.
18274 * stdio-common/putw.c: Likewise.
18275 * stdio-common/scanf.c: Likewise.
18276 * stdio-common/sprintf.c: Likewise.
18277 * stdio-common/tmpfile.c: Likewise.
18278 * stdio-common/vfprintf.c: Likewise.
18279 * stdio-common/vfscanf.c: Likewise.
18280 * stdlib/strfmon_l.c: Likewise.
18281 * sunrpc/openchild.c: Likewise.
18282 * sunrpc/xdr_stdio.c: Likewise.
18283 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18284 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18285
d6c33fda
RM
182862012-05-24 Roland McGrath <roland@hack.frob.com>
18287
c1487492
RM
18288 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18289
18290 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18291 in the third column, to generate for the shared library an IFUNC
18292 that uses _dl_vdso_vsym.
18293 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18294 * Makeconfig (object-suffixes-noshared): New variable.
18295
18296 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18297 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18298 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18299 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18300
d6c33fda
RM
18301 [BZ #14132]
18302 * include/sys/time.h (__gettimeofday): Remove macro.
18303 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18304 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18305 Remove INTDEF.
18306 (__gettimeofday): Add libc_hidden_def.
18307 (gettimeofday): Add libc_hidden_weak.
18308 * sysdeps/mach/gettimeofday.c: Likewise.
18309 * sysdeps/posix/gettimeofday.c: Likewise.
18310 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18311 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18312 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18313 (__gettimeofday_internal): Remove strong_alias.
18314 (__gettimeofday): Add libc_hidden_def.
18315 (gettimeofday): Add libc_hidden_weak.
18316 * sysdeps/unix/syscalls.list (gettimeofday):
18317 Remove __gettimeofday_internal alias.
18318
b5a2bbe6
L
183192012-05-24 Daniel Jacobowitz <drow@false.org>
18320 H.J. Lu <hongjiu.lu@intel.com>
18321
18322 [BZ #12495]
18323 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18324 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18325 (largebin_index_32_big): New.
18326 (largebin_index): Use it for 16-byte alignment.
18327 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18328 correction with front_misalign.
18329
cfba4fda
L
183302012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18331
7f907421
L
18332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18334 Likewise.
18335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18336 Likewise.
18337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18338 Likewise.
18339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18340 Likewise.
18341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18342 Likewise.
18343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18344 Likewise.
18345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18346 Likewise.
18347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18348 Likewise.
18349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18350 Likewise.
18351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18352 Likewise.
18353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18354 Likewise.
18355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18356 Likewise.
18357
cfba4fda
L
18358 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18359 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18360
80bad0cc
JM
183612012-05-24 Joseph Myers <joseph@codesourcery.com>
18362
7a25eb06
JM
18363 [BZ #10846]
18364 [BZ #14036]
18365 * math/libm-test.inc (exp_test): Add test from bug 14036.
18366 (pow_test): Add test from bug 10846.
18367
795405f9
JM
18368 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18369 and other flags.
18370 (special_function): Do not include flags in test name.
18371 (parse_args): Likewise.
18372 * sysdeps/i386/fpu/libm-test-ulps: Update.
18373 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18374 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18375 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18377
80bad0cc
JM
18378 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18379 exceptions.
18380 * math/libm-test.inc ("Philosophy"): Update comment about
18381 exception testing.
18382 (UNDERFLOW_EXCEPTION): New macro.
18383 (UNDERFLOW_EXCEPTION_OK): Likewise.
18384 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18385 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18386 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18387 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18388 (INVALID_EXCEPTION_OK): Update value.
18389 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18390 (OVERFLOW_EXCEPTION_OK): Likewise.
18391 (IGNORE_ZERO_INF_SIGN): Likewise.
18392 (test_exceptions): Handle underflow exceptions.
18393 (acos_test): Update for underflow exception expectations.
18394 (cexp_test): Likewise.
18395 (clog_test): Likewise.
18396 (clog10_test): Likewise.
18397 (csqrt_test): Likewise.
18398 (ctan_test): Likewise.
18399 (ctanh_test): Likewise.
18400 (exp_test): Likewise.
18401 (exp10_test): Likewise.
18402 (exp2_test): Likewise.
18403 (expm1_test): Likewise.
18404 (fma_test): Likewise.
18405 (j0_test): Likewise.
18406 (jn_test): Likewise.
18407 (nexttoward_test): Likewise.
18408 (pow_test): Likewise.
18409 (scalbn_test): Likewise.
18410 (scalbln_test): Likewise.
18411 (tan_test): Likewise.
18412 (y1_test): Likewise.
18413 * sysdeps/i386/fpu/libm-test-ulps: Update.
18414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18415
9e0e3d0b
DM
184162012-05-23 David S. Miller <davem@davemloft.net>
18417
18418 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18419 (__libc_sigaction): Remove unused local variables.
18420
ccd0a08f
L
184212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18422
18423 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18424
62bdf9a6
PE
184252012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18426
f8591f80
PE
18427 mktime: avoid signed integer overflow
18428 * time/mktime.c (__mktime_internal): Do not mishandle the case
18429 where diff == INT_MIN.
18430
94c7d826
PE
18431 mktime: simplify computation of average
18432 * time/mktime.c (ranged_convert): Use new time_t_avg function
18433 instead of rolling our own (probably-slower) code.
18434
ce73d683
PE
18435 mktime: do not assume signed right shift propagates sign bit
18436 * time/mktime.c (isdst_differ): New static function.
18437 (__mktime_internal): No need to normalize tm_isdst now.
18438 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18439 tm_isdst values.
18440
72a22e59
PE
18441 mktime: merge another wrapv change from gnulib
18442 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18443 from some compilers.
18444
68605433
PE
18445 mktime: remove incorrect attempt at unusual arithmetics
18446 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18447 The code didn't really work on such machines anyway.
18448 (TYPE_MINIMUM): Assume two's complement.
18449 (twos_complement_arithmetic): Verify that long_int and time_t
18450 are two's complement (or unsigned, in the latter case).
18451
03cf7fe3
PE
18452 mktime: check signed shifts on long_int and time_t, too
18453 * time/mktime.c (SHR): Check that shifts work as desired
18454 on the types long_int and time_t too, as SHR is used on
18455 such types.
18456
f04dfbc2
PE
18457 mktime: do not assume 'long' is wide enough
18458 * time/mktime.c (verify): Move decl up.
18459 (long_int): New type.
18460 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18461 to remove assumption in the code that 'long' is wide enough to
18462 store year values. This assumption is not true on x32 and on
18463 some non-glibc platforms.
18464
62bdf9a6
PE
18465 mktime: merge wrapv change from gnulib
18466 * time/mktime.c (WRAPV): New macro.
18467 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18468 (guess_time_tm, __mktime_internal): Do not assume that signed
18469 integer overflow wraps around; modern compilers generate code
18470 where this assumption is no longer valid.
18471
5e292e4f
L
184722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18473
18474 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18475 Replace "jmp L(pseudo_end)" with "ret".
18476 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18477 Likewise.
18478
8caf8c87
AJ
184792012-05-23 Andreas Jaeger <aj@suse.de>
18480
18481 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18482 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18483
1a09dc56
AJ
184842012-05-23 Andreas Jaeger <aj@suse.de>
18485 Maximilian Attems <max@stro.at>
18486
18487 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18488 New macros.
18489
1c87aba0
L
184902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18491
18492 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18493 code so that pseudo_end is just ret and the stack pointer is
18494 correct also for static library in error case.
18495
40e45bd5
JM
184962012-05-23 Joseph Myers <joseph@codesourcery.com>
18497
c2670533
JM
18498 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18499 move to syscalls.list.
18500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18504
40e45bd5
JM
18505 * manual/install.texi (Running make install): Do not mention Linux
18506 kernel version for which pt_chown is not needed.
18507 (Linux): Do not mention problems with nscd with 2.0 kernels.
18508 * INSTALL: Regenerated.
18509
be08eda5
AJ
185102012-05-23 Andreas Jaeger <aj@suse.de>
18511
18512 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18513 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18514 macro.
18515 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18516 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18517 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18518 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18519 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18520 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18521 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18522 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18523 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18524 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18525 * sysdeps/unix/sysv/linux/bits/in.h
18526 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18527
a6a056bb
RM
185282012-05-22 Roland McGrath <roland@hack.frob.com>
18529
18530 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18531 (PREPARE_VERSION): Just use assert instead, it will be elided
18532 under [NDEBUG] anyway.
18533
c9009328
L
185342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18535
18536 * sysdeps/unix/sysv/linux/Makefile: Include
18537 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18538 (sysdep_routines): Remove sysctl.
c9009328
L
18539 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18540 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18541 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18542 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18543 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18544
73338355
AJ
185452012-05-22 Andreas Jaeger <aj@suse.de>
18546
18547 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18548 that pseudo_end is just ret and the stack pointer is correct also
18549 for static library in error case.
18550
d44638b0
PP
185512012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18552
18553 [BZ #14122]
18554 * nss/nsswitch.c (defconfig_entries): New variable.
18555 (__nss_database_lookup): Don't leak defconfig entries.
18556 (nss_parse_service_list): Don't leak on error paths.
18557 (free_database_entries): New function.
18558 (free_defconfig): New function.
18559 (free_mem): Move common code to free_database_entries.
18560
31a39bd8
L
185612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18562
da0331a8
L
18563 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18564 Add arch_prctl.
18565 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18566
31a39bd8
L
18567 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18568 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18569 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18570 New macro.
18571 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18572 (INTERNAL_SYSCALL_TYPES): Likewise.
18573 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18574 (LOAD_REGS_TYPES_[1-6]): Likewise.
18575 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18576 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18577
45470df3
AZ
185782012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18579
18580 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18581 copysignl for GLIBC_2_0.
18582 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18583 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18584 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18585 logbl for GLIBC_2_0.
18586 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18587 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18588
98a61bcb
L
185892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18590
a4f6e481
L
18591 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18592 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18593
f63d5db6
L
18594 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18595 Use "neg %eax".
18596
98a61bcb
L
18597 * time/mktime.c: Update copyright years.
18598
95770f14
PE
185992012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18600
6226efbd
PE
18601 mktime: merge comment-quoting-style change from gnulib
18602 * time/mktime.c: Quote 'like this' in comments.
18603 The GNU coding standards suggest that we no longer quote `like this',
18604 as "`" and "'" are typically rendered asymmetrically nowadays.
18605 The typical gnulib style is to quote 'like this' when quoting
18606 code, and "like this" when quoting English.
18607
b99e4f78
PE
18608 * time/mktime.c (compile-command): Add "-I.".
18609
643e01e6
PE
18610 mktime: merge mktime-internal.h change from gnulib
18611 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18612
2554247d
PE
18613 mktime: merge time_r change from gnulib
18614 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18615
826dd0ab
PE
18616 mktime: merge DEBUG change from gnulib
18617 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18618 case system <time.h> has a #define.
18619
bd83aabe
PE
18620 mktime: merge <sys/types.h> change from gnulib
18621 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18622 since <time.t> is now guaranteed to define time_t.
18623
95770f14
PE
18624 mktime: merge HAVE_CONFIG_H change from gnulib
18625 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18626
5e1a27a9
L
186272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18628
0e44a77e
L
18629 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18630 Use "neg %eax".
18631
5e1a27a9
L
18632 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18633 __rlim_t cast.
18634 (struct rusage): Use anonymous union to pad each field to
18635 __syscall_slong_t.
18636
46259bec
DM
186372012-05-21 David S. Miller <davem@davemloft.net>
18638
18639 * Makefules (o-iterator): Remove .s cases.
18640 (compile-command.s): Delete.
18641 (COMPILE.s): Delete.
18642 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18643
59f0c22e
JM
186442012-05-21 Joseph Myers <joseph@codesourcery.com>
18645
18646 * configure.in (libc_cv_predef_stack_protector): Only consider
18647 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18648 * configure: Regenerated.
18649
20c07380
L
186502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18651
bbb3154b
L
18652 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18653 New macro. Use R*LP on int and pointer.
18654 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18655 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18656 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18657 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18658
20c07380
L
18659 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18660 [__WORDSIZE_TIME64_COMPAT32] instead of
18661 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18662 (struct utmp): Likewise.
18663 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18664 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18665 Renamed to ...
18666 (__WORDSIZE_TIME64_COMPAT32): This.
18667 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18668 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18669 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18670 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18671 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18672 (__WORDSIZE_TIME64_COMPAT32): New macro.
18673
d8d1017e
AJ
186742012-05-21 Andreas Jaeger <aj@suse.de>
18675
18676 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18677 only if [SHARED]. Add prototype for __wcschr_ia32.
18678
6c7fb145
RM
186792012-05-21 Roland McGrath <roland@hack.frob.com>
18680
18681 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18682 of %rbp unmolested in the jmp_buf while mangling the low bits.
18683 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18684 unmolested high bits of %rbp while demangling the low bits.
18685 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18686
66274218
AJ
186872012-05-21 Andreas Jaeger <aj@suse.de>
18688
07c58f8f
AJ
18689 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18690 * sunrpc/svc_simple.c: Use it for registerrpc.
18691 * sunrpc/xcrypt.c: Use it for passwd2des.
18692
66274218
AJ
18693 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18694
61f65140
L
186952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18696
18697 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18698 Don't define if [__SYSCALL_WORDSIZE != 32].
18699 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18700 New macro.
18701
5fefb436
AJ
187022012-05-21 Bruno Haible <bruno@clisp.org>
18703 Andreas Jaeger <aj@suse.de>
18704
18705 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18706 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18707 inptr and inend for must_buffer_ch.
18708 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18709 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18710 * stdio-common/Makefile (tests): Remove bug15.
18711 (bug15-ENV): Remove macro.
18712 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18713 anymore.
18714
d8e272ab
AJ
187152012-05-19 Andreas Jaeger <aj@suse.de>
18716 Roland McGrath <roland@hack.frob.com>
18717
18718 * manual/contrib.texi: Completely rewritten. It contains now an
18719 alphabetical list of contributors and their contributions.
18720
4a56a162
RH
187212012-05-21 Richard Henderson <rth@twiddle.net>
18722
18723 * misc/getauxval.c (__getauxval): Use unsigned long int.
18724 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18725 (getauxval): Use unsigned long int.
18726
d024d23c
L
187272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18728
18729 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18730
cbc00a03
RM
187312012-05-21 Roland McGrath <roland@hack.frob.com>
18732
18733 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18734 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18735 __alignof__ (long double).
18736
478143fa
AZ
187372012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18738
18739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18740
c7683a6d
RH
187412012-05-20 Richard Henderson <rth@twiddle.net>
18742
18743 * misc/getauxval.c: New file.
18744 * misc/sys/auxv.h: New file.
18745 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18746 (routines): Add getauxval.
18747 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18748 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18749 * elf/dl-sysdep.c (_dl_auxv): Remove.
18750 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18751 * elf/dl-support.c (_dl_auxv): New variable.
18752 (_dl_aux_init): Initialize it.
18753 * manual/startup.texi (Auxiliary Vector): New node.
18754 * sysdeps/generic/bits/hwcap.h: New file.
18755 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18756 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18757 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18758 * sysdeps/sparc/sysdep.h: ... here. Include it.
18759 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18760 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18762 Update.
c7683a6d
RH
18763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18766 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18771
a6f1845d
AZ
187722012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18773
18774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18775
cbcbe830
DM
187762012-05-19 David S. Miller <davem@davemloft.net>
18777
18778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18779
e0b16cc2
JM
187802012-05-19 Joseph Myers <joseph@codesourcery.com>
18781
18782 [BZ #14123]
18783 * math/s_ccosh.c: Include <float.h>
18784 (__ccosh): Avoid internal overflow calculating sinh and cosh
18785 values before multiplying by sin and cos values.
18786 * math/s_ccoshf.c: Likewise.
18787 * math/s_ccoshl.c: Likewise.
18788 * math/s_csin.c: Likewise.
18789 * math/s_csinf.c: Likewise.
18790 * math/s_csinl.c: Likewise.
18791 * math/s_csinh.c: Likewise.
18792 * math/s_csinhf.c: Likewise.
18793 * math/s_csinhl.c: Likewise.
18794 * math/libm-test.inc (ccos_test): Add more tests.
18795 (ccosh_test): Likewise.
18796 (csin_test): Likewise.
18797 (csinh_test): Likewise.
18798 * sysdeps/i386/fpu/libm-test-ulps: Update.
18799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18800
6ad13e08
L
188012012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18802
f66f0ce8
L
18803 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18804 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18805
6ad13e08
L
18806 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18807
b1d072a7
JM
188082012-05-19 Joseph Myers <joseph@codesourcery.com>
18809
18810 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18811 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18812 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18813 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18814 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18815 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18816 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18817 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18818 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18819 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18820 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18821 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18822 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18823 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18824 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18825 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18826 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18827 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18828 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18829 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18830 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18831 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18832 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18833 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18834 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18835 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18836 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18837 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18838 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18839 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18840 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18841
9eae47cb
AJ
188422012-05-18 Andreas Jaeger <aj@suse.de>
18843
18844 * csu/.gitignore: Delete.
18845
bb07f69f
L
188462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18847
18848 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18849 (timex): Use __syscall_slong_t.
18850
e6bdb741
AJ
188512012-05-18 Andreas Jaeger <aj@suse.de>
18852 Carlos O'Donell <carlos_odonell@mentor.com>
18853
18854 * manual/install.texi (Configuring and compiling): Update
18855 description about files modified in the source directory.
d6c33fda 18856 * INSTALL: Regenerated.
e6bdb741 18857
1b74487e
L
188582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18859
18860 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18861 value. Use "or" to set return value to -1.
18862 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18863 negate return value.
18864
a88b64b9
TMQMF
188652012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18866
18867 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18868 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18869 failure if the compiler has Graphite support disabled.
18870 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18871 Likewise.
18872 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18873 CFLAGS-memmove.c): Likewise.
18874 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18875 Likewise.
18876
3707636e
L
188772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18878
610b8622
L
18879 * sysdeps/x86_64/x32/_itoa.h: New file.
18880
7cd195df
L
18881 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18882 getdents system call only if kernel and user dirents have the
18883 same d_ino and d_off.
18884
94b07d20
L
18885 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18886 LLONG_MAX != LONG_MAX.
18887 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18888 (_fitoa_word): Likewise.
18889
18298070
L
18890 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18891 years.
18892 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18893 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18894 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18895
553c7ea4
L
18896 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18897 include <bits/wordsize.h>. Check __x86_64__ instead of
18898 __WORDSIZE.
18899 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18900 if __x86_64__ is defined. Use anonymous union on fpstate.
18901
3707636e
L
18902 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18903 anonymous union.
18904
b53ef01a
AS
189052012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18906
37fb1dc0
AS
18907 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18908 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18909 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18910 Refer to _rtld_local_ro instead of _rtld_global_ro.
18911 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18912 Likewise.
18913 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18914 Likewise.
18915 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18916 Likewise.
18917 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18918 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18919 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18920
b53ef01a
AS
18921 * sysdeps/powerpc/powerpc32/dl-machine.c
18922 (__elf_machine_runtime_setup) [PROF]: Don't reference
18923 _dl_prof_resolve.
18924
7a185db2
AJ
189252012-05-18 Andreas Jaeger <aj@suse.de>
18926
18927 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18928 function only available for GCCs before 3.4 since GCC 3.4
18929 introduced a builtin.
18930 (lrint): Likewise.
18931 (llrintf): Likewise.
18932 (llrint): Likewise.
18933 (fmaxf): Likewise.
18934 (fmax): Likewise.
18935 (fminf): Likewise.
18936 (fmin): Likewise.
18937 (rint): Likewise.
18938 (rintf): Likewise.
18939 (nearbyint): Likewise.
18940 (nearbyintf): Likewise.
18941 (ceil): Likewise.
18942 (ceilf): Likewise.
18943 (floor): Likewise.
18944 (floorf): Likewise.
18945
3e5aef87
L
189462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18947
428bd707
L
18948 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18949 on both fields and cast pointer to __syscall_ulong_t.
18950
3e5aef87
L
18951 * bits/types.h (__fsword_t): New type.
18952 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18953 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18954 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18955 (__FSWORD_T_TYPE): Likewise.
18956 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18957 (__FSWORD_T_TYPE): Likewise.
18958 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18959 (__FSWORD_T_TYPE): Likewise.
18960 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18961 (__FSWORD_T_TYPE): Likewise.
18962 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18963 __SWORD_TYPE with __fsword_t.
18964 (statfs64): Likewise.
18965
1ba7c3dc
DM
189662012-05-17 David S. Miller <davem@davemloft.net>
18967
18968 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18969
59910343
AJ
189702012-05-17 Andreas Jaeger <aj@suse.de>
18971
18972 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18973 warning.
18974
2e4c1e9e
L
189752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18976
18977 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18978
de7f5ce7
AJ
189792012-05-17 Andreas Jaeger <aj@suse.de>
18980
18981 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18982 when it is used.
18983
286abc3d
CM
189842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18985
18986 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18987
477cc68e
L
189882012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18989
18990 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18991 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18992
1a0994f5
CD
189932012-05-17 Andreas Jaeger <aj@suse.de>
18994 Carlos O'Donell <carlos_odonell@mentor.com>
18995
18996 [BZ #14059]
18997 * sysdeps/x86_64/multiarch/init-arch.h
18998 (bit_YMM_Usable): Rename to...
18999 (bit_AVX_Usable): ... this.
19000 (bit_FMA4_Usable): New macro.
19001 (bit_XMM_state): New macro.
19002 (bit_YMM_state): New macro.
19003 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19004 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19005 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19006 (CPUID_OSXSAVE): New macro.
19007 (CPUID_AVX): New macro.
19008 (CPUID_FMA4): New macro.
19009 (index_YMM_Usable): Rename to...
19010 (index_AVX_Usable): ... this.
19011 (HAS_AVX): Use HAS_ARCH_FEATURE.
19012 (HAS_FMA4): Likewise.
19013 (HAS_YMM_USABLE): Remove.
19014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19015 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19016 are present.
19017 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19018 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19019 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19020 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19021 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19022
0af797de
CM
190232012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19024
19025 * math/libm-test.c: Support platforms without multiple rounding modes.
19026 * math/bug-nextafter.c: Support platforms without FP exceptions.
19027 * math/bug-nexttoward.c: Likewise.
19028 * math/test-fenv.c: Likewise.
19029 * math/test-misc.c: Likewise.
19030 * stdlib/bug-getcontext.c: Likewise.
19031
e39745ff
AJ
190322012-05-17 Andreas Jaeger <aj@suse.de>
19033
19034 * manual/examples/search.c (critter_cmp): Change signature to
19035 avoid warnings.
19036 * manual/string.texi (Collation Functions): Likewise.
19037
48970aba
L
190382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19039
19040 * bits/types.h: Fold copyright years.
19041 * bits/typesizes.h: Likewise.
19042 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19043 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19044 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19045 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19046 * time/time.h: Likewise.
19047
bedee953
PP
190482012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19049
19050 [BZ #208]
19051 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19052 in instead of returning them. Return void.
19053 (__libc_mallinfo): Accumulate over all arenas.
19054 (__malloc_stats): Adjust for change in int_mallinfo interface.
19055
61653dfb
RM
190562012-05-16 Roland McGrath <roland@hack.frob.com>
19057
30b99d79
RM
19058 [BZ #10375]
19059 * configure.in (NM): Add AC_CHECK_TOOL for it.
19060 (libc_extra_cflags): New substituted variable.
19061 Check for -fstack-protector being used implicitly.
19062 * configure: Regenerated.
19063 * config.make.in (config-extra-cflags): New variable,
19064 gets @libc_extra_cflags@.
19065 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19066
61653dfb
RM
19067 [BZ #10375]
19068 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19069 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19070 * configure: Regenerated.
19071 * config.make.in (CPPUNDEFS): New substituted variable.
19072 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19073 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19074 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19075
661768bb
L
190762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19077
19078 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19079 (mq_attr): Use __syscall_slong_t.
19080
d4261567
L
190812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19082
19083 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19084 Check __x86_64__ instead of __WORDSIZE.
19085 (_STAT_VER_LINUX): Likewise.
19086 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19087 __syscall_ulong_t and __syscall_slong_t.
19088 (stat64): Likewise.
19089
cf3ff365
L
190902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19091
19092 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19093
76cf3e4d
L
190942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19095
19096 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19097
a637753a
L
190982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19099
19100 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19101 __syscall_ulong_t.
19102
d5e05119
L
19103 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19104 include <bits/wordsize.h>. Check __x86_64__ instead of
19105 __WORDSIZE.
19106 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19107 defined.
19108 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19109
f62ee380
L
19110 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19111 include <bits/wordsize.h>. Check __x86_64__ instead of
19112 __WORDSIZE.
19113 (user_regs_struct): Use "__extension__ unsigned long long"
19114 instead of "unsigned long" if __x86_64__ is defined.
19115 (user): Likewise. Pad after pointer field if __ILP32__ is
19116 defined.
19117
4e124ced
JM
191182012-05-16 Joseph Myers <joseph@codesourcery.com>
19119
6a3951a0
JM
19120 * configure.in (makeinfo): Require version 4.5 or later. Allow
19121 versions 5 to 9.
19122 * configure: Regenerated.
19123 * manual/install.texi (texinfo): Increase version requirement to
19124 4.5 or later.
19125 * INSTALL: Regenerated.
19126
4e124ced
JM
19127 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19128
953ca31a
L
191292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19130
19131 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19132
617aca05
L
19133 * sysdeps/x86_64/x32/ffs.c: New file.
19134
5762f7ae
L
19135 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19136 __syscall_ulong_t.
19137 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19138 defined. Use __syscall_ulong_t.
19139 (shminfo): Use __syscall_ulong_t.
19140 (shm_info): Likewise.
19141
a26b6856
L
19142 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19143 __syscall_ulong_t.
19144
cb2b9ef7
L
19145 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19146 <bits/wordsize.h>.
19147 (msgqnum_t): Use __syscall_ulong_t.
19148 (msglen_t): Likewise.
19149 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19150 __syscall_ulong_t.
19151
34683bb0
L
19152 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19153 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19154
84a68786
L
19155 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19156
48baa5f1
L
19157 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19158 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19159
180be88b
L
19160 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19161 __syscall_slong_t.
19162
5e90c8ad
L
19163 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19164 include <bits/wordsize.h>. Check __x86_64__ instead of
19165 __WORDSIZE.
19166
23dfb58b
L
19167 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19168 "unsigned long long int" if __x86_64__ is defined.
19169 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19170
ce5d54b0
L
19171 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19172 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19173 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19174
13dc9eac
L
19175 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19176 <stdint.h>.
19177 (GET_PC): Cast to uintptr_t first.
19178 (GET_FRAME): Likewise.
19179 (GET_STACK): Likewise.
19180
a7895d15
L
19181 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19182 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19183 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19184 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19185 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19186 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19187 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19188 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19189 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19190 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19191 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19192 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19193 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19194 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19195 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19196 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19197 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19198 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19199 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19200 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19201 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19202 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19203 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19204 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19205 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19206 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19207 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19208 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19209 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19210
656416c9
AS
192112012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19212
5bd66283
AS
19213 * Makerules (+depfiles): Also collect depfiles from .oS in
19214 $(extra-objs).
19215 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19216 .oS, $(libnldbl-routines)).
19217
656416c9
AS
19218 * Makerules (native-compile-mkdep-flags): Define.
19219 * sunrpc/Makefile (extra-objs): Add $(addprefix
19220 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19221 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19222 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19223 calling $(make-target-directory).
19224
a46f2169
L
192252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19226
19227 * bits/types.h (__snseconds_t): Removed.
19228 * time/time.h (struct timespec): Replace __snseconds_t with
19229 __syscall_slong_t.
19230 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19231 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19232 Likewise.
19233 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19234 (__SNSECONDS_T_TYPE): Likewise.
19235 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19236 (__SNSECONDS_T_TYPE): Likewise.
19237 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19238 (__SNSECONDS_T_TYPE): Likewise.
19239
6af6528b
L
192402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19241
19242 * sysdeps/mach/hurd/bits/typesizes.h
19243 (__SYSCALL_SLONG_TYPE): New macro.
19244 (__SYSCALL_ULONG_TYPE): Likewise.
19245
de986b56
L
192462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19247
19248 * bits/types.h (__syscall_slong_t): New type.
19249 (__syscall_ulong_t): Likewise.
19250
19251 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19252 (__SYSCALL_ULONG_TYPE): Likewise.
19253 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19254 (__SYSCALL_SLONG_TYPE): Likewise.
19255 (__SYSCALL_ULONG_TYPE): Likewise.
19256 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19257 (__SYSCALL_SLONG_TYPE): Likewise.
19258 (__SYSCALL_ULONG_TYPE): Likewise.
19259 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19260 (__SYSCALL_SLONG_TYPE): Likewise.
19261 (__SYSCALL_ULONG_TYPE): Likewise.
19262
85736dc7
L
192632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19264
19265 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19266 Add sigaltstack-offsets.sym.
19267 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19268 <sigaltstack-offsets.h>.
19269 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19270 longjmp_msg pointer.
19271 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19272 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19273 signal stack.
19274 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19275
cc03b296
JM
192762012-05-15 Joseph Myers <joseph@codesourcery.com>
19277
a9538892
JM
19278 * elf/stackguard-macros.h: Remove file.
19279 * sysdeps/generic/stackguard-macros.h: New file.
19280 * sysdeps/i386/stackguard-macros.h: Likewise.
19281 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19282 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19283 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19284 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19285 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19286 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19287 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19288 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19289 <elf/stackguard-macros.h>.
19290
cc03b296
JM
19291 [BZ #14109]
19292 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19293 __aligned__ in attribute.
19294 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19295 (gregset_t): Likewise.
19296
93171016
L
192972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19298
19299 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19300 * sysdeps/x86_64/64/Implies-after: Here. New file.
19301 * sysdeps/x86_64/x32/Implies-after: New file.
19302
d86813a0
L
193032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19304
19305 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19306 and access return value for _dl_profile_fixup. Use R10_LP to
19307 load frame size.
19308
2953ec75
L
193092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19310
19311 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19312
3b550e9e
L
193132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19314
19315 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19316 * sysdeps/x86_64/x32/sysdep.h: New file.
19317
eda41706
L
193182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19319
19320 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19321 * sysdeps/x86_64/setjmp.S: Likewise.
19322
9ea01d93
AZ
193232012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19324
19325 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19326 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19327 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19328 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19329 remove unused global constant.
19330
02a91938
CM
193312012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19332
19333 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19334 include of <not-cancel.h>.
19335
6540185f
RM
193362012-05-15 Roland McGrath <roland@hack.frob.com>
19337
19338 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19339
509072a0
AJ
193402012-05-15 Jeff Law <law@redhat.com>
19341 Andreas Jaeger <aj@suse.de>
19342
19343 [BZ #13594]
19344 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19345 out from...
19346 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19347 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19348 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19349 code changing __hst_map_handle.map.
19350
ba75122d
RM
193512012-05-15 Roland McGrath <roland@hack.frob.com>
19352
19353 * configure.in (sysnames): Look for Implies-before and Implies-after
19354 files.
19355 * configure: Regenerated.
19356
890d8bd8
L
193572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19358
19359 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19360 8-byte data alignment with LP_SIZE alignment.
19361
f6ee6623
L
193622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19363
19364 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19365 into R10_LP.
19366
ea2626f6
L
193672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19368
19369 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19370
085f715e
L
193712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19372
19373 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19374 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19375 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19376 Likewise.
19377 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19378
be8498fc
L
193792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19380
19381 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19382 (stackinfo_sub_sp): Likewise.
19383
70bc83b9
L
193842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19385
19386 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19387 RAX_LP.
19388
9bc0b730
L
193892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19390
19391 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19392 into R*_LP.
19393
6d2850e7
L
193942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19395
19396 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19397 sizes into R*_LP.
19398
3cb84561
L
193992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19400
19401 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19402
54e2ed81
L
194032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19404
19405 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19406 into R11_LP and load __x86_64_shared_cache_size_half into
19407 R8_LP.
19408
8a17f349
L
194092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19410
19411 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19412 R8_LP.
19413
777b1eea
AZ
194142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19415
19416 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19417 logb for POWER7.
19418 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19419 logbf for POWER7.
19420 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19421 logbl for POWER7.
19422 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19423 powerpc32/power7/fpu/s_logb.c via #include.
19424 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19425 powerpc32/power7/fpu/s_logbf.c via #include.
19426 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19427 powerpc32/power7/fpu/s_logbl.c via #include.
19428
d20d4ac2
JM
194292012-05-15 Joseph Myers <joseph@codesourcery.com>
19430
19431 * README.libm: Remove file.
19432
6cdef1ab
L
194332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19434
19435 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19436 count for x32. Use R*_LP and omit operand-size suffix.
19437
0b254d8f
L
194382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19439
19440 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19441 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19442 * sysdeps/x86_64/x32/shlib-versions: New file.
19443
ceb809dc
RM
194442012-05-14 Roland McGrath <roland@hack.frob.com>
19445
19446 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19447 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19448 Use _dl_fatal_printf instead.
19449
37f1abd4
JM
194502012-05-14 Joseph Myers <joseph@codesourcery.com>
19451
19452 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19453 set if not set by the user. Do not allow for being unset.
19454 * sysdeps/unix/sysv/linux/configure: Regenerated.
19455
11de3a33
L
194562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19457
19458 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19459 the `q' suffix from lea and replace .quad with ASM_ADDR.
19460
e02f153a
L
194612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19462
19463 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19464 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19465 instead of $17.
19466 (PTR_DEMANGLE): Likewise.
19467
520ae0fd
L
194682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19469
19470 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19471 (LP_OP): Likewise.
19472 (ASM_ADDR): Likewise.
19473 (RAX_LP): Likewise.
19474 (RBP_LP): Likewise.
19475 (RBX_LP): Likewise.
19476 (RCX_LP): Likewise.
19477 (RDI_LP): Likewise.
19478 (RSI_LP): Likewise.
19479 (RSP_LP): Likewise.
19480 (R8_LP): Likewise.
19481 (R9_LP): Likewise.
19482 (R10_LP): Likewise.
19483 (R10_LP): Likewise.
19484 (R11_LP): Likewise.
19485 (R12_LP): Likewise.
19486 (R13_LP): Likewise.
19487 (R14_LP): Likewise.
19488 (R15_LP): Likewise.
19489
b985be81
L
194902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19491
19492 * sysdeps/x86_64/x32/dl-machine.h: New file.
19493
6a4888ff
AJ
194942012-05-14 Andreas Jaeger <aj@suse.de>
19495
19496 * manual/Makefile (subdir): Remove export of subdir.
19497 (all): Remove target.
19498 (.PHONY): Remove all from list.
19499 (mkinstalldirs): Remove.
19500 (.PHONY): Remove installdirs from list.
19501 ($(inst_infodir)/libc.info): Use make-target-directory.
19502 (installdirs): Remove.
19503 (subdir_%): Remove.
19504 (glibc-targets): Remove.
19505 (lib): Remove.
19506 (stubs): Remove.
19507 ($(objpfx)stubs ../po/manual.pot): Remove.
19508 ($(objpfx)stamp%): Remove.
19509 (make-target-directory): Remove.
19510 (subdir_install): Remove.
19511 (routines): Remove.
19512 (aux): Remove.
19513 (sources): Remove.
19514 (objects): Remove.
19515 (headers): Remove.
19516
19517 [BZ #13750]
19518 * manual/.gitignore: Remove, it's not needed anymore.
19519 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19520 all files in it.
19521 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19522 directory.
19523 (texis): Renamed to $(objpfx)texis.
19524 (texis-path): New, contains path to generated files.
19525 (chapters.%): Use texis-path for complete path, add extra argument
19526 libc-texinfo.sh.
19527 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19528 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19529 (summary,texi, stamp-summary): Use complete path of
19530 files. Generate files in build dir.
19531 (dir-add.texi): Build in build dir.
19532 (libm-err.texi,stamp-libm-err): Likewise.
19533 (version.texi, stamp-version): Likewise.
19534 (.%c.texi): Likewise.
19535 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19536 (mostlyclean): Remove target.
19537 (realclean): Remove target.
19538 (generated): Add new variable with contents from mostlyclean and
19539 realclean, remove entries duplicated in common-mostlyclean, add
19540 stamp-libm-err and stamp-version.
19541 (generated-dirs): Add libc directory.
19542 ($(inst_infodir)/libc.info): Install files from build dir.
19543
19544 * manual/install.texi (Configuring and compiling): Adjust since
19545 the info files are not part of the tar ball anymore.
19546
7ac77294
AJ
195472012-05-14 Andreas Jaeger <aj@suse.de>
19548
19549 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19550 variable.
19551
ffb7875d
JM
195522012-05-14 Joseph Myers <joseph@codesourcery.com>
19553
19554 [BZ #13717]
19555 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19556 to 2.2.0 where earlier.
19557 * sysdeps/unix/sysv/linux/configure: Regenerated.
19558 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19559 Remove conditional code.
19560 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19561 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19562 Remove conditional code.
19563 [!__NR_lchown]: Likewise.
19564 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19565 [__NR_lchown]: Likewise.
19566 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19567 comment referencing __ASSUME_LCHOWN_SYSCALL.
19568 * sysdeps/unix/sysv/linux/i386/sigaction.c
19569 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19570 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19571 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19572 Remove conditional code.
19573 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19574 (__protocol_available): Remove #if 0 code.
19575 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19576 conditional code.
19577 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19578 * sysdeps/unix/sysv/linux/kernel-features.h
19579 (__ASSUME_GETCWD_SYSCALL): Don't define.
19580 (__ASSUME_REALTIME_SIGNALS): Likewise.
19581 (__ASSUME_PREAD_SYSCALL): Likewise.
19582 (__ASSUME_PWRITE_SYSCALL): Likewise.
19583 (__ASSUME_POLL_SYSCALL): Likewise.
19584 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19585 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19586 non-SPARC.
19587 (__ASSUME_SIOCGIFNAME): Don't define.
19588 (__ASSUME_MSG_NOSIGNAL): Likewise.
19589 (__ASSUME_SENDFILE): Define unconditionally.
19590 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19591 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19592 conditional code.
19593 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19594 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19595 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19596 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19597 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19598 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19599 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19601 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19602 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19604 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19605 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19607 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19608 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19610 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19611 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19613 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19614 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19616 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19617 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19619 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19620 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19622 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19623 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19624 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19625 Remove conditional code.
19626 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19627 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19628 Remove conditional code.
19629 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19630 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19631 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19632 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19633 Remove conditional code.
19634 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19635 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19636 Remove conditional code.
19637 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19638 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19639 Remove conditional code.
19640 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19641 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19642 Remove conditional code.
19643 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19644 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19645 Remove conditional code.
19646 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19647 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19648 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19649 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19650 * sysdeps/unix/sysv/linux/sigaction.c
19651 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19652 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19653 * sysdeps/unix/sysv/linux/sigpending.c
19654 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19655 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19656 * sysdeps/unix/sysv/linux/sigprocmask.c
19657 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19658 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19659 * sysdeps/unix/sysv/linux/sigsuspend.c
19660 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19661 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19662 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19663 (__libc_missing_rt_sigs): Remove.
19664 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19665 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19666 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19667 Remove conditional code.
19668 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19669 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19670 return 1.
19671 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19672 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19673 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19674 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19675
1bfb7291
AJ
196762012-05-14 Andreas Jaeger <aj@suse.de>
19677
caae5a81
AJ
19678 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19679 it's not used in glibc.
19680 (__coshm1): Likewise.
19681 (__acosh1p): Likewise.
19682 (__sgn): Likewise.
19683
1bfb7291
AJ
19684 * manual/string.texi (Copying and Concatenation): Add missing
19685 variable in concat example.
19686 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19687
c044d724
L
196882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19689
144c5467 19690 [BZ #14103]
c044d724
L
19691 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19692 __builtin_clzl with __builtin_clzll.
19693
2523c62b
L
196942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19695
19696 [BZ #14104]
19697 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19698 libc_freeres_ptr.
19699
d7bb4c42
LD
197002012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19701
19702 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19703 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19704 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19705 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19706
9dc4e1fb
MF
197072012-05-14 Mike Frysinger <vapier@gentoo.org>
19708
19709 * NEWS: Update ia64 info.
19710
c7df0112
AS
197112012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19712
19713 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19714 used as bcopy.
19715
dc70356c
TS
197162012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19717
19718 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19719 * sysdeps/unix/syscalls.list (dup3): Likewise.
19720 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19721 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19722
9fb1a21f
L
197232012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19724
19725 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19726 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19727
4822a2a5
L
197282012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19729
19730 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19731 thread pointer.
19732 (TLS_IE): Use mov/add instead of movq/addq to load thread
19733 pointer.
19734 (TLS_GD_PREFIX): New.
19735 (TLS_GD): Use it.
19736
842b81d6
DM
197372012-05-11 David S. Miller <davem@davemloft.net>
19738
19739 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19740 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19741 (_FPU_SETCW): Likewise.
19742
1cf463cd
L
197432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19744
19745 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19746 is 32-byte aligned.
19747
60cc4a18
AS
197482012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19749
19750 [BZ #11837]
19751 * iconvdata/gb18030.c: Update tables.
19752 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19753 characters specially.
19754 (BODY for TO_LOOP): Add encoding of missing ranges.
19755
febb44a4
TS
197562012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19757
19758 [BZ #13673]
19759 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19760 * sysdeps/mach/hurd/dup3.c: Likewise.
19761 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19762 * sysdeps/powerpc/memmove.c:: Likewise.
19763
0a10fb9e
L
197642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19765
19766 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19767 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19768
df8a552f
L
197692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19770
19771 * elf/elf.h (R_X86_64_RELATIVE64): New.
19772 (R_X86_64_NUM): Updated.
19773 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19774 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19775 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19776 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19777 tst-quad1pie tst-quad2pie
19778 (modules-names): Add tst-quadmod1 tst-quadmod2.
19779 ($(objpfx)tst-quad1): New dependency.
19780 ($(objpfx)tst-quad2): Likewise.
19781 ($(objpfx)tst-quad1pie): Likewise.
19782 ($(objpfx)tst-quad2pie): Likewise.
19783 * sysdeps/x86_64/tst-quad1.c: New file.
19784 * sysdeps/x86_64/tst-quad1pie.c: New file.
19785 * sysdeps/x86_64/tst-quad2.c: Likewise.
19786 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19787 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19788 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19789 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19790 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19791
f34d6f84
ST
197922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19793
f42d41d1
ST
19794 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19795 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19796 * streams/stropts.h (t_scalar_t): Define type.
19797
3c3571fc
ST
19798 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19799 (_PATH_PRESERVE): Set to "/var/lib".
19800 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19801
61f06bd3
ST
19802 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19803 instead of int.
19804
918d4d71
ST
19805 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19806 if __dir_mkfile succeeded.
19807
f34d6f84
ST
19808 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19809 checking for _hurd_dtablesize. Unlock it right after having
19810 finished _hurd_dtable allocation.
19811
10589b4a
TS
198122012-05-10 Thomas Schwinge <thomas@schwinge.name>
19813
674cdbc7
TS
19814 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19815 * sysdeps/mach/hurd/configure: Regenerated.
19816 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19817 special-casing to...
19818 * sysdeps/gnu/configure.in: ... this new file.
19819 * sysdeps/unix/sysv/linux/configure: Regenerated.
19820 * sysdeps/gnu/configure: New generated file.
19821
8e41b99f
TS
19822 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19823 for Linux: use nsec instead of usec, as well as:
19824 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19825 members of type struct timespec.
19826 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19827 New macros.
19828 (struct stat64): Likewise.
19829 (_STATBUF_ST_NSEC): New macro.
19830 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19831
10589b4a
TS
19832 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19833 __strtoul_internal rather than strtoul.
19834
63643c85
PT
198352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19836
19837 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19838 and reject them.
19839
3faebe6a
ST
198402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19841
19842 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19843 which preserves existing values.
19844 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19845
c6474b07
PT
198462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19847
19848 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19849 TIMEOUT values. Return EINVAL for NFDS values either negative or
19850 greater than FD_SETSIZE.
19851
1043890b
ST
198522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19853
19854 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19855 allocated, call __vm_protect to finish enabling the existing space, and
19856 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19857 allocate the remainder.
19858
37ed8b9b
PT
198592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19860
19861 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19862 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19863
db653660
ST
198642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19865
37ed8b9b
PT
19866 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19867 sysdeps/mach/hurd/readlink.c.
b29d4053 19868
db653660
ST
19869 * posix/tst-sysconf.c (posix_options): Only use
19870 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19871 _POSIX_SYNCHRONIZED_IO when they are defined
19872 * sysdeps/mach/hurd/bits/posix_opt.h:
19873 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19874 (_XOPEN_REALTIME): Undefine macro.
19875 (_XOPEN_REALTIME_THREADS): Undefine macro.
19876 (_XOPEN_SHM): Undefine macro.
19877 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19878 macro to -1.
19879 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19880 macro to -1.
19881 (_POSIX_ASYNC_IO): Undefine macro.
19882 (_POSIX_PRIORITIZED_IO): Undefine macro.
19883 (_POSIX_SPIN_LOCKS): Define macro to -1.
19884
ee16e894
ST
19885 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19886 SA_NODEFER, SA_RESETHAND.
19887 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19888 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19889 F_DUPFD_CLOEXEC.
19890
6103ae3b
TS
198912012-05-10 Thomas Schwinge <thomas@schwinge.name>
19892
19893 * elf/Makefile (pldd-modules): Define unconditionally.
19894
80b4e5f3
TS
198952012-05-10 Thomas Schwinge <thomas@schwinge.name>
19896
19897 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19898
edadcbd6
ST
198992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19900
19901 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19902 Return ENOENT when name is empty.
19903 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19904
80694780
TS
199052012-05-10 Thomas Schwinge <thomas@schwinge.name>
19906
1792c087
TS
19907 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19908
80694780
TS
19909 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19910
6b645f0d
ST
199112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19912
80694780
TS
19913 Fix mlock in all cases except non-readable pages.
19914 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19915 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19916
6b645f0d
ST
19917 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19918 (__mkdir): When path is `/', just fail with EEXIST.
19919 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19920
e468f8a3
TS
199212012-05-10 Thomas Schwinge <thomas@schwinge.name>
19922
19923 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19924 <sys/uio.h> (for writev).
19925 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19926 and <sys/param.h> (for MIN).
19927
a4186cff
PT
199282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19929
19930 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19931 REQUESTED_TIME. Properly set the remaining time and return EINTR
19932 if interrupted.
19933
510bbf14
TS
199342012-05-10 Thomas Schwinge <thomas@schwinge.name>
19935
19936 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19937 Depend on against $(link-rpcuserlibs).
19938
5d5722e8
ST
199392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19940
a4186cff
PT
19941 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19942 (__libc_stack_end): Do not use attribute_relro.
19943 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19944 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19945 to libthread-provided value.
a4186cff
PT
19946 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19947 attribute_relro.
5d5722e8 19948
37233df9
TS
199492012-05-10 Thomas Schwinge <thomas@schwinge.name>
19950
be971a2b
TS
19951 [BZ #3748]
19952 * bits/libc-lock.h (__libc_once_get): New macro.
19953 * sysdeps/mach/bits/libc-lock.h: Likewise.
19954 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19955 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19956 instead of using implementation details.
19957
37233df9
TS
19958 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19959 * libio/freopen.c: Likewise.
19960 * libio/freopen64.c: Likewise.
19961 * misc/syslog.c: Likewise.
19962 * nscd/connections.c: Likewise.
19963 * nscd/netgroupcache.c: Likewise.
19964 * sysdeps/posix/getcwd.c: Likewise.
19965
38de94a5
RM
199662012-05-10 Roland McGrath <roland@hack.frob.com>
19967
19968 * math/w_ilogbf.c: Add #include <limits.h>.
19969
67530489
ST
199702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19971
a4186cff 19972 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19973 path instead of returning without unlocking.
19974
67530489
ST
19975 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19976 immediate-write ioctls.
19977 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19978
5aa3a74a
TS
199792012-05-10 Thomas Schwinge <thomas@schwinge.name>
19980
18bad2ae
TS
19981 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19982 __builtin_frame_address instead of making assumptions about the
19983 location of the return address relative to DATA. Force early load of
19984 the return address.
19985 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19986 __builtin_frame_address.
19987
5aa3a74a
TS
19988 dup3 for GNU Hurd.
19989 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19990 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19991 implement dup3 and do some further code clean-ups.
19992 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19993 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19994
ecd0de9a
ST
199952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19996
cd9fa985
ST
19997 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19998
a4186cff
PT
19999 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20000 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20001 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20002 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20003 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20004 d->port.lock.
802ca5a5 20005
a4186cff
PT
20006 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20007 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20008 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 20009
bcf55240
TS
200102012-05-10 Thomas Schwinge <thomas@schwinge.name>
20011
6960eb42
TS
20012 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20013 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20014 definitions.
20015
eb43375f
TS
20016 accept4 for GNU Hurd.
20017 * include/sys/socket.h (__libc_accept4): New prototype.
20018 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20019 to implement __libc_accept4.
20020 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20021 __libc_accept4.
20022 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20023
bcf55240
TS
20024 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20025 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20026 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20027 signal-defines.sym.
20028
6178c55b
ST
200292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20030
a4186cff 20031 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 20032
6f080c2f
TS
200332012-05-10 Thomas Schwinge <thomas@schwinge.name>
20034
20035 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20036 assertion on O_CLOEXEC flag.
20037 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20038 * hurd/intern-fd.c: Likewise.
20039 * hurd/port2fd.c: Likewise.
20040
bcfe3a54
ST
200412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20042
20043 [BZ #3906]
20044 * bits/in.h (IPV6_PKTINFO): Define new macro.
20045 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20046
89c9aa49
AZ
200472012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20048
20049 [BZ #13954]
20050 [BZ #13955]
20051 [BZ #13956]
20052 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20053 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20054 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20055 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20056 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20057 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20058 * math/libm-test.inc (logb_test) : Additional logb tests.
20059
021db4be
AJ
200602012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20061 Andreas Jaeger <aj@suse.de>
20062
20063 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20064 * configure: Regenerated.
20065 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20066 * config.make.in (link-obsolete-rpc): New substituted variable.
20067 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20068 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20069 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20070 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20071 so that libc.a contains the symbols.
20072 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20073 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20074 * sunrpc/auth_none.c: Likewise.
20075 * sunrpc/auth_unix.c: Likewise.
20076 * sunrpc/authdes_prot.c: Likewise.
20077 * sunrpc/authuxprot.c: Likewise.
20078 * sunrpc/clnt_gen.c: Likewise.
20079 * sunrpc/clnt_perr.c: Likewise.
20080 * sunrpc/clnt_raw.c: Likewise.
20081 * sunrpc/clnt_simp.c: Likewise.
20082 * sunrpc/clnt_tcp.c: Likewise.
20083 * sunrpc/clnt_udp.c: Likewise.
20084 * sunrpc/clnt_unix.c: Likewise.
20085 * sunrpc/des_crypt.c: Likewise.
20086 * sunrpc/des_soft.c: Likewise.
20087 * sunrpc/get_myaddr.c: Likewise.
20088 * sunrpc/key_call.c: Likewise.
20089 * sunrpc/key_prot.c: Likewise.
20090 * sunrpc/netname.c: Likewise.
20091 * sunrpc/pm_getmaps.c: Likewise.
20092 * sunrpc/pm_getport.c: Likewise.
20093 * sunrpc/pmap_clnt.c: Likewise.
20094 * sunrpc/pmap_prot.c: Likewise.
20095 * sunrpc/pmap_prot2.c: Likewise.
20096 * sunrpc/pmap_rmt.c: Likewise.
20097 * sunrpc/publickey.c: Likewise.
20098 * sunrpc/rpc_cmsg.c: Likewise.
20099 * sunrpc/rpc_common.c: Likewise.
20100 * sunrpc/rpc_dtable.c: Likewise.
20101 * sunrpc/rpc_prot.c: Likewise.
20102 * sunrpc/rpc_thread.c: Likewise.
20103 * sunrpc/rtime.c: Likewise.
20104 * sunrpc/svc.c: Likewise.
20105 * sunrpc/svc_auth.c: Likewise.
20106 * sunrpc/svc_raw.c: Likewise.
20107 * sunrpc/svc_run.c: Likewise.
20108 * sunrpc/svc_tcp.c: Likewise.
20109 * sunrpc/svc_udp.c: Likewise.
20110 * sunrpc/svc_unix.c: Likewise.
20111 * sunrpc/svcauth_des.c: Likewise.
20112 * sunrpc/xcrypt.c: Likewise.
20113 * sunrpc/xdr.c: Likewise.
20114 * sunrpc/xdr_array.c: Likewise.
20115 * sunrpc/xdr_float.c: Likewise.
20116 * sunrpc/xdr_intXX_t.c: Likewise.
20117 * sunrpc/xdr_mem.c: Likewise.
20118 * sunrpc/xdr_rec.c: Likewise.
20119 * sunrpc/xdr_ref.c: Likewise.
20120 * sunrpc/xdr_sizeof.c: Likewise.
20121 * sunrpc/xdr_stdio.c: Likewise.
20122
b5c086a2
RM
201232012-05-10 Roland McGrath <roland@hack.frob.com>
20124
20125 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20126 change. Update copyright years.
20127
6d74dd09
JM
201282012-05-10 Joseph Myers <joseph@codesourcery.com>
20129
20130 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20131
28e72501
MK
201322012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20133 Joseph Myers <joseph@codesourcery.com>
20134 Paul Pluzhnikov <ppluzhnikov@google.com>
20135
20136 [BZ #14012]
20137 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20138 requiring rpcgen.
20139 [cross-compiling] (extra-libs): Likewise.
20140 [cross-compiling] (extra-libs-others): Likewise.
20141 [cross-compiling] (librpcsvc-routines): Likewise.
20142 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20143 [cross-compiling] (omit-deps): Likewise.
20144 (sunrpc-CPPFLAGS): New variable.
20145 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20146 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20147 (cross-rpcgen-objs): New variable.
20148 (extra-objs): Append $(cross-rpcgen-objs).
20149 ($(cross-rpcgen-objs)): New rule.
20150 ($(objpfx)cross-rpcgen): Likewise.
20151 (rpcgen-cmd): Define to use $(built-program-file). Expand
20152 comment.
20153 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20154 ($(objpfx)x%.stmp): Likewise.
20155 * sunrpc/proto.h [IS_IN_build] (_): Define.
20156 [IS_IN_build] (_libc_intl_domainname): Likewise.
20157
c8c59454
L
201582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20159
20160 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20161 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20162 and R_X86_64_TPOFF64.
20163
6f27cd16
JM
201642012-05-10 Joseph Myers <joseph@codesourcery.com>
20165
20166 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20167 sysdeps/unix/sysv/syscalls.list.
20168 (stime): Likewise.
20169 (utime): Likewise.
20170 * sysdeps/unix/sysv/syscalls.list: Remove file.
20171
02467e1c
PE
201722012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20173
20174 [BZ #3440]
20175 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20176 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20177 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20178 (__LC_IDENTIFICATION): Make these macros useful in #if
20179 expressions, as required by C99.
20180
da392631
AS
201812012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20182
20183 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20184 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20185 after this.
20186
8115f29b
L
201872012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20188
20189 * stdlib/longlong.h: Updated from GCC.
20190
bdd74070
AJ
201912012-05-09 Andreas Jaeger <aj@suse.de>
20192
edfe0dbe
AJ
20193 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20194 default is first entry.
20195 (run_mode): Set type.
20196 (main): Remove informal message about syslog.
20197 (options): Fix typo.
20198
bcfe3a54
ST
20199 [BZ #14053]
20200 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 20201 to asm.
bcfe3a54
ST
20202 (lrint): Likewise.
20203 (llrintf): Likewise.
20204 (llrint): Likewise.
20205 (rint): Likewise.
20206 (rintf): Likewise.
20207 (nearbyint): Likewise.
20208 (nearbyintf): Likewise.
bdd74070 20209
91d8d69e
AJ
202102012-05-09 Andreas Jaeger <aj@suse.de>
20211 Pedro Alves <palves@redhat.com>
20212
20213 * nscd/nscd.c (run_mode): Use enum.
20214 (main): Cleanup coding style issue.
20215
bb90b80b
AJ
202162012-05-09 Alexandre Oliva <aoliva@redhat.com>
20217 Andreas Jaeger <aj@suse.de>
20218
bcfe3a54
ST
20219 * nscd/nscd.c (go_background): Replaced with...
20220 (run_mode): ... this.
bb90b80b 20221 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
20222 (options): Add -F --foreground.
20223 (main): Implement it.
20224 (parse_opt): Parse it.
bb90b80b 20225
1a4b75a1
AJ
202262012-05-09 Andreas Jaeger <aj@suse.de>
20227
20228 [BZ #14083]
20229 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20230 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20231 -Wconversion warning.
20232 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20233 Likewise.
20234
b1cc2472
JM
202352012-05-09 Joseph Myers <joseph@codesourcery.com>
20236
20237 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20238 == 0.
20239 (LC_ALL): Use macro-int-constant.
20240 (LC_COLLATE): Likewise.
20241 (LC_CTYPE): Likewise.
20242 (LC_MESSAGES): Likewise.
20243 (LC_MONETARY): Likewise.
20244 (LC_NUMERIC): Likewise.
20245 (LC_TIME): Likewise.
20246 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20247 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20248 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20249 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20250 Specify type.
20251 [C99-based standards] (float_t): Expect type.
20252 [C99-based standards] (double_t): Expect type.
20253 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20254 type.
20255 [C99-based standards] (HUGE_VALL): Likewise.
20256 [C99-based standards] (INFINITY): Likewise.
20257 [C99-based standards] (NAN): Likewise.
20258 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20259 [C99-based standards] (FP_NAN): Likewise.
20260 [C99-based standards] (FP_NORMAL): Likewise.
20261 [C99-based standards] (FP_SUBNORMAL): Likewise.
20262 [C99-based standards] (FP_ZERO): Likewise.
20263 [C99-based standards] (FP_FAST_FMA): Use
20264 optional-macro-int-constant. Specify type. Require == 1.
20265 [C99-based standards] (FP_FAST_FMAF): Likewise.
20266 [C99-based standards] (FP_FAST_FMAL): Likewise.
20267 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20268 [C99-based standards] (FP_ILOGBNAN): Likewise.
20269 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20270 Specify type.
20271 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20272 [C99-based standards] (math_errhandling): Specify type.
20273 [ISO99 || ISO11] (signgam): Do not allow.
20274 [non-C99-based standards] (copysignf): Do not allow.
20275 [non-C99-based standards] (exp2f): Likewise.
20276 [non-C99-based standards] (log2f): Likewise.
20277 [non-C99-based standards] (modff): Allow.
20278 [non-C99-based standards] (erff): Do not allow.
20279 [non-C99-based standards] (erfcf): Likewise.
20280 [non-C99-based standards] (gammaf): Likewise.
20281 [non-C99-based standards] (hypotf): Likewise.
20282 [non-C99-based standards] (j0f): Likewise.
20283 [non-C99-based standards] (j1f): Likewise.
20284 [non-C99-based standards] (jnf): Likewise.
20285 [non-C99-based standards] (lgammaf): Likewise.
20286 [non-C99-based standards] (tgammaf): Likewise.
20287 [non-C99-based standards] (y0f): Likewise.
20288 [non-C99-based standards] (y1f): Likewise.
20289 [non-C99-based standards] (ynf): Likewise.
20290 [non-C99-based standards] (isnanf): Likewise.
20291 [non-C99-based standards] (acoshf): Likewise.
20292 [non-C99-based standards] (asinhf): Likewise.
20293 [non-C99-based standards] (atanhf): Likewise.
20294 [non-C99-based standards] (cbrtf): Likewise.
20295 [non-C99-based standards] (expm1f): Likewise.
20296 [non-C99-based standards] (ilogbf): Likewise.
20297 [non-C99-based standards] (log1pf): Likewise.
20298 [non-C99-based standards] (logbf): Likewise.
20299 [non-C99-based standards] (nextafterf): Likewise.
20300 [non-C99-based standards] (remainderf): Likewise.
20301 [non-C99-based standards] (rintf): Likewise.
20302 [non-C99-based standards] (scalbf): Likewise.
20303 [non-C99-based standards] (copysignl): Likewise.
20304 [non-C99-based standards] (exp2l): Likewise.
20305 [non-C99-based standards] (log2l): Likewise.
20306 [non-C99-based standards] (modfl): Allow.
20307 [non-C99-based standards] (erfl): Do not allow.
20308 [non-C99-based standards] (erfcl): Likewise.
20309 [non-C99-based standards] (gammal): Likewise.
20310 [non-C99-based standards] (hypotl): Likewise.
20311 [non-C99-based standards] (j0l): Likewise.
20312 [non-C99-based standards] (j1l): Likewise.
20313 [non-C99-based standards] (jnl): Likewise.
20314 [non-C99-based standards] (lgammal): Likewise.
20315 [non-C99-based standards] (tgammal): Likewise.
20316 [non-C99-based standards] (y0l): Likewise.
20317 [non-C99-based standards] (y1l): Likewise.
20318 [non-C99-based standards] (ynl): Likewise.
20319 [non-C99-based standards] (isnanl): Likewise.
20320 [non-C99-based standards] (acoshl): Likewise.
20321 [non-C99-based standards] (asinhl): Likewise.
20322 [non-C99-based standards] (atanhl): Likewise.
20323 [non-C99-based standards] (cbrtl): Likewise.
20324 [non-C99-based standards] (expm1l): Likewise.
20325 [non-C99-based standards] (ilogbl): Likewise.
20326 [non-C99-based standards] (log1pl): Likewise.
20327 [non-C99-based standards] (logbl): Likewise.
20328 [non-C99-based standards] (nextafterl): Likewise.
20329 [non-C99-based standards] (remainderl): Likewise.
20330 [non-C99-based standards] (rintl): Likewise.
20331 [non-C99-based standards] (scalbl): Likewise.
20332 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20333 [non-C99-based standards] (FP_*): Do not allow.
20334 [C99-based standards] (FP_*): Change to
20335 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20336 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20337 allow.
20338 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20339 (SIG_ERR): Likewise.
20340 [X/Open-based standards] (SIG_HOLD): Likewise.
20341 (SIG_IGN): Likewise.
20342 (SIGABRT): Use macro-int-constant. Specify type. Require
20343 positive value.
20344 (SIGFPE): Likewise.
20345 (SIGILL): Likewise.
20346 (SIGINT): Likewise.
20347 (SIGSEGV): Likewise.
20348 (SIGTER): Likewise.
20349 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20350 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20351 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20352 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20353 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20354 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20355 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20356 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20357 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20358 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20359 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20360 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20361 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20362 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20363 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20364 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20365 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20366 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20367 [X/Open-based standards] (SIGTRAP): Likewise.
20368 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20369 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20370 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20371 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20372 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20373 allow.
20374
b9f1922d
IW
203752012-05-08 Ian Wienand <ianw@vmware.com>
20376
20377 [BZ #14080]
20378 * time/tzset.c (__tzset_parse_tz): Update default rules for
20379 daylight time changes in the Energy Policy Act of 2005.
20380
1db86e88
AJ
203812012-05-09 Andreas Jaeger <aj@suse.de>
20382
20383 [BZ #13983]
20384 * elf/ldconfig.c (parse_conf): Change string to make clear that
20385 ldconfig only issued a warning if ld.so.conf does not exist.
20386
dee4a4e3
DM
203872012-05-08 David S. Miller <davem@davemloft.net>
20388
ee0db190
DM
20389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20390 movxtod instead of popping the value on the stack.
20391
dee4a4e3
DM
20392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20393
6a43ec98
CD
203942012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20395
20396 * config.h.in: Add HAVE_ARM_PCS_VFP.
20397
05c2c961
RMG
203982012-05-08 Roland Mc Grath <roland@hack.frob.com>
20399
bcfe3a54
ST
20400 [BZ #13979]
20401 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20402 checking but the checks are disabled for any reason.
05c2c961 20403
4b30f61a
L
204042012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20405
20406 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20407 and ELF64_R_TYPE with ELFW(R_TYPE).
20408
eee2bc67
JM
204092012-05-08 Joseph Myers <joseph@codesourcery.com>
20410
7ea5391a
JM
20411 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20412 (ulimit): Likewise.
20413
eee2bc67
JM
20414 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20415 (settimeofday): Likewise.
20416
abb66a67
MF
204172012-05-08 Mike Frysinger <vapier@gentoo.org>
20418
20419 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20420 a struct th_u2 inside the union, and move tu_block/tu_code into
20421 a new th_u3 union of tu_block/tu_code inside of that. Move
20422 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20423 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20424 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20425 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20426 (th_stuff): Change to th_u1.tu_stuff.
20427 (th_data): Define.
20428 (th_msg): Change to th_u1.th_u2.tu_data.
20429
7f18b530
DM
204302012-05-07 David S. Miller <davem@davemloft.net>
20431
05760585
DM
20432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20433
7f18b530
DM
20434 [BZ #14074]
20435 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20436 (SETUP_PIC_REG): Use it.
20437 (SETUP_PIC_REG_LEAF): Use it.
20438
495fd99f
JM
204392012-05-07 Joseph Myers <joseph@codesourcery.com>
20440
20441 [BZ #13885]
20442 [BZ #13923]
20443 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20444 USE_AS_EXPM1L.
20445 (EXPL_FINITE): Likewise.
20446 (FLDLOG): Likewise.
20447 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20448 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20449 e_expl.S.
20450 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20451 USE_AS_EXPM1L.
20452 (EXPL_FINITE): Likewise.
20453 (FLDLOG): Likewise.
20454 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20455 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20456 e_expl.S.
20457 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20458 test of -max_value argument for long double.
20459 * sysdeps/i386/fpu/libm-test-ulps: Update.
20460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20461
6693d694
DM
204622012-05-06 David S. Miller <davem@davemloft.net>
20463
20464 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20465 quad soft-float symbols whose references which are compiler
20466 generated.
20467 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20468
6c23e11c
JM
204692012-05-06 Joseph Myers <joseph@codesourcery.com>
20470
d8b82cad
JM
20471 [BZ #13884]
20472 [BZ #13914]
20473 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20474 USE_AS_EXP10L.
20475 (EXPL_FINITE): Likewise.
20476 (FLDLOG): Likewise.
20477 (c0): Likewise.
20478 (c1): Likewise.
20479 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20480 Adjust comments for base varying.
20481 (__expl_finite): Change alias to EXPL_FINITE.
20482 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20483 e_expl.S.
20484 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20485 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20486 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20487 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20488 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20489 USE_AS_EXP10L.
20490 (EXPL_FINITE): Likewise.
20491 (FLDLOG): Likewise.
20492 (c0): Likewise.
20493 (c1): Likewise.
20494 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20495 Adjust comments for base varying.
20496 (__expl_finite): Change alias to EXPL_FINITE.
20497 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20498 tests for bugs.
20499 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20500
6c23e11c
JM
20501 [BZ #14064]
20502 * math/libm-test.inc (check_float_internal): Correct ulp
20503 calculation for subnormal expected results.
20504
29ba805c
AJ
205052012-05-06 Andreas Jaeger <aj@suse.de>
20506
20507 * Makeconfig (+math-flags): New, set to -frounding-math.
20508 (+cflags): Add +math-flags so that all of glibc gets compiled with
20509 it.
20510
20511 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20512
7b17aeda
JM
205132012-05-05 Joseph Myers <joseph@codesourcery.com>
20514
5779f134
JM
20515 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20516 Disable one test.
20517
41498f4d
JM
20518 [BZ #13787]
20519 [BZ #13922]
20520 [BZ #14036]
20521 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20522 (__ieee754_expl): Allow for and saturate large arguments.
20523 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20524 (u_threshold): Likewise.
20525 (__exp): Call __ieee754_exp before checking for overflow and
20526 underflow.
20527 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20528 (u_threshold): Likewise.
20529 (__expf): Call __ieee754_expf before checking for overflow and
20530 underflow.
20531 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20532 (u_threshold): Likewise.
20533 (__expl): Call __ieee754_expl before checking for overflow and
20534 underflow.
20535 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20536 (__ieee754_expl): Allow for and saturate large arguments.
20537 * math/libm-test.inc (exp_test): Add another test. Do not allow
20538 missing overflow exception on overflow.
20539 (expm1_test): Do not allow missing overflow exception on overflow.
20540
6698b8bf
JM
20541 * sysdeps/i386/fpu/e_expl.c: Move to ...
20542 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20543 rather than using inline asm.
20544 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20545 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20546 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20547
7b17aeda
JM
20548 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20549 (nice): Likewise.
20550 (poll): Likewise.
20551 (signal): Likewise.
20552 (time): Likewise.
20553 (times): Likewise.
20554
f7c85819
JM
205552012-05-04 Joseph Myers <joseph@codesourcery.com>
20556
20557 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20558 sysdeps/unix/common/syscalls.list.
20559 (fchmod): Likewise.
20560 (fchown): Likewise.
20561 (ftruncate): Likewise.
20562 (getrusage): Likewise.
20563 (gettimeofday): Likewise.
20564 (setpgid): Likewise.
20565 (setregid): Likewise.
20566 (setreuid): Likewise.
20567 (sigaction): Likewise.
20568 (truncate): Likewise.
20569 (vhangup): Likewise.
20570 * sysdeps/unix/common/syscalls.list: Remove file.
20571 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20572 * sysdeps/unix/sysv/linux/Implies: Likewise.
20573
336270d0
L
205742012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20575
20576 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20578 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20579 Moved to ...
20580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20581 Here.
20582 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20583 to ...
20584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20585 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20586 to ...
20587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20588 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20589 to ...
20590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20591 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20592 to ...
20593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20594 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20595 to ...
20596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20597 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20598 to ...
20599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20600 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20601 to ...
20602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20603 Here.
20604 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20605 to ...
20606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20607 Here.
20608 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20609 to ...
20610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20611 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20612 Moved to ...
20613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20614 Here.
20615 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20616 to ...
20617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20618
d128e450
JM
206192012-05-04 Joseph Myers <joseph@codesourcery.com>
20620
fa8ee516
JM
20621 * sysdeps/unix/common/bits/dirent.h: Remove file.
20622 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20623
d128e450
JM
20624 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20625 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20626 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20627 * sysdeps/unix/bsd/isatty.c: Likewise.
20628 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20629 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20630 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20631
ff8faaf0 206322012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20633
62881be4 20634 [BZ #13563]
31dc8730
AZ
20635 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20636 long double comparison inaccuracies.
20637 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20639
6fef930c
AS
206402012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20641
20642 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20643 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20644
8f203e6c
JM
206452012-05-04 Joseph Myers <joseph@codesourcery.com>
20646
20647 [BZ #14049]
20648 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20649 nonzero digits before rounding a hex value.
20650 * stdlib/tst-strtod.c (tests): Add another test.
20651
5197d9c2
AK
206522012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20653
20654 * sysdeps/s390/fpu/libm-test-ulps: Update.
20655
f0c1dedf
AJ
206562012-05-03 Andreas Jaeger <aj@suse.de>
20657
20658 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20659 does not get optimized out.
20660 (malloc_opt_barrier): New.
20661
a65ef2ae 206622012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20663 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20664
2b942cb7 20665 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20666 intermediate file deletion.
2b942cb7 20667 (generated): Add .symlist files.
a65ef2ae 20668
54b71e02
JM
206692012-05-03 Joseph Myers <joseph@codesourcery.com>
20670
20671 [BZ #13775]
20672 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20673 Redirect under this condition.
20674 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20675 [__USE_GNU] (__dprintf_chk): Not under this condition.
20676 [__USE_GNU] (__vdprintf_chk): Likewise.
20677 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20678 under this condition.
20679 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20680 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20681 [__USE_XOPEN2K8] (vdprintf): Likewise.
20682 [__USE_GNU] (__dprintf_chk): Not under this condition.
20683 [__USE_GNU] (__vdprintf_chk): Likewise.
20684 [__USE_GNU] (dprintf): Likewise.
20685 [__USE_GNU] (vdprintf): Likewise.
20686
d3dfcc41
RM
206872012-05-03 Roland McGrath <roland@hack.frob.com>
20688
20689 * elf/Makefile (common-generated): Set this instead of generated for
20690 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20691 $(all-built-dso)-derived lists.
20692
7ac30cc5
AJ
206932012-05-03 Andreas Jaeger <aj@suse.de>
20694
0c51e550
AJ
20695 * sysdeps/i386/fpu/libm-test-ulps: Update.
20696
7ac30cc5
AJ
20697 * FAQ: Removed.
20698 * FAQ.in: Likewise.
20699 * scripts/gen-FAQ.pl: Likewise.
20700 * manual/install.texi (Installation): Point to online location of
20701 FAQ.
20702 * Makefile (files-for-dist): Remove FAQ.
20703 (FAQ): Remove.
20704
d4c2917f
AM
207052012-05-02 Allan McRae <allan@archlinux.org>
20706
20707 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20708 (LDFLAGS-reldepmod5.so): Likewise.
20709 (LDFLAGS-reldep6mod1.so): Likewise.
20710 (LDFLAGS-reldep6mod4.so): Likewise.
20711 (LDFLAGS-reldep8mod3.so): Likewise.
20712 (LDFLAGS-unload4mod1.so): Likewise.
20713 (LDFLAGS-unload4mod2.so): Likewise.
20714 (LDFLAGS-tst-initorder): Likewise.
20715 (LDFLAGS-tst-initordera2.so): Likewise.
20716 (LDFLAGS-tst-initordera3.so): Likewise.
20717 (LDFLAGS-tst-initordera4.so): Likewise.
20718 (LDFLAGS-tst-initorderb2.so): Likewise.
20719 (LDFLAGS-noload): Likewise.
20720 (LDFLAGS-next): Likewise.
20721 (LDFLAGS-order2mod1.so): Likewise.
20722 (LDFLAGS-order2mod2.so): Likewise.
20723 (LDFLAGS-tst-initorder2): Likewise.
20724 (LDFLAGS-tst-initorder2a.so): Likewise.
20725 (LDFLAGS-tst-initorder2b.so): Likewise.
20726 (LDFLAGS-tst-initorder2c.so): Likewise.
20727 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20728
d77f993f
DM
207292012-05-02 David S. Miller <davem@davemloft.net>
20730
20731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20732
171a70b4
PP
207332012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20734
20735 [BZ #14055]
20736 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20737
0be196ad
AJ
207382012-05-02 Andreas Jaeger <aj@suse.de>
20739
20740 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20741 since we manipulate rounding mode.
20742 (CPPFLAGS-test-idouble.c): Likewise.
20743 (CPPFLAGS-test-ifloat.c): Likewise.
20744 (CFLAGS-test-ldouble.c): Likewise.
20745 (CFLAGS-test-double.c): Likewise.
20746 (CFLAGS-test-float.c): Likewise.
20747 (CFLAGS-test-misc.c): Likewise.
20748 (CFLAGS-test-test-fenv.c): Likewise.
20749
4f9d04aa
AZ
207502012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20751
2b942cb7
RM
20752 [BZ #2550]
20753 [BZ #2570]
20754 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20755 comparisons to determine direction to adjust input.
4f9d04aa 20756
82a79e7d
RM
207572012-05-01 Roland McGrath <roland@hack.frob.com>
20758
f5a01ca9
RM
20759 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20760 output to the target.
20761
90fe4186
RM
20762 * scripts/localplt.awk: New file.
20763 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20764 (check-localplt-CFLAGS): Variable removed.
20765 ($(all-built-dso:=.jmprel)): New static pattern rule.
20766 (generated): Add those targets.
20767 (localplt-built-dso): New variable.
20768 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20769
20770 * elf/check-localplt.c: File removed.
20771
82397ed6
RM
20772 * scripts/check-execstack.awk: New file.
20773 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20774 (check-execstack-CFLAGS): Variable removed.
20775 ($(objpfx)check-execstack.h): Target removed.
20776 ($(objpfx)execstack-default): New target.
20777 (generated): Add that instead of check-execstack.h.
20778 ($(all-built-dso:=.phdr)): New static pattern rule.
20779 (generated): Add those targets.
20780 * elf/check-execstack.c: File removed.
20781
82a79e7d
RM
20782 * scripts/check-textrel.awk: New file.
20783 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20784 (check-textrel-CFLAGS): Variable removed.
20785 (all-built-dso): Use := to define.o
20786 ($(all-built-dso:=.dyn)): New static pattern rule.
20787 (generated): Add those targets.
20788 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20789 * config.make.in (READELF): New substituted variable.
20790 * elf/check-textrel.c: File removed.
20791
62fde54f 207922012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20793
615605c9
JM
20794 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20795 allow.
20796 * conform/data/ctype.h-data [C99-based standards] (isblank):
20797 Expect function.
20798 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20799 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20800 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20801 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20802 Specify type. Require positive value.
20803 (EILSEQ): Likewise.
20804 (ERANGE): Likewise.
20805 [ISO || POSIX] (EILSEQ): Do not expect.
20806 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20807 Specify type. Require positive value.
20808 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20809 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20810 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20811 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20812 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20813 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20814 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20815 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20816 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20817 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20818 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20819 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20820 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20821 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20822 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20823 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20824 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20825 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20826 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20827 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20828 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20829 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20830 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20831 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20832 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20833 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20834 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20835 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20836 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20837 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20838 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20839 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20840 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20841 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20842 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20843 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20844 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20845 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20846 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20847 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20848 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20849 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20850 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20851 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20852 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20853 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20854 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20855 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20856 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20857 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20858 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20859 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20860 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20861 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20862 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20863 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20864 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20865 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20866 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20867 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20868 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20869 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20870 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20871 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20872 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20873 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20874 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20875 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20876 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20877 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20878 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20879 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20880 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20881 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20882 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20883 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20884 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20885 Require >= 2.
20886 (FLT_ROUNDS): Expect as macro, not constant.
20887 (FLT_MANT_DIG): Use macro-int-constant.
20888 (DBL_MANT_DIG): Likewise.
20889 (LDBL_MANT_DIG): Likewise.
20890 (FLT_DIG): Likewise.
20891 (DBL_DIG): Likewise.
20892 (LDBL_DIG): Likewise.
20893 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20894 (DBL_MIN_EXP): Likewise.
20895 (LDBL_MIN_EXP): Likewise.
20896 (FLT_MAX_EXP): Use macro-int-constant.
20897 (DBL_MAX_EXP): Likewise.
20898 (LDBL_MAX_EXP): Likewise.
20899 (FLT_MAX_10_EXP): Likewise.
20900 (DBL_MAX_10_EXP): Likewise.
20901 (LDBL_MAX_10_EXP): Likewise.
20902 (FLT_MAX): Use macro-constant.
20903 (DBL_MAX): Likewise.
20904 (LDBL_MAX): Likewise.
20905 (FLT_EPSILON): Use macro-constant. Give upper bound.
20906 (DBL_EPSILON): Likewise.
20907 (LDBL_EPSILON): Likewise.
20908 (FLT_MIN): Likewise.
20909 (DBL_MIN): Likewise.
20910 (LDBL_MIN): Likewise.
20911 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20912 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20913 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20914 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20915 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20916 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20917 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20918 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20919 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20920 [ISO11] (FLT_TRUE_MIN): Likewise.
20921 [ISO11] (LDBL_TRUE_MIN): Likewise.
20922 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20923 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20924 (SCHAR_MIN): Use macro-int-constant. Specify type.
20925 (SCHAR_MAX): Likewise.
20926 (UCHAR_MAX): Likewise.
20927 (CHAR_MIN): Likewise.
20928 (CHAR_MAX): Likewise.
20929 (MB_LEN_MAX): Use macro-int-constant.
20930 (SHRT_MIN): Use macro-int-constant. Specify type.
20931 (SHRT_MAX): Likewise.
20932 (USHRT_MAX): Likewise.
20933 (INT_MAX): Likewise.
20934 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20935 bound negative.
20936 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20937 bound with "U".
20938 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20939 bound with "L".
20940 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20941 bound negative. Suffix upper bound with "L".
20942 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20943 bound with "UL".
20944 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20945 Specify type.
20946 [C99-based standards] (LLONG_MAX): Likewise.
20947 [C99-based standards] (ULLONG_MAX): Likewise.
20948 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20949 == 0.
20950 [ISO11] (max_align_t): Require type.
20951 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20952
c9140a62
JM
20953 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20954 from $CFLAGS, without defining away __attribute__ calls.
20955 (checknamespace): Use $CFLAGS_namespace.
20956
9af0bf29
JM
20957 * conform/conformtest.pl (@keywords): Only include C99 keywords
20958 for standards based on C99 or C11.
20959
343222a2
JM
20960 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20961 Disable tests.
20962 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20963 UNIX98]: Likewise.
20964
661f8cf0
JM
20965 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20966 usability of symbols in #if.
20967
ee74b9cb
JM
20968 * conform/conformtest.pl: If macro or constant types start
20969 "promoted:", expect the symbol to be of the following type
20970 promoted by the integer promotions.
62fde54f 20971
aafc49b3
JM
20972 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20973 in one place. Also handle "macro-constant".
20974
fefdf574
JM
20975 * conform/conformtest.pl: Only accept expected macro values with
20976 "==". Parse all "macro" lines in one place.
20977 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20978
f2d922fe
JM
20979 * conform/conformtest.pl: Handle braced types on "constant" lines
20980 instead of handling "typed-constant".
20981 * conform/data/signal.h-data: Use "constant" instead of
20982 "typed-constant".
20983
d22956c9
JM
20984 * conform/conformtest.pl: Handle "optional-" at start of lines in
20985 one place rather than duplicating several cases. Handle each
20986 format of "macro" line with initial "optional-".
20987
028e2e38
JM
20988 * conform/conformtest.pl: Only accept expected constant or
20989 optional-constant values with "==". Parse all "constant" lines in
20990 one place. Parse all "optional-constant" lines in one place.
20991 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20992 * conform/data/fmtmsg.h-data: Likewise.
20993 * conform/data/netinet/in.h-data: Likewise.
20994 * conform/data/tar.h-data: Likewise.
20995 * conform/data/limits.h-data: Use "==" form on "constant" and
20996 "optional-constant" lines.
20997
1b8f2850
JM
20998 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20999 Use -std=c99 for XOPEN2K.
21000 (@knownproblems): Remove.
21001 (newtoken): Don't check %isknown.
21002
a05a144b
JM
21003 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21004 Do not expect macro.
21005 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21006 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21007 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21008 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21009 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21010 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21011 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21012 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21013 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21014 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21015 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21016 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21017 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21018 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21019 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21020 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21021 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21022 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21023 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21024 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21025 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21026 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21027 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21028 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21029 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21030 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21031 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21032 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21033 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21034 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21035 [XPG3] (acosh): Likewise.
21036 [XPG3] (asinh): Likewise.
21037 [XPG3] (atanh): Likewise.
21038 [XPG3] (cbrt): Likewise.
21039 [XPG3] (expm1): Likewise.
21040 [XPG3] (ilogb): Likewise.
21041 [XPG3] (log1p): Likewise.
21042 [XPG3] (logb): Likewise.
21043 [XPG3] (nextafter): Likewise.
21044 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21045 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21046 [XPG3] (remainder): Likewise.
21047 [XPG3] (rint): Likewise.
21048 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21049 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21050 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21051 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21052 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21053 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21054 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21055 [UNIX98 || XOPEN2K] (scalb): Expect.
21056 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21057 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21058 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21059 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21060 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21061 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21062 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21063 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21064 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21065 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21066 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21067 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21068 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21069 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21070 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21071 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21072 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21073 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21074 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21075 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21076 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21077 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21078 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21079 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21080 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21081 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21082 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21083 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21084 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21085 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21086 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21087 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21088 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21089 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21090 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21091 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21092 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21093 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21094 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21095 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21096 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21097 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21098 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21099 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21100 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21101 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21102 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21103 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21104 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21105 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21106 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21107 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21108 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21109 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21110 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21111 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21112 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21113 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21114 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21115 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21116 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21117 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21118 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21119 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21120 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21121 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21122 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21123 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21124 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21125 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21126 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21127 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21128 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21129 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21130 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21131 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21132 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21133 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21134 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21135 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21136 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21137 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21138 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21139 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21140 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21141 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21142 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21143 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21144 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21145 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21146 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21147 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21148 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21149 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21150 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21151 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21152 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21153 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21154 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21155 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21156 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21157 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21158 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21159 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21160 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21161 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21162 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21163 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21164 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21165 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21166 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21167 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21168 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21169 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21170 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21171 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21172 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21173 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21174 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21175 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21176 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21177 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21178 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21179 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21180 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21181 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21182 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21183 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21184 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21185 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21186 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21187 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21188 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21189 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21190 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21191 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21192 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21193
73c5ebe3
JM
21194 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21195 _XOPEN_SOURCE_EXTENDED for XPG4.
21196
39c33b6c
JM
21197 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21198
62fde54f
JM
21199 * Makeconfig (localtime): Remove variable.
21200 (inst_localtime-file): Likewise.
21201
0741d64c
AS
212022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21203
21204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21205 Update.
21206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21207 Update.
21208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21209 Update.
21210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21211 Update.
21212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21213 Update.
21214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21215 Update.
21216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21217 Update.
21218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21219 Update.
21220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21221 Update.
21222
7cb029ee
JM
212232012-05-01 Joseph Myers <joseph@codesourcery.com>
21224
21225 [BZ #2550]
21226 [BZ #2570]
21227 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21228 comparisons to determine direction to adjust input.
21229 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21230 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21231 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21232 Likewise.
21233 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21234 Likewise.
21235 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21236 Likewise.
21237 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21238 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21239 Likewise.
21240 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21241 Likewise.
21242 * math/libm-test.inc (nexttoward_test): Add more tests.
21243
412bd966
AS
212442012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21245
21246 [BZ #14040]
21247 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21248 in version GLIBC_2.1, not GLIBC_2.0.
21249 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21250 Likewise.
21251
9568c0c2
JM
212522012-04-30 Joseph Myers <joseph@codesourcery.com>
21253
adfbc8ac
JM
21254 [BZ #13942]
21255 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21256 (1 - x) * (1 + x).
21257 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21258 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21259 * math/libm-test.inc (acos_test): Add more tests.
21260 (asin_test): Likewise.
21261 * sysdeps/i386/fpu/libm-test-ulps: Update.
21262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21263
5ba3cc69
JM
21264 [BZ #14034]
21265 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21266 of square root.
21267 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21268 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21269 * math/libm-test.inc (acos_test_tonearest): New function.
21270 (acos_test_towardzero): Likewise.
21271 (acos_test_downward): Likewise.
21272 (acos_test_upward): Likewise.
21273 (asin_test_tonearest): Likewise.
21274 (asin_test_towardzero): Likewise.
21275 (asin_test_downward): Likewise.
21276 (asin_test_upward): Likewise.
21277 (main): Call the new functions.
21278 * sysdeps/i386/fpu/libm-test-ulps: Update.
21279 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21280
9568c0c2
JM
21281 [BZ #13884]
21282 [BZ #13924]
21283 * math/e_exp10.c: Include <float.h>.
21284 (__ieee754_exp10): Handle underflow here rather than multiplying
21285 large negative argument by M_LN10.
21286 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21287 of __ieee754_expf.
21288 * math/e_exp10l.c: Include <float.h>.
21289 (__ieee754_exp10l): Handle underflow here rather than multiplying
21290 large negative argument by M_LN10l.
21291 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21292 spurious overflow exception on underflow.
21293
5ac3ea17
MP
212942012-04-29 Marek Polacek <polacek@redhat.com>
21295
21296 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21297 (__fortify_function): New macro.
21298 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21299 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21300 __extern_always_inline.
21301 * libio/bits/stdio2.h: Likewise.
21302 * libio/bits/stdio.h: Likewise.
21303 * string/string.h: Likewise.
21304 * string/bits/string3.h: Likewise.
21305 * include/stdio.h: Likewise.
21306 * stdlib/bits/stdlib.h: Likewise.
21307 * stdlib/stdlib.h: Likewise.
21308 * rt/bits/mqueue2.h: Likewise.
21309 * rt/mqueue.h: Likewise.
21310 * posix/bits/unistd.h: Likewise.
21311 * posix/unistd.h: Likewise.
21312 * io/bits/poll2.h: Likewise.
21313 * io/bits/fcntl2.h: Likewise.
21314 * io/fcntl.h: Likewise.
21315 * io/sys/poll.h: Likewise.
21316 * misc/bits/syslog.h: Likewise.
21317 * misc/bits/syslog-ldbl.h: Likewise.
21318 * misc/sys/syslog.h: Likewise.
21319 * socket/bits/socket2.h: Likewise.
21320 * socket/sys/socket.h: Likewise.
21321 * debug/tst-chk1.c: Likewise.
21322 * wcsmbs/bits/wchar2.h: Likewise.
21323 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21324 * wcsmbs/wchar.h: Likewise.
21325
ecf0ebfb
AJ
213262012-04-29 Andreas Jaeger <aj@suse.de>
21327
21328 * Makerules (tests): Remove enable-check-abi protection.
21329 (check-abi-warn): Remove.
21330 (check-abi-%): Remove check-abi-warn usage.
21331
21332 * configure.in: Remove check-abi configure option.
21333 * configure: Regenerated.
21334 * config.make.in (enable-check-abi): Remove.
21335
6d5c57fa
AS
213362012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21337
24c5d07e 21338 [BZ #14033]
ded5180a
AS
21339 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21340 double functions to double *_finite functions.
21341
7e0d315d
AS
21342 [BZ #13941]
21343 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21344 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21345 LDBL_MIN_EXP.
21346 * stdio-common/Makefile (tests): Add tst-sprintf3.
21347 * stdio-common/tst-sprintf3.c: New file.
21348
6d5c57fa
AS
21349 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21350 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21351
0749ff8b
JM
213522012-04-28 Joseph Myers <joseph@codesourcery.com>
21353
21354 * conform/conformtest.pl: Remove duplicate typed-constant
21355 handling.
21356
8dbd5d7b
DM
213572012-04-28 David S. Miller <davem@davemloft.net>
21358
21359 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21360 (check-abi-%): Remove AWK script prerequisite and explicit
21361 abilist directory.
21362 (check-abi): Rewrite to just diff the symlist with the abilist.
21363 (config-tls, config-abi-config): Delete, no longer used.
21364 (update-abi-%): Remove AWK script and explicit abilist directory.
21365 (update-abi): Rewrite to simply compare and conditionally copy the
21366 symlist and the sysdep abilist file. Remove update-abi-config
21367 checks.
21368 * abilist/ld.abilist: Remove.
21369 * abilist/libBrokenLocale.abilist: Remove.
21370 * abilist/libanl.abilist: Remove.
21371 * abilist/libcrypt.abilist: Remove.
21372 * abilist/libdl.abilist: Remove.
21373 * abilist/librt.abilist: Remove.
21374 * abilist/libthread_db.abilist: Remove.
21375 * abilist/libutil.abilist: Remove.
21376 * scripts/extract-abilist.awk: Remove.
21377 * scripts/merge-abilist.awk: Remove.
21378 * sysdeps/generic/libcidn.abilist: New file.
21379 * sysdeps/generic/libnss_compat.abilist: New file.
21380 * sysdeps/generic/libnss_db.abilist: New file.
21381 * sysdeps/generic/libnss_dns.abilist: New file.
21382 * sysdeps/generic/libnss_files.abilist: New file.
21383 * sysdeps/generic/libnss_hesiod.abilist: New file.
21384 * sysdeps/generic/libnss_nis.abilist: New file.
21385 * sysdeps/generic/libnss_nisplus.abilist: New file.
21386 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21387 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21388 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21389 file.
21390 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21391 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21392 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21393 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21394 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21395 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21396 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21397 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21398 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21399 file.
21400 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21401 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21402 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21403 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21404 file.
21405 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21406 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21407 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21408 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21409 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21410 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21411 file.
21412 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21413 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21414 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21415 file.
21416 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21418 New file.
21419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21420 New file.
21421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21422 New file.
21423 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21424 New file.
21425 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21426 New file.
21427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21428 New file.
21429 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21430 New file.
21431 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21432 New file.
21433 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21434 New file.
21435 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21436 New file.
21437 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21438 New file.
21439 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21440 New file.
21441 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21442 New file.
21443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21444 file.
21445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21446 New file.
21447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21448 New file.
21449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21450 file.
21451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21452 New file.
21453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21454 New file.
21455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21456 file.
21457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21458 New file.
21459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21460 New file.
21461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21462 New file.
21463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21464 New file.
21465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21466 New file.
21467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21468 New file.
21469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21471 file.
21472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21473 New file.
21474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21475 file.
21476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21477 file.
21478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21479 file.
21480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21481 file.
21482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21483 file.
21484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21485 New file.
21486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21487 file.
21488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21489 file.
21490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21491 New file.
21492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21493 file.
21494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21496 file.
21497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21498 New file.
21499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21500 file.
21501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21502 file.
21503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21504 file.
21505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21506 file.
21507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21508 file.
21509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21510 New file.
21511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21512 file.
21513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21514 file.
21515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21516 New file.
21517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21518 file.
21519 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21520 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21521 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21522 file.
21523 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21524 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21525 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21526 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21527 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21528 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21529 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21530 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21531 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21532 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21535 file.
21536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21537 New file.
21538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21539 file.
21540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21541 file.
21542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21543 file.
21544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21545 file.
21546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21547 file.
21548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21549 New file.
21550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21551 New file.
21552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21553 file.
21554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21555 New file.
21556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21557 file.
21558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21560 file.
21561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21562 New file.
21563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21564 file.
21565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21566 file.
21567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21568 file.
21569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21570 file.
21571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21572 file.
21573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21574 New file.
21575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21576 New file.
21577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21578 file.
21579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21580 New file.
21581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21582 file.
21583
41d73a1b
JM
215842012-04-28 Joseph Myers <joseph@codesourcery.com>
21585
21586 * conform/conformtest.pl: Fix typo in handling typed-constant from
21587 allow-header.
21588
28aeeda4
JM
215892012-04-27 Joseph Myers <joseph@codesourcery.com>
21590
adae8f5e
JM
21591 * README: Cut down references to pre-2.6 Linux kernels and
21592 Linuxthreads. Update lists of configurations in libc and ports
21593 and sort alphabetically. Say "or newer" with Linux kernel version
21594 requirements.
21595
28aeeda4
JM
21596 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21597
a462cb63
RA
215982012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21599
21600 [BZ #887]
21601 * math/libm-test.inc (logb_test_downward): New test to expose
21602 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21603 rounding mode.
21604
6ad3493e
JM
216052012-04-27 Joseph Myers <joseph@codesourcery.com>
21606
21607 [BZ #14027]
21608 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21609 to be done.
21610 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21611 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21612
2ce4f015
JM
216132012-04-26 Joseph Myers <joseph@codesourcery.com>
21614
5aeb141a
JM
21615 * sysdeps/unix/i386/brk.S: Remove file.
21616 * sysdeps/unix/i386/dl-brk.S: Likewise.
21617 * sysdeps/unix/i386/pipe.S: Likewise.
21618 * sysdeps/unix/i386/sigreturn.S: Likewise.
21619 * sysdeps/unix/i386/syscall.S: Likewise.
21620 * sysdeps/unix/i386/vfork.S: Likewise.
21621 * sysdeps/unix/i386/wait.S: Likewise.
21622
7143acae
JM
21623 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21624 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21625
2ce4f015
JM
21626 * configure.in (arm*-none*): Do not allow without
21627 --enable-hacker-mode.
21628 (netbsd*): Remove case setting base_os.
21629 (386bsd*): Likewise.
21630 (freebsd*): Likewise.
21631 (bsdi*): Likewise.
21632 (osf*): Likewise.
21633 (sunos*): Likewise.
21634 (ultrix*): Likewise.
21635 (newsos*): Likewise.
21636 (dynix*): Likewise.
21637 (*bsd*): Likewise.
21638 (sysv*): Likewise.
21639 (isc*): Likewise.
21640 (esix*): Likewise.
21641 (sco*): Likewise.
21642 (minix*): Likewise.
21643 (irix4*): Likewise.
21644 (irix6*): Likewise.
21645 (solaris[2-9]*): Likewise.
21646 (none): Likewise.
21647 * configure: Regenerated.
21648
0ac229c8
AZ
216492012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21650
21651 [BZ #11521]
21652 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21653 overflow or cancellation in calculating denominator.
21654 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21655 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21656 down expression to avoid unexpected rounding in newer GCCs.
21657 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21658
33f244f4
DM
216592012-04-26 David S. Miller <davem@davemloft.net>
21660
21661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21662 long-double compat symbols.
21663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21676
cfa1f3e8
DM
216772012-04-25 David S. Miller <davem@davemloft.net>
21678
21679 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21680 HWCAP_* values only after the memory barriers have been defined.
21681 (atomic_full_barrier): Define.
21682 (atomic_read_barrier): Define.
21683 (atomic_write_barrier): Define.
21684
6e236b92
SP
216852012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21686
21687 * shlib-versions: Add libgcc_s version information.
21688 * sysdeps/generic/libgcc_s.h: Remove.
21689 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21690 libgcc_s.h.
21691 * sysdeps/gnu/unwind-resume.c: Likewise.
21692 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21693
aab39a09
DM
216942012-04-25 David S. Miller <davem@davemloft.net>
21695
21696 * sysdeps/unix/sparc/brk.S: Delete.
21697 * sysdeps/unix/sparc/dl-brk.S: Delete.
21698 * sysdeps/unix/sparc/pipe.S: Delete.
21699 * sysdeps/unix/sparc/sysdep.S: Delete.
21700 * sysdeps/unix/sparc/sysdep.h: Delete.
21701 * sysdeps/unix/sparc/vfork.S: Delete.
21702 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21703 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21704 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21705 ret_ERRVAL, r0, r1, MOVE): Define.
21706 (JUMPTARGET): Remove.
21707 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21708 sysdeps/unix/sparc/sysdep.h
21709 (ENTRY, END): Remove.
21710 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21711
a3cc4f48
JM
217122012-04-25 Joseph Myers <joseph@codesourcery.com>
21713
2ed8cda2
JM
21714 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21715 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21716 -DIS_IN_build.
21717
35d76d59
JM
21718 * timezone/README: Update upstream location and email address for
21719 tzcode and tzdata.
21720 * timezone/zdump.c: Update from tzcode 2012b.
21721 * timezone/zic.c: Likewise.
21722
a3cc4f48
JM
21723 * configure.in (libc_cv_as_needed): Remove test.
21724 * configure: Regenerated.
21725 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21726 conditional definition.
21727 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21728 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21729 * config.make.in (have-as-needed): Remove variable.
21730
ceab42c3
SP
217312012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21732 Paul Pluzhnikov <ppluzhnikov@google.com>
21733
21734 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21735 strings correctly.
21736
3ce2865f
CLT
217372012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21738
21739 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21740 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21741 * sysdeps/sh/strlen.S: Likewise.
21742
f37e0d68
JM
217432012-04-24 Joseph Myers <joseph@codesourcery.com>
21744
ae186e9a
JM
21745 * sysdeps/unix/fork.S: Remove file.
21746 * sysdeps/unix/i386/fork.S: Likewise.
21747 * sysdeps/unix/sparc/fork.S: Likewise.
21748
b96914af
JM
21749 * sysdeps/unix/system.c: Remove file.
21750 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21751
f37e0d68
JM
21752 * sysdeps/unix/getegid.S: Remove file.
21753 * sysdeps/unix/geteuid.S: Likewise.
21754
87ef29ca
RM
217552012-04-24 Roland McGrath <roland@hack.frob.com>
21756
83bcd236
RM
21757 * scripts/check-localplt.awk: New file.
21758 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21759 of diff.
21760 * scripts/data/localplt-generic.data: Add a comment.
21761
87ef29ca
RM
21762 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21763 NODE when __dir_mkfile failed.
21764 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21765 Reported by Ludovic Courtès <ludo@gnu.org>.
21766
e5a6e567
AJ
217672012-04-24 Andreas Jaeger <aj@suse.de>
21768
21769 * Makerules (common-clean): Also remove gen-as-const-headers
21770 files.
21771
c1820385
JM
217722012-04-24 Joseph Myers <joseph@codesourcery.com>
21773
21774 * Makerules (native-compile): Do not change working directory for
21775 build. Use $(OUTPUT_OPTION) in command.
21776 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21777
94e02fc4
AZ
217782012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21779
21780 [BZ #13886]
21781 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21782 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21783 * math/libm-test.inc (floor_test): Add more tests.
21784 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21785
3a533ca3
JM
217862012-04-24 Joseph Myers <joseph@codesourcery.com>
21787
940ab4b3
JM
21788 * sysdeps/unix/getdents.c: Remove file.
21789 * sysdeps/unix/sysv/getdents.c: Likewise.
21790 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21791
90e037bd
JM
21792 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21793 sysdeps/unix/mman/syscalls.list.
21794 (mmap): Likewise.
21795 (mprotect): Likewise.
21796 (msync): Likewise.
21797 (munmap): Likewise.
21798 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21799 * sysdeps/unix/mman/syscalls.list: Remove.
21800 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21801
3a533ca3
JM
21802 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21803 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21804 * configure: Regenerated.
21805 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21806 $(libgcc_s_suffix).
21807 * config.make.in (libgcc_s_suffix): Remove variable.
21808
1ad743de
JM
218092012-04-23 Joseph Myers <joseph@codesourcery.com>
21810
4ad451e2
JM
21811 * sysdeps/unix/sysv/gethostname.c: Move to ...
21812 * sysdeps/posix/gethostname.c: ... here.
21813
5e37ce39
JM
21814 * sysdeps/unix/execve.S: Remove file.
21815
1ad743de
JM
21816 * sysdeps/unix/_exit.S: Remove file.
21817
4e681b5b
AJ
218182012-04-23 Andreas Jaeger <aj@suse.de>
21819
21820 [BZ #13739]
21821 * manual/Makefile: Remove make dist support, there's no
21822 need for a stand-alone documentation tar ball.
21823 (TEXI2DVI): Define always, it's not in Makeconfig.
21824 (dist): Removed.
21825 (tar-it): Removed.
21826 (edition): Removed.
21827 (glibc-doc-$(edition).tar): Removed
21828 (%.Z): Removed.
21829 (%.gz): Removed.
21830 (%.uu): Removed.
21831 (ETAGS): Remove, it's in Makeconfig.
21832 (move-if-change): Remove, it's in Makeconfig.
21833
38686a03 218342012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21835
21836 [BZ #13970]
21837 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21838 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21839 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21840 (strtod_l, strtof_l, strtold_l): Remove __wur.
21841 It is not necessarily an error to ignore strtol's return value.
21842 One can reliably look at the stored endptr to decide whether
21843 the number had valid syntax.
21844
7c0616fa
AJ
218452012-04-21 Andreas Jaeger <aj@suse.de>
21846
803cb6b7 21847 [BZ #13739]
7c0616fa
AJ
21848 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21849
b0fe253f
JM
218502012-04-21 Joseph Myers <joseph@codesourcery.com>
21851
21852 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21853 * sysdeps/unix/sysv/Versions: Remove file.
21854
8280f22d
MT
218552012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21856
21857 [BZ #13927]
21858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21859
75ce411f 218602012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21861
21862 [BZ #7064]
21863 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21864 version from __vm86.
21865
097d59fa
JM
218662012-04-20 Joseph Myers <joseph@codesourcery.com>
21867
a90f3bcb
JM
21868 * sysdeps/unix/common/lxstat.c: Remove file.
21869 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21870
edc7ea78
JM
21871 * sysdeps/unix/sysv/Makefile: Remove file.
21872
cb78c221
JM
21873 * sysdeps/unix/sysv/direct.h: Remove file.
21874
efa6a45f
JM
21875 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21876 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21877 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21878 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21879 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21880 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21881 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21882
9c9f2d0c
JM
21883 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21884
4541c83b
JM
21885 * sysdeps/unix/xmknod.c: Remove file.
21886 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21887
f5d153a0
JM
21888 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21889
aa746595
JM
21890 * sysdeps/unix/sysv/i386/time.S: Remove file.
21891
cce5905e
JM
21892 * sysdeps/unix/fxstat.c: Remove file.
21893 * sysdeps/unix/xstat.c: Likewise.
21894 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21895
37fa3841
JM
21896 * sysdeps/unix/sysv/sigaction.c: Remove file.
21897
ff1962a3
JM
21898 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21899 (sysdep_headers): Remove variable.
21900 [termio.h not in sysdep_headers] (generated): Likewise.
21901 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21902 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21903 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21904 * sysdeps/unix/sysv/tcflow.c: Likewise.
21905 * sysdeps/unix/sysv/tcflush.c: Likewise.
21906 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21907 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21908 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21909 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21910 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21911
e7740d31
JM
21912 * sysdeps/unix/siglist.c: Remove file.
21913
ee06f18b
JM
21914 * sysdeps/unix/getppid.S: Remove file.
21915
097d59fa
JM
21916 * sysdeps/unix/mkdir.c: Remove file.
21917 * sysdeps/unix/rmdir.c: Likewise.
21918
ff3d51ec
AS
219192012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21920
21921 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21922 ERR_MAX value.
21923 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21924 errlist-compat value.
21925
50f81fd7
DM
219262012-04-18 David S. Miller <davem@davemloft.net>
21927
21928 * sysdeps/generic/memcopy.h (reg_char): Delete.
21929 * debug/strcat_chk.c: Use char, not reg_char.
21930 * debug/strcpy_chk.c: Likewise.
21931 * debug/strncat_chk.c: Likewise.
21932 * debug/strncpy_chk.c: Likewise.
21933 * string/memchr.c: Likewise.
21934 * string/memrchr.c: Likewise.
21935 * string/rawmemchr.c: Likewise.
21936 * string/strcat.c: Likewise.
21937 * string/strchr.c: Likewise.
21938 * string/strchrnul.c: Likewise.
21939 * string/strcmp.c: Likewise.
21940 * string/strcpy.c: Likewise.
21941 * string/strncat.c: Likewise.
21942 * string/strncmp.c: Likewise.
21943 * string/strncpy.c: Likewise.
21944
8ff41c46
WS
219452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21946
21947 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21948 __builtin_memcopy is called when src and dest ranges are known to not
21949 overlap.
21950
6b652f46
WS
219512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21952
21953 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21954 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21955 fwd_align_merge macro call.
21956 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21957 bwd_align_merge macro call.
21958 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21959
b282631e
WS
219602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21961
21962 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21963 bwd_align_merge macros.
21964 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21965 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21966 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21967
95aa737c
DM
219682012-04-18 David S. Miller <davem@davemloft.net>
21969
21970 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21971
7a99a614
AJ
219722012-04-18 Andreas Jaeger <aj@suse.de>
21973
21974 [BZ# 6794]
21975 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21976 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21977 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21978
21979 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21980 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21981 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21982
21983 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21984 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21985 Adjust for changed ldbl-128 files.
21986
21987 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21988 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21989 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21990
e5270c23
DM
219912012-04-17 David S. Miller <davem@davemloft.net>
21992
21993 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21994
fb5e92c9
AS
219952012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21996
21997 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21998 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21999 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22000 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22001 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22002 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22003
76da7265
AZ
220042012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22005
22006 [BZ #6794]
22007 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22008 * math/libm-test.inc: Add ilogb errno and exception tests.
22009 * math/w_ilogb.c: New file: ilogb wrapper.
22010 * math/w_ilogbf.c: New file: ilogbf wrapper.
22011 * math/w_ilogbl.c: New file: ilogbl wrapper.
22012 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22013 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22014 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22015 exception being thrown with 0.0 as argument.
22016 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22017 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22018 exception being thrown with 0.0 as argument.
22019 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22020 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22021 exception being thrown with 0.0 as argument.
22022 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22023 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22024 exception being thrown with 0.0 as argument.
22025 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22026 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 22027 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
22028 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22029 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22030 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22031 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22032 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22033 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22034
0396e69d
PB
220352012-04-17 Petr Baudis <pasky@ucw.cz>
22036
22037 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22038 with altivec.
22039
750b5926
MP
220402012-04-16 Marek Polacek <polacek@redhat.com>
22041
22042 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22043
751728a1
MP
220442012-04-16 Marek Polacek <polacek@redhat.com>
22045
22046 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22047 operands of fdivp instruction.
22048
34a27407
L
220492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22050
22051 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22052 * elf/tst-auditmod3b.c: Likewise.
22053 * elf/tst-auditmod4b.c: Likewise.
22054 * elf/tst-auditmod5b.c: Likewise.
22055 * elf/tst-auditmod6b.c: Likewise.
22056 * elf/tst-auditmod6c.c: Likewise.
22057 * elf/tst-auditmod7b.c: Likewise.
22058 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22059 * sysdeps/x86_64/preconfigure.in: Likewise.
22060 * sysdeps/x86_64/preconfigure: Regenerated.
22061
7e73e17d
L
220622012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22063
22064 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22065 __ILP32__.
22066
c7a6ab72
AB
220672012-04-13 Antoine Balestrat <merkil33@gmail.com>
22068
22069 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22070 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22071
a9e8e0e0
CL
220722012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22073
22074 [BZ #13973]
22075 * locale/iso-639.def: Fix gl language name. Spotted by
22076 Yaron Shahrabani.
22077
ec98af7d
RM
220782012-04-12 Roland McGrath <roland@hack.frob.com>
22079
22080 [BZ #2074]
22081 * libio/libio.h (__io_write_fn): Update comment.
22082
247c3ede
PB
220832012-04-12 Petr Baudis <pasky@ucw.cz>
22084
22085 [BZ #2074]
22086 * stdio.texi (Hook Functions): The user provided writer function
22087 is not allowed to return -1.
22088
55939d6d
DM
220892012-04-11 David S. Miller <davem@davemloft.net>
22090
22091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22092
90020f5a
MF
220932012-04-11 Mike Frysinger <vapier@gentoo.org>
22094
22095 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22096 Add a leading slash to rtkaio.
22097
288f9098
JM
220982012-04-11 Jim Meyering <meyering@redhat.com>
22099
90020f5a
MF
22100 [BZ #11959]
22101 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22102 It is not necessarily an error to ignore fwrite's return
22103 value. One can reliably use ferror to test for errors after
22104 the fact.
288f9098 22105
4be2b570
L
221062012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22107
22108 * bits/types.h (__snseconds_t): New type.
22109 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22110
22111 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22112 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22113 (__SNSECONDS_T_TYPE): Likewise.
22114 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22115 (__SNSECONDS_T_TYPE): Likewise.
22116 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22117 (__SNSECONDS_T_TYPE): Likewise.
22118
288f9098 221192012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
22120
22121 [BZ #2636]
22122 * manual/time.texi (Processor Time): Return type of times is
22123 elapsed real time since an arbitrary point in the past.
22124 (CPU Time): Move CLK_TCK from here...
22125 (Processor Time): ...to here. Correct description.
22126 * manual/conf.texi (Constants for Sysconf): Correct description of
22127 _SC_CLK_TCK.
22128
d7dd4413
DM
221292012-04-10 David S. Miller <davem@davemloft.net>
22130
22131 [BZ #13967]
22132 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22133 where the is a gap between DT_REL(A) and DT_JMPREL.
22134
b46068fc
L
221352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22136
22137 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22138 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22139 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22140
73d65cc3
SP
221412012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22142
22143 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22144 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22145 (dl_main): Handle --inhibit-cache.
22146 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22147 _dl_inhibit_cache.
22148 * elf/dl-load.c (_dl_map_object): Use it.
22149 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22150
bcc8d661
JM
221512012-04-09 Joseph Myers <joseph@codesourcery.com>
22152
8f9a2fae
JM
22153 [BZ #13872]
22154 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22155 (__ieee754_powl): Saturate large exponents rather than testing for
22156 overflow of y*log2(x).
22157 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22158 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22159 exceptions.
22160
bcc8d661
JM
22161 [BZ #11521]
22162 * math/s_ctan.c: Include <float.h>.
22163 (__ctan): Avoid internal overflow or cancellation in calculating
22164 denominator.
22165 * math/s_ctanf.c: Likewise.
22166 * math/s_ctanl.c: Likewise.
22167 * math/s_ctanh.c: Likewise.
22168 * math/s_ctanhf.c: Likewise.
22169 * math/s_ctanhl.c: Likewise.
22170 * math/libm-test.inc (ctan_test): Add more tests.
22171 (ctanh_test): Likewise.
22172 * sysdeps/i386/fpu/libm-test-ulps: Update.
22173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22174
823fbbb4
AJ
221752012-04-09 Andreas Jaeger <aj@suse.de>
22176
03879793
AJ
22177 [BZ #6894]
22178 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22179 is an optional BSD extension.
22180
823fbbb4
AJ
22181 [BZ #10254]
22182 * manual/stdio.texi (Opening Streams): Document additional fopen
22183 parameters.
22184
8de131cb
RM
221852012-04-09 Roland McGrath <roland@hack.frob.com>
22186
22187 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22188 %eax without telling the compiler.
22189
c0ed9d7d
CD
221902012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22191
22192 [BZ # 13963]
22193 * manual/install.texi: Use sourceware.org.
22194
c483f6b4
JM
221952012-04-09 Joseph Myers <joseph@codesourcery.com>
22196
d7dd9453
JM
22197 [BZ #13873]
22198 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22199 (__ieee754_pow): Generate overflow and underflow using huge*huge
22200 and tiny*tiny rather than just returning constant infinity or zero
22201 for large exponents.
22202 * math/libm-test.inc (pow_test): Require overflow exceptions for
22203 applicable cases of large exponents.
22204
c483f6b4
JM
22205 [BZ #706]
22206 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22207 (__ieee754_pow): Use iterative multiplication algorithm only for
22208 integer exponents with absolute value below 1024. Check for odd
22209 integer exponents when using algorithm for real exponents.
22210 * math/libm-test.inc (pow_test): Add more tests.
22211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22212
d2de7579
JM
222132012-04-08 Joseph Myers <joseph@codesourcery.com>
22214
22215 [BZ #13705]
22216 * math/libm-test.inc (exp_test): Do not allow overflow exception
22217 on underflow test.
22218
f77f1232
AJ
222192012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22220
22221 [BZ #13705]
22222 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22223 instead of __kernel_standard_f.
22224
3884932b
MF
222252012-04-08 Mike Frysinger <vapier@gentoo.org>
22226
22227 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22228 * sysdeps/x86_64/memset_chk.S: Likewise.
22229
54472e9c
AJ
222302012-04-08 Andreas Jaeger <aj@suse.de>
22231
6ab0fbfc
AJ
22232 [BZ #10153]
22233 * manual/startup.texi (Environment Access): Describe return value
22234 for putenv and setenv.
22235
61efba8c
AJ
22236 [BZ #6895]
22237 * manual/filesys.texi (Directory Entries): Add description for
22238 DT_LNK.
22239
95c3f29a
AJ
22240 [BZ #6890]
22241 * manual/filesys.texi (Directory Entries): Clarify that it's file
22242 system not operating system in the description of DT_UNKNOWN.
22243
54472e9c
AJ
22244 [BZ #6578]
22245 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22246
624254b1
SC
222472012-04-08 Stephen Compall <s11@member.fsf.org>
22248
22249 [BZ #6649]
22250 * manual/llio.texi (Opening and Closing Files): Add cross
22251 reference to explain mode argument.
22252
1e4920e0
MF
222532012-04-07 Mike Frysinger <vapier@gentoo.org>
22254
22255 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22256 * sysdeps/x86_64/memset_chk.S: Likewise.
22257
5ed848f3
DM
222582012-04-07 David S. Miller <davem@davemloft.net>
22259
22260 * elf/elf.h (R_SPARC_WDISP10): Define.
22261 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22262 R_SPARC_SIZE32.
22263 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22264 R_SPARC_SIZE64 and R_SPARC_H34.
22265
96154cd8
CD
222662012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22267
22268 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22269 conditions and remove no longer applicable assertion.
22270
9904dc47
L
222712012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22272
22273 * bits/byteswap.h: Include <features.h>.
22274 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22275 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22276
f8887d0a
L
222772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22278
22279 * bits/byteswap.h (__bswap_16): Removed.
22280 Include <bits/byteswap-16.h> to get __bswap_16.
22281 * sysdeps/i386/bits/byteswap.h: Likewise.
22282 * sysdeps/s390/bits/byteswap.h: Likewise.
22283 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22284 * bits/byteswap-16.h: New file.
22285 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22286 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22287 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22288 * string/Makefile (headers): Add bits/byteswap-16.h.
22289
62470f60
PP
222902012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22291
22292 [BZ #13895]
22293 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22294 extra indirection.
22295 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22296 * nss/tst-nss-static.c: New.
22297
4dad7bab
RM
222982012-04-06 Robert Millan <rmh@gnu.org>
22299
22300 [BZ #6486]
22301 * manual/llio.texi (File Position Primitive): lseek
22302 refers to WHENCE when it really means OFFSET.
22303
e9142a17
AJ
223042012-04-06 Andreas Jaeger <aj@suse.de>
22305
2c040eff
AJ
22306 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22307 strncmp declarations.
22308
e9142a17
AJ
22309 * abilist/libc.abilist: Add __poll and __ppoll.
22310
ff9f1c5f
DM
223112012-04-05 David S. Miller <davem@davemloft.net>
22312
dcd2ae90
DM
22313 * scripts/check-local-headers.sh: Accept a host triplet in the
22314 path matched by the exclude regexp.
22315
993eb054
DM
22316 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22317 definition.
22318 * sysdeps/powerpc/powerpc32/dl-machine.h
22319 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22320 * sysdeps/s390/s390-32/dl-machine.h
22321 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22322 * sysdeps/sparc/sparc32/dl-machine.h
22323 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22324 * sysdeps/sparc/sparc64/dl-machine.h
22325 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22326
ff9f1c5f
DM
22327 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22328 lazy binding.
48e2e132 22329 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22330 undefined symbol errors.
22331
48e2e132 22332 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22333 DT_NEEDED entries.
22334
e80d6f94
MM
223352012-04-05 Michael Matz <matz@suse.de>
22336
22337 [BZ #13592]
22338 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22339
349fa79f
AJ
223402012-04-05 Andreas Jaeger <aj@suse.de>
22341
22342 [BZ #13908]
22343 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22344 comment.
22345
f402708f
KK
223462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22347
22348 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22349 which ROUND is no valid rounding mode.
22350
2ecccfc9
KK
223512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22352
22353 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22354 read again.
22355 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22356
8a53f50f
KK
223572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22358
22359 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22360 an exception using FPU order intentionally.
22361
223622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22363
22364 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22365 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22366 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22367 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22368
d653abb7
SJ
223692012-04-05 Simon Josefsson <simon@josefsson.org>
22370
22371 [BZ #12340]
22372 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22373 EINVAL when BUFLEN is too smal.
22374
c3b1bf7d
TS
223752012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22376
22377 [BZ #13553]
22378 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22379 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22380
b1aa60f3
AJ
223812012-04-03 Andreas Jaeger <aj@suse.de>
22382
c3b1bf7d 22383 [BZ #13938]
67f60a26
AJ
22384 * manual/setjmp.texi (System V contexts): Fix sentence.
22385
b1aa60f3
AJ
22386 [BZ #13926]
22387 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22388 New macro for this case.
22389 [!__GNUC__] (__bswap_64): New inline function for this case.
22390 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22391 * bits/byteswap.h: Likewise.
22392 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22393 ull, guard with __GLIBC_HAVE_LONG_LONG.
22394
22395 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22396 __GLIBC_HAVE_LONG_LONG.
22397
22398 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22399 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22400
39c59c35
TMQMF
224012012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22402
22403 [BZ #13691]
22404 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22405 inptr and inend, rather than using last_ch.
22406
135ffda8
DM
224072012-04-02 David S. Miller <davem@davemloft.net>
22408
22409 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22410 * stdio-common/printf-parse.h (read_int): Change return type to
22411 'int', return -1 on INT_MAX overflow.
22412 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22413 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22414 overflows INT_MAX. Check for overflow of in-format-string precision
22415 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22416 SIZE_MAX not INT_MAX for integer overflow test.
22417 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22418 skip the construct in the format string but do not record anything.
22419 * stdio-common/bug22.c: Adjust to test both width/prevision
22420 INT_MAX overflow as well as total length INT_MAX overflow. Check
22421 explicitly for proper errno values.
22422
228c019e
TS
224232012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22424
302cadd3
TS
22425 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22426 CHAR_MAX.
22427 * string/test-strcmp.c [! WIDE]: Likewise.
22428 * time/tst-mktime2.c: Likewise for INT_MAX.
22429 * string/test-string.h: #include <sys/param.h> for MIN.
22430
228c019e
TS
22431 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22432 * sysdeps/i386/init-first.c (init): Likewise.
22433 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22434 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22435 * sysdeps/sh/init-first.c (init): Likewise.
22436
cfa633f5
UD
224372012-04-01 Ulrich Drepper <drepper@gmail.com>
22438
22439 * po/ru.po: Update from translation team.
d1635ef8 22440 * po/vi.po: Likewise.
cfa633f5 22441
6cd0a5ea
SP
224422012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22443
22444 * resolv/nss_dns/dns-host.c: Merge copyright years.
22445
4b43400f
LD
224462012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22447
22448 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22449 Optimize memcpy with prefetch if
22450 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22451 src, dst pointers have unequal 16 byte alignments.
22452
48c41d04
SP
224532012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22454
22455 [BZ #13928]
22456 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22457 from a CNAME entry and return the minimum ttl for the query.
22458 (gaih_getanswer_slice): Likewise.
22459
b8dc394d
JL
224602012-03-30 Jeff Law <law@redhat.com>
22461
22462 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22463 due to long keys.
22464 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22465 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22466
2f5a5ed0
JL
22467 * resolv/nss_dns/dns-host.c: Update copyright year.
22468
1d39e359
UD
224692012-03-30 Ulrich Drepper <drepper@gmail.com>
22470
c030f70c 22471 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22472 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22473
1d39e359
UD
22474 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22475 comments for sendmmsg.
22476
224772012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22478
22479 [BZ #13691]
22480 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22481 with only 1 character between 0x0041 and 0x01b0.
22482 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22483 * wcsmbs/tst-mbsnrtowcs.c: New file.
22484
20fde227
DM
224852012-03-29 David S. Miller <davem@davemloft.net>
22486
22487 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22488 small copies by hand.
22489
984a4237
JL
224902012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22491
22492 [BZ #13761]
22493 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22494 _nss_compat_initgroups_dyn): Fall back to malloc/free
22495 for large group memberships.
22496
18c9d62b
DM
224972012-03-28 David S. Miller <davem@davemloft.net>
22498
88d85d4f
DM
22499 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22500 that branches into memcpy.
22501 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22502 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22503 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22504 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22505 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22506 bits.
22507 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22508 implementation too.
22509 * sysdeps/sparc/mempcpy.S: New file.
22510
e5aa83e1
DM
22511 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22512 the IFUNC routine in the libc case.
22513 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22514
88570753
DM
22515 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22516 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22517 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22518 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22519 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22520 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22521 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22522 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22523
249d7567
DM
22524 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22525 loop to 256 bytes instead of 64 bytes and fix test signedness.
22526
18c9d62b
DM
22527 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22528 * sysdeps/sparc/sparc32/Makefile: rather than here...
22529 * sysdeps/sparc/sparc64/Makefile: and here.
22530
05f3d1f6
UD
225312012-03-28 Ulrich Drepper <drepper@gmail.com>
22532
22533 * malloc/mallocbug.c: Avoid warnings about unused variables.
22534
86ae07a8
JL
225352012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22536
22537 [BZ #13760]
22538 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22539 in the right place. Discard and retry query if response is
22540 larger than input buffer size.
22541
41bf21a1
JM
225422012-03-28 Joseph Myers <joseph@codesourcery.com>
22543
d6270972
JM
22544 [BZ #369]
22545 [BZ #2678]
22546 [BZ #3866]
22547 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22548 x for large integer exponent.
22549 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22550 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22551 sign of result as needed afterwards.
22552 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22553 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22554 result for underflowing pow the same as for overflow.
22555 (__kernel_standard_l): Handle powl overflow and underflow here
22556 rather than calling __kernel_standard.
22557 * math/libm-test.inc (pow_test): Add more tests.
22558
414fca03 22559 [BZ #3868]
41bf21a1
JM
22560 [BZ #13879]
22561 [BZ #13910]
22562 [BZ #13911]
22563 [BZ #13912]
22564 [BZ #13913]
22565 [BZ #13915]
22566 [BZ #13916]
22567 [BZ #13917]
22568 [BZ #13918]
22569 [BZ #13919]
22570 [BZ #13920]
22571 [BZ #13921]
22572 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22573 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22574 (__kernel_standard_l): New function.
22575 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22576 __kernel_standard.
22577 * math/w_acosl.c (__acosl): Likewise.
22578 * math/w_asinl.c (__asinl): Likewise.
22579 * math/w_atan2l.c (__atan2l): Likewise.
22580 * math/w_atanhl.c (__atanhl): Likewise.
22581 * math/w_coshl.c (__coshl): Likewise.
22582 * math/w_exp10l.c (__exp10l): Likewise.
22583 * math/w_exp2l.c (__exp2l): Likewise.
22584 * math/w_fmodl.c (__fmodl): Likewise.
22585 * math/w_hypotl.c (__hypotl): Likewise.
22586 * math/w_j0l.c (__j0l, __y0l): Likewise.
22587 * math/w_j1l.c (__j1l, __y1l): Likewise.
22588 * math/w_jnl.c (__jnl, __ynl): Likewise.
22589 * math/w_lgammal.c (__lgammal): Likewise.
22590 * math/w_log10l.c (__log10l): Likewise.
22591 * math/w_log2l.c (__log2l): Likewise.
22592 * math/w_logl.c (__logl): Likewise.
22593 * math/w_powl.c (__powl): Likewise.
22594 * math/w_remainderl.c (__remainderl): Likewise.
22595 * math/w_scalbl.c (sysv_scalbl): Likewise.
22596 * math/w_sinhl.c (__sinhl): Likewise.
22597 * math/w_sqrtl.c (__sqrtl): Likewise.
22598 * math/w_tgammal.c (__tgammal): Likewise.
22599 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22600 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22601 * math/libm-test.inc (acos_test): Add more tests.
22602 (acosh_test): Likewise.
22603 (asin_test): Likewise.
22604 (atanh_test): Likewise.
22605 (exp_test): Likewise.
22606 (exp10_test): Likewise.
22607 (exp2_test): Likewise.
22608 (expm1_test): Likewise.
22609 (lgamma_test): Likewise.
22610 (log_test): Likewise.
22611 (log10_test): Likewise.
22612 (log1p_test): Likewise.
22613 (log2_test): Likewise.
22614 (pow_test): Do not allow some spurious overflow exceptions.
22615 (sqrt_test): Add more tests.
22616 (tgamma_test): Likewise.
22617 (y0_test): Likewise.
22618 (y1_test): Likewise.
22619 (yn_test): Likewise.
22620
dd62fda6
AB
226212012-03-27 Anton Blanchard <anton@samba.org>
22622
22623 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22624 MAP_HUGETLB.
22625 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22626 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22627 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22628
1e3cdfda
AJ
226292012-03-27 David S. Miller <davem@davemloft.net>
22630
b855ab85
DM
22631 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22632
1e3cdfda
AJ
22633 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22634 have-as-vis3 check.
22635
226362012-03-27 Andreas Jaeger <aj@suse.de>
22637
22638 * sysdeps/x86_64/elf/configure.in: Moved to ...
22639 * sysdeps/x86_64/configure.in: ... here.
22640 * sysdeps/x86_64/elf/start.S: Moved to ...
22641 * sysdeps/x86_64/start.S: ... here.
22642 * sysdeps/x86_64/elf/configure: Delete.
22643
22644 * sysdeps/x86_64/configure.in: Merge contents from
22645 sysdeps/i386/configure.in (without i686 check).
22646
22647 * sysdeps/i386/elf/Versions: Merge into ...
22648 * sysdeps/i386/Versions: ... this.
22649 * sysdeps/i386/elf/Versions: Delete file.
22650 * sysdeps/i386/elf/start.S: Moved to ...
22651 * sysdeps/i386/start.S: ...here.
22652 * sysdeps/i386/elf/configure.in: Merge into...
22653 * sysdeps/i386/configure.in: ...here.
22654 * sysdeps/i386/elf/configure.in: Delete file.
22655 * sysdeps/i386/elf/configure: Delete file.
22656
22657 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22658 * debug/backtracesyms.c: ... here.
22659 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22660 * debug/backtracesymsfd.c: ... here.
22661 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22662 * sysdeps/generic/ifunc-sel.h: ... here.
22663
22664 * sysdeps/unix/i386/start.c: Delete file.
22665 * sysdeps/unix/sparc/start.c: Delete file.
22666 * sysdeps/unix/start.c: Delete file.
22667
22668 * sysdeps/sh/elf/configure.in: Moved to ...
22669 * sysdeps/sh/configure.in: ... here.
22670 * sysdeps/sh/elf/start.S: Moved to ...
22671 * sysdeps/sh/start.S: ... here.
22672 * sysdeps/sh/elf/configure: Delete file.
22673
22674 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22675 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22676 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22677 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22678 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22679 * sysdeps/powerpc/powerpc64/start.S: here.
22680 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22681 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22682 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22683 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22684 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22685
22686 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22687 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22688 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22689 * sysdeps/powerpc/powerpc32/start.S: ... here.
22690 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22691 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22692 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22693
22694 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22695 * sysdeps/powerpc/ifunc-sel.h: ... here.
22696 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22697 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22698
22699 * sysdeps/sparc/elf/configure.in: Moved to ...
22700 * sysdeps/sparc/configure.in: ... here.
22701 * sysdeps/sparc/elf/configure: Delete file.
22702 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22703 * sysdeps/sparc/sparc32/start.S: ... here.
22704 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22705 * sysdeps/sparc/sparc64/start.S: ... here.
22706 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22707 * sysdeps/sparc/sparc32/Makefile: ... this.
22708 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22709 * sysdeps/sparc/sparc64/Makefile: ... this.
22710
22711 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22712 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22713 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22714 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22715 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22716 * sysdeps/s390/s390-32/setjmp.S: ... here.
22717 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22718 * sysdeps/s390/s390-32/configure.in: ... here.
22719 * sysdeps/s390/s390-32/elf/configure: Delete file.
22720 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22721 * sysdeps/s390/s390-32/start.S: ... here.
22722
22723 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22724 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22725 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22726 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22727 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22728 * sysdeps/s390/s390-64/setjmp.S: ... here.
22729 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22730 * sysdeps/s390/s390-64/configure.in: ... here
22731 * sysdeps/s390/s390-64/elf/configure: Delete file.
22732 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22733 * sysdeps/s390/s390-64/start.S: ... here.
22734 * sysdeps/s390/s390-64/elf/configure: Delete.
22735
22736 * configure.in: Remove support for elf directories in sysdeps.
22737
22738 * configure: Regenerated.
22739 * sysdeps/i386/configure: Regenerated.
22740 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22741 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22742 * sysdeps/s390/s390-32/configure: Regenerated.
22743 * sysdeps/s390/s390-64/configure: Regenerated.
22744 * sysdeps/sh/configure: Regenerated.
22745 * sysdeps/sparc/configure: Regenerated.
22746 * sysdeps/x86_64/configure: Regenerated.
22747
a3f61311
AS
227482012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22749
c876e002
AS
22750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22751
a3f61311
AS
22752 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22753 denormal result into account.
22754
ac4c54f0
RM
227552012-03-25 Roland McGrath <roland@hack.frob.com>
22756
22757 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22758 Reported by Allan McRae <allan@archlinux.org>.
22759
6a9b9c02
JL
227602012-03-23 Jeff Law <law@redhat.com>
22761
22762 * nss/getnssent.c (__nss_getent): Fix typo.
22763
4c42a0c1
DM
227642012-03-23 David S. Miller <davem@davemloft.net>
22765
22766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22767
1532c7ac
L
227682012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22769
22770 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22771 to pad to uint64_t for each field.
22772 (dl_tls_index): Replace unsigned long with uint64_t.
22773
3ff42526
PP
227742012-03-23 Daniel Jacobowitz <dmj@google.com>
22775 Paul Pluzhnikov <ppluzhnikov@google.com>
22776
22777 [BZ #6528]
22778 * grp/Makefile (otherlibs): Don't set it.
22779 * inet/Makefile (otherlibs): Likewise.
22780 * login/Makefile (otherlibs): Likewise.
22781 * nscd/Makefile (otherlibs): Likewise.
22782 * posix/Makefile (otherlibs): Likewise.
22783 * pwd/Makefile (otherlibs): Likewise.
22784 * rt/Makefile (otherlibs): Likewise.
22785 * sunrpc/Makefile (otherlibs): Likewise.
22786 * nss/Makefile (otherlibs): Likewise.
22787 Add libnss_files to routines and static-only-routines.
22788 ($(objpfx)getent): Remove rule.
22789 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22790 static-only-routines.
22791
7c69cd14
JM
227922012-03-22 Joseph Myers <joseph@codesourcery.com>
22793
22794 [BZ #13892]
22795 * math/s_cexp.c: Include <float.h>.
22796 (__cexp): Handle exp result overflowing not necessarily
22797 overflowing both real and imaginary parts of result.
22798 * math/s_cexpf.c: Likewise.
22799 * math/s_cexpl.c: Likewise.
22800 * math/libm-test.inc (cexp_test): Add more tests.
22801 * sysdeps/i386/fpu/libm-test-ulps: Update.
22802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22803
81b035fe
L
228042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22805
22806 * include/link.h (ELFW): New macro.
22807 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22808 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22809
1da7940c
L
228102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22811
22812 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22813 with uint64_t.
22814
b749dbb9
L
228152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22816
22817 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22818 declaration.
22819 (struct La_x32_retval): Likewise.
22820
2ff87f3f
L
228212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22822
22823 * sysdeps/x86_64/preconfigure.in: New file.
22824 * sysdeps/x86_64/preconfigure: New generated file.
22825
c0df8e69
JM
228262012-03-22 Joseph Myers <joseph@codesourcery.com>
22827
48e44791
JM
22828 [BZ #13824]
22829 * math/e_exp2l.c: Include <float.h>.
22830 (__ieee754_exp2l): Handle overflow and underflow cases
22831 separately. Only pass fractional part of argument to
22832 __ieee754_expl.
22833 * math/libm-test.inc (exp2_test): Add more tests.
22834
c0df8e69
JM
22835 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22836 negating x to take absolute value.
22837 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22838 Likewise.
22839 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22840 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22841 Likewise.
22842 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22843 computing low part if x was negated.
22844 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22845
c8e43ba7
L
228462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22847
22848 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22849 la_x32_gnu_pltexit.
22850 (pltexit): Cast int_retval to ptrdiff_t.
22851 * elf/tst-auditmod3b.c: Likewise.
22852 * elf/tst-auditmod4b.c: Likewise.
22853 * elf/tst-auditmod5b.c: Likewise.
22854 * elf/tst-auditmod6b.c: Likewise.
22855 * elf/tst-auditmod6c.c: Likewise.
22856 * elf/tst-auditmod7b.c: Likewise.
22857
22858 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22859 and x32_gnu_pltexit.
22860
22861 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22862 __ELF_NATIVE_CLASS.
22863 (La_x32_regs): New macro.
22864 (La_x32_retval): Likewise.
22865 (la_x32_gnu_pltenter): New function prototype.
22866 (la_x32_gnu_pltexit): Likewise.
22867
7998fa78
AS
228682012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22869
dcb33988
AS
22870 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22871 exponent.
22872
233fc563
AS
22873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22874
7998fa78
AS
22875 * configure.in (libc_cv_cc_nofma): Check for option to disable
22876 generation of FMA instructions.
22877 * configure: Regenerate.
22878 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22879 * sysdeps/ieee754/dbl-64/Makefile: New file.
22880 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22881 Remove brandred-fma4.
22882 (CFLAGS-brandred-fma4.c): Remove.
22883 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22884 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22885 define.
22886 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22887 define.
22888
8e95c99a
L
228892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22890
22891 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22892 LLONG_MAX != LONG_MAX.
22893 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22894 (_fitoa_word): Likewise.
22895 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22896 LLONG_MAX != LONG_MAX.
22897 * stdio-common/_itowa.h: Include <_itoa.h>.
22898 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22899 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22900 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22901 only if not defined.
22902 (_ITOA_WORD_TYPE): Likewise.
22903 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22904 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22905
6f4db457
DM
229062012-03-21 David S. Miller <davem@davemloft.net>
22907
22908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22909
7785fe5a
L
229102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22911
22912 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22913 of x86_64 when setting libc_cv_slibdir, libdir and
22914 libc_cv_localedir.
22915 * sysdeps/unix/sysv/linux/configure: Regenerated.
22916
4535cd55
JM
229172012-03-21 Joseph Myers <joseph@codesourcery.com>
22918
22919 * manual/lang.texi (Old Varargs): Remove section.
22920 (How Variadic): Update menu.
22921 (va_start): Do not mention varargs.h.
22922
17228132
TS
229232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22924 Joseph Myers <joseph@codesourcery.com>
22925
22926 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22927 link test.
22928 * configure: Regenerated.
22929
8149f976
TS
229302012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22931
05f3d1f6
UD
22932 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22933 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22934 conformtest.pl
8149f976 22935
1a4ac776
JM
229362012-03-21 Joseph Myers <joseph@codesourcery.com>
22937
be22ce65
JM
22938 * NOTES: Remove.
22939 * Makefile (files-for-dist): Remove NOTES.
22940 (NOTES): Remove rule.
22941 * README: Don't refer to NOTES.
22942 * manual/creature.texi: Don't include macros.texi.
22943 * manual/intro.texi (creature.texi): Remove comment referring to
22944 NOTES.
22945
40b601fb
JM
22946 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22947 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22948 * configure: Regenerated.
22949 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22950 LIBC_TRY_CC_OPTION.
22951 (libc_cv_as_i686): Likewise.
22952 (libc_cv_cc_avx): Likewise.
22953 (libc_cv_cc_sse2avx): Likewise.
22954 (libc_cv_cc_fma4): Likewise.
22955 (libc_cv_cc_novzeroupper): Likewise.
22956 * sysdeps/i386/configure: Regenerated.
22957
1a4ac776
JM
22958 [BZ #13883]
22959 * sysdeps/i386/fpu/s_cexp.S: Remove.
22960 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22961 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22962 * math/libm-test.inc (cexp_test): Add more tests.
22963 * sysdeps/i386/fpu/libm-test-ulps: Update.
22964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22965
a458e7fe
AM
229662012-03-21 Allan McRae <allan@archlinux.org>
22967
22968 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22969
0cb7efc5
JM
229702012-03-21 Joseph Myers <joseph@codesourcery.com>
22971
22972 [BZ #13871]
22973 * math/w_exp2.c: Do not include <float.h>.
22974 (o_threshold, u_threshold): Remove.
22975 (__exp2): Calculate result before checking finiteness and calling
22976 __kernel_standard.
22977 * math/w_exp2f.c: Likewise.
22978 * math/w_exp2l.c: Likewise.
22979 * math/libm-test.inc (exp2_test): Require overflow exception for
22980 1e6 input.
2460d3aa
JM
22981
22982 [BZ #3866]
22983 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22984 range of signed 64-bit integers before using fistpll. Remove
22985 checks for whether integers fit in mantissa bits.
22986 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22987 the range of signed 32-bit integers before using fistpl. Remove
22988 checks for whether integers fit in mantissa bits.
22989 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22990 (__ieee754_powl): Test for y outside the range of signed 64-bit
22991 integers before using fistpll. Reduce 64-bit values to 63-bit
22992 ones as needed.
22993 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22994 divide-by-zero is raised for zero to large negative powers.
22995 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22996 (__ieee754_powl): Test for y outside the range of signed 64-bit
22997 integers before using fistpll. Reduce 64-bit values to 63-bit
22998 ones as needed.
22999 * math/libm-test.inc (pow_test): Add more tests.
23000
eb96ffb0
L
230012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23002
23003 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23004 <stdio-common/_itoa.h>.
23005 * debug/segfault.c: Likewise.
23006 * elf/dl-cache.c: Likewise.
23007 * elf/dl-minimal.c: Likewise.
23008 * elf/dl-misc.c: Likewise.
23009 * elf/dl-sysdep.c: Likewise.
23010 * elf/dl-version.c: Likewise.
23011 * elf/rtld.c: Likewise.
23012 * hurd/hurdsock.c: Likewise.
23013 * hurd/lookup-retry.c: Likewise.
23014 * malloc/malloc.c: Likewise.
23015 * malloc/mtrace.c: Likewise.
23016 * nscd/nscd_getgr_r.c: Likewise.
23017 * nscd/nscd_getpw_r.c: Likewise.
23018 * nscd/nscd_getserv_r.c: Likewise.
23019 * posix/getopt_init.c: Likewise.
23020 * posix/wordexp.c: Likewise.
23021 * stdio-common/_itoa.c: Likewise.
23022 * stdio-common/printf_fphex.c: Likewise.
23023 * stdio-common/vfprintf.c: Likewise.
23024 * string/_strerror.c: Likewise.
23025 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23026 * sysdeps/i386/i686/hp-timing.h: Likewise.
23027 * sysdeps/mach/_strerror.c: Likewise.
23028 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23029 * sysdeps/mach/hurd/sethostid.c: Likewise.
23030 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23031 * sysdeps/mach/xpg-strerror.c: Likewise.
23032 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23033 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23034 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23035 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23036 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23037 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23038 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23039 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23040 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23041 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23042 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23043 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23044 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23045 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23046 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23047 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23048 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23049 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23050 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23051 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23052 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23053
23054 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23055
23056 * stdio-common/_itoa.h: Moved to ...
23057 * sysdeps/generic/_itoa.h: Here.
23058
23059 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23060
23061 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23062 instead of "_itoa.h" and "_itowa.h".
23063 * stdio-common/vfprintf.: Likewise.
23064
d1af992d
L
230652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23066
23067 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23068 <bits/wordsize.h>.
23069 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23070 (__signbit): Likwise.
23071 (llrintf): Likwise.
23072 (llrint): Likwise.
23073
114883e0
L
230742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23075
23076 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23077 __WORDSIZE != 64.
23078
c135cc1b
JM
230792012-03-20 Joseph Myers <joseph@codesourcery.com>
23080
23081 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23082 OVERFLOW_EXCEPTION_OK.
23083 * math/libm-test.inc ("Philosophy"): Update comment about
23084 exception testing.
23085 (OVERFLOW_EXCEPTION): Define.
23086 (OVERFLOW_EXCEPTION_OK): Likewise.
23087 (INVALID_EXCEPTION_OK): Renumber.
23088 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23089 (IGNORE_ZERO_INF_SIGN): Likewise.
23090 (test_exceptions): Handle FE_OVERFLOW.
23091 (exp10_test): Expect overflow exceptions.
23092 (exp2_test): Likewise.
23093 (expm1_test): Likewise.
23094 (nextafter_test): Likewise.
23095 (pow_test): Likewise.
23096 (scalbn_test): Likewise.
23097 (scalbln_test): Likewise.
23098
95443d88
L
230992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23100
23101 * sysdeps/x86_64/bits/atomic.h
23102 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23103 64bit integer.
23104 (atomic_exchange_acq): Likewise.
23105 (__arch_exchange_and_add_body): Likewise.
23106 (__arch_add_body): Likewise.
23107 (atomic_add_negative): Likewise.
23108 (atomic_add_zero): Likewise.
23109
490df6c4
L
231102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23111
c2722551 23112 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
23113 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23114
5e52b189
L
231152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23116
23117 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23118 Check __x86_64__ instead of __WORDSIZE.
23119
a9879d4c
L
231202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23121
23122 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23123
5df98260
DM
231242012-03-19 David S. Miller <davem@davemloft.net>
23125
e1497744
DM
23126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23127
5df98260
DM
23128 * sysdeps/sparc/fpu/fenv_private.h: New file.
23129 * sysdeps/sparc/fpu/math_private.h: Use it.
23130 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23131 Remove.
23132 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23133 (libc_feholdexcept_setroundl): Remove.
23134 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23135 Remove.
23136 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23137 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23138
b4c35121
L
231392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23140
23141 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23142 int64_t instead of long int.
23143 (INSERT_WORDS64): Likwise.
23144
56965fd7
L
231452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23146
23147 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23148 _Unwind_GetCFA return to _Unwind_Ptr first.
23149
83d1aec8
JM
231502012-03-19 Joseph Myers <joseph@codesourcery.com>
23151
1897ad44
JM
23152 [BZ #13629]
23153 * math/s_clog.c: Include <float.h>.
23154 (__clog): Scale large or subnormal inputs.
23155 * math/s_clogf.c: Likewise.
23156 * math/s_clogl.c: Likewise.
23157 * math/s_clog10.c: Include <float.h>.
23158 (M_LOG10_2): Define.
23159 (__clog10): Scale large or subnormal inputs.
23160 * math/s_clog10f.c: Likewise.
23161 * math/s_clog10l.c: Likewise.
23162 * math/libm-test.inc (clog_test): Add more tests.
23163 (clog10_test): Likewise.
23164 * sysdeps/i386/fpu/libm-test-ulps: Update.
23165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23166
7726d6a9
JM
23167 [BZ #11451]
23168 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23169 x and y.
23170 * math/libm-test.inc (atan2_test): Add another test.
23171
83d1aec8
JM
23172 * Makerules (common-objdir-compile): Remove.
23173 * sysdeps/unix/Makefile (config-generated): Do not add
23174 $(unix-generated) to variable.
23175 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23176 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23177 Remove rule.
23178 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23179 Likewise.
23180 [generic bits/local_lim.h] (before-compile): Do not append to
23181 variable.
23182 [generic bits/local_lim.h] (common-generated): Likewise.
23183 [generic sys/param.h] (before-compile): Do not append to variable.
23184 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23185 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23186 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23187 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23188 include.
23189 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23190 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23191 [generic sys/param.h] ($(addprefix
23192 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23193 [generic sys/param.h] (common-generated): Do not append to
23194 variable.
23195 [generic sys/param.h] (sysdep_headers): Likewise.
23196 [generic bits/errno.h] (before-compile): Do not append to
23197 variable.
23198 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23199 rule.
23200 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23201 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23202 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23203 [generic bits/errno.h] (common-generated): Do not append to
23204 variable.
23205 [generic bits/ioctls.h] (before-compile): Do not append to
23206 variable.
23207 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23208 rule.
23209 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23210 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23211 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23212 rule.
23213 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23214 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23215 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23216 [generic bits/ioctls.h] (common-generated): Do not append to
23217 variable.
23218 [generic sys/syscall.h] (syscall.h): Remove variable.
23219 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23220 rule.
23221 [generic sys/syscall.h] (before-compile): Do not append to
23222 variable.
23223 [generic sys/syscall.h] (common-generated): Likewise.
23224 * sysdeps/unix/errnos-tmpl.c: Remove file.
23225 * sysdeps/unix/errnos.awk: Likewise.
23226 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23227 * sysdeps/unix/ioctls.awk: Likewise.
23228 * sysdeps/unix/mk-local_lim.c: Likewise.
23229 * sysdeps/unix/snarf-ioctls: Likewise.
23230
4851a949
RH
232312012-03-19 Richard Henderson <rth@twiddle.net>
23232
bd37f2ee
RH
23233 * sysdeps/i386/fpu/fenv_private.h: New file.
23234 * sysdeps/i386/fpu/math_private.h: Use it.
23235 (math_opt_barrier, math_force_eval): Remove.
23236 (libc_feholdexcept_setround_53bit): Remove.
23237 (libc_feupdateenv_53bit): Remove.
23238 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23239 (math_opt_barrier, math_force_eval): Remove.
23240 (libc_feholdexcept): Remove.
23241 (libc_feholdexcept_setround): Remove.
23242 (libc_fetestexcept, libc_fesetenv): Remove.
23243 (libc_feupdateenv_test): Remove.
23244 (libc_feupdateenv, libc_feholdsetround): Remove.
23245 (libc_feresetround): Remove.
23246
d0adc922
RH
23247 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23248 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23249
0fe0f1f8
RH
23250 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23251 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23252 (libc_feupdateenv_testl): New.
23253 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23254 (libc_feupdateenv_testf): New.
23255 (libc_feupdateenv): Use libc_feupdateenv_test.
23256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23257 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23258
eb92c487
RH
23259 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23260 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23261 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23262 (libc_feresetround_noex): New.
23263 (libc_feresetround_noexf): New.
23264 (libc_feresetround_noexl): New.
23265 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23266 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23267 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23268 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23269 SET_RESTORE_ROUND.
23270 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23271 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23272 (__cos): Likewise.
23273 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23274 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23275 SET_RESTORE_ROUND_NOEX.
23276 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23277 SET_RESTORE_ROUND_NOEXF.
23278 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23279 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23280 (libc_feholdsetroundf): New.
23281 (libc_feresetround, libc_feresetroundf): New.
23282
7d2e8012
RH
23283 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23284 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23285 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23286
b4dabbb4
RH
23287 * sysdeps/generic/math_private.h: Include <fenv.h>.
23288 (default_libc_feholdexcept): New.
23289 (default_libc_feholdexcept_setround): New.
23290 (default_libc_fesetenv, default_libc_feupdateenv): New.
23291 (libc_feholdexcept): Only define if undefined.
23292 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23293 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23294 (libc_feholdexcept_setroundl): Likewise.
23295 (libc_feholdexcept_setround_53bit): Likewise.
23296 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23297 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23298 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23299 (libc_feupdateenv_53bit): Likewise.
23300 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23301 (libc_feholdexcept): Convert from macro to inline function.
23302 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23303 (libc_fesetenv, libc_feupdateenv): Likewise.
23304
4851a949
RH
23305 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23306 not previously defined.
23307 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23308 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23309 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23310 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23311 * sysdeps/ieee754/flt-32/math_private.h: New file.
23312 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23313 math_private.h below SET_FLOAT_WORD.
23314 (__isnan, __isinf_ns, __finite): Remove.
23315 (__isnanf, __isinf_nsf, __finitef): Remove.
23316
e79d442e
AS
233172012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23318
23319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23320
90b80344
DM
233212012-03-17 David S. Miller <davem@davemloft.net>
23322
23323 [BZ #6471]
23324 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23325 for 2.16.
23326
edc21804
DM
233272012-03-16 David S. Miller <davem@davemloft.net>
23328
77e927af
DM
23329 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23330 warnings.
23331
374976dd
DM
23332 [BZ #6471]
23333 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23334 properly.
23335 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23336 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23337 sysdep_routines when subdir is sysvipc.
23338 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23339 __getshmlba helper.
23340
edc21804
DM
23341 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23342
473c3ef3
L
233432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23344
23345 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23346 [__LP64__].
23347
eb0f39b6
L
233482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23349
23350 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23351 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23352 (__lround): Renamed to ...
23353 (__llround): This. Replace long int with long long int.
23354 Define lround functions as aliases of llround functions.
23355 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23356
6b6cd74b
L
233572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23358
23359 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23360 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23361 adresses to uintptr_t. Replace "long int" and "unsigned long
23362 int" with "greg_t" on va_arg.
23363
f1a77b01
L
233642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23365
23366 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23367 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23368
23369 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23370 Move e_machine check before EI_CLASS check. Handle x32
23371 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23372 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23373 SKIP_EM_IA_64 and include
23374 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23375
23376 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23377 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23378 (add_system_dir): New macro.
23379
23380 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23381 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23382
11b90b9f
JM
233832012-03-16 Joseph Myers <joseph@codesourcery.com>
23384
c36e1d23
JM
23385 [BZ #2551]
23386 [BZ #2552]
23387 [BZ #2553]
23388 [BZ #2554]
23389 [BZ #2562]
23390 [BZ #2563]
23391 [BZ #2565]
23392 [BZ #2566]
23393 [BZ #2576]
23394 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23395 (y0): Likewise.
23396 * math/w_j0f.c (j0f): Likewise.
23397 (y0f): Likewise.
23398 * math/w_j0l.c (__j0l): Likewise.
23399 (__y0l): Likewise.
23400 * math/w_j1.c (j1): Likewise.
23401 (y1): Likewise.
23402 * math/w_j1f.c (j1f): Likewise.
23403 (y1f): Likewise.
23404 * math/w_j1l.c (__j1l): Likewise.
23405 (__y1l): Likewise.
23406 * math/w_jn.c (jn): Likewise.
23407 (yn): Likewise.
23408 * math/w_jnf.c (jnf): Likewise.
23409 (ynf): Likewise.
23410 * math/w_jnl.c (__jnl): Likewise.
23411 (__ynl): Likewise.
23412 * math/libm-test.inc (j0_test): Add more tests.
23413 (j1_test): Likewise.
23414 (jn_test): Likewise. Add trailing semicolon to existing test.
23415 (y0_test): Likewise.
23416 (y1_test): Likewise.
23417 * sysdeps/i386/fpu/libm-test-ulps: Update.
23418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23419
11b90b9f
JM
23420 [BZ #13851]
23421 [BZ #13854]
23422 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23423 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23424 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23425 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23426 (__tanl): Set errno for infinite argument.
23427 * sysdeps/i386/fpu/mptan.c: Remove.
23428 * sysdeps/i386/fpu/s_tan.S: Likewise.
23429 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23430 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23431 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23432 * math/libm-test.inc (tan_test): Add more tests and enable more
23433 tests for double and long double.
23434 * sysdeps/i386/fpu/libm-test-ulps: Update.
23435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23436
6a1bd2a1
JK
234372012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23438
23439 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23440 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23441
10a803e0
RM
234422012-03-16 Roland McGrath <roland@hack.frob.com>
23443
23444 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23445 * configure.in: Use it for both main tree and add-ons.
23446 * configure: Regenerated.
23447
f196c7f7
L
234482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23449
23450 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23451
8848d99d
JM
234522012-03-16 Joseph Myers <joseph@codesourcery.com>
23453
96cbe7f4
JM
23454 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23455 in comment.
23456
8848d99d
JM
23457 [BZ #13851]
23458 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23459 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23460 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23461 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23462 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23463 infinite argument.
23464 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23465 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23466 != 0 for prec == 2.
23467 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23468 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23469 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23470 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23471 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23472 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23473 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23474 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23475 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23476 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23477 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23478 * math/libm-test.inc (cos_test): Add more tests and enable more
23479 tests for long double.
23480 (sin_test): Likewise.
23481 (sincos_test): Likewise.
23482 * sysdeps/i386/fpu/libm-test-ulps: Update.
23483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23484
dd7f4703
DM
234852012-03-16 David S. Miller <davem@davemloft.net>
23486
23487 * sysdeps/sparc/fpu/math_private.h: New file.
23488
006f1daa
DM
234892012-03-15 David S. Miller <davem@davemloft.net>
23490
c0c83bc8
DM
23491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23492 file.
e6a62e18 23493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23495 file.
e6a62e18
DM
23496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23502 sysdep routines.
23503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23504
88cb87d9
DM
23505 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23506 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23507
006f1daa 23508 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23510 sparc-ifunc.h
006f1daa 23511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23513 Likewise.
23514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23515 Likewise.
006f1daa
DM
23516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23520 Likewise.
006f1daa
DM
23521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23526 Likewise.
23527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23528 Likewise.
006f1daa
DM
23529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23534 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23535 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23536 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23538 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23547 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23548 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23549 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23550 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23551 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23552 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23553
11e0098e
AS
235542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23555
23556 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23557 scaling.
23558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23559
e85b09d0
AJ
235602012-03-15 Andreas Jaeger <aj@suse.de>
23561
23562 [BZ #13852]
23563 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23564 ieee754/flt-32 implementation for sin, cos and sincos.
23565 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23566 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23567 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23568 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23569 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23570 ieee754/flt-32 implementation for tan.
23571
23572 * math/libm-test.inc (cos_test): Enable some large input tests for
23573 float as well
23574 (sin_test): Likewise.
23575 (sincos_test): Likewise.
23576 (tan_test): Add tests for large input.
23577
23578 * sysdeps/i386/fpu/libm-test-ulps: Update.
23579
81c64153
AJ
235802012-03-15 Andreas Jaeger <aj@suse.de>
23581
23582 [BZ #13658]
23583 * math/libm-test.inc (cos_test): Add more test cases.
23584 (sin_test): Likewise.
23585 (sincos_test): Likewise.
23586
7bbfa5c6
AJ
235872012-03-15 Andreas Jaeger <aj@suse.de>
23588
23589 [BZ #13837]
23590 * math/libm-test.inc (cos_test): Add a test case for large input
23591 value.
23592 (sin_test): Likewise.
23593 (sincos_test): Likewise.
23594
235952012-03-15 Andreas Jaeger <aj@suse.de>,
23596 Joseph Myers <joseph@codesourcery.com>
23597
23598 [BZ #13658]
0671f479 23599 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23600 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23601 * sysdeps/i386/fpu/branred.c: Likewise.
23602 * sysdeps/i386/fpu/dosincos.c: Likewise.
23603 * sysdeps/i386/fpu/mpa.c: Likewise.
23604 * sysdeps/i386/fpu/s_cos.S: Likewise.
23605 * sysdeps/i386/fpu/s_sin.S: Likewise.
23606 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23607 * sysdeps/i386/fpu/sincos32.c: Likewise.
23608
23609 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23610 Define.
23611 (libc_feupdateenv_53bit): Define.
23612 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23613 Define.
23614 (libc_feupdateenv_53bit): Define.
23615
23616 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23617 53 bit (without extend i386 double precision).
23618
23619 * math/libm-test.inc (sincos_test): Add tests for large input.
23620 (sin): Likewise.
23621 (cos): Likewise.
23622
23623 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23624
9cad04ea
AS
236252012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23626
23627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23628
f7062b9a
DM
236292012-03-15 David S. Miller <davem@davemloft.net>
23630
23631 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23632 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23633 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23634 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23645 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23647 file.
f7062b9a 23648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23650 file.
f7062b9a 23651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23653 file.
f7062b9a 23654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23656 file.
f7062b9a
DM
23657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23658 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23659 fmin/fmax sysdep routines.
23660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23661
7bd951ff
DM
236622012-03-14 David S. Miller <davem@davemloft.net>
23663
559398ab
DM
23664 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23665 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23666 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23667 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23668 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23669 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23670 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23671 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23674 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23675 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23682 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23683 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23684 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23685 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23686 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23687 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23688 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23689 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23690 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23691 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23692 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23693 routines.
23694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23695 file.
559398ab 23696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23698 file.
559398ab 23699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23701 file.
559398ab 23702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23704 file.
559398ab 23705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23707 file.
559398ab 23708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23710 file.
23711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23712 file.
23713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23714 file.
23715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23716 file.
23717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23718 New file.
23719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23720 file.
23721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23722 file.
559398ab 23723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23725 file.
559398ab 23726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23728 file.
559398ab 23729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23731 file.
559398ab 23732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23734 VIS3 routines.
559398ab
DM
23735
23736 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23737 New file.
23738
5a1c1e32
DM
23739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23740
eae47a36
DM
23741 * sysdeps/sparc/configure.in: New file.
23742 * sysdeps/sparc/configure: Generate.
23743 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23744 * configure: Regenerate.
23745 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23746 * config.make.in (have-as-vis3): New.
23747 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23748 available use -Av9d instead of -Av9a.
23749 * sysdeps/sparc/sparc64/Makefile: Likewise.
23750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23752 New file.
23753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23754 file.
23755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23756 New file.
23757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23758 file.
eae47a36
DM
23759 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23760 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23761 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23762 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23763 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23764
c0c83bc8
DM
23765 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23766 fzeros/fnegs to load 0x80000000 into a float register instead of
23767 using the stack.
7bd951ff
DM
23768 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23769
bd951ccb
JM
237702012-03-14 Joseph Myers <joseph@codesourcery.com>
23771
23772 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23773 bits/syscall.h.
23774 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23775 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23776 ($(inst_includedir)/bits/syscall.h): Remove rule.
23777 ($(objpfx)bits/syscall.d): Include instead of
23778 $(objpfx)syscall-list.d.
23779 (generated): Change syscall-list.h and syscall-list.d to
23780 bits/syscall.h and bits/syscall.d.
23781
bb4e6db2
RM
237822012-03-14 Roland McGrath <roland@hack.frob.com>
23783
23784 [BZ #13846]
23785 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23786
aa4a2ae1
JM
237872012-03-14 Joseph Myers <joseph@codesourcery.com>
23788
e456826d
JM
23789 [BZ #13841]
23790 * math/s_csqrt.c: Include <float.h>.
23791 (__csqrt): Scale large or subnormal inputs.
23792 * math/s_csqrtf.c: Likewise.
23793 * math/s_csqrtl.c: Likewise.
23794 * math/libm-test.inc (csqrt_test): Add more tests.
23795 * sysdeps/i386/fpu/libm-test-ulps: Update.
23796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23797
aa4a2ae1
JM
23798 [BZ #13840]
23799 * math/libm-test.inc (hypot_test): Add more tests.
23800
7c10fd35
DM
238012012-03-13 David S. Miller <davem@davemloft.net>
23802
23803 [BZ #13840]
23804 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23805 double-precision for the calculation instead of scaling.
23806
f453b98b
JM
238072012-03-13 Joseph Myers <joseph@codesourcery.com>
23808
23809 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23810 manipulate bits before adding and subtracting TWO52[sx].
23811 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23812 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23813 Likewise.
23814 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23815
09a3453f
DM
238162012-03-13 David S. Miller <davem@davemloft.net>
23817
8e59da90
DM
23818 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23819 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23820 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23821 rtld-global-offsets.h
23822 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23823
2a8ab7f2
DM
23824 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23825 large parameters.
23826
10f62770
DM
23827 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23828
5f0bdb18
DM
23829 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23830 'err' in the ifdef scope in which it is actually used.
23831
09a3453f
DM
23832 * nss/nss_db/db-init.c: Include string.h
23833
b4b2eb5e
DM
238342012-03-12 David S. Miller <davem@davemloft.net>
23835
98bb2f1c
DM
23836 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23837 masking out of the most significant byte of random value used.
23838 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23839 Fix coding style in previous change.
23840
b4b2eb5e
DM
23841 * sysdeps/unix/sysv/linux/kernel-features.h
23842 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23843 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23844 expression.
23845 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23846 later.
23847
6e226b09
DM
238482012-03-11 David S. Miller <davem@davemloft.net>
23849
a1bcbd40
DM
23850 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23851 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23852 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23853 for 'resultvar' otherwise things get truncated on 64-bit.
23854
cb9d6174
DM
23855 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23856 Fix masking out of the most significant byte of random value used.
23857
6e226b09
DM
23858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23859
058c132d
AS
238602012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23861
23862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23863
2d2cd515
DM
238642012-03-09 David S. Miller <davem@davemloft.net>
23865
23866 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23867 variables with appropriate CPP guards.
23868 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23869 frame pointer, not the stack pointer. Correct layout comments. Fix test
23870 on resulting framesize and the management of the outregs buffer for pltexit.
23871 Preserve floating point return values across _dl_call_pltexit call.
23872 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23873 framesize and the management of the outregs buffer for pltexit.
23874 Preserve floating point return values across _dl_call_pltexit
23875 call.
23876 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23877 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23878 (print_exit): Fix format string for return register value.
23879
9a07f9d0
JM
238802012-03-10 Joseph Myers <joseph@codesourcery.com>
23881
23882 * sunrpc/Makefile (others): Add rpcgen.
23883 ($(objpfx)rpcgen): Remove special build rule and dependency on
23884 libc.
23885 * sunrpc/rpcgen.c: New file.
23886
547b5e30
PE
238872012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23888
c524201a
PE
23889 [BZ #13673]
23890 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23891 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23892 * sysdeps/i386/crti.S: Likewise.
23893 * sysdeps/i386/crtn.S: Likewise.
23894 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23895 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23896 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23897 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23898 * sysdeps/sh/crti.S: Likewise.
23899 * sysdeps/sh/crtn.S: Likewise.
23900 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23901
7b6235f2
PE
23902 [BZ #13673]
23903 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23904 with URL.
23905 * locale/programs/locfile-kw.gperf: Likewise.
23906 * locale/programs/charmap-kw.h: Regenerated.
23907 * locale/programs/locfile-kw.h: Likewise.
23908
547b5e30
PE
23909 [BZ #13673]
23910 * intl/plural.y: Replace FSF snail mail address with URL.
23911 * intl/plural.c: Regenerated.
23912
5f0a5dae
RH
239132012-03-09 Richard Henderson <rth@twiddle.net>
23914
23915 * include/math_private.h: Remove file.
23916 * math/math_private.h: Move file ...
23917 * sysdeps/generic/math_private.h: ... here.
23918
b8c03620
RH
23919 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23920 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23921 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23922
4e234f5d 23923 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23924 and <math_private.h>.
23925 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23926 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23927 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23928 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23929 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23930 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23931 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23932 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23933 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23934 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23935 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23936 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23937 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23938 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23939 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23940 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23941 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23942 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23943 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23944 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23945 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23946 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23947 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23948 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23949 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23950 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23951 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23952 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23953 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23954 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23955 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23956 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23957 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23958 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23959 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23960 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23961 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23962 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23963 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23964 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23965 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23966 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23967 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23968 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23969 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23970 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23971 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23972 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23973 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23974 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23975 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23976 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23977 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23978 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23979 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23980 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23981 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23982 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23983 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23984 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23985 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23986 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23987 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23988 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23989 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23990 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23991 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23992 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23993 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23994 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23995 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23996 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23997 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23998 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23999 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24000 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24001 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24002 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24003 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24004 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24005 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24006 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24007 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24008 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24009 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24010 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24011 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24012 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24013 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24014 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24015 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24016 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24017 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24018 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24019 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24020 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24021 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24022 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24023 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24024 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24025 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24026 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24027 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24028 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24029 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24030 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24031 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24032 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24033 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24034 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24035 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24036 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24037 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24038 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24039 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24040 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24041 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24042 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24043 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24044 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24045 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24046 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24047 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24048 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24049 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24050 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24051 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24052 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24053 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24054 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24055 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24056 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24057 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24058 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24059 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24060 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24061 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24062 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24063 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24064 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24065 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24066 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24067 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24068 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24069 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24070 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24071 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24072 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24073 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24074 * sysdeps/ieee754/k_standard.c: Likewise.
24075 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24076 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24077 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24078 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24079 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24080 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24081 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24082 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24083 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24084 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24085 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24086 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24087 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24088 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24089 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24090 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24091 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24092 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24093 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24094 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24095 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24096 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24097 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24098 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24099 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24100 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24101 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24102 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24103 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24104 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24105 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24106 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24107 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24108 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24109 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24110 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24111 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24112 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24113 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24114 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24115 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24116 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24117 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24118 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24119 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24120 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24121 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24122 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24123 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24124 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24125 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24126 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24127 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24128 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24129 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24130 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24131 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24132 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24133 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24134 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24135 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24136 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24137 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24138 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24139 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24140 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24141 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24142 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24143 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24144 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24145 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24147 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24148 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24149 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24150 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24151 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24152 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24153 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24154 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24155 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24156 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24157 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24158 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24159 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24160 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24161 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24162 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24163 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24164 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24165 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24166 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24167 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24168 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24169 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24170 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24171 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24172 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24173 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24174 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24175 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24176 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24177 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24178 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24179 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24180 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24181 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24182 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24183 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24184 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24185 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24186 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24187 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24188 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24189 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24190 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24191 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24192 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24193 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24194 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24195 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24196 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24197 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24198 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24199 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24200 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24201 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24202 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24203 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24204 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24205 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24206 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24207 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24208 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24209 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24210 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24211 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24212 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24213 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24214 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24215 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24216 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24217 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24218 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24219 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24220 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24221 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24222 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24223 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24224 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24225 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24226 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24228 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24229 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24230 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24231 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24232 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24233 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24234 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24235 * sysdeps/ieee754/s_lib_version.c: Likewise.
24236 * sysdeps/ieee754/s_matherr.c: Likewise.
24237 * sysdeps/ieee754/s_signgam.c: Likewise.
24238 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24239 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24240 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24241 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24242 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24243 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24244 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24245 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24246 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24247 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24248 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24249 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24250 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24251 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24252 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24253 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24254 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24255 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24256 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24257 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24258 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24259
1991fa03
JM
242602012-03-09 Joseph Myers <joseph@codesourcery.com>
24261
24262 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24263 * sunrpc/rpc_main.c: Likewise.
24264 * sunrpc/rpc_svcout.c: Likewise.
24265
60d6f5a6
DM
242662012-03-09 David S. Miller <davem@davemloft.net>
24267
24268 * include/math_private.h: New file.
24269
4962050e
JM
242702012-03-09 Joseph Myers <joseph@codesourcery.com>
24271
02a6f887
JM
24272 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24273 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24274 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24275 from <bits/socket_type.h>.
24276 (enum __socket_type): Don't define here.
24277 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24279 bits/socket_type.h.
24280
c6e013c1
JM
24281 [BZ #13566]
24282 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24283 checking __USE_GNU.
24284
4962050e
JM
24285 * Makerules ($(inst_includedir)/%.h): New rule.
24286 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24287 (install-others): Remove variable setting.
24288 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24289
38842f45
RH
242902012-03-08 Richard Henderson <rth@twiddle.net>
24291
67bb6da6
RH
24292 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24293 from macro to inline function; merge with the
24294 !__LIBC_INTERNAL_MATH_INLINES version.
24295 (__ieee754_sqrtf): Likewise.
24296
15194b4b
RH
24297 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24298 to inline function.
24299 (__rintf, __floor, __floorf): Likewise.
24300
64e21ede
RH
24301 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24302 macro to inline function.
24303 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24304
38842f45
RH
24305 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24306 not <math/math_private.h>.
24307
c64bf5fe
DM
243082012-03-08 David S. Miller <davem@davemloft.net>
24309
24310 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24311 copyright year.
24312 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24313
82d86f28
TS
243142012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24315
24316 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24317 normalization.
24318 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24319 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24320
aea5d727
UD
243212012-03-08 Ulrich Drepper <drepper@gmail.com>
24322
24323 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24324 be defined individually, they must be defined as a block. Define
24325 S for printing a string instead of hidint the different by using a
24326 macro for adding the 'l'.
24327 * stdio-common/tst-fphex-wide.c: Adjust.
24328
70bca0a3
MP
243292012-03-07 Marek Polacek <polacek@redhat.com>
24330
24331 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24332
65b81130
MP
243332012-03-08 Marek Polacek <polacek@redhat.com>
24334
24335 [BZ #13806]
24336 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24337 * stdio-common/tst-fphex.c: Define a few macros to make the
24338 test reusable. Use them.
24339 * stdio-common/tst-fphex-wide.c: New file.
24340
07037eeb
JM
243412012-03-08 Joseph Myers <joseph@codesourcery.com>
24342
a7a93d50
JM
24343 [BZ #6911]
24344 * manual/macros.texi (gnusystems): New macro.
24345 (nongnusystems): Likewise.
24346 (gnulinuxhurdsystems): Likewise.
24347 (gnuhurdsystems): Likewise..
24348 (gnulinuxsystems): Likewise.
24349 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24350 variants of the GNU system, not "GNU system".
24351 * manual/conf.texi: Likewise.
24352 * manual/errno.texi: Likewise. Update example of errno macro
24353 expansion.
24354 * manual/filesys.texi: Likewise.
24355 (getumask): Document as specific to GNU/Hurd.
24356 * manual/install.texi: Likewise. Reword some references to
24357 GNU/Linux.
24358 * manual/intro.texi: Likewise.
24359 * manual/io.texi: Likewise.
24360 (File Name Portability): Detail which constraints are inapplicable
24361 to all GNU systems and which are only inapplicable to GNU/Hurd.
24362 * manual/job.texi: Likewise.
24363 * manual/llio.texi: Likewise.
24364 (O_NOCTTY): Document as present on GNU/Linux.
24365 * manual/maint.texi: Likewise.
24366 * manual/memory.texi: Likewise.
24367 * manual/pattern.texi: Likewise.
24368 * manual/pipe.texi: Likewise.
24369 * manual/process.texi: Likewise.
24370 * manual/resource.texi: Likewise.
24371 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24372 child on GNU/Hurd.
24373 * manual/setjmp.texi: Likewise.
24374 * manual/signal.texi: Likewise.
24375 * manual/startup.texi: Likewise.
24376 * manual/stdio.texi: Likewise.
24377 * manual/terminal.texi: Likewise.
24378 (ONLCR): Document as POSIX.
24379 (OXTABS): Document availability on GNU/Linux as XTABS.
24380 (ONOEOT): Document availability separately from other bits.
24381 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24382 * manual/time.texi: Likewise.
24383 * manual/users.texi: Likewise.
24384 * INSTALL: Regenerated.
24385 * sysdeps/gnu/errlist.c: Regenerated.
24386
07037eeb
JM
24387 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24388 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24389 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24390 puts.
24391 * configure: Regenerated.
24392
d1d3431a
JM
243932012-03-07 Joseph Myers <joseph@codesourcery.com>
24394
af6a1e37
JM
24395 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24396 default includes instead of AC_HEADER_CHECK.
24397 * sysdeps/i386/configure: Regenerated.
24398
d1d3431a
JM
24399 [BZ #10716]
24400 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24401 * math/s_cacoshf.c (__cacoshf): Likewise.
24402 * math/s_cacoshl.c (__cacoshl): Likewise.
24403 * math/s_casinh.c (__casinh): Set signs of result from argument.
24404 * math/s_casinhf.c (__casinhf): Likewise.
24405 * math/s_casinhl.c (__casinhl): Likewise.
24406 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24407 (casinh_test): Add more tests.
24408 * sysdeps/i386/fpu/libm-test-ulps: Update.
24409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24410
482ff4da
UD
244112012-03-07 Ulrich Drepper <drepper@gmail.com>
24412
872fda05
UD
24413 * po/zh_TW.po: Update from translation team.
24414
a4300c7a
UD
24415 * login/Makefile (distribute): Remove variable.
24416 * catgets/Makefile: Likewise.
24417 * mach/Makefile: Likewise.
24418 * malloc/Makefile: Likewise.
24419 * misc/Makefile: Likewise.
24420 * iconv/Makefile: Likewise.
24421 * nscd/Makefile: Likewise.
24422 * hurd/Makefile: Likewise.
24423 * manual/Makefile: Likewise.
24424 * locale/Makefile: Likewise.
24425 * intl/Makefile: Likewise.
24426 * conform/Makefile: Likewise.
24427 * nss/Makefile: Likewise.
24428 * time/Makefile: Likewise.
24429 * soft-fp/Makefile: Likewise.
24430 * dirent/Makefile: Likewise.
24431 * gmon/Makefile: Likewise.
24432 * po/Makefile: Likewise.
24433 * rt/Makefile: Likewise.
24434 * socket/Makefile: Likewise.
24435 * math/Makefile: Likewise.
24436 * signal/Makefile: Likewise.
24437 * debug/Makefile: Likewise.
24438 * elf/Makefile: Likewise.
24439 * timezone/Makefile: Likewise.
24440 * stdlib/Makefile: Likewise.
24441 * iconvdata/Makefile: Likewise.
24442 * sunrpc/Makefile: Likewise.
24443 * io/Makefile: Likewise.
24444 * argp/Makefile: Likewise.
24445 * inet/Makefile: Likewise.
24446 * hesiod/Makefile: Likewise.
24447 * grp/Makefile: Likewise.
24448 * csu/Makefile: Likewise.
24449 * wctype/Makefile: Likewise.
24450 * crypt/Makefile: Likewise.
24451 * libio/Makefile: Likewise.
24452 * string/Makefile: Likewise.
24453 * nis/Makefile: Likewise.
24454 * resolv/Makefile: Likewise.
24455 * stdio-common/Makefile: Likewise.
24456 * wcsmbs/Makefile: Likewise.
24457 * dlfcn/Makefile: Likewise.
24458 * posix/Makefile: Likewise.
24459
3b7c4e74 24460 [BZ #6959]
482ff4da
UD
24461 * timezone/Makefile: Don't install timezone files, just the programs
24462 and scripts.
24463
f72ed77d
UD
244642012-03-06 Ulrich Drepper <drepper@gmail.com>
24465
a000466f
UD
24466 * nss/databases.def: Add missing gshadow entry.
24467
f72ed77d
UD
24468 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24469
a53b7a4e
MP
244702012-03-06 Marek Polacek <polacek@redhat.com>
24471
24472 [BZ #13726]
24473 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24474 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24475 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24476 * stdio-common/tst-long-dbl-fphex.c: New file.
24477
e9258400
DM
244782012-03-06 David S. Miller <davem@davemloft.net>
24479
24480 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24481 (set_obp_int): New function.
24482 (get_obp_int): New function.
24483 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24484 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24485 Avoid unused variable warnings on 'val' and use builtin_expect.
24486 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24487 __builtin_expect.
e9258400
DM
24488 (INLINE_CLONE_SYSCALL): Likewise.
24489
3bd2c723
DM
244902012-03-05 David S. Miller <davem@davemloft.net>
24491
24492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24493
bbb78d03
AS
244942012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24495
884c5db4
AS
24496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24497
bbb78d03
AS
24498 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24499 only for |x| >= 40.
24500 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24501
1c9f702a 245022012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24503
24504 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24505 Replace gettimeofday with __vdso_gettimeofday.
24506
7be16f82
RM
24507 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24508 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24509 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24510
24511 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24512 time with __vdso_time.
24513
ed58a00f
JM
245142012-03-05 Joseph Myers <joseph@codesourcery.com>
24515
24516 * manual/lang.texi (size_t): Note types to which size_t may be
24517 equivalent with the GNU C Library, but do not describe when
24518 differences between them are significant.
24519
30ee4ced
AJ
245202012-03-05 Andreas Jaeger <aj@suse.de>
24521
24522 * sysdeps/i386/fpu/libm-test-ulps: Update.
24523
b7cd39e8
JM
245242012-03-05 Joseph Myers <joseph@codesourcery.com>
24525
24526 [BZ #3976]
24527 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24528 (__ieee754_pow): Save and restore rounding mode and use
24529 round-to-nearest for main computations.
24530 * math/libm-test.inc (pow_test_tonearest): New function.
24531 (pow_test_towardzero): Likewise.
24532 (pow_test_downward): Likewise.
24533 (pow_test_upward): Likewise.
24534 (main): Call the new functions.
24535 * sysdeps/i386/fpu/libm-test-ulps: Update.
24536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24537
24538 [BZ #3976]
24539 * math/libm-test.inc (cosh_test_tonearest): New function.
24540 (cosh_test_towardzero): Likewise.
24541 (cosh_test_downward): Likewise.
24542 (cosh_test_upward): Likewise.
24543 (sinh_test_tonearest): Likewise.
24544 (sinh_test_towardzero): Likewise.
24545 (sinh_test_downward): Likewise.
24546 (sinh_test_upward): Likewise.
24547 (main): Call the new functions.
24548 * sysdeps/i386/fpu/libm-test-ulps: Update.
24549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24550
6c6a98c9
TV
245512012-03-05 Tom de Vries <tom@codesourcery.com>
24552
24553 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24554 default stack guard is set in last bytes.
24555 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24556
21bb2d2e 245572012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24558
21bb2d2e 24559 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24560
21bb2d2e
AJ
24561 [BZ #13656]
24562 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24563 possibly allocate from heap instead of stack.
24564 * stdio-common/bug-vfprintf-nargs.c: New file.
24565 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24566
c6922934
AS
245672012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24568
24569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24570
bc957d53
MP
245712012-03-03 Marek Polacek <polacek@redhat.com>
24572
24573 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24574 * math/math_private.h: Likewise.
24575 * stdlib/tst-strtod.c: Likewise.
24576 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24577 * sysdeps/x86_64/bits/atomic.h: Likewise.
24578
6358490d
DM
245792012-03-02 David S. Miller <davem@davemloft.net>
24580
24581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24585 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24586 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24587 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24588 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24589
01ae168d
RM
245902012-03-02 Roland McGrath <roland@hack.frob.com>
24591
d9a17c07
RM
24592 [BZ #13792]
24593 * manual/examples/README: New file, says the example source files
24594 can be used under GPL>=2.
24595 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24596 line containing just "*/".
24597 * manual/examples/add.c: Add copyright header (GPL>=2).
24598 * manual/examples/argp-ex1.c: Likewise.
24599 * manual/examples/argp-ex2.c: Likewise.
24600 * manual/examples/argp-ex3.c: Likewise.
24601 * manual/examples/argp-ex4.c: Likewise.
24602 * manual/examples/atexit.c: Likewise.
24603 * manual/examples/db.c: Likewise.
24604 * manual/examples/dir.c: Likewise.
24605 * manual/examples/dir2.c: Likewise.
24606 * manual/examples/execinfo.c: Likewise.
24607 * manual/examples/filecli.c: Likewise.
24608 * manual/examples/filesrv.c: Likewise.
24609 * manual/examples/fmtmsgexpl.c: Likewise.
24610 * manual/examples/genpass.c: Likewise.
24611 * manual/examples/inetcli.c: Likewise.
24612 * manual/examples/inetsrv.c: Likewise.
24613 * manual/examples/isockad.c: Likewise.
24614 * manual/examples/longopt.c: Likewise.
24615 * manual/examples/memopen.c: Likewise.
24616 * manual/examples/memstrm.c: Likewise.
24617 * manual/examples/mkfsock.c: Likewise.
24618 * manual/examples/mkisock.c: Likewise.
24619 * manual/examples/mygetpass.c: Likewise.
24620 * manual/examples/pipe.c: Likewise.
24621 * manual/examples/popen.c: Likewise.
24622 * manual/examples/rprintf.c: Likewise.
24623 * manual/examples/search.c: Likewise.
24624 * manual/examples/select.c: Likewise.
24625 * manual/examples/setjmp.c: Likewise.
24626 * manual/examples/sigh1.c: Likewise.
24627 * manual/examples/sigusr.c: Likewise.
24628 * manual/examples/stpcpy.c: Likewise.
24629 * manual/examples/strdupa.c: Likewise.
24630 * manual/examples/strftim.c: Likewise.
24631 * manual/examples/strncat.c: Likewise.
24632 * manual/examples/subopt.c: Likewise.
24633 * manual/examples/swapcontext.c: Likewise.
24634 * manual/examples/termios.c: Likewise.
24635 * manual/examples/testopt.c: Likewise.
24636 * manual/examples/testpass.c: Likewise.
24637 * manual/examples/timeval_subtract.c: Likewise.
24638
01ae168d
RM
24639 [BZ #13792]
24640 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24641 function to ...
24642 * manual/timeval_subtract.c.texi: ... here, new file.
24643
49efa33d
DM
246442012-03-02 David S. Miller <davem@davemloft.net>
24645
24646 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24647
28afd92d
JM
246482012-03-02 Joseph Myers <joseph@codesourcery.com>
24649
804360ed
JM
24650 [BZ #3976]
24651 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24652 (__sin): Save and restore rounding mode and use round-to-nearest
24653 for all computations.
24654 (__cos): Save and restore rounding mode and use round-to-nearest
24655 for all computations.
24656 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24657 <fenv.h>.
24658 (tan): Save and restore rounding mode and use round-to-nearest for
24659 all computations.
24660 * math/libm-test.inc (cos_test_tonearest): New function.
24661 (cos_test_towardzero): Likewise.
24662 (cos_test_downward): Likewise.
24663 (cos_test_upward): Likewise.
24664 (sin_test_tonearest): Likewise.
24665 (sin_test_towardzero): Likewise.
24666 (sin_test_downward): Likewise.
24667 (sin_test_upward): Likewise.
24668 (tan_test_tonearest): Likewise.
24669 (tan_test_towardzero): Likewise.
24670 (tan_test_downward): Likewise.
24671 (tan_test_upward): Likewise.
24672 (main): Call the new functions.
24673 * sysdeps/i386/fpu/libm-test-ulps: Update.
24674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24675
a6d06d7b
JM
24676 [BZ #10135]
24677 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24678 small n, then large n, before computing and testing k+n.
24679 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24680 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24681 Likewise.
24682 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24683 Likewise.
24684 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24685 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24686 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24687 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24688 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24689 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24690 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24691 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24692 * math/libm-test.inc (scalbn_test): Add more tests.
24693 (scalbln_test): Likewise.
24694
07e12bb3
JM
24695 * manual/filesys.texi (mode_t): Describe constraints on size and
24696 signedness, not exact equivalence to a particular type.
24697 (ino_t): Likewise.
24698 (ino64_t): Likewise.
24699 (dev_t): Likewise.
24700 (nlink_t): Likewise.
24701 (blkcnt_t): Likewise.
24702 (blkcnt64_t): Likewise.
24703 * manual/llio.texi (off_t): Likewise.
24704
28afd92d
JM
24705 [BZ #3976]
24706 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24707 (__ieee754_exp): Save and restore rounding mode and use
24708 round-to-nearest for all computations.
24709 * math/libm-test.inc (exp_test_tonearest): New function.
24710 (exp_test_towardzero): Likewise.
24711 (exp_test_downward): Likewise.
24712 (exp_test_upward): Likewise.
24713 (main): Call the new functions.
24714 * sysdeps/i386/fpu/libm-test-ulps: Update.
24715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24716
b1eeb65d
CD
247172012-03-01 Chris Demetriou <cgd@google.com>
24718
24719 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24720 have predictable order.
24721
53362a4b
DM
247222012-03-01 David S. Miller <davem@davemloft.net>
24723
3c969083
DM
24724 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24725
759707de
DM
24726 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24727 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24728 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24729 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24730
dfdb8ff2
DM
24731 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24732 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24733 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24735 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24736 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24737 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24738 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24739 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24740
ead89f96
DM
24741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24742
7f66bd07
DM
24743 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24744 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24745 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24746
53362a4b
DM
24747 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24748 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24749 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24750 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24751 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24752 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24753 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24754 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24755 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24756 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24757 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24758 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24759 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24760 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24761 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24762 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24763 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24764 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24765 * sysdeps/sparc/elf/configure: Regenerated.
24766
7b1902cb
JM
247672012-03-01 Joseph Myers <joseph@codesourcery.com>
24768
bec039bc
JM
24769 * configure.in (AS, LD): Require binutils 2.20 or later.
24770 * configure: Regenerated.
24771 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24772 as required minimum version.
24773 * INSTALL: Regenerated.
24774
7b1902cb
JM
24775 [BZ #2541]
24776 [BZ #4108]
24777 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24778 before squaring exponent.
24779 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24780 bottom long double and 27 bits of top long double before squaring
24781 exponent.
24782 * math/libm-test.inc (erfc_test): Add more tests.
24783 * sysdeps/i386/fpu/libm-test-ulps: Update.
24784 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24786
f775c276
KT
247872012-03-01 Kai Tietz <ktietz@redhat.com>
24788
24789 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24790 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24791 containing bit-fields.
24792 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24793 * soft-fp/single.h (_FP_UNION_S): Likewise.
24794 * soft-fp/double.h (_FP_UNION_D): Likewise.
24795
5b8a4d4a
JM
247962012-02-29 Joseph Myers <joseph@codesourcery.com>
24797
0bab47b6
JM
24798 [BZ #13786]
24799 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24800 not include ../strcmp.S.
24801 [USE_AS_STRNCASECMP_L]: Likewise.
24802 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24803 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24804 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24805 (__strncasecmp_l_ia32): Define as alias to
24806 __strncasecmp_l_nonascii.
24807
0fcad3e2
JM
24808 [BZ #5794]
24809 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24810 * sysdeps/i386/fpu/libm-test-ulps: Update.
24811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24812
5b8a4d4a
JM
24813 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24815
8fdceb2e
JL
248162012-02-29 Jeff Law <law@redhat.com>
24817
24818 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24819 out of bounds read.
24820
1f393a11
MP
248212012-02-29 Marek Polacek <polacek@redhat.com>
24822
24823 [BZ #13706]
24824 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24825 * elf/Makefile: Add rules to run tst-unused-dep.out.
24826
8847f037
DM
248272012-02-28 David S. Miller <davem@davemloft.net>
24828
24829 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24830 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24831 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24832 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24833 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24834 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24835
169d7f11
JM
248362012-02-29 Joseph Myers <joseph@codesourcery.com>
24837
24838 * math/libm-test.inc (llround_test): Move one test from
24839 lround_test. Use TEST_f_L in moved test.
24840 (lround_test): Move misplaced test to llround_test. Add testcase
24841 from bug 2561.
24842
39adf059
UD
248432012-02-28 Ulrich Drepper <drepper@gmail.com>
24844
24845 * sysdeps/x86_64/fpu/e_expf.S: New file.
24846 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24847
71b5d1c5
SB
248482012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24849
24850 [BZ #13637]
24851 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24852 of remain_len that may cause incomplete multi-byte character and
24853 false match.
24854 * posix/bug-regex33.c: New file.
24855 * posix/Makefile (tests): Add bug-regex33.
24856
1f77f049
JM
248572012-02-28 Joseph Myers <joseph@codesourcery.com>
24858
24859 * manual/macros.texi: New file.
24860 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24861 * manual/libc.texinfo: Include macros.texi.
24862 * manual/creatute.texi: Likewise.
24863 * manual/install.texi: Likewise.
24864 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24865 @glibcadj{} in references to the GNU C Library.
24866 * manual/charset.texi: Likewise.
24867 * manual/conf.texi: Likewise.
24868 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24869 when not using those macros.
24870 * manual/creature.texi: Likewise.
24871 * manual/crypt.texi: Likewise.
24872 * manual/errno.texi: Likewise.
24873 * manual/filesys.texi: Likewise.
24874 * manual/header.texi: Likewise.
24875 * manual/install.texi: Likewise.
24876 * manual/intro.texi: Likewise.
24877 * manual/io.texi: Likewise.
24878 * manual/job.texi: Likewise.
24879 * manual/lang.texi: Likewise.
24880 * manual/libc.texiinfo: Likewise.
24881 * manual/llio.texi: Likewise.
24882 * manual/locale.texi: Likewise.
24883 * manual/maint.texi: Likewise.
24884 * manual/math.texi: Likewise.
24885 * manual/memory.texi: Likewise.
24886 * manual/message.texi: Likewise.
24887 * manual/nss.texi: Likewise.
24888 * manual/pattern.texi: Likewise.
24889 * manual/process.texi: Likewise.
24890 * manual/resource.texi: Likewise.
24891 * manual/search.texi: Likewise.
24892 * manual/setjmp.texi: Likewise.
24893 * manual/signal.texi: Likewise.
24894 * manual/socket.texi: Likewise.
24895 * manual/startup.texi: Likewise.
24896 * manual/stdio.texi: Likewise.
24897 * manual/string.texi: Likewise.
24898 * manual/sysinfo.texi: Likewise.
24899 * manual/syslog.texi: Likewise.
24900 * manual/terminal.texi: Likewise.
24901 * manual/time.texi: Likewise.
24902 * manual/users.texi: Likewise.
24903 * INSTALL: Regenerated.
24904 * NOTES: Regenerated.
d40c5d54 24905 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24906
450bf206
AS
249072012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24908
24909 * include/dirent.h: Include <dirstream.h> before
24910 <dirent/dirent.h>.
24911
741a235b
DM
249122012-02-28 David S. Miller <davem@davemloft.net>
24913
24914 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24915 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24916 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24917 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24918
d6b5aa58
DM
249192012-02-27 David S. Miller <davem@davemloft.net>
24920
1aff59a3
DM
24921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24923 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24924 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24925
d6b5aa58
DM
24926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24927 frame pointer instead of stack pointer relative arg slot.
24928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24929 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24930 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24931
433f48bf
CD
249322012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24933
24934 [BZ #3992]
24935 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24936
d674b76d
DM
249372012-02-27 David S. Miller <davem@davemloft.net>
24938
24939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24943 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24944 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24945 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24946 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24947
0e7727f7
JM
249482012-02-27 Joseph Myers <joseph@codesourcery.com>
24949
24950 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24951 later. Allow versions 5-9.
43be4ca2 24952 * configure: Regenerated.
0e7727f7
JM
24953 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24954 required minimum version and 4.6 as recommended version. Do not
24955 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24956 * INSTALL: Regenerated.
0e7727f7 24957
a78bc654
DM
249582012-02-27 David S. Miller <davem@davemloft.net>
24959
428d5830
DM
24960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24964 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24965 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24966 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24967 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24968
a78bc654
DM
24969 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24970 manipulate bits before adding and subtracting TWO112[sx].
24971 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24972
4579f81c
RM
249732012-02-27 Roland McGrath <roland@hack.frob.com>
24974
36c8acb4
RM
24975 [BZ #13775]
24976 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24977 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24978 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24979 being in POSIX, because they are in 1003.1-2008.
24980
84ad622b
RM
24981 * rt/tst-aio.c: Include <fcntl.h>.
24982 * rt/tst-aio7.c: Likewise.
24983 * rt/tst-aio64.c: Likewise.
24984
4579f81c
RM
24985 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24986
abd923db
JM
249872012-02-27 Joseph Myers <joseph@codesourcery.com>
24988
24989 * manual/install.texi (--with-headers): Describe headers as
24990 interface headers, not private headers.
24991 (Specific advice for GNU/Linux systems): Describe use of headers
24992 from "make headers_install", not private headers from older
24993 kernels.
43be4ca2 24994 * INSTALL: Regenerated.
abd923db
JM
24995 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24996 Change to 2.6.19.
24997 * sysdeps/unix/sysv/linux/configure: Regenerated.
24998
6664049b
JM
24999 * manual/llio.texi (fclean): Remove documentation.
25000
bb8b6697
JM
25001 * manual/Makefile (libc-texi-generated): New variable. Include
25002 version.texi.
25003 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25004 $(libc-texi-generated), not duplicated list of files.
25005 (version.texi, stamp-version): New rules.
25006 (realclean): Remove $(libc-texi-generated), not individual files
25007 from that list. Do not remove dir-add.texinfo.
25008 * manual/libc.texinfo: Comment out uses of edition numbers and
25009 references to printed manual. Remove last-updated dates.
25010 (EDITION): Comment out.
25011 (ISBN): Likewise.
25012 (VERSION, UPDATED): Remove.
25013 (version.texi): Include.
25014
12e5c3b9
AS
250152012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25016
25017 * sysdeps/posix/spawni.c: Include <signal.h>.
25018 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25019 * sysdeps/pthread/aio_fsync.c: Likewise.
25020
4efeffc1 250212012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 25022
ba63ba08
UD
25023 * conform/Makefile (tests): Run only when not cross-compiling and
25024 when fast-check is not defined.
25025
d94a4670
UD
25026 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25027 * conform/data/limits.h-data: Fixes for POSIX2008.
25028 * conform/run-conformtest.sh: Run all tests.
25029 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25030 headers.
25031 * include/bits/dlfcn.h: Likewise.
25032 * include/langinfo.h: Likewise.
25033 * include/monetary.h: Likewise.
25034 * include/sys/poll.h: Likewise.
25035
25036 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25037 for __USE_GNU.
25038 * posix/spawn.h: Define __need_sigset_t.
25039 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25040 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25041 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25042 to get sigevent_t only.
25043 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25044 only for __USE_GNU.
25045 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25046 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25047 process_vm_writev only for __USE_GNU.
25048 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
25049
25050 * conform/Makefile: For now ignore errors from run-conformtest.
25051 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25052 POSIX to avoid namespace pollution. Don't prepend headers.
25053 * conform/data/aio.h-data: Fixes for POSIX testing.
25054 * conform/data/fcntl.h-data: Likewise.
25055 * conform/data/glob.h-data: Likewise.
25056 * conform/data/grp.h-data: Likewise.
25057 * conform/data/pthread.h-data: Likewise.
25058 * conform/data/pwd.h-data: Likewise.
25059 * conform/data/signal.h-data: Likewise.
25060 * conform/data/spawn.h-data: Likewise.
25061 * conform/data/stdio.h-data: Likewise.
25062 * conform/data/stdlib.h-data: Likewise.
25063 * conform/data/stropts.h-data: Likewise.
25064 * conform/data/sys/mman.h-data: Likewise.
25065 * conform/data/sys/stat.h-data: Likewise.
25066 * conform/data/sys/types.h-data: Likewise.
25067 * conform/data/sys/wait.h-data: Likewise.
25068 * conform/data/time.h-data: Likewise.
25069 * conform/data/unistd.h-data: Likewise.
25070 * conform/data/utime.h-data: Likewise.
25071
25072 * io/sys/stat.h: fchmod was always in POSIX.
25073 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25074 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25075 * rt/aio.h: Define __need_timespec before including <time.h>.
25076 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25077 struct. Add forward declaration of pthread_attr_t and use it in
25078 sigevent.
25079 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25080 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25081 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25082 always remove CLK_TCK definition.
25083
c20105c3
AS
250842012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25085
25086 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25087
7a270350
UD
250882012-02-25 Ulrich Drepper <drepper@gmail.com>
25089
31341567
UD
25090 * conform/run-conformtest.sh: New file.
25091 * conform/Makefile: Run run-conformtest for tests.
25092 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25093 support.
25094
25095 * conform/data/uchar.h-data: New file.
25096 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25097 * conform/data/arpa/inet.h-data: Likewise.
25098 * conform/data/assert.h-data: Likewise.
25099 * conform/data/complex.h-data: Likewise.
25100 * conform/data/cpio.h-data: Likewise.
25101 * conform/data/ctype.h-data: Likewise.
25102 * conform/data/dirent.h-data: Likewise.
25103 * conform/data/dlfcn.h-data: Likewise.
25104 * conform/data/errno.h-data: Likewise.
25105 * conform/data/fcntl.h-data: Likewise.
25106 * conform/data/float.h-data: Likewise.
25107 * conform/data/fmtmsg.h-data: Likewise.
25108 * conform/data/fnmatch.h-data: Likewise.
25109 * conform/data/ftw.h-data: Likewise.
25110 * conform/data/glob.h-data: Likewise.
25111 * conform/data/grp.h-data: Likewise.
25112 * conform/data/iconv.h-data: Likewise.
25113 * conform/data/inttypes.h-data: Likewise.
25114 * conform/data/langinfo.h-data: Likewise.
25115 * conform/data/libgen.h-data: Likewise.
25116 * conform/data/limits.h-data: Likewise.
25117 * conform/data/locale.h-data: Likewise.
25118 * conform/data/math.h-data: Likewise.
25119 * conform/data/monetary.h-data: Likewise.
25120 * conform/data/mqueue.h-data: Likewise.
25121 * conform/data/ndbm.h-data: Likewise.
25122 * conform/data/net/if.h-data: Likewise.
25123 * conform/data/netdb.h-data: Likewise.
25124 * conform/data/netinet/in.h-data: Likewise.
25125 * conform/data/nl_types.h-data: Likewise.
25126 * conform/data/poll.h-data: Likewise.
25127 * conform/data/pthread.h-data: Likewise.
25128 * conform/data/pwd.h-data: Likewise.
25129 * conform/data/regex.h-data: Likewise.
25130 * conform/data/sched.h-data: Likewise.
25131 * conform/data/search.h-data: Likewise.
25132 * conform/data/semaphore.h-data: Likewise.
25133 * conform/data/setjmp.h-data: Likewise.
25134 * conform/data/signal.h-data: Likewise.
25135 * conform/data/spawn.h-data: Likewise.
25136 * conform/data/stdarg.h-data: Likewise.
25137 * conform/data/stdio.h-data: Likewise.
25138 * conform/data/stdlib.h-data: Likewise.
25139 * conform/data/string.h-data: Likewise.
25140 * conform/data/strings.h-data: Likewise.
25141 * conform/data/stropts.h-data: Likewise.
25142 * conform/data/sys/ipc.h-data: Likewise.
25143 * conform/data/sys/mman.h-data: Likewise.
25144 * conform/data/sys/msg.h-data: Likewise.
25145 * conform/data/sys/resource.h-data: Likewise.
25146 * conform/data/sys/select.h-data: Likewise.
25147 * conform/data/sys/sem.h-data: Likewise.
25148 * conform/data/sys/shm.h-data: Likewise.
25149 * conform/data/sys/socket.h-data: Likewise.
25150 * conform/data/sys/stat.h-data: Likewise.
25151 * conform/data/sys/statvfs.h-data: Likewise.
25152 * conform/data/sys/time.h-data: Likewise.
25153 * conform/data/sys/timeb.h-data: Likewise.
25154 * conform/data/sys/times.h-data: Likewise.
25155 * conform/data/sys/types.h-data: Likewise.
25156 * conform/data/sys/uio.h-data: Likewise.
25157 * conform/data/sys/un.h-data: Likewise.
25158 * conform/data/sys/utsname.h-data: Likewise.
25159 * conform/data/sys/wait.h-data: Likewise.
25160 * conform/data/syslog.h-data: Likewise.
25161 * conform/data/tar.h-data: Likewise.
25162 * conform/data/termios.h-data: Likewise.
25163 * conform/data/utime.h-data: Likewise.
25164 * conform/data/utmpx.h-data: Likewise.
25165 * conform/data/varargs.h-data: Likewise.
25166 * conform/data/wchar.h-data: Likewise.
25167 * conform/data/wctype.h-data: Likewise.
25168 * conform/data/wordexp.h-data: Likewise.
25169
25170 * include/stropts.h: New file.
25171 * include/uchar.h: New file.
25172 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25173 * include/assert.h: Likewise.
25174 * include/ctype.h: Likewise.
25175 * include/dirent.h: Likewise.
25176 * include/dlfcn.h: Likewise.
25177 * include/fcntl.h: Likewise.
25178 * include/fnmatch.h: Likewise.
25179 * include/glob.h: Likewise.
25180 * include/grp.h: Likewise.
25181 * include/libio.h: Likewise.
25182 * include/locale.h: Likewise.
25183 * include/math.h: Likewise.
25184 * include/net/if.h: Likewise.
25185 * include/netdb.h: Likewise.
25186 * include/netinet/in.h: Likewise.
25187 * include/pthread.h: Likewise.
25188 * include/pwd.h: Likewise.
25189 * include/regex.h: Likewise.
25190 * include/sched.h: Likewise.
25191 * include/search.h: Likewise.
25192 * include/setjmp.h: Likewise.
25193 * include/signal.h: Likewise.
25194 * include/stdio.h: Likewise.
25195 * include/stdlib.h: Likewise.
25196 * include/string.h: Likewise.
25197 * include/sys/cdefs.h: Likewise.
25198 * include/sys/mman.h: Likewise.
25199 * include/sys/msg.h: Likewise.
25200 * include/sys/resource.h: Likewise.
25201 * include/sys/select.h: Likewise.
25202 * include/sys/socket.h: Likewise.
25203 * include/sys/stat.h: Likewise.
25204 * include/sys/statvfs.h: Likewise.
25205 * include/sys/time.h: Likewise.
25206 * include/sys/times.h: Likewise.
25207 * include/sys/uio.h: Likewise.
25208 * include/sys/utsname.h: Likewise.
25209 * include/sys/wait.h: Likewise.
25210 * include/termios.h: Likewise.
25211 * include/time.h: Likewise.
25212 * include/ulimit.h: Likewise.
25213 * include/unistd.h: Likewise.
25214 * include/utime.h: Likewise.
25215 * include/wchar.h: Likewise.
25216 * include/wctype.h: Likewise.
25217 * include/wordexp.h: Likewise.
25218
25219 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25220
7a270350
UD
25221 * time/time.h: TIME_UTC must be a macro.
25222 Make timespec_get available for ISO C11 only as well.
25223
7724defc
UD
252242012-02-24 Ulrich Drepper <drepper@gmail.com>
25225
25226 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25227 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25228
6b1d1d46
JM
252292012-02-24 Joseph Myers <joseph@codesourcery.com>
25230
25231 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 25232
0f8bbd69
JM
252332012-02-24 Joseph Myers <joseph@codesourcery.com>
25234
25235 * manual/texinfo.tex: Update to version 2012-01-19.16.
25236
66ab80bc
JM
252372012-02-24 Joseph Myers <joseph@codesourcery.com>
25238
25239 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25240
74981cc5
RM
252412012-02-24 Roland McGrath <roland@hack.frob.com>
25242
ee968201
RM
25243 [BZ #13738]
25244 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25245 * manual/fdl-1.3.texi: New file.
25246 * manual/fdl-1.1.texi: File removed.
25247
74981cc5
RM
25248 [BZ #13738]
25249 * manual/libc.texinfo (FDL_VERSION): New @set.
25250 Use it for mention of FDL in cover text.
25251 (Documentation License): Use it in @include file name.
25252
7bb764bc
JM
252532012-02-22 Joseph Myers <joseph@codesourcery.com>
25254 Roland McGrath <roland@hack.frob.com>
25255
25256 [BZ #5461]
25257 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25258 not LONG_LONG_MAX and LONG_LONG_MIN.
25259 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25260 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25261 name.
25262 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25263
6cbeae47
JM
252642012-02-22 Joseph Myers <joseph@codesourcery.com>
25265
25266 [BZ #2547]
25267 [BZ #11365]
25268 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25269 manipulate bits before adding and subtracting TWO23[sx].
25270 * math/libm-test.inc (nearbyint_test): Add more tests.
25271
fe45ce09
JM
252722012-02-22 Joseph Myers <joseph@codesourcery.com>
25273
25274 [BZ #2548]
25275 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25276 bits before adding and subtracting TWO23[sx].
25277 * math/libm-test.inc (rint_test): Add more tests.
25278 (rint_test_tonearest): Likewise.
25279 (rint_test_towardzero): Likewise.
25280 (rint_test_downward): Likewise.
25281 (rint_test_upward: Likewise.
25282
ff3b3d82
JM
252832012-02-22 Joseph Myers <joseph@codesourcery.com>
25284
25285 [BZ #10110]
25286 * include/stdc-predef.h: New file. Extracted from features.h.
25287 * include/features.h: Include stdc-predef.h.
25288 * Makefile (headers): Add stdc-predef.h.
25289 * CONFORMANCE (Compiler limitations): Update.
25290
ef0aab35
JM
252912012-02-22 Joseph Myers <joseph@codesourcery.com>
25292
25293 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25294
58639409
DM
252952012-02-21 David S. Miller <davem@davemloft.net>
25296
25297 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25298 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25299
c0e70b25
DM
253002012-02-20 David S. Miller <davem@davemloft.net>
25301
25302 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25303 using a normal save/restore sequence, rather than allocating a
25304 dummy stack frame just to store a frame pointer and restore.
25305 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25306
fb06851d
JM
253072012-02-21 Joseph Myers <joseph@codesourcery.com>
25308
25309 * manual/install.texi: Fix stray word in line-wrapped comment.
25310
7a8b71c3
DM
253112012-02-20 David S. Miller <davem@davemloft.net>
25312
d510c123
DM
25313 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25314 both binutils and gcc support GOTDATA.
25315
0722d7c2
DM
25316 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25317 "rd %pc" in the PIC register setup sequences.
25318
3d2b3019
DM
25319 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25320 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25321 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25322 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25323 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25324 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25325 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25326 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25327 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25328 (SYSCALL_ERROR_HANDLER): Likewise.
25329 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25330 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25332 (SYSCALL_ERROR_HANDLER): Likewise.
25333
c80098a9
DM
25334 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25335 (HAVE_GCC_GOTDATA): New.
25336 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25337 relocation support in both binutils and gcc.
25338 * sysdeps/sparc/elf/configure: Regenerate.
25339
3a2545a0
DM
25340 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25341 * sysdeps/sparc/sparc32/elf/configure: Delete.
25342 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25343 * sysdeps/sparc/sparc64/elf/configure: Delete.
25344 * sysdeps/sparc/elf/configure.in: New file.
25345 * sysdeps/sparc/elf/configure: Generate.
25346
7a8b71c3
DM
25347 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25348 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25349 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25350 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25351 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25352
f1e86fca
JM
253532012-02-21 Joseph Myers <joseph@codesourcery.com>
25354
25355 * manual/install.texi: Do not mention specific glibc version
25356 numbers.
25357 * manual/libc.texinfo (VERSION, UPDATED): Update.
25358 (@copying): Use @copyright{} and range of years.
25359
0e7dfaef
JM
253602012-02-21 Joseph Myers <joseph@codesourcery.com>
25361
25362 [BZ #13695]
25363 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25364 [crti.S not in sysdirs] (generated): Do not append.
25365 [crti.S not in sysdirs] (omit-deps): Likewise.
25366 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25367 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25368 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25369 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25370 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25371 Likewise.
25372 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25373 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25374 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25375 * csu/defs.awk: Remove file.
25376 * sysdeps/generic/initfini.c: Likewise.
25377 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25378 variable.
25379 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25380 Likewise.
25381
599af3ca
JM
253822012-02-20 Joseph Myers <joseph@codesourcery.com>
25383
25384 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25385 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25386 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25387 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25388 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25389 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25390 <bits/epoll.h>.
25391 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25392 (__EPOLL_PACKED): Define to empty if not defined by
25393 <bits/epoll.h>.
25394 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25395 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25396 bits/epoll.h.
25397
0e499750
JM
253982012-02-20 Joseph Myers <joseph@codesourcery.com>
25399
25400 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25401 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25402 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25403 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25404 <bits/timerfd.h>.
25405 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25407 bits/timerfd.h.
25408
5ad91f6e
JM
254092012-02-20 Joseph Myers <joseph@codesourcery.com>
25410
25411 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25412 in C locale.
25413 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25414 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25415 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25417
06b99b02
AJ
254182012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25419
25420 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25421 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25422
7638c0fd
AS
254232012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25424
25425 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25426 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25427 defined.
25428 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25429 Likewise.
25430 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25431 entry for 2.16.
25432
92221550
AJ
254332012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25434
25435 * math/w_acos.c: Use non-signaling floating-point comparisons.
25436 * math/w_acosf.c: Likewise.
25437 * math/w_acosh.c: Likewise.
25438 * math/w_acoshf.c: Likewise.
25439 * math/w_acoshl.c: Likewise.
25440 * math/w_acosl.c: Likewise.
25441 * math/w_asin.c: Likewise.
25442 * math/w_asinf.c: Likewise.
25443 * math/w_asinl.c: Likewise.
25444 * math/w_atanh.c: Likewise.
25445 * math/w_atanhf.c: Likewise.
25446 * math/w_atanhl.c: Likewise.
25447 * math/w_exp2.c: Likewise.
25448 * math/w_exp2f.c: Likewise.
25449 * math/w_exp2l.c: Likewise.
25450 * math/w_j0.c: Likewise.
25451 * math/w_j0f.c: Likewise.
25452 * math/w_j0l.c: Likewise.
25453 * math/w_j1.c: Likewise.
25454 * math/w_j1f.c: Likewise.
25455 * math/w_j1l.c: Likewise.
25456 * math/w_jn.c: Likewise.
25457 * math/w_jnf.c: Likewise.
25458 * math/w_log.c: Likewise.
25459 * math/w_log10.c: Likewise.
25460 * math/w_log10f.c: Likewise.
25461 * math/w_log10l.c: Likewise.
25462 * math/w_log2.c: Likewise.
25463 * math/w_log2f.c: Likewise.
25464 * math/w_log2l.c: Likewise.
25465 * math/w_logf.c: Likewise.
25466 * math/w_logl.c: Likewise.
25467 * math/w_sqrt.c: Likewise.
25468 * math/w_sqrtf.c: Likewise.
25469 * math/w_sqrtl.c: Likewise.
25470 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25471 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25472 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25473 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25474 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25475
ebaf36eb
JM
254762012-02-19 Joseph Myers <joseph@codesourcery.com>
25477
25478 [BZ #9739]
25479 * manual/string.texi (strnlen): Use correct parameter name in
25480 equivalent expression.
25481
71c254a6
JM
254822012-02-19 Joseph Myers <joseph@codesourcery.com>
25483
25484 [BZ #11174]
25485 * manual/users.texi (seteuid): Consistently use neweuid for
25486 argument name.
25487
16d2c631
JM
254882012-02-19 Joseph Myers <joseph@codesourcery.com>
25489
25490 [BZ #13704]
25491 * manual/nss.texi (Services in the NSS configuration): Correct
25492 list of services in example configuration file.
25493
cd837b09
NB
254942012-02-19 Nick Bowler <nbowler@draconx.ca>
25495
25496 [BZ #11322]
25497 * manual/arith.texi: Remove statements about negative zero
25498 behaving identically to zero.
25499
02c4bbad
JM
255002012-02-18 Joseph Myers <joseph@codesourcery.com>
25501
25502 [BZ #5993]
25503 * manual/install.texi: Do not document upgrading from libc5.
25504
366842e7
JM
255052012-02-18 Joseph Myers <joseph@codesourcery.com>
25506
25507 [BZ #4596]
25508 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25509
dd54084d
DM
255102012-02-18 David S. Miller <davem@davemloft.net>
25511
25512 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25513 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25514 %o7 across the call.
25515 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25516 instead.
25517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25518 SETUP_PIC_REG_LEAF.
25519 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25520 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25521 * sysdeps/sparc/crtn.S: Likewise.
25522
2bcc53a3
UD
255232012-02-17 Ulrich Drepper <drepper@gmail.com>
25524
25525 * aout/Makefile: Remove.
25526
09c093b5
RK
255272012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25528
25529 [BZ #13058]
25530 * manual/examples/argp-ex1.c (main): Format definition in GNU
25531 style.
25532 * manual/examples/argp-ex2.c (main): Likewise.
25533 * manual/examples/argp-ex3.c (main): Likewise.
25534 * manual/examples/argp-ex4.c (main): Likewise.
25535 * manual/examples/longopt.c (main): Use new-style prototype
25536 definition.
25537 * manual/examples/strncat.c (main): Specify return type and use
25538 (void) for arguments.
25539 * manual/examples/subopt.c (main): Use char **argv argument.
25540
2ee633a2
JM
255412012-02-17 Joseph Myers <joseph@codesourcery.com>
25542
25543 [BZ #5077]
25544 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25545 rounding modes.
25546
0520adde
FB
255472012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25548
25549 [BZ #6907]
25550 * manual/string.texi (strchr): Change when strchrnul is
25551 recommended.
25552
3f4081cd
DGM
255532012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25554
25555 [BZ #174]
25556 * manual/locale.texi (setlocale): Document LOCPATH.
25557
d1b10e78
JM
255582012-02-17 Joseph Myers <joseph@codesourcery.com>
25559
25560 [BZ #10210]
25561 * manual/process.texi (execle): Move @dots{} before last argument.
25562
79c6869c
PB
255632012-02-17 Paul Bolle <pebolle@tiscali.nl>
25564
25565 [BZ #12047]
25566 * manual/charset.texi (Generic Charset Conversion): Fix typo
25567 (LC_TYPE -> LC_CTYPE).
25568
cc6e48bc
NB
255692012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25570
25571 [BZ #5805]
25572 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25573 (scalbnf): Likewise.
25574 (scalbnl): Likewise.
25575 (scalbln): Likewise.
25576 (scalblnf): Likewise.
25577 (scalblnl): Likewise.
25578 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25579 (vwarnx): Likewise.
25580 (verr): Likewise.
25581 (verrx): Likewise.
25582 * manual/filesys.texi (telldir): Use braces around return type.
25583 * manual/llio.texi (mmap): Add space after comma.
25584 (mmap64): Likewise.
25585 * manual/math.texi (jn): Use @var{} on parameter names.
25586 (jnf): Likewise.
25587 (jnl): Likewise.
25588 (yn): Likewise.
25589 (ynf): Likewise.
25590 (ynl): Likewise.
25591 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25592 line.
25593 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25594 "...".
25595 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25596 (sched_get_priority_max): Likewise.
25597 * manual/signal.texi (sigvec): Add space after comma.
25598 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25599 names.
25600 (if_indextoname): Likewise.
25601 (if_freenameindex): Likewise.
25602 (sendto): Use ',' instead of '.' in prototype.
25603 * manual/startup.texi (syscall): Use @dots{} instead of literal
25604 "...".
25605 * manual/stdio.texi (__fpending): Separate initial words of
25606 paragraph from @deftypefun line.
25607 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25608 "...".
25609 (vsyslog): Use @var{} on parameter names.
25610 * manual/terminal.texi (stty): Use @var{} on parameter names.
25611 * manual/users.texi (getutmp): Use @var{} on parameter names.
25612 (getutmpx): Likewise.
25613
5b23062f
JM
256142012-02-17 Joseph Myers <joseph@codesourcery.com>
25615
25616 [BZ #6884]
25617 * manual/stdio.texi (fopen): Fix typos in description of
25618 ",ccs=STRING".
25619
8dee4833
AJ
256202012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25621
25622 [BZ #4026]
25623 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25624 get clock_id definition.
25625
9078ce93
TS
256262012-02-17 Thomas Schwinge <thomas@schwinge.name>
25627
25628 [BZ #4822]
25629 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25630 (madvise): Cast every argument to void on its own.
25631
3835c55f
JM
256322012-02-17 Joseph Myers <joseph@codesourcery.com>
25633
25634 [BZ #9902]
25635 * manual/startup.texi (Exit Status): Fix typo.
25636
35c47e37
JM
256372012-02-17 Joseph Myers <joseph@codesourcery.com>
25638
25639 [BZ #10140]
25640 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25641 * manual/examples/argp-ex2.c: Likewise.
25642 * manual/examples/argp-ex3.c: Likewise.
25643
e3b69ca7
RH
256442012-02-16 Richard Henderson <rth@redhat.com>
25645
25646 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25647 * sysdeps/s390/s390-32/initfini.c: Remove.
25648 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25649 * sysdeps/s390/s390-64/initfini.c: Remove.
25650
df83af67
KK
256512012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25652
25653 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25654 compiler output for sysdeps/generic/initfini.c.
25655 * sysdeps/sh/elf/initfini.c: Remove file.
25656
f63f3380
DM
256572012-02-16 David S. Miller <davem@davemloft.net>
25658
fb59b3a4
DM
25659 [BZ #11494]
25660 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25661
f63f3380
DM
25662 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25663 * sysdeps/sparc/crti.S: New file.
25664 * sysdeps/sparc/crtn.S: New file.
25665 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25666 * sysdeps/sparc/sparc64/Makefile: Likewise.
25667
df6a4a4a
MF
256682012-02-15 Mike Frysinger <vapier@gentoo.org>
25669
6dd8f3dc 25670 [BZ #3335]
df6a4a4a
MF
25671 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25672
1cac7236
RM
256732012-02-15 Roland McGrath <roland@hack.frob.com>
25674
d2c736f8
RM
25675 [BZ #4822]
25676 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25677
1cac7236
RM
25678 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25679 (write, read, close): Likewise.
25680 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25681
8e475601
JM
256822012-02-15 Joseph Myers <joseph@codesourcery.com>
25683
25684 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25685 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25686 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25687 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25688 <bits/signalfd.h>.
25689 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25691 bits/signalfd.h.
25692
ed656b40
MP
256932012-02-14 Marek Polacek <polacek@redhat.com>
25694
25695 * sysdeps/x86_64/crti.S: New file.
25696 * sysdeps/x86_64/crtn.S: New file.
25697 * sysdeps/x86_64/elf/initfini.c: Remove file.
25698
2a979d3a
JM
256992012-02-13 Joseph Myers <joseph@codesourcery.com>
25700
25701 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25702 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25703 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25704 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25705 <bits/inotify.h>.
25706 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25707 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25708 bits/inotify.h.
25709
2a418ac3
JM
257102012-02-13 Joseph Myers <joseph@codesourcery.com>
25711
25712 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25713 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25714 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25715 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25716 <bits/eventfd.h>.
25717 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25719 bits/eventfd.h.
25720
fb779be7
TS
257212012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25722
e19e83c5
RM
25723 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25724 __feraiseexcept instead of feraiseexcept.
7c35ffed 25725
fb779be7
TS
25726 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25727 nanosleep invocations.
25728 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25729 strings, and add error checking for a nanosleep invocations.
25730
59ba27a6
PE
257312012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25732
25733 Replace FSF snail mail address with URLs, as per GNU coding standards.
25734 Most of the snail mail addresses were wrong anyway, and omitting
25735 them makes the source code easier to maintain. Almost all of the
25736 changes are to license notices and to locale LC_IDENTIFICATION
25737 addresses, except for this one:
25738 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25739 not its snail mail address.
25740
57b957eb
RH
257412012-02-09 Richard Henderson <rth@twiddle.net>
25742
af850b1c
RH
25743 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25744 of kernel-features.h.
25745
57b957eb
RH
25746 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25747
6b73181a
MP
257482012-02-08 Marek Polacek <polacek@redhat.com>
25749
25750 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25751 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25752 * sysdeps/gnu/_G_config.h: Likewise.
25753 * sysdeps/generic/_G_config.h: Likewise.
25754
26ecc33a
AS
257552012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25756
6c6dbc63
AS
25757 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25758 tests.
25759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25760
e216c012
AS
25761 * sysdeps/powerpc/powerpc32/crti.S: New file.
25762 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25763 * sysdeps/powerpc/powerpc64/crti.S: New file.
25764 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25765
26ecc33a
AS
25766 * Makeconfig (have-initfini): Don't set.
25767 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25768 * configure.in (nopic_initfini): Don't substitute.
25769 * config.h.in (HAVE_INITFINI): Don't #undef.
25770 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25771 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25772
3add8e13
JM
257732012-02-08 Joseph Myers <joseph@codesourcery.com>
25774
25775 Support crti.S and crtn.S provided directly by architectures.
25776 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25777 [crti.S in sysdirs] (omit-deps): Likewise.
25778 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25779 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25780 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25781 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25782 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25783 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25784 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25785 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25786 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25787 compiler output for sysdeps/generic/initfini.c.
25788 * sysdeps/i386/elf/Makefile: Remove file.
25789 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25790
a22f12b4
MP
257912012-02-07 Marek Polacek <polacek@redhat.com>
25792
25793 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25794 * sysdeps/gnu/_G_config.h: Likewise.
25795 * sysdeps/mach/hurd/_G_config.h: Likewise.
25796
148cf100
MP
257972012-02-07 Marek Polacek <polacek@redhat.com>
25798
25799 * math/Makefile (tests): Add tst-CMPLX2.
25800 * math/tst-CMPLX2.c: New file.
25801
cfdc0dd7
AS
258022012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25803
84ba42c4
AS
25804 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25805
cfdc0dd7
AS
25806 * math/libm-test.inc (jn_test): Add missing L suffix.
25807
622c86f4
MP
258082012-02-06 Marek Polacek <polacek@redhat.com>
25809
25810 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25811 * sysdeps/i386/fpu/e_powf.S: Likewise.
25812 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25813 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25814 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25815 * sysdeps/i386/fpu/e_pow.S: Likewise.
25816 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25817 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25818 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25819 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25820 * sysdeps/i386/fpu/e_log2.S: Likewise.
25821 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25822 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25823 * sysdeps/i386/fpu/e_powl.S: Likewise.
25824 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25825 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25826 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25827 * sysdeps/i386/fpu/e_logl.S: Likewise.
25828 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25829 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25830 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25831 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25832 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25833 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25834 * sysdeps/i386/fpu/e_log.S: Likewise.
25835 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25836 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25837 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25838 * sysdeps/i386/fpu/e_logf.S: Likewise.
25839 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25840 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25841 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25842 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25843 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25844 * sysdeps/i386/fpu/e_log10.S: Likewise.
25845 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25846 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25847 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25848 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25849 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25850 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25851 * sysdeps/i386/asm-syntax.h: Likewise.
25852 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25853 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25854 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25855 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25856 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25857 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25858 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25859 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25860 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25861 * sysdeps/powerpc/sysdep.h: Likewise.
25862 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25863 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25864
d4a54ac6
JM
258652012-02-06 Joseph Myers <joseph@codesourcery.com>
25866
25867 [BZ #411]
25868 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25869
314054ea
JM
258702012-02-06 Joseph Myers <joseph@codesourcery.com>
25871
25872 * sysdeps/i386/sysdep.h: Include <features.h>.
25873 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25874 version.
25875
d8e0ca50
JM
258762012-02-05 Joseph Myers <joseph@codesourcery.com>
25877
25878 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25879 Define.
25880 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25881 LOAD_PIC_REG_STR.
25882
b1da7dd9
JM
258832012-02-03 Joseph Myers <joseph@codesourcery.com>
25884
25885 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25886 (SETUP_PIC_REG): Use GET_PC_THUNK.
25887 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25888 macro.
25889
9a1d9254
JM
258902012-02-03 Joseph Myers <joseph@codesourcery.com>
25891
25892 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25893 for non-PIC compilation.
25894 (SETUP_PIC_REG): Add .p2align directive.
25895 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25896 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25897 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25898 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25899 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25900 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25901 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25902 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25903 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25904 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25905 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25906 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25907 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25908 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25909 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25910 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25911 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25912 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25913 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25914 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25915 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25916 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25917 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25918 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25919 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25920 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25921 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25922 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25923 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25924 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25925 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25926 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25927 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25928 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25929 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25930 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25931 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25932 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25933 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25934 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25935 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25936
65dc3b75
JM
259372012-02-03 Joseph Myers <joseph@codesourcery.com>
25938
25939 * math/tst-CMPLX.c: Include <stdio.h>.
25940
d55bf177
JM
259412012-01-31 Joseph Myers <joseph@codesourcery.com>
25942
25943 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25944 float.
25945 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25946 * sysdeps/sparc/bits/mathdef.h: Likewise.
25947
69db4f8f
MP
259482012-01-31 Marek Polacek <polacek@redhat.com>
25949
25950 * libio/libio.h: Don't define _PARAMS.
25951 * locale/programs/config.h: Don't define PARAMS.
25952 * stdlib/strtol_l.c: Likewise.
25953 (__strtol_l): Remove PARAMS from the prototype.
25954
41b81892
UD
259552012-01-31 Ulrich Drepper <drepper@gmail.com>
25956
3b49edc0
UD
25957 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25958 names. Just use the correct names. Remove unnecessary wrapper
25959 functions.
25960 * malloc/arena.c: Likewise.
25961 * malloc/hooks.c: Likewise.
25962
41b81892
UD
25963 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25964 ARENA_TEST says not to. Simplify test for creation of a new arena.
25965 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25966
27a25b6e
UD
259672012-01-30 Ulrich Drepper <drepper@gmail.com>
25968
25969 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25970 into tail calls.
25971 (update_get_addr): New function.
25972 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25973 GET_ADDR_MODULE parameter.
25974
c8a89e7d
JM
259752012-01-30 Joseph Myers <joseph@codesourcery.com>
25976
25977 * crypt/cert.c: Remove __STDC__ conditionals.
25978 * crypt/crypt-entry.c: Likewise.
25979 * crypt/crypt_util.c: Likewise.
25980 * libio/filedoalloc.c: Likewise.
25981 * libio/fileops.c: Likewise.
25982 * libio/genops.c: Likewise.
25983 * libio/iofclose.c: Likewise.
25984 * libio/iofdopen.c: Likewise.
25985 * libio/iofopen.c: Likewise.
25986 * libio/iofopen64.c: Likewise.
25987 * libio/iogetdelim.c: Likewise.
25988 * libio/iopopen.c: Likewise.
25989 * libio/obprintf.c: Likewise.
25990 * libio/oldfileops.c: Likewise.
25991 * libio/oldiofclose.c: Likewise.
25992 * libio/oldiofdopen.c: Likewise.
25993 * libio/oldiofopen.c: Likewise.
25994 * libio/oldiopopen.c: Likewise.
25995 * libio/wfiledoalloc.c: Likewise.
25996 * libio/wgenops.c: Likewise.
25997 * locale/programs/xmalloc.c: Likewise.
25998 * misc/syslog.c: Likewise.
25999 * stdio-common/xbug.c: Likewise.
26000 * string/memchr.c: Likewise.
26001 * string/memcmp.c: Likewise.
26002 * string/memrchr.c: Likewise.
26003 * string/rawmemchr.c: Likewise.
26004 * sysdeps/posix/getcwd.c: Likewise.
26005 * time/strftime_l.c: Likewise.
26006
3b100462
JM
260072012-01-30 Joseph Myers <joseph@codesourcery.com>
26008
26009 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
26010 * config.make.in (config-cflags-sse2avx): Define.
26011 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26012 Fix typo.
26013
607998af
CM
260142012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26015
26016 * scripts/config.guess: Update from upstream config git repository.
26017 * scripts/config.sub: Likewise.
26018
3601428f
CM
260192012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26020
3ac8b282
CM
26021 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26022 (EM_NUM): Update.
26023 (R_TILEPRO_*, R_TILEGX_*): New macros.
26024
e034841e
CM
26025 * scripts/firstversions.awk: Fix bug in version range handling.
26026
540d7568
CM
26027 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26028
3601428f
CM
26029 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26030
463de862
CM
26031 * include/sys/epoll.h: New file.
26032 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26033 libc_hidden_def.
26034
73139a76
UD
260352012-01-28 Ulrich Drepper <drepper@gmail.com>
26036
96bc5b45
UD
26037 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26038 Avoid unnecessary __WORDSIZE == 64 test.
26039 (fmaxf): Use VEX format if possible.
26040 (fmax): Likewise.
26041 (fminf): Likewise.
26042 (fmin): Likewise.
26043
56f6f6a2
UD
26044 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26045 * math/math_private.h: Remove libc_fegetround* and
26046 libc_fesetround*.
26047 * sysdeps/i386/configure.in: Check for -msse2avx.
26048 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26049 also if SSE2AVX is defined.
26050 Remove libc_fegetround* and libc_fesetround*.
26051 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26052 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26053 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26054 of HAS_YMM_USABLE.
26055 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26056 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26057 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26058 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26059 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26060
73139a76
UD
26061 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26062
d73f93a4
AZ
260632012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26064
26065 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26066 size is not set.
26067 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26068
6ee65ed6
UD
260692012-01-27 Ulrich Drepper <drepper@gmail.com>
26070
26071 [BZ #13618]
26072 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26073 relocation.
26074 * Makeconfig (libm): Define.
26075 * elf/Makefile: Add rules to build and run tst-relsort1.
26076 * elf/tst-relsort1.c: New file.
26077 * elf/tst-relsort1mod1.c: New file.
26078 * elf/tst-relsort1mod2.c: New file.
26079
8db21882
JM
260802012-01-27 Joseph Myers <joseph@codesourcery.com>
26081
26082 * math/s_ldexp.c: Remove __STDC__ conditionals.
26083 * math/s_ldexpf.c: Likewise.
26084 * math/s_ldexpl.c: Likewise.
26085 * math/s_nextafter.c: Likewise.
26086 * math/s_nexttowardf.c: Likewise.
26087 * math/s_significand.c: Likewise.
26088 * math/s_significandf.c: Likewise.
26089 * math/s_significandl.c: Likewise.
26090 * math/w_jnl.c: Likewise.
26091 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26092 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26093 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26094 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26095 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26096 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26097 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26098 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26099 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26100 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26101 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26102 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26103 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26104 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26105 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26106 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26107 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26108 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26109 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26110 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26111 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26112 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26113 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26114 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26115 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26116 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26117 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26118 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26119 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26120 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26121 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26122 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26123 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26124 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26125 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26126 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26127 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26128 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26129 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26130 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26131 * sysdeps/ieee754/k_standard.c: Likewise.
26132 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26133 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26134 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26135 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26136 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26137 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26138 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26139 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26140 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26141 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26142 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26143 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26144 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26145 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26146 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26147 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26148 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26149 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26150 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26151 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26152 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26153 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26154 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26155 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26156 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26157 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26158 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26159 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26161 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26162 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26163 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26164 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26165 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26166 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26167 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26168 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26169 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26170 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26171 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26172 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26173 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26174 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26175 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26176 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26177 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26178 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26179 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26180 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26181 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26182 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26183 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26184 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26185 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26186 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26187 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26188 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26189 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26190 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26191 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26192 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26193 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26194 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26195 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26196 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26197 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26198 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26199 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26200 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26201 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26202 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26203 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26204 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26205 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26206 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26207 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26208 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26209 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26210 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26211 * sysdeps/ieee754/s_matherr.c: Likewise.
26212 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26213 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26214 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26215 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26216
965a54a4
JM
262172012-01-26 Joseph Myers <joseph@codesourcery.com>
26218
26219 * crypt/md5.h: Remove __STDC__ conditionals.
26220 * libio/libioP.h: Likewise.
26221 * locale/programs/config.h: Likewise.
26222 * sysdeps/generic/sysdep.h: Likewise.
26223 * sysdeps/i386/asm-syntax.h: Likewise.
26224 * sysdeps/s390/asm-syntax.h: Likewise.
26225 * sysdeps/unix/sysdep.h: Likewise.
26226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26228
7071ad79
JM
262292012-01-26 Joseph Myers <joseph@codesourcery.com>
26230
26231 * libio/libio.h: Remove __STDC__ conditionals.
26232 * malloc/obstack.h: Likewise.
26233 * math/complex.h: Likewise.
26234 * math/math.h: Likewise.
26235 * sysdeps/generic/_G_config.h: Likewise.
26236 * sysdeps/gnu/_G_config.h: Likewise.
26237 * sysdeps/mach/hurd/_G_config.h: Likewise.
26238 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26239 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26240 * sysdeps/sparc/bits/mathdef.h: Likewise.
26241
afc5ed09
UD
262422012-01-26 Ulrich Drepper <drepper@gmail.com>
26243
26244 [BZ #13583]
26245 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 26246 Clean up HAS_* macros.
afc5ed09 26247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
26248 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26249 possible.
26250 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26251 HAS_AVX.
26252 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26253 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26254 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26255 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26256 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26257
bdb6de1d
JM
262582012-01-25 Joseph Myers <joseph@codesourcery.com>
26259
26260 * elf/tst-unique3.cc (gets): Remove declaration.
26261 * elf/tst-unique3lib.cc (gets): Likewise.
26262 * elf/tst-unique3lib2.cc (gets): Likewise.
26263 * elf/tst-unique4.cc (gets): Likewise.
26264
b15549e6
UD
262652012-01-24 Ulrich Drepper <drepper@gmail.com>
26266
26267 * include/stdio.h: Add C++ protection. Add gets declarations and
26268 definitions.
26269 * debug/tst-chk1.c: Don't declare gets here.
26270 * stdio-common/tst-gets.c: Likewise.
26271
a037381f
JM
262722012-01-24 Joseph Myers <joseph@codesourcery.com>
26273
26274 * posix/glob: Remove directory.
26275
f1d4aa75
JM
262762012-01-24 Joseph Myers <joseph@codesourcery.com>
26277
26278 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26279
81c0c964
PT
262802012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26281
26282 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26283 of the non-standard EPFNOSUPPORT.
26284
0ea698ae
ST
262852011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26286
26287 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26288 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26289 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26290
d220b117
UD
262912012-01-21 Ulrich Drepper <drepper@gmail.com>
26292
26293 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26294
3e1aa84e
UD
262952012-01-20 Ulrich Drepper <drepper@gmail.com>
26296
26297 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26298 transient errors.
26299 * nscd/grpcache.c (cache_addgr): Likewise.
26300 * nscd/hstcache.c (cache_addhst): Likewise.
26301 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26302 * nscd/pwdcache.c (cache_addpw): Likewise.
26303 * nscd/servicescache.c (cache_addserv): Likewise.
26304
400aa020
UD
263052012-01-16 Ulrich Drepper <drepper@gmail.com>
26306
d77e7869
UD
26307 * malloc/malloc.c: Various cleanups.
26308 * malloc/hooks.c: Likewise.
26309
400aa020
UD
26310 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26311 * stdlib/bug-fmtmsg1.c: New file.
26312
26313 * stdlib/fmtmsg.c (init): Add missing unlock.
26314 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26315
e0a309cf
MP
263162012-01-12 Marek Polacek <polacek@redhat.com>
26317
26318 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26319 and _GNU_SOURCE.
26320
929d11c7
WS
263212012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26322
26323 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26324 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26325 macro to ensure uniqueness of label name.
26326 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26327 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26328
41d0e869
UD
263292012-01-11 Ulrich Drepper <drepper@gmail.com>
26330
0cc5ed3b
UD
26331 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26332
41d0e869
UD
26333 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26334 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26335 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26336 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26337
a47a831a
UD
263382012-01-10 Ulrich Drepper <drepper@gmail.com>
26339
daa891c0
UD
26340 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26341
26342 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26343 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26344 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26345
e58ef0f2
UD
26346 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26347
a47a831a 26348 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26349 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26350 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26351 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26352
26353 * math/bits/math-finite.h: Add ldexp support.
26354
a0bfc9c7
MP
263552012-01-10 Marek Polacek <polacek@redhat.com>
26356
26357 * locale/programs/localedef.h (show_archive_content): Add noreturn
26358 attribute.
26359
d6e97a1d
UD
263602012-01-09 Ulrich Drepper <drepper@gmail.com>
26361
26362 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26363
d5835c26
UD
263642012-01-08 Ulrich Drepper <drepper@gmail.com>
26365
e5f484c6
UD
26366 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26367
d5835c26
UD
26368 * io/Makefile (headers): Add bits/poll2.h.
26369
d1f741e9
WS
263702011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26371
26372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26373 typo #include statement.
26374
ec09c1c4
UD
263752012-01-08 Ulrich Drepper <drepper@gmail.com>
26376
26377 * include/sys/cdefs.h: Define __attribute_alloc_size.
26378 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26379 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26380 * elf/pldd.c: Likewise.
26381 * iconv/iconv_charmap.c: Likewise.
26382 * iconv/iconvconfig.c: Likewise.
26383 * iconv/strtab.c: Likewise.
26384 * locale/programs/locale.c: Likewise.
26385 * locale/programs/localedef.h: Likewise.
26386 * locale/programs/simple-hash.c: Likewise.
26387 * nscd/nscd.h: Likewise.
26388 * nss/makedb.c: Likewise.
26389 * sysdeps/generic/ldconfig.h: Likewise.
26390 * locale/programs/localedef.c: Remove xmalloc prototype.
26391 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26392
20b38e03
PP
263932012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26394
26395 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26396 appropriate.
26397
a0da5fe1
UD
263982012-01-08 Ulrich Drepper <drepper@gmail.com>
26399
1d5a644a 26400 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26401 * math/tst-CMPLX.c: New file.
1d5a644a 26402
8784a6db
UD
26403 * math/complex.h (CMPLXL): Fix typo.
26404
d9a216c0
UD
26405 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26406 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26407 GLIBC_2.16.
26408 * debug/tst-chk1.c: Add poll and ppoll tests.
26409 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26410 * include/sys/poll.h: Add hidden proto for ppoll.
26411 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26412 * sysdeps/mach/hurd/ppoll.c: Likewise.
26413 * io/ppoll.c: Likewise.
26414 * debug/poll_chk.c: New file.
26415 * debug/ppoll_chk.c: New file.
26416 * include/bits/poll2.h: New file.
26417 * io/bits/poll2.h: New file.
26418
ac097f5c
UD
26419 [BZ #1350]
26420 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26421
2119dcfa
UD
26422 * configure.in: static is always set to yes. Remove.
26423 * config.make.in: Don't set build-static.
26424 * Makeconfig: Remove use of build-static.
26425 * dlfcn/Makefile: Likewise.
26426 * elf/Makefile: Likewise.
26427 * math/Makefile: Likewise.
26428 * misc/Makefile: Likewise.
26429 * nptl/Makefile: Likewise.
26430 * sysdeps/mach/hurd/Makefile: Likewise.
26431
121766a9
UD
26432 * configure.in: PWD_P is not used anymore.
26433 * config.make.in: Remove PWD_P entry.
26434
51a1d39c 26435 * configure.in: Remove last remnants of RANLIB.
8720d066 26436 No need to check for signed size_t anymore.
215f4bdc
UD
26437 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26438 and IA-64.
3857022a 26439 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26440 * aclocal.m4: Likewise.
26441
d3ed7225
UD
26442 * wcsmbs/mbrtoc16.c: Implement using towc function.
26443 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26444 * wcsmbs/wcsmbsload.c: Likewise.
26445 * iconv/gconv_simple.c: Likewise.
26446 * iconv/gconv_int.h: Likewise.
26447 * iconv/gconv_builtin.h: Likewise.
26448 * iconv/iconv_prog.c: Remove CHAR16 handling.
26449
26450 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26451
26452 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26453
a0da5fe1
UD
26454 * configure.in: Remove --with-elf and --enable-bounded options.
26455 Dont set base_machine for ia64. More non-ELF conditions removed.
26456 Remove testing and setting of leading underscore information.
26457 * config.make.in (build-bounded): Set to no.
26458 * config.h.in: Remove NO_UNDERSCORES entry.
26459 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26460 them.
26461 * csu/start.c: Remove !NO_UNDERSCORE code.
26462 * locale/localeinfo.h: Likewise.
26463 * sysdeps/generic/machine-gmon.h: Likewise.
26464 * sysdeps/generic/sysdep.h: Likewise.
26465 * sysdeps/i386/sysdep.h: Likewise.
26466 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26467 * sysdeps/mach/sysdep.h: Likewise.
26468 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26469 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26470 * sysdeps/sh/sysdep.h: Likewise.
26471 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26472 * sysdeps/unix/i386/sysdep.S: Likewise.
26473 * sysdeps/unix/sparc/start.c: Likewise.
26474 * sysdeps/unix/sparc/sysdep.S: Likewise.
26475 * sysdeps/unix/sparc/sysdep.h: Likewise.
26476 * sysdeps/unix/start.c: Likewise.
26477 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26478 * sysdeps/x86_64/sysdep.h: Likewise.
26479
df78418a
UD
264802012-01-07 Ulrich Drepper <drepper@gmail.com>
26481
a784e502
UD
26482 [BZ #13553]
26483 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26484 for non-gcc.
26485 * argp/argp-fmtstream.h: Use const instead __const.
26486 * argp/argp.h: Likewise.
26487 * assert/assert.h: Likewise.
26488 * bits/fenv.h: Likewise.
26489 * bits/sched.h: Likewise.
26490 * bits/sigset.h: Likewise.
26491 * bits/sigthread.h: Likewise.
26492 * catgets/nl_types.h: Likewise.
26493 * conform/data/pthread.h-data: Likewise.
26494 * crypt/crypt-private.h: Likewise.
26495 * crypt/crypt.h: Likewise.
26496 * crypt/crypt_util.c: Likewise.
26497 * ctype/ctype.h: Likewise.
26498 * debug/execinfo.h: Likewise.
26499 * debug/mbsnrtowcs_chk.c: Likewise.
26500 * debug/mbsrtowcs_chk.c: Likewise.
26501 * debug/wcsnrtombs_chk.c: Likewise.
26502 * debug/wcsrtombs_chk.c: Likewise.
26503 * debug/wcstombs_chk.c: Likewise.
26504 * dirent/dirent.h: Likewise.
26505 * dlfcn/dlfcn.h: Likewise.
26506 * elf/neededtest4.c: Likewise.
26507 * grp/grp.h: Likewise.
26508 * gshadow/gshadow.h: Likewise.
26509 * iconv/gconv.h: Likewise.
26510 * iconv/gconv_int.h: Likewise.
26511 * iconv/gconv_simple.c: Likewise.
26512 * iconv/iconv.h: Likewise.
26513 * iconv/loop.c: Likewise.
26514 * iconv/skeleton.c: Likewise.
26515 * include/aio.h: Likewise.
26516 * include/aliases.h: Likewise.
26517 * include/argz.h: Likewise.
26518 * include/arpa/inet.h: Likewise.
26519 * include/assert.h: Likewise.
26520 * include/dirent.h: Likewise.
26521 * include/dlfcn.h: Likewise.
26522 * include/execinfo.h: Likewise.
26523 * include/fcntl.h: Likewise.
26524 * include/fenv.h: Likewise.
26525 * include/glob.h: Likewise.
26526 * include/grp.h: Likewise.
26527 * include/libintl.h: Likewise.
26528 * include/mntent.h: Likewise.
26529 * include/netdb.h: Likewise.
26530 * include/pwd.h: Likewise.
26531 * include/rpc/netdb.h: Likewise.
26532 * include/sched.h: Likewise.
26533 * include/search.h: Likewise.
26534 * include/shadow.h: Likewise.
26535 * include/signal.h: Likewise.
26536 * include/stdio.h: Likewise.
26537 * include/stdlib.h: Likewise.
26538 * include/string.h: Likewise.
26539 * include/sys/socket.h: Likewise.
26540 * include/sys/stat.h: Likewise.
26541 * include/sys/statfs.h: Likewise.
26542 * include/sys/statvfs.h: Likewise.
26543 * include/sys/syslog.h: Likewise.
26544 * include/sys/time.h: Likewise.
26545 * include/sys/uio.h: Likewise.
26546 * include/time.h: Likewise.
26547 * include/unistd.h: Likewise.
26548 * include/utmp.h: Likewise.
26549 * include/wchar.h: Likewise.
26550 * include/wctype.h: Likewise.
26551 * inet/aliases.h: Likewise.
26552 * inet/arpa/inet.h: Likewise.
26553 * inet/netinet/ether.h: Likewise.
26554 * inet/netinet/in.h: Likewise.
26555 * intl/libintl.h: Likewise.
26556 * io/bits/fcntl2.h: Likewise.
26557 * io/fcntl.h: Likewise.
26558 * io/ftw.h: Likewise.
26559 * io/sys/poll.h: Likewise.
26560 * io/sys/stat.h: Likewise.
26561 * io/sys/statfs.h: Likewise.
26562 * io/sys/statvfs.h: Likewise.
26563 * io/utime.h: Likewise.
26564 * libio/bits/stdio.h: Likewise.
26565 * libio/bits/stdio2.h: Likewise.
26566 * libio/libio.h: Likewise.
26567 * libio/libioP.h: Likewise.
26568 * libio/stdio.h: Likewise.
26569 * locale/lc-ctype.c: Likewise.
26570 * locale/locale.h: Likewise.
26571 * login/utmp.h: Likewise.
26572 * malloc/arena.c: Likewise.
26573 * malloc/malloc.c: Likewise.
26574 * malloc/malloc.h: Likewise.
26575 * malloc/mcheck.c: Likewise.
26576 * malloc/mtrace.c: Likewise.
26577 * math/bits/mathcalls.h: Likewise.
26578 * math/fenv.h: Likewise.
26579 * math/math_private.h: Likewise.
26580 * misc/bits/error.h: Likewise.
26581 * misc/bits/syslog.h: Likewise.
26582 * misc/err.h: Likewise.
26583 * misc/error.h: Likewise.
26584 * misc/fstab.h: Likewise.
26585 * misc/mntent.h: Likewise.
26586 * misc/regexp.h: Likewise.
26587 * misc/search.h: Likewise.
26588 * misc/sgtty.h: Likewise.
26589 * misc/sys/mman.h: Likewise.
26590 * misc/sys/syslog.h: Likewise.
26591 * misc/sys/uio.h: Likewise.
26592 * misc/sys/xattr.h: Likewise.
26593 * misc/ttyent.h: Likewise.
26594 * nis/rpcsvc/ypclnt.h: Likewise.
26595 * nss/nss.h: Likewise.
26596 * posix/bits/unistd.h: Likewise.
26597 * posix/fnmatch.h: Likewise.
26598 * posix/glob.h: Likewise.
26599 * posix/sched.h: Likewise.
26600 * posix/spawn.h: Likewise.
26601 * posix/sys/wait.h: Likewise.
26602 * posix/unistd.h: Likewise.
26603 * posix/wordexp.h: Likewise.
26604 * pwd/pwd.h: Likewise.
26605 * resolv/netdb.h: Likewise.
26606 * resource/sys/resource.h: Likewise.
26607 * rt/aio.h: Likewise.
26608 * rt/bits/mqueue2.h: Likewise.
26609 * rt/mqueue.h: Likewise.
26610 * shadow/shadow.h: Likewise.
26611 * signal/signal.h: Likewise.
26612 * socket/send.c: Likewise.
26613 * socket/sendto.c: Likewise.
26614 * socket/sys/socket.h: Likewise.
26615 * stdio-common/printf.h: Likewise.
26616 * stdlib/bits/stdlib.h: Likewise.
26617 * stdlib/fmtmsg.h: Likewise.
26618 * stdlib/monetary.h: Likewise.
26619 * stdlib/stdlib.h: Likewise.
26620 * stdlib/ucontext.h: Likewise.
26621 * streams/stropts.h: Likewise.
26622 * string/argz.h: Likewise.
26623 * string/bits/string2.h: Likewise.
26624 * string/string.h: Likewise.
26625 * string/strings.h: Likewise.
26626 * sunrpc/rpc/auth.h: Likewise.
26627 * sunrpc/rpc/auth_des.h: Likewise.
26628 * sunrpc/rpc/clnt.h: Likewise.
26629 * sunrpc/rpc/netdb.h: Likewise.
26630 * sunrpc/rpc/pmap_clnt.h: Likewise.
26631 * sunrpc/rpc/xdr.h: Likewise.
26632 * sysdeps/generic/inttypes.h: Likewise.
26633 * sysdeps/generic/net/if.h: Likewise.
26634 * sysdeps/generic/sys/swap.h: Likewise.
26635 * sysdeps/gnu/net/if.h: Likewise.
26636 * sysdeps/gnu/utmpx.h: Likewise.
26637 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26638 * sysdeps/i386/i486/bits/string.h: Likewise.
26639 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26640 * sysdeps/s390/bits/string.h: Likewise.
26641 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26642 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26643 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26644 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26645 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26646 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26647 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26648 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26649 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26650 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26651 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26652 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26653 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26654 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26655 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26656 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26657 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26658 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26659 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26660 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26661 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26662 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26663 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26664 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26665 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26666 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26667 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26668 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26669 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26670 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26671 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26672 * sysvipc/sys/ipc.h: Likewise.
26673 * sysvipc/sys/msg.h: Likewise.
26674 * sysvipc/sys/sem.h: Likewise.
26675 * sysvipc/sys/shm.h: Likewise.
26676 * termios/termios.h: Likewise.
26677 * time/sys/time.h: Likewise.
26678 * time/time.h: Likewise.
26679 * wcsmbs/bits/wchar2.h: Likewise.
26680 * wcsmbs/uchar.h: Likewise.
26681 * wcsmbs/wchar.h: Likewise.
26682 * wctype/wctype.h: Likewise.
26683
0269750c
UD
26684 [BZ #13551]
26685 * Makeconfig: Remove all but ELF support including AIX support.
26686 * Makerules: Likewise.
26687 * config.h.in: Likewise.
26688 * config.make.in: Likewise.
26689 * configure: Likewise.
26690 * configure.in: Likewise.
26691 * csu/Makefile: Likewise.
26692 * csu/version.c: Likewise.
26693 * debug/Makefile: Likewise.
26694 * dlfcn/Makefile: Likewise.
26695 * elf/Makefile: Likewise.
26696 * extra-lib.mk: Likewise.
26697 * iconv/Makefile: Likewise.
26698 * include/libc-symbols.h: Likewise.
26699 * include/shlib-compat.h: Likewise.
26700 * resolv/Makefile: Likewise.
26701 * resolv/res_libc.c: Likewise.
26702 * rt/Makefile: Likewise.
26703 * sysdeps/i386/asm-syntax.h: Likewise.
26704 * sysdeps/i386/sysdep.h: Likewise.
26705 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26706 * sysdeps/mach/sysdep.h: Likewise.
26707 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26708 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26709 * sysdeps/s390/asm-syntax.h: Likewise.
26710 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26711 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26712 * sysdeps/sh/sysdep.h: Likewise.
26713 * sysdeps/unix/sparc/sysdep.h: Likewise.
26714 * sysdeps/wordsize-32/divdi3.c: Likewise.
26715 * sysdeps/x86_64/sysdep.h: Likewise.
26716
00bbd29b
UD
26717 * argp/Versions: Remove _argp_unlock_xxx.
26718
26719 [BZ #13559]
26720 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26721 * abilist/libBrokenLocale.abilist: Likewise.
26722 * abilist/libanl.abilist: Likewise.
26723 * abilist/libc.abilist: Likewise.
26724 * abilist/libcrypt.abilist: Likewise.
26725 * abilist/libdl.abilist: Likewise.
26726 * abilist/libm.abilist: Likewise.
26727 * abilist/libnsl.abilist: Likewise.
26728 * abilist/libpthread.abilist: Likewise.
26729 * abilist/libresolv.abilist: Likewise.
26730 * abilist/librt.abilist: Likewise.
26731 * abilist/libthread_db.abilist: Likewise.
26732 * abilist/libutil.abilist: Likewise.
26733 * abilist/libnss_db.abilist: New file.
26734
26735 * scripts/abilist.awk: Add support for indirect functions.
26736
a2693a0e
UD
26737 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26738
3f05895f
UD
26739 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26740
ecb6fb48
UD
26741 * shlib-versions: Remove entries for ports architectures.
26742
664f8cb9
UD
26743 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26744 files in ports.
26745 * elf/stackguard-macros.h: Remove support for IA-64.
26746 * elf/tst-auditmod1.c: Likewise.
26747 * sysdeps/generic/ldsodefs.h: Likewise.
26748
7ae81d88
UD
26749 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26750 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26751 configure files.
26752
bdeba135
UD
26753 [BZ #13552]
26754 * configure.in: Remove --enable-omitfp support.
26755 * FAQ.in: Adjust.
26756 * config.make.in: Likewise.
26757 * Makeconfig: Likewise.
26758 * manual/install.texi: Likewise.
26759
d75a0a62
UD
26760 In case anyone cares, the IA-64 architecture could move to ports.
26761 * sysdeps/ia64/*: Removed.
26762 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26763 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26764
dcc9756b
UD
26765 [BZ #13555]
26766 * configure.in: Remove entries for unsupported architectures.
26767
d3761ebc 26768 [BZ #13533]
9954432e
UD
26769 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26770 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26771 routines.
26772 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26773 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26774 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26775 fall back to using wcrtomb.
26776 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26777 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26778 renaming.
26779 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26780 * wcsmbs/tst-c16c32-1.c: New file.
26781
26782 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26783 local variable.
26784
c3a87236
UD
26785 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26786
28926a1b
UD
26787 * elf/tst-unique3.cc: Add explicit declaration of gets.
26788 * elf/tst-unique3lib.cc: Likewise.
26789 * elf/tst-unique3lib2.cc: Likewise.
26790 * elf/tst-unique4.cc: Likewise.
26791
df78418a
UD
26792 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26793
8ecd6b2a
JM
267942012-01-06 Joseph Myers <joseph@codesourcery.com>
26795
26796 [BZ #13566]
26797 * assert/assert.h (static_assert): Don't define for C++.
26798 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26799 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26800
9f115170
UD
268012012-01-03 Ulrich Drepper <drepper@gmail.com>
26802
5e0d0300
UD
26803 * iconv/loop.c (single loop): Fix assertion in storing of
26804 remaining bytes.
26805
9f115170
UD
26806 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26807
81fb02b0
UD
268082012-01-01 Ulrich Drepper <drepper@gmail.com>
26809
26810 * posix/getconf.c: Update copyright year.
26811 * nss/getent.c: Likewise.
a316c1f6 26812 * nss/makedb.c: Likewise.
81fb02b0
UD
26813 * iconv/iconvconfig.c: Likewise.
26814 * iconv/iconv_prog.c: Likewise.
26815 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26816 * elf/pldd.c: Likewise.
26817 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26818 * catgets/gencat.c: Likewise.
26819 * csu/version.c: Likewise.
26820 * elf/ldd.bash.in: Likewise.
26821 * elf/sprof.c (print_version): Likewise.
26822 * locale/programs/locale.c: Likewise.
26823 * locale/programs/localedef.c: Likewise.
a316c1f6 26824 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26825 * nscd/nscd.c (print_version): Likewise.
26826 * debug/xtrace.sh: Likewise.
26827 * malloc/memusage.sh: Likewise.
26828 * malloc/mtrace.pl: Likewise.
26829 * debug/catchsegv.sh: Likewise.
26830
2ba92745
JJ
268312011-12-30 Jakub Jelinek <jakub@redhat.com>
26832
26833 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26834 pure attribute.
26835
dadebdae
UD
268362011-12-24 Ulrich Drepper <drepper@gmail.com>
26837
d3761ebc 26838 [BZ #13533]
db6af3eb
UD
26839 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26840 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26841 transformations.
26842 * iconv/gconv_int.h: Likewise.
26843 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26844 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26845 from libc for GLIBC_2.16.
26846 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26847 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26848 * wcsmbs/uchar.h: Really define mbstate_t.
26849 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26850 * wcsmbs/c16rtomb.c: New file.
26851 * wcsmbs/mbrtoc16.c: New file.
26852 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26853 for C/POSIX locale.
26854 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26855 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26856
dadebdae
UD
26857 * wcsmbs/wchar.h: Add missing __restrict.
26858
67371b56
UD
268592011-12-23 Ulrich Drepper <drepper@gmail.com>
26860
74033a25
UD
26861 [BZ #13532]
26862 * time/Makefile (routines): Add timespec_get.
26863 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26864 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26865 timespec for ISO C11.
26866 * time/timespec_get.c: New file.
26867 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26868 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26869
380d7e87
UD
26870 [BZ #13531]
26871 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26872 * stdlib/stdlib.h: Declare aligned_alloc.
26873 * Versions.def: Add GLIBC_2.16 for libc.
26874 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26875
4e9e7a35
UD
26876 [BZ 13527]
26877 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26878 ISO C11.
26879
380d7e87 26880 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26881 code.
26882
03a71829
UD
26883 [BZ #13528]
26884 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26885
839e283e
UD
26886 [BZ #13529]
26887 * assert/assert.h (static_assert): Define.
26888
ce5294e2 26889 * version.h: Update for 2.16 development version.
90fa7312 26890
8d44e150 26891 [BZ #13526]
d7809905
UD
26892 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26893 _ISOC11_SOURCE.
26894
c0da14cd
UD
26895 * version.h (RELEASE): Bump for 2.15 release.
26896 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26897
530a3249
MP
26898 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26899 Patch by Marek Polacek <mpolacek@redhat.com>.
26900
67371b56
UD
26901 * bits/byteswap.h: Protect long long constants with __extension__.
26902 * sysdeps/i386/bits/byteswap.h: Likewise.
26903 * sysdeps/ia64/bits/byteswap.h: Likewise.
26904 * sysdeps/s390/bits/byteswap.h: Likewise.
26905 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26906
15db4de1
LD
269072011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26908
26909 [BZ #13540]
bbe315ea
LD
26910 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26911 destination buffer.
15db4de1
LD
26912 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26913
2b2596b1
MP
269142011-12-23 Marek Polacek <polacek@redhat.com>
26915
26916 * elf/dl-addr.c (determine_info): Add inline keyword.
26917 * elf/tst-auditmod4b.c (check_avx): Likewise.
26918 * elf/tst-auditmod6b.c (check_avx): Likewise.
26919 * elf/tst-auditmod6c.c (check_avx): Likewise.
26920 * elf/tst-auditmod7b.c (check_avx): Likewise.
26921
70c6c246
UD
269222011-12-23 Ulrich Drepper <drepper@gmail.com>
26923
26924 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26925 !__SSE_MATH__.
26926
c044cf14
LD
269272011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26928
15db4de1 26929 [BZ #13540]
c044cf14
LD
26930 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26931 processing for last bytes.
26932
6b13d9d9
BH
269332011-08-06 Bruno Haible <bruno@clisp.org>
26934
d455f537
BH
26935 [BZ #13061]
26936 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26937 U+0385, not to U+1FEE.
26938
6b13d9d9
BH
26939 [BZ #13062]
26940 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26941 entry for U+00A5 U+0301.
26942
db910efd
UD
269432011-12-22 Ulrich Drepper <drepper@gmail.com>
26944
27deeafc
UD
26945 [BZ #13166]
26946 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26947 buffer for the output is too small.
26948
aed9d171
UD
26949 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26950 optimization.
26951
db910efd
UD
26952 [BZ #13185]
26953 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26954 SSE flags if possible.
26955
2bd779ae
LD
269562011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26957
e7f9dac3 26958 [BZ #13540]
2bd779ae
LD
26959 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26960 processing for last bytes.
26961
154bfc16
JM
269622011-12-22 Joseph Myers <joseph@codesourcery.com>
26963
26964 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26965 (syscall-list-default-options, syscall-list-default-condition)
26966 (syscall-list-includes): Define.
26967 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26968 list of ABIs and options and #if conditions for each ABI. Do not
26969 handle common syscalls between ABIs specially.
26970 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26971 Remove.
26972 (syscall-list-variants, syscall-list-32bit-options)
26973 (syscall-list-32bit-condition, syscall-list-64bit-options)
26974 (syscall-list-64bit-condition): Define.
26975 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26976 (syscall-list-variants, syscall-list-32bit-options)
26977 (syscall-list-32bit-condition, syscall-list-64bit-options)
26978 (syscall-list-64bit-condition): Define.
26979 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26980 Remove.
26981 (syscall-list-variants, syscall-list-32bit-options)
26982 (syscall-list-32bit-condition, syscall-list-64bit-options)
26983 (syscall-list-64bit-condition): Define.
26984 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26985 Remove.
26986 (syscall-list-variants, syscall-list-32bit-options)
26987 (syscall-list-32bit-condition, syscall-list-64bit-options)
26988 (syscall-list-64bit-condition): Define.
26989
21eaf3a5
UD
269902011-12-22 Ulrich Drepper <drepper@gmail.com>
26991
16c6f992
UD
26992 * locale/iso-639.def: Add brx entry.
26993
41043168
UD
26994 [BZ #13328]
26995 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26996 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26997
21eaf3a5
UD
26998 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26999 __feraiseexcept_renamed.
27000
e3a851a2
UD
270012011-12-21 Ulrich Drepper <drepper@gmail.com>
27002
4920765e
UD
27003 [BZ #13538]
27004 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27005 EPOLLET with unsigned values.
27006 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27007 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27008
e3a851a2
UD
27009 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27010 to large cancellation.
27011 * math/s_cacoshf.c: Likewise.
27012 * math/s_cacoshl.c: Likewise.
27013
b27e24b8
RK
270142011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27015
27016 [BZ #13305]
aebefeee 27017 [BZ #12786]
b27e24b8
RK
27018 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27019 * math/s_cacoshf.c: Likewise.
27020 * math/s_cacoshl.c: Likewise.
27021
ee190f67
UD
270222011-12-21 Ulrich Drepper <drepper@gmail.com>
27023
27024 [BZ #13439]
27025 * iconv/gconv.h: Define __GCONV_SWAP.
27026 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27027 * iconvdata/utf-16.c: Likewise.
27028 * iconvdata/utf-32.c: Likewise.
27029
707f25df
AS
270302011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27031
27032 [BZ #13524]
27033 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27034 numerator after shifting it by one limb.
27035
d2daaa1e
RÁE
270362011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27037
27038 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27039 under [__USE_EXTERN_INLINES].
27040
a4647e72
UD
270412011-12-17 Ulrich Drepper <drepper@gmail.com>
27042
27043 [BZ #13446]
27044 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27045
f0b264f1
AZ
270462011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27047
27048 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27049 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27050 optimized code.
27051 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27052 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27053 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27054 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27055 for strncasecmp/strncasecmp_l compilation.
27056 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27057 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27058
8ef4f244
MP
270592011-12-08 Marek Polacek <mpolacek@redhat.com>
27060
27061 [BZ #13484]
27062 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27063 of __asm__.
27064
97ac2654
UD
270652011-12-17 Ulrich Drepper <drepper@gmail.com>
27066
27067 [BZ #13506]
27068 * time/tzfile.c (__tzfile_read): Check values from file header.
27069
91d2a845
WS
270702011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27071
27072 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27073 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27074 * powerpc/powerpc32/dl-start.S: Likewise.
27075 * powerpc/powerpc32/elf/start.S: Likewise.
27076 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27077 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27078 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27079 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27080 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27081 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27082 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27083 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27084 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27085 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27086 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27087 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27088 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27089 * powerpc/powerpc32/memset.S: Likewise.
27090 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27091 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27092 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27093 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27094 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27095 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27096 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27097 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27098 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27099 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27100 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27101 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27102 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27103
a1267ba1
AZ
271042011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27105
27106 * math/libm-test.inc: Added more nearbyint tests.
27107 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27108 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27109 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27110 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27111
ad8ac1bd
RL
271122011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27113
27114 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27115 FD_CLOEXEC.
27116
1d3e4b61
UD
271172011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27118
27119 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27120 Add wcscpy-ssse3 wcscpy-c.
27121 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27122 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27123 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27124 * sysdeps/x86_64/wcschr.S: New file.
27125 * sysdeps/x86_64/wcsrchr.S: New file.
27126 * string/test-strcmp.c: Remove checking of wcscmp function for
27127 wrong alignments.
27128 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27129 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27130 wcsrchr-sse2 wcsrchr-c.
27131 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27132 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27133 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27134 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27135 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27136 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27137 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27138 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27139 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27140 * wcsmbc/wcschr.c (WCSCHR): New macro.
27141
5b330a2d
UD
271422011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27143
27144 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27145 * wcsmbs/test-wcsrchr.c: New file.
27146 * string/test-strrchr.c: Add wcsrchr support.
27147 (WIDE): New macro.
27148 * wcsmbs/test-wcscpy.c: New file.
27149 * string/test-strcpy.c: Add wcscpy support.
27150 (WIDE): New macro.
26428b7c 27151
f039c043
UD
271522011-12-10 Ulrich Drepper <drepper@gmail.com>
27153
27154 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27155 the inner loop.
27156
850fb039
AS
271572011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27158
27159 [BZ #13472]
27160 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27161
4efbd5cb
UD
271622011-12-04 Ulrich Drepper <drepper@gmail.com>
27163
52ff5dd0 27164 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 27165 Minor optimizations.
52ff5dd0 27166
4efbd5cb
UD
27167 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27168 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27169 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27170
8a426e12
UD
271712011-12-03 Ulrich Drepper <drepper@gmail.com>
27172
aff2453d
UD
27173 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27174 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27175 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27176 for gcc to avoid warnings.
27177 * inet/Makefile (tests): Add tst-checks.
27178 * inet/tst-checks.c: New file.
27179
27180 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27181 warning.
27182
27183 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27184 __wmemcmp_sse2.
27185
27186 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27187 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27188
8a426e12
UD
27189 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27190
9bea3473
UD
271912011-12-02 Ulrich Drepper <drepper@gmail.com>
27192
3a965496
UD
27193 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27194 problem.
27195
9bea3473
UD
27196 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27197
f101631b
UD
271982011-11-29 Joseph Myers <joseph@codesourcery.com>
27199
27200 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27201 conditional on GCC version.
27202 (__arch_compare_and_exchange_val_8_acq)
27203 (__arch_compare_and_exchange_val_16_acq)
27204 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27205 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27206 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27207
a98275aa
UD
272082011-12-02 Joseph Myers <joseph@codesourcery.com>
27209
27210 * sysdeps/sh/backtrace.c: New file.
27211
d4cc29a2
AS
272122011-12-02 Andreas Schwab <schwab@redhat.com>
27213
27214 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27215 parenthesis.
27216
6257af2d
AS
272172011-12-01 Andreas Schwab <schwab@redhat.com>
27218
27219 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27220 falling back to utime.
27221
b5f44c1a
AS
272222011-11-30 Andreas Schwab <schwab@redhat.com>
27223
27224 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27225 expectations for float.
27226
f3a6cc0a
AS
272272011-11-29 Andreas Schwab <schwab@redhat.com>
27228
27229 * locale/weight.h (findidx): Add parameter len.
27230 * locale/weightwc.h (findidx): Likewise.
27231 * posix/fnmatch_loop.c (FCT): Adjust caller.
27232 * posix/regcomp.c (build_equiv_class): Likewise.
27233 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27234 * posix/regexec.c (check_node_accept_bytes): Likewise.
27235 * string/strcoll_l.c (STRCOLL): Likewise.
27236 * string/strxfrm_l.c (STRXFRM): Likewise.
27237
9d65ea3a
UD
272382011-11-17 Ulrich Drepper <drepper@gmail.com>
27239
27240 * Makefile.in: Remove CVSOPT handling.
27241 * configure.in: Remove use of AC_REVISION.
27242 * iconvdata/Makefile (distribute): No need to filter out CVS.
27243 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27244 handling.
27245
5583a086
AS
272462011-11-16 Andreas Schwab <schwab@redhat.com>
27247
27248 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27249 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27250 [USE_AS_STRNCASECMP_L]: Likewise.
27251 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27252 NO_TLS_DIRECT_SEG_REFS.
27253 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27254 Fix argument offsets for non-PIC.
27255 [USE_AS_STRNCASECMP_L]: Likewise.
27256 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27257 NO_TLS_DIRECT_SEG_REFS.
27258
d62a8200
UD
272592011-11-15 Ulrich Drepper <drepper@gmail.com>
27260
9d65ea3a 27261 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27262 O_CLOEXEC.
27263 * locale/loadlocale.c (_nl_load_locale): Likewise.
27264
09f93bd3
AS
272652011-11-15 Andreas Schwab <schwab@redhat.com>
27266
446514f9
AS
27267 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27268 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27269 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27270 (SYSCALL_GETTIME): Set errno on error.
27271
09f93bd3
AS
27272 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27273 count references to noai6ai_cached.
27274
312be3f9
UD
272752011-11-15 Ulrich Drepper <drepper@gmail.com>
27276
27277 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27278
27279 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27280 FD_CLOEXEC for /proc/self/maps.
27281
27282 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27283 FD_CLOEXEC for /proc/meminfo.
27284
27285 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27286 gai.conf.
27287
27288 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27289 FD_CLOEXEC for given file.
27290
27291 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27292
27293 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27294 FD_CLOEXEC for /etc/hosts.
27295 (_gethtent): Likewise.
27296
27297 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27298
27299 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27300 cancellation and set FD_CLOEXEC for /etc/netgroup.
27301
27302 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27303 reading /etc/publickey.
27304
27305 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27306 allow cancellation when reading /etc/group.
27307
27308 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27309 cancellation.
27310 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27311
27312 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27313 when using data file.
27314
27315 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27316
27317 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27318 (write_nis_obj): Use "c" and "e" in fopen.
27319
27320 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27321
27322 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27323
27324 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27325
27326 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27327
27328 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27329 locale.alias.
27330
27331 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27332
27333 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27334
27335 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27336
27337 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27338 file parsing and set FD_CLOEXEC.
27339
82af0fa8
UD
273402011-11-14 Ulrich Drepper <drepper@gmail.com>
27341
27342 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27343
a5fb313c
AS
273442011-11-14 Andreas Schwab <schwab@redhat.com>
27345
27346 * malloc/arena.c (arena_get2): Don't call reused_arena when
27347 _int_new_arena failed.
27348
6abf3465
UD
273492011-11-14 Ulrich Drepper <drepper@gmail.com>
27350
27351 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27352 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27353 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27354 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27355 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27356 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27357 to compile strcasecmp and strncasecmp.
27358 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27359 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27360
27361 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27362
76e3966e
UD
273632011-11-13 Ulrich Drepper <drepper@gmail.com>
27364
27365 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27366 locale-defines.sym to gen-as-const-headers.
27367 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27368 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27370 to compile strcasecmp and strncasecmp.
27371 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27372 strcasecmp_l and strncasecmp_l.
27373 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27374 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27375 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27376 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27377 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27378 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27379 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27380 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27381 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27382 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27383 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27384
ab26144e
UD
273852011-11-12 Ulrich Drepper <drepper@gmail.com>
27386
7edb22ef
UD
27387 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27388 result of SYSDEP_GETTIME_CPU to retval.
27389 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27390 parameter list to macro. Remove trailing semicolon. Adjust users.
27391
9694fc44
UD
27392 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27393 variable.
27394
8ad89ef8
UD
27395 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27396 mantissa words.
27397 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27398
0c822ef9
UD
27399 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27400 from unused variable.
27401
874e0564
UD
27402 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27403 DWARF definitions.
27404 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27405 for assembling.
27406
3a2edc79
UD
27407 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27408 over namespaces.
27409
f3c2577f
UD
27410 * sunrpc/rpc_prot.c (rejected): Fix case value.
27411
294ce126
UD
27412 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27413 unsigned long long int to avoid warnings in shift.
27414
5e2b63c6
UD
27415 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27416 of use of trans.
27417 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27418 variable tmp.
27419
e7f4b08e
UD
27420 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27421 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27422 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27423
ab26144e
UD
27424 * nis/nis_table.c (nis_list): Use variable of correct type for
27425 result of __follow_path call.
27426
8a6d5255
AZ
274272011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27428
27429 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27430 of math functions ceil, trunc, floor, round, and sqrt, when
27431 avaliable on the platform.
27432 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27433 name clash.
27434 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27435 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27436 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27437
aaddc98c
MP
274382011-10-30 Marek Polacek <mpolacek@redhat.com>
27439
27440 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27441 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27442
95b7042b
RM
274432011-11-11 Roland McGrath <roland@hack.frob.com>
27444
27445 * include/unistd.h: Fix __readlink return type.
27446 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27447
57769839
UD
274482011-11-11 Ulrich Drepper <drepper@gmail.com>
27449
27450 * stdlib/ucontext.h: Undo last change for makecontext.
27451
edc5984d
AS
274522011-11-11 Andreas Schwab <schwab@redhat.com>
27453
98591e58
AS
27454 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27455
edc5984d
AS
27456 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27457 * setjmp/setjmp.h: Mark functions as non-leaf.
27458 * setjmp/bits/setjmp2.h: Likewise.
27459 * stdlib/ucontext.h: Likewise.
27460
77cdc054
AS
274612011-11-10 Andreas Schwab <schwab@redhat.com>
27462
27463 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27464 (reused_arena): Don't check arena limit.
27465 (arena_get2): Atomically check arena limit.
27466
fe72eebd
UD
274672011-11-08 Ulrich Drepper <drepper@gmail.com>
27468
5f078c32
UD
27469 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27470 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27471
fe72eebd
UD
27472 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27473 instructions.
27474
ae1bc2fa
AS
274752011-11-07 Andreas Schwab <schwab@redhat.com>
27476
7583a88d
AS
27477 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27478 handler when locking.
27479
ae1bc2fa
AS
27480 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27481 Fix size of allocated buffer.
27482
10fb0bfa
AS
274832011-11-04 Andreas Schwab <schwab@redhat.com>
27484
998832a4
AS
27485 [BZ #10103]
27486 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27487 declarations for long double functions.
27488 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27489
10fb0bfa
AS
27490 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27491
3d7ba52b
AS
274922011-11-03 Andreas Schwab <schwab@redhat.com>
27493
a9ae54a1
AS
27494 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27495 installed.
27496
3d7ba52b
AS
27497 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27498 is disabled.
27499
bc8db248
ST
275002011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27501
27502 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27503
45b96dd6
AS
275042011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27505
647776f6
AS
27506 * include/alloca.h (stackinfo_alloca_round): Define.
27507 (extend_alloca): Use it.
27508 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27509 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27510 here.
27511
d91a8b93
AS
27512 * scripts/check-local-headers.sh: Ignore libaudit.h.
27513
45b96dd6
AS
27514 * nscd/Makefile (extra-objs): Make recursively expanded.
27515
432d41ce
UD
275162011-11-01 Ulrich Drepper <drepper@gmail.com>
27517
34372fc6
UD
27518 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27519 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27520
fadb59f8
UD
27521 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27522 * posix/tst-rfc3484-2.c: Likewise.
27523 * posix/tst-rfc3484-3.c: Likewise.
27524
78239589
UD
27525 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27526 process_vm_writev.
27527 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27528 process_vm_writev.
27529 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27530 process_vm_writev from libc using GLIBC_2.15 version.
27531
432d41ce
UD
27532 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27533
02f9c6cf
PP
275342011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27535
27536 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27537 stack usage.
27538
3a2c0242
UD
275392011-10-31 Ulrich Drepper <drepper@gmail.com>
27540
f4ec4833
UD
27541 [BZ #13367]
27542 * nss/getent.c (initgroups_keys): Show error message in case no group
27543 names are given.
27544
3a2c0242
UD
27545 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27546 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27547 __bump_nl_timestamp.
27548 * nscd/connections (nscd_init): When host database is served open
27549 netlink socket and request notification about configuration changes.
27550 (main_loop_poll): Track netlink file descriptor and bump timestamp
27551 in case data becomes available.
27552 (main_loop_epoll): Likewise.
27553 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27554 (database_pers_head): Add extra_data fileds.
27555 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27556 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27557 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27558 Adjust caller.
27559 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27560 in6ai data, call __free_in6ai.
27561 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27562 Add -DHAVE_NETLINK.
27563 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27564 interface information. Reuse previous data if netlink timestamp
27565 is not changed.
27566 (__bump_nl_timestamp): New function.
27567 (__free_in6ai): New function.
27568
636064eb
UD
275692011-10-30 Ulrich Drepper <drepper@gmail.com>
27570
27571 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27572 close_not_cancel_no_status here.
27573 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27574
9beb2334
UD
275752011-10-29 Ulrich Drepper <drepper@gmail.com>
27576
6ef76f3b
UD
27577 [BZ #13276]
27578 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27579 return value.
27580
0ffc4f3e 27581 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27582 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27583 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27584
cb95113e
UD
275852011-07-03 Andreas Jaeger <aj@suse.de>
27586
27587 [BZ #10709]
27588 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27589 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27590 * math/libm-test.inc (sin_test): Add test case.
27591
a1b560ff
UD
275922011-10-29 Ulrich Drepper <drepper@gmail.com>
27593
c9aaface
UD
27594 [BZ #13337]
27595 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27596 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27597
d272e7f1
UD
27598 * elf/chroot_canon.c (chroot_canon): Cleanups.
27599
1bc33071
UD
27600 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27601
1760874d
TJ
27602 [BZ #13335]
27603 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27604 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27605
51d91b18
UD
27606 * string/test-strchr.c: Make usable for strchrnul testing.
27607 * string/test-strchrnul.c: New file.
27608 * string/Makefile (strop-tests): Add strchrnul.
27609
a1b560ff 27610 * po/it.po: Update from translation team.
b611fb81 27611 * po/es.po: Likewise.
a1b560ff 27612
a5b81e1f
UD
276132011-10-28 Ulrich Drepper <drepper@gmail.com>
27614
fd52bc6d
UD
27615 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27616 the three constants needed as parameters. Drop the others.
27617 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27618 __m128i_strloadu_tolower.
52e4b9eb
UD
27619 Create and initialize variable zero and use it in all the places
27620 where _mm_setzero_si128 was used.
fd52bc6d 27621
a5b81e1f
UD
27622 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27623 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27624 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27625 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27626 anymore.
27627 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27628 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27629 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27630 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27631 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27632 __mpranred, __mptan.
27633 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27634 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27635 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27636 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27637 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27638 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27639 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27640 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27641 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27642
b4343346
AS
276432011-10-28 Andreas Schwab <schwab@redhat.com>
27644
0c92d8a8
AS
27645 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27646 redefine if SHARED.
27647 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27648
b4343346
AS
27649 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27650 wide char related routines to wcsmbs subdir.
27651
3871f58f
AS
276522011-10-27 Andreas Schwab <schwab@redhat.com>
27653
27654 [BZ #13344]
27655 * misc/sys/cdefs.h (__THROWNL): Define.
27656 * posix/unistd.h: Use __THREADNL instead of __THREAD
27657 for memory synchronization functions.
27658
94d44d9f
RM
276592011-10-26 Roland McGrath <roland@hack.frob.com>
27660
21b64b15 27661 [BZ #13349]
94d44d9f
RM
27662 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27663 doesn't exist.
27664 * manual/stdio.texi (Obstack Streams): Node removed.
27665
f6ce9294
AS
276662011-10-26 Andreas Schwab <schwab@redhat.com>
27667
80479147
AS
27668 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27669 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27670 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27671
f6ce9294
AS
27672 * math/math_private.h (math_force_eval): Allow non-addressable
27673 arguments.
27674 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27675
618280a1
UD
276762011-10-25 Ulrich Drepper <drepper@gmail.com>
27677
e0016b11
UD
27678 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27679 file is not needed.
27680
27681 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27682 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27683 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27684 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27685 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27686 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27687 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27688 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27689 Add AVX variants.
27690 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27691 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27692 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27693 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27694 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27695 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27696 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27697 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27698 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27699 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27700 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27701 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27702 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27703 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27704 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27705 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27706 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27707 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27708 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27709
27710 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27711 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27712
618280a1
UD
27713 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27714 place. Use VEX encoding when compiling for AVX.
27715
37822576
AS
277162011-10-25 Andreas Schwab <schwab@redhat.com>
27717
1f1e1947
AS
27718 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27719 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27720
37822576
AS
27721 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27722
31ea014d
UD
277232011-10-25 Ulrich Drepper <drepper@gmail.com>
27724
d7826aa1 27725 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27726 useless if() expression.
d7826aa1
UD
27727 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27728 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27729 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27730 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27731 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27732 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27733 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27734 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27735 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27736 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27737 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27738 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27739 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27740 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27741 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27742 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27743 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27744 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27745 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27746
31ea014d
UD
27747 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27748
16437fec
AS
277492011-10-25 Andreas Schwab <schwab@redhat.com>
27750
27751 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27752 condition.
27753 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27754
31d3cc00
UD
277552011-10-25 Ulrich Drepper <drepper@gmail.com>
27756
27757 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27758 .text section. Avoid duplicate constants.
27759 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27760 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27761 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27762 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27763 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27764 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27765 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27766 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27767 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27768 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27769 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27770 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27771 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27772 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27773 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27774 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27775 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27776 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27777 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27778 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27779 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27780 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27781 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27782 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27783 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27784 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27785 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27786 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27787 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27788 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27789 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27790 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27791 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27792 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27793 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27794 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27795 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27796 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27797 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27798 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27799 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27800 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27801 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27802 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27803 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27804
58985aa9
UD
278052011-10-24 Ulrich Drepper <drepper@gmail.com>
27806
202c9deb
UD
27807 * sysdeps/x86_64/dla.h: Move to ...
27808 * sysdeps/x86_64/fpu/dla.h: ...here.
27809 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27810 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27811
af968f62
UD
27812 * config.make.in: Add have-mfma4 entry.
27813 * configure.in: Substitute libc_cv_cc_fma4.
27814 * math/Makefile (dbl-only-routines): Add sincostab.
27815 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27816 Use __sincostab not sincos.
27817 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27818 name is a macro.
27819 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27821 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27822 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27823 using __copysign.
27824 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27825 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27826 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27827 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27828 and __inv.
27829 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27830 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27831 __copysign.
27832 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27833 define aliases when function name is a macro.
27834 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27835 sysdeps/ieee754/dbl-64/sincos.tbl.
27836 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27837 fma4-enabled routines.
27838 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27839 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27840 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27841 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27842 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27843 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27844 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27845 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27846 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27847 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27848 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27849 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27850 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27851 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27852 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27853 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27854 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27855 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27856 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27857 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27858 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27859 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27860 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27861 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27862 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27863 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27864 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27865 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27866 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27867 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27868
58985aa9
UD
27869 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27870 rename.
27871 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27872 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27873 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27874 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27875 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27876 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27877 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27878 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27879
a201fbcf
AS
278802011-10-24 Andreas Schwab <schwab@redhat.com>
27881
27882 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27883
fc2ee42a
LD
278842011-10-23 Ulrich Drepper <drepper@gmail.com>
27885
bb3129bd
UD
27886 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27887
0275fff8
UD
27888 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27889 prediction.
27890 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27891
2fa2ae85
UD
27892 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27893 Remove unused variable magic_bits.
27894 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27895
fc2ee42a
LD
27896 * string/strnlen.c: Define and use STRNLEN macro.
27897 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27898 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27899 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27900 * wcsmbs/wcslen.c: Define and use WCSLEN.
27901 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27902 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27903 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27904 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27905 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27906 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27907 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27908
ce7dd29f
LD
279092011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27910
27911 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27912 strnlen-sse2-no-bsf.
27913 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27914 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27915 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27916 Add strnlen support.
27917 (USE_AS_STRNLEN): New macro.
27918 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27919 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27920 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27921 * sysdeps/x86_64/wcslen.S: New file.
27922
979c70a3
MZ
279232011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27924
27925 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27926 XMM-moves are used for copying on small sizes.
27927
2d09f82f
LD
279282011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27929
27930 * wcsmbs/Makefile (strop-tests): Add wcschr.
27931 * wcsmbs/test-wcschr.c: New file.
27932 * string/test-strchr.c: Update.
27933 Add wcschr support.
27934 (WIDE): New macro.
27935
619fccca
LD
279362011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27937
2d09f82f 27938 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27939 * wcsmbs/test-wcslen.c: New file.
27940 * string/test-strlen.c: Update.
27941 Add wcslen support.
27942 (WIDE): New macro.
27943
09f699ea
UD
279442011-10-23 Ulrich Drepper <drepper@gmail.com>
27945
27946 * po/it.po: Update from translation team.
27947
95584d3b
LD
279482011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27949
27950 * sysdeps/x86_64/wcscmp.S: Update.
27951 Fix wrong comparison semantics.
27952 wcscmp shall use signed comparison not unsigned.
27953 Don't use substraction to avoid overflow bug.
27954 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27955 * wcsmbc/wcscmp.c: Likewise.
27956 * string/test-strcmp.c: Likewise.
27957 Add new tests to check cases with negative values.
27958
c8b3296b
UD
279592011-10-23 Ulrich Drepper <drepper@gmail.com>
27960
27961 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27962 * sysdeps/x86_64/dla.h: ...here. New file.
27963 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27964 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27965 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27966 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27968 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27969 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27970 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27971 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27972
246ad57a
AS
279732011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27974
27975 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27976 __ynl_finite aliases.
27977
a1a87169
UD
279782011-10-22 Ulrich Drepper <drepper@gmail.com>
27979
0d355eb7
UD
27980 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27981
a1a87169
UD
27982 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27983 define DLA_FMA.
27984 [DLA_FMA] (EMULV): Use DLA_FMA.
27985 [DLA_FMA] (MUL12): Use EMULV.
27986 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27987 that are not needed.
27988 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27989 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27991 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27992 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27993 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27994 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27995
ee2aafe0
AS
279962011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27997
27998 * math/s_nan.c: Undef __nan.
27999 * math/s_nanf.c: Undef __nanf.
28000 * math/s_nanl.c: Undef __nanl.
28001 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28002 "math_private.h".
28003
bc62c2fb
UD
280042011-10-22 Ulrich Drepper <drepper@gmail.com>
28005
77425c63
UD
28006 * math/s_catan.c: Add branch predictions.
28007 * math/s_catanf.c: Likewise.
28008 * math/s_catanh.c: Likewise.
28009 * math/s_catanhf.c: Likewise.
28010 * math/s_catanhl.c: Likewise.
28011 * math/s_catanl.c: Likewise.
28012 * math/s_cexp.c: Likewise.
28013 * math/s_cexpf.c: Likewise.
28014 * math/s_cexpl.c: Likewise.
28015 * math/s_clog.c: Likewise.
28016 * math/s_clog10.c: Likewise.
28017 * math/s_clog10f.c: Likewise.
28018 * math/s_clog10l.c: Likewise.
28019 * math/s_clogf.c: Likewise.
28020 * math/s_clogl.c: Likewise.
28021 * math/s_csqrt.c: Likewise.
28022 * math/s_csqrtf.c: Likewise.
28023 * math/s_csqrtl.c: Likewise.
28024 * math/s_ctanf.c: Likewise.
28025 * math/s_ctanh.c: Likewise.
28026 * math/s_ctanhf.c: Likewise.
28027 * math/s_ctanhl.c: Likewise.
28028 * math/s_ctanl.c: Likewise.
28029
bc62c2fb
UD
28030 * math/math_private.h: Define __nan, __nanf, __nanl.
28031 * math/s_cacosh.c: Include <math_private.h>.
28032 * math/s_cacoshl.c: Likewise.
28033 * math/s_casinh.c: Likewise.
28034 * math/s_casinhf.c: Likewise.
28035 * math/s_casinhl.c: Likewise.
28036 * math/s_ccos.c: Rely entire on ccosh.
28037 * math/s_ccosf.c: Rely entire on ccoshf.
28038 * math/s_ccosl.c: Rely entirely on ccoshl.
28039 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28040 Remove tests for FE_INVALID.
28041 * math/s_ccoshf.c: Likewise.
28042 * math/s_ccoshl.c: Likewise.
28043 * math/s_csin.c: Likewise.
28044 * math/s_csinf.c: Likewise.
28045 * math/s_csinh.c Likewise.
28046 * math/s_csinhf.c: Likewise.
28047 * math/s_csinhl.c: Likewise.
28048 * math/s_csinl.c: Likewise.
28049 * math/s_ctan.c: Likewise.
28050 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28051 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28052 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28053
8ec250a4
UD
280542011-10-21 Ulrich Drepper <drepper@gmail.com>
28055
c196fed8
UD
28056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28057 compilation problems.
28058
8ec250a4
UD
28059 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28060 __builtin_expect.
28061
8d4f46c6
UD
280622011-10-20 Ulrich Drepper <drepper@gmail.com>
28063
ed72b654
UD
28064 * sysdeps/i386/configure.in: Test for -mfma4 option.
28065 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28066 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28067 COMMON_CPUID_INDEX_80000001.
28068 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28069 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28070 use it if FMA3 is not supported.
28071 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28072
8d4f46c6
UD
28073 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28074 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28075
d45c60c2
AS
280762011-10-20 Andreas Schwab <schwab@redhat.com>
28077
28078 [BZ #12892]
28079 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28080 it would create a cycle with a link time dependency.
28081
d9a4d2ab
UD
280822011-10-19 Ulrich Drepper <drepper@gmail.com>
28083
855d1560
UD
28084 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28085 instruction.
28086 * string/Makefile (strop-tests): Add rawmemchr.
28087 * string/test-rawmemchr.c: New file.
28088
d9a4d2ab
UD
28089 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28090 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28091 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28092 when compiling str{,n}casecmp and when AVX is available. Hook up
28093 new optimized code in initializers.
28094
8f3b1ffe
AS
280952011-10-19 Andreas Schwab <schwab@redhat.com>
28096
28097 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28098 __feraiseexcept instead of feraiseexcept.
28099
d38f1dba
UD
281002011-10-18 Ulrich Drepper <drepper@gmail.com>
28101
d9a8d0ab
UD
28102 * math/math_private.h: Define defaults for libc_fetestexcept and
28103 libc_feupdateenv.
28104 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28105 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28106 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28107 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28108 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28109 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28110 libc_fetestexcept and libc_feupdateenv.
28111
4855e3dd
UD
28112 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28113 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28114 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28115 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28116 libc_feholdexcept_setround.
28117
581d30e3
UD
28118 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28119 Add s_nearbyint-c and s_nearbyintf-c.
28120 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28121 nearbyintf inlines.
28122 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28123 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28124 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28125 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28126
d38f1dba
UD
28127 * math/math_private.h: Define defaults for libc_fegetround,
28128 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28129 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28130 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28131 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28132 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28133 standard functions.
28134 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28135 Remove comments and hacks for old compiler versions.
28136 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28137 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28138 libc_feholdexceptl.
28139
caa6c9d8
AS
281402011-10-18 Andreas Schwab <schwab@redhat.com>
28141
28142 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
28143 (__feraiseexcept_renamed): Add __NTH.
28144 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
28145 namespace violations.
28146
97c066e6
UD
281472011-10-17 Ulrich Drepper <drepper@gmail.com>
28148
99ce7b04
UD
28149 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28150
1004d182
UD
28151 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28152
228a984d
UD
28153 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28154 recently added interfaces.
28155 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28156
c8553a6a
UD
28157 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28158 about macro parameter expansion.
28159
ed22dcf6
UD
28160 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28161 __NO_MATH_INLINES is defined. Cleanups.
28162
28163 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28164 and __floorf is target has SSE4.1.
28165 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28166 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28167 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28168 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28169
b171c137
UD
28170 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28171 name.
28172 (floorf): Likewise.
28173
97c066e6
UD
28174 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28175
629f62ef
AS
281762011-10-17 Andreas Schwab <schwab@redhat.com>
28177
49a43d80
AS
28178 * misc/sys/cdefs.h: Fix last change.
28179
629f62ef
AS
28180 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28181 database lookup.
28182
e453f6cd
UD
281832011-10-16 Ulrich Drepper <drepper@gmail.com>
28184
aa78043a
UD
28185 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28186
ad0f5cad
UD
28187 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28188 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28189 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28190 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28191 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28192 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28193 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28194 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28195 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28196 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28197 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28198 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28199 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28200 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28201 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28202 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28203 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28204 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28205 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28206 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28207 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28208 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28209
28210 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28211 ceil, ceilf, floor, floorf.
28212
28213 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28214 Perform IRELATIVE relocations last.
28215
e453f6cd
UD
28216 * elf/do-rel.h: Add another parameter nrelative, replacing the
28217 local variable with the same name. Change name of the function
28218 to end in Rel or Rela (uppercase).
28219 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28220 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28221 elf_dynamic_do_##reloc function.
28222
fd5bdc09
UD
282232011-10-15 Ulrich Drepper <drepper@gmail.com>
28224
79b195b5
UD
28225 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28226 is sufficient, at least on modern CPUs.
28227
d4a28569
UD
28228 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28229
b61099b5
UD
28230 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28231 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28232
bcf01e6d
UD
28233 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28234 __expl_finite.
28235 * math/bits/math-finite.h: Add entries for exp.
28236 * math/e_expl.c: Add __*_finite alias.
28237 * sysdeps/i386/fpu/e_exp.S: Likewise.
28238 * sysdeps/i386/fpu/e_expf.S: Likewise.
28239 * sysdeps/i386/fpu/e_expl.c: Likewise.
28240 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28241 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28242 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28243 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28244 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28245 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28246 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28247
ba1a0d59
UD
28248 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28249 is sufficient, at least on modern CPUs.
28250
fd5bdc09
UD
28251 * ctype/ctype-info.c (__ctype_init): Define.
28252 * include/ctype.h (__ctype_init): Declare.
28253 (__ctype_b_loc): The variable is always initialized.
28254 (__ctype_toupper_loc): Likewise.
28255 (__ctype_tolower_loc): Likewise.
28256 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28257 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28258
7872cfb0
AS
282592011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28260
b468825a
AS
28261 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28262
7872cfb0
AS
28263 * configure.in: Also look in $cxxmachine/include for C++ system
28264 headers.
28265
be13f7bf
LD
282662011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28267
28268 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28269 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28270 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28271 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28272 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28273 (USE_AS_WMEMCMP): New macro.
28274 Fixing indents.
28275 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28276 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28277 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28278 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28280 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28281 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28282 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28283 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28284 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28285 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28286 (USE_AS_WMEMCMP): New macro.
28287 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28288 * sysdeps/string/test-memcmp.c: Update.
28289 Fix simple_wmemcmp.
28290 Add new tests.
28291 * wcsmbs/wmemcmp.c: Update.
28292 (WMEMCMP): New macro.
28293 Fix overflow bug.
28294
556a2007
AJ
282952011-10-12 Andreas Jaeger <aj@suse.de>
28296
28297 [BZ #13268]
28298 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28299
538faaa7
UD
283002011-10-15 Ulrich Drepper <drepper@gmail.com>
28301
ab6737ff
UD
28302 * libio/iofwide.c (do_length): Avoid warning.
28303
538faaa7
UD
28304 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28305
396a21b1
UD
283062011-10-14 Ulrich Drepper <drepper@gmail.com>
28307
cdf2901f
UD
28308 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28309
38ad40ce
UD
28310 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28311 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28312 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28313 * sysdeps/i386/i686/fpu/e_log.S: New file.
28314 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28315 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28316
396a21b1
UD
28317 * ctype/ctype.h: Add support for inlined isXXX functions when
28318 compiling C++ code.
28319
6b1f68c9
AS
283202011-10-14 Andreas Schwab <schwab@redhat.com>
28321
349290c0
AS
28322 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28323
6b1f68c9
AS
28324 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28325
f2282d42
RM
283262011-10-13 Roland McGrath <roland@hack.frob.com>
28327
28328 [BZ #13291]
28329 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28330
5298ffa8
AS
283312011-10-13 Andreas Schwab <schwab@redhat.com>
28332
714fad23
AS
28333 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28334 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28335 feraiseexcept.
28336
81dcc7fb
AS
28337 * sysdeps/x86_64/memrchr.S: Check for zero size.
28338
5298ffa8
AS
28339 * string/stratcliff.c: Add memrchr tests.
28340
951fbcec
LD
283412011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28342
28343 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28344 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28345 rawmemchr-sse2 rawmemchr-sse2-bsf.
28346 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28347 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28348 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28349 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28350 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28351 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28352 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28353 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28354 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28355 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28356 * string/memrchr.c (MEMRCHR): New macro.
28357
0ac5ae23
UD
283582011-10-12 Ulrich Drepper <drepper@gmail.com>
28359
28360 Add integration with gcc's -ffinite-math-only and optimize wrapper
28361 functions in libm.
28362 * Versions.def: Define GLIBC_2.15 version for libm.
28363 * math/Makefile (headers): Add bits/math-finite.h.
28364 * math/bits/math-finite.h: New file.
28365 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28366 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28367 * math/e_acoshl.c: Add __*_finite alias.
28368 * math/e_acosl.c: Likewise.
28369 * math/e_asinl.c: Likewise.
28370 * math/e_atan2l.c: Likewise.
28371 * math/e_atanhl.c: Likewise.
28372 * math/e_coshl.c: Likewise.
28373 * math/e_exp10.c: Likewise.
28374 * math/e_exp10f.c: Likewise.
28375 * math/e_exp10l.c: Likewise.
28376 * math/e_exp2l.c: Likewise.
28377 * math/e_fmodl.c: Likewise.
28378 * math/e_gammal_r.c: Likewise.
28379 * math/e_hypotl.c: Likewise.
28380 * math/e_j0l.c: Likewise.
28381 * math/e_j1l.c: Likewise.
28382 * math/e_jnl.c: Likewise.
28383 * math/e_lgammal_r.c: Likewise.
28384 * math/e_log10l.c: Likewise.
28385 * math/e_log2l.c: Likewise.
28386 * math/e_logl.c: Likewise.
28387 * math/e_powl.c: Likewise.
28388 * math/e_sinhl.c: Likewise.
28389 * math/e_sqrtl.c: Likewise.
28390 * math/e_scalb.c: Completely rewritten and optimized.
28391 * math/e_scalbf.c: Likewise.
28392 * math/e_scalbl.c: Likewise.
28393 * math/w_acos.c: Likewise.
28394 * math/w_acosf.c: Likewise.
28395 * math/w_acosl.c: Likewise.
28396 * math/w_acosh.c: Likewise.
28397 * math/w_acoshf.c: Likewise.
28398 * math/w_acoshl.c: Likewise.
28399 * math/w_asin.c: Likewise.
28400 * math/w_asinf.c: Likewise.
28401 * math/w_asinl.c: Likewise.
28402 * math/w_atan2.c: Likewise.
28403 * math/w_atan2f.c: Likewise.
28404 * math/w_atan2l.c: Likewise.
28405 * math/w_atanh.c: Likewise.
28406 * math/w_atanhf.c: Likewise.
28407 * math/w_atanhl.c: Likewise.
28408 * math/w_exp10.c: Likewise.
28409 * math/w_exp10f.c: Likewise.
28410 * math/w_exp10l.c: Likewise.
28411 * math/w_fmod.c: Likewise.
28412 * math/w_fmodf.c: Likewise.
28413 * math/w_fmodl.c: Likewise.
28414 * math/w_j0.c: Likewise.
28415 * math/w_j0f.c: Likewise.
28416 * math/w_j0l.c: Likewise.
28417 * math/w_j1.c: Likewise.
28418 * math/w_j1f.c: Likewise.
28419 * math/w_j1l.c: Likewise.
28420 * math/w_jn.c: Likewise.
28421 * math/w_jnf.c: Likewise.
28422 * math/w_log.c: Likewise.
28423 * math/w_logf.c: Likewise.
28424 * math/w_logl.c: Likewise.
28425 * math/w_log10.c: Likewise.
28426 * math/w_log10f.c: Likewise.
28427 * math/w_log10l.c: Likewise.
28428 * math/w_log2.c: Likewise.
28429 * math/w_log2f.c: Likewise.
28430 * math/w_log2l.c: Likewise.
28431 * math/w_pow.c: Likewise.
28432 * math/w_powf.c: Likewise.
28433 * math/w_powl.c: Likewise.
28434 * math/w_remainder.c: Likewise.
28435 * math/w_remainderf.c: Likewise.
28436 * math/w_remainderl.c: Likewise.
28437 * math/w_scalb.c: Likewise.
28438 * math/w_scalbf.c: Likewise.
28439 * math/w_scalbl.c: Likewise.
28440 * math/w_sqrt.c: Likewise.
28441 * math/w_sqrtf.c: Likewise.
28442 * math/w_sqrtl.c: Likewise.
28443 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28444 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28445 used.
28446 * math/math_private.h: Declare __kernel_standard_f.
28447 * math/w_cosh.c: Remove cruft and optimize a bit.
28448 * math/w_coshf.c: Likewise.
28449 * math/w_coshl.c: Likewise.
28450 * math/w_exp2.c: Likewise.
28451 * math/w_exp2f.c: Likewise.
28452 * math/w_exp2l.c: Likewise.
28453 * math/w_hypot.c: Likewise.
28454 * math/w_hypotf.c: Likewise.
28455 * math/w_hypotl.c: Likewise.
28456 * math/w_lgamma.c: Likewise.
28457 * math/w_lgamma_r.c: Likewise.
28458 * math/w_lgammaf.c: Likewise.
28459 * math/w_lgammaf_r.c: Likewise.
28460 * math/w_lgammal.c: Likewise.
28461 * math/w_lgammal_r.c: Likewise.
28462 * math/w_sinh.c: Likewise.
28463 * math/w_sinhf.c: Likewise.
28464 * math/w_sinhl.c: Likewise.
28465 * math/w_tgamma.c: Likewise.
28466 * math/w_tgammaf.c: Likewise.
28467 * math/w_tgammal.c: Likewise.
28468 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28469 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28470 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28471 Minor optimizations. Pretty printing. Remove cruft.
28472 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28473 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28474 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28475 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28476 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28477 * sysdeps/i386/fpu/e_asin.S: Likewise.
28478 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28479 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28480 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28481 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28482 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28483 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28484 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28485 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28486 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28487 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28488 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28489 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28490 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28491 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28492 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28493 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28494 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28495 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28496 * sysdeps/i386/fpu/e_log.S: Likewise.
28497 * sysdeps/i386/fpu/e_log10.S: Likewise.
28498 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28499 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28500 * sysdeps/i386/fpu/e_log2.S: Likewise.
28501 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28502 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28503 * sysdeps/i386/fpu/e_logf.S: Likewise.
28504 * sysdeps/i386/fpu/e_logl.S: Likewise.
28505 * sysdeps/i386/fpu/e_pow.S: Likewise.
28506 * sysdeps/i386/fpu/e_powf.S: Likewise.
28507 * sysdeps/i386/fpu/e_powl.S: Likewise.
28508 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28509 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28510 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28511 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28512 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28513 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28514 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28515 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28516 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28517 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28518 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28519 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28520 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28521 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28522 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28523 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28524 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28525 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28526 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28527 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28528 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28529 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28530 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28531 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28532 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28533 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28534 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28535 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28536 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28537 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28538 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28539 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28540 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28541 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28542 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28543 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28544 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28545 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28546 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28547 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28548 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28549 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28550 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28551 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28552 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28553 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28554 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28555 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28556 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28557 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28558 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28559 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28560 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28561 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28562 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28563 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28564 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28565 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28566 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28567 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28568 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28569 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28570 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28571 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28572 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28573 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28574 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28575 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28576 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28577 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28578 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28579 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28580 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28581 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28582 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28583 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28584 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28585 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28586 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28587 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28588 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28589 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28590 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28591 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28592 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28593 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28594 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28595 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28596 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28597 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28598 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28599 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28600 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28601 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28602 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28603 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28604 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28605 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28606 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28607 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28608 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28609 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28610 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28611 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28612 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28613 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28614 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28615 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28616 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28617 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28618 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28619 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28620 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28621 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28622 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28623 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28624 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28625 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28626 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28627 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28628 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28629 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28630 (__isnanf): Likewise.
28631 (__isinf_ns): Likewise.
28632 (__isinf_nsf): Likewise.
28633 (__finite): Likewise.
28634 (__finitef): Likewise.
28635 (__ieee754_sqrt): Define as macro.
28636 (__ieee754_sqrtf): Define as macro.
28637 (__ieee754_sqrtl): Define as macro.
28638 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28639 inlined copy.
28640 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28641 __FINITE_MATH_ONLY__ consistent.
28642 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28643
12cc2fcd
AS
286442011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28645
a843a204
AS
28646 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28647 of rawmemchr.
28648
12cc2fcd
AS
28649 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28650
c853acd5
UD
286512011-10-09 Ulrich Drepper <drepper@gmail.com>
28652
28653 * po/ja.po: Update from translation team.
28654
c658d255
RM
286552011-10-08 Roland McGrath <roland@hack.frob.com>
28656
110946e4
RM
28657 * locale/programs/locarchive.c (prepare_address_space): New function.
28658 (create_archive, enlarge_archive, open_archive): Use it.
28659
50604220
RM
28660 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28661 inside [SHARED], where it is used.
28662
c658d255
RM
28663 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28664
28665 * nss/getent.c (netgroup_keys): Remove unused variable.
28666 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28667
6a621eb7
UD
286682011-10-08 Ulrich Drepper <drepper@gmail.com>
28669
7edb55ce
UD
28670 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28671 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28672 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28673 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28674 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28675 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28676 * math/Makefile (libm-calls): Add s_isinf_ns.
28677 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28678 * math/multc3.c: Likewise.
28679 * math/s_casin.c: Likewise.
28680 * math/s_casinf.c: Likewise.
28681 * math/s_casinl.c: Likewise.
28682 * math/s_ccos.c: Likewise.
28683 * math/s_ccosf.c: Likewise.
28684 * math/s_ccosl.c: Likewise.
28685 * math/s_ctan.c: Likewise.
28686 * math/s_ctanf.c: Likewise.
28687 * math/s_ctanh.c: Likewise.
28688 * math/s_ctanhf.c: Likewise.
28689 * math/s_ctanhl.c: Likewise.
28690 * math/s_ctanl.c: Likewise.
28691 * math/w_fmod.c: Likewise.
28692 * math/w_fmodf.c: Likewise.
28693 * math/w_fmodl.c: Likewise.
28694 * math/w_remainder.c: Likewise.
28695 * math/w_remainderf.c: Likewise.
28696 * math/w_remainderl.c: Likewise.
28697 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28698 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28699 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28700 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28701 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28702 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28703 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28704 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28705
187da0ae
UD
28706 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28707 of the number.
28708 * stdio-common/printf_fphex.c: Likewise.
28709 * stdio-common/printf_size.c: Likewise.
28710
9277c064
UD
28711 * math/e_exp10.c: Include math_private.h using <...> not "...".
28712 * math/e_exp10f.c: Likewise.
28713 * math/e_exp10l.c: Likewise.
28714 * math/e_exp2l.c: Likewise.
28715 * math/e_j0l.c: Likewise.
28716 * math/e_j1l.c: Likewise.
28717 * math/e_jnl.c: Likewise.
28718 * math/e_lgammal_r.c: Likewise.
28719 * math/e_rem_pio2l.c: Likewise.
28720 * math/e_scalb.c: Likewise.
28721 * math/e_scalbf.c: Likewise.
28722 * math/e_scalbl.c: Likewise.
28723 * math/k_cosl.c: Likewise.
28724 * math/k_sinl.c: Likewise.
28725 * math/k_tanl.c: Likewise.
28726 * math/s_cacoshf.c: Likewise.
28727 * math/s_catan.c: Likewise.
28728 * math/s_catanf.c: Likewise.
28729 * math/s_catanh.c: Likewise.
28730 * math/s_catanhf.c: Likewise.
28731 * math/s_catanhl.c: Likewise.
28732 * math/s_catanl.c: Likewise.
28733 * math/s_ccosh.c: Likewise.
28734 * math/s_ccoshf.c: Likewise.
28735 * math/s_ccoshl.c: Likewise.
28736 * math/s_cexp.c: Likewise.
28737 * math/s_cexpf.c: Likewise.
28738 * math/s_cexpl.c: Likewise.
28739 * math/s_clog.c: Likewise.
28740 * math/s_clog10.c: Likewise.
28741 * math/s_clog10f.c: Likewise.
28742 * math/s_clog10l.c: Likewise.
28743 * math/s_clogf.c: Likewise.
28744 * math/s_clogl.c: Likewise.
28745 * math/s_csin.c: Likewise.
28746 * math/s_csinf.c: Likewise.
28747 * math/s_csinh.c: Likewise.
28748 * math/s_csinhf.c: Likewise.
28749 * math/s_csinhl.c: Likewise.
28750 * math/s_csinl.c: Likewise.
28751 * math/s_csqrt.c: Likewise.
28752 * math/s_csqrtf.c: Likewise.
28753 * math/s_csqrtl.c: Likewise.
28754 * math/s_ctan.c: Likewise.
28755 * math/s_ctanf.c: Likewise.
28756 * math/s_ctanh.c: Likewise.
28757 * math/s_ctanhf.c: Likewise.
28758 * math/s_ctanhl.c: Likewise.
28759 * math/s_ctanl.c: Likewise.
28760 * math/s_ldexp.c: Likewise.
28761 * math/s_ldexpf.c: Likewise.
28762 * math/s_ldexpl.c: Likewise.
28763 * math/s_significand.c: Likewise.
28764 * math/s_significandf.c: Likewise.
28765 * math/s_significandl.c: Likewise.
28766 * math/w_acos.c: Likewise.
28767 * math/w_acosf.c: Likewise.
28768 * math/w_acosh.c: Likewise.
28769 * math/w_acoshf.c: Likewise.
28770 * math/w_acoshl.c: Likewise.
28771 * math/w_acosl.c: Likewise.
28772 * math/w_asin.c: Likewise.
28773 * math/w_asinf.c: Likewise.
28774 * math/w_asinl.c: Likewise.
28775 * math/w_atan2.c: Likewise.
28776 * math/w_atan2f.c: Likewise.
28777 * math/w_atan2l.c: Likewise.
28778 * math/w_atanh.c: Likewise.
28779 * math/w_atanhf.c: Likewise.
28780 * math/w_atanhl.c: Likewise.
28781 * math/w_cosh.c: Likewise.
28782 * math/w_coshf.c: Likewise.
28783 * math/w_coshl.c: Likewise.
28784 * math/w_dremf.c: Likewise.
28785 * math/w_exp10.c: Likewise.
28786 * math/w_exp10f.c: Likewise.
28787 * math/w_exp10l.c: Likewise.
28788 * math/w_exp2.c: Likewise.
28789 * math/w_exp2f.c: Likewise.
28790 * math/w_fmod.c: Likewise.
28791 * math/w_fmodf.c: Likewise.
28792 * math/w_fmodl.c: Likewise.
28793 * math/w_hypot.c: Likewise.
28794 * math/w_hypotf.c: Likewise.
28795 * math/w_hypotl.c: Likewise.
28796 * math/w_j0.c: Likewise.
28797 * math/w_j0f.c: Likewise.
28798 * math/w_j0l.c: Likewise.
28799 * math/w_j1.c: Likewise.
28800 * math/w_j1f.c: Likewise.
28801 * math/w_j1l.c: Likewise.
28802 * math/w_jn.c: Likewise.
28803 * math/w_jnf.c: Likewise.
28804 * math/w_jnl.c: Likewise.
28805 * math/w_lgamma.c: Likewise.
28806 * math/w_lgamma_r.c: Likewise.
28807 * math/w_lgammaf.c: Likewise.
28808 * math/w_lgammaf_r.c: Likewise.
28809 * math/w_lgammal.c: Likewise.
28810 * math/w_lgammal_r.c: Likewise.
28811 * math/w_log.c: Likewise.
28812 * math/w_log10.c: Likewise.
28813 * math/w_log10f.c: Likewise.
28814 * math/w_log10l.c: Likewise.
28815 * math/w_log2.c: Likewise.
28816 * math/w_log2f.c: Likewise.
28817 * math/w_log2l.c: Likewise.
28818 * math/w_logf.c: Likewise.
28819 * math/w_logl.c: Likewise.
28820 * math/w_pow.c: Likewise.
28821 * math/w_powf.c: Likewise.
28822 * math/w_powl.c: Likewise.
28823 * math/w_remainder.c: Likewise.
28824 * math/w_remainderf.c: Likewise.
28825 * math/w_remainderl.c: Likewise.
28826 * math/w_scalb.c: Likewise.
28827 * math/w_scalbf.c: Likewise.
28828 * math/w_scalbl.c: Likewise.
28829 * math/w_sinh.c: Likewise.
28830 * math/w_sinhf.c: Likewise.
28831 * math/w_sinhl.c: Likewise.
28832 * math/w_sqrt.c: Likewise.
28833 * math/w_sqrtf.c: Likewise.
28834 * math/w_sqrtl.c: Likewise.
28835 * math/w_tgamma.c: Likewise.
28836 * math/w_tgammaf.c: Likewise.
28837 * math/w_tgammal.c: Likewise.
28838
6a621eb7
UD
28839 * po/ja.po: Update from translation team.
28840
bf582445
AJ
288412011-09-29 Andreas Jaeger <aj@suse.de>
28842
f9efbf3a
AJ
28843 [BZ #13179]
28844 * sunrpc/netname.c (netname2host): Fix logic.
28845
bf582445
AJ
28846 [BZ #6779]
28847 [BZ #6783]
28848 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28849 correctly.
28850 * math/w_remainder.c (__remainder): Likewise.
28851 * math/w_remainderf.c (__remainderf): Likewise.
28852 * math/libm-test.inc (remainder_test): Add test cases.
28853
48693bea
AK
288542011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28855
28856 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28857 sdiv_qrnnd.
28858
42622229
LD
288592011-10-07 Ulrich Drepper <drepper@gmail.com>
28860
28861 * string/test-memcmp.c: Avoid unncessary #defines.
28862 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28863
093ecf92
LD
288642011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28865
28866 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28867 Use new sse2 version for core i3 - i7 as it's faster
28868 than sse42 version.
28869 (bit_Prefer_PMINUB_for_stringop): New.
28870 * sysdeps/x86_64/rawmemchr.S: Update.
28871 Replace with faster SSE2 version.
28872 * sysdeps/x86_64/memrchr.S: New file.
28873 * sysdeps/x86_64/memchr.S: Update.
28874 Replace with faster SSE2 version.
28875
fde56e5c
MP
288762011-09-12 Marek Polacek <mpolacek@redhat.com>
28877
28878 * elf/dl-load.c (lose): Add cast to avoid warning.
28879
21fd49a9
UD
288802011-10-07 Ulrich Drepper <drepper@gmail.com>
28881
5a06e643
UD
28882 * po/ca.po: Update from translation team.
28883
684ae515
UD
28884 * inet/getnetgrent_r.c: Hook up nscd.
28885 * nscd/Makefile (routines): Add nscd_netgroup.
28886 (nscd-modules): Add netgroupcache.
28887 (CFLAGS-netgroupcache.c): Define.
28888 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28889 (cache_search): Add const to second parameter.
28890 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28891 INNETGR.
28892 (dbs): Add netgrdb entry.
28893 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28894 (verify_persistent_db): Handle netgrdb.
28895 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28896 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28897 GETFDNETGR.
28898 (netgroup_response_header): Define.
28899 (innetgroup_response_header): Define.
28900 (datahead): Add netgroup_response_header and innetgroup_response_header
28901 elements.
28902 * nscd/nscd.conf: Add entries for netgroup cache.
28903 * nscd/nscd.h (dbtype): Add netgrdb.
28904 (_PATH_NSCD_NETGROUP_DB): Define.
28905 (netgroup_iov_disabled): Declare.
28906 (xmalloc, xcalloc, xrealloc): Move declarations here.
28907 (cache_search): Adjust prototype.
28908 Add netgroup-related prototypes.
28909 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28910 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28911 (__nscd_innetgr): Declare.
28912 * nscd/selinux.c (perms): Use access_vector_t as element type and
28913 add netgroup-related initializers.
28914 * nscd/netgroupcache.c: New file.
28915 * nscd/nscd_netgroup.c: New file.
28916 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28917 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28918 For four parameters use innetgr.
28919 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28920 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28921 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28922 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28923
21fd49a9
UD
28924 * nscd/connections.c (register_traced_file): Don't register file
28925 for disabled databases.
28926
054c0457
UD
289272011-10-06 Ulrich Drepper <drepper@gmail.com>
28928
32b63198
UD
28929 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28930
054c0457
UD
28931 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28932 from tree and freeing node.
28933
64031225
JO
289342011-09-25 Jiri Olsa <jolsa@redhat.com>
28935
28936 * nss/nsswitch.c (__nss_database_lookup): Handle
28937 nss_parse_service_list out of memory case.
28938
0490345c
JO
289392011-09-15 Jiri Olsa <jolsa@redhat.com>
28940
28941 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28942 out of memory case.
28943
3a62d00d
AS
289442011-10-04 Andreas Schwab <schwab@redhat.com>
28945
28946 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28947 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28948 pass it down.
28949 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28950 elf_machine_rela, elf_machine_lazy_rel.
28951 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28952 (ELF_DYNAMIC_DO_REL): Likewise.
28953 (ELF_DYNAMIC_DO_RELA): Likewise.
28954 (ELF_DYNAMIC_RELOCATE): Likewise.
28955 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28956 to ELF_DYNAMIC_DO_REL.
28957 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28958 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28959 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28960 elf_machine_rela.
28961 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28962 skip_ifunc, don't call ifunc function if non-zero.
28963 (elf_machine_rela): Likewise.
28964 (elf_machine_lazy_rel): Likewise.
28965 (elf_machine_lazy_rela): Likewise.
28966 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28967 (elf_machine_lazy_rel): Likewise.
28968 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28969 Likewise.
28970 (elf_machine_lazy_rel): Likewise.
28971 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28972 Likewise.
28973 (elf_machine_lazy_rel): Likewise.
28974 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28975 (elf_machine_lazy_rel): Likewise.
28976 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28977 (elf_machine_lazy_rel): Likewise.
28978 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28979 (elf_machine_lazy_rel): Likewise.
28980 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28981 (elf_machine_lazy_rel): Likewise.
28982 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28983 (elf_machine_lazy_rel): Likewise.
28984 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28985 (elf_machine_lazy_rel): Likewise.
28986
68577918
UD
289872011-09-28 Ulrich Drepper <drepper@gmail.com>
28988
28989 * nss/nss_files/files-init.c (_nss_files_init): Use static
28990 initialization for all the *_traced_file variables.
28991
68822d74
AS
289922011-09-28 Andreas Schwab <schwab@redhat.com>
28993
28994 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28995
2056100b
RM
289962011-09-27 Roland McGrath <roland@hack.frob.com>
28997
28998 [BZ #13226]
28999 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29000
32c76b63
AS
290012011-09-27 Andreas Schwab <schwab@redhat.com>
29002
29003 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29004 Reread the line before reparsing it.
29005
bf972c9d
AS
290062011-09-26 Andreas Schwab <schwab@redhat.com>
29007
29008 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29009
e057a1b5
JM
290102011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29011 Maxim Kuvyrkov <maxim@codesourcery.com>
29012 Joseph Myers <joseph@codesourcery.com>
29013
29014 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29015 if needed for __stack_chk_guard.
29016
bc7e1c36
RM
290172011-09-19 Roland McGrath <roland@hack.frob.com>
29018
ecb1482f
RM
29019 * sysdeps/posix/spawni.c (script_execute): Always define it.
29020 It will be optimized away if unused.
29021 (maybe_script_execute): New function.
29022 (__spawni): Call it.
29023
bc7e1c36
RM
29024 * Makerules: Don't include tls.make.
29025 (config-tls): Always set to thread.
29026 * tls.make.c: File removed.
29027
1c3b002b
MF
290282011-09-19 Mike Frysinger <vapier@gentoo.org>
29029
29030 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29031 * config.make.in (CPPFLAGS-config): New substituted variable.
29032
2840865d
UD
290332011-09-15 Ulrich Drepper <drepper@gmail.com>
29034
88738eb6
UD
29035 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29036
cbf645a6 29037 [BZ #13192]
2840865d
UD
29038 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29039 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29040
b402e91a
RM
290412011-09-15 Roland McGrath <roland@hack.frob.com>
29042
29043 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29044 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29045 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29046 (CALL_FAIL): Likewise.
29047 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29048 (CALL_FAIL): Macro removed.
29049 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29050
4c1a1f71
UD
290512011-09-15 Ulrich Drepper <drepper@gmail.com>
29052
29053 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29054 for __FINITE_MATH_ONLY__ == 1.
29055
edc121be
AS
290562011-09-15 Andreas Schwab <schwab@redhat.com>
29057
29058 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29059 __ieee754_sqrt instead of sqrt.
29060 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29061 __ieee754_sqrtf instead of sqrtf.
29062 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29063 __floorf instead of floorf.
29064 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29065 __floorf, __truncf instead of floorf, truncf.
29066
cd205654
UD
290672011-09-14 Ulrich Drepper <drepper@gmail.com>
29068
ee4d0315
UD
29069 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29070
cd205654
UD
29071 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29072 __extern_always_inline.
29073 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29074 32-bit.
29075
48b67d71
AS
290762011-09-14 Andreas Schwab <schwab@redhat.com>
29077
29078 * elf/rtld.c (dl_main): Also relocate in dependency order when
29079 doing symbol dependency testing.
29080
1ae12c75
AS
290812011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29082
29083 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29084 Always define `refsym'.
29085
995a80df
AS
290862011-09-13 Andreas Schwab <schwab@redhat.com>
29087
e529793b
AS
29088 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29089 (__FD_ELT): Renamed from __FDELT.
29090 * misc/bits/select2.h (__FD_ELT): Likewise.
29091 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29092 __FD_MASK instead of __FDELT, __FDMASK.
29093 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29094 Likewise.
29095 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29096 Likewise.
29097
52d4fef8
AS
29098 * elf/Makefile (gen-ldd): Fix pattern.
29099
995a80df
AS
29100 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29101 (init_tls): Likewise.
29102
8682f8b0
UD
291032011-09-12 Ulrich Drepper <drepper@gmail.com>
29104
29105 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29106
de82006d
AS
291072011-09-12 Andreas Schwab <schwab@redhat.com>
29108
a7c8e6a1
AS
29109 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29110 `struct cmsghdr *' instead of `void *'.
29111 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29112 Likewise.
29113
0f31fe77
AS
291142011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29115
29116 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29117 if non-absolute.
29118 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29119 ldd_rewrite_script.
0f31fe77 29120
32b4c839
UD
291212011-09-11 Ulrich Drepper <drepper@gmail.com>
29122
83cd1420
UD
29123 * configure.in: Remove --with-tls option.
29124 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29125 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29126 out in case it is missing.
29127 * sysdeps/ia64/elf/configure.in: Likewise.
29128 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29129 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29130 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29131 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29132 * sysdeps/sh/elf/configure.in: Likewise.
29133 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29134 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29135 * sysdeps/x86_64/elf/configure.in: Likewise.
29136 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29137 * sysdeps/mach/hurd/tls.h: Likewise.
29138
633f745d
UD
29139 [BZ #13067]
29140 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29141
f318beb8
UD
29142 [BZ #13090]
29143 * configure.in: Fix use of AC_INIT.
29144
32b4c839
UD
29145 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29146
3ce1f295
UD
291472011-09-10 Ulrich Drepper <drepper@gmail.com>
29148
bb016596
UD
29149 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29150 __set_errno.
8e58439c
UD
29151 * malloc/hooks.c: Likewise.
29152
aebae053 29153 [BZ #11929]
02d46fc4
UD
29154 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29155 variables statically.
29156 (narenas): Initialize.
29157 (list_lock): Initialize.
bb016596
UD
29158 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29159 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
29160 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29161 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29162 Add initializers to main_arena and mp_.
29163 (malloc_state): Remove pagesize member. Change all users to use
29164 GLRO(dl_pagesize).
29165
29166 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29167 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29168 is always initialized.
29169
22a89187
UD
29170 * malloc/malloc.c: Removed unused configurations and dead code.
29171 * malloc/arena.c: Likewise.
29172 * malloc/hooks.c: Likewise.
02d46fc4 29173 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 29174
d063d164
UD
29175 * include/tls.h: Removed. USE___THREAD must always be defined.
29176 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29177 * elf/dl-libc.c: Likewise.
29178 * elf/dl-tsd.c: Likewise.
29179 * include/errno.h: Likewise.
29180 * include/netdb.h: Likewise.
29181 * include/resolv.h: Likewise.
29182 * inet/herrno-loc.c: Likewise.
29183 * inet/herrno.c: Likewise.
29184 * malloc/arena.c: Likewise.
29185 * malloc/hooks.c: Likewise.
29186 * malloc/malloc.c: Likewise.
29187 * resolv/res-state.c: Likewise.
29188 * resolv/res_libc.c: Likewise.
29189 * sysdeps/i386/dl-machine.h: Likewise.
29190 * sysdeps/ia64/dl-machine.h: Likewise.
29191 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29192 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29193 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29194 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29195 * sysdeps/sh/dl-machine.h: Likewise.
29196 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29197 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29198 * sysdeps/unix/i386/sysdep.S: Likewise.
29199 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29200 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29201 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29202 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29203 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29204 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29205 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29206 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29207 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29209 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29210 * sysdeps/x86_64/dl-machine.h: Likewise.
29211 * tls.make.c: Likewise.
29212
3ce1f295
UD
29213 * configure.in: Remove --with-__thread option. Make tests for
29214 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29215 tls_model attribute fail if no support is available. Remove
29216 USE_IN_LIBIO.
29217 * Makeconfig: Adjust for dropped configure option. All features are
29218 now mandatory.
29219 * Makerules: Likewise.
29220 * Versions.def: Likewise.
29221 * argp/argp-fmtstream.c: Likewise.
29222 * argp/argp-fmtstream.h: Likewise.
29223 * argp/argp-help.c: Likewise.
29224 * assert/assert.c: Likewise.
29225 * config.h.in: Likewise.
29226 * config.make.in: Likewise.
29227 * configure: Likewise.
29228 * configure.in: Likewise.
29229 * csu/Versions: Likewise.
29230 * csu/init.c: Likewise.
29231 * elf/tst-audit2.c: Likewise.
29232 * elf/tst-tls10.c: Likewise.
29233 * elf/tst-tls10.h: Likewise.
29234 * elf/tst-tls11.c: Likewise.
29235 * elf/tst-tls12.c: Likewise.
29236 * elf/tst-tls14.c: Likewise.
29237 * elf/tst-tlsmod11.c: Likewise.
29238 * elf/tst-tlsmod12.c: Likewise.
29239 * elf/tst-tlsmod13.c: Likewise.
29240 * elf/tst-tlsmod13a.c: Likewise.
29241 * elf/tst-tlsmod14a.c: Likewise.
29242 * elf/tst-tlsmod15b.c: Likewise.
29243 * elf/tst-tlsmod16a.c: Likewise.
29244 * elf/tst-tlsmod16b.c: Likewise.
29245 * elf/tst-tlsmod7.c: Likewise.
29246 * elf/tst-tlsmod8.c: Likewise.
29247 * elf/tst-tlsmod9.c: Likewise.
29248 * gmon/gmon.c: Likewise.
29249 * grp/fgetgrent_r.c: Likewise.
29250 * grp/putgrent.c: Likewise.
29251 * hurd/fopenport.c: Likewise.
29252 * include/libc-symbols.h: Likewise.
29253 * include/tls.h: Likewise.
29254 * intl/gettextP.h: Likewise.
29255 * intl/loadinfo.h: Likewise.
29256 * locale/global-locale.c: Likewise.
29257 * locale/localeinfo.h: Likewise.
29258 * mach/devstream.c: Likewise.
29259 * malloc/arena.c: Likewise.
29260 * malloc/set-freeres.c: Likewise.
29261 * misc/err.c: Likewise.
29262 * misc/getttyent.c: Likewise.
29263 * misc/mntent_r.c: Likewise.
29264 * posix/getopt.c: Likewise.
29265 * posix/wordexp.c: Likewise.
29266 * pwd/fgetpwent_r.c: Likewise.
29267 * resolv/Versions: Likewise.
29268 * resolv/res_hconf.c: Likewise.
29269 * shadow/fgetspent_r.c: Likewise.
29270 * shadow/putspent.c: Likewise.
29271 * stdio-common/printf_fphex.c: Likewise.
29272 * stdio-common/tmpfile.c: Likewise.
29273 * stdlib/abort.c: Likewise.
29274 * stdlib/fmtmsg.c: Likewise.
29275 * sunrpc/auth_unix.c: Likewise.
29276 * sunrpc/clnt_perr.c: Likewise.
29277 * sunrpc/clnt_tcp.c: Likewise.
29278 * sunrpc/clnt_udp.c: Likewise.
29279 * sunrpc/clnt_unix.c: Likewise.
29280 * sunrpc/openchild.c: Likewise.
29281 * sunrpc/svc_simple.c: Likewise.
29282 * sunrpc/svc_tcp.c: Likewise.
29283 * sunrpc/svc_udp.c: Likewise.
29284 * sunrpc/svc_unix.c: Likewise.
29285 * sunrpc/xdr.c: Likewise.
29286 * sunrpc/xdr_array.c: Likewise.
29287 * sunrpc/xdr_rec.c: Likewise.
29288 * sunrpc/xdr_ref.c: Likewise.
29289 * sunrpc/xdr_stdio.c: Likewise.
29290
1248c1c4
PB
292912011-09-09 Ulrich Drepper <drepper@gmail.com>
29292
29293 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29294
292952011-07-03 Andreas Jaeger <aj@suse.de>
29296
29297 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29298 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29299 regenerate with gen-libm-tests.pl.
29300
293012010-05-12 Petr Baudis <pasky@suse.cz>
29302
29303 [BZ #11589]
29304 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29305 around j0() zero points by switching to j1().
29306 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29307 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29308 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29309 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29310
f22e1074
UD
293112011-09-09 Ulrich Drepper <drepper@gmail.com>
29312
f19009c1
UD
29313 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29314 instead of 0.
29315 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29316 instead of 0.
f19009c1
UD
29317 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29318 Patch in part by Pavel Roskin <proski@gnu.org>.
29319
3f8cc204
UD
29320 [BZ #13138]
29321 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29322 realloc.
29323 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29324 Free memory block if necessary.
29325
f22e1074
UD
29326 [BZ #12847]
29327 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29328 be NULL. Don't lock in this case.
29329
0a2349f9
RM
293302011-09-09 Roland McGrath <roland@hack.frob.com>
29331
29332 * elf/elf.h (ELFOSABI_GNU): New macro.
29333 (ELFOSABI_LINUX): Define to that.
29334
f3cdd467
DZ
293352011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29336
29337 * string/strncat.c (strncat): Undef the symbol in case it has been
29338 defined in bits/string.h.
29339
74718d13
UD
293402011-09-09 Ulrich Drepper <drepper@gmail.com>
29341
633e9e0f
UD
29342 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29343
0a2349f9 29344 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29345 link map.
29346
f9924780
AJ
293472011-08-17 Andreas Jaeger <aj@suse.de>
29348
29349 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29350
7f5517aa
PP
293512011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29352 Ian Lance Taylor <iant@google.com>
29353
29354 * math/libm-test.inc (lround_test): New testcase.
29355 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29356
762011fe
UD
293572011-09-08 Ulrich Drepper <drepper@gmail.com>
29358
92963737
UD
29359 * Makefile: Remove support for automatic cvs check-ins.
29360 * Makerules: Likewise.
29361 * config.make.in: Likewise.
29362 * configure.in: Likewise.
29363 * intl/Makefile: Likewise.
29364 * locale/Makefile: Likewise.
29365 * po/Makefile: Likewise.
29366 * posix/Makefile: Likewise.
29367 * sysdeps/gnu/Makefile: Likewise.
29368 * sysdeps/mach/hurd/Makefile: Likewise.
29369 * sysdeps/sparc/sparc32/Makefile: Likewise.
29370
b0727fd8
JS
29371 [BZ #13118]
29372 * posix/Makefile (bug-regex32-ENV): Define.
29373 Patch by John Stanley <jpsinthemix@verizon.net>.
29374
a0f33f99
UD
29375 * misc/Makefile (headers): Add bits/select2.h.
29376 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29377 * misc/bits/select2.h: New file.
29378 * include/bits/select2.h: New file.
29379 * debug/Makefile (routines): Add fdelt_chk.
29380 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29381 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29382 FD_ISSET.
29383 * debug/fdelt_chk.c: New file.
29384
762011fe
UD
29385 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29386 * wcsmbs/test-wmemcmp.c: Likewise.
29387 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29388 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29389
293902011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29391
29392 * string/Makefile (strop-tests): Add memcmp.
29393 * string/test-wmemcmp.c: New file.
29394 * string/test-memcmp.c: Add wmemcmp support.
29395
7f513ec8
RM
293962011-09-08 Roland McGrath <roland@hack.frob.com>
29397
0442afb4
RM
29398 [BZ #13153]
29399 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29400 2011-07-19 change.
29401
7f513ec8
RM
29402 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29403 garbage value in a __mach_port_mod_refs call in the cases of the
29404 task-self and thread-self ports.
29405
a12b2239
ST
294062011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29407
29408 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29409
610f9ab4
AS
294102011-09-08 Andreas Schwab <schwab@redhat.com>
29411
7f513ec8 29412 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29413
48882a1a
LD
294142011-09-07 Ulrich Drepper <drepper@gmail.com>
29415
b49865be
UD
29416 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29417
fdc86bc9
UD
29418 * elf/dl-libc.c (dlerror_run): Pass back error code from
29419 dl_catch_error.
29420
c966526a
UD
29421 [BZ #13123]
29422 * elf/dl-load.c (lose): Free l_origin if it is valid.
29423
48882a1a
LD
29424 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29425 names.
29426 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29427 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29428 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29429 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29430 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29431 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29432
77a2a8b4
AZ
294332011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29434
29435 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29436 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29437 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29438 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29439 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29440 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29441 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29442 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29443 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29444 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29445
24f579d8
AM
294462011-08-15 Alan Modra <amodra@gmail.com>
29447
29448 [BZ #13092]
29449 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29450 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29451 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29452 ppc_mcount to static-only-routines.
29453 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29454 __mcount_internal.
29455 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29456 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29457
3d4837df
UD
294582011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29459
29460 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29461 for finite and infinity parameters.
29462
22700377
WS
294632011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29464
29465 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29466 and add nop instructions for throughput optimization.
29467 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29468
5025581e
WS
294692011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29470
29471 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29472 aligned copy for power7 with vector-scalar instructions.
29473 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29474
08a300c9
L
294752011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29476
29477 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29478 AVX check.
29479
59178ef9
AS
294802011-09-07 Andreas Schwab <schwab@redhat.com>
29481
29482 [BZ #13144]
29483 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29484 last change.
29485
e38ba7ab
UD
294862011-09-07 Ulrich Drepper <drepper@gmail.com>
29487
29488 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29489 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29490 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29491 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29492 clock_gettime.
29493
d53a73ac
UD
294942011-09-06 Ulrich Drepper <drepper@gmail.com>
29495
fc8bffcc
UD
29496 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29497 Forgot to demangle the pointer.
29498
ceaa0c5d
UD
29499 * sysdeps/i386/sysdep.h: Define atom_text_section.
29500 * sysdeps/x86_64/sysdep.h: Likewise.
29501 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29502 section with atom_text_section.
29503 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29504 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29505 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29506 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29507 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29508
a77d3c17
UD
29509 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29510 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29511 already be defined. Change to take two parameters and don't assign
29512 result to variable. Adjust all users.
29513 Define INTERNAL_GETTIME if not already defined.
29514 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29515 call.
29516 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29517 HAVE_CLOCK_GETTIME_VSYSCALL.
29518 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29519
d53a73ac
UD
29520 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29521 gettimeofday vsyscall, just use time.
29522
a8f84144
AS
295232011-09-06 Andreas Schwab <schwab@redhat.com>
29524
29525 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29526 <errno.h>.
29527
ef606249
UD
295282011-09-06 Ulrich Drepper <drepper@gmail.com>
29529
29530 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29531 syscall on x86-64.
29532 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29533 syscall.
29534 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29535 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29536 syscall if possible.
29537
6585cb60
UD
295382011-09-05 Ulrich Drepper <drepper@gmail.com>
29539
29540 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29541 e_ident. Don't pass to find_mapsXX.
29542 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29543
a5f524e4
LD
295442011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29545
29546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29547 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29548 * sysdeps/x86_64/multiarch/strchr.S: Update.
29549 Check bit_slow_BSF bit.
29550 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29551 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29552 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29553
554881ef
UD
295542011-09-05 Ulrich Drepper <drepper@gmail.com>
29555
d96de963
UD
29556 [BZ #13134]
29557 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29558 before glibc 2.15.
29559 (tryshell): Define.
29560 (__spawni): Change last parameter to be flag. Test
29561 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29562 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29563 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29564 * posix/spawni.c: Likewise.
29565 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29566 * posix/spawnp.c: Likewise. Change normal version to use
29567 SPAWN_XFLAGS_USE_PATH.
29568 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29569 SPAWN_XFLAGS_TRY_SHELL.
29570
d48e5868
UD
29571 [BZ #13150]
29572 * posix/glob.h: Remove gcc 1.x support.
29573
554881ef
UD
29574 [BZ #13068]
29575 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29576
693fb948
LD
295772011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29578
29579 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29580 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29581 strrchr-sse2-bsf
29582 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29583 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29584 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29585 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29586 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29587 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29588
1b48c537
UD
295892011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29590
49d42c37
UD
29591 * sysdeps/x86_64/wcscmp.S: New file.
29592
1b48c537
UD
29593 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29594 wcscmp-c wcscmp-sse2
29595 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29596 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29597 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29598 * wcsmbs/wcscmp.c: Allow renaming.
29599
15c95c5d
DM
296002011-09-05 David S. Miller <davem@davemloft.net>
29601
29602 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29603 stack slot, rather than the struct return pointer slot.
29604 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29605 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29607 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29608
2f0ad8f3
UD
296092011-09-05 Ulrich Drepper <drepper@gmail.com>
29610
d88ae418
UD
29611 * po/ja.po: Update from translation team.
29612
2f0ad8f3
UD
29613 [BZ #13144]
29614 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29615 kernel in 64-bit binaries.
29616
5f4318d1
DM
296172011-09-01 David S. Miller <davem@davemloft.net>
29618
29619 * elf/elf.h (HWCAP_SPARC_*): Move to..
29620 * sysdeps/sparc/sysdep.h: this new file and add new values.
29621 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29622 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29623 _DL_HWCAP_COUNT to 24.
29624 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29625 entries.
29626 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29627 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29628 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29629 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29630 instead of magic constants.
29631 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29632
3ba57516
DM
296332011-08-31 David S. Miller <davem@davemloft.net>
29634
29635 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29636 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29637 Reimplement to do errno handling inline.
29638 (SYSCALL_ERROR_HANDLER): New macro.
29639 (__SYSCALL_STRING): Do not do errno handling in asm.
29640 (__CLONE_SYSCALL_STRING): Delete.
29641 (__INTERNAL_SYSCALL_STRING): Delete.
29642 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29643 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29644 (PSEUDO): Reimplement to do errno handling inline.
29645 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29646 (SYSCALL_ERROR_HANDLER): New macro.
29647 (__SYSCALL_STRING): Do not do errno handling in asm.
29648 (__CLONE_SYSCALL_STRING): Delete.
29649 (__INTERNAL_SYSCALL_STRING): Delete.
29650 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29651 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29652 i386.
29653 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29654 (inline_syscall*): Add 'err' argument.
29655 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29656 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29657 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29658 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29659
29660 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29661 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29662
2bc17433
AS
296632011-08-30 Andreas Schwab <schwab@redhat.com>
29664
29665 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29666
fbeb5f4d
JO
296672011-08-29 Jiri Olsa <jolsa@redhat.com>
29668
29669 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29670 directive.
29671
ad69cc26
DM
296722011-08-24 David S. Miller <davem@davemloft.net>
29673
29674 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29675
39dd69df
AS
296762011-08-24 Andreas Schwab <schwab@redhat.com>
29677
29678 * elf/Makefile: Add rules to build and run unload8 test.
29679 * elf/unload8.c: New file.
29680 * elf/unload8mod1.c: New file.
29681 * elf/unload8mod1x.c: New file.
29682 * elf/unload8mod2.c: New file.
29683 * elf/unload8mod3.c: New file.
29684
29685 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29686 it wasn't used.
29687
2c0b250a
DM
296882011-08-23 David S. Miller <davem@davemloft.net>
29689
29690 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29691 subtract stack bias.
29692 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29693 %sp not %fp in calculations.
29694 (_JMPBUF_UNWINDS_ADJ): Likewise.
29695
22044b48
DM
29696 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29697 (aio_suspend): Call it to force an exception region around the
29698 AIO_MISC_WAIT() invocation.
29699
2cae4995
AS
297002011-08-23 Andreas Schwab <schwab@redhat.com>
29701
29702 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29703 backslash.
29704
873a772e
AJ
297052011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29706
29707 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29708 protection macro.
29709 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29710 and <dl-machine.h>.
29711 (Elf64_FuncDesc): Remove.
29712
25ad0df1
DM
297132011-08-22 David S. Miller <davem@davemloft.net>
29714
29715 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29716 sigaltstack check, add missing cfi directives.
29717 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29718 missing cfi directives, and sigaltstack handling.
29719
e888bcbe
AS
297202011-08-16 Andreas Schwab <schwab@redhat.com>
29721
29722 [BZ #11724]
29723 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29724 object is seen twice.
29725 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29726
29727 * elf/Makefile (distribute): Add tst-initorder2.c.
29728 (tests): Add tst-initorder2.
29729 (modules-names): Add tst-initorder2a tst-initorder2b
29730 tst-initorder2c tst-initorder2d. Add rules to build them.
29731 ($(objpfx)tst-initorder2.out): New rule.
29732 * elf/tst-initorder2.c: New file.
29733 * elf/tst-initorder2.exp: New file.
29734
87162f46
AS
297352011-08-22 Andreas Schwab <schwab@redhat.com>
29736
70538b7f
AS
29737 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29738
f55ffe58
AS
29739 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29740 dependencies back to end of function.
29741
87162f46
AS
29742 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29743 $(elfobjdir)/ld.so.
29744
91b392a4
UD
297452011-08-21 Ulrich Drepper <drepper@gmail.com>
29746
29747 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29748 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29749 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29750 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29751 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29752 of __vdso_gettimeofday.
29753 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29754 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29755 attribute_hidden.
29756 (_libc_vdso_platform_setup): Remove initialization of
29757 __vdso_gettimeofday and __vdso_time.
29758
5c43483f
UD
297592011-08-20 Ulrich Drepper <drepper@gmail.com>
29760
775a77e7
UD
29761 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29762 and fgetc_unlocked.
29763 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29764 getc_unlocked.
89f447ed 29765
49c74ba9
UD
29766 * elf/dl-open.c (add_to_global): Report additions to the global scope
29767 for LD_DEBUG=scopes.
29768 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29769 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29770
5c43483f
UD
29771 [BZ #13114]
29772 * stdio-common/Makefile (tests): Add bug24.
29773 * stdio-common/bug24.c: New file.
29774
a101b025
AJ
297752011-08-19 Andreas Jaeger <aj@suse.de>
29776
29777 [BZ #13114]
29778 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29779 non-existant file when using close-on-exec mode.
29780
c88f1766
UD
297812011-08-20 Ulrich Drepper <drepper@gmail.com>
29782
0276a718
UD
29783 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29784 the very first instruction.
29785
c88f1766
UD
29786 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29787 the CFI state in the end.
29788 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29789 inclusion of dl-trampoline.h.
29790 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29791
51ccffa0
AS
297922011-08-19 Andreas Schwab <schwab@redhat.com>
29793
94d7165f
AS
29794 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29795 expectations for long double.
29796
51ccffa0
AS
29797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29798 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29799
fd708658 298002011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29801
29802 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29803 artificual limit depends upon the system page size.
29804
44f0a71e
UD
298052011-08-17 Ulrich Drepper <drepper@gmail.com>
29806
29807 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29808 * resolv/Makefile: Define CFLAGS-libresolv.
29809
8de79a24
AS
298102011-08-17 Andreas Schwab <schwab@redhat.com>
29811
29812 * nss/makedb.c (compute_tables): Make variables used in nested
29813 function static.
29814
27724598
UD
298152011-08-17 Ulrich Drepper <drepper@gmail.com>
29816
c5305d88
UD
29817 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29818 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29819 if buffer was too small.
29820
27724598
UD
29821 * elf/pldd.c (main): Attach to all threads in the process.
29822 Rewrite /proc handling to use *at functions.
29823
076fe015
UD
298242011-08-16 Ulrich Drepper <drepper@gmail.com>
29825
174baab3
UD
29826 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29827 specifies first scope to show.
29828 (dl_open_worker): Update callers. Move printing scope of new
29829 object to before the relocation.
44f0a71e 29830 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29831 * sysdeps/generic/ldsodefs.h: Update declaration.
29832
076fe015
UD
29833 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29834 string for the scope number.
29835
a60df2c3
UD
298362011-08-14 Ulrich Drepper <drepper@gmail.com>
29837
29838 * nscd/servicescache.c (cache_addserv): Make sure written is always
29839 initialized.
29840
5e4287d1
RM
298412011-08-14 Roland McGrath <roland@hack.frob.com>
29842
85ae0589
RM
29843 * sysdeps/i386/i486/bits/atomic.h
29844 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29845 statement expression, so as to suppress "set but not used" warning.
29846 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29847
69f63097
RM
29848 * string/strncat.c (STRNCAT): Use prototype definition.
29849
675456ef
RM
29850 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29851 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29852 -Iprograms here.
29853 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29854 (localedef-modules): Add localedef.
29855 (locale-modules): Add locale.
29856
5e4287d1
RM
29857 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29858 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29859 to avoid a warning.
29860
9c96ff23
DM
298612011-08-14 David S. Miller <davem@davemloft.net>
29862
29863 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29864 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29865
f9ddf089
UD
298662011-08-13 Ulrich Drepper <drepper@gmail.com>
29867
44f0a71e 29868 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29869 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29870 * elf/rtld.c (dl_main): Set l_name of vDSO.
29871 Call _dl_show_scope when DL_DEBUG_SCOPES.
29872 (process_dl_debug): Recognize scopes flag and also set it for all.
29873 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29874 Declare _dl_show_scope.
29875
1dc27704
UD
29876 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29877 (do_dlopen): Pass caller_dlopen to dl_open.
29878 (__libc_dlopen_mode): Initialize caller_dlopen.
29879
f9ddf089
UD
29880 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29881 of libc. Make tolower call locale-independent. Optimize a bit by
29882 using isdigit instead of isalnum.
29883 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29884
9ac533d3
UD
298852011-08-12 Ulrich Drepper <drepper@gmail.com>
29886
29887 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29888 was a dependency or dynamically loaded.
29889
89edf2e9
UD
298902011-08-11 Ulrich Drepper <drepper@gmail.com>
29891
8e999d29
UD
29892 * intl/l10nflist.c: Allow architecture-specific pop function.
29893 * sysdeps/x86_64/l10nflist.c: New file.
29894
89edf2e9
UD
29895 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29896 classification.
29897
14d96785
AS
298982011-08-10 Andreas Schwab <schwab@redhat.com>
29899
29900 * include/dirent.h: Add libc_hidden_proto for scandirat and
29901 scandirat64. Don't declare __scandirat64.
29902 * dirent/scandirat.c: Add libc_hidden_def.
29903 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29904 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29905
6761ac04
DM
299062011-08-10 David S. Miller <davem@davemloft.net>
29907
29908 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29909 enum.
29910 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29911 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29912 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29913
c55fbd1e
UD
299142011-08-09 Ulrich Drepper <drepper@gmail.com>
29915
29916 * Versions.def [libc]: Add GLIBC_2.15.
29917 * dirent/Makefile (routines): Add scandirat and scandirat64.
29918 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29919 GLIBC_2.15.
29920 * dirent/dirent.h: Declare scandirat and scandirat64.
29921 * dirent/scandirat.c: New file.
29922 * dirent/scandirat64.c: New file.
29923 * sysdeps/wordsize-64/scandirat.c: New file.
29924 * sysdeps/wordsize-64/scandirat64.c: New file.
29925 * dirent/opendir.c: Define opendirat.
29926 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29927 using scandirat.
29928 * dirent/scandir64.c: Adjust for scandir.c change.
29929 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29930 __scandirat64, and __scandir_cancel_handler.
29931 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29932 additional parameter and use openat instead of open (outside of ld.so).
29933 Add new __opendir as wrapper around __opendirat.
29934 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29935 here without requiring old scandirat implementation.
29936
879165f2
UD
299372011-08-08 Ulrich Drepper <drepper@gmail.com>
29938
29939 * dirent/scandir.c (cancel_handler): Renamed to
29940 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29941 defined. Adjust users.
29942 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29943 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29944
cb7e923b
UD
299452011-08-04 Ulrich Drepper <drepper@gmail.com>
29946
16292edd
UD
29947 * string/test-string.h (IMPL): Use __STRING to expand name and then
29948 stringify it.
29949
cb7e923b
UD
29950 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29951 of cleanups.
29952
cff82933
LD
299532011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29954
29955 * string/Makefile: Update.
29956 (strop-tests): Append strncat.
29957 * string/test-wcscmp.c: New file.
29958 New comprehensive test for wcscmp.
29959 * string/test-strcmp.c: Update.
29960 (WIDE): New define.
29961
9be9bfcc
AS
299622011-07-22 Andreas Schwab <schwab@redhat.com>
29963
29964 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29965 line.
29966
2e96f1c7
AS
299672011-07-26 Andreas Schwab <schwab@redhat.com>
29968
29969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29970 encoding to ACE if AI_IDN.
29971
85188888
JJ
299722011-08-01 Jakub Jelinek <jakub@redhat.com>
29973
29974 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29975 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29976
5fa16e9b
LD
299772011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29978
29979 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29980 Fix overflow bug in strncat.
29981 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29982
29983 * string/test-strncat.c: Update.
29984 Add new tests for checking overflow bugs.
29985
299862011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29987
29988 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29989 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29990 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29991 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29992 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29993 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29994 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29995 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29996 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29997
29998 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29999 (USE_AS_STRCAT): Define.
30000 Add strcat and strncat support.
30001 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30002
8c1a459f
AS
300032011-07-25 Andreas Schwab <schwab@redhat.com>
30004
30005 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30006 __n bigger than INT_MAX+1.
30007 (__strncmp_g): Likewise.
30008
bba33c28
UD
300092011-07-23 Ulrich Drepper <drepper@gmail.com>
30010
798be72d
UD
30011 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30012 * libio/stido.h: Likewise.
30013
8accd4dc
UD
30014 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30015 (AF_NFC): Define.
30016 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30017 (AF_NFC): Define.
30018
cbff0d96
UD
30019 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30020 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30021 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30022 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30023 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30024
9191c04a
UD
30025 [BZ #13021]
30026 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30027 installed.
30028
bba33c28
UD
30029 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30030 typo.
30031 (_dl_x86_64_save_sse): Likewise.
30032
90f139dd
UD
300332011-07-22 Ulrich Drepper <drepper@gmail.com>
30034
1aae088a
UD
30035 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30036 OSXSAVE.
30037 (_dl_x86_64_save_sse): Likewise.
30038
8e2045f5
UD
30039 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30040
90f139dd
UD
30041 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30042
1d002f25
AS
300432011-07-21 Andreas Schwab <schwab@redhat.com>
30044
30045 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30046 change.
30047 (_dl_x86_64_save_sse): Use correct AVX check.
30048
21137f89
UD
300492011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30050
30051 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30052 bug in strncpy/strncat.
30053 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30054
a65c0b7a
UD
300552011-07-21 Ulrich Drepper <drepper@gmail.com>
30056
30057 * string/tester.c (test_strcat): Add tests for different alignments
30058 of source and destination.
30059 (test_strncat): Likewise.
30060
6986b98a
UD
300612011-07-20 Ulrich Drepper <drepper@gmail.com>
30062
90bb2039
UD
30063 [BZ #12852]
30064 * posix/glob.c (glob): Check passed in values before using them in
30065 expressions to avoid some overflows.
30066 (glob_in_dir): Likewise.
30067
5644ef54
UD
30068 [BZ #13007]
30069 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30070 check for AVX enablement so that we don't crash with old kernels and
30071 new hardware.
30072 * elf/tst-audit4.c: Add same checks here.
30073 * elf/tst-audit6.c: Likewise.
30074
30075 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 30076
bfc9dc9b
AS
300772011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30078
30079 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30080
702e64bb
UD
300812011-07-20 Ulrich Drepper <drepper@gmail.com>
30082
30083 * po/cs.po: Update from translation team.
30084 * po/bg.po: Likewise.
30085
295e904f
MP
300862011-07-12 Marek Polacek <mpolacek@redhat.com>
30087
30088 * misc/sys/cdefs.h: Add support for const attribute.
30089 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30090 to gnu_dev_{major,minor,makedev} functions.
30091
3ff94596
MP
300922011-07-20 Marek Polacek <mpolacek@redhat.com>
30093
30094 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30095
28b59fca
AS
300962011-07-20 Andreas Schwab <schwab@redhat.com>
30097
30098 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30099 strlen results.
30100
19df733e
AK
301012011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30102
30103 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30104 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30105 register in order to avoid conflicts with the soft frame pointer
30106 being held in r11 when necessary.
30107 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30108 (INTERNAL_VSYSCALL_NCS): Likewise.
30109
c8835729
MP
301102011-07-14 Marek Polacek <mpolacek@redhat.com>
30111
30112 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30113 * elf/dl-fini.c (_dl_fini): Adjust caller.
30114 * elf/dl-close.c (_dl_close_worker): Likewise.
30115 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30116
b902330c
MP
301172011-07-15 Marek Polacek <mpolacek@redhat.com>
30118
8991e135
MP
30119 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30120 "aux_cache->nlibs < 0".
30121
b902330c
MP
30122 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30123 in the reload-count case.
30124
99710781
LD
301252011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30126
30127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30128 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30129 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30130 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30131 * sysdeps/x86_64/multiarch/strcat.S: New file.
30132 * sysdeps/x86_64/multiarch/strncat.S: New file.
30133 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30134 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30135 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30136 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30137 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30138 (USE_AS_STRCAT): Define.
30139 Add strcat and strncat support.
30140 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30141 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30142 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30143 * string/strncat.c: Update.
30144 (USE_AS_STRNCAT): Define.
30145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30146 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30147 and i7.
30148 * sysdeps/x86_64/multiarch/init-arch.h
30149 (bit_Prefer_PMINUB_for_stringop): New.
30150 (index_Prefer_PMINUB_for_stringop): Likewise.
30151 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30152 bit_Prefer_PMINUB_for_stringop.
30153
7dc6bd90
UD
301542011-07-19 Ulrich Drepper <drepper@gmail.com>
30155
30156 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30157 buffer64.
30158 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30159 of casting of buffer.
30160 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30161 buffer32 and buffer64.
30162 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30163 writes instead of casting of buffer.
30164 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30165 buffer32.
30166 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30167 casting of buffer.
30168
e0e72284
AS
301692011-07-19 Andreas Schwab <schwab@redhat.com>
30170
30171 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30172
feb1eb0b
UD
301732011-07-19 Ulrich Drepper <drepper@gmail.com>
30174
30175 * nscd/nscd.c (termination_handler): Don't do anything for a database
30176 if it has not yet been initialized.
30177
298711ff
UD
301782011-07-18 Ulrich Drepper <drepper@gmail.com>
30179
30180 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30181
301822011-07-15 Marek Polacek <mpolacek@redhat.com>
30183
30184 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30185
f9d68389
UD
301862011-07-18 Ulrich Drepper <drepper@gmail.com>
30187
30188 * po/nl.po: Update from translation team.
30189 * po/sv.po: Likewise.
30190
db290cf5
RM
301912011-07-16 Roland McGrath <roland@hack.frob.com>
30192
30193 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30194 now disallowed by GCC.
5c550700 30195
fd5e21c7
RM
30196 * configure.in (use-default-link): Default to yes if a test -shared
30197 link meets our qualifications.
30198 * configure: Regenerated.
30199
5c550700
RM
30200 * config.make.in (output-format): New variable.
30201 * configure.in: Check for ld --print-output-format support.
30202 * configure: Regenerated.
30203 * Makerules ($(common-objpfx)format.lds)
30204 [$(output-format) != unknown]: Just use $(output-format),
30205 instead of the linker-script munging.
30206
9fa2c032
RM
302072011-07-14 Roland McGrath <roland@hack.frob.com>
30208
a6928d51
RM
30209 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30210 of $(common-objpfx)shlib.lds.
30211 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30212
661607b3
RM
30213 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30214 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30215
9fa2c032
RM
30216 * configure.in (-z relro check): Adjust test code to add a large
30217 writable data section after it.
30218 * configure: Regenerated.
30219
defe9061
RM
302202011-07-11 Roland McGrath <roland@hack.frob.com>
30221
30222 * configure.in (-z relro check): Fix test code to make the variable
30223 truly const.
30224 * configure: Regenerated.
30225
319b9ad4
UD
302262011-07-11 Ulrich Drepper <drepper@gmail.com>
30227
30228 * nscd/nscd.h (struct traced_file): Define.
30229 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30230 elements. Add traced_files.
30231 (inotify_fd): Declare.
30232 (register_traced_file): Declare.
30233 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30234 (inotify_fd): Export.
30235 (resolv_conf_descr): Remove.
30236 (nscd_init): Move inotify descriptor creation to main.
30237 Don't register files for notification here.
30238 (register_traced_file): New function.
30239 (invalidate_cache): Don't use reset_res to determine whether to call
30240 res_init, go through the list of registered files.
30241 (main_loop_poll): The inotify descriptors are now stored in the
30242 structures for the traced files.
30243 (main_loop_epoll): Likewise
30244 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30245 to __nss_disable_nscd.
30246 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30247 for a database anymore. Check the records for all the registered
30248 files instead.
30249 * nss/Makefile (libnss_files-routines): Add files-init.
30250 (libnss_db-routines): Add db-init.
30251 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30252 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30253 * nss/nss_db/db-init.c: New file.
30254 * nss/nss_files/files-init.c: New file.
30255 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30256 __nss_lookup_function.
30257 (__nss_lookup_function): Call nss_load_library.
30258 (nss_load_all_libraries): New function.
30259 (__nss_disable_nscd): Take parameter with callback function for files
30260 to register. Set is_nscd. Load all the DSOs for the NSS modules
30261 used for the cached services.
30262 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30263 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30264 options for features to all the files in nscd.
30265
30266 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30267
23bee3e8
RM
302682011-07-10 Roland McGrath <roland@hack.frob.com>
30269
30270 * csu/elf-init.c (__libc_csu_init): Comment typo.
30271
46a5b7f0
UD
302722011-07-09 Ulrich Drepper <drepper@gmail.com>
30273
30274 * po/pl.po: Update from translation team.
30275 * po/ja.po: Likewise.
30276 * po/ru.po: Likewise.
30277 * po/ko.po: Likewise.
30278 * po/fr.po: Likewise.
30279
d30cf5bb
RM
302802011-07-09 Roland McGrath <roland@hack.frob.com>
30281
113ddea4
RM
30282 * configure.in (.ctors/.dtors header and trailer check):
30283 Use an empirical test on a built program.
30284 * configure: Regenerated.
30285
574920b4
RM
30286 * configure.in (-z relro check): Use an empirical test on a built DSO.
30287 Detect, but do not require, on ia64.
30288 * configure: Regenerated.
30289
d30cf5bb
RM
30290 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30291 Update tests that use readelf to use $READELF instead.
30292 * configure: Regenerated.
30293
8538fdb3
UD
302942011-07-08 Ulrich Drepper <drepper@gmail.com>
30295
30296 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30297 if the result is not used.
30298
04d08991
AJ
302992011-07-05 Andreas Jaeger <aj@suse.de>
30300
30301 [BZ#9696]
30302 * stdlib/tst-strtod.c: Add testcase.
30303
de283087
AD
303042011-07-07 Ulrich Drepper <drepper@gmail.com>
30305
4e5f31c8 30306 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30307 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30308 The latter has a higher limit. Take additional parameter to pass to
30309 the new function.
30310 (__pathconf): Pass file to __statfs_link_max.
30311 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30312 __statfs_link_max.
30313 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30314 __statfs_link_max.
30315
de283087
AD
30316 [BZ #12868]
30317 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30318 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30319 Handle Lustre.
30320 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30321 (__statfs_filesize_max): Likewise.
30322 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30323
c75fa153
AJ
303242011-07-05 Andreas Jaeger <aj@suse.de>
30325
30326 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30327
1a544854
UD
303282011-07-06 Marek Polacek <mpolacek@redhat.com>
30329
30330 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30331 `status' variable.
30332 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30333 Likewise.
30334
6f0eec67
UD
303352011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30336
30337 * Makefile (strop-tests): Add strncat.
30338 * string/test-strncat.c: New file.
30339
aae30307
UD
303402011-06-30 Marek Polacek <mpolacek@redhat.com>
30341
30342 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30343
c0cfb5eb
UD
303442011-06-21 Andreas Jaeger <aj@suse.de>
30345
30346 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30347 Copy rule from iconvdata/Makefile.
30348
01636b21
UD
303492011-07-06 Ulrich Drepper <drepper@gmail.com>
30350
30351 [BZ #12922]
30352 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30353 but no long options are defined, just return 'W'.
30354
9895c8bc
UD
303552011-06-22 Marek Polacek <mpolacek@redhat.com>
30356
30357 [BZ #9696]
30358 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30359
5d4cf042
UD
303602011-07-06 Ulrich Drepper <drepper@gmail.com>
30361
30362 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30363 netgroups to read.
960e5535 30364 (innetgr): Likewise.
5d4cf042 30365
751eb97e
RM
303662011-07-05 Roland McGrath <roland@hack.frob.com>
30367
30368 * config.make.in (install_root): Default to $(DESTDIR).
30369
f15f1e45
UD
303702011-07-05 Ulrich Drepper <drepper@gmail.com>
30371
30372 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30373
4e34ac6a
RM
303742011-07-02 Roland McGrath <roland@hack.frob.com>
30375
5e9b6af4
RM
30376 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30377
84f9ea0f
RM
30378 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30379 containing directory rather than embedding absolute directory names.
30380
ea5ee9f7
RM
30381 * scripts/check-local-headers.sh: Rewritten using awk.
30382 Match by word, not by line. Print error messages for matches.
30383 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30384
1b74661a
RM
30385 * Makerules [shlib-lds-flags empty]:
30386 ($(common-objpfx)libc_pic.opts): New target.
30387 ($(common-objpfx)libc_pic.os.clean): New target.
30388 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30389
30390 * config.make.in (OBJCOPY): New variable.
30391 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30392 * configure: Regenerated.
30393
f781ef40
RM
30394 * config.make.in (use-default-link): New variable.
30395 * configure.in (use_default_link): Grok --with-default-link to set it.
30396 * configure: Regenerated.
30397 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30398 (shlib-lds, shlib-lds-flags): Define to empty.
30399
2d4fa81e
RM
30400 * Makerules (shlib-lds): New variable.
30401 (shlib-lds-flags): New variable.
30402 (build-shlib, build-moduile, build-module-asneeded): Use it.
30403 ($(common-objpfx)libc.so): Use $(shlib-lds).
30404 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30405 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30406
31fffa6b
RM
30407 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30408 DT_FLAGS/DT_FLAGS_1 with zero flags.
30409
4e34ac6a
RM
30410 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30411 linker script munging.
30412
fcfc776b
UD
304132011-07-02 Ulrich Drepper <drepper@gmail.com>
30414
30415 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30416 as 128-bit value.
30417 * crypt/sha512.c (sha512_process_block): Perform total addition using
30418 128-bit if possible.
30419 (__sha512_finish_ctx): Likewise.
30420 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30421 as 64-bit value.
30422 * crypt/sha256.c (SWAP64): Define.
30423 (sha256_process_block): Perform total addition using 64-bit if
30424 possible.
30425 (__sha256_finish_ctx): Likewise.
30426
99231d9a
UD
304272011-07-01 Ulrich Drepper <drepper@gmail.com>
30428
30429 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30430 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30431 * nscd/hstcache.c (cache_addhst): Likewise.
30432 * nscd/grpcache.c (cache_addgr): Likewise.
30433 * nscd/aicache.c (addhstaiX): Likewise
30434 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30435
445b4a53
TK
304362011-07-01 Thorsten Kukuk <kukuk@suse.de>
30437
30438 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30439 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30440 * nscd/hstcache.c (cache_addhst): Likewise.
30441 * nscd/grpcache.c (cache_addgr): Likewise.
30442 * nscd/aicache.c (addhstaiX): Likewise
30443
6d4d8e8e
AS
304442011-07-01 Andreas Schwab <schwab@redhat.com>
30445
30446 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30447 domain only when needed.
30448
89f654c5
AS
304492011-06-30 Andreas Schwab <schwab@redhat.com>
30450
30451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30452 is always restored.
30453
cf3b23ff
UD
304542011-06-29 Ulrich Drepper <drepper@gmail.com>
30455
30456 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30457 are re-adding the entry.
30458 * nscd/servicescache.c (cache_addserv): Likewise.
30459
751626f9
AJ
304602011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30461
30462 * sysdeps/generic/dl-irel.h: fix protection against multiple
30463 inclusions.
30464 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30465
9113ea1f
UD
304662011-06-28 Ulrich Drepper <drepper@gmail.com>
30467
5c0b8d90
UD
30468 [BZ #12935]
30469 * malloc/memusage.sh: Fix quoting in message.
30470 * debug/xtrace.sh: Likewise.
30471
9113ea1f
UD
30472 * configure.in: Remove support for --experimental-malloc option, make
30473 it the default.
30474 * config.make.in: Likewise.
30475 * malloc/Makefile: Likewise.
30476
a4172181
AS
304772011-06-27 Andreas Schwab <schwab@redhat.com>
30478
30479 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30480 two-byte characters.
30481
78a7eee7
RM
304822011-06-27 Roland McGrath <roland@hack.frob.com>
30483
62bede13
RM
30484 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30485 AC_CACHE_CHECK invocation.
30486 * configure: Regenerated.
30487
78a7eee7
RM
30488 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30489
5ce33a62
UD
304902011-06-27 Ulrich Drepper <drepper@gmail.com>
30491
034807a9
UD
30492 [BZ #12350]
30493 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30494 bit from old_res_options.
30495
4902da17
UD
30496 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30497
5ce33a62
UD
30498 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30499 value type for setfct.
30500
c2344f56
L
305012011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30502
30503 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30504 __gettimeofday instead of gettimeofday.
30505
68468076
UD
305062011-06-26 Ulrich Drepper <drepper@gmail.com>
30507
30508 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30509
acb0d739
L
305102011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30511
30512 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30513
30514 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30515 info.
30516
8912479f
L
305172011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30518
30519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30520 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30521 strcpy-sse2-unaligned strncpy-sse2-unaligned
30522 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30523 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30524 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30525 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30526 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30527 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30528 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30529 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30530 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30531 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30532 (STRCPY): Support SSE2 and SSSE3 versions.
30533
d5495a11
UD
305342011-06-24 Ulrich Drepper <drepper@gmail.com>
30535
30536 [BZ #12874]
30537 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30538 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30539 kernels which artificially limit size of requests.
30540
0b1cbaae
L
305412011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30542
30543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30544 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30545 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30546 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30547 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30548 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30549 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30550 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30551 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30552 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30553 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30554 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30555 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30556 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30557 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30559 Enable unaligned load optimization for Intel Core i3, i5 and i7
30560 processors.
30561 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30562 Define.
30563 (index_Fast_Unaligned_Load): Define.
30564 (HAS_FAST_UNALIGNED_LOAD): Define.
30565
07f494a0
MP
305662011-06-23 Marek Polacek <mpolacek@redhat.com>
30567
30568 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30569
fa3fc0fe
UD
305702011-06-22 Ulrich Drepper <drepper@gmail.com>
30571
30572 [BZ #12907]
30573 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30574 until it is clear that the information is realy needed.
30575 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30576
e12df166
AS
305772011-06-22 Andreas Schwab <schwab@redhat.com>
30578
30579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30580
852eb34d
UD
305812011-06-22 Ulrich Drepper <drepper@gmail.com>
30582
84e2a551
UD
30583 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30584 /sys/devices/system/cpu/online if it is usable.
30585
852eb34d
UD
30586 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30587 reading the information from the /proc filesystem to once a second.
30588
6e502e19
UD
305892011-06-21 Andreas Jaeger <aj@suse.de>
30590
30591 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30592 NULL after inclusion of kernel headers.
30593
75d39ff2
UD
305942011-06-21 Ulrich Drepper <drepper@gmail.com>
30595
51f9aa6a
UD
30596 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30597 calls to internal_setent.
30598
c0244a9d
UD
30599 [BZ #12885]
30600 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30601 addresses using gethostbyname4_r ignore IPv4 addresses.
30602
c5e3c2ae
UD
30603 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30604 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30605
75d39ff2
UD
30606 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30607
42675c6f
DM
306082011-06-20 David S. Miller <davem@davemloft.net>
30609
30610 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30611 inclusions.
30612 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30613
30614 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30615 (elf_irel): Use it.
30616 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30617 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30618 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30619 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30620 * sysdeps/x86_64/dl-irel.h: Likewise.
30621
30622 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30623 * elf/dl-sym.c: Likewise.
30624
57912a71
UD
306252011-06-15 Ulrich Drepper <drepper@gmail.com>
30626
30627 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30628 need to dereference resplen2.
30629
ee22793d
AS
306302011-06-14 Andreas Schwab <schwab@redhat.com>
30631
30632 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30633
a9e836b0
UD
306342011-06-15 Ulrich Drepper <drepper@gmail.com>
30635
77fb9117
UD
30636 * Makeconfig: Define vardbdir and inst_vardbdir.
30637 * nss/Makefile: Add rules to install db-Makefile.
30638
40c1b22c
UD
30639 * nss/nss_db/db-XXX.c: Cleanup.
30640
9f2da732
UD
30641 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30642 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30643 GLIBC_PRIVATE.
30644 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30645 * nss/makedb.c: Implement -g option to specify that value strings
30646 are generated and should not be added to table iterated over for
30647 get*ent calls.
30648 * nss/nss_db/db-initgroups.c: New file.
30649
82e9a1f7
UD
30650 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30651 interface.
30652
c41af17e
UD
30653 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30654 (internal_getgrouplist): Adjust to name change.
30655 Update use_initgroups_entry if this is not the first call.
30656 * nss/databases.def: Add initgroups entry.
30657
a9e836b0
UD
30658 * nss/makedb.c (compute_tables): Check result of multiple hash table
30659 sizes to minimize maximum chain length.
30660
2666d441
UD
306612011-06-14 Ulrich Drepper <drepper@gmail.com>
30662
30663 * Versions.def: Add entry for libnss_db.
30664 * shlib-versions: Likewise.
30665 * nss/Makefile: Add rules to build libnss_db.
30666 * nss/Versions: Add libnss_db information. Organize libnss_files
30667 entries better.
30668 * nss/db-Makefile: Add gshadow support. Change rules for the new
30669 makedb progra. Some minor improvements to generate smaller files.
30670 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30671 here from...
30672 * nss/makedb.c: ...here.
30673 Improve database format to be smaller and require less memory at
30674 runtime.
30675 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30676 db anymore.
30677 * nss/nss_db/db-netgrp.c: Likewise.
30678 * nss/nss_db/db-open.c: Likewise.
30679 * nss/nss_files/flies-XXX.x: Adjust comments.
30680 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30681 * nss/nss_files/files-grp.c: Likewise.
30682 * nss/nss_files/files-hosts.c: Likewise.
30683 * nss/nss_files/files-network.c: Likewise.
30684 * nss/nss_files/files-proto.c: Likewise.
30685 * nss/nss_files/files-pwd.c: Likewise.
30686 * nss/nss_files/files-rpc.c: Likewise.
30687 * nss/nss_files/files-service.c: Likewise.
30688 * nss/nss_files/files-sgrp.c: Likewise.
30689 * nss/nss_files/files-spwd.c: Likewise.
30690 * nss/nss_db/db-alias.c: Removed.
30691 * nss/nss_db/dummy-db.h: Removed.
30692
9ee76b5a
UD
306932011-06-02 Ulrich Drepper <drepper@gmail.com>
30694
30695 * nss/makedb.c: Rewritten to not use database library.
30696 * nss/Makefile: Update to build new makedb program.
30697
c71ca1f8
AJ
306982011-06-14 Andreas Jaeger <aj@suse.de>
30699
30700 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30701 memset declaration.
30702
3154bfb8
UD
307032011-06-10 Andreas Schwab <schwab@redhat.com>
30704
30705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30706 tmpbuf.
30707
b350afab
RM
307082011-06-10 Roland McGrath <roland@hack.frob.com>
30709
decd4e50
RM
30710 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30711 * elf/Makefile ($(objpfx)ld.so): Likewise.
30712
5615eaf2
RM
30713 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30714 Don't list ld.so twice in dependencies.
30715
30716 * posix/bug-regex31.c: Include <stdlib.h>.
30717
30718 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30719
30720 * nis/nss_compat/compat-spwd.c
30721 (getspent_next_nss_netgr): Remove unused variable.
30722 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30723
30724 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30725 nonmembers" output to use the right array.
30726
30727 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30728
30729 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30730
30731 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30732 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30733 * catgets/gencat.c (read_input_file): Likewise.
30734 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30735
30736 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30737 variable definition inside #if's controlling its use.
30738
30739 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30740
30741 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30742
30743 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30744
30745 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30746 unreachable code.
30747
30748 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30749
b68e08db
RM
30750 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30751 * configure: Regenerated.
30752
b350afab
RM
30753 * Makerules: Revert last change.
30754 * elf/Makefile: Likewise.
30755
28368601
RM
307562011-06-09 Roland McGrath <roland@hack.frob.com>
30757
30758 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30759 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30760 (reloc-link): Likewise.
30761
11988f8f
UD
307622011-06-09 Ulrich Drepper <drepper@gmail.com>
30763
30764 * elf/Makefile: Add rules to build pldd.
30765 * elf/pldd.c: New file.
30766 * elf/pldd-xx.c: New file.
30767
e80fab37
UD
307682011-06-07 Ulrich Drepper <drepper@gmail.com>
30769
30770 * version.h: Update for 2.15 development version.
30771
9b849836
DM
307722011-06-07 David S. Miller <davem@davemloft.net>
30773
30774 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30775 ifuncs.
30776 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30777 elf_machine_lazy_rel): Likewise.
30778 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30779 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30780 elf_machine_lazy_rel): Likewise.
30781 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30782 dl_hwcap via passed in argument.
30783 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30784 Likewise.
30785
5a31b283
AK
307862011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30787
30788 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30789
069e52f8
RM
307902011-06-06 Roland McGrath <roland@hack.frob.com>
30791
30792 [BZ #12849]
30793 * manual/fdl-1.1.texi: New file, verbatim from:
30794 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30795 * manual/lgpl-2.1.texi: New file, verbatim from:
30796 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30797 * manual/Makefile (licenses): New variable, list those new file names.
30798 (texis): Use it.
30799 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30800
30801 * manual/fdl.texi: File removed.
30802 * manual/lesser.texi: File removed.
30803 * manual/libc.texinfo (Copying, Documentation License):
30804 Use new @include file names, put @appendix directive before @include.
30805
f16846a5
JJ
308062011-06-04 Jakub Jelinek <jakub@redhat.com>
30807
30808 [BZ #12841]
30809 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30810 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30811 (mq_open): Add __NTH.
30812
3d29045b
L
308132011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30814
30815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30816 Assume Intel Core i3/i5/i7 processor if AVX is available.
30817
8c297311
UD
308182011-05-31 Ulrich Drepper <drepper@gmail.com>
30819
30820 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30821 typo.
30822
c8fc0c91
UD
308232011-05-31 Andreas Schwab <schwab@redhat.com>
30824
30825 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30826 memory. Use alloca_account. Fix memory leak when retrying.
30827
5b27a807
UD
308282011-05-31 Ulrich Drepper <drepper@gmail.com>
30829
356f8bc6
UD
30830 * version.h (RELEASE): Bump for 2.14 release.
30831 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30832
5b27a807
UD
30833 * config.make.in (RANLIB): Remove entry.
30834
01f16ab0
UD
308352011-05-30 Ulrich Drepper <drepper@gmail.com>
30836
41fce8bd
UD
30837 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30838 (libc.pot): Work around missing support for .ksh extension in xgettext.
30839
4769ae77
UD
30840 [BZ #12684]
30841 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30842 if both request failed.
30843 (send_dg): In case of server errors clear resplen or *resplen2.
30844
6b1e7d19
UD
30845 [BZ #12454]
30846 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30847 when there are multiple maps.
30848 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30849 (_dl_fini): Remove test here.
30850
01f16ab0
UD
30851 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30852
b1ebd700
UD
308532011-05-29 Ulrich Drepper <drepper@gmail.com>
30854
7ae22829
UD
30855 [BZ #12350]
30856 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30857 bit from old_res_options.
30858 (gaih_inet): Likewise.
30859
553149f6 30860 [BZ #11099]
18a84741 30861 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30862 as signed.
30863
652ffab1
UD
30864 * resolv/res_init.c (res_setoptions): Make the code more compact.
30865
16985fd0
UD
30866 [BZ #11558]
30867 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30868 set RES_USEVC.
30869
0464f746
UD
30870 [BZ #11634]
30871 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30872
7d17596c
UD
30873 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30874
cf6bbbd7
UD
30875 [BZ #11781]
30876 * malloc/malloc.h: Declare malloc hook variables as volatile.
30877
13f1ab36
UD
30878 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30879 in last patch.
30880
b1ebd700
UD
30881 [BZ #11799]
30882 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30883 raise in the comment.
80e2212d
UD
30884 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30885 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30886 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30887
ce67228d
UD
308882011-05-28 Ulrich Drepper <drepper@gmail.com>
30889
8887a920
UD
30890 [BZ #12811]
30891 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30892 grow the buffers more if it already has to be sufficient.
30893 (build_wcs_upper_buffer): Likewise.
30894 * posix/regexec.c (check_matching): Likewise.
30895 (clean_state_log_if_needed): Likewise.
30896 (extend_buffers): Don't enlarge buffers beyond size of the input
30897 buffer.
30898 Patches mostly by Emil Wojak <emil@wojak.eu>.
30899 * posix/bug-regex32.c: New file.
30900 * posix/Makefile (tests): Add bug-regex32.
30901
4f031072
UD
30902 * locale/findlocale.c (_nl_find_locale): Return right away if
30903 _nl_explode_name failed.
30904 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30905
d0478f0c
UD
30906 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30907
de81b246
UD
30908 * debug/xtrace.sh: Unify messages.
30909 * malloc/memusage.sh: Likewise.
30910
c738465a
UD
30911 [BZ #12813]
30912 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30913 time symbol from vDSO. Substitute with vsyscall if not available.
30914 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30915 __vdso_time.
30916
f1f929d7
UD
30917 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30918 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30919 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30920 Add sendmmsg and internal_sendmmsg.
30921 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30922 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30923 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30924
ce67228d
UD
30925 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30926 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30927 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30928
e57420c6
UD
309292011-05-27 Ulrich Drepper <drepper@gmail.com>
30930
a8509ca5
UD
30931 [BZ #12813]
30932 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30933 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30934 available.
30935 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30936 __vdso_getcpu.
30937
e57420c6
UD
30938 [BZ #12814]
30939 * iconvdata/Makefile (tests): Add bug-iconv9.
30940 * iconvdata/bug-iconv9.c: New file.
30941
4d07db15
AS
309422011-05-27 Andreas Schwab <schwab@redhat.com>
30943
30944 [BZ #12814]
30945 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30946
ea486f69
JJ
309472011-05-25 Jakub Jelinek <jakub@redhat.com>
30948
30949 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30950 (struct user_regs_struct): Change intcs field back to cs.
30951
6f038433
UD
309522011-05-25 Ulrich Drepper <drepper@gmail.com>
30953
30954 * po/ja.po: Update from translation team.
30955
67f86a25
UD
309562011-05-23 Ulrich Drepper <drepper@gmail.com>
30957
30958 [BZ #12795]
30959 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30960 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30961
def7fbd6
AS
309622011-05-20 Andreas Schwab <schwab@redhat.com>
30963
30964 * stdlib/longlong.h: Update from GCC.
30965
f50ef8f1
AS
309662011-05-23 Andreas Schwab <schwab@redhat.com>
30967
30968 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30969 parameter name.
30970 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30971 Add parameter name.
30972 (__sysconf): Pass it down.
30973
de7ce8f1
UD
309742011-05-22 Ulrich Drepper <drepper@gmail.com>
30975
f2962a71
UD
30976 [BZ #12671]
30977 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30978 some situations.
30979 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30980 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30981 add in in __libc_use_alloca calls. Adjust callers.
30982 (glob): Use malloc in some situations.
30983
de7ce8f1
UD
30984 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30985 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30986 pltexit.
30987
aec84f53
UD
309882011-05-21 Ulrich Drepper <drepper@gmail.com>
30989
05bb4a68
UD
30990 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30991 and CLOCK_BOOTTIME_ALARM.
30992
7ea72f99
UD
30993 [BZ #12782]
30994 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30995 is returned.
30996
7e4afad5
UD
30997 * string/_strerror.c (__strerror_r): Print negative errors as signed
30998 numbers.
30999
8e211fec
UD
31000 [BZ #12777]
31001 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31002 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31003 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31004
f7d82dc9
UD
31005 * configure.in: Fix typo in redirection and correct removal of test
31006 files in two cases.
31007
cc9e536d
UD
31008 [BZ #12788]
31009 * locale/setlocale.c (new_composite_name): Fix test to check for
31010 identical name of all categories.
31011
aec84f53
UD
31012 [BZ #12792]
31013 * libio/filedoalloc.c (local_isatty): New function.
31014 (_IO_file_doallocate): Use local_isatty.
31015 * stdio-common/perror.c (perror): In case a new stream is used
31016 forward the stream error.
31017 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31018 error flag.
31019
78e64fdc
RT
310202011-05-20 Ulrich Drepper <drepper@gmail.com>
31021
34a9094f
UD
31022 [BZ #11869]
31023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31024 alloca.
31025 * include/alloca.h (extend_alloca_account): Define.
31026
78e64fdc
RT
31027 [BZ #11857]
31028 * posix/regex.h: Fix comments with documentation of user-accessible
31029 fields after compilation and describe correct free'ing of pattern
31030 after re_compile_pattern.
31031 Patch by Reuben Thomas <rrt@sc3d.org>.
31032
457bddfc
RA
310332011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31034
31035 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31036 and -mno-altivec to prevent the compiler from using Altivec and/or
31037 VSX instructions when the corresponding registers are not available.
31038
a4527b51
AS
310392011-05-19 Andreas Schwab <schwab@redhat.com>
31040
31041 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31042
ed690b2f
UD
310432011-05-19 Ulrich Drepper <drepper@gmail.com>
31044
31045 * libio/freopen.c (freopen): Use __dup2, not dup2.
31046 * libio/freopen64.c (freopen64): Likewise.
31047
8db73634
L
310482011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31049
31050 [BZ #12775]
31051 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31052 * math/Makefile (tests): Add test-powl.
31053 (CFLAGS-test-powl.c): Define.
31054 * math/test-powl.c: New file.
31055
0a197a9d
L
310562011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31057
31058 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31059
ee30c380
UD
310602011-05-17 Ulrich Drepper <drepper@gmail.com>
31061
31062 [BZ #11837]
31063 * iconvdata/gb18030.c: Update to GB18020-2005.
31064
6ce75379
UD
310652011-05-16 Ulrich Drepper <drepper@gmail.com>
31066
a4b89fd8
AR
31067 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31068 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31069 Patch by Aharon Robbins <arnold@skeeve.com>.
31070
ea389b12
UD
31071 [BZ #11892]
31072 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31073 on the stack.
31074
68a3f91f
UD
31075 [BZ #11895]
31076 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31077 through underflows.
31078
15cc7dd1
UD
31079 [BZ #12766]
31080 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31081 point to strings before performing equality test for error_one_per_line
31082 mode.
31083
f3799213
UD
31084 [BZ #11697]
31085 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31086
d79a9c94
UD
31087 [BZ #11820]
31088 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31089 (struct user_fpregs_struct): Avoid __uint*_t types.
31090
56e5eb46
UD
31091 [BZ #6420]
31092 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31093 symbol info. Use it instead of calling _dl_addr locally.
31094 (lock_and_info): New function.
31095 (tr_freehook): Call lock_and_info and pass symbol info as additional
31096 parameter to tr_where.
31097 (tr_mallochook): Likewise.
31098 (tr_reallochook): Likewise.
31099 (tr_memalignhook): Likewise.
31100
6ce75379
UD
31101 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31102 used and couldn't be at all thread-safe.
31103
f8a3b5bf
UD
311042011-05-15 Ulrich Drepper <drepper@gmail.com>
31105
94b7cc37
UD
31106 * libio/freopen.c (freopen): Don't close old file descriptor
31107 before the new one is opened. Instead dup the new file descriptor
31108 to the old one after the new stream is created.
31109 * libio/freopen64.c (freopen64): Likewise.
31110 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31111 * libio/fileops.c (_IO_new_file_close_it): Handle new
31112 _IO_FLAGS2_NOCLOSE flag.
31113 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31114 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31115 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31116 _IO_FLAGS2_NOCLOSE flag.
31117 * include/unistd.h: Add hidden_proto for dup3.
31118 Define __have_dup3.
31119 * io/dup3.c: Define hidden symbol.
31120 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31121
bd25564e
UD
31122 [BZ #7101]
31123 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31124 when an incomplete long option is used.
31125 * posix/tst-getopt_long1.c: New file.
31126 * posix/Makefile (tests): Add tst-getopt_long1.
31127
c84cfef4
UD
31128 [BZ #10138]
31129 * scripts/config.guess: Update from autoconf-2.68.
31130 * scripts/config.sub: Likewise.
31131
3b85df27
UD
31132 [BZ #10157]
31133 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31134 tests into ...
31135 (has_cpuclock): ...this. New function.
31136 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31137 macro here based on has_cpuclock code.
31138
15a856b1
UD
31139 [BZ #10149]
31140 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31141 First byte (not low byte) is now always NUL.
31142 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31143
05f399e6
UD
31144 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31145 Use non-cancelable interfaces.
31146
10a52685 31147 [BZ #9809]
94ecc67d
UD
31148 * locale/iso-639.def: Add entry for Sorani.
31149
f8a3b5bf
UD
31150 [BZ #11901]
31151 * include/stdlib.h: Move include protection to the right place.
31152 Define abort_msg_s. Declare __abort_msg with it.
31153 * stdlib/abort.c (__abort_msg): Adjust type.
31154 * assert/assert.c (__assert_fail_base): New function. Majority
31155 of code from __assert_fail. Allocate memory for __abort_msg with
31156 mmap.
31157 (__assert_fail): Now call __assert_fail_base.
31158 * assert/assert-perr.c: Remove bulk of implementation. Use
31159 __assert_fail_base.
31160 * include/assert.hL Declare __assert_fail_base.
31161 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31162 mmap.
31163 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31164
1af4e298
UD
311652011-05-14 Ulrich Drepper <drepper@gmail.com>
31166
f8a3b5bf 31167 [BZ #11952]
d26dfc60
MG
31168 [BZ #12453]
31169 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31170 until all modules are registered in the DTV.
31171 * elf/Makefile: Add rules to build and run tst-tls19.
31172 * elf/tst-tls19.c: New file.
31173 * elf/tst-tls19mod1.c: New file.
31174 * elf/tst-tls19mod2.c: New file.
31175 * elf/tst-tls19mod3.c: New file.
31176 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31177
2fc54d6f
UD
31178 [BZ #12083]
31179 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31180 correctly.
31181
98d76b46
UD
31182 [BZ #12601]
31183 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31184 two-byte sequence errors.
31185 * iconvdata/Makefile (tests): Add bug-iconv8.
31186 * iconvdata/bug-iconv8.c: New file.
31187
da3c19ef
UD
31188 [BZ #12626]
31189 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31190 buf2 definition.
31191
ca408c15
UD
31192 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31193
d6f67f7d
UD
31194 [BZ #12432]
31195 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31196 (dummy_getcfa): New function.
31197 (init): Get _Unwind_GetCFA address, use dummy if not found.
31198 (backtrace_helper): In recursion check, also check whether CFA changes.
31199 (__backtrace): Completely initialize arg.
31200
1af4e298 31201 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
31202 storing incomplete byte sequence in state object. Avoid testing for
31203 guaranteed too small input if we know there is enough data available.
1af4e298 31204
da62f81b
AS
312052011-05-11 Andreas Schwab <schwab@redhat.com>
31206
31207 * Makeconfig (+link-pie): Indent.
31208 * Rules (binaries-pie): Define if $(have-fpie) and
31209 $(build-shared).
31210 (binaries-shared): Also filter out $(binaries-pie).
31211 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31212 * nscd/Makefile (others-pie): Add nscd.
31213 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31214 ($(objpfx)nscd): Remove command override.
31215 * login/Makefile (others-pie): Add pt_chown.
31216 ($(objpfx)pt_chown): Remove command override.
31217 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31218 remove command overrides.
31219
fcabc0f8
UD
312202011-05-13 Ulrich Drepper <drepper@gmail.com>
31221
20030ae6
UD
31222 * libio/tst_putwc.c: Fix error messages.
31223
fcabc0f8
UD
31224 [BZ #12724]
31225 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31226 currently writing and seek to current position when not.
31227 * libio/Makefile (tests): Add bug-fclose1.
31228 * libio/bug-fclose1.c: New file.
31229
320a5dc0
PB
312302011-05-12 Ulrich Drepper <drepper@gmail.com>
31231
31232 [BZ #12511]
31233 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31234 don't set DF_1_NODELETE here.
31235 (do_lookup_x): When entering new entry test for copy relocation
31236 and if necessary set DF_1_NODELETE flag.
31237 * elf/tst-unique4.cc: New file.
31238 * elf/tst-unique4.h: New file.
31239 * elf/tst-unique4lib.cc: New file.
31240 * elf/Makefile: Add rules to build and run tst-unique4.
31241 Patch by Piotr Bury <pbury@goahead.com>.
31242
22836f52
UD
312432011-05-11 Ulrich Drepper <drepper@gmail.com>
31244
f574184a
UD
31245 [BZ #12052]
31246 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31247
e1fb097f
UD
31248 [BZ #12625]
31249 * misc/mntent_r.c (addmntent): Flush the stream after the output
31250
22836f52
UD
31251 [BZ #12393]
31252 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31253 (is_trusted_path_normalize): Skip initial colon. Append slash
31254 to empty buffer. Duplicate is_trusted_path code but allow
31255 constructed patch to be prefix.
31256 (is_dst): Allow $ORIGIN followed by /.
31257 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31258 Correct testing of result of is_trusted_path_normalize
31259 (decompose_rpath): Fix warning.
31260
7b3b0b2a
UD
312612011-05-10 Ulrich Drepper <drepper@gmail.com>
31262
31263 [BZ #11257]
31264 * grp/initgroups.c (internal_getgrouplist): When we found the service
31265 list through the initgroups entry in nsswitch.conf do not always
31266 continue on a successful lookup. Don't always use the
eac80ce2 31267 __nss_group_database value if it is set.
7b3b0b2a
UD
31268 * nss/nsswitch.conf (initgroups): Change action for successful db
31269 lookup to continue for compatibility.
31270
2a81eaa5
UD
312712011-05-09 Ulrich Drepper <drepper@gmail.com>
31272
be97a69e
UD
31273 [BZ #11532]
31274 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31275 and CP774 modules.
31276 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31277 and CP774 modules.
31278 * iconvdata/tst-tables.sh: Likewise.
31279 * iconvdata/cp770.c: New file.
31280 * iconvdata/cp771.c: New file.
31281 * iconvdata/cp772.c: New file.
31282 * iconvdata/cp773.c: New file.
31283 * iconvdata/cp774.c: New file.
31284 * iconvdata/testdata/CP770: New file.
31285 * iconvdata/testdata/CP770..UTF8: New file.
31286 * iconvdata/testdata/CP771: New file.
31287 * iconvdata/testdata/CP771..UTF8: New file.
31288 * iconvdata/testdata/CP772: New file.
31289 * iconvdata/testdata/CP772..UTF8: New file.
31290 * iconvdata/testdata/CP773: New file.
31291 * iconvdata/testdata/CP773..UTF8: New file.
31292 * iconvdata/testdata/CP774: New file.
31293 * iconvdata/testdata/CP774..UTF8: New file.
31294
31295 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31296 END CHARMAP line.
31297 * iconvdata/gen-8bit-gap.sh: Likewise.
31298 * iconvdata/gen-8bit.sh: Likewise.
31299
c1e9e399
UD
31300 * locale/iso-639.def: Add ary entry.
31301
24c55fb3 31302 [BZ #11258]
96b4b1b0
UD
31303 * locale/C-translit.h.in: Add U20A1 transliteration.
31304
bdc2f971
KB
31305 [BZ #12178]
31306 * locale/iso-639.def: Add wae entry.
31307 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31308
2952b117
UD
31309 [BZ #12545]
31310 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31311 for n.
31312
2a81eaa5
UD
31313 [BZ #12711]
31314 * locale/C-translit.h.in: Add entry for U20B9.
31315 Patch by pravin.d.s@gmail.com.
31316
28377d1b
UD
313172011-05-08 Ulrich Drepper <drepper@gmail.com>
31318
7fb90fb8
UD
31319 [BZ #12713]
31320 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31321 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31322 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31323 in rtld. Use *stat64.
7fb90fb8 31324 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31325 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31326 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31327 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31328 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31329 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31330 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31331 __fstatat64 macros.
7fb90fb8
UD
31332 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31333 * dirent/rewinddir.c: Add libc_hidden_def.
31334 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31335 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31336
28377d1b
UD
31337 * include/dirent.h (__alloc_dir): Add flags parameter.
31338 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31339 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31340 __alloc_dir.
31341 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31342 from fdopendir if O_CLOEXEC is already set.
31343
66bdbaa4
AM
313442011-03-15 Alan Modra <amodra@gmail.com>
31345
31346 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31347 l_tls_firstbyte_offset non-zero. Save padding offset in
31348 l_tls_firstbyte_offset for later use.
31349 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31350 freeing static tls block.
31351
95721191
JN
313522011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31353
31354 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31355 where #ifdef was intended. The intent is to prevent ARG_MAX from
31356 being defined by the kernel headers.
31357
f87dfb1f
UD
313582011-05-07 Ulrich Drepper <drepper@gmail.com>
31359
31360 [BZ #12734]
31361 * resolv/resolv.h: Define RES_NOTLDQUERY.
31362 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31363 no-tld-query and set RES_NOTLDQUERY.
31364 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31365 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31366 modern BIND to search name as TLD unless forbidden.
31367
47c3cd7a
UD
313682011-05-07 Petr Baudis <pasky@suse.cz>
31369 Ulrich Drepper <drepper@gmail.com>
31370
31371 [BZ #12393]
31372 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31373 (is_trusted_path): ...to here.
c1e9ea35 31374 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31375 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31376 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31377
8a35c912
PP
313782011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31379
31380 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31381 __BEGIN/__END_DECLS.
31382
acd41f47
UD
313832011-05-06 Ulrich Drepper <drepper@gmail.com>
31384
31385 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31386 NSS_STATUS_NOTFOUND if no record was found.
31387
597df647
AS
313882011-05-05 Andreas Schwab <schwab@redhat.com>
31389
31390 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31391 (headers-not-in-tirpc): Remove rpc/netdb.h
31392 * resolv/netdb.h: Revert last change.
31393
b9af1301
PP
313942011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31395
31396 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31397 circular dependency between libgcc.a and libc.a.
31398
4e34d5f5
AS
313992011-05-05 Andreas Schwab <schwab@redhat.com>
31400
31401 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31402 * nis/Makefile: Don't install rpcsvc/*.
31403 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31404 instead of <rpc/types.h>.
31405 (MAXHOSTNAMELEN): Define.
31406
00ee369c
AS
314072011-05-03 Andreas Schwab <schwab@redhat.com>
31408
31409 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31410
0b592a30
MB
314112011-04-28 Maciej Babinski <mbabinski@google.com>
31412
31413 [BZ #12714]
31414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31415 gethostbyname4_r when IPv6 results are possible.
31416
6e04cbbe
UD
314172011-05-02 Ulrich Drepper <drepper@gmail.com>
31418
31419 [BZ #12723]
31420 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31421 _PC_PIPE_BUF handling.
31422
e4ecafe0
BH
314232011-04-30 Bruno Haible <bruno@clisp.org>
31424
31425 [BZ #12717]
31426 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31427 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31428 to 'int'.
31429 * inet/getnameinfo.c (getnameinfo): Likewise.
31430
125ee683
UD
314312011-04-29 Ulrich Drepper <drepper@gmail.com>
31432
31433 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31434 to groups setting in database lookup.
31435 * nss/nsswitch.conf: Add initgroups entry.
31436
b722481a
EB
314372011-04-22 Ulrich Drepper <drepper@gmail.com>
31438
31439 [BZ #12685]
31440 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31441 mode string.
31442 Patch by Eric Blake <eblake@redhat.com>.
31443
4df46dbd
L
314442011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31445
31446 * sunrpc/Makefile (need-export-routines): Add svc_run.
31447 (routines): Remove svc_run.
31448 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31449 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31450 * sunrpc/svc_run.c (svc_run): Likewise.
31451 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31452
e84142d2
UD
314532011-04-21 Ulrich Drepper <drepper@gmail.com>
31454
31455 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31456 problem in reallocation in last patch.
31457
877175d8
UD
314582011-04-20 Ulrich Drepper <drepper@gmail.com>
31459
31460 * sunrpc/Makefile: Move inclusion of Rules.
31461
ab8eed78
UD
314622011-04-19 Ulrich Drepper <drepper@gmail.com>
31463
31464 * nss/nss_files/files-initgroups.c: New file.
31465 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31466 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31467 _nss_files_initgroups_dyn.
31468
e3d8f584
RS
314692011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31470
31471 * elf/elf.h (R_ARM_IRELATIVE): Define.
31472
af190f45
UD
314732011-04-19 Ulrich Drepper <drepper@gmail.com>
31474
31475 * po/ru.po: Update from translation team.
31476
53cf59ef
UD
314772011-04-17 Ulrich Drepper <drepper@gmail.com>
31478
31479 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31480 dependencies.
31481
4c559bcd
MF
314822011-02-06 Mike Frysinger <vapier@gentoo.org>
31483
31484 [BZ #12653]
31485 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31486 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31487 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31488 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31489 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31490
4420675c
AS
314912011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31492
31493 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31494 differing bytes.
31495 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31496 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31497 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31498
75ea32ab
UD
314992011-04-17 Ulrich Drepper <drepper@gmail.com>
31500
31501 [BZ #12420]
31502 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31503 storing it.
31504 * stdlib/bug-getcontext.c: New file.
31505 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31506
27390476
AK
315072011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31508
31509 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31510 instructions into .machine "z9-109".
31511 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31512 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31513
10442705
AK
315142011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31515
31516 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31517 between environment variables and auxiliary vector.
31518
7b57bfe5
UD
315192011-04-16 Ulrich Drepper <drepper@gmail.com>
31520
31521 * Makefile: Add rules to build linkobj/libc.so.
31522 * include/libc-symbols.h: Define libc_hidden_nolink.
31523 * include/rpc/auth.h: Mark functions which are to be hidden.
31524 * include/rpc/auth_des.h: Likewise.
31525 * include/rpc/auth_unix.h: Likewise.
31526 * include/rpc/clnt.h: Likewise.
31527 * include/rpc/des_crypt.h: Likewise.
31528 * include/rpc/key_prot.h: Likewise.
31529 * include/rpc/pmap_clnt.h: Likewise.
31530 * include/rpc/pmap_prot.h: Likewise.
31531 * include/rpc/pmap_rmt.h: Likewise.
31532 * include/rpc/rpc_msg.h: Likewise.
31533 * include/rpc/svc.h: Likewise.
31534 * include/rpc/svc_auth.h: Likewise.
31535 * include/rpc/xdr.h: Likewise.
31536 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31537 * nss/Makefile: Likewise.
31538 * sunrpc/Makefile: Don't install headers. Build library with normal
31539 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31540 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31541 for the compat linking library. Remove use of INTDEF/INTUSE.
31542 * sunrpc/auth_none.c: Likewise.
31543 * sunrpc/auth_unix.c: Likewise.
31544 * sunrpc/authdes_prot.c: Likewise.
31545 * sunrpc/authuxprot.c: Likewise.
31546 * sunrpc/clnt_gen.c: Likewise.
31547 * sunrpc/clnt_perr.c: Likewise.
31548 * sunrpc/clnt_raw.c: Likewise.
31549 * sunrpc/clnt_simp.c: Likewise.
31550 * sunrpc/clnt_tcp.c: Likewise.
31551 * sunrpc/clnt_udp.c: Likewise.
31552 * sunrpc/clnt_unix.c: Likewise.
31553 * sunrpc/des_crypt.c: Likewise.
31554 * sunrpc/des_soft.c: Likewise.
31555 * sunrpc/get_myaddr.c: Likewise.
31556 * sunrpc/key_call.c: Likewise.
31557 * sunrpc/key_prot.c: Likewise.
31558 * sunrpc/netname.c: Likewise.
31559 * sunrpc/pm_getmaps.c: Likewise.
31560 * sunrpc/pm_getport.c: Likewise.
31561 * sunrpc/pmap_clnt.c: Likewise.
31562 * sunrpc/pmap_prot.c: Likewise.
31563 * sunrpc/pmap_prot2.c: Likewise.
31564 * sunrpc/pmap_rmt.c: Likewise.
31565 * sunrpc/publickey.c: Likewise.
31566 * sunrpc/rpc_cmsg.c: Likewise.
31567 * sunrpc/rpc_common.c: Likewise.
31568 * sunrpc/rpc_dtable.c: Likewise.
31569 * sunrpc/rpc_prot.c: Likewise.
31570 * sunrpc/rpc_thread.c: Likewise.
31571 * sunrpc/rtime.c: Likewise.
31572 * sunrpc/svc.c: Likewise.
31573 * sunrpc/svc_auth.c: Likewise.
31574 * sunrpc/svc_authux.c: Likewise.
31575 * sunrpc/svc_raw.c: Likewise.
31576 * sunrpc/svc_run.c: Likewise.
31577 * sunrpc/svc_simple.c: Likewise.
31578 * sunrpc/svc_tcp.c: Likewise.
31579 * sunrpc/svc_udp.c: Likewise.
31580 * sunrpc/svc_unix.c: Likewise.
31581 * sunrpc/svcauth_des.c: Likewise.
31582 * sunrpc/xcrypt.c: Likewise.
31583 * sunrpc/xdr.c: Likewise.
31584 * sunrpc/xdr_array.c: Likewise.
31585 * sunrpc/xdr_float.c: Likewise.
31586 * sunrpc/xdr_intXX_t.c: Likewise.
31587 * sunrpc/xdr_mem.c: Likewise.
31588 * sunrpc/xdr_rec.c: Likewise.
31589 * sunrpc/xdr_ref.c: Likewise.
31590 * sunrpc/xdr_sizeof.c: Likewise.
31591 * sunrpc/xdr_stdio.c: Likewise.
31592
e6c61494
UD
315932011-04-10 Ulrich Drepper <drepper@gmail.com>
31594
31595 [BZ #12650]
31596 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31597 * sysdeps/ia64/dl-tls.h: Likewise.
31598 * sysdeps/powerpc/dl-tls.h: Likewise.
31599 * sysdeps/s390/dl-tls.h: Likewise.
31600 * sysdeps/sh/dl-tls.h: Likewise.
31601 * sysdeps/sparc/dl-tls.h: Likewise.
31602 * sysdeps/x86_64/dl-tls.h: Likewise.
31603 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31604
34fe483e
AS
316052011-03-14 Andreas Schwab <schwab@redhat.com>
31606
31607 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31608 rpath element also skip the following colon.
31609 (expand_dynamic_string_token): Add is_path parameter and pass
31610 down to DL_DST_REQUIRED and _dl_dst_substitute.
31611 (decompose_rpath): Call expand_dynamic_string_token with
31612 non-zero is_path. Ignore empty rpaths.
31613 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31614 with zero is_path.
31615
f12a32e6
AS
316162011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31617
31618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31619 Make cancelable.
31620
38a7d692
UD
316212011-04-09 Ulrich Drepper <drepper@gmail.com>
31622
31623 [BZ #12655]
31624 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31625 Patch by Filipe David Manana <fdmanana@apache.org>.
31626
e451d22b
AS
316272011-04-07 Andreas Schwab <schwab@redhat.com>
31628
31629 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31630 Maintain aligned stack.
31631 (CHECK_RSP): Remove unused macro.
31632
dedc7c7b
UD
316332011-04-03 Ulrich Drepper <drepper@gmail.com>
31634
31635 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31636 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31637
94521213
UD
316382011-04-02 Ulrich Drepper <drepper@gmail.com>
31639
31640 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31641
8cb700c0 31642 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31643
0354e355
L
316442011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31645
31646 [BZ #12518]
31647 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31648 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31649 * sysdeps/x86_64/memmove.c: New file.
31650 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31651 (memcpy): Renamed to ...
31652 (__new_memcpy): This.
31653 (memcpy): Provide GLIBC_2_14 memcpy.
31654 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31655 (memcpy): Provide GLIBC_2_2_5 memcpy.
31656
8593482f
UD
316572011-04-01 Ulrich Drepper <drepper@gmail.com>
31658
31659 [BZ #12631]
31660 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31661
81a5726b
AS
316622011-03-30 Andreas Schwab <schwab@redhat.com>
31663
31664 * misc/syncfs.c: New file.
31665 * misc/Makefile (routines): Add syncfs.
31666 * posix/unistd.h: Declare syncfs.
31667 * sysdeps/unix/syscalls.list: Add syncfs.
31668
00e5419f
AS
316692011-04-01 Andreas Schwab <schwab@redhat.com>
31670
31671 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31672 open_by_handle_at.
31673 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31674 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31675 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31676 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31677 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31678 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31679 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31680
748876bf
UD
316812011-04-01 Ulrich Drepper <drepper@gmail.com>
31682
658e451d
UD
31683 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31684 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31685 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31686 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31687 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31688 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31689 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31690
748876bf
UD
31691 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31692 sync_file_range.c with -fexceptions.
31693 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31694 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31695 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31696 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31697 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31698 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31699 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31700 sync_file_range as cancellation point
31701 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31702 now a wrapper around __call_sync_file_range with cancellation handling.
31703 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31704 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31705 function name to __call_sync_file_range.
31706 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31707 Add call_sync_file_range.
748876bf 31708
6e63d5e1
AS
317092011-04-01 Andreas Schwab <schwab@redhat.com>
31710
31711 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31712 bits/timex.h.
6e63d5e1 31713
46998f74
UD
317142011-04-01 Ulrich Drepper <drepper@gmail.com>
31715
4c1423ed
UD
31716 * iconv/iconv.h: Fix typo in comment.
31717 * io/fcntl.h: Likewise.
31718 * libio/stdio.h: Likewise.
31719 * posix/spawn.h: Likewise.
31720 * posix/unistd.h: Likewise.
31721 * stdlib/stdlib.h: Likewise.
31722 * time/time.h: Likewise.
31723 * wcsmbs/wchar.h: Likewise.
31724
158648c0
UD
31725 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31726 open_by_handle): Add.
31727 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31728 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31729 Augment a few comments.
31730 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31731 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31732 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31734 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31735 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31736 open_by_handle.
31737
46998f74
UD
31738 * io/fcntl.h (AT_EMPTY_PATH): Define.
31739
83fe108b
UD
317402011-03-30 Ulrich Drepper <drepper@gmail.com>
31741
31742 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31743 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31744 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31745 to...
31746 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31747 * Versions.def: Add GLIBC_2.14.
31748 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31749 Export.
83fe108b 31750
bb242059
UD
317512011-03-22 Ulrich Drepper <drepper@gmail.com>
31752
31753 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31754 round counter.
31755 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31756
c97a1282
L
317572011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31758
31759 [BZ #12597]
31760 * string/test-strncmp.c (do_page_test): New function.
31761 (check2): Likewise.
31762 (test_main): Call check2.
31763 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31764
2a115601
UD
317652011-03-20 Ulrich Drepper <drepper@gmail.com>
31766
31767 [BZ #12587]
31768 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31769 Handle cache information in CPU leaf 4.
31770 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31771
8126d904
UD
317722011-03-18 Ulrich Drepper <drepper@gmail.com>
31773
042c49c6 31774 [BZ #12583]
8126d904
UD
31775 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31776 character representation.
31777 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31778
ccfe366e
RA
317792011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31780
31781 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31782 END(__isnan) to END(__isnanf) to match function entry point/label
31783 EALIGN(__isnanf,...).
31784
c6e13027
JJ
317852011-03-10 Jakub Jelinek <jakub@redhat.com>
31786
31787 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31788
33f85a3f
UD
317892011-03-10 Ulrich Drepper <drepper@gmail.com>
31790
028478fa
UD
31791 [BZ #12510]
31792 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31793 copy from the symbol referenced in the relocation to initialize the
31794 used variable.
31795 Patch by Piotr Bury <pbury@goahead.com>.
31796 * elf/Makefile: Add rules to build and tst-unique3.
31797 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31798 * elf/tst-unique3.cc: New file.
31799 * elf/tst-unique3.h: New file.
31800 * elf/tst-unique3lib.cc: New file.
31801 * elf/tst-unique3lib2.cc: New file.
31802
33f85a3f
UD
31803 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31804
03592fc7
MF
318052011-03-10 Mike Frysinger <vapier@gentoo.org>
31806
31807 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31808 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31809 to _start.
03592fc7 31810
6a5ee102
UD
318112011-03-06 Ulrich Drepper <drepper@gmail.com>
31812
31813 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31814 to-be-loaded object along a path to loader is ld.so.
31815
7e4ba49c
HJ
318162011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31817 Ulrich Drepper <drepper@gmail.com>
31818
31819 * sysdeps/x86_64/memset.S: After aligning destination, code
31820 branches to different locations depending on the value of
31821 misalignment, when multiarch is enabled. Fix this.
31822
318232011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31824
31825 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31826 Set _x86_64_preferred_memory_instruction for AMD processsors.
31827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31828 Set bit_Prefer_SSE_for_memop for AMD processors.
31829
13a804de
UD
318302011-03-04 Ulrich Drepper <drepper@gmail.com>
31831
31832 * libio/fmemopen.c (fmemopen): Optimize a bit.
31833
9d25c392
AS
318342011-03-03 Andreas Schwab <schwab@redhat.com>
31835
31836 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31837
a5543c6a
RM
318382011-03-03 Roland McGrath <roland@redhat.com>
31839
31840 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31841
012d35f7
DM
318422011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31843
7e4ba49c 31844 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31845 __bzero_ultra1 instead of __memset_ultra1.
31846
4bff6e01
AS
318472011-02-23 Andreas Schwab <schwab@redhat.com>
31848 Ulrich Drepper <drepper@gmail.com>
31849
31850 [BZ #12509]
31851 * include/link.h (struct link_map): Add l_orig_initfini.
31852 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31853 returning unsuccessfully.
31854 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31855 close of a file loaded at startup, restore the original l_initfini
31856 list.
31857 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31858 list, store the pointer.
31859 * elf/Makefile ($(objpfx)noload-mem): New rule.
31860 (noload-ENV): Define.
31861 (tests): Add $(objpfx)noload-mem.
31862 * elf/noload.c: Include <memcheck.h>.
31863 (main): Call mtrace. Close all opened handles.
31864
f2092faf
AS
318652011-02-17 Andreas Schwab <schwab@redhat.com>
31866
31867 [BZ #12454]
31868 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31869 dependencies are missing.
31870
6c8a2e88
ST
318712011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31872
f2092faf 31873 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31874 Hurd needs munmap.
31875 * sysdeps/mach/hurd/ifreq.h: New file.
31876
84a42118
PB
318772011-01-27 Petr Baudis <pasky@suse.cz>
31878 Ulrich Drepper <drepper@gmail.com>
31879
071f805e 31880 [BZ 12445]#
84a42118
PB
31881 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31882 to extend_alloca().
31883 * stdio-common/bug23.c: New file.
31884 * stdio-common/Makefile (tests): Add bug23.
31885
e23fe25b
AS
318862010-09-28 Andreas Schwab <schwab@redhat.com>
31887 Ulrich Drepper <drepper@gmail.com>
31888
31889 [BZ #12489]
31890 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31891 before performing relro protection. At old place add assertion
31892 to make sure nothing changed.
31893
d3f02e10
NS
318942011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31895 Glauber de Oliveira Costa <glommer@gmail.com>
31896
31897 * elf/elf.h: Add new ARM TLS relocs.
31898
d55fd7a5
RA
318992011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31900
31901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31902 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31903 cast from r3.
31904 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31905 'tests' variable.
31906 * sysdeps/wordsize-64/tst-writev.c: New file.
31907
2206397e
RA
319082011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31909
31910 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31911 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31912 insns in _dl_start to prevent a TOC reference before relocs are
31913 resolved.
31914
e9433893
UD
319152011-02-15 Ulrich Drepper <drepper@gmail.com>
31916
31917 [BZ #12469]
31918 * Makeconfig: Remove RANLIB definition.
31919 * Makerules: Don't use RANLIB.
31920 * aclocal.m4: Remove ranlib test.
31921 * configure.in: No need to check for ranlib.
31922 * elf/rtld-Rules: Don't use RANLIB.
31923
f75286c6
ST
319242011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31925
8e31c82d
ST
31926 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31927 protection macro.
31928 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31929 inclusion protection macro.
31930
f75286c6
ST
31931 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31932 SIGRTMIN and SIGRTMAX and print information in that case only when
31933 SIGRTMIN is defined.
31934
c1d0e639
JJ
319352011-02-11 Jakub Jelinek <jakub@redhat.com>
31936
31937 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31938 arginfo fn returning -1.
31939
31940 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31941 and thousands string is zero terminated.
31942
edf9294e
AS
319432011-02-03 Andreas Schwab <schwab@redhat.com>
31944
31945 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31946 sysdeps/unix/sysv/linux/bits/socket.h.
31947
2b7e92df
ST
319482011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31949
edf9294e
AS
31950 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31951 (__CPU_COUNT): Remove old macros.
31952 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31953 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31954 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31955 (__sched_cpualloc, __sched_cpufree): Add declarations.
31956
a4c7ea7b
UD
319572011-02-05 Ulrich Drepper <drepper@gmail.com>
31958
31959 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31960 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31961 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31962 (readdhstai): Return value of addhstaiX call.
31963 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31964 (addgrbyX): Return value returned by cache_addgr.
31965 (readdgrbyname): Return value returned by addgrbyX.
31966 (readdgrbygid): Likewise.
31967 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31968 (addpwbyX): Return value returned by cache_addpw.
31969 (readdpwbyname): Return value returned by addhstbyX.
31970 (readdpwbyuid): Likewise.
31971 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31972 (addservbyX): Return value returned by cache_addserv.
31973 (readdservbyname): Return value returned by addservbyX:
31974 (readdservbyport): Likewise.
31975 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31976 (addhstbyX): Return value returned by cache_addhst.
31977 (readdhstbyname): Return value returned by addhstbyX.
31978 (readdhstbyaddr): Likewise.
31979 (readdhstbynamev6): Likewise.
31980 (readdhstbyaddrv6): Likewise.
31981 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31982 (readdinitgroups): Return value returned by addinitgroupsX.
31983 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31984 (prune_cache): Keep track of timeout value of re-added entries.
31985 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31986 * nscd/nscd.h: Adjust prototypes of readd* functions.
31987
a0bf67cc
RM
319882011-02-04 Roland McGrath <roland@redhat.com>
31989
31990 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31991 (nis_stats): Likewise.
31992 * nis/nis_modify.c (nis_modify): Likewise.
31993 * nis/nis_remove.c (nis_remove): Likewise.
31994 * nis/nis_add.c (nis_add): Likewise.
31995
31996 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31997
31998 * posix/fnmatch_loop.c: Add some consts.
31999
32000 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32001
435b95eb
L
320022011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32003
32004 [BZ #12460]
32005 * config.make.in (config-cflags-novzeroupper): Define.
32006 * configure.in: Substitute libc_cv_cc_novzeroupper.
32007 * elf/Makefile (AVX-CFLAGS): Define.
32008 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32009 (CFLAGS-tst-auditmod4a.c): Likewise.
32010 (CFLAGS-tst-auditmod4b.c): Likewise.
32011 (CFLAGS-tst-auditmod6b.c): Likewise.
32012 (CFLAGS-tst-auditmod6c.c): Likewise.
32013 (CFLAGS-tst-auditmod7b.c): Likewise.
32014 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32015
8517b15e
UD
320162011-02-02 Ulrich Drepper <drepper@gmail.com>
32017
32018 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32019 function to the callback.
32020 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32021
10a656fe
AS
320222011-02-02 Andreas Schwab <schwab@redhat.com>
32023
32024 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32025 of errno.
32026
968dad0a
UD
320272011-01-19 Ulrich Drepper <drepper@gmail.com>
32028
9f94d2ea 32029 [BZ #11724]
968dad0a
UD
32030 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32031 of constructors.
32032 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32033 of destructors.
32034 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32035
32036 [BZ #11724]
32037 * elf/Makefile: Add rules to build and run new test.
32038 * elf/tst-initorder.c: New file.
32039 * elf/tst-initorder.exp: New file.
32040 * elf/tst-initordera1.c: New file.
32041 * elf/tst-initordera2.c: New file.
32042 * elf/tst-initordera3.c: New file.
32043 * elf/tst-initordera4.c: New file.
32044 * elf/tst-initorderb1.c: New file.
32045 * elf/tst-initorderb2.c: New file.
32046 * elf/tst-order-a1.c: New file.
32047 * elf/tst-order-a2.c: New file.
32048 * elf/tst-order-a3.c: New file.
32049 * elf/tst-order-a4.c: New file.
32050 * elf/tst-order-b1.c: New file.
32051 * elf/tst-order-b2.c: New file.
32052 * elf/tst-order-main.c: New file.
32053 New test case by George Gensure <werkt0@gmail.com>.
32054
86e92359
UD
320552010-10-01 Andreas Schwab <schwab@redhat.com>
32056
32057 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32058 decoding ACE if AI_CANONIDN.
32059
5d5732b0
UD
320602011-01-18 Ulrich Drepper <drepper@gmail.com>
32061
32062 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32063
a77e8cbc
UD
320642011-01-17 Ulrich Drepper <drepper@gmail.com>
32065
6392473f
UD
32066 * version.h (RELEASE): Bump for 2.13 release.
32067 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32068
620a0529
UD
32069 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32070
18ba70a5
UD
32071 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32072 MADV_NOHUGEPAGE.
32465c3e
UD
32073 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32074 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32075 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32076 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32077 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32078 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32079
c0dafcf1
UD
32080 * posix/getconf.c: Update copyright year.
32081 * catgets/gencat.c: Likewise.
32082 * csu/version.c: Likewise.
32083 * debug/catchsegv.sh: Likewise.
32084 * debug/xtrace.sh: Likewise.
32085 * elf/ldconfig.c: Likewise.
32086 * elf/ldd.bash.in: Likewise.
32087 * elf/sprof.c (print_version): Likewise.
32088 * iconv/iconv_prog.c: Likewise.
32089 * iconv/iconvconfig.c: Likewise.
32090 * locale/programs/locale.c: Likewise.
32091 * locale/programs/localedef.c: Likewise.
32092 * malloc/memusage.sh: Likewise.
32093 * malloc/mtrace.pl: Likewise.
32094 * nscd/nscd.c (print_version): Likewise.
32095 * nss/getent.c: Likewise.
32096
a77e8cbc
UD
32097 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32098 PF_CAIF, and PF_ALG.
32099 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32100
77e8bddf
AS
321012011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32102
1f20b93a
AS
32103 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32104 (modules-names): Use them.
32105 (ifunc-test-modules, ifunc-pie-tests): Define.
32106 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32107 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32108 (test-extras): Likewise.
32109 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32110 $(compile-command.c).
32111 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32112 (all-built-dso): Define.
32113 (check-textrel.out, check-execstack.out): Depend on it.
32114
77e8bddf
AS
32115 * configure.in: Don't override --enable-multi-arch.
32116
bc425b33
UD
321172011-01-15 Ulrich Drepper <drepper@gmail.com>
32118
32119 [BZ #6812]
32120 * nscd/hstcache.c (tryagain): Define.
32121 (cache_addhst): Return tryagain not notfound for temporary errors.
32122 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32123 failed.
32124
794c3ad3
UD
321252011-01-14 Ulrich Drepper <drepper@gmail.com>
32126
70181fdd
UD
32127 [BZ #10563]
32128 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32129 to make the syscall.
32130 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32131
794c3ad3
UD
32132 [BZ #12378]
32133 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32134 and fall back to matching as normal character if the string ends before
32135 the matching ']' is found. This is what POSIX requires.
32136 * posix/testfnm.c: Adjust test result.
32137 * posix/globtest.sh: Adjust test result. Add new test.
32138 * posix/tst-fnmatch.input: Likewise.
32139 * posix/tst-fnmatch2.c: Add new test.
32140
68dc9497
AS
321412010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32142
32143 * elf/Makefile (check-execstack): Revert last change. Depend on
32144 check-execstack.h.
32145 (check-execstack.h): New target.
32146 (generated): Add check-execstack.h.
32147 * elf/check-execstack.c: Include "check-execstack.h".
32148 (main): Revert last change.
32149 (handle_file): Return zero if GNU_STACK is absent and
32150 DEFAULT_STACK_PERMS doesn't include PF_X.
32151
451f001b
UD
321522011-01-13 Ulrich Drepper <drepper@gmail.com>
32153
cfa28e56
UD
32154 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32155 in child fails because the descriptor is already closed.
8cf8ce17
UD
32156 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32157 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32158 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 32159
1086d70d
UD
32160 [BZ #12397]
32161 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32162 syscall.
32163
451f001b
UD
32164 [BZ #10484]
32165 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32166 temporary buffer used to handle multi lookups locally.
a85b5cb4 32167 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 32168
08769175
UD
321692011-01-12 Ulrich Drepper <drepper@gmail.com>
32170
32171 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32172 loader is ld.so.
32173
5e49c52e
UD
321742011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32175
32176 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32177 alignment for SSE2.
32178
60522a5f
UD
321792011-01-12 Ulrich Drepper <drepper@gmail.com>
32180
32181 [BZ #12394]
32182 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32183 characters. When rounding increased number of integer digits recompute
32184 number of groups.
32185 * stdio-common/tst-grouping.c: New file.
32186 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32187
f257bbd7
UD
321882011-01-09 Ulrich Drepper <drepper@gmail.com>
32189
32190 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32191 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32192
32193 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32194 void.
32195 * bits/select.h: Likewise.
32196
fa9c15cb
UD
321972011-01-08 Ulrich Drepper <drepper@gmail.com>
32198
32199 * po/ja.po: Update from translation team.
32200
16c2895f
DM
322012011-01-04 David S. Miller <davem@sunset.davemloft.net>
32202
32203 [BZ #11155]
32204 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32205 implementation just like for lxstat, fxstatat, et al.
32206
2543fef2
JM
322072010-12-27 Jim Meyering <meyering@redhat.com>
32208
32209 [BZ #12348]
32210 * posix/regexec.c (build_trtable): Return failure indication upon
32211 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32212
98727dbe
UD
322132010-12-25 Ulrich Drepper <drepper@gmail.com>
32214
5bd6dc5c
UD
32215 [BZ #12201]
32216 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32217 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32218 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32219 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32220
97983464
UD
32221 [BZ #12207]
32222 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32223
98727dbe
UD
32224 [BZ #12204]
32225 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32226 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32227
4a531bb0
L
322282010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32229
32230 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32231 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32232 script has SORT_BY_INIT_PRIORITY.
32233 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32234 NO_CTORS_DTORS_SECTIONS is defined.
32235 * elf/soinit.c: Likewise.
32236 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32237 NO_CTORS_DTORS_SECTIONS is defined.
32238 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32239 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32240 * sysdeps/sh/init-first.c: Likewise.
32241 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32242
07eb4b71
UD
322432010-12-24 Ulrich Drepper <drepper@gmail.com>
32244
32245 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32246 always use the slow path.
32247
30950a5f
RA
322482010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32249
32250 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32251 similar rule which adds the sysdep directories to the header search in
32252 order to pick up the correct platform stackinfo.h.
32253 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32254 perform test if it is, otherwise return successfully without testing.
32255 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32256 DEFAULT_STACK_PERMS define in stackinfo.h.
32257 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32258 defined in stackinfo.h.
32259 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32260 DEFAULT_STACK_PERMS defined in stackinfo.h.
32261 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32262 * sysdeps/ia64/stackinfo.h: Likewise.
32263 * sysdeps/s390/stackinfo.h: Likewise.
32264 * sysdeps/sh/stackinfo.h: Likewise.
32265 * sysdeps/sparc/stackinfo.h: Likewise.
32266 * sysdeps/x86_64/stackinfo.h: Likewise.
32267 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32268 PF_X for powerpc64. Retain PF_X for powerpc32.
32269
db753e2c
UD
322702010-12-19 Ulrich Drepper <drepper@gmail.com>
32271
14b697f7
UD
32272 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32273 accurately.
db753e2c
UD
32274 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32275 GETDENTS_64BIT_ALIGNED.
32276
28300719
UD
322772010-12-14 Ulrich Drepper <dreper@gmail.com>
32278
14b697f7 32279 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32280
4f197237
AS
322812010-12-10 Andreas Schwab <schwab@redhat.com>
32282
dbb0472f
AS
32283 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32284 _GNU_SOURCE.
32285
4f197237
AS
32286 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32287 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32288 Remove __restrict.
32289 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32290 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32291
fb88ac72
UD
322922010-12-09 Ulrich Drepper <drepper@gmail.com>
32293
32294 [BZ #11655]
32295 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32296 are initialized.
32297
42acbb92
JJ
322982010-12-09 Jakub Jelinek <jakub@redhat.com>
32299
32300 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32301
c038d98d
UD
323022010-12-03 Ulrich Drepper <drepper@gmail.com>
32303
32304 * po/it.po: Update from translation team.
32305
3a4a2499
L
323062010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32307
32308 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32309 unused codes.
32310
1e24cf6e
UD
323112010-11-30 Ulrich Drepper <drepper@gmail.com>
32312
32313 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32314
a7690819
AS
323152010-11-24 Andreas Schwab <schwab@redhat.com>
32316
32317 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32318 specially.
32319 (gaih_getanswer_slice): Likewise.
32320
3bf8d1b1
JJ
323212010-10-20 Jakub Jelinek <jakub@redhat.com>
32322
32323 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32324
6db52fbb
PB
323252010-05-31 Petr Baudis <pasky@suse.cz>
32326
32327 [BZ #11149]
32328 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32329 silently even in the chroot mode.
32330
eaca7569
UD
323312010-11-22 Ulrich Drepper <drepper@gmail.com>
32332
32333 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32334 last patch a bit. Pretty printing
32335
3056dcdb
UD
323362010-05-31 Petr Baudis <pasky@suse.cz>
32337
32338 [BZ #10085]
32339 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32340 initialization of skip_initgroups_dyn.
32341
cf7c9078
UD
323422010-11-19 Ulrich Drepper <drepper@gmail.com>
32343
32344 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32345 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32346
a1fb5e3e
UD
323472010-11-16 Ulrich Drepper <drepper@gmail.com>
32348
32349 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32350
3540d66b
AS
323512010-11-11 Andreas Schwab <schwab@redhat.com>
32352
32353 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32354 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32355 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32356 ($(objpfx)tst-fnmatch-mem): New rule.
32357 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32358 * posix/tst-fnmatch.c (main): Call mtrace.
32359
13b69574
L
323602010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32361
32362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32363 Support Intel processor model 6 and model 0x2c.
32364
da93d214
LM
323652010-11-10 Luis Machado <luisgpm@br.ibm.com>
32366
32367 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32368 signed comparison.
32369
8ca52c6e
L
323702010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32371
32372 [BZ #12205]
32373 * string/test-strncasecmp.c (check_result): New function.
32374 (do_one_test): Use it.
32375 (check1): New function.
32376 (test_main): Use it.
32377 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32378 Support strcasecmp and strncasecmp.
32379
69da074d
UD
323802010-11-08 Ulrich Drepper <drepper@gmail.com>
32381
32382 [BZ #12194]
32383 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32384 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32385
ff02d528
L
323862010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32387
32388 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32389 IFUNC support.
32390 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32391 memset-x86-64.
32392 * sysdeps/x86_64/multiarch/bzero.S: New file.
32393 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32394 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32395 * sysdeps/x86_64/multiarch/memset.S: New file.
32396 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32398 Set bit_Prefer_SSE_for_memop for Intel processors.
32399 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32400 Define.
32401 (index_Prefer_SSE_for_memop): Define.
32402 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32403
344d0b54
LM
324042010-11-04 Luis Machado <luisgpm@br.ibm.com>
32405
32406 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32407 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32408
c0dde15b
UD
324092010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32410
32411 [BZ #12191]
32412 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32413 (__x86_64_raw_data_cache_size_half): Likewise.
32414 (__x86_64_raw_shared_cache_size): Likewise.
32415 (__x86_64_raw_shared_cache_size_half): Likewise.
32416
32417 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32418 (__x86_64_raw_data_cache_size_half): Likewise.
32419 (__x86_64_raw_shared_cache_size): Likewise.
32420 (__x86_64_raw_shared_cache_size_half): Likewise.
32421 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32422 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32423 and __x86_64_raw_shared_cache_size_half. Round
32424 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32425 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32426 to multiple of 256 bytes.
32427
0e516e0e
MS
324282010-11-03 Ulrich Drepper <drepper@gmail.com>
32429
32430 [BZ #12167]
32431 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32432 of inacessible symlinks. Verify result of symlink before returning it.
32433 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32434 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32435
0e012e87
ER
324362010-10-28 Erich Ritz <erichritz@gmail.com>
32437
32438 * math/math.h (isinf): Fix typo in comment.
32439
de0ff7bc
UD
324402010-11-01 Ulrich Drepper <drepper@gmail.com>
32441
32442 * po/da.po: Update from translation team.
32443
fa41c84d
UD
324442010-10-26 Ulrich Drepper <drepper@gmail.com>
32445
32446 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32447 is added to the list.
32448
f0967738
AK
324492010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32450 Ulrich Drepper <drepper@gmail.com>
32451
32452 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32453 the global list here. Move code to...
32454 (_dl_add_to_namespace_list): ...here. New function.
32455 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32456 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32457 * elf/dl-load.c (lose): Don't remove the element from the list.
32458 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32459 (_dl_map_object): Likewise.
32460
324612010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32462
32463 [BZ #12159]
32464 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32465 into all bytes of SSE register.
32466 Patch by Richard Li <richardpku@gmail.com>.
32467
f0967738 324682010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32469
32470 [BZ #12140]
32471 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32472 perturbing.
32473
d0b9e94f
MB
324742010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32475
32476 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32477 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32478 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32479 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32481 submachine.
32482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32483
8e9f92e9
AS
324842010-10-22 Andreas Schwab <schwab@redhat.com>
32485
32486 * include/dlfcn.h (__RTLD_SECURE): Define.
32487 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32488 mode & __RTLD_SECURE instead.
32489 (open_path): Rename preloaded parameter to secure.
32490 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32491 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32492 * elf/dl-deps.c (openaux): Likewise.
32493 * elf/rtld.c (struct map_args): Remove is_preloaded.
32494 (map_doit): Don't use it.
32495 (dl_main): Likewise.
32496 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32497 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32498
bc96fbda
AS
324992010-09-09 Andreas Schwab <schwab@redhat.com>
32500
32501 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32502 (sysd-rules-targets): Remove duplicates.
32503 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32504 rtld-%.$o dependency.
32505
22cd1c9b
AS
325062010-10-18 Andreas Schwab <schwab@redhat.com>
32507
32508 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32509 _dl_map_object do it.
32510
18edac48
UD
325112010-10-19 Ulrich Drepper <drepper@gmail.com>
32512
32513 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32514 fast fma builtins, define the macros in the C99 standard.
32515 (FP_FAST_FMAF): Likewise.
32516 (FP_FAST_FMAL): Likewise.
32517 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32518
32519 * bits/mathdef.h: Update copyright year.
32520 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32521
d2050124
MM
325222010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32523
32524 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32525 builtins, define the macros in the C99 standard.
32526 (FP_FAST_FMAF): Likewise.
32527 (FP_FAST_FMAL): Likewise.
32528 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32529 multiply/add.
32530 (FP_FAST_FMAF): Likewise.
32531
475facd1
JJ
325322010-10-15 Jakub Jelinek <jakub@redhat.com>
32533
32534 [BZ #3268]
32535 * math/libm-test.inc (fma_test): Some new testcases.
32536 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32537 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32538 y and infinite z. Do multiplication by C already in long double.
32539 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32540 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32541 y and infinite z. Do bitwise or of inexact bit into u.d.
32542 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32543 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32544 * sysdeps/i386/fpu/s_fma.S: Removed.
32545 * sysdeps/i386/fpu/s_fmal.S: Removed.
32546
7c08a05c
JJ
325472010-10-16 Jakub Jelinek <jakub@redhat.com>
32548
32549 [BZ #3268]
32550 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32551 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32552 computation is not scheduled after fetestexcept. Fix value
32553 of minimum denormal long double.
32554
f3f7372d
JJ
325552010-10-14 Jakub Jelinek <jakub@redhat.com>
32556
32557 [BZ #3268]
32558 * math/libm-test.inc (fma_test): Add some more tests.
32559 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32560 correctly.
32561
14d43591
AS
325622010-10-15 Andreas Schwab <schwab@redhat.com>
32563
32564 * scripts/data/localplt-s390-linux-gnu.data: New file.
32565 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32566
5e908464
JJ
325672010-10-13 Jakub Jelinek <jakub@redhat.com>
32568
32569 [BZ #3268]
32570 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32571 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32572 instead of dbl-64.
32573 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32574 inlines.
32575 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32576 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32577 if one of x and y is very large and the other is subnormal.
32578 * sysdeps/s390/fpu/s_fmaf.c: New file.
32579 * sysdeps/s390/fpu/s_fma.c: New file.
32580 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32581 * sysdeps/powerpc/fpu/s_fma.S: New file.
32582 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32583 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32584 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32585
325862010-10-12 Jakub Jelinek <jakub@redhat.com>
32587
32588 [BZ #3268]
32589 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32590 fma tests.
32591 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32592 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32593 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32594 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32595 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32596 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32597 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32598
b833d51f
UD
325992010-10-12 Ulrich Drepper <drepper@redhat.com>
32600
32601 [BZ #12078]
32602 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32603 * posix/bug-regex31.input: Add test case.
32604
1751705d
UD
326052010-10-11 Ulrich Drepper <drepper@gmail.com>
32606
e9b9cbf5
UD
32607 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32608 * posix/bug-regex31.input: New file.
32609
32610 [BZ #12078]
32611 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32612 (parse_sub_exp): Fix last change, use postorder.
32613
ef06edbe
UD
32614 * posix/bug-regex31.c: New file.
32615 * posix/Makefile: Add rules to build and run bug-regex31.
32616
a129c80d
UD
32617 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32618
32619 [BZ #12078]
32620 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32621
b76b818e
UD
32622 [BZ #12108]
32623 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32624 to have entries in sys_siglist.
32625
1751705d
UD
32626 [BZ #12093]
32627 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32628 be NULL.
32629
9ff8d36f
JJ
326302010-10-07 Jakub Jelinek <jakub@redhat.com>
32631
32632 [BZ #3268]
32633 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32634 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32635 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32636 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32637 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32638 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32639 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32640 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32641 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32642 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32643 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32644 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32645 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32646 * math/ftestexcept.c (fetestexcept): Likewise.
32647 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32648 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32649 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32650 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32651 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32652 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32653 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32654
af325969
UD
326552010-10-11 Ulrich Drepper <drepper@gmail.com>
32656
c579b202 32657 [BZ #12107]
af325969
UD
32658 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32659 newline.
32660
67a67b95
UD
326612010-10-06 Ulrich Drepper <drepper@gmail.com>
32662
32663 * string/bug-strstr1.c: New file.
32664 * string/Makefile: Add rules to build and run bug-strstr1.
32665
5fb308bc
EB
326662010-10-05 Eric Blake <eblake@redhat.com>
32667
32668 [BZ #12092]
32669 * string/str-two-way.h (two_way_long_needle): Always clear memory
32670 when skipping input due to the shift table.
32671
45db99c7
UD
326722010-10-03 Ulrich Drepper <drepper@gmail.com>
32673
3b111893
UD
32674 [BZ #12005]
32675 * malloc/mcheck.c: Handle large requests.
32676
45db99c7
UD
32677 [BZ #12077]
32678 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32679 for strncmp and strncasecmp.
32680 * string/stratcliff.c: Add tests for strcmp and strncmp.
32681 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32682
cf7a1eb8
NI
326832010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32684
32685 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32686 __set_fpscr.
32687
6484ba5e
AJ
326882010-09-30 Andreas Jaeger <aj@suse.de>
32689
32690 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32691 (CGROUP_SUPER_MAGIC): Define.
32692 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32693 Handle btrfs and cgroup file systems.
32694 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32695 Likewise.
32696
91c42559
LM
326972010-09-27 Luis Machado <luisgpm@br.ibm.com>
32698
32699 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32700 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32701
87a97932
AK
327022010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32703
32704 [BZ #12067]
32705 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32706 trying to locate the ELF header.
32707
c21cc9bc
AS
327082010-09-27 Andreas Schwab <schwab@redhat.com>
32709
32710 [BZ #11611]
32711 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32712 Mask out sign-bit copies when constructing f_fsid.
32713
315970f6
PB
327142010-09-24 Petr Baudis <pasky@suse.cz>
32715
32716 * debug/stack_chk_fail_local.c: Add missing licence exception.
32717 * debug/warning-nop.c: Likewise.
32718
1ac7a2c7
JM
327192010-09-15 Joseph Myers <joseph@codesourcery.com>
32720
32721 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32722 implementing getdents64 using getdents syscall, set d_type if
32723 __ASSUME_GETDENTS32_D_TYPE.
32724
56801c50
AS
327252010-09-16 Andreas Schwab <schwab@redhat.com>
32726
32727 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32728 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32729
dda51327
UD
327302010-09-21 Ulrich Drepper <drepper@redhat.com>
32731
32732 [BZ #12037]
32733 * posix/unistd.h: Undo change of feature selection for ftruncate from
32734 2010-01-11.
32735
8ffcee4a
UD
327362010-09-20 Ulrich Drepper <drepper@redhat.com>
32737
a545ecd9 32738 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32739 detection.
32740
e24f0a8b
AS
327412010-09-20 Andreas Schwab <schwab@redhat.com>
32742
32743 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32744 fanotify_mark.
32745 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32746
7291c56f
AS
327472010-09-14 Andreas Schwab <schwab@redhat.com>
32748
32749 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32750 variables after CHECK_SP call.
32751 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32752
bc5fb037
AS
327532010-09-13 Andreas Schwab <schwab@redhat.com>
32754 Ulrich Drepper <drepper@redhat.com>
32755
32756 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32757 re-relocationg ld.so.
32758 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32759 _dl_init_paths call.
32760 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32761 here anymore.
32762
e66e7419
UD
327632010-09-14 Ulrich Drepper <drepper@redhat.com>
32764
32765 * resolv/res_init.c (__res_vinit): Count the default server we added.
32766
c044aa75
CLT
327672010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32768 Ulrich Drepper <drepper@redhat.com>
32769
32770 [BZ #11968]
32771 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32772 (____longjmp_chk): Use %ebx for saving value across system call.
32773 Add unwind info.
32774
32cf4069
AS
327752010-09-06 Andreas Schwab <schwab@redhat.com>
32776
32777 * manual/Makefile: Don't mix pattern rules with normal rules.
32778
817328ee
AS
327792010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32780
32781 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32782 operation.
32783 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32784 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32785 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32786 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32787 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32788 Likewise.
32789
29fddf61
UD
327902010-09-04 Ulrich Drepper <drepper@redhat.com>
32791
32792 [BZ #11979]
32793 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32794 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32795
0959ffc9
UD
327962010-09-02 Ulrich Drepper <drepper@redhat.com>
32797
32798 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32799 * sysdeps/x86_64/addmul_1.S: Likewise.
32800 * sysdeps/x86_64/lshift.S: Likewise.
32801 * sysdeps/x86_64/mul_1.S: Likewise.
32802 * sysdeps/x86_64/rshift.S: Likewise.
32803 * sysdeps/x86_64/sub_n.S: Likewise.
32804 * sysdeps/x86_64/submul_1.S: Likewise.
32805
ece29840
ST
328062010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32807
0959ffc9
UD
32808 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32809 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32810 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32811 * bits/sched.h [__need_schedparam]
ece29840 32812 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32813 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32814 (__defined_schedparam): Define to 1.
ece29840
ST
32815 (__sched_param): New structure, identical to sched_param.
32816 (__need_schedparam): Undefine.
32817
e53a31fe
MF
328182010-08-31 Mike Frysinger <vapier@gentoo.org>
32819
fdc0c10d
MF
32820 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32821 (epoll_create1): Declare.
32822
e53a31fe
MF
32823 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32824
a726d796
AS
328252010-08-31 Andreas Schwab <schwab@redhat.com>
32826
32827 [BZ #7066]
32828 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32829 shifting retval into place.
32830
2f3e3dc7
UD
328312010-09-01 Ulrich Drepper <drepper@redhat.com>
32832
f2933da9
UD
32833 * nis/rpcsvc/nis.h: Update copyright notice.
32834 * nis/rpcsvc/nis.x: Likewise.
32835 * nis/rpcsvc/nis_callback.h: Likewise.
32836 * nis/rpcsvc/nis_callback.x: Likewise.
32837 * nis/rpcsvc/nis_object.x: Likewise.
32838 * nis/rpcsvc/nis_tags.h: Likewise.
32839 * nis/rpcsvc/yp.h: Likewise.
32840 * nis/rpcsvc/yp.x: Likewise.
32841 * nis/rpcsvc/ypupd.h: Likewise.
32842 * nis/yp_xdr.c: Likewise.
32843 * nis/ypupdate_xdr.c: Likewise.
32844
2f3e3dc7
UD
32845 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32846 mainly the body of pmap_getport. Add parameters to specify timeouts.
32847 (pmap_getport): Use __libc_rpc_getport.
32848 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32849 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32850 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32851
f3dcc2f9
AS
328522010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32853
32854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32855 fanotify_mark.
32856
6d34eb5b
RM
328572010-08-27 Roland McGrath <roland@redhat.com>
32858
32859 * sysdeps/i386/i686/multiarch/Makefile
32860 (CFLAGS-varshift.c): New variable.
32861
9ea3de11
UD
328622010-08-27 Ulrich Drepper <drepper@redhat.com>
32863
c96d23fc
UD
32864 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32865 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32866
9ea3de11
UD
32867 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32868
32869 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32870
623aac7f
L
328712010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32872
32873 * sysdeps/x86_64/strlen.S: Unroll the loop.
32874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32875 strlen-sse2 strlen-sse2-bsf.
32876 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32877 __strlen_no_bsf if bit_Slow_BSF is set.
32878 (__strlen_sse42): Removed.
32879 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32880 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32881
8b2b7715
RM
328822010-08-25 Roland McGrath <roland@redhat.com>
32883
32884 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32885 * sysdeps/x86_64/multiarch/varshift.c: New file.
32886 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32887 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32888 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32889 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32890
e73015f2
L
328912010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32892
32893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32894 strlen-sse2 strlen-sse2-bsf.
32895 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32896 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32897 (__strlen_sse2): Removed.
32898 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32899 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32901 bit_Slow_BSF for Atom.
32902 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32903 (index_Slow_BSF): Define.
32904 (HAS_SLOW_BSF): Define.
32905
df24a73e
UD
329062010-08-25 Ulrich Drepper <drepper@redhat.com>
32907
32908 [BZ #10851]
32909 * resolv/res_init.c (__res_vinit): When no server address at all
32910 is given default to loopback.
32911
f2ac4868
RM
329122010-08-24 Roland McGrath <roland@redhat.com>
32913
09055553
RM
32914 * configure.in: Remove config-name.h generation.
32915 * configure: Regenerated.
32916 * config-name.in: File removed.
32917 * scripts/config-uname.sh: New file.
32918 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32919 ($(objdir)config-name.h): New target.
32920
f2ac4868
RM
32921 * sunrpc/rpc_parse.h: Avoid nested comment.
32922
73f27d5e
RH
329232010-08-24 Richard Henderson <rth@redhat.com>
32924 Ulrich Drepper <drepper@redhat.com>
32925 H.J. Lu <hongjiu.lu@intel.com>
32926
32927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32928 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32929 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32930 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32931 _mm_alignr_epi8 with _mm_loadu_si128.
32932 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32933 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32934 (__m128i_shift_right): Removed.
32935 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32936 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32937 * sysdeps/x86_64/multiarch/varshift.h: New file.
32938 * sysdeps/x86_64/multiarch/varshift.S: New file.
32939
84b9230c
MF
329402010-08-21 Mike Frysinger <vapier@gentoo.org>
32941
32942 * configure.in: Move assembler checks to before sysdep dir checking.
32943
9bbd0ddc
PB
329442010-08-20 Petr Baudis <pasky@suse.cz>
32945
32946 * LICENSES: Sync the sunrpc license.
32947
9da4bb31
UD
329482010-08-19 Ulrich Drepper <drepper@redhat.com>
32949
a7ab6ec8
UD
32950 * sunrpc/auth_des.c: Update copyright notice once again.
32951 * sunrpc/auth_none.c: Likewise.
32952 * sunrpc/auth_unix.c: Likewise.
32953 * sunrpc/authdes_prot.c: Likewise.
32954 * sunrpc/authuxprot.c: Likewise.
32955 * sunrpc/bindrsvprt.c: Likewise.
32956 * sunrpc/clnt_gen.c: Likewise.
32957 * sunrpc/clnt_perr.c: Likewise.
32958 * sunrpc/clnt_raw.c: Likewise.
32959 * sunrpc/clnt_simp.c: Likewise.
32960 * sunrpc/clnt_tcp.c: Likewise.
32961 * sunrpc/clnt_udp.c: Likewise.
32962 * sunrpc/clnt_unix.c: Likewise.
32963 * sunrpc/des_crypt.c: Likewise.
32964 * sunrpc/des_soft.c: Likewise.
32965 * sunrpc/get_myaddr.c: Likewise.
32966 * sunrpc/getrpcport.c: Likewise.
32967 * sunrpc/key_call.c: Likewise.
32968 * sunrpc/key_prot.c: Likewise.
32969 * sunrpc/openchild.c: Likewise.
32970 * sunrpc/pm_getmaps.c: Likewise.
32971 * sunrpc/pm_getport.c: Likewise.
32972 * sunrpc/pmap_clnt.c: Likewise.
32973 * sunrpc/pmap_prot.c: Likewise.
32974 * sunrpc/pmap_prot2.c: Likewise.
32975 * sunrpc/pmap_rmt.c: Likewise.
32976 * sunrpc/rpc/auth.h: Likewise.
32977 * sunrpc/rpc/auth_unix.h: Likewise.
32978 * sunrpc/rpc/clnt.h: Likewise.
32979 * sunrpc/rpc/des_crypt.h: Likewise.
32980 * sunrpc/rpc/key_prot.h: Likewise.
32981 * sunrpc/rpc/netdb.h: Likewise.
32982 * sunrpc/rpc/pmap_clnt.h: Likewise.
32983 * sunrpc/rpc/pmap_prot.h: Likewise.
32984 * sunrpc/rpc/pmap_rmt.h: Likewise.
32985 * sunrpc/rpc/rpc.h: Likewise.
32986 * sunrpc/rpc/rpc_des.h: Likewise.
32987 * sunrpc/rpc/rpc_msg.h: Likewise.
32988 * sunrpc/rpc/svc.h: Likewise.
32989 * sunrpc/rpc/svc_auth.h: Likewise.
32990 * sunrpc/rpc/types.h: Likewise.
32991 * sunrpc/rpc/xdr.h: Likewise.
32992 * sunrpc/rpc_clntout.c: Likewise.
32993 * sunrpc/rpc_cmsg.c: Likewise.
32994 * sunrpc/rpc_common.c: Likewise.
32995 * sunrpc/rpc_cout.c: Likewise.
32996 * sunrpc/rpc_dtable.c: Likewise.
32997 * sunrpc/rpc_hout.c: Likewise.
32998 * sunrpc/rpc_main.c: Likewise.
32999 * sunrpc/rpc_parse.c: Likewise.
33000 * sunrpc/rpc_parse.h: Likewise.
33001 * sunrpc/rpc_prot.c: Likewise.
33002 * sunrpc/rpc_sample.c: Likewise.
33003 * sunrpc/rpc_scan.c: Likewise.
33004 * sunrpc/rpc_scan.h: Likewise.
33005 * sunrpc/rpc_svcout.c: Likewise.
33006 * sunrpc/rpc_tblout.c: Likewise.
33007 * sunrpc/rpc_util.c: Likewise.
33008 * sunrpc/rpc_util.h: Likewise.
33009 * sunrpc/rpcinfo.c: Likewise.
33010 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33011 * sunrpc/rpcsvc/key_prot.x: Likewise.
33012 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33013 * sunrpc/rpcsvc/mount.x: Likewise.
33014 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33015 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33016 * sunrpc/rpcsvc/rex.x: Likewise.
33017 * sunrpc/rpcsvc/rstat.x: Likewise.
33018 * sunrpc/rpcsvc/rusers.x: Likewise.
33019 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33020 * sunrpc/rpcsvc/spray.x: Likewise.
33021 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33022 * sunrpc/rtime.c: Likewise.
33023 * sunrpc/svc.c: Likewise.
33024 * sunrpc/svc_auth.c: Likewise.
33025 * sunrpc/svc_authux.c: Likewise.
33026 * sunrpc/svc_raw.c: Likewise.
33027 * sunrpc/svc_run.c: Likewise.
33028 * sunrpc/svc_simple.c: Likewise.
33029 * sunrpc/svc_tcp.c: Likewise.
33030 * sunrpc/svc_udp.c: Likewise.
33031 * sunrpc/svc_unix.c: Likewise.
33032 * sunrpc/svcauth_des.c: Likewise.
33033 * sunrpc/xcrypt.c: Likewise.
33034 * sunrpc/xdr.c: Likewise.
33035 * sunrpc/xdr_array.c: Likewise.
33036 * sunrpc/xdr_float.c: Likewise.
33037 * sunrpc/xdr_mem.c: Likewise.
33038 * sunrpc/xdr_rec.c: Likewise.
33039 * sunrpc/xdr_ref.c: Likewise.
33040 * sunrpc/xdr_sizeof.c: Likewise.
33041 * sunrpc/xdr_stdio.c: Likewise.
33042
9da4bb31
UD
33043 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33044 handling.
33045
bdaa77bc
AS
330462010-08-19 Andreas Schwab <schwab@redhat.com>
33047
33048 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33049
fe2f79db
LM
330502010-08-19 Luis Machado <luisgpm@br.ibm.com>
33051
33052 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33053 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33054 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33055 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33056 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33057 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33058 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33059 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33060 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33061 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33062 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33063 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33064 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33065 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33066
b9b42ee0
AB
330672010-07-26 Anton Blanchard <anton@samba.org>
33068
33069 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33070 * malloc/arena.c (heap_trim): Likewise.
33071
1c06ba31
UD
330722010-08-16 Ulrich Drepper <drepper@redhat.com>
33073
33074 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33075 here. Not...
33076 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33077 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33078
f8392f40
L
330792010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33080
33081 * sysdeps/i386/elf/Makefile: New file.
33082
3162f12e
AS
330832010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33084
33085 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33086 from fanotify_init.
33087 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33088 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33089
28c90b2c
UD
330902010-08-15 Ulrich Drepper <drepper@redhat.com>
33091
33092 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33093 of strncasecmp_l.
1feccb6c 33094 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 33095
ca6bb004
UD
330962010-08-14 Ulrich Drepper <drepper@redhat.com>
33097
e9f82e0d
UD
33098 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33099 strncase_l-nonascii.
33100 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33101 Add strncase_l-ssse3.
33102 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33103 * sysdeps/x86_64/strcmp.S: Likewise.
33104 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33105 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33106 * sysdeps/x86_64/strncase.S: New file.
33107 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33108 * sysdeps/x86_64/strncase_l.S: New file.
33109 * string/Makefile (strop-tests): Add strncasecmp.
33110 * string/test-strncasecmp.c: New file.
33111
33112 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33113 warning.
33114
ca6bb004
UD
33115 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33116 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33117
052fa7b3
AS
331182010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33119
33120 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33121
962dba78
UD
331222010-08-12 Ulrich Drepper <drepper@redhat.com>
33123
33124 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33125 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33126 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33127
bebff237
AM
331282010-05-01 Alan Modra <amodra@gmail.com>
33129
33130 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33131 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33132 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33133 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33134 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33135 tidying. Don't tail-call __sigjmp_save for static lib.
33136 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33137 save location.
33138 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33139 (CALL_MCOUNT): Add eh info, and nop after bl.
33140 (TAIL_CALL_SYSCALL_ERROR): New macro.
33141 (PSEUDO_RET): Use it.
33142 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33143 Correct save location of integer regs and cr.
33144 (_dl_profile_resolve): Correct cr save location. Delete nops
33145 after bl when SHARED. Reduce cfi size a little by better
33146 placement of cfi directives.
33147 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33148 make a stack frame. Instead use parm save area as a temp.
33149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33150 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33152 Don't make a stack frame for parent, use parm save area.
33153 Increase child stack frame to 112 bytes. Don't save unused reg,
33154 and adjust reg usage. Set up cfi on error recovery and
33155 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33157 (__makecontext): Add dummy nop after jump to exit.
33158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33159 Use correct parm save area and cr save, reduce stack frame.
33160 Correct cfi for possible PSEUDO_RET frame setup.
33161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33162 Branch to local label emitted by PSEUDO_RET rather than
33163 __syscall_error.
33164
02637374
AS
331652010-08-12 Andreas Schwab <schwab@redhat.com>
33166
33167 [BZ #11904]
33168 * locale/programs/locale.c (print_assignment): New function.
33169 (show_locale_vars): Use it.
33170
c3e2f19b
UD
331712010-08-11 Ulrich Drepper <drepper@redhat.com>
33172
3cdaa6ad
UD
33173 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33174 field.
33175 (struct statfs64): Likewise.
33176 (_STATFS_F_FLAGS): Define.
33177 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33178 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33179 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33180 (ST_VALID): Define locally.
33181 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33182 __statvfs_getflags, use the provided value.
33183 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33184 __ASSUME_STATFS_F_FLAGS.
33185
754f7da3
UD
33186 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33187
10b3bedc
UD
33188 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33189 Add sys/fanotify.h.
33190 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33191 fanotify_mask for GLIBC_2.13.
33192 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33193 fanotify_init and fanotify_mark.
33194 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33195 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33196
c08fb0d7
UD
33197 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33198 Add prlimit.
33199 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33200 prlimit64 for GLIBC_2.13.
33201 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33202 prlimit64.
33203 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33204 syscall.
33205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33206 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33207 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33208 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33209 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33210 add prlimit alias.
33211 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33212
15bac72b
UD
33213 [BZ #11903]
33214 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33215 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33216
c3e2f19b
UD
33217 * nss/Makefile: Add rules to build and run tst-nss-test1.
33218 * shlib-versions: Add entry for libnss_test1.
33219 * nss/nss_test1.c: New file.
33220 * nss/tst-nss-test1.c: New file.
33221
33222 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33223 (__nss_configure_lookup): Set appropriate entry in
33224 __nss_configure_lookup to true.
33225 * nss/nsswitch.h: Define enum with indeces of databases in
33226 databases and __nss_database_custom arrays. Declare
33227 __nss_database_custom.
33228 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33229 to avoid using nscd when custom rules are installed.
33230 * nss/getXXbyYY_r.c: Likewise.
33231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33232
33233 * nss/nss_files/files-parse.c: Whitespace fixes.
33234
f15ce4d8
UD
332352010-08-09 Ulrich Drepper <drepper@redhat.com>
33236
33237 [BZ #11883]
33238 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33239 * posix/fnmatch_loop.c: Likewise.
33240
d22e4cc9
AK
332412010-07-17 Andi Kleen <ak@linux.intel.com>
33242
33243 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33244 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33245 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33246 * Versions.def [GLIBC_2.13]: Add.
33247
805bc17d
UD
332482010-08-06 Ulrich Drepper <drepper@redhat.com>
33249
33250 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33251 Also fail if tpwd after pwuid call is NULL.
33252
5a42321d
ST
332532010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33254
33255 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33256 when converting to ms.
33257
fd3ebeda
ST
332582010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33259
33260 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33261 EOPNOTSUPP errors with ENOTTY.
33262 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33263 EOPNOTSUPP errors with ENOTTY.
33264
73507d3a
UD
332652010-07-31 Ulrich Drepper <drepper@redhat.com>
33266
33267 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33268 Add strcasecmp_l-ssse3.
33269 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33270 strcasecmp.
33271 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33272 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33273 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33274
fe36dd02
UD
332752010-07-30 Ulrich Drepper <drepper@redhat.com>
33276
66f6765a
UD
33277 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33278
42e08a54
UD
33279 * string/Makefile (strop-tests): Add strcasecmp.
33280 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33281 strcasecmp_l-nonascii.
33282 (gen-as-const-headers): Add locale-defines.sym.
33283 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33284 * sysdeps/x86_64/strcasecmp.S: New file.
33285 * sysdeps/x86_64/strcasecmp_l.S: New file.
33286 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33287 * sysdeps/x86_64/locale-defines.sym: New file.
33288 * string/test-strcasecmp.c: New file.
33289
fe36dd02
UD
33290 * string/test-strcasestr.c: Test both ends of the range of characters.
33291 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33292
48cbc0d6
RM
332932010-07-29 Roland McGrath <roland@redhat.com>
33294
76e6d6bc 33295 [BZ #11856]
48cbc0d6
RM
33296 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33297
880113d9
UD
332982010-07-27 Ulrich Drepper <drepper@redhat.com>
33299
33300 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33301 for ld.so.
33302
deb9cabb
AS
333032010-07-27 Andreas Schwab <schwab@redhat.com>
33304
33305 * manual/memory.texi (Malloc Tunable Parameters): Document
33306 M_PERTURB.
33307
1c7570ff
RM
333082010-07-26 Roland McGrath <roland@redhat.com>
33309
33310 [BZ #11840]
33311 * configure.in (-fgnu89-inline check): Set and substitute
33312 gnu89_inline, not libc_cv_gnu89_inline.
33313 * configure: Regenerated.
33314 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33315
24fb0f88
UD
333162010-07-26 Ulrich Drepper <drepper@redhat.com>
33317
33318 * string/test-strnlen.c: New file.
33319 * string/Makefile (strop-tests): Add strnlen.
33320 * string/tester.c (test_strnlen): Add a few more test cases.
33321 * string/tst-strlen.c: Better error reporting.
33322
33323 * sysdeps/x86_64/strnlen.S: New file.
33324
8e96b93a
UD
333252010-07-24 Ulrich Drepper <drepper@redhat.com>
33326
33327 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33328 lower-latency instructions.
33329
dbc676d4
UD
333302010-07-23 Ulrich Drepper <drepper@redhat.com>
33331
33332 * string/test-strcasestr.c: New file.
33333 * string/test-strstr.c: New file.
33334 * string/Makefile (strop-tests): Add strstr and strcasestr.
33335 * string/str-two-way.h: Don't undefine MAX.
33336 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33337
f6a31e0e
AS
333382010-07-21 Andreas Schwab <schwab@redhat.com>
33339
33340 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33341 strcasestr-nonascii.
33342 (CFLAGS-strcasestr-nonascii.c): Define.
33343 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33344 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33345 Remove unused attribute.
33346
5dbc3b6c
RM
333472010-07-20 Roland McGrath <roland@redhat.com>
33348
33349 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33350 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33351 ld.so.cache was broken. With it, there is no way to disable dsocaps
33352 like LD_HWCAP_MASK can disable hwcaps.
33353
23d101d8
EPM
333542010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33355
33356 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33357
cc9f2e47
UD
333582010-07-16 Ulrich Drepper <drepper@redhat.com>
33359
33360 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33361 call in strcasestr.
33362 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33363 __strcasestr_sse42_nonascii.
33364 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33365 strcasestr-nonascii.c.
33366 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33367
77c1b069
LM
333682010-06-15 Luis Machado <luisgpm@br.ibm.com>
33369
33370 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33371 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33372 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33373 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33374
440566c3
UD
333752010-07-09 Ulrich Drepper <drepper@redhat.com>
33376
33377 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33378 fcntl.
33379
5be9d05d
AS
333802010-07-06 Andreas Schwab <schwab@redhat.com>
33381
c30b7ee2 33382 [BZ #11577]
5be9d05d
AS
33383 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33384 dl_signal_cerror.
33385
8a492a67
UD
333862010-07-06 Ulrich Drepper <drepper@redhat.com>
33387
33388 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33389 _PC_PIPE_BUF using F_GETPIPE_SZ.
33390
713df3d5
RM
333912010-07-05 Roland McGrath <roland@redhat.com>
33392
33393 * manual/arith.texi (Rounding Functions): Fix rint description
33394 implicit in round description.
33395
702e8f14
UD
333962010-07-02 Ulrich Drepper <drepper@redhat.com>
33397
33398 * elf/Makefile: Fix linking for a few tests to make recent linker
33399 happy.
33400
52ed8be9
AS
334012010-06-30 Andreas Schwab <schwab@redhat.com>
33402
33403 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33404 $(common-objpfx)libc_nonshared.a.
33405
f47c9a11
LM
334062010-06-21 Luis Machado <luisgpm@br.ibm.com>
33407
33408 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33409 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33410 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33411 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33412 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33413 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33414 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33415 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33430 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33431 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33432 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33433 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33434 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33435 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33436 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33437 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33438 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33439 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33440 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33441 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33456
6fb8cbcb
L
334572010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33458
33459 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33460 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33461 * string/memmove.c (memmove): Renamed to ...
33462 (MEMMOVE): ...this. Default to memmove.
33463 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33464 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33465 (END_CHK): Define.
33466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33467 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33468 mempcpy-ssse3-back memmove-ssse3-back.
33469 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33470 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33471 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33472 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33473 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33474 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33475 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33476 * sysdeps/x86_64/multiarch/memmove.c: New file.
33477 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33478 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33479 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33480 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33481 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33482 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33483 Define.
33484 (index_Fast_Copy_Backward): Define.
33485 (HAS_ARCH_FEATURE): Define.
33486 (HAS_FAST_REP_STRING): Define.
33487 (HAS_FAST_COPY_BACKWARD): Define.
33488
4e733bac 334892010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33490
33491 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33492 Restore proper fallback handling.
33493
63c4ed22
UD
334942010-06-19 Ulrich Drepper <drepper@redhat.com>
33495
ac2b484c
UD
33496 [BZ #11701]
33497 * posix/group_member.c (__group_member): Correct checking loop.
33498
63c4ed22
UD
33499 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33500 OOM in getpwuid_r correctly. Return error number when the caller
33501 should return, otherwise -1.
33502 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33503 call returning > 0 value.
33504 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33505
765ade4b
AS
335062010-06-07 Andreas Schwab <schwab@redhat.com>
33507
33508 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33509 libc_nonshared.a from targets in modules-names.
33510
80da2e09
KS
335112010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33512
33513 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33514 requires it.
33515
158db122
LM
335162010-06-10 Luis Machado <luisgpm@br.ibm.com>
33517
33518 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33519 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33520 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33521 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33522
caa78cf8
AS
335232010-06-02 Andreas Schwab <schwab@redhat.com>
33524
33525 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33526
b2ef2c01
UD
335272010-06-14 Ulrich Drepper <drepper@redhat.com>
33528
33529 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33530 and F_GETPIPE_SZ.
33531 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33532 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33533 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33535 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33536 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33537
fbd643b6
RM
335382010-06-14 Roland McGrath <roland@redhat.com>
33539
33540 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33541
f32f2869
JJ
335422010-06-07 Jakub Jelinek <jakub@redhat.com>
33543
33544 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33545 __REDIRECT followed by __THROW.
33546 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33547 * posix/getopt.h (getopt): Likewise.
33548
2a50c078
EPM
335492010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33550
33551 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33552 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33553 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33554 in AT_FLAGS.
33555 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33556 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33557
eb5ad2eb
LM
335582010-05-28 Luis Machado <luisgpm@br.ibm.com>
33559
33560 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33561
3c88fe1e
L
335622010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33563
33564 [BZ #11640]
33565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33566 Properly check family and model.
33567
d2f73151
TY
335682010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33569
33570 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33571
ebd2e13d
LM
335722010-05-24 Luis Machado <luisgpm@br.ibm.com>
33573
33574 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33575
b32b8b45
UD
335762010-05-21 Ulrich Drepper <drepper@redhat.com>
33577
33578 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33579 symbol reference.
33580
9acbe24d
AS
335812010-05-19 Andreas Schwab <schwab@redhat.com>
33582
33583 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33584 symbol reference.
33585
f0ccf6ea
AS
335862010-05-21 Andreas Schwab <schwab@redhat.com>
33587
3d04ff3a
AS
33588 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33589 and internal_recvmmsg.
33590 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33591 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33592 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33593 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33594
f0ccf6ea
AS
33595 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33596 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33597 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33598
5b08ac57
AS
335992010-05-20 Andreas Schwab <schwab@redhat.com>
33600
33601 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33602
4828935d
LM
336032010-05-17 Luis Machado <luisgpm@br.ibm.com>
33604
33605 POWER7 optimizations.
33606 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33607 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33608
373d545e
UD
336092010-05-19 Ulrich Drepper <drepper@redhat.com>
33610
33611 * version.h: Update for 2.13 development version.
33612
21a2b1ae
AS
336132010-05-12 Andrew Stubbs <ams@codesourcery.com>
33614
33615 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33616 exceptions. Return 0.
33617
3f7dcb2b
RM
336182010-05-07 Roland McGrath <roland@redhat.com>
33619
33620 * elf/ldconfig.c (main): Add a const.
33621
5f24d53a 336222010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33623
a160f8d8
UD
33624 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33625 (args_options): Add no-idn option.
33626 (ahosts_keys_int): Add idn_flags to ai_flags.
33627 (parse_option): Handle 'i' option to clear idn_flags.
33628
5f24d53a
UD
33629 * malloc/malloc.c (_int_free): Possible race in the most recently
33630 added check. Only act on the data if no current modification
33631 happened.
265bb1ce
UD
33632
33633See ChangeLog.17 for earlier changes.