]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC floating point little-endian [7 of 15]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2ca85d2b
AB
12013-10-04 Anton Blanchard <anton@au1.ibm.com>
2
3 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4 (__signbit): Likewise. Correct for little-endian.
5 (__signbitl): Call __signbit.
6 (lrint): Correct for little-endian.
7 (lrintf): Call lrint.
8
62a728ae
AM
92013-10-04 Alan Modra <amodra@gmail.com>
10
11 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12 union 32-bit int array member with 64-bit int array.
13 (t515, tm256): Double rather than long double.
14 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15
32c301df
AM
162013-10-04 Alan Modra <amodra@gmail.com>
17
18 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19 Delete.
20 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22 version of math_ldbl.h.
23
650ef4bd
AM
242013-10-04 Alan Modra <amodra@gmail.com>
25
26 [BZ #15734], [BZ #15735]
27 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28 all uses of ieee875 long double macros and unions. Simplify test
29 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
30 ldbl_extract_mantissa value for ix,iy exponents. Properly
31 normalize after ldbl_extract_mantissa, and don't add hidden bit
32 already handled. Don't treat low word of ieee854 mantissa like
33 low word of IBM long double and mask off bit when testing for
34 zero.
35 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
36 all uses of ieee875 long double macros and unions. Simplify tests
37 for 0.0L and inf. Correct double adjustment of k. Delete dead code
38 adjusting ha,hb. Simplify code setting kld. Delete two600 and
39 two1022, instead use their values. Recognise that tests for large
40 "a" and small "b" are mutually exclusive. Rename vars. Comment.
41 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
42 Rewrite all uses of ieee875 long double macros and unions. Simplify
43 test for 0.0L and nan. Correct negation.
44 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
45 ieee875 long double macros and unions. Correct output for large
46 magnitude x. Correct absolute value calculation.
47 (__erfcl): Likewise.
48 * math/libm-test.inc: Add tests for errors discovered in IBM long
49 double versions of fmodl, remainderl, erfl and erfcl.
50
765714ca
AM
512013-10-04 Alan Modra <amodra@gmail.com>
52
53 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
54 all uses of ieee854 long double macros and unions. Simplify tests
55 for long doubles that are fully specified by the high double.
56 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
57 Likewise.
58 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
59 Remove dead code too.
60 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
61 (__ieee754_ynl): Likewise.
62 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
63 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
64 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
65 Remove dead code too.
66 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
67 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
68 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
69 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
70 Simplify.
71 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
72 Simplify.
73 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
74 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
75 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
76 Comment on variable precision.
77 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
78 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
79 Likewise.
80 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
81 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
82 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
83 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
84 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
85
4ebd120c
AM
862013-10-04 Alan Modra <amodra@gmail.com>
87
88 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
89 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
90 all uses of ieee854 long double macros and unions.
91 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
92 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
93 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
94 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
95 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
96 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
97 Likewise.
98 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
99 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
100 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
101 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
102 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
103 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
104 Simplify sign and nan test too.
105 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
106 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
107 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
108 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
109 Likewise.
110 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
111 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
112 Likewise.
113 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
114 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
115 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
116 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
117 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
118 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
119
1b6adf88
AM
1202013-10-04 Alan Modra <amodra@gmail.com>
121
122 * stdio-common/printf_size.c (__printf_size): Don't use
123 union ieee854_long_double in fpnum union.
124 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
125 signbit macro to retrieve sign from long double.
126 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
127 retrieve sign from long double.
128 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
129 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
130 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
131 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
132 * math/test-misc.c (main): Don't use union ieee854_long_double.
133
4cf69995
AM
1342013-10-04 Alan Modra <amodra@gmail.com>
135
136 [BZ #15680]
137 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
138 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
139 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
140 calculation. Remove unnecessary test for denormal exponent.
141 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
142 Correct handling of denormals. Avoid undefined shift behaviour.
143 Correct normalisation of low mantissa when low double is denormal.
144 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
145 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
146 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
147 Correct normalisation of low mantissa. Test for overflow of high
148 mantissa and normalise.
149 (ldbl_nearbyint): Use more readable constant for two52.
150 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
151 (__mpn_construct_long_double): Fix test for overflow of high
152 mantissa and correct normalisation. Avoid undefined shift.
153
9605ca6c
AM
1542013-10-04 Alan Modra <amodra@gmail.com>
155
156 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
157 (union ibm_extended_long_double): Define as an array of ieee754_double.
158 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
159 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
160 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
161 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
162 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
163 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
164 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
165 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
166 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
167 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
168 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
169
975569d0
JM
1702013-10-03 Joseph Myers <joseph@codesourcery.com>
171
d3d23756
JM
172 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
173 page size instead of calling getpagesize.
174
975569d0
JM
175 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
176 (LOCFILE_ALIGN_MASK): Likewise.
177 (LOCFILE_ALIGN_UP): Likewise.
178 (LOCFILE_ALIGNED_P): Likewise.
179 * locale/programs/ld-collate.c (collate_output): Use the new
180 macros instead of __alignof__ (int32_t).
181 * locale/weight.h (findidx): Likewise.
182
b1fe1f2b
OB
1832013-10-03 Ondřej Bílka <neleai@seznam.cz>
184
185 [BZ #431]
186 * manual/string.texi: Fix strncat and wcsncat.
187
5f855e35
BM
1882013-10-03 Brooks Moses <bmoses@google.com>
189
190 [BZ #15915]
191 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
192 * Makerules: ...here, and adjust associated comments.
193
3cef6009
WN
1942013-10-02 Will Newton <will.newton@linaro.org>
195
196 * malloc/Makefile: Add tst-pvalloc.
197 * malloc/tst-pvalloc.c: New file.
198
7815420b
WN
1992013-10-02 Will Newton <will.newton@linaro.org>
200
201 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
202 improve test coverage.
203
4868b204
WN
2042013-10-02 Will Newton <will.newton@linaro.org>
205
206 * malloc/Makefile: Add tst-posix_memalign.
207 * malloc/tst-posix_memalign.c: New file.
208
29c793b3
EB
2092013-10-01 Eric Blake <eblake@redhat.com>
210
211 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
212 Use __THROWNL rather than __THROW on static functions.
213
fd967522
PM
2142013-09-30 Petr Machata <pmachata@redhat.com>
215
216 * elf/elf.h (R_AARCH64_ABS16): New macro.
217 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
218 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
219 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
220 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
221 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
222 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
223 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
224 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
225 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
226 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
227 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
228 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
229 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
230 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
231 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
232 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
233 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
234 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
235 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
236 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
237 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
238 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
239 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
240 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
241 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
242 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
243 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
244 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
245 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
246 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
247 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
248 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
249 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
250 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
251 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
252 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
253 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
254 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
255 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
256 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
257 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
258 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
259 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
260 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
261 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
262 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
263 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
264 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
265 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
266 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
267 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
268 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
269 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
270 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
271 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
272 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
273 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
274 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
275 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
276 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
277 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
278 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
279 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
280 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
281 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
282 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
283 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
284 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
285 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
286 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
287 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
288 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
289 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
290 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
291 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
292 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
293 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
294 (R_AARCH64_TLSDESC_LDR): Likewise.
295 (R_AARCH64_TLSDESC_ADD): Likewise.
296 (R_AARCH64_TLSDESC_CALL): Likewise.
297
b2179107
AS
2982013-09-30 Andreas Schwab <schwab@suse.de>
299
300 [BZ #15048]
301 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
302 the nss database lookup.
303 * nscd/initgrcache.c (addinitgroupsX): Likewise.
304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
305
47f28d0a
MF
3062013-09-28 Mike Frysinger <vapier@gentoo.org>
307
308 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
309
3102013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
311
312 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
313 ${Bash-specific parameter/pattern/string} parameter expansion.
314 * sysdeps/unix/make-syscalls.sh: Likewise.
315
f4518a17
KK
3162013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
317
318 * sysdeps/sh/stackguard-macros.h: New file.
319
dc1a95c7
OB
3202013-09-26 Ondřej Bílka <neleai@seznam.cz>
321
322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
323 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
324 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
325 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
326 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
327 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
328
5ebbff8f
AZ
3292013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
330
331 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
332 Fix thread ID register.
333
4fd2cf9f
JM
3342013-09-25 Joseph Myers <joseph@codesourcery.com>
335
336 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
337 [POSIX || UNIX98]: Require rather than permitting all symbols from
338 <time.h>.
339 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
340 element of struct sched_param.
341 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
342 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
343 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
344 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
345 constant.
346
12c22bc4
OL
3472013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
348
349 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
350 argument calculation.
351
a03d8ea7
JM
3522013-09-24 Joseph Myers <joseph@codesourcery.com>
353
354 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
355 Expect macro.
356 [POSIX] (pthread_attr_t): Do not require type.
357 [POSIX] (pthread_cond_t): Likewise.
358 [POSIX] (pthread_condattr_t): Likewise.
359 [POSIX] (pthread_key_t): Likewise.
360 [POSIX] (pthread_mutex_t): Likewise.
361 [POSIX] (pthread_mutexattr_t): Likewise.
362 [POSIX] (pthread_once_t): Likewise.
363 [POSIX] (pthread_t): Likewise.
364 [POSIX-based standards] (pthread_atfork): Expect function.
365
6055173a
JM
3662013-09-24 Joseph Myers <joseph@codesourcery.com>
367 Richard Sandiford <richard@codesourcery.com>
368
369 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
370 (swap_endianness_p): New extern variable.
371 (set_big_endian): New inline function.
372 (maybe_swap_uint32): Likewise.
373 (maybe_swap_uint32_array): Likewise.
374 (maybe_swap_uint32_obstack): Likewise.
375 * locale/programs/locfile.c: Include <stdbool.h>.
376 (swap_endianness_p): New variable.
377 (add_locale_uint32): Call maybe_swap_uint32.
378 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
379 (write_locale_data): Call maybe_swap_uint32_array.
380 * locale/programs/ld-collate.c (obstack_int32_grow): Call
381 maybe_swap_uint32.
382 (obstack_int32_grow_fast): Likewise.
383 (output_weightwc): Call maybe_swap_uint32_obstack.
384 (collate_output): Likewise.
385 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
386 (OPT_LITTLE_ENDIAN): Likewise.
387 (options): Add --little-endian and --big-endian options.
388 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
389 * locale/programs/locarchive.c: Include "locfile.h".
390 (GET): New macro.
391 (SET): Likewise.
392 (INC): Likewise.
393 (create_archive): Use the new macros to access fields of
394 structures directly mapped from or written to locale archives.
395 (oldlocrecentcmp): Likewise.
396 (enlarge_archive): Likewise.
397 (insert_name): Likewise.
398 (add_alias): Likewise.
399 (add_locale): Likewise.
400 (delete_locales_from_archive): Likewise.
401 (show_archive_content): Likewise.
402 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
403 locale data.
404
39bf0bb4
RM
4052013-09-24 Roland McGrath <roland@hack.frob.com>
406
407 * manual/freemanuals.texi: Updated from (newly) canonical copy at
408 http://www.gnu.org/doc/freemanuals.texi.
409 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
410
f02eed10
WN
4112013-09-24 Will Newton <will.newton@linaro.org>
412
413 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
414 macro.
415
a3a6c312
JM
4162013-09-23 Joseph Myers <joseph@codesourcery.com>
417
418 * locale/hashval.h (compute_hashval): Interpret bytes of key as
419 unsigned char.
420
107375ac
MR
4212013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
422
423 * manual/threads.texi (POSIX Threads): Fix a typo.
424
141f3a77
SP
4252013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
426
303e567a
SP
427 [BZ #14547]
428 * string/tst-strcoll-overflow.c: New test case.
429 * string/Makefile (xtests): Add tst-strcoll-overflow.
430 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
431 cache if string sizes may cause integer overflow.
432
141f3a77
SP
433 [BZ #14547]
434 * string/strcoll_l.c (coll_seq): New members rule, idx,
435 save_idx and back_us.
436 (get_next_seq_nocache): New function.
437 (do_compare_nocache): New function.
438 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
439 when malloc fails.
440
c61b4d41
CD
4412013-09-23 Carlos O'Donell <carlos@redhat.com>
442
0b1f8e35
CD
443 [BZ #15754]
444 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
445 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
446 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
447
c61b4d41
CD
448 [BZ #15754]
449 * elf/Makefile (tests): Add tst-ptrguard1.
450 (tests-static): Add tst-ptrguard1-static.
451 (tst-ptrguard1-ARGS): Define.
452 (tst-ptrguard1-static-ARGS): Define.
453 * elf/tst-ptrguard1.c: New file.
454 * elf/tst-ptrguard1-static.c: New file.
455 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
456 * sysdeps/i386/stackguard-macros.h: Likewise.
457 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
458 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
459 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
460 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
461 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
462 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
463
4642013-09-23 Hector Marco <hecmargi@upv.es>
465 Ismael Ripoll <iripoll@disca.upv.es>
466 Carlos O'Donell <carlos@redhat.com>
467
468 [BZ #15754]
469 * sysdeps/generic/stackguard-macros.h: Define
470 __pointer_chk_guard_local and POINTER_CHK_GUARD.
471 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
472 Define __pointer_chk_guard_local.
473 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
474 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
475
f5f4e7b4
VV
4762013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
477
478 [BZ #15859]
479 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
480
5bb43a43
AS
4812013-09-20 Andreas Schwab <schwab@linux-m68k.org>
482
483 * include/string.h (__ffs): Declare as hidden.
484 * string/ffs.c (__ffs): Define as hidden.
485 * sysdeps/i386/ffs.c (__ffs): Likewise.
486 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
487 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
488 * sysdeps/s390/ffs.c (__ffs): Likewise.
489 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
490
3ea5be54
AO
4912013-09-20 Alexandre Oliva <aoliva@redhat.com>
492
ffb89e53
AO
493 * NEWS: Mention malloc probes.
494
322dea08
AO
495 * malloc/arena.c (new_heap): New memory_heap_new probe.
496 (grow_heap): New memory_heap_more probe.
497 (shrink_heap): New memory_heap_less probe.
498 (heap_trim): New memory_heap_free probe.
499 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
500 (systrim): New memory_sbrk_less probe.
501 * manual/probes.texi: Document them.
502
655673f3
AO
503 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
504 * manual/probes.texi: Document it.
505
35fed6f1
AO
506 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
507 (__libc_realloc): Add memory_realloc_retry probe.
508 (__libc_memalign): Add memory_memalign_retry probe.
509 (__libc_valloc): Add memory_valloc_retry probe.
510 (__libc_pvalloc): Add memory_pvalloc_retry probe.
511 (__libc_calloc): Add memory_calloc_retry probe.
512 * manual/probes.texi: Document them.
513
6999d38c
AO
514 * malloc/arena.c (get_free_list): Add probe
515 memory_arena_reuse_free_list.
516 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
517 and memory_arena_reuse.
518 (arena_get2) [!PER_THREAD]: Likewise.
519 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
520 memory_arena_reuse_realloc.
521 * manual/probes.texi: Document them.
522
0653427f
AO
523 * malloc/malloc.c (__libc_free): Add
524 memory_mallopt_free_dyn_thresholds probe.
525 (__libc_mallopt): Add multiple memory_mallopt probes.
526 * manual/probes.texi: Document them.
527
3ea5be54
AO
528 * malloc/malloc.c: Include stap-probe.h.
529 (__libc_mallopt): Add memory_mallopt probe.
530 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
531 * manual/probes.texi: New.
532 * manual/Makefile (chapters): Add probes.
533 * manual/threads.texi: Set next node.
534
e35696c3 5352013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 536
e35696c3
CL
537 [BZ #15963, #13985]
538 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
539 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
540 Add `Chinese' to `nan' entry name.
541
4aafb73c
SP
5422013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
543
544 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
545 (POLYNOMIAL): Likewise.
546 (TAYLOR_SINCOS): Likewise.
547 (TAYLOR_SLOW): Likewise.
548 (__sin): Use TAYLOR_SINCOS.
549 (__cos): Likewise.
550 (slow): Use TAYLOR_SLOW.
551 (sloww): Likewise.
552 (bsloww): Likewise.
553 (csloww): Likewise.
554
d84f25c7
LD
5552013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
556
557 * stdlib/strtod_l.c: Fix buffer overrun.
558
5eea0404
SP
5592013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
560
7849ff93
SP
561 * benchtests/Makefile (bench): Add sincos.
562 * benchtests/bench-sincos.c: New file.
563
cfa3c886
SP
564 * math/libm-test.inc (cos_test_data): New test inputs.
565 (sin_test_data): Likewise.
566
b348e1e3
SP
567 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
568 macro.
569 (__sin): Use it.
570 (__cos): Likewise.
571 (slow1): Likewise.
572 (slow2): Likewise.
573 (sloww1): Likewise.
574 (sloww2): Likewise.
575 (bsloww1): Likewise.
576 (bsloww2): Likewise.
577 (cslow2): Likewise.
578 (csloww1): Likewise.
579 (csloww2): Likewise.
580
6cce25f8
SP
581 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
582 function.
583 (__sin): Use it.
584 (__cos): Likewise.
585
5eea0404
SP
586 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
587 gotos.
588 (__cos): Likewise.
589
9c21573c
MR
5902013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
591
592 * config.h.in (HAVE_MIPS_NAN2008): New macro.
593 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
594 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
595 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
596 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
597 * elf/cache.c (print_entry): Handle the new cache flags.
598
24d22e65
JM
5992013-09-18 Joseph Myers <joseph@codesourcery.com>
600 Aldy Hernandez <aldyh@redhat.com>
601
602 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
603 Change condition to [_SOFT_FLOAT].
604 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
612 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
616 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
619 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
620 declaration.
621
d13ef066
JM
6222013-09-18 Joseph Myers <joseph@codesourcery.com>
623
2e071de0
JM
624 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
625 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
626 (__longjmp): Use LOAD_GP to load saved GPRs.
627 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
628 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
629 (__sigsetjmp): Use SAVE_GP to save GPRs.
630
d13ef066
JM
631 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
632 Do not append -msoft-float.
633 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
634
97a0650b
SP
6352013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
636
637 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
638
11ca09e9
JM
6392013-09-17 Joseph Myers <joseph@codesourcery.com>
640
641 [BZ #15966]
642 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
643 (_FPU_GETCW): Use initial "__" on variable and field names but not
644 on macro parameter name.
645 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
646 parentheses around reference to macro parameter.
647
08ffcf34
RS
6482013-09-13 Richard Sandiford <richard@codesourcery.com>
649
650 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
651 prototype.
652 (ctype_startup): Use uint32_t in cast and sizeof for
653 ctype->charnames.
654
ae7080d3
JL
6552013-09-11 Jia Liu <proljc@gmail.com>
656
657 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
658 __daddr_t_defined.
659 [__FreeBSD__]: Likewise.
660
5905e7b3
OB
6612013-09-11 Ondřej Bílka <neleai@seznam.cz>
662
663 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
664 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
665 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
666 (strchr): Remove __strchr_sse42 ifunc selection.
667 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
668 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
669
b987c776
WN
6702013-09-11 Will Newton <will.newton@linaro.org>
671
672 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
673 parameter to RES. Remove hardcoded 1000 value.
674 * benchtests/bench-skeleton.c (main): Pass RES parameter
675 to TIMING_INIT and multiply result by 1000.
676
ddf985af
AZ
6772013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
678
679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
680
ffdd3181
AS
6812013-09-11 Andreas Schwab <schwab@suse.de>
682
683 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
684 if not defined.
685 (O_TMPFILE) [__USE_GNU]: Define.
686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
687 Define.
688
b73ed247
WN
6892013-09-11 Will Newton <will.newton@linaro.org>
690
691 [BZ #15857]
692 * malloc/malloc.c (__libc_memalign): Check the value of bytes
693 does not overflow.
694
55e17aad
WN
6952013-09-11 Will Newton <will.newton@linaro.org>
696
697 [BZ #15856]
698 * malloc/malloc.c (__libc_valloc): Check the value of bytes
699 does not overflow.
700
1159a193
WN
7012013-09-11 Will Newton <will.newton@linaro.org>
702
703 [BZ #15855]
704 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
705 does not overflow.
706
5905e7b3 7072013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
708
709 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
710 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
711 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
712 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
713 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
714
cdfc721b
AM
7152013-09-10 Allan McRae <allan@archlinux.org>
716
aa04af00
AM
717 [BZ #15748]
718 * manual/arith.texi (Parsing of Floats): Clarify
719 cross-reference.
720
cdfc721b
AM
721 [BZ #15849]
722 * manual/install.texi (Running make install): Mention
723 --enable-pt-chown.
724 * INSTALL: Regenerated.
725
95e7cf29
MR
7262013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
727
728 * csu/init-first.c (_init): Remove the !SHARED condition around
729 FPU control word initialization.
730 * elf/dl-support.c (_dl_fpu_control): New variable.
731 (_dl_aux_init) <AT_FPUCW>: Initialize it.
732 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
733 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
734 * math/test-fpucw-static.c: New file.
735 * math/test-fpucw-ieee.c: New file.
736 * math/test-fpucw-ieee-static.c: New file.
737 * math/Makefile (tests): Add `test-fpucw-ieee' and
738 `$(tests-static)'.
739 (tests-static): New variable.
740 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
741 dependency to...
742 [($(build-shared),yes)]
743 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
744 ... this.
745 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
746 New dependency.
747
83e43bf0
AM
7482013-09-09 Allan McRae <allan@archlinux.org>
749
a9f5ce09
AM
750 [BZ #15939]
751 * manual/string.texi (Collation Functions): Fix typo in
752 strcoll example.
753 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
754
34829bc2
AM
755 [BZ #15893]
756 * stdlib/isomac.c (get_null_defines): Fix memory leak.
757
3932737d
AM
758 [BZ #15892]
759 * libio/memstream.c (open_memstream): Fix memory leak.
760 * libio/wmemstream.c (open_wmemstream): Likewise.
761
83e43bf0
AM
762 [BZ #15895]
763 * nscd/netgroupcache.c: Fix nesting of ifdefs.
764
0c66b8e9
WN
7652013-09-09 Will Newton <will.newton@linaro.org>
766
767 * malloc/Makefile: Add tst-realloc to tests.
768 * malloc/tst-realloc.c: New file.
769
f6b00fd1
AM
7702013-09-09 Allan McRae <allan@archlinux.org>
771
772 [BZ #15844]
773 * COPYING: Update from GNU website to fix FSF address.
774 * COPYING.LIB: Likewise.
775
eec55e16
DM
7762013-09-06 David S. Miller <davem@davemloft.net>
777
778 * po/zh_TW.po: Update Chinese (traditional) translation from
779 translation project.
780
1ecbb381
RS
7812013-09-06 Richard Sandiford <richard@codesourcery.com>
782 Joseph Myers <joseph@codesourcery.com>
783
784 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
785 "localeinfo.h".
786 (obstack_chunk_alloc): New macro.
787 (obstack_chunk_free): Likewise.
788 (record_offset): New function.
789 (init_locale_data): Likewise.
790 (align_locale_data): Likewise.
791 (add_locale_empty): Likewise.
792 (add_locale_raw_data): Likewise.
793 (add_locale_raw_obstack): Likewise.
794 (add_locale_string): Likewise.
795 (add_locale_wstring): Likewise.
796 (add_locale_uint32): Likewise.
797 (add_locale_uint32_array): Likewise.
798 (add_locale_char): Likewise.
799 (start_locale_structure): Likewise.
800 (end_locale_structure): Likewise.
801 (start_locale_prelude): Likewise.
802 (end_locale_prelude): Likewise.
803 (write_locale_data): Take locale_file structure rather than an
804 iovec.
805 * locale/programs/locfile.h: Include "obstack.h".
806 (struct locale_file): Change to store locale file contents instead
807 of header.
808 (init_locale_data): New prototype.
809 (align_locale_data): Likewise.
810 (add_locale_empty): Likewise.
811 (add_locale_raw_data): Likewise.
812 (add_locale_raw_obstack): Likewise.
813 (add_locale_string): Likewise.
814 (add_locale_wstring): Likewise.
815 (add_locale_uint32): Likewise.
816 (add_locale_uint32_array): Likewise.
817 (add_locale_char): Likewise.
818 (start_locale_structure): Likewise.
819 (end_locale_structure): Likewise.
820 (start_locale_prelude): Likewise.
821 (end_locale_prelude): Likewise.
822 (write_locale_data): Update prototype.
823 * locale/programs/3level.h (struct TABLE): Remove result field.
824 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
825 Use new locale_file interface.
826 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
827 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
828 * locale/programs/ld-address.c (address_output): Use new
829 locale_file interface.
830 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
831 NO_ADD_LOCALE.
832 (collate_finish): Don't call collseq_table_finalize.
833 (collate_output): Use new locale_file interface.
834 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
835 in file.
836 (NO_FINALIZE): Change to NO_ADD_LOCALE.
837 (TABLE): Move defines earlier in file.
838 (ELEMENT): Likewise.
839 (DEFAULT): Likewise.
840 (wctrans_table_add): Move macro and inline function earlier in
841 file.
842 (struct wctype_table): Move type earlier in file.
843 (add_locale_wctype_table): New static prototype.
844 (struct locale_ctype_t): Use logical types instead of struct iovec
845 pointers for members.
846 (ctype_output): Use new locale_file interface.
847 (wctype_table_finalize): Change to add_locale_wctype_table. Use
848 new locale_file interface.
849 (allocate_arrays): Update for use of new locale_file interface.
850 * locale/programs/ld-identification.c (identification_output): Use
851 new locale_file interface.
852 * locale/programs/ld-measurement.c (measurement_output): Likewise.
853 * locale/programs/ld-messages.c (messages_output): Likewise.
854 * locale/programs/ld-monetary.c (monetary_output): Likewise.
855 * locale/programs/ld-name.c (name_output): Likewise.
856 * locale/programs/ld-numeric.c (numeric_output): Likewise.
857 * locale/programs/ld-paper.c (paper_output): Likewise.
858 * locale/programs/ld-telephone.c (telephone_output): Likewise.
859 * locale/programs/ld-time.c (time_output): Likewise.
860
e029e2e5
AZ
8612013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
862
863 * benchtests/Makefile: Add memrchr benchmark.
864 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
865 benchmark as memrchr.
866 * benchtests/bench-memrchr-ifunc.c: New file.
867 * benchtests/bench-memrchr.c: New file.
868
bbf6e8e4
WN
8692013-09-06 Will Newton <will.newton@linaro.org>
870
871 * benchtests/Makefile (string-bench): Add memcpy.
872
6c82a2f8
CD
8732013-09-05 Carlos O'Donell <carlos@redhat.com>
874 Cong Wang <amwang@redhat.com>
875
876 * sysdeps/unix/sysv/linux/bits/in.h
877 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
878 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
879 before __USE_KERNEL_IPV6_DEFS uses.
880 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
881 IPPROTO_BEETPH.
882 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
883 sockaddr_in6, or ipv6_mreq.
884
5430fc65
AZ
8852013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
886
887 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
888 memory access for final bytes in some large inputs.
889 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
890
4660856c
AZ
8912013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
892
893 * string/test-memrchr.c: New file.
894 * string/test-memrchr-ifunc.c: New file.
895 * string/Makefile: Add new memrchr testcase.
896
bb8ea713
MF
8972013-09-05 Mike Frysinger <vapier@gentoo.org>
898
899 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
900 fanotify_init returns EPERM.
901
b92a20b5
JM
9022013-09-04 Joseph Myers <joseph@codesourcery.com>
903
904 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
905 errors.
906 (top level): Treat second token from macro or constant entries for
907 allowed headers as allowed.
908 * include/complex.h: Condition internal declarations on
909 [!_ISOMAC].
910 * include/fenv.h: Condition include of <stdbool.h> and internal
911 declarations on [!_ISOMAC].
7447ccd9
CL
912
9132013-09-04 Chris Leonard <cjl@sugarlabs,.org>
914
3e181dda 915 [BZ #15923]
7447ccd9
CL
916 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
917
3f2e46a4
JM
9182013-09-04 Joseph Myers <joseph@codesourcery.com>
919
920 * configure.in (--enable-versioning): Remove configure option.
921 (libc_cv_asm_symver_directive): Remove configure test.
922 (libc_cv_ld_version_script_option): Likewise.
923 (VERSIONING): Remove variable and AC_SUBST.
924 (DO_VERSIONING): Remove AC_DEFINE.
925 * configure: Regenerated.
926 * config.h.in (DO_VERSIONING): Remove macro.
927 * Makerules [$(versioning) = yes]: Change conditionals to
928 [$(build-shared) = yes].
929 * config.make.in (versioning): Remove variable.
930 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
931 [$(build-shared) = yes].
932 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
933 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
934 * elf/Makefile [$(versioning) = yes]: Change conditionals to
935 [$(build-shared) = yes].
936 * extra-lib.mk [$(versioning) = yes]: Likewise.
937 * hurd/Makefile [$(versioning) = yes]: Likewise.
938 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
939 [SHARED].
940 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
941 [SHARED].
942 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
943 [SHARED && !NO_HIDDEN].
944 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
945 [SHARED].
946 [SHARED && DO_VERSIONING]: Likewise..
947 * libio/Makefile [$(versioning) = yes]: Change conditionals to
948 [$(build-shared) = yes].
949 * manual/install.texi (--disable-versioning): Remove
950 documentation.
951 * INSTALL: Regenerated.
952 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
953 to [SHARED].
954 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
955 [$(build-shared) = yes].
956 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
957 * sysdeps/i386/i686/multiarch/strstr-c.c
958 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
959 [SHARED && !NO_HIDDEN].
960 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
961 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
962 * sysdeps/powerpc/powerpc32/dl-machine.c
963 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
964 * sysdeps/powerpc/powerpc32/sysdep.h
965 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
966 to [SHARED && PIC && !NO_HIDDEN].
967 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
968 conditional to [SHARED].
969
44558701
WN
9702013-09-04 Will Newton <will.newton@linaro.org>
971
972 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
973 * benchtests/bench-string.h: Include bench-timing.h instead
974 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
975 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
976 call to HP_TIMING_DIFF_INIT.
977 * benchtests/bench-memccpy.c: Use bench-timing.h macros
978 instead of hp-timing.h macros.
979 * benchtests/bench-memchr.c: Likewise.
980 * benchtests/bench-memcmp.c: Likewise.
981 * benchtests/bench-memcpy.c: Likewise.
982 * benchtests/bench-memmem.c: Likewise.
983 * benchtests/bench-memmove.c: Likewise.
984 * benchtests/bench-memset.c: Likewise.
985 * benchtests/bench-rawmemchr.c: Likewise.
986 * benchtests/bench-strcasecmp.c: Likewise.
987 * benchtests/bench-strcasestr.c: Likewise.
988 * benchtests/bench-strcat.c: Likewise.
989 * benchtests/bench-strchr.c: Likewise.
990 * benchtests/bench-strcmp.c: Likewise.
991 * benchtests/bench-strcpy.c: Likewise.
992 * benchtests/bench-strcpy_chk.c: Likewise.
993 * benchtests/bench-strlen.c: Likewise.
994 * benchtests/bench-strncasecmp.c: Likewise.
995 * benchtests/bench-strncat.c: Likewise.
996 * benchtests/bench-strncmp.c: Likewise.
997 * benchtests/bench-strncpy.c: Likewise.
998 * benchtests/bench-strnlen.c: Likewise.
999 * benchtests/bench-strpbrk.c: Likewise.
1000 * benchtests/bench-strrchr.c: Likewise.
1001 * benchtests/bench-strspn.c: Likewise.
1002 * benchtests/bench-strstr.c: Likewise.
1003
cae16d66
WN
10042013-09-04 Will Newton <will.newton@linaro.org>
1005
1006 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1007
ffa3cd7f
JM
10082013-09-03 Joseph Myers <joseph@codesourcery.com>
1009
1010 [BZ #15427]
1011 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1012 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1013 * math/libm-test.inc (lgamma_test_data): Add more tests.
1014 * sysdeps/i386/fpu/libm-test-ulps: Update.
1015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1016
8f02859f
OB
10172013-09-03 Ondřej Bílka <neleai@seznam.cz>
1018
1019 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1020 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1021 Add ifunc.
1022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1023 Add strcmp-sse2-unaligned
1024 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1025
18d43716
MF
10262013-09-02 Mike Frysinger <vapier@gentoo.org>
1027
1028 * Versions.def (libc): Add GLIBC_2.19.
1029
ac444012
MF
10302013-09-02 Mike Frysinger <vapier@gentoo.org>
1031
1032 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1033 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1034
b7835e32
JM
10352013-09-02 Joseph Myers <joseph@codesourcery.com>
1036
1037 [BZ #14155]
1038 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1039 intermediate calculations in recurrence.
1040 (__ieee754_ynf): Likewise.
1041 * math/libm-test.inc (jn_test_data): Do not allow spurious
1042 underflow exception. Add more tests.
1043 (yn_test_data): Add more tests.
1044 * sysdeps/i386/fpu/libm-test-ulps: Update.
1045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1046
8220f4f0
OB
10472013-09-02 Ondřej Bílka <neleai@seznam.cz>
1048
1049 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1050
f24a6d08
OB
10512013-08-30 Ondřej Bílka <neleai@seznam.cz>
1052
1053 * csu/init-first.c: Fix then/than typos.
1054 * locale/programs/ld-collate.c: Likewise.
1055 * locale/programs/linereader.h: Likewise.
1056 * manual/charset.texi: Likewise.
1057 * manual/filesys.texi: Likewise.
1058 * manual/stdio.texi: Likewise.
1059 * manual/string.texi: Likewise.
1060 * stdlib/fmtmsg.c: Likewise.
1061 * sysdeps/i386/stpncpy.S: Likewise.
1062 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1063 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1064 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1065 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1066
382466e0
OB
10672013-08-30 Ondřej Bílka <neleai@seznam.cz>
1068
1069 * elf/dl-open.c: Fix typos.
1070 * iconvdata/gbbig5.c: Likewise.
1071 * iconvdata/iso-2022-jp.c: Likewise.
1072 * iconv/gconv_int.h: Likewise.
1073 * iconv/loop.c: Likewise.
1074 * nis/rpcsvc/nis.h: Likewise.
1075 * resolv/ns_name.c: Likewise.
1076 * stdio-common/vfscanf.c: Likewise.
1077 * streams/stropts.h: Likewise.
1078 * sunrpc/rpc_thread.c: Likewise.
1079 * sysdeps/i386/strpbrk.S: Likewise.
1080 * sysdeps/ieee754/k_standard.c: Likewise.
1081 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1082 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1083 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1084 * sysdeps/mach/hurd/profil.c: Likewise.
1085 * sysdeps/s390/dl-procinfo.h: Likewise.
1086 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1087 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1088 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1089 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1090 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1091
0186c6e9
OB
10922013-08-30 Ondřej Bílka <neleai@seznam.cz>
1093
1094 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1095 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1096
d4e16af1
OB
10972013-08-29 Ondřej Bílka <neleai@seznam.cz>
1098
1099 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1100 aix specific files.
1101 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1102 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1103 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1104 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1105 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1106 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1107 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1108 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1109
88335980
TS
11102013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1111 Roland McGrath <roland@hack.frob.com>
1112
1113 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1114 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1115
ed479b02
ST
11162013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1117
1118 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1119 __executable_start symbol instead of _start.
1120
f1cc4c86
TS
11212013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1122
d821f07c
TS
1123 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1124 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1125 Move macros to...
1126 * sysdeps/gnu/ldsodefs.h: ... this new file.
1127
c54290cf
TS
1128 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1129 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1130 instead of ELFOSABI_LINUX.
1131
0007fc9b 1132 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
1133 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1134 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1135 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1136 Likewise.
1137 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1138 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1139 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1140 Likewise.
1141 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1142 (ibm_extended_long_double): Add ieee_nan member.
1143 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1144 (do_test): New function.
1145
f1cc4c86
TS
1146 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1147 TEST_TRUNC.
1148 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1149 functions, renamed from truncdfsf_test, trunctfsf_test,
1150 trunctfdf_test.
1151 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1152 functions.
1153 (do_test): Run all these.
1154
6f65e668
OB
11552013-08-29 Ondřej Bílka <neleai@seznam.cz>
1156
1157 * argp/argp-help.c: Fix typos.
1158 * argp/argp-parse.c: Likewise.
1159 * debug/backtracesyms.c: Likewise.
1160 * elf/elf.h: Likewise.
1161 * malloc/malloc.c: Likewise.
1162 * nis/nis_print.c: Likewise.
1163 * resolv/res_comp.c: Likewise.
1164 * stdlib/stdlib.h: Likewise.
1165 * sunrpc/clnt_tcp.c: Likewise.
1166 * sunrpc/clnt_udp.c: Likewise.
1167 * sunrpc/clnt_unix.c: Likewise.
1168 * sysdeps/unix/bsd/ptsname.c: Likewise.
1169 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1170 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
1171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1172 Likewise.
1173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1174 Likewise.
1175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1176 Likewise.
6f65e668
OB
1177 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1178
3a309239
SP
11792013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1180
1181 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1183
3b813b29
MF
11842013-08-27 Mike Frysinger <vapier@gentoo.org>
1185
1186 [BZ #15897]
1187 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1188 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1189 ($(objpfx)bug-dl-leaf): New rule.
1190 ($(objpfx)bug-dl-leaf.so): Likewise.
1191 ($(objpfx)bug-dl-leaf.out): Likewise.
1192 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1193 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1194 * dlfcn/bug-dl-leaf.c: New test.
1195 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1196 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1197 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1198 (dlclose): Likewise.
1199 (dlmopen): Likewise.
1200
8cc3269f
RM
12012013-08-27 Roland McGrath <roland@hack.frob.com>
1202
7f9d0034
RM
1203 * include/netdb.h [!_ISOMAC]:
1204 Don't include <tls.h>.
1205 (h_errno, __libc_h_errno): Move declaration and macros out of
1206 [_LIBC_REENTRANT].
1207
fb431262
RM
1208 * include/resolv.h [_RESOLV_H_]:
1209 Don't include <tls.h>.
1210 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1211 * resolv/res_libc.c: Don't include <tls.h>.
1212 (_res): Use __attribute__ ((nocommon)) in place of
1213 __attribute__ ((section (".bss"))).
1214
bd81123a
RM
1215 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1216 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1217
c4e42566
RM
1218 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1219
f890a59b
RM
1220 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1221 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1222
1223 * resolv/res_mkquery.c: Include <sys/time.h>.
1224
5d1f0a09
RM
1225 * inet/ifreq.c: Moved to ...
1226 * sysdeps/unix/ifreq.c: ... here.
1227 * inet/ifreq.c: New file, true stub version.
1228
6fcf28b3
RM
1229 * socket/sa_len.c: New file.
1230 * socket/Makefile (aux): Add it.
1231 * sysdeps/unix/sysv/linux/Makefile
1232 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1233 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1234 and #include <socket/sa_len.c>.
1235 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1236 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1237
e041fb8b
RM
1238 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1239 * bits/socket.h: ... here.
1240
8cc3269f
RM
1241 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1242 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1243 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1244
5d228a43
AS
12452013-08-27 Andreas Schwab <schwab@suse.de>
1246
45b8accc
AS
1247 [BZ #15736]
1248 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1249 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1250 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1251 * string/test-strcasecmp.c (test_main): Run tests in several
1252 locales.
1253 * string/test-strncasecmp.c (test_main): Likewise.
1254
5d228a43
AS
1255 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1256 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1257 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1258 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1259 (__strncasecmp_ssse3) [PIC]: Likewise.
1260
59d112a4
RM
12612013-08-26 Roland McGrath <roland@hack.frob.com>
1262
53234cc3
RM
1263 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1264
59d112a4
RM
1265 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1266 instead of explicitly declaring xdecrypt.
1267 * nis/nss_nis/nis-publickey.c: Likewise.
1268
595aba70
SP
12692013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1270
1271 [BZ #15890]
1272 * nscd/aicache.c: Include res_hconf.h.
1273 (addhstaiX): Initialize res_hconf.
1274
ffabd393
AS
12752013-08-26 Andreas Schwab <schwab@suse.de>
1276
1277 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1278 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1279
e0a69f5c
SP
12802013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1281
1282 * nscd/aicache.c (addhstaiX): Fix indentation.
1283
8c12f01d
MF
12842013-08-25 Mike Frysinger <vapier@gentoo.org>
1285
1286 * configure.ac: Quote $build_pt_chown test.
1287 * configure: Regenerated.
1288
8fe89494
JM
12892013-08-23 Joseph Myers <joseph@codesourcery.com>
1290
1291 [BZ #15532]
1292 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1293 * math/s_cexpf.c (__cexpf): Likewise.
1294 * math/s_cexpl.c (__cexpl): Likewise.
1295 * math/libm-test.inc (cexp_test_data): Correct expected return
1296 value for NaN + i0. Add another test.
1297
75b181d6
DM
12982013-08-22 David S. Miller <davem@davemloft.net>
1299
1300 * po/ca.po: Update Catalan translation from translation project.
936241e4 1301 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1302
acd06bb1
JM
13032013-08-21 Joseph Myers <joseph@codesourcery.com>
1304
1305 [BZ #15797]
1306 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1307 is infinite, not alongside NaN test.
1308 * math/s_fdimf.c (__fdimf): Likewise.
1309 * math/s_fdiml.c (__fdiml): Likewise.
1310 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1311 errno is unchanged.
1312
c0c3f78a
OB
13132013-08-21 Ondřej Bílka <neleai@seznam.cz>
1314
1315 * argp/argp-help.c: Fix typos.
1316 * crypt/speeds.c: Likewise.
1317 * csu/check_fds.c: Likewise.
1318 * elf/dl-load.c: Likewise.
1319 * elf/dl-open.c: Likewise.
1320 * elf/reldep3.c: Likewise.
1321 * elf/reldep.c: Likewise.
1322 * elf/sprof.c: Likewise.
1323 * iconv/iconv_charmap.c: Likewise.
1324 * iconv/skeleton.c: Likewise.
1325 * iconv/strtab.c: Likewise.
1326 * io/lockf64.c: Likewise.
1327 * libio/libioP.h: Likewise.
1328 * resolv/gai_notify.c: Likewise.
1329 * resolv/ns_name.c: Likewise.
1330 * resolv/ns_samedomain.c: Likewise.
1331 * resolv/res_send.c: Likewise.
1332 * stdlib/random.c: Likewise.
1333 * sunrpc/rpc/xdr.h: Likewise.
1334 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1335 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1336 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1337 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1338 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1339 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1340 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1341 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1342 * sysdeps/mach/hurd/check_fds.c: Likewise.
1343 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1344 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1345 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1346 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1347 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1348 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1349 * sysdeps/pthread/aio_notify.c: Likewise.
1350 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1351 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1352 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1353 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1354 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1355
46ed1038
LD
13562013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1357
1358 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1359 version if bit_Slow_SSE4_2 is set.
1360 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1361 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1362
d400dcac
AZ
13632013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1364
1365 [BZ #15867]
1366 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1367 trampoline stack frame information.
1368 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1369 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1370 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1371 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1372 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1373 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1374 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1375 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1376 sa_flags value.
1377 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1378 interrupting a syscall and set with option SA_SIGINFO.
1379
42c8fdd8
JM
13802013-08-20 Joseph Myers <joseph@codesourcery.com>
1381
c980f2f4
JM
1382 [BZ #15531]
1383 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1384 argument is infinite.
1385 * math/s_cprojf.c (__cprojf): Likewise.
1386 * math/s_cprojl.c (__cprojl): Likewise.
1387 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1388 * math/libm-test.inc (cproj_test_data): Add more tests.
1389
0716c4fc
JM
1390 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1391
42c8fdd8
JM
1392 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1393 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1394 size. Use __ffs to determine corresponding shift.
1395
b31469d0
JM
13962013-08-20 Joseph Myers <joseph@codesourcery.com>
1397 Roland McGrath <roland@hack.frob.com>
1398
1399 * Makefile (INSTALL): Remove trailing blank lines from output of
1400 makeinfo.
1401
4e39af6e
AK
14022013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1403
1404 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1405 Align 32 bit compat elf_greg to 8 bytes.
1406
f315524e
AA
14072013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1408
1409 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1410
1326ba1a
SP
14112013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1412
1413 * string/strcoll_l.c (coll_seq): New structure.
1414 (get_next_seq_cached): New function.
1415 (get_next_seq): New function.
1416 (do_compare): New function.
1417 (STRCOLL): Use GNU style definition. Simplify implementation
1418 by using get_next_seq, get_next_seq_cached and do_compare.
1419
91ce4085
FW
14202013-08-16 Florian Weimer <fweimer@redhat.com>
1421
1422 [BZ #14699]
1423 CVE-2013-4237
1424 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1425 member.
1426 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1427 member.
1428 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1429 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1430 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1431 conditional.
1432 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1433 GETDENTS_64BIT_ALIGNED.
1434 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1435 * manual/filesys.texi (Reading/Closing Directory): Document
1436 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1437 strongly.
1438 * manual/conf.texi (Limits for Files): Add portability note to
1439 NAME_MAX, PATH_MAX.
1440 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1441
ca0a6bc4
AS
14422013-08-13 Andreas Schwab <schwab@suse.de>
1443
1444 [BZ #15749]
1445 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1446 of fabs.
1447 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1448 LDBL_MAX_EXP >= 16384]: Add tests for it.
1449
6c1fd795
DM
14502013-08-12 David S. Miller <davem@davemloft.net>
1451
1452 * version.h (RELEASE): Set to "development".
1453 (VERSION): Set to "2.18.90".
1454 * NEWS: Add 2.19 section.
1455
31ad488d
DM
14562013-08-03 David S. Miller <davem@davemloft.net>
1457
1458 * po/ko.po: Update Korean translation from translation project.
1459
db24e684
DM
14602013-08-01 David S. Miller <davem@davemloft.net>
1461
1462 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1463 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1464 Bilka.
1465
f723285b
DM
14662013-07-30 David S. Miller <davem@davemloft.net>
1467
1468 * po/fr.po: Update French translation from translation project.
1469
3cbc52db
DM
14702013-07-28 David S. Miller <davem@davemloft.net>
1471
30bbc0cc
DM
1472 * po/cs.po: Update Czech translation from translation project.
1473
3cbc52db
DM
1474 * po/sv.po: Update Swedish translation from translation project.
1475
d492e6d0
DM
14762013-07-27 David S. Miller <davem@davemloft.net>
1477
f1a7f492
DM
1478 * po/eo.po: Update Esperanto translation from translation project.
1479
90e62a4a
DM
1480 * po/vi.po: Update Vietnamese translation from translation project.
1481
d492e6d0
DM
1482 * po/de.po: Update German translation from translation project.
1483
d4baa62d
DM
14842013-07-26 David S. Miller <davem@davemloft.net>
1485
641aa7b4
DM
1486 * po/bg.po: Update Bulgarian translation from translation project.
1487
d4baa62d
DM
1488 * po/nl.po: Update Dutch translation from translation project.
1489 * po/pl.po: Update Polish translation from translation project.
1490 * po/ru.po: Update Russian translation from translation project.
1491
61a9dcb9
DM
14922013-07-24 David S. Miller <davem@davemloft.net>
1493
1494 * po/libc.pot: Update.
1495
7b1f8b58
AZ
14962013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1497
1498 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1499 variable page size.
1500 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1501 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1502 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1503
a8fc7a03
AK
15042013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1505
1506 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1507
e4608715
CD
15082013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1509 Andreas Schwab <schwab@suse.de>
1510 Roland McGrath <roland@hack.frob.com>
1511 Joseph Myers <joseph@codesourcery.com>
1512 Carlos O'Donell <carlos@redhat.com>
1513
1514 [BZ #15755]
1515 * config.h.in: Define HAVE_PT_CHOWN.
1516 * config.make.in (build-pt-chown): New variable.
1517 * configure.in (--enable-pt_chown): New configure option.
1518 * configure: Regenerate.
1519 * login/Makefile: Include Makeconfig. Build pt_chown only if
1520 build-pt-chown is enabled.
1521 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1522 pt_chown to fix pty ownership.
1523 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1524 CLOSE_ALL_FDS.
1525 * manual/install.texi (Configuring and compiling): Mention
1526 --enable-pt_chown. Add @findex for grantpt.
1527 * INSTALL: Regenerate.
1528
da2d62df
DM
15292013-07-20 David S. Miller <davem@davemloft.net>
1530
1531 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1532 difference between 32-bit and 64-bit.
1533
d7e06450
CD
15342013-07-15 Carlos O'Donell <carlos@redhat.com>
1535
1536 [BZ #15711]
1537 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1538 Avoid system header dependency with -ffreestanding.
1539 ($(objpfx)bits/syscall%d): Likewise.
1540
f959cfd7
DM
15412013-07-13 David S. Miller <davem@davemloft.net>
1542
1543 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1544 underflows from atanl/atan2l due to bug 15319.
1545 (casinh_test_data): Likewise.
1546
c61f8513
DM
15472013-07-07 David S. Miller <davem@davemloft.net>
1548
1549 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1550
72c90ed0
JA
15512013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1552
1553 * sysdeps/i386/fpu/libm-test-ulps: Update.
1554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1555
52dfbe13
SP
15562013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1557
1558 * configure.in (--enable-lock-elision): Fix message text.
1559 * INSTALL: Regenerate.
1560 * configure: Regenerate.
1561
3f169543
AZ
15622013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1563
1564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1565
521c6785
AJ
15662013-07-03 Andreas Jaeger <aj@suse.de>
1567
1568 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1569 define.
1570 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1571 (ptrace_peeksiginfo_args): Add.
1572 (__ptrace_peeksiginfo_flags): Add.
1573 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1574 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1575 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1576
d2cc15cb
AM
15772013-07-03 Allan McRae <allan@archlinux.org>
1578
1579 * sysdeps/i386/fpu/libm-test-ulps: Update.
1580
3aaeeca7
DM
15812013-07-02 David S. Miller <davem@davemloft.net>
1582
1583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1584
5314ed1a
MT
15852013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1586
1587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1588
67338156
JM
15892013-07-02 Joseph Myers <joseph@codesourcery.com>
1590
1591 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1593
1717da59
AK
15942013-07-02 Andi Kleen <ak@linux.intel.com>
1595
1596 * config.h.in (ENABLE_LOCK_ELISION): Add.
1597 * configure.in (--enable-lock-elision): Add option.
1598 * manual/install.texi: Document --enable lock elision.
1599 * configure: Regenerate
1600 * INSTALL: Regenerate.
1601
1c81621c
L
16022013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1603
1604 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1605 SSE4.2 strcasecmp for libc.a.
1606 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1607
77f01ab5
JM
16082013-07-02 Joseph Myers <joseph@codesourcery.com>
1609
1610 [BZ #13304]
1611 * soft-fp/op-common.h (_FP_FMA): New macro.
1612 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1613 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1614 (_FP_MUL_MEAT_1_imm): ... here.
1615 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1616 (_FP_MUL_MEAT_1_wide): ... here.
1617 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1618 (_FP_MUL_MEAT_1_hard): ... here.
1619 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1620 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1621 (_FP_MUL_MEAT_2_wide): ... here.
1622 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1623 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1624 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1625 (_FP_MUL_MEAT_2_gmp): ... here.
1626 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1627 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1628 (_FP_MUL_MEAT_4_wide): ... here.
1629 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1630 (_FP_MUL_MEAT_4_gmp): ... here.
1631 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1632 (_FP_WFRACBITS_DW_S): Likewise.
1633 (_FP_WFRACXBITS_DW_S): Likewise.
1634 (_FP_HIGHBIT_DW_S): Likewise.
1635 (FP_FMA_S): Likewise.
1636 (_FP_FRAC_HIGH_DW_S): Likewise.
1637 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1638 (_FP_WFRACBITS_DW_D): Likewise.
1639 (_FP_WFRACXBITS_DW_D): Likewise.
1640 (_FP_HIGHBIT_DW_D): Likewise.
1641 (FP_FMA_D): Likewise.
1642 (_FP_FRAC_HIGH_DW_D): Likewise.
1643 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1644 (_FP_WFRACBITS_DW_E): Likewise.
1645 (_FP_WFRACXBITS_DW_E): Likewise.
1646 (_FP_HIGHBIT_DW_E): Likewise.
1647 (FP_FMA_E): Likewise.
1648 (_FP_FRAC_HIGH_DW_E): Likewise.
1649 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1650 (_FP_WFRACBITS_DW_Q): Likewise.
1651 (_FP_WFRACXBITS_DW_Q): Likewise.
1652 (_FP_HIGHBIT_DW_Q): Likewise.
1653 (FP_FMA_Q): Likewise.
1654 (_FP_FRAC_HIGH_DW_Q): Likewise.
1655 * soft-fp/fmasf4.c: New file.
1656 * soft-fp/fmadf4.c: Likewise.
1657 * soft-fp/fmatf4.c: Likewise.
1658
6308fd9a
LD
16592013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1660
1661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1662 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1663 Silvermont.
1664 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1665 macro.
1666 (index_Slow_SSE4_2): Likewise.
1667 (index_Prefer_PMINUB_for_stringop): Likewise.
1668 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1669 bit_Slow_SSE4_2 is set.
1670 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1671 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1672
89cd9569
RA
16732013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1674
1675 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1676 rtld_global._dl_hwcap2.
1677 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1678 POWER8.
1679 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1680 POWER8 feature descriptions defined in _dl_hwcap2.
1681 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1682 string handling for POWER8 feature bits.
1683 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1684 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1685 _dl_powerpc_cap_flags.
1686 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1687 * sysdeps/powerpc/rtld-global-offsets.sym
1688 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1689 _dl_hwcap2 in the rtld_global_ro structure.
1690
1ae8bfe0
RA
16912013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1692
1693 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1694 hardware capabilities in support of AT_HWCAP2.
1695 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1696 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1697 GLRO(dl_hwcap2).
1698 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1699 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1700 explicitly the unknown a_type display mechanism is used.
1701 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1702 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1703 struct member.
1704 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1705 to macro prototype for AT_HWCAP2 support.
1706 * sysdeps/i386/dl-procinfo.h: Likewise.
1707 * sysdeps/s390/dl-procinfo.h: Likewise.
1708 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1709 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1710 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1711 return -1 for unknown a_type display fallback.
1712 * sysdeps/sparc/dl-procinfo.h: Likewise.
1713 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1714 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1715
8fbec010
JM
17162013-06-28 Joseph Myers <joseph@codesourcery.com>
1717
1718 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1719 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1720
0432680e
PY
17212013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1722
1723 [BZ #12492]
1724 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1725 mprotect making __stack_prot writable.
1726
ce61a2ad
NF
17272013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1728 Joseph Myers <joseph@codesourcery.com>
1729
1730 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1731 as being properly aligned.
1732
f91f1c0f
MR
17332013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1734
3d0f5d0c
MR
1735 * dlfcn/modstatic5.c: New file.
1736 * dlfcn/tststatic5.c: New file.
1737 * dlfcn/Makefile (tests): Add tststatic5.
1738 (tests-static): Likewise.
1739 (modules-names): Add modstatic5.
1740 (tststatic5-ENV): New variable.
1741 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1742
f91f1c0f
MR
1743 [BZ #15022]
1744 * elf/dl-support.c (_dl_main_map): New variable.
1745 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1746 (_dl_nns, _dl_load_adds): Set to 1.
1747 (_dl_initial_searchlist): Refer to _dl_main_map.
1748 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1749 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1750 call to _dl_get_origin.
1751 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1752 around call_map.
1753 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1754 * dlfcn/modstatic3.c: New file.
1755 * dlfcn/tststatic3.c: New file.
1756 * dlfcn/tststatic4.c: New file.
1757 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1758 (tests-static): Likewise.
1759 (modules-names): Add modstatic3.
1760 (tststatic3-ENV, tststatic4-ENV): New variables.
1761 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1762 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1763
cbe7d24b
JM
17642013-06-26 Joseph Myers <joseph@codesourcery.com>
1765
1766 * configure.in (CC): Require GCC version 4.4 or later.
1767 * configure: Regenerated.
1768 * manual/install.texi (Tools for Compilation): Update GCC version
1769 requirement.
1770 * INSTALL: Regenerated.
1771
11b8a0e1
LD
17722013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1773
1774 [BZ #15674]
bb5bb87c
L
1775 * string/test-memcmp.c (check2): New.
1776 (main): Call check2.
1777
11b8a0e1
LD
1778 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1779
b0037103
MR
17802013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1781
1782 [BZ #15022]
1783 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1784 over to...
1785 (dl_open_worker) [!SHARED]: ... here.
1786
c18c701d
RA
17872013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1788
1789 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1790
1d17fa5f
RH
17912013-06-25 Richard Henderson <rth@redhat.com>
1792
1793 * locale/programs/locarchive.c: Include <libc-internal.h>
1794
8fcb833a
JM
17952013-06-25 Joseph Myers <joseph@codesourcery.com>
1796
1797 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1798 trailing whitespace removed.
1799
17db6e8d
MF
18002013-06-24 Mike Frysinger <vapier@gentoo.org>
1801
1802 [BZ #10283]
17db6e8d
MF
1803 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1804 * locale/programs/locarchive.c: Include libc-mmap.h.
1805 (prepare_address_space): Take two new outputs (the mmap base and len).
1806 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1807 values.
1808 (create_archive): Declare new mmap base and len values for
1809 prepare_address_space, and store the result in ah.
1810 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1811 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1812 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1813 Declare new mmap base and len values for
1814 prepare_address_space, and store the result in new_ah.
1815 (open_archive): Declare new mmap base and len values for
1816 prepare_address_space, and store the result in ah.
1817 (close_archive): If ah->mmap_base is not NULL, use that and
1818 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1819 * sysdeps/generic/libc-mmap.h: New file.
1820
d605071e
MF
18212013-06-24 Mike Frysinger <vapier@gentoo.org>
1822
1823 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1824 (ALIGN_UP): Likewise.
1825 (PTR_ALIGN_DOWN): Likewise.
1826 (PTR_ALIGN_UP): Likewise.
1827
2f063a6e
RA
18282013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1829
1830 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1831 entry mapped to PPC_PLATFORM_POWER8.
1832 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1833 POWER8.
1834 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1835 (_dl_string_platform): Add case for exporting platform position for
1836 POWER8.
1837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1838 search path to sysdeps/powerpc/powerpc32/power8 directory.
1839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1840 search path to sysdeps/powerpc/powerpc64/power8 directory.
1841 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1842 power7 directories.
1843 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1844 power7 directories.
1845
a31ee4b3
SP
18462013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1847
a74ca98f
SP
1848 * INSTALL: Regenerate.
1849
a31ee4b3
SP
1850 * nscd/connections.c (nscd_init): Fix comment.
1851
695c378f
JM
18522013-06-22 Joseph Myers <joseph@codesourcery.com>
1853
d8412221
JM
1854 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1855
695c378f
JM
1856 [BZ #15667]
1857 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1858 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1859
d1d54715
MR
18602013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1861
1862 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1863 DL_DST_REQ_STATIC.
1864 (DL_DST_REQ_STATIC): Remove macro.
1865
8fdda7af
JM
18662013-06-21 Joseph Myers <joseph@codesourcery.com>
1867
1868 [BZ #7006]
1869 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1870 with a shift of 0 bits.
1871
f3bc5e5a
MR
18722013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1873
1874 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1875 $(tststatic-ENV).
1876
be09e8c9
KK
18772013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1878
1879 [BZ #15655]
1880 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1881
85c2e611
AZ
18822013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1883
1884 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1885 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1886 accepts -fno-tree-loop-distribute-patterns.
1887 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1888 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1889 recursive call.
1890 * string/memset.c (memset): Likewise.
1891 * string/test-memmove.c (simple_memmove): Disable loop transformation
1892 to library calls.
1893 * string/test-memset.c (simple_memset): Likewise.
1894 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1895 * benchtests/bench-memset.c (simple_memset): Likewise.
1896 * configure: Regenerated.
1897
c91e0825
JM
18982013-06-20 Joseph Myers <joseph@codesourcery.com>
1899
b8c792af
JM
1900 * math/test-misc.c (main): Ignore fesetround failure when failures
1901 of subsequent rounding tests would be ignored.
1902
c91e0825
JM
1903 [BZ #15654]
1904 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1905 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1906 * math/fegetenv.c (__fegetenv): Return 0.
1907 * math/fegetexcept.c (fegetexcept): Return 0.
1908 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1909 FE_TONEAREST.
1910 * math/feholdexcpt.c (feholdexcept): Return 0.
1911 * math/fesetenv.c (__fesetenv): Return 0.
1912 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1913 argument FE_TONEAREST.
1914 * math/feupdateenv.c (__feupdateenv): Return 0.
1915 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1916
bfcacbde
RM
19172013-06-18 Roland McGrath <roland@hack.frob.com>
1918
1919 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1920 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1921 ($(objpfx)rtld-%.os rules): Use them.
1922
e55a9b25
AZ
19232013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1924
1925 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1926 fields.
1927
346d65b3
RM
19282013-06-17 Roland McGrath <roland@hack.frob.com>
1929
12086fb4
RM
1930 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1931 length of target pattern, then descending length of dependency pattern.
1932 * configure.in (AWK): Require gawk 3.1.2 or newer.
1933 * manual/install.texi (Tools for Compilation): Say that we do.
1934 * configure: Regenerated.
1935
346d65b3
RM
1936 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1937 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1938 * scripts/sysd-rules.awk: ... this new script.
1939 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1940 than a glob-style pattern.
1941
1a846317
JM
19422013-06-17 Joseph Myers <joseph@codesourcery.com>
1943
1944 * math/test-misc.c (main): Do not treat incorrectly rounded
1945 conversions as failure unless ROUNDING_TESTS passes.
1946
8fc75e6f
JM
19472013-06-15 Joseph Myers <joseph@codesourcery.com>
1948
3711a167
JM
1949 [BZ #15631]
1950 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1951 restore exception state around main square root computation, then
1952 check for inexactness explicitly.
1953
8fc75e6f
JM
1954 * math/libm-test.inc (fma_test_data): Add another test.
1955
61dd6208
SP
19562013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1957
adf23d2c
SP
1958 * manual/threads.texi (Non-POSIX Extensions): New document
1959 node. Document pthread_getattr_default_np and
1960 pthread_setattr_default_np.
1961
61dd6208
SP
1962 * Versions.def (libpthread): Add GLIBC_2.18.
1963 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1965 Likewise.
1966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1967 Likewise.
1968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1969 Likewise.
1970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1971 Likewise.
1972 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1973 Likewise.
1974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1975 Likewise.
1976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1977 Likewise.
1978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1979 Likewise.
1980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1981 Likewise.
1982
d086fc7b
LD
19832013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1984
1985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1986 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1987
747ef469
SP
19882013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1989 H.J. Lu <hjl.tools@gmail.com>
1990
1991 [BZ #15627]
1992 * sysdeps/x86_64/rtld-memset.c: Remove file.
1993 * sysdeps/x86_64/rtld-memset.S: New file.
1994
1b2feed2
JM
19952013-06-14 Joseph Myers <joseph@codesourcery.com>
1996
1997 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1998 (test_in_one_mode): Take arguments for whether the rounding mode
1999 is supported for each floating-point type.
2000 (do_test): Pass new arguments to test_in_one_mode using
2001 ROUNDING_TESTS.
2002
a58ad3f8
RM
20032013-06-13 Roland McGrath <roland@hack.frob.com>
2004
2005 * posix/tst-waitid.c (do_test): Distinguish different instances of
2006 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2007 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2008 before entering the kernel for waitpid.
2009
c204ab28
SP
20102013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2011
2012 * NEWS: Fix note on clock function precision. Text by Roland
2013 McGrath.
2014
f4a29fba
RM
20152013-06-13 Roland McGrath <roland@hack.frob.com>
2016
2017 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2018 it into place only when and if the sanity check passes.
2019
1f24b9ad
JM
20202013-06-13 Joseph Myers <joseph@codesourcery.com>
2021
2022 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2023 output for whether conversion result is exact. Take argument
2024 indicating whether type is IBM long double.
2025 (round_for_all): Change need_exact field to ibm_ld.
2026 * stdlib/tst-strtod-round.c (struct exactness): New type.
2027 (struct test): Change bool ld_ok field to struct exactness exact.
2028 (TEST): Update all definitions for change to field.
2029 (tests): Regenerate array contents.
2030 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2031 field value. Check for IBM long double here.
2032 (do_test): Update calls to test_in_one_mode.
2033
58206c68
SP
20342013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2035
2036 [BZ #12515]
2037 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2038 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2039
2d6f4c5b 20402013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
2041
2042 [BZ #15605]
2043 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2044 generated by the compiler on loop optimizations.
2045 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2046 general definitions.
2047
94f2c076
JM
20482013-06-12 Joseph Myers <joseph@codesourcery.com>
2049
2050 * math/bug-nextafter.c: Include <math-tests.h>.
2051 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2052 the relevant type.
2053 * math/bug-nexttoward.c: Include <math-tests.h>.
2054 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2055 the relevant type.
2056 * math/test-misc.c: Include <math-tests.h>.
2057 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2058 the relevant type.
2059
e0e50a0a
AJ
20602013-06-12 Andreas Jaeger <aj@suse.de>
2061
2062 * po/ia.po: Update Interlingua translation from translation
2063 project.
2064
25061094
SP
20652013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2066
2067 * include/fenv.h: Include stdbool.h.
2068 (struct rm_ctx): New structure.
2069 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2070 Define macro.
2071 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2072 (SET_RESTORE_ROUNDF): Likewise.
2073 (SET_RESTORE_ROUNDL): Likewise.
2074 (SET_RESTORE_ROUND_NOEX): Likewise.
2075 (SET_RESTORE_ROUND_NOEXF): Likewise.
2076 (SET_RESTORE_ROUND_NOEXL): Likewise.
2077 (SET_RESTORE_ROUND_53BIT): Likewise.
2078 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2079 (libc_feresetround_noexf_ctx): Likewise.
2080 (libc_feresetround_noexl_ctx): Likewise.
2081 (libc_feholdsetround_53bit_ctx): Likewise.
2082 (libc_feresetround_53bit_ctx): Likewise.
2083 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2084 (libc_feholdexcept_setround_sse_ctx): New function.
2085 (libc_fesetenv_sse_ctx): Likewise.
2086 (libc_feupdateenv_sse_ctx): Likewise.
2087 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2088 (libc_feholdexcept_setround_387_ctx): Likewise.
2089 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2090 (libc_feholdsetround_387_prec_ctx): Likewise.
2091 (libc_feholdsetround_387_ctx): Likewise.
2092 (libc_feholdsetround_387_53bit_ctx): Likewise.
2093 (libc_feholdsetround_sse_ctx): Likewise.
2094 (libc_feresetround_sse_ctx): Likewise.
2095 (libc_feresetround_387_ctx): Likewise.
2096 (libc_feupdateenv_387_ctx): Likewise.
2097 (libc_feholdexcept_setroundf_ctx): Define macro.
2098 (libc_fesetenvf_ctx): Likewise.
2099 (libc_feupdateenvf_ctx): Likewise.
2100 (libc_feholdsetroundf_ctx): Likewise.
2101 (libc_feresetroundf_ctx): Likewise.
2102 (libc_feholdexcept_setround_ctx): Likewise.
2103 (libc_fesetenv_ctx): Likewise.
2104 (libc_feupdateenv_ctx): Likewise.
2105 (libc_feholdsetround_ctx): Likewise.
2106 (libc_feresetround_ctx): Likewise.
2107 (libc_feholdexcept_setroundl_ctx): Likewise.
2108 (libc_feupdateenvl_ctx): Likewise.
2109 (libc_feholdsetroundl_ctx): Likewise.
2110 (libc_feresetroundl_ctx): Likewise.
2111 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2112 (libc_feresetround_53bit_ctx): Likewise.
2113
59b30555
SP
21142013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2115
2116 * locale/iso-639.def: Convert to UTF-8.
2117
f1d73d30
JM
21182013-06-11 Joseph Myers <joseph@codesourcery.com>
2119
2120 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2121 (EXCEPTION_TESTS_double): Likewise.
2122 (EXCEPTION_TESTS_long_double): Likewise.
2123 (EXCEPTION_TESTS): Likewise.
2124 * math/libm-test.inc (test_exceptions): Only test exceptions if
2125 EXCEPTION_TESTS (FLOAT).
2126
94aca5e7
SP
21272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2128
2129 * benchtests/Makefile (string-bench): Add strcpy_chk and
2130 stpcpy_chk.
2131 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2132 * benchtests/bench-stpcpy_chk.c: New file.
2133 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2134 * benchtests/bench-strcpy_chk.c: New file.
2135 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2136 code.
2137 (do_test): Likewise.
2138
fac0c5f2
RA
21392013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2140
2141 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2142 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2143 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2144 with tabs where appropriate.
2145 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2146 dl-procinfo.h.
2147 [PPC_PLATFORM_PPC440]: Likewise.
2148 [PPC_PLATFORM_PPC464]: Likewise.
2149 [PPC_PLATFORM_PPC476]: Likewise.
2150 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2151 ppc464, and ppc476 platform strings merging from ports/
2152 dl-procinfo.h.
2153
f22bc486
AS
21542013-06-11 Andreas Schwab <schwab@suse.de>
2155
2156 [BZ #14991]
2157 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2158 (from_ucs4_idx): Regenerate.
2159 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2160 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2161 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2162 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2163 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2164 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2165 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2166 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2167 from FROM_LOOP and TO_LOOP specific macros.
2168 (BODY): Handle combining characters.
2169 * iconvdata/BIG5HKSCS.irreversible: Update.
2170 * iconvdata/BIG5HKSCS.precomposed: New file.
2171 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2172 characters.
2173 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2174
c1f75dc3
SP
21752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2176
4eacded2
SP
2177 * include/sys/time.h: Fix indentation and add copyright header.
2178
fec799f8
SP
2179 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2180 (do_test): Likewise.
2181 * string/test-memchr.c (do_one_test): Likewise.
2182 (do_test): Likewise.
2183 * string/test-memcmp.c (do_one_test): Likewise.
2184 (do_test): Likewise.
2185 * string/test-memcpy.c (do_one_test): Likewise.
2186 (do_test): Likewise.
2187 * string/test-memmem.c (do_one_test): Likewise.
2188 (do_test): Likewise.
2189 (do_random_tests): Likewise.
2190 * string/test-memmove.c (do_one_test): Likewise.
2191 (do_test): Likewise.
2192 * string/test-memset.c (do_one_test): Likewise.
2193 (do_test): Likewise.
2194 * string/test-rawmemchr.c (do_one_test): Likewise.
2195 (do_test): Likewise.
2196 * string/test-strcasecmp.c (do_one_test): Likewise.
2197 (do_test): Likewise.
2198 * string/test-strcasestr.c (do_one_test): Likewise.
2199 (do_test): Likewise.
2200 * string/test-strcat.c (do_one_test): Likewise.
2201 (do_test): Likewise.
2202 * string/test-strchr.c (do_one_test): Likewise.
2203 (do_test): Likewise.
2204 * string/test-strcmp.c (do_one_test): Likewise.
2205 (do_test): Likewise.
2206 * string/test-strcpy.c (do_one_test): Likewise.
2207 (do_test): Likewise.
2208 * string/test-string.h: Likewise.
2209 (test_init): Likewise.
2210 * string/test-strlen.c (do_one_test): Likewise.
2211 (do_test): Likewise.
2212 * string/test-strncasecmp.c (do_one_test): Likewise.
2213 (do_test): Likewise.
2214 * string/test-strncat.c (do_one_test): Likewise.
2215 (do_test): Likewise.
2216 * string/test-strncmp.c (do_one_test): Likewise.
2217 (do_test_limit): Likewise.
2218 (do_test): Likewise.
2219 * string/test-strncpy.c (do_one_test): Likewise.
2220 (do_test): Likewise.
2221 * string/test-strnlen.c (do_one_test): Likewise.
2222 (do_test): Likewise.
2223 * string/test-strpbrk.c (do_one_test): Likewise.
2224 (do_test): Likewise.
2225 * string/test-strrchr.c (do_one_test): Likewise.
2226 (do_test): Likewise.
2227 * string/test-strspn.c (do_one_test): Likewise.
2228 (do_test): Likewise.
2229 * string/test-strstr.c (do_one_test): Likewise.
2230 (do_test): Likewise.
2231
97020474
SP
2232 * benchtests/Makefile (string-bench): Add string benchmarks.
2233 * benchtests/bench-bcopy-ifunc.c: New file.
2234 * benchtests/bench-bcopy.c: New file.
2235 * benchtests/bench-bzero-ifunc.c: New file.
2236 * benchtests/bench-bzero.c: New file.
2237 * benchtests/bench-memccpy-ifunc.c: New file.
2238 * benchtests/bench-memccpy.c: New file.
2239 * benchtests/bench-memchr-ifunc.c: New file.
2240 * benchtests/bench-memchr.c: New file.
2241 * benchtests/bench-memcmp-ifunc.c: New file.
2242 * benchtests/bench-memcmp.c: New file.
2243 * benchtests/bench-memmem-ifunc.c: New file.
2244 * benchtests/bench-memmem.c: New file.
2245 * benchtests/bench-memmove-ifunc.c: New file.
2246 * benchtests/bench-memmove.c: New file.
2247 * benchtests/bench-mempcpy-ifunc.c: New file.
2248 * benchtests/bench-mempcpy.c: New file.
2249 * benchtests/bench-memset-ifunc.c: New file.
2250 * benchtests/bench-memset.c: New file.
2251 * benchtests/bench-rawmemchr-ifunc.c: New file.
2252 * benchtests/bench-rawmemchr.c: New file.
2253 * benchtests/bench-stpcpy-ifunc.c: New file.
2254 * benchtests/bench-stpcpy.c: New file.
2255 * benchtests/bench-stpncpy-ifunc.c: New file.
2256 * benchtests/bench-stpncpy.c: New file.
2257 * benchtests/bench-strcasecmp-ifunc.c: New file.
2258 * benchtests/bench-strcasecmp.c: New file.
2259 * benchtests/bench-strcasestr-ifunc.c: New file.
2260 * benchtests/bench-strcasestr.c: New file.
2261 * benchtests/bench-strcat-ifunc.c: New file.
2262 * benchtests/bench-strcat.c: New file.
2263 * benchtests/bench-strchr-ifunc.c: New file.
2264 * benchtests/bench-strchr.c: New file.
2265 * benchtests/bench-strchrnul-ifunc.c: New file.
2266 * benchtests/bench-strchrnul.c: New file.
2267 * benchtests/bench-strcmp-ifunc.c: New file.
2268 * benchtests/bench-strcmp.c: New file.
2269 * benchtests/bench-strcpy-ifunc.c: New file.
2270 * benchtests/bench-strcpy.c: New file.
2271 * benchtests/bench-strcspn-ifunc.c: New file.
2272 * benchtests/bench-strcspn.c: New file.
2273 * benchtests/bench-strlen-ifunc.c: New file.
2274 * benchtests/bench-strlen.c: New file.
2275 * benchtests/bench-strncasecmp-ifunc.c: New file.
2276 * benchtests/bench-strncasecmp.c: New file.
2277 * benchtests/bench-strncat-ifunc.c: New file.
2278 * benchtests/bench-strncat.c: New file.
2279 * benchtests/bench-strncmp-ifunc.c: New file.
2280 * benchtests/bench-strncmp.c: New file.
2281 * benchtests/bench-strncpy-ifunc.c: New file.
2282 * benchtests/bench-strncpy.c: New file.
2283 * benchtests/bench-strnlen-ifunc.c: New file.
2284 * benchtests/bench-strnlen.c: New file.
2285 * benchtests/bench-strpbrk-ifunc.c: New file.
2286 * benchtests/bench-strpbrk.c: New file.
2287 * benchtests/bench-strrchr-ifunc.c: New file.
2288 * benchtests/bench-strrchr.c: New file.
2289 * benchtests/bench-strspn-ifunc.c: New file.
2290 * benchtests/bench-strspn.c: New file.
2291 * benchtests/bench-strstr-ifunc.c: New file.
2292 * benchtests/bench-strstr.c: New file.
2293
c1f75dc3
SP
2294 * benchtests/Makefile: Disable parallel execution of targets.
2295 (string-bench): Add memcpy.
2296 (benchset): New variable to store a list of benchmark sets.
2297 (bench-func): Renamed from bench.
2298 (bench-set): New target.
2299 (bench): Depend on bench-func and bench-set.
2300 * benchtests/README: Add section on benchmark sets.
2301 * benchtests/bench-memcpy-ifunc.c: New file.
2302 * benchtests/bench-memcpy.c: New file.
2303 * benchtests/bench-string.h: New file.
2304
50fd745b
AS
23052013-06-11 Andreas Schwab <schwab@suse.de>
2306
2307 [BZ #15577]
2308 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2309 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2310 values in the triple.
2311 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2312 terminator in the group key.
2313
3ee7e9fe
AJ
23142013-06-11 Andreas Jaeger <aj@suse.de>
2315
2316 * po/zh_TW.po: Update Chinese (traditional) translation from
2317 translation project.
2318
89fb6835
SP
23192013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2320
2321 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2322 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2323 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2324 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2325 (clock_getcpuclockid): Likewise.
2326 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2327 Add weak_alias and libc_hidden_def.
2328 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2329 * rt/clock_gettime.c (clock_gettime): Rename to
2330 __clock_gettime. Add weak_alias and libc_hidden_def.
2331 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2332 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2333 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2334 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2335 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2336 Likewise.
2337 * rt/clock_settime.c (clock_settime): Rename to
2338 __clock_settime. Add weak_alias and libc_hidden_def.
2339 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2340
0efa6f8b
JM
23412013-06-10 Joseph Myers <joseph@codesourcery.com>
2342
b8c61b4b
JM
2343 * mach/err_boot.sub: Remove trailing whitespace.
2344 * mach/err_ipc.sub: Likewise.
2345 * mach/err_mach.sub: Likewise.
2346
0efa6f8b
JM
2347 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2348 (ROUNDING_TESTS_double): Likewise.
2349 (ROUNDING_TESTS_long_double): Likewise.
2350 (ROUNDING_TESTS): Likewise.
2351 * math/libm-test.inc: Include <math-tests.h>.
2352 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2353 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2354 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2355 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2356
50b818bf
SP
23572013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2358
2359 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2360 of assigning.
2361
60d2f8f3
JM
23622013-06-08 Joseph Myers <joseph@codesourcery.com>
2363
4902d2c3
JM
2364 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2365 otherwise empty TRANS lines.
2366 * sysdeps/gnu/errlist.c: Regenerated.
2367
60d2f8f3
JM
2368 * catgets/gencat.c (error_print): Use (void) in function
2369 definition.
2370 * crypt/crypt_util.c (__init_des): Likewise.
2371 * crypt/speeds.c (Stop): Likewise.
2372 (main): Likewise.
2373 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2374 * inet/ruserpass.c (token): Likewise.
2375 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2376 * intl/localealias.c (extend_alias_table): Likewise.
2377 * intl/plural-exp.c (init_germanic_plural): Likewise.
2378 * libio/fcloseall.c (__fcloseall): Likewise.
2379 * libio/genops.c (_IO_flush_all): Likewise.
2380 (_IO_flush_all_linebuffered): Likewise.
2381 (_IO_cleanup): Likewise.
2382 (_IO_iter_begin): Likewise.
2383 (_IO_iter_end): Likewise.
2384 (_IO_list_lock): Likewise.
2385 (_IO_list_unlock): Likewise.
2386 (_IO_list_resetlock): Likewise.
2387 * libio/getchar.c (getchar): Likewise.
2388 * libio/getchar_u.c (getchar_unlocked): Likewise.
2389 * libio/getwchar.c (getwchar): Likewise.
2390 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2391 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2392 * login/getpt.c (__getpt): Likewise.
2393 * login/tst-utmp.c (main): Likewise.
2394 * malloc/hooks.c (__malloc_check_init): Likewise.
2395 * malloc/malloc.c (__malloc_stats): Likewise.
2396 * malloc/mtrace.c (tr_break): Likewise.
2397 (mtrace): Likewise.
2398 (muntrace): Likewise.
2399 * misc/fstab.c (endfsent): Likewise.
2400 * misc/getclktck.c (__getclktck): Likewise.
2401 * misc/getdtsz.c (__getdtablesize): Likewise.
2402 * misc/gethostid.c (gethostid): Likewise.
2403 * misc/getpagesize.c (__getpagesize): Likewise.
2404 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2405 (__get_nprocs): Likewise.
2406 (__get_phys_pages): Likewise.
2407 (__get_avphys_pages): Likewise.
2408 * misc/getttyent.c (getttyent): Likewise.
2409 (setttyent): Likewise.
2410 (endttyent): Likewise.
2411 * misc/getusershell.c (getusershell): Likewise.
2412 (endusershell): Likewise.
2413 (setusershell): Likewise.
2414 (initshells): Likewise.
2415 * misc/hsearch.c (__hdestroy): Likewise.
2416 * misc/sync.c (sync): Likewise.
2417 * misc/syslog.c (closelog_internal): Likewise.
2418 (closelog): Likewise.
2419 * misc/ttyslot.c (ttyslot): Likewise.
2420 * misc/vhangup.c (vhangup): Likewise.
2421 * posix/fork.c (__fork): Likewise.
2422 * posix/getegid.c (__getegid): Likewise.
2423 * posix/geteuid.c (__geteuid): Likewise.
2424 * posix/getgid.c (__getgid): Likewise.
2425 * posix/getpid.c (__getpid): Likewise.
2426 * posix/getppid.c (__getppid): Likewise.
2427 * posix/getuid.c (__getuid): Likewise.
2428 * posix/pause.c (pause): Likewise.
2429 * posix/setpgrp.c (setpgrp): Likewise.
2430 * posix/setsid.c (__setsid): Likewise.
2431 * posix/test-vfork.c (noop): Likewise.
2432 * resolv/gethnamaddr.c (_endhtent): Likewise.
2433 (_gethtent): Likewise.
2434 (ht_endhostent): Likewise.
2435 (gethostent): Likewise.
2436 (dns_service): Likewise.
2437 * stdlib/drand48.c (drand48): Likewise.
2438 * stdlib/lrand48.c (lrand48): Likewise.
2439 * stdlib/mrand48.c (mrand48): Likewise.
2440 * stdlib/rand.c (rand): Likewise.
2441 * stdlib/random.c (__random): Likewise.
2442 * stdlib/setenv.c (clearenv): Likewise.
2443 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2444 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2445 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2446 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2447 (__get_nprocs): Likewise.
2448 (__get_phys_pages): Likewise.
2449 (__get_avphys_pages): Likewise.
2450 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2451 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2452 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2453 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2454 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2455 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2456 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2457 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2458 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2459 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2460 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2461 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2462 * sysdeps/posix/clock.c (clock): Likewise.
2463 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2464 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2465 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2466 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2467 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2468 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2469 (__get_nprocs_conf): Likewise.
2470 (__get_phys_pages): Likewise.
2471 (__get_avphys_pages): Likewise.
2472 * time/clock.c (clock): Likewise.
2473 * time/tzset.c (__tzname_max): Likewise.
2474
2e09a79a
JM
24752013-06-07 Joseph Myers <joseph@codesourcery.com>
2476
2477 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2478 (__bswap_32): Do not use "register".
2479 * crypt/crypt.c (_ufc_doit_r): Likewise.
2480 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2481 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2482 * gmon/gmon.c (__monstartup): Likewise.
2483 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2484 * hurd/hurdmalloc.c (more_memory): Likewise.
2485 (malloc): Likewise.
2486 (free): Likewise.
2487 (realloc): Likewise.
2488 (malloc_fork_prepare): Likewise.
2489 (malloc_fork_parent): Likewise.
2490 (malloc_fork_child): Likewise.
2491 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2492 (_svcauth_des): Likewise.
2493 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2494 * inet/inet_net.c (inet_network): Likewise.
2495 * inet/inet_netof.c (inet_netof): Likewise.
2496 * inet/rcmd.c (__validuser2_sa): Likewise.
2497 * io/fts.c (fts_open): Likewise.
2498 (fts_load): Likewise.
2499 (fts_close): Likewise.
2500 (fts_read): Likewise.
2501 (fts_children): Likewise.
2502 (fts_build): Likewise.
2503 (fts_stat): Likewise.
2504 (fts_sort): Likewise.
2505 (fts_alloc): Likewise.
2506 (fts_lfree): Likewise.
2507 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2508 (_IO_file_xsgetn): Likewise.
2509 (_IO_file_xsgetn_mmap): Likewise.
2510 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2511 (_IO_cookie_write): Likewise.
2512 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2513 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2514 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2515 * malloc/obstack.c (_obstack_begin): Likewise.
2516 (_obstack_begin_1): Likewise.
2517 (_obstack_newchunk): Likewise.
2518 (_obstack_allocated_p): Likewise.
2519 (obstack_free): Likewise.
2520 (_obstack_memory_used): Likewise.
2521 * misc/getttyent.c (getttynam): Likewise.
2522 (getttyent): Likewise.
2523 (skip): Likewise.
2524 (value): Likewise.
2525 * misc/getusershell.c (initshells): Likewise.
2526 * misc/syslog.c (__vsyslog_chk): Likewise.
2527 * misc/ttyslot.c (ttyslot): Likewise.
2528 * nis/nis_hash.c (__nis_hash): Likewise.
2529 * posix/fnmatch_loop.c (FCT): Likewise.
2530 * posix/getconf.c (print_all): Likewise.
2531 (main): Likewise.
2532 * posix/getopt.c (exchange): Likewise.
2533 * posix/glob.c (globfree): Likewise.
2534 (prefix_array): Likewise.
2535 (__glob_pattern_type): Likewise.
2536 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2537 (NS_GET32): Likewise.
2538 (NS_PUT16): Likewise.
2539 (NS_PUT32): Likewise.
2540 * resolv/gethnamaddr.c (getanswer): Likewise.
2541 (gethostbyname2): Likewise.
2542 (gethostbyaddr): Likewise.
2543 (_gethtent): Likewise.
2544 (_gethtbyname2): Likewise.
2545 (_gethtbyaddr): Likewise.
2546 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2547 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2548 * resolv/res_init.c (__res_vinit): Likewise.
2549 (net_mask): Likewise.
2550 * resolv/res_mkquery.c (outchar): Likewise.
2551 (PRINT): Likewise.
2552 * stdio-common/printf_fp.c (outchar): Likewise.
2553 (PRINT): Likewise.
2554 * stdio-common/printf_fphex.c (outchar): Likewise.
2555 (PRINT): Likewise.
2556 * stdio-common/printf_size.c (outchar): Likewise.
2557 (PRINT): Likewise.
2558 * stdio-common/test_rdwr.c (main): Likewise.
2559 * stdio-common/tfformat.c (matches): Likewise.
2560 * stdio-common/vfprintf.c (outchar): Likewise.
2561 (printf_unknown): Likewise.
2562 (buffered_vfprintf): Likewise.
2563 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2564 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2565 (ReadFile): Likewise.
2566 * stdlib/qsort.c (SWAP): Likewise.
2567 (_quicksort): Likewise.
2568 * stdlib/setenv.c (__add_to_environ): Likewise.
2569 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2570 * stdlib/strtol_l.c (__strtol_l): Likewise.
2571 * stdlib/tst-strtod.c (main): Likewise.
2572 * stdlib/tst-strtol.c (main): Likewise.
2573 * stdlib/tst-strtoll.c (main): Likewise.
2574 * string/bits/string2.h (__strcmp_cc): Likewise.
2575 (__strcmp_cg): Likewise.
2576 (__strcspn_c1): Likewise.
2577 (__strcspn_c2): Likewise.
2578 (__strcspn_c3): Likewise.
2579 (__strspn_c1): Likewise.
2580 (__strspn_c2): Likewise.
2581 (__strspn_c3): Likewise.
2582 (__strsep_1c): Likewise.
2583 (__strsep_2c): Likewise.
2584 (__strsep_3c): Likewise.
2585 * string/memccpy.c (__memccpy): Likewise.
2586 * string/stpcpy.c (__stpcpy): Likewise.
2587 * string/strcmp.c (strcmp): Likewise.
2588 * string/strrchr.c (strrchr): Likewise.
2589 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2590 Likewise.
2591 * sysdeps/mach/hurd/getcwd.c
2592 (_hurd_canonicalize_directory_name_internal): Likewise.
2593 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2594 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2595 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2596 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2597 Likewise, in both definitions.
2598 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2599 definitions.
2600 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2601 64] (__bswap_64): Likewise.
2602 * time/test_time.c (main): Likewise.
2603 * time/tzfile.c (__tzfile_read): Likewise.
2604 (__tzfile_compute): Likewise.
2605 * time/tzset.c (__tzset_parse_tz): Likewise.
2606 (tzset_internal): Likewise.
2607 (compute_change): Likewise.
2608 * wcsmbs/wcscat.c (__wcscat): Likewise.
2609 * wcsmbs/wcschr.c (wcschr): Likewise.
2610 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2611 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2612 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2613 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2614 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2615 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2616 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2617 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2618 * wcsmbs/wmemset.c (wmemset): Likewise.
2619
9e54314b
JM
26202013-06-06 Joseph Myers <joseph@codesourcery.com>
2621
2622 * scripts/config.guess: Update to version 2013-05-16.
2623 * scripts/config.sub: Update to version 2013-04-24.
2624 * scripts/install-sh: Update to version 2011-11-20.07.
2625 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2626 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2627
350635a5
OB
26282013-06-06 Ondřej Bílka <neleai@seznam.cz>
2629
2630 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2631 * elf/sln.c: Likewise.
2632 * hurd/hurd/ioctl.h: Likewise.
2633 * hurd/hurdmalloc.c: Likewise.
2634 * hurd/xattr.c: Likewise.
2635 * include/shlib-compat.h: Likewise.
2636 * inet/ruserpass.c: Likewise.
2637 * libio/iofgets_u.c: Likewise.
2638 * libio/iofgetws_u.c: Likewise.
2639 * locale/programs/ld-identification.c: Likewise.
2640 * locale/programs/ld-time.c: Likewise.
2641 * mach/msg-destroy.c: Likewise.
2642 * nss/nss_files/files-netgrp.c: Likewise.
2643 * resolv/res_data.c: Likewise.
2644 * soft-fp/op-1.h: Likewise.
2645 * soft-fp/op-2.h: Likewise.
2646 * soft-fp/op-4.h: Likewise.
2647 * soft-fp/op-common.h: Likewise.
2648 * stdio-common/printf_fphex.c: Likewise.
2649 * stdlib/strtod_l.c: Likewise.
2650 * sunrpc/rpc/clnt.h: Likewise.
2651 * sysdeps/generic/framestate.c: Likewise.
2652 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2653 * sysdeps/i386/bsd-setjmp.S: Likewise.
2654 * sysdeps/i386/__longjmp.S: Likewise.
2655 * sysdeps/i386/setjmp.S: Likewise.
2656 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2657 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2658 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2659 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2660 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2661 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2662 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2663 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2664 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2665 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2666 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2667 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2668 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2669 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2670 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2671 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2672 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2673 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2674 * sysdeps/ieee754/support.c: Likewise.
2675 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2676 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2677 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2678 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2679 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2680 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2681 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2682 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2683 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2684 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2685 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2686 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2687 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2688 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2689 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2690 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2691 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2693
44a988af
OB
26942013-06-05 Ondřej Bílka <neleai@seznam.cz>
2695
25506f09 2696 * posix/transbug.c: Remove executable mode.
44a988af 2697
9c84384c
JM
26982013-06-05 Joseph Myers <joseph@codesourcery.com>
2699
2700 * crypt/speeds.c: Remove trailing whitespace.
2701 * dlfcn/default.c: Likewise.
2702 * elf/ifuncdep2.c: Likewise.
2703 * elf/ifuncmain1.c: Likewise.
2704 * elf/ifuncmain1vis.c: Likewise.
2705 * elf/testobj.h: Likewise.
2706 * elf/tst-stackguard1.c: Likewise.
2707 * gmon/sys/gmon.h: Likewise.
2708 * hurd/hurdmsg.c: Likewise.
2709 * hurd/new-fd.c: Likewise.
2710 * hurd/ports-get.c: Likewise.
2711 * iconvdata/ibm1008_420.c: Likewise.
2712 * inet/tst-getni1.c: Likewise.
2713 * inet/tst-getni2.c: Likewise.
2714 * libio/ioungetc.c: Likewise.
2715 * libio/wfiledoalloc.c: Likewise.
2716 * manual/libm-err-tab.pl: Likewise.
2717 * math/w_dremf.c: Likewise.
2718 * misc/ftruncate.c: Likewise.
2719 * posix/bug-glob2.c: Likewise.
2720 * posix/tst-pcre.c: Likewise.
2721 * posix/wait4.c: Likewise.
2722 * resolv/README: Likewise.
2723 * resolv/res_debug.h: Likewise.
2724 * resolv/tst-inet_ntop.c: Likewise.
2725 * setjmp/bug269-setjmp.c: Likewise.
2726 * soft-fp/extended.h: Likewise.
2727 * soft-fp/op-1.h: Likewise.
2728 * soft-fp/op-2.h: Likewise.
2729 * soft-fp/op-4.h: Likewise.
2730 * soft-fp/op-8.h: Likewise.
2731 * soft-fp/testit.c: Likewise.
2732 * stdio-common/bug16.c: Likewise.
2733 * stdlib/random.c: Likewise.
2734 * sunrpc/rpcsvc/rquota.x: Likewise.
2735 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2736 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2737 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2738 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2739 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2740 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2741 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2742 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2743 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2744 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2745 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2746 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2747 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2748 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2749 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2750 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2751 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2752 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2753 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2754 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2755 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2756 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2757 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2758 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2759 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2760 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2761 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2762 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2763 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2764 * sysdeps/ieee754/s_lib_version.c: Likewise.
2765 * sysdeps/mach/hurd/check_fds.c: Likewise.
2766 * sysdeps/mach/hurd/getsockname.c: Likewise.
2767 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2768 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2769 * sysdeps/powerpc/bits/link.h: Likewise.
2770 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2771 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2772 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2773 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2774 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2775 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2776 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2777 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2778 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2779 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2780 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2781 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2782 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2783 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2784 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2785 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2786 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2787 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2788 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2789 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2790 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2791 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2792 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2793 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2794 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2795 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2796 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2797 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2798 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2799 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2800 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2801 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2802 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2803 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2804 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2805 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2806 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2807 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2808 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2809 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2810 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2811 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2812 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2813 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2814 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2815 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2816 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2817 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2818 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2819 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2820 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2821 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2822 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2823 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2824 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2825 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2826 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2827 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2828 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2829 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2830 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2831 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2832 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2833 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2834 * sysdeps/powerpc/sysdep.h: Likewise.
2835 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2836 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2837 * sysdeps/sh/dl-trampoline.S: Likewise.
2838 * sysdeps/sh/memset.S: Likewise.
2839 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2840 * sysdeps/sh/strlen.S: Likewise.
2841 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2842 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2843 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2844 * sysdeps/sparc/sparc32/rem.S: Likewise.
2845 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2846 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2847 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2848 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2849 * sysdeps/sparc/sparc32/urem.S: Likewise.
2850 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2851 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2852 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2853 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2854 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2855 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2856 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2857 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2858 * sysdeps/unix/bsd/times.c: Likewise.
2859 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2860 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2864 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2865 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2866 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2867 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2868 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2869 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2870 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2871 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2872 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2873 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2874 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2875 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2876 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2877 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2878 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2879 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2880 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2881 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2882 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2883 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2884 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2885 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2886 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2887 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2888 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2889 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2890 * sysdeps/x86_64/strcspn.S: Likewise.
2891
869378a5
RA
28922013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2893
2894 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2895 generated file. Regenerate properly from gen-translit.pl.
2896 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2897 locale/C-translit.h.
2898
840e2943
AS
28992013-06-05 Andreas Schwab <schwab@suse.de>
2900
2901 [BZ #15100]
2902 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2903 week as 6 instead of -1.
2904 * time/tst-strptime.c (day_tests): Add test case.
2905
4c60cb0c
SP
29062013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2907
2908 * sysdeps/generic/math_private.h
2909 (libc_feholdexcept_setround_53bit): Replace with
2910 libc_feholdsetround_53bit.
2911 (libc_feupdateenv_53bit): Replace with
2912 libc_feresetround_53bit.
2913 (SET_RESTORE_ROUND_53BIT): Adjust.
2914
d180203e
SP
29152013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2916
96df079a
SP
2917 * string/test-strchrnul.c: Add copyright header.
2918
d180203e
SP
2919 * posix/tst-getaddrinfo4.c: Increase test timeout.
2920
8b0ccb2d
CD
29212013-06-03 Carlos O'Donell <carlos@redhat.com>
2922
2923 [BZ #15536]
2924 * math/libm-test.inc (MAX_EXP): Remove
2925 (MIN_EXP): Define.
2926 (ulp): Use MIN_EXP - MANT_DIG.
2927 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2928
3b3c4d40
CD
29292013-05-31 Carlos O'Donell <carlos@redhat.com>
2930
2931 * po/be.po: Revert last change.
2932 * po/zh_CN.po: Likewise.
2933 * po/header.pot: Likewise.
2934
fab7ce3f
JM
29352013-05-31 Joseph Myers <joseph@codesourcery.com>
2936
2937 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2938 link-libc-deps to empty as target-specific variable.
2939 * Makerules (link-libc-args): New variable.
2940 (libc-for-link): Likewise.
2941 (link-libc-deps): Likewise.
2942 (lib%.so): Depend on $(link-libc-deps). Link with
2943 $(link-libc-args).
2944 (build-module): Link with $(link-libc-args).
2945 (build-module-asneeded): Likewise.
2946 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2947 list of objects.
2948 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2949 target-specific variable.
2950 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2951 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2952 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2953 libc.
2954 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2955 libc and ld.so.
2956 ($(objpfx)libpcprofile.so): Likewise.
2957 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2958 libc_nonshared.a.
2959 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2960 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2961 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2962 $(link-libc-deps).
2963 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2964 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2965 * login/Makefile ($(objpfx)libutil.so): Likewise.
2966 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2967 * math/Makefile ($(objpfx)libm.so): Likewise.
2968 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2969 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2970 variable instead of depending directly on libc.
2971 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2972 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2973 $(link-libc-deps).
2974 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2975 libc.
2976 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2977 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2978 ($(objpfx)libanl.so): Likewise.
2979 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2980 ld.so.
2981 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2982 $(link-libc-deps).
2983 * sysdeps/i386/fpu/Makefile: Remove file.
2984 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2985 ($(objpfx)libm.so): Remove dependency on ld.so.
2986
eca5920c
PF
29872013-05-30 Patsy Franklin <pfrankli@redhat.com>
2988
2989 [BZ # 15553]
2990 * nis/yp_xdr.c (XDRMAXNAME): Define.
2991 (XDRMAXRECORD): Define.
2992 (xdr_domainname): Use XDRMAXNAME.
2993 (xdr_mapname): Likewise.
2994 (xdr_peername): Likewise.
2995 (xdr_keydat): Use XDRMAXRECORD.
2996 (xdr_valdat): Likewise.
2997
29982013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2999
3000 [BZ #14256]
3001 * manual/errno.texi (ESTALE): Update to account for more than
3002 just NFS file systems.
3003 * sysdeps/gnu/errlist.c: Regenerated.
3004
b9375348
SP
30052013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3006
3007 [BZ #15465]
3008 * elf/Makefile (tests): Add tst-null-argv.
3009 (modules-names): Add tst-null-argv-lib.
3010 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3011 (tst-null-argv-ENV): Set environment for tst-null-argv.
3012 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3013 (RTLD_PROGNAME): New macro.
3014 * elf/tst-null-argv.c: New test case.
3015 * elf/tst-null-argv-lib.c: Library for test case.
3016 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3017 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3018 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3019 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3020 * elf/dl-init.c (call_init): Likewise.
3021 (_dl_init): Likewise.
3022 * elf/dl-load.c (print_search_path): Likewise.
3023 (_dl_map_object): Likewise.
3024 * elf/dl-lookup.c (do_lookup_x): Likewise.
3025 (add_dependency): Likewise.
3026 (_dl_lookup_symbol_x): Likewise.
3027 (_dl_debug_bindings): Likewise.
3028 * elf/dl-open.c (_dl_show_scope): Likewise.
3029 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3030 * elf/dl-version.c (match_symbol): Likewise.
3031 (_dl_check_map_versions): Likewise.
3032 * elf/rtld.c (dl_main): Likewise.
3033 (print_unresolved): Use RTLD_PROGNAME.
3034 (print_missing_version): Likewise.
3035 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3036 (elf_machine_rela): Likewise.
3037 * sysdeps/powerpc/powerpc32/dl-machine.c
3038 (__process_machine_rela): Likewise.
3039 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3040 Likewise.
3041 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3042 Likewise.
3043 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3044 Likewise.
3045 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3047 Likewise.
3048 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3049 Likewise.
3050 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3051
8a9f20c8
CD
30522013-05-28 Carlos O'Donell <carlos@redhat.com>
3053
3054 * po/be.po: Add descriptive title.
3055 * po/zh_CN.po: Likewise.
3056 * po/header.pot: Likewise.
3057
0e60d68e
MF
30582013-05-28 Mike Frysinger <vapier@gentoo.org>
3059
3060 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3061 error message.
3062 (enlarge_archive): Likewise.
3063
56b672e9
BN
30642013-05-28 Ben North <ben@redfrontdoor.org>
3065
3066 * manual/arith.texi (frexp): It is the magnitude of the return
3067 value which lies in [0.5, 1), not the return value itself.
3068
5e056687
AZ
30692013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3070
3071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3072
2b66ef5d
TS
30732013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3074
528c2405
TS
3075 * stdio-common/bug26.c (main): Correct fscanf template.
3076
07b4c13d
TS
3077 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3078 declare _dl_skip_args.
3079
ec9dd97c
TS
3080 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3081 Don't declare.
3082
2b66ef5d
TS
3083 * manual/platform.texi: Add missing @end deftypefun.
3084
4f8dfe27
JM
30852013-05-24 Joseph Myers <joseph@codesourcery.com>
3086
0323d086
JM
3087 [BZ #15529]
3088 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3089 bit of mantissa of 2^16382.
3090 * math/libm-test.inc (hypot_test_data): Add more tests.
3091
dd4259b9
JM
3092 * math/libm-test.inc: Add drem and pow10 to list of tested
3093 functions.
3094 (pow10_test): New function.
3095 (drem_test): Likewise.
3096 (drem_test_tonearest): Likewise.
3097 (drem_test_towardzero): Likewise.
3098 (drem_test_downward): Likewise.
3099 (drem_test_upward): Likewise.
3100 (main): Call the new functions.
3101
4f8dfe27
JM
3102 * math/libm-test.inc (finite_test_data): Remove.
3103 (finite_test): Run tests from isfinite_test_data.
3104 (gamma_test_data): Remove.
3105 (gamma_test): Run tests from lgamma_test_data.
3106 * sysdeps/i386/fpu/libm-test-ulps: Update.
3107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3108
d116b7c4
AZ
31092013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3110
3111 * manual/platform.texi: Add PowerPC PPR function set documentation.
3112 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3113 implementation.
3114
e96e3767
CD
31152013-05-24 Carlos O'Donell <carlos@redhat.com>
3116
3117 * math/libm-test.inc (MAX_EXP): Define.
3118 (ULPDIFF): Define.
3119 (ulp): New function.
3120 (check_float_internal): Use ULPDIFF.
3121 (cpow_test): Disable failing test.
3122 (check_ulp): Test ulp() implemetnation.
3123 (main): Call check_ulp before starting tests.
3124
b679a606
JM
31252013-05-24 Joseph Myers <joseph@codesourcery.com>
3126
e8bdba36
JM
3127 * math/gen-libm-test.pl (generate_testfile): Do not handle
3128 START_DATA and END_DATA.
3129 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3130 END_DATA.
3131 (acos_tonearest_test_data): Likewise.
3132 (acos_towardzero_test_data): Likewise.
3133 (acos_downward_test_data): Likewise.
3134 (acos_upward_test_data): Likewise.
3135 (acosh_test_data): Likewise.
3136 (asin_test_data): Likewise.
3137 (asin_tonearest_test_data): Likewise.
3138 (asin_towardzero_test_data): Likewise.
3139 (asin_downward_test_data): Likewise.
3140 (asin_upward_test_data): Likewise.
3141 (asinh_test_data): Likewise.
3142 (atan_test_data): Likewise.
3143 (atanh_test_data): Likewise.
3144 (atan2_test_data): Likewise.
3145 (cabs_test_data): Likewise.
3146 (cacos_test_data): Likewise.
3147 (cacosh_test_data): Likewise.
3148 (carg_test_data): Likewise.
3149 (casin_test_data): Likewise.
3150 (casinh_test_data): Likewise.
3151 (catan_test_data): Likewise.
3152 (catanh_test_data): Likewise.
3153 (cbrt_test_data): Likewise.
3154 (ccos_test_data): Likewise.
3155 (ccosh_test_data): Likewise.
3156 (ceil_test_data): Likewise.
3157 (cexp_test_data): Likewise.
3158 (cimag_test_data): Likewise.
3159 (clog_test_data): Likewise.
3160 (clog10_test_data): Likewise.
3161 (conj_test_data): Likewise.
3162 (copysign_test_data): Likewise.
3163 (cos_test_data): Likewise.
3164 (cos_tonearest_test_data): Likewise.
3165 (cos_towardzero_test_data): Likewise.
3166 (cos_downward_test_data): Likewise.
3167 (cos_upward_test_data): Likewise.
3168 (cosh_test_data): Likewise.
3169 (cosh_tonearest_test_data): Likewise.
3170 (cosh_towardzero_test_data): Likewise.
3171 (cosh_downward_test_data): Likewise.
3172 (cosh_upward_test_data): Likewise.
3173 (cpow_test_data): Likewise.
3174 (cproj_test_data): Likewise.
3175 (creal_test_data): Likewise.
3176 (csin_test_data): Likewise.
3177 (csinh_test_data): Likewise.
3178 (csqrt_test_data): Likewise.
3179 (ctan_test_data): Likewise.
3180 (ctan_tonearest_test_data): Likewise.
3181 (ctan_towardzero_test_data): Likewise.
3182 (ctan_downward_test_data): Likewise.
3183 (ctan_upward_test_data): Likewise.
3184 (ctanh_test_data): Likewise.
3185 (ctanh_tonearest_test_data): Likewise.
3186 (ctanh_towardzero_test_data): Likewise.
3187 (ctanh_downward_test_data): Likewise.
3188 (ctanh_upward_test_data): Likewise.
3189 (erf_test_data): Likewise.
3190 (erfc_test_data): Likewise.
3191 (exp_test_data): Likewise.
3192 (exp_tonearest_test_data): Likewise.
3193 (exp_towardzero_test_data): Likewise.
3194 (exp_downward_test_data): Likewise.
3195 (exp_upward_test_data): Likewise.
3196 (exp10_test_data): Likewise.
3197 (exp2_test_data): Likewise.
3198 (expm1_test_data): Likewise.
3199 (fabs_test_data): Likewise.
3200 (fdim_test_data): Likewise.
3201 (finite_test_data): Likewise.
3202 (floor_test_data): Likewise.
3203 (fma_test_data): Likewise.
3204 (fma_towardzero_test_data): Likewise.
3205 (fma_downward_test_data): Likewise.
3206 (fma_upward_test_data): Likewise.
3207 (fmax_test_data): Likewise.
3208 (fmin_test_data): Likewise.
3209 (fmod_test_data): Likewise.
3210 (fpclassify_test_data): Likewise.
3211 (frexp_test_data): Likewise.
3212 (gamma_test_data): Likewise.
3213 (hypot_test_data): Likewise.
3214 (ilogb_test_data): Likewise.
3215 (isfinite_test_data): Likewise.
3216 (isgreater_test_data): Likewise.
3217 (isgreaterequal_test_data): Likewise.
3218 (isinf_test_data): Likewise.
3219 (isless_test_data): Likewise.
3220 (islessequal_test_data): Likewise.
3221 (islessgreater_test_data): Likewise.
3222 (isnan_test_data): Likewise.
3223 (isnormal_test_data): Likewise.
3224 (issignaling_test_data): Likewise.
3225 (isunordered_test_data): Likewise.
3226 (j0_test_data): Likewise.
3227 (j1_test_data): Likewise.
3228 (jn_test_data): Likewise.
3229 (ldexp_test_data): Likewise.
3230 (lgamma_test_data): Likewise.
3231 (lrint_test_data): Likewise.
3232 (lrint_tonearest_test_data): Likewise.
3233 (lrint_towardzero_test_data): Likewise.
3234 (lrint_downward_test_data): Likewise.
3235 (lrint_upward_test_data): Likewise.
3236 (llrint_test_data): Likewise.
3237 (llrint_tonearest_test_data): Likewise.
3238 (llrint_towardzero_test_data): Likewise.
3239 (llrint_downward_test_data): Likewise.
3240 (llrint_upward_test_data): Likewise.
3241 (log_test_data): Likewise.
3242 (log10_test_data): Likewise.
3243 (log1p_test_data): Likewise.
3244 (log2_test_data): Likewise.
3245 (logb_test_data): Likewise.
3246 (logb_downward_test_data): Likewise.
3247 (lround_test_data): Likewise.
3248 (llround_test_data): Likewise.
3249 (modf_test_data): Likewise.
3250 (nearbyint_test_data): Likewise.
3251 (nextafter_test_data): Likewise.
3252 (nexttoward_test_data): Likewise.
3253 (pow_test_data): Likewise.
3254 (pow_tonearest_test_data): Likewise.
3255 (pow_towardzero_test_data): Likewise.
3256 (pow_downward_test_data): Likewise.
3257 (pow_upward_test_data): Likewise.
3258 (remainder_test_data): Likewise.
3259 (remainder_tonearest_test_data): Likewise.
3260 (remainder_towardzero_test_data): Likewise.
3261 (remainder_downward_test_data): Likewise.
3262 (remainder_upward_test_data): Likewise.
3263 (remquo_test_data): Likewise.
3264 (rint_test_data): Likewise.
3265 (rint_tonearest_test_data): Likewise.
3266 (rint_towardzero_test_data): Likewise.
3267 (rint_downward_test_data): Likewise.
3268 (rint_upward_test_data): Likewise.
3269 (round_test_data): Likewise.
3270 (scalb_test_data): Likewise.
3271 (scalbn_test_data): Likewise.
3272 (scalbln_test_data): Likewise.
3273 (signbit_test_data): Likewise.
3274 (sin_test_data): Likewise.
3275 (sin_tonearest_test_data): Likewise.
3276 (sin_towardzero_test_data): Likewise.
3277 (sin_downward_test_data): Likewise.
3278 (sin_upward_test_data): Likewise.
3279 (sincos_test_data): Likewise.
3280 (sinh_test_data): Likewise.
3281 (sinh_tonearest_test_data): Likewise.
3282 (sinh_towardzero_test_data): Likewise.
3283 (sinh_downward_test_data): Likewise.
3284 (sinh_upward_test_data): Likewise.
3285 (sqrt_test_data): Likewise.
3286 (tan_test_data): Likewise.
3287 (tan_tonearest_test_data): Likewise.
3288 (tan_towardzero_test_data): Likewise.
3289 (tan_downward_test_data): Likewise.
3290 (tan_upward_test_data): Likewise.
3291 (tanh_test_data): Likewise.
3292 (tgamma_test_data): Likewise.
3293 (trunc_test_data): Likewise.
3294 (y0_test_data): Likewise.
3295 (y1_test_data): Likewise.
3296 (yn_test_data): Likewise.
3297 (significand_test_data): Likewise.
3298
b679a606
JM
3299 * math/gen-libm-test.pl (@functions): Remove variable.
3300 (generate_testfile): Don't handle START and END lines.
3301 * math/libm-test.inc (START): New macro.
3302 (END): Likewise.
3303 (END_COMPLEX): Likewise.
3304 (acos_test): Use END macro without arguments.
3305 (acos_test_tonearest): Likewise.
3306 (acos_test_towardzero): Likewise.
3307 (acos_test_downward): Likewise.
3308 (acos_test_upward): Likewise.
3309 (acosh_test): Likewise.
3310 (asin_test): Likewise.
3311 (asin_test_tonearest): Likewise.
3312 (asin_test_towardzero): Likewise.
3313 (asin_test_downward): Likewise.
3314 (asin_test_upward): Likewise.
3315 (asinh_test): Likewise.
3316 (atan_test): Likewise.
3317 (atanh_test): Likewise.
3318 (atan2_test): Likewise.
3319 (cabs_test): Likewise.
3320 (cacos_test): Use END_COMPLEX macro without arguments.
3321 (cacosh_test): Likewise.
3322 (carg_test): Use END macro without arguments.
3323 (casin_test): Use END_COMPLEX macro without arguments.
3324 (casinh_test): Likewise.
3325 (catan_test): Likewise.
3326 (catanh_test): Likewise.
3327 (cbrt_test): Use END macro without arguments.
3328 (ccos_test): Use END_COMPLEX macro without arguments.
3329 (ccosh_test): Likewise.
3330 (ceil_test): Use END macro without arguments.
3331 (cexp_test): Use END_COMPLEX macro without arguments.
3332 (cimag_test): Use END macro without arguments.
3333 (clog_test): Use END_COMPLEX macro without arguments.
3334 (clog10_test): Likewise.
3335 (conj_test): Likewise.
3336 (copysign_test): Use END macro without arguments.
3337 (cos_test): Likewise.
3338 (cos_test_tonearest): Likewise.
3339 (cos_test_towardzero): Likewise.
3340 (cos_test_downward): Likewise.
3341 (cos_test_upward): Likewise.
3342 (cosh_test): Likewise.
3343 (cosh_test_tonearest): Likewise.
3344 (cosh_test_towardzero): Likewise.
3345 (cosh_test_downward): Likewise.
3346 (cosh_test_upward): Likewise.
3347 (cpow_test): Use END_COMPLEX macro without arguments.
3348 (cproj_test): Likewise.
3349 (creal_test): Use END macro without arguments.
3350 (csin_test): Use END_COMPLEX macro without arguments.
3351 (csinh_test): Likewise.
3352 (csqrt_test): Likewise.
3353 (ctan_test): Likewise.
3354 (ctan_test_tonearest): Likewise.
3355 (ctan_test_towardzero): Likewise.
3356 (ctan_test_downward): Likewise.
3357 (ctan_test_upward): Likewise.
3358 (ctanh_test): Likewise.
3359 (ctanh_test_tonearest): Likewise.
3360 (ctanh_test_towardzero): Likewise.
3361 (ctanh_test_downward): Likewise.
3362 (ctanh_test_upward): Likewise.
3363 (erf_test): Use END macro without arguments.
3364 (erfc_test): Likewise.
3365 (exp_test): Likewise.
3366 (exp_test_tonearest): Likewise.
3367 (exp_test_towardzero): Likewise.
3368 (exp_test_downward): Likewise.
3369 (exp_test_upward): Likewise.
3370 (exp10_test): Likewise.
3371 (exp2_test): Likewise.
3372 (expm1_test): Likewise.
3373 (fabs_test): Likewise.
3374 (fdim_test): Likewise.
3375 (finite_test): Likewise.
3376 (floor_test): Likewise.
3377 (fma_test): Likewise.
3378 (fma_test_towardzero): Likewise.
3379 (fma_test_downward): Likewise.
3380 (fma_test_upward): Likewise.
3381 (fmax_test): Likewise.
3382 (fmin_test): Likewise.
3383 (fmod_test): Likewise.
3384 (fpclassify_test): Likewise.
3385 (frexp_test): Likewise.
3386 (gamma_test): Likewise.
3387 (hypot_test): Likewise.
3388 (ilogb_test): Likewise.
3389 (isfinite_test): Likewise.
3390 (isgreater_test): Likewise.
3391 (isgreaterequal_test): Likewise.
3392 (isinf_test): Likewise.
3393 (isless_test): Likewise.
3394 (islessequal_test): Likewise.
3395 (islessgreater_test): Likewise.
3396 (isnan_test): Likewise.
3397 (isnormal_test): Likewise.
3398 (issignaling_test): Likewise.
3399 (isunordered_test): Likewise.
3400 (j0_test): Likewise.
3401 (j1_test): Likewise.
3402 (jn_test): Likewise.
3403 (ldexp_test): Likewise.
3404 (lgamma_test): Likewise.
3405 (lrint_test): Likewise.
3406 (lrint_test_tonearest): Likewise.
3407 (lrint_test_towardzero): Likewise.
3408 (lrint_test_downward): Likewise.
3409 (lrint_test_upward): Likewise.
3410 (llrint_test): Likewise.
3411 (llrint_test_tonearest): Likewise.
3412 (llrint_test_towardzero): Likewise.
3413 (llrint_test_downward): Likewise.
3414 (llrint_test_upward): Likewise.
3415 (log_test): Likewise.
3416 (log10_test): Likewise.
3417 (log1p_test): Likewise.
3418 (log2_test): Likewise.
3419 (logb_test): Likewise.
3420 (logb_test_downward): Likewise.
3421 (lround_test): Likewise.
3422 (llround_test): Likewise.
3423 (modf_test): Likewise.
3424 (nearbyint_test): Likewise.
3425 (nextafter_test): Likewise.
3426 (nexttoward_test): Likewise.
3427 (pow_test): Likewise.
3428 (pow_test_tonearest): Likewise.
3429 (pow_test_towardzero): Likewise.
3430 (pow_test_downward): Likewise.
3431 (pow_test_upward): Likewise.
3432 (remainder_test): Likewise.
3433 (remainder_test_tonearest): Likewise.
3434 (remainder_test_towardzero): Likewise.
3435 (remainder_test_downward): Likewise.
3436 (remainder_test_upward): Likewise.
3437 (remquo_test): Likewise.
3438 (rint_test): Likewise.
3439 (rint_test_tonearest): Likewise.
3440 (rint_test_towardzero): Likewise.
3441 (rint_test_downward): Likewise.
3442 (rint_test_upward): Likewise.
3443 (round_test): Likewise.
3444 (scalb_test): Likewise.
3445 (scalbn_test): Likewise.
3446 (scalbln_test): Likewise.
3447 (signbit_test): Likewise.
3448 (sin_test): Likewise.
3449 (sin_test_tonearest): Likewise.
3450 (sin_test_towardzero): Likewise.
3451 (sin_test_downward): Likewise.
3452 (sin_test_upward): Likewise.
3453 (sincos_test): Likewise.
3454 (sinh_test): Likewise.
3455 (sinh_test_tonearest): Likewise.
3456 (sinh_test_towardzero): Likewise.
3457 (sinh_test_downward): Likewise.
3458 (sinh_test_upward): Likewise.
3459 (sqrt_test): Likewise.
3460 (tan_test): Likewise.
3461 (tan_test_tonearest): Likewise.
3462 (tan_test_towardzero): Likewise.
3463 (tan_test_downward): Likewise.
3464 (tan_test_upward): Likewise.
3465 (tanh_test): Likewise.
3466 (tgamma_test): Likewise.
3467 (trunc_test): Likewise.
3468 (y0_test): Likewise.
3469 (y1_test): Likewise.
3470 (yn_test): Likewise.
3471 (significand_test): Likewise.
3472
bae143d2
OB
34732013-05-24 Ondřej Bílka <neleai@seznam.cz>
3474
3475 [BZ #15381]
3476 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3477
9323d39b
EM
34782013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3479
d4ea44a0 3480 [BZ #14894]
9323d39b
EM
3481 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3482 __ppc_mdoio and __ppc_mdoom.
3483 * manual/platform.texi: Document new functions __ppc_yield,
3484 __ppc_mdoio and __ppc_mdoom.
3485
13e23af7
CD
34862013-05-22 Carlos O'Donell <carlos@redhat.com>
3487
3488 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3489 (main): Mention "tls" pseudo-hwcap is legacy.
3490 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3491
351fe550
JM
34922013-05-22 Joseph Myers <joseph@codesourcery.com>
3493
3494 * math/gen-libm-test.pl (parse_args): Output only string of
3495 arguments as text for test name, not full call or descriptions of
3496 tests for extra outputs.
3497 (generate_testfile): Do not pass function name to parse_args.
3498 Generate this_func variable from START.
3499 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3500 field to arg_str.
3501 (struct test_ff_f_data): Likewise.
3502 (test_ff_f_data_nexttoward): Likewise.
3503 (struct test_fi_f_data): Likewise.
3504 (struct test_fl_f_data): Likewise.
3505 (struct test_if_f_data): Likewise.
3506 (struct test_fff_f_data): Likewise.
3507 (struct test_c_f_data): Likewise.
3508 (struct test_f_f1_data): Likewise. Remove field extra_name.
3509 (struct test_fF_f1_data): Likewise.
3510 (struct test_ffI_f1_data): Likewise.
3511 (struct test_c_c_data): Rename test_name field to arg_str.
3512 (struct test_cc_c_data): Likewise.
3513 (struct test_f_i_data): Likewise.
3514 (struct test_ff_i_data): Likewise.
3515 (struct test_f_l_data): Likewise.
3516 (struct test_f_L_data): Likewise.
3517 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3518 and extra2_name.
3519 (COMMON_TEST_SETUP): New macro.
3520 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3521 (COMMON_TEST_CLEANUP): Likewise.
3522 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3523 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3524 macros.
3525 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3526 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3527 macros.
3528 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3529 (RUN_TEST_fff_f): Take argument string. Call new setup and
3530 cleanup macros.
3531 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3532 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3533 macros.
3534 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3535 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3536 macros.
3537 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3538 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3539 cleanup macros.
3540 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3541 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3542 cleanup macros.
3543 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3544 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3545 cleanup macros.
3546 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3547 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3548 macros.
3549 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3550 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3551 macros.
3552 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3553 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3554 macros.
3555 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3556 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3557 cleanup macros.
3558 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3559 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3560 cleanup macros.
3561 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3562 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3563 macros.
3564 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3565 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3566 cleanup macros.
3567 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3568 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3569 macros.
3570 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3571 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3572 macros.
3573 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3574 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3575 cleanup macros.
3576 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3577
85118d4d
EBM
35782013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3579
3580 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3581 to _sifields.sigfault.
3582 (si_addr_lsb): Define new macro.
3583 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3584 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3585 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3586
7a44c18f
CD
35872013-05-03 Carlos O'Donell <carlos at redhat.com>
3588
3589 [BZ #15441]
3590 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3591 returns -1.
3592 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3593 null return -1.
3594 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3595 loading the domain.
3596
b50a7181
JM
35972013-05-22 Joseph Myers <joseph@codesourcery.com>
3598
3599 * math/gen-libm-test.pl (parse_args): Do not include expected
3600 result in test name.
3601 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3602 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3603 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3604 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3605 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3607
051063c8
SP
36082013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3609
3ce9e010
SP
3610 * benchtests/Makefile: Sort function entries.
3611
051063c8
SP
3612 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3613 tanh, asinh, acosh, atanh.
3614 * benchtests/acos-inputs: New file.
3615 * benchtests/acosh-inputs: New file.
3616 * benchtests/asin-inputs: New file.
3617 * benchtests/asinh-inputs: New file.
3618 * benchtests/atanh-inputs: New file.
3619 * benchtests/cosh-inputs: New file.
3620 * benchtests/log-inputs: New file.
3621 * benchtests/sinh-inputs: New file.
3622 * benchtests/tanh-inputs: New file.
3623
47c22455
DL
36242013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3625
3626 [BZ #15339]
3627 * posix/tst-getaddrinfo4.c: New test.
3628 * posix/Makefile (tests): Add it.
3629
3d04f5db
SP
36302013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3631
3632 [BZ #15339]
3633 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3634 when no services were used.
3635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3636 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3637
d5dd6189
AS
36382013-05-21 Andreas Schwab <schwab@suse.de>
3639
3640 [BZ #15014]
3641 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3642 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3643 successful.
3644 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3645 redundant variable declarations and reallocation of buffer when
3646 parsing as IPv6 address. Always set NSS status when called from
3647 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3648 buffer too small. Correct computation of needed size.
3649 * nss/Makefile (tests): Add test-digits-dots.
3650 * nss/test-digits-dots.c: New test.
3651
fef94eab
SP
36522013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3653
3654 * benchtests/Makefile: Remove instructions for adding
3655 benchmark tests.
3656 * benchtests/README: New file to explain how to execute and
3657 enhance the benchmark tests.
3658
e39adf43
AS
36592013-05-21 Andreas Schwab <schwab@suse.de>
3660
3661 [BZ #15493]
3662 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3663 * setjmp/tst-sigsetjmp.c: New test.
3664
b2b671b6
OB
36652013-05-20 Ondřej Bílka <neleai@seznam.cz>
3666
3667 * sysdeps/x86_64/memset.S (memset): New implementation.
3668 (__bzero): Likewise.
3669 (__memset_tail): New function.
3670
2d48b41c
OB
36712013-05-20 Ondřej Bílka <neleai@seznam.cz>
3672
3673 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3674 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3675 __memcpy_sse2_unaligned ifunc selection.
3676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3677 Add memcpy-sse2-unaligned.S.
3678 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3679 Add: __memcpy_sse2_unaligned.
3680
f16cc3eb
JM
36812013-05-19 Joseph Myers <joseph@codesourcery.com>
3682
3e694268
JM
3683 [BZ #15490]
3684 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3685 math_force_eval before restoring floating-point envrionment.
3686 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3687 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3688 Likewise.
3689 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3690 <math_private.h>.
3691 (__nearbyintl): Use math_force_eval before restoring
3692 floating-point environment.
3693 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3694
db62a907
JM
3695 * math/gen-libm-test.pl (special_functions): Remove.
3696 (parse_args): Don't handle TEST_extra. Handle functions with no
3697 return value.
3698 * math/libm-test.inc (struct test_sincos_data): Replace with
3699 struct test_fFF_11_data.
3700 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3701 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3702 (sincos_test_data): Change element type to struct
3703 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3704 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3705 RUN_TEST_LOOP_sincos.
3706 * math/README.libm-test: Don't mention special handling of
3707 individual functions.
3708 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3709 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3710 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3711 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3712 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3714
f16cc3eb
JM
3715 * math/gen-libm-test.pl (get_variable): Remove function.
3716 (parse_args): Don't show pointer parameters to call in test
3717 names. Use "extra output N" in test names for extra outputs
3718 rather than naming variables.
3719
3779b5b6
JM
37202013-05-18 Joseph Myers <joseph@codesourcery.com>
3721
2ee094ff
JM
3722 [BZ #15488]
3723 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3724 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3725 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3726 double tests.
3727 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3728 disable.
3729 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3730 check_long_double.
3731
3779b5b6
JM
3732 * math/gen-libm-test.pl (@tests): Remove variable.
3733 ($count): Likewise.
3734 (new_test): Remove function.
3735 (show_exceptions): New function.
3736 (special_functions): Use show_exceptions instead of new_test.
3737 (parse_args): Likewise.
3738 (generate_testfile): Pass only function name in generated call to
3739 print_max_error or print_complex_max_error.
3740 (get_ulps): Do not handle complex tests specially.
3741 (output_test): Rename to ...
3742 (get_all_ulps_for_test): ... this. Return a string rather than
3743 printing to a file. Require ulps to be present.
3744 (output_ulps): Generate arrays rather than #defines.
3745 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3746 (struct ulp_data): New type.
3747 (BUILD_COMPLEX_ULP): Remove macro.
3748 (compare_ulp_data): New function.
3749 (find_ulps): Likewise.
3750 (find_test_ulps): Likewise.
3751 (find_function_ulps): Likewise.
3752 (find_complex_function_ulps): Likewise.
3753 (print_max_error): Determine allowed ulps using
3754 find_function_ulps.
3755 (print_complex_max_error): Determine allowed ulps using
3756 find_complex_function_ulps.
3757 (check_float_internal): Determine max ulps using find_test_ulps.
3758 (check_float): Do not take max_ulp parameter. Update call to
3759 check_float_internal.
3760 (check_complex): Likewise.
3761 (check_int): Do not take max_ulp parameter.
3762 (check_long): Likewise.
3763 (check_bool): Likewise.
3764 (check_longlong): Likewise.
3765 (struct test_f_f_data): Remove max_ulp field.
3766 (struct test_ff_f_data): Likewise.
3767 (struct test_ff_f_data_nexttoward): Likewise.
3768 (struct test_fi_f_data): Likewise.
3769 (struct test_fl_f_data): Likewise.
3770 (struct test_if_f_data): Likewise.
3771 (struct test_fff_f_data): Likewise.
3772 (struct test_c_f_data): Likewise.
3773 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3774 (struct test_fF_f1_data): Likewise.
3775 (struct test_ffI_f1_data): Likewise.
3776 (struct test_c_c_data): Remove max_ulp field.
3777 (struct test_cc_c_data): Likewise.
3778 (struct test_f_i_data): Likewise.
3779 (struct test_ff_i_data): Likewise.
3780 (struct test_f_l_data): Likewise.
3781 (struct test_f_L_data): Likewise.
3782 (struct test_sincos_data): Likewise.
3783 (RUN_TEST_f_f): Do not handle ulps.
3784 (RUN_TEST_LOOP_f_f): Likewise.
3785 (RUN_TEST_2_f): Likewise.
3786 (RUN_TEST_LOOP_2_f): Likewise.
3787 (RUN_TEST_fff_f): Likewise.
3788 (RUN_TEST_LOOP_fff_f): Likewise.
3789 (RUN_TEST_c_f): Likewise.
3790 (RUN_TEST_LOOP_c_f): Likewise.
3791 (RUN_TEST_f_f1): Likewise.
3792 (RUN_TEST_LOOP_f_f1): Likewise.
3793 (RUN_TEST_fF_f1): Likewise.
3794 (RUN_TEST_LOOP_fF_f1): Likewise.
3795 (RUN_TEST_fI_f1): Likewise.
3796 (RUN_TEST_LOOP_fI_f1): Likewise.
3797 (RUN_TEST_ffI_f1): Likewise.
3798 (RUN_TEST_LOOP_ffI_f1): Likewise.
3799 (RUN_TEST_c_c): Likewise.
3800 (RUN_TEST_LOOP_c_c): Likewise.
3801 (RUN_TEST_cc_c): Likewise.
3802 (RUN_TEST_LOOP_cc_c): Likewise.
3803 (RUN_TEST_f_i): Likewise.
3804 (RUN_TEST_LOOP_f_i): Likewise.
3805 (RUN_TEST_f_i_tg): Likewise.
3806 (RUN_TEST_LOOP_f_i_tg): Likewise.
3807 (RUN_TEST_ff_i_tg): Likewise.
3808 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3809 (RUN_TEST_f_b): Likewise.
3810 (RUN_TEST_LOOP_f_b): Likewise.
3811 (RUN_TEST_f_b_tg): Likewise.
3812 (RUN_TEST_LOOP_f_b_tg): Likewise.
3813 (RUN_TEST_f_l): Likewise.
3814 (RUN_TEST_LOOP_f_l): Likewise.
3815 (RUN_TEST_f_L): Likewise.
3816 (RUN_TEST_LOOP_f_L): Likewise.
3817 (RUN_TEST_sincos): Likewise.
3818 (RUN_TEST_LOOP_sincos): Likewise.
3819
8269107f
JM
38202013-05-17 Joseph Myers <joseph@codesourcery.com>
3821
bb38759d
JM
3822 [BZ #15480]
3823 [BZ #15485]
3824 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3825 main case of finite arguments, set rounding mode to FE_TONEAREST
3826 and discard exceptions.
3827 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3828 exceptions.
3829 (remainder_tonearest_test_data): New variable.
3830 (remainder_test_tonearest): New function.
3831 (remainder_towardzero_test_data): New variable.
3832 (remainder_test_towardzero): New function.
3833 (remainder_downward_test_data): New variable.
3834 (remainder_test_downward): New function.
3835 (remainder_upward_test_data): New variable.
3836 (remainder_test_upward): New function.
3837 (main): Call the new test functions.
3838
a00bdcf0
JM
3839 * math/libm-test.inc (struct test_f_f1_data): Remove field
3840 extra_init.
3841 (struct test_fF_f1_data): Likewise.
3842 (struct test_ffI_f1_data): Likewise.
3843 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3844 based on value of EXTRA_EXPECTED.
3845 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3846 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3847 EXTRA_VAR based on value of EXTRA_EXPECTED.
3848 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3849 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3850 EXTRA_VAR based on value of EXTRA_EXPECTED.
3851 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3852 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3853 EXTRA_VAR based on value of EXTRA_EXPECTED.
3854 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3855 * math/gen-libm-test.pl (parse_args): Don't output initializers
3856 for extra output values.
3857
de407f79
JM
3858 * math/libm-test.inc (check_int): Expect result to be exactly
3859 equal to expected value and do not handle ulps.
3860 (check_long): Likewise.
3861 (check_longlong): Likewise.
3862
8269107f
JM
3863 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3864 exceptions.
3865 (cimag_test_data): Likewise.
3866 (conj_test_data): Likewise.
3867 (copysign_test_data): Likewise.
3868 (cproj_test_data): Likewise.
3869 (creal_test_data): Likewise.
3870 (fabs_test_data): Likewise.
3871 (fdim_test_data): Likewise.
3872 (finite_test_data): Likewise.
3873 (floor_test_data): Likewise.
3874 (fmax_test_data): Likewise.
3875 (fmin_test_data): Likewise.
3876 (fmod_test_data): Likewise.
3877 (fpclassify_test_data): Likewise.
3878 (frexp_test_data): Likewise.
3879 (ilogb_test_data): Likewise.
3880 (isfinite_test_data): Likewise.
3881 (isgreater_test_data): Likewise.
3882 (isgreaterequal_test_data): Likewise.
3883 (isinf_test_data): Likewise.
3884 (isless_test_data): Likewise.
3885 (islessequal_test_data): Likewise.
3886 (islessgreater_test_data): Likewise.
3887 (isnan_test_data): Likewise.
3888 (isnormal_test_data): Likewise.
3889 (issignaling_test_data): Likewise.
3890 (isunordered_test_data): Likewise.
3891 (ldexp_test_data): Likewise.
3892 (lrint_test_data): Likewise.
3893 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3894 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3895 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3896 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3897 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3898 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3899 test input.
3900 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3901 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3902 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3903 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3904 that test input.
3905 (lrint_downward_test_data): Test for "inexact" exceptions.
3906 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3907 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3908 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3909 test input.
3910 (lrint_upward_test_data): Test for "inexact" exceptions.
3911 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3912 test input.
3913 (llrint_test_data): Test for "inexact" exceptions.
3914 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3915 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3916 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3917 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3918 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3919 (llrint_downward_test_data): Test for "inexact" exceptions.
3920 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3921 (llrint_upward_test_data): Test for "inexact" exceptions.
3922 (logb_test_data): Likewise.
3923 (logb_downward_test_data): Likewise.
3924 (nextafter_test_data): Likewise.
3925 (nexttoward_test_data): Likewise.
3926 (remainder_test_data): Likewise.
3927 (remquo_test_data): Likewise.
3928 (scalbn_test_data): Likewise.
3929 (scalbln_test_data): Likewise.
3930 (signbit_test_data): Likewise.
3931 (sqrt_test_data): Likewise.
3932 (significand_test_data): Likewise.
3933
48a18de1
SP
39342013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3935
3936 [BZ #15424]
3937 * benchtests/bench-modf.c (struct args): Mark arg0 as
3938 volatile.
3939 * scripts/bench.pl: Mark members of struct args as volatile.
3940
13d3b41a
AZ
39412013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3942
68191c1d 3943 [BZ # 15497]
13d3b41a
AZ
3944 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3945 negative infinity on POWER6 or lower.
3946 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3947
2848b105
MR
39482013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3949
3950 [BZ #15442]
3951 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3952 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3953 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3954 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3955 (_FP_SETQNAN): New macro.
3956 (_FP_SETQNAN_SEMIRAW): Likewise.
3957 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3958 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3959 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3960 (FP_EXTEND): Use _FP_FRAC_SNANP.
3961 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3962 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3963 into account.
3964 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3965 New macro.
3966 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3967 Likewise.
3968
323e5cb7
JM
39692013-05-16 Joseph Myers <joseph@codesourcery.com>
3970
c58b274f
JM
3971 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3972 with DIVIDE_BY_ZERO_EXCEPTION.
3973 (gamma_test_data): Likewise.
3974 (lgamma_test_data): Likewise.
3975 (log_test_data): Likewise.
3976 (log10_test_data): Likewise.
3977 (log2_test_data): Likewise.
3978 (tgamma_test_data): Likewise.
3979
0ab34904
JM
3980 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3981 (acos_test_tonearest): Likewise.
3982 (acos_test_towardzero): Likewise.
3983 (acos_test_downward): Likewise.
3984 (acos_test_upward): Likewise.
3985 (acosh_test): Likewise.
3986 (asin_test): Likewise.
3987 (asin_test_tonearest): Likewise.
3988 (asin_test_towardzero): Likewise.
3989 (asin_test_downward): Likewise.
3990 (asin_test_upward): Likewise.
3991 (asinh_test): Likewise.
3992 (atan_test): Likewise.
3993 (atanh_test): Likewise.
3994 (atan2_test): Likewise.
3995 (cabs_test): Likewise.
3996 (cacos_test): Likewise.
3997 (cacosh_test): Likewise.
3998 (casin_test): Likewise.
3999 (casinh_test): Likewise.
4000 (catan_test): Likewise.
4001 (catanh_test): Likewise.
4002 (cbrt_test): Likewise.
4003 (ccos_test): Likewise.
4004 (ccosh_test): Likewise.
4005 (cexp_test): Likewise.
4006 (clog_test): Likewise.
4007 (clog10_test): Likewise.
4008 (cos_test): Likewise.
4009 (cos_test_tonearest): Likewise.
4010 (cos_test_towardzero): Likewise.
4011 (cos_test_downward): Likewise.
4012 (cos_test_upward): Likewise.
4013 (cosh_test): Likewise.
4014 (cosh_test_tonearest): Likewise.
4015 (cosh_test_towardzero): Likewise.
4016 (cosh_test_downward): Likewise.
4017 (cosh_test_upward): Likewise.
4018 (cpow_test): Likewise.
4019 (csin_test): Likewise.
4020 (csinh_test): Likewise.
4021 (csqrt_test): Likewise.
4022 (ctan_test): Likewise.
4023 (ctan_test_tonearest): Likewise.
4024 (ctan_test_towardzero): Likewise.
4025 (ctan_test_downward): Likewise.
4026 (ctan_test_upward): Likewise.
4027 (ctanh_test): Likewise.
4028 (ctanh_test_tonearest): Likewise.
4029 (ctanh_test_towardzero): Likewise.
4030 (ctanh_test_downward): Likewise.
4031 (ctanh_test_upward): Likewise.
4032 (erf_test): Likewise.
4033 (erfc_test): Likewise.
4034 (exp_test): Likewise.
4035 (exp_test_tonearest): Likewise.
4036 (exp_test_towardzero): Likewise.
4037 (exp_test_downward): Likewise.
4038 (exp_test_upward): Likewise.
4039 (exp10_test): Likewise.
4040 (exp2_test): Likewise.
4041 (expm1_test): Likewise.
4042 (fmod_test): Likewise.
4043 (gamma_test): Likewise.
4044 (hypot_test): Likewise.
4045 (j0_test): Likewise.
4046 (j1_test): Likewise.
4047 (jn_test): Likewise.
4048 (lgamma_test): Likewise.
4049 (log_test): Likewise.
4050 (log10_test): Likewise.
4051 (log1p_test): Likewise.
4052 (log2_test): Likewise.
4053 (logb_test_downward): Likewise.
4054 (pow_test): Likewise.
4055 (pow_test_tonearest): Likewise.
4056 (pow_test_towardzero): Likewise.
4057 (pow_test_downward): Likewise.
4058 (pow_test_upward): Likewise.
4059 (remainder_test): Likewise.
4060 (remquo_test): Likewise.
4061 (sin_test): Likewise.
4062 (sin_test_tonearest): Likewise.
4063 (sin_test_towardzero): Likewise.
4064 (sin_test_downward): Likewise.
4065 (sin_test_upward): Likewise.
4066 (sincos_test): Likewise.
4067 (sinh_test): Likewise.
4068 (sinh_test_tonearest): Likewise.
4069 (sinh_test_towardzero): Likewise.
4070 (sinh_test_downward): Likewise.
4071 (sinh_test_upward): Likewise.
4072 (sqrt_test): Likewise.
4073 (tan_test): Likewise.
4074 (tan_test_tonearest): Likewise.
4075 (tan_test_towardzero): Likewise.
4076 (tan_test_downward): Likewise.
4077 (tan_test_upward): Likewise.
4078 (tanh_test): Likewise.
4079 (tgamma_test): Likewise.
4080 (y0_test): Likewise.
4081 (y1_test): Likewise.
4082 (yn_test): Likewise.
4083
323e5cb7
JM
4084 * math/gen-libm-test.pl (adjust_arg): Remove function.
4085 (special_function): Remove argument $in_func. Only handle
4086 generating output for tables of tests, not inside functions.
4087 (parse_args): Likewise.
4088 (generate_testfile): Remove variable $in_func. Update call to
4089 parse_args.
4090 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4091 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4092 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4093 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4094 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4095 (MAX_VALUE_INIT): Rename macro to max_value.
4096 (MIN_VALUE_INIT): Rename macro to min_value.
4097 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4098 (plus_zero): Remove variable.
4099 (minus_zero): Likewise.
4100 (plus_infty): Likewise.
4101 (minus_infty): Likewise.
4102 (qnan_value): Likewise.
4103 (max_value): Likewise.
4104 (min_value): Likewise.
4105 (min_subnorm_value): Likewise.
4106
e054f494
RA
41072013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4108
4109 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4110 uint64_t or uint32_t usage.
4111 * crypt/sha256-block.c: Likewise.
4112 * crypt/sha256-crypt.c: Likewise.
4113 * crypt/sha256.c: Likewise.
4114 * crypt/sha512-block.c: Likewise.
4115 * crypt/sha512-crypt.c: Likewise.
4116 * crypt/sha512.c: Likewise.
4117 * debug/backtrace-tst.c: Likewise.
4118 * debug/pcprofiledump.c: Likewise.
4119 * elf/cache.c: Likewise.
4120 * elf/dl-cache.c: Likewise.
4121 * elf/dl-misc.c: Likewise.
4122 * elf/dl-profile.c: Likewise.
4123 * elf/dl-support.c: Likewise.
4124 * elf/ldconfig.c: Likewise.
4125 * elf/sprof.c: Likewise.
4126 * iconv/dummy-repertoire.c: Likewise.
4127 * iconv/iconv_charmap.c: Likewise.
4128 * iconv/skeleton.c: Likewise.
4129 * iconvdata/8bit-generic.c: Likewise.
4130 * iconvdata/cp737.h: Likewise.
4131 * iconvdata/cp775.h: Likewise.
4132 * iconvdata/ibm1008.h: Likewise.
4133 * iconvdata/ibm1025.h: Likewise.
4134 * iconvdata/ibm1046.h: Likewise.
4135 * iconvdata/ibm1097.h: Likewise.
4136 * iconvdata/ibm1112.h: Likewise.
4137 * iconvdata/ibm1122.h: Likewise.
4138 * iconvdata/ibm1123.h: Likewise.
4139 * iconvdata/ibm1124.h: Likewise.
4140 * iconvdata/ibm1129.h: Likewise.
4141 * iconvdata/ibm1130.h: Likewise.
4142 * iconvdata/ibm1132.h: Likewise.
4143 * iconvdata/ibm1133.h: Likewise.
4144 * iconvdata/ibm1137.h: Likewise.
4145 * iconvdata/ibm1140.h: Likewise.
4146 * iconvdata/ibm1141.h: Likewise.
4147 * iconvdata/ibm1142.h: Likewise.
4148 * iconvdata/ibm1143.h: Likewise.
4149 * iconvdata/ibm1144.h: Likewise.
4150 * iconvdata/ibm1145.h: Likewise.
4151 * iconvdata/ibm1146.h: Likewise.
4152 * iconvdata/ibm1147.h: Likewise.
4153 * iconvdata/ibm1148.h: Likewise.
4154 * iconvdata/ibm1149.h: Likewise.
4155 * iconvdata/ibm1153.h: Likewise.
4156 * iconvdata/ibm1154.h: Likewise.
4157 * iconvdata/ibm1155.h: Likewise.
4158 * iconvdata/ibm1156.h: Likewise.
4159 * iconvdata/ibm1157.h: Likewise.
4160 * iconvdata/ibm1158.h: Likewise.
4161 * iconvdata/ibm1160.h: Likewise.
4162 * iconvdata/ibm1161.h: Likewise.
4163 * iconvdata/ibm1162.h: Likewise.
4164 * iconvdata/ibm1163.h: Likewise.
4165 * iconvdata/ibm1164.h: Likewise.
4166 * iconvdata/ibm1166.h: Likewise.
4167 * iconvdata/ibm1167.h: Likewise.
4168 * iconvdata/ibm12712.h: Likewise.
4169 * iconvdata/ibm1390.h: Likewise.
4170 * iconvdata/ibm1399.h: Likewise.
4171 * iconvdata/ibm16804.h: Likewise.
4172 * iconvdata/ibm4517.h: Likewise.
4173 * iconvdata/ibm4899.h: Likewise.
4174 * iconvdata/ibm4909.h: Likewise.
4175 * iconvdata/ibm4971.h: Likewise.
4176 * iconvdata/ibm5347.h: Likewise.
4177 * iconvdata/ibm803.h: Likewise.
4178 * iconvdata/ibm856.h: Likewise.
4179 * iconvdata/ibm901.h: Likewise.
4180 * iconvdata/ibm902.h: Likewise.
4181 * iconvdata/ibm9030.h: Likewise.
4182 * iconvdata/ibm9066.h: Likewise.
4183 * iconvdata/ibm921.h: Likewise.
4184 * iconvdata/ibm922.h: Likewise.
4185 * iconvdata/ibm9448.h: Likewise.
4186 * iconvdata/isiri-3342.h: Likewise.
4187 * iconvdata/jis0201.h: Likewise.
4188 * include/link.h: Likewise.
4189 * include/netdb.h: Likewise.
4190 * inet/check_native.c: Likewise.
4191 * inet/check_pf.c: Likewise.
4192 * inet/getipv4sourcefilter.c: Likewise.
4193 * inet/getnameinfo.c: Likewise.
4194 * inet/getsourcefilter.c: Likewise.
4195 * inet/htonl.c: Likewise.
4196 * inet/setipv4sourcefilter.c: Likewise.
4197 * inet/setsourcefilter.c: Likewise.
4198 * inet/test-inet6_opt.c: Likewise.
4199 * inet/tst-network.c: Likewise.
4200 * locale/C-collate.c: Likewise.
4201 * locale/C-ctype.c: Likewise.
4202 * locale/C-time.c: Likewise.
4203 * locale/C-translit.h: Likewise.
4204 * locale/loadarchive.c: Likewise.
4205 * locale/programs/3level.h: Likewise.
4206 * locale/programs/charmap.c: Likewise.
4207 * locale/programs/charmap.h: Likewise.
4208 * locale/programs/ld-address.c: Likewise.
4209 * locale/programs/ld-collate.c: Likewise.
4210 * locale/programs/ld-ctype.c: Likewise.
4211 * locale/programs/ld-identification.c: Likewise.
4212 * locale/programs/ld-measurement.c: Likewise.
4213 * locale/programs/ld-messages.c: Likewise.
4214 * locale/programs/ld-monetary.c: Likewise.
4215 * locale/programs/ld-name.c: Likewise.
4216 * locale/programs/ld-numeric.c: Likewise.
4217 * locale/programs/ld-paper.c: Likewise.
4218 * locale/programs/ld-telephone.c: Likewise.
4219 * locale/programs/ld-time.c: Likewise.
4220 * locale/programs/linereader.c: Likewise.
4221 * locale/programs/locale.c: Likewise.
4222 * locale/programs/locarchive.c: Likewise.
4223 * locale/programs/locfile.h: Likewise.
4224 * locale/programs/repertoire.c: Likewise.
4225 * locale/programs/simple-hash.c: Likewise.
4226 * locale/programs/simple-hash.h: Likewise.
4227 * malloc/memusage.c: Likewise.
4228 * malloc/memusagestat.c: Likewise.
4229 * nis/nis_defaults.c: Likewise.
4230 * nis/nis_hash.c: Likewise.
4231 * nis/nis_print.c: Likewise.
4232 * nis/nis_xdr.c: Likewise.
4233 * nscd/connections.c: Likewise.
4234 * nscd/hstcache.c: Likewise.
4235 * nscd/nscd_gethst_r.c: Likewise.
4236 * nscd/nscd_getserv_r.c: Likewise.
4237 * nscd/nscd_helper.c: Likewise.
4238 * nscd/servicescache.c: Likewise.
4239 * nss/makedb.c: Likewise.
4240 * nss/nss_db/db-XXX.c: Likewise.
4241 * nss/nss_db/db-initgroups.c: Likewise.
4242 * nss/nss_db/db-netgrp.c: Likewise.
4243 * nss/nss_files/files-network.c: Likewise.
4244 * nss/nss_files/files-parse.c: Likewise.
4245 * posix/bug-regex5.c: Likewise.
4246 * posix/fnmatch_loop.c: Likewise.
4247 * posix/regcomp.c: Likewise.
4248 * posix/regexec.c: Likewise.
4249 * posix/tst-rfc3484-2.c: Likewise.
4250 * posix/tst-rfc3484-3.c: Likewise.
4251 * posix/tst-rfc3484.c: Likewise.
4252 * resolv/nss_dns/dns-canon.c: Likewise.
4253 * resolv/nss_dns/dns-network.c: Likewise.
4254 * resolv/res_init.c: Likewise.
4255 * resolv/res_mkquery.c: Likewise.
4256 * resolv/tst-aton.c: Likewise.
4257 * stdlib/cxa_atexit.c: Likewise.
4258 * stdlib/cxa_finalize.c: Likewise.
4259 * stdlib/gen-fpioconst.c: Likewise.
4260 * stdlib/strtol_l.c: Likewise.
4261 * string/tst-endian.c: Likewise.
4262 * sunrpc/auth_des.c: Likewise.
4263 * sunrpc/clnt_udp.c: Likewise.
4264 * sunrpc/rtime.c: Likewise.
4265 * sunrpc/svcauth_des.c: Likewise.
4266 * sunrpc/xdr.c: Likewise.
4267 * sunrpc/xdr_intXX_t.c: Likewise.
4268 * sunrpc/xdr_rec.c: Likewise.
4269 * sysdeps/generic/ldconfig.h: Likewise.
4270 * sysdeps/generic/ldsodefs.h: Likewise.
4271 * sysdeps/generic/memusage.h: Likewise.
4272 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4273 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4274 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4275 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4276 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4277 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4278 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4279 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4280 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4281 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4282 * sysdeps/posix/getaddrinfo.c: Likewise.
4283 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4284 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4285 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4286 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4287 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4288 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4289 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4290 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4291 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4292 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4293 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4294 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4295 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4296 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4297 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4298 * sysdeps/x86_64/dl-tls.h: Likewise.
4299 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4300 * time/alt_digit.c: Likewise.
4301 * time/era.c: Likewise.
4302 * wcsmbs/tst-c16c32-1.c: Likewise.
4303
8c75f674
JM
43042013-05-16 Joseph Myers <joseph@codesourcery.com>
4305
4306 * math/libm-test.inc (struct test_sincos_data): New type.
4307 (RUN_TEST_LOOP_sincos): New macro.
4308 (sincos_test_data): New variable.
4309 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4310
e6e49e59
RH
43112013-05-16 Richard Henderson <rth@redhat.com>
4312
4313 * math/atest-exp2.c (LIMB64): New macro.
4314 (CONSTSZ): New macro.
4315 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4316 (hexdig): Move ...
4317 (print_mpn_fp): ... to function scope.
4318 (read_mpn_hex): Remove.
4319 (get_log2): Remove.
4320 (exp2_mpn): Use mp_log2.
4321 (main): Use mp_exp1.
4322
15c7c18d
JM
43232013-05-16 Joseph Myers <joseph@codesourcery.com>
4324
105a07df
JM
4325 * math/libm-test.inc: Remove comment about not testing "inexact"
4326 exceptions.
4327 (INEXACT_EXCEPTION): New macro.
4328 (NO_INEXACT_EXCEPTION): Likewise.
4329 (INVALID_EXCEPTION_OK): Update value.
4330 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4331 (OVERFLOW_EXCEPTION_OK): Likewise.
4332 (UNDERFLOW_EXCEPTION_OK): Likewise.
4333 (IGNORE_ZERO_INF_SIGN): Likewise.
4334 (ERRNO_UNCHANGED): Likewise.
4335 (ERRNO_EDOM): Likewise.
4336 (ERRNO_ERANGE): Likewise.
4337 (test_exceptions): Handle testing "inexact" exceptions.
4338 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4339 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4340 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4341 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4342 INEXACT_EXCEPTION.
4343 (rint_towardzero_test_data): Likewise.
4344 (rint_downward_test_data): Likewise.
4345 (rint_upward_test_data): Likewise.
4346
e9eee333
JM
4347 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4348 with OVERFLOW_EXCEPTION.
4349 (exp10_test_data): Likewise.
4350 (exp2_test_data): Likewise.
4351 (expm1_test_data): Likewise.
4352 (lgamma_test_data): Likewise.
4353 (pow_test_data): Likewise.
4354 (tgamma_test_data): Likewise.
4355 (yn_test_data): Remove duplicate test of overflow.
4356
1c38ff73
JM
4357 * math/libm-test.inc (struct test_cc_c_data): New type.
4358 (RUN_TEST_LOOP_cc_c): New macro.
4359 (cpow_test_data): New variable.
4360 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4361
15c7c18d
JM
4362 * math/libm-test.inc (struct test_f_L_data): New type.
4363 (RUN_TEST_LOOP_f_L): New macro.
4364 (llrint_test_data): New variable.
4365 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4366 (llrint_tonearest_test_data): New variable.
4367 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4368 (llrint_towardzero_test_data): New variable.
4369 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4370 (llrint_downward_test_data): New variable.
4371 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4372 (llrint_upward_test_data): New variable.
4373 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4374 (llround_test_data): New variable.
4375 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4376
f137ff13
PC
43772013-05-13 Peter Collingbourne <pcc@google.com>
4378
4379 * math/atest-exp2.c (get_log2): Remove const attribute.
4380
3608cb24
JM
43812013-05-15 Joseph Myers <joseph@codesourcery.com>
4382
4383 * math/libm-test.inc (struct test_f_l_data): New type.
4384 (RUN_TEST_LOOP_f_l): New macro.
4385 (lrint_test_data): New variable.
4386 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4387 (lrint_tonearest_test_data): New variable.
4388 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4389 (lrint_towardzero_test_data): New variable.
4390 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4391 (lrint_downward_test_data): New variable.
4392 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4393 (lrint_upward_test_data): New variable.
4394 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4395 (lround_test_data): New variable.
4396 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4397
39b1f617
PC
43982013-05-15 Peter Collingbourne <pcc@google.com>
4399
1deff3dc
PC
4400 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4401 (EXTRACT_WORDS64) Use where appropriate.
4402 (INSERT_WORDS64) Likewise.
4403
791f3ba0
PC
4404 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4405 constraints with x constraints.
4406 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4407
39b1f617
PC
4408 * malloc/obstack.c (_obstack_compat): Add initializer.
4409
12fba011
EM
44102013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4411
4412 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4413 si_trapno and add si_addr_lsb to _sifields.sigfault.
4414 (si_trapno): Remove macro.
4415 (si_addr_lsb): Define new macro.
4416 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4417
d369f531
JM
44182013-05-15 Joseph Myers <joseph@codesourcery.com>
4419
b861c6c4
JM
4420 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4421 instead of TEST_f_l.
4422 (llrint_test_tonearest): Likewise.
4423 (llrint_test_towardzero): Likewise.
4424 (llrint_test_downward): Likewise.
4425 (llrint_test_upward): Likewise.
4426 (llround_test): Likewise.
4427
7abeee12
JM
4428 * math/libm-test.inc (struct test_f_i_data): Add comment.
4429 (RUN_TEST_LOOP_f_b): New macro.
4430 (RUN_TEST_LOOP_f_b_tg): Likewise.
4431 (finite_test_data): New variable.
4432 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4433 (isfinite_test_data): New variable.
4434 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4435 (isinf_test_data): New variable.
4436 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4437 (isnan_test_data): New variable.
4438 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4439 (isnormal_test_data): New variable.
4440 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4441 (issignaling_test_data): New variable.
4442 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4443 (signbit_test_data): New variable.
4444 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4445
cbe8c4d3
JM
4446 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4447 with INVALID_EXCEPTION.
4448 (acosh_test_data): Likewise.
4449 (asin_test_data): Likewise.
4450 (atanh_test_data): Likewise.
4451 (fmod_test_data): Likewise.
4452 (log_test_data): Likewise.
4453 (log10_test_data): Likewise.
4454 (log2_test_data): Likewise.
4455 (pow_test_data): Likewise.
4456 (sqrt_test_data): Likewise.
4457 (y0_test_data): Likewise.
4458 (y1_test_data): Likewise.
4459 (yn_test_data): Likewise.
4460
5575c0e5
JM
4461 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4462 function contents.
4463
d369f531
JM
4464 * math/libm-test.inc (struct test_ff_i_data): New type.
4465 (RUN_TEST_LOOP_ff_i_tg): New macro.
4466 (isgreater_test_data): New variable.
4467 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4468 (isgreaterequal_test_data): New variable.
4469 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4470 (isless_test_data): New variable.
4471 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4472 (islessequal_test_data): New variable.
4473 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4474 (islessgreater_test_data): New variable.
4475 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4476 (isunordered_test_data): New variable.
4477 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4478
781fd748
DM
44792013-05-14 David S. Miller <davem@davemloft.net>
4480
4481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4482
87aa21df
JM
44832013-05-14 Joseph Myers <joseph@codesourcery.com>
4484
5e908270
JM
4485 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4486
f71172e5
JM
4487 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4488 extra_test to int.
4489 (struct test_f_i_data): Change type of max_ulp to int.
4490
8cfa635a
JM
4491 * math/libm-test.inc (test_ffI_f1_data): New type.
4492 (RUN_TEST_LOOP_ffI_f1): New macro.
4493 (remquo_test_data): New variable.
4494 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4495
2bcb36b2
JM
4496 * setjmp/tst-setjmp-fp.c: New file.
4497 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4498 (link-libm): New variable.
4499 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4500
acbd839a
JM
4501 * math/libm-test.inc (struct test_f_i_data): New type.
4502 (RUN_TEST_LOOP_f_i): New macro.
4503 (RUN_TEST_LOOP_f_i_tg): Likewise.
4504 (fpclassify_test_data): New variable.
4505 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4506 (ilogb_test_data): New variable.
4507 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4508
e414d745
JM
4509 * math/libm-test.inc (scalbln_test): Correct function name in END
4510 call.
4511
d9c2a0fd
JM
4512 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4513 (RUN_TEST_LOOP_fI_f1): New macro.
4514 (frexp_test_data): New variable.
4515 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4516
9dc9095d
JM
4517 * math/libm-test.inc (struct test_fF_f1_data): New type.
4518 (RUN_TEST_LOOP_fF_f1): New macro.
4519 (modf_test_data): New variable.
4520 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4521
87aa21df
JM
4522 * math/libm-test.inc (struct test_f_f1_data): New type.
4523 (RUN_TEST_LOOP_f_f1): New macro.
4524 (gamma_test_data): New variable.
4525 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4526 (lgamma_test_data): New variable.
4527 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4528
141af660
CD
45292013-05-13 Carlos O'Donell <carlos@redhat.com>
4530
4531 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4532 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4533 (main): Comment "tls" pseudo-hwcap.
4534
6d33265c
JM
45352013-05-13 Joseph Myers <joseph@codesourcery.com>
4536
68fc074c
JM
4537 * math/libm-test.inc (struct test_fl_f_data): New type.
4538 (RUN_TEST_LOOP_fl_f): New variable.
4539 (scalbln_test_data): New variable.
4540 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4541
243216e1
JM
4542 * math/libm-test.inc (struct test_fi_f_data): New type.
4543 (RUN_TEST_LOOP_fi_f): New macro.
4544 (ldexp_test_data): New variable.
4545 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4546 (scalbn_test_data): New variable.
4547 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4548
6a1992e2
JM
4549 * math/libm-test.inc (struct test_c_f_data): New type.
4550 (RUN_TEST_LOOP_c_f): New macro.
4551 (cabs_test_data): New variable.
4552 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4553 (carg_test_data): New variable.
4554 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4555 (cimag_test_data): New variable.
4556 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4557 (creal_test_data): New variable.
4558 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4559
0e400df5
JM
4560 * math/libm-test.inc (struct test_if_f_data): New type.
4561 (RUN_TEST_LOOP_if_f): New macro.
4562 (jn_test_data): New variable.
4563 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4564 (yn_test_data): New variable.
4565 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4566
6d33265c
JM
4567 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4568
f98ece5f
AZ
45692013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4570
4571 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4572 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4573
0f7d347b
SP
45742013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4575
43fe811b
SP
4576 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4577 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4578 (bench-deps): Add bench-timing.h.
4579 * benchtests-bench-skeleton.c: Include bench-timing.h.
4580 (main): Use TIMING_* macros instead of clock_gettime.
4581 * benchtests/bench-timing.h: New file.
4582
0f7d347b
SP
4583 [BZ #14582]
4584 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4585 Renamed from _LIB_VERSION.
4586 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4587
601a3a5f
JM
45882013-05-12 Joseph Myers <joseph@codesourcery.com>
4589
4f184d30
JM
4590 * math/libm-test.inc (struct test_fff_f_data): New type.
4591 (RUN_TEST_LOOP_fff_f): New macro.
4592 (fma_test_data): New variable.
4593 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4594 (fma_towardzero_test_data): New variable.
4595 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4596 (fma_downward_test_data): New variable.
4597 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4598 (fma_upward_test_data): New variable.
4599 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4600
08198877
JM
4601 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4602 (struct test_c_c_data): New type.
4603 (RUN_TEST_LOOP_c_c): New macro.
4604 (cacos_test_data): New variable.
4605 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4606 (cacosh_test_data): New variable.
4607 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4608 (casin_test_data): New variable.
4609 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4610 (casinh_test_data): New variable.
4611 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4612 (catan_test_data): New variable.
4613 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4614 (catanh_test_data): New variable.
4615 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4616 (ccos_test_data): New variable.
4617 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4618 (ccosh_test_data): New variable.
4619 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4620 (cexp_test_data): New variable.
4621 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4622 (clog_test_data): New variable.
4623 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4624 (clog10_test_data): New variable.
4625 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4626 (conj_test_data): New variable.
4627 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4628 (cproj_test_data): New variable.
4629 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4630 (csin_test_data): New variable.
4631 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4632 (csinh_test_data): New variable.
4633 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4634 (csqrt_test_data): New variable.
4635 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4636 (ctan_test_data): New variable.
4637 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4638 (ctan_tonearest_test_data): New variable.
4639 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4640 (ctan_towardzero_test_data): New variable.
4641 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4642 (ctan_downward_test_data): New variable.
4643 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4644 (ctan_upward_test_data): New variable.
4645 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4646 (ctanh_test_data): New variable.
4647 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4648 (ctanh_tonearest_test_data): New variable.
4649 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4650 (ctanh_towardzero_test_data): New variable.
4651 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4652 (ctanh_downward_test_data): New variable.
4653 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4654 (ctanh_upward_test_data): New variable.
4655 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4656 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4657 of BUILD_COMPLEX.
4658
601a3a5f
JM
4659 * math/libm-test.inc (struct test_ff_f_data): New type.
4660 (struct test_ff_f_data_nexttoward): Likewise.
4661 (RUN_TEST_LOOP_2_f): New macro.
4662 (RUN_TEST_LOOP_ff_f): Likewise.
4663 (atan2_test_data): New variable.
4664 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4665 (copysign_test_data): New variable.
4666 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4667 (fdim_test_data): New variable.
4668 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4669 (fmax_test_data): New variable.
4670 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4671 (fmin_test_data): New variable.
4672 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4673 (fmod_test_data): New variable.
4674 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4675 (hypot_test_data): New variable.
4676 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4677 (nextafter_test_data): New variable.
4678 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4679 (nexttoward_test_data): New variable.
4680 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4681 (pow_test_data): New variable.
4682 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4683 (pow_tonearest_test_data): New variable.
4684 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4685 (pow_towardzero_test_data): New variable.
4686 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4687 (pow_downward_test_data): New variable.
4688 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4689 (pow_upward_test_data): New variable.
4690 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4691 (remainder_test_data): New variable.
4692 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4693 (scalb_test_data): New variable.
4694 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4695 * sysdeps/i386/fpu/libm-test-ulps: Update.
4696
74c57478
JM
46972013-05-11 Joseph Myers <joseph@codesourcery.com>
4698
8329e4da
JM
4699 * math/libm-test.inc (fma_test): Use max_value instead of local
4700 variable fltmax.
4701 (nextafter_test): Likewise.
4702
74c57478
JM
4703 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4704 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4705 (acos_downward_test_data): New variable.
4706 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4707 (acos_upward_test_data): New variable.
4708 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4709 (acosh_test_data): New variable.
4710 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4711 (asin_test_data): New variable.
4712 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4713 (asin_tonearest_test_data): New variable.
4714 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4715 (asin_towardzero_test_data): New variable.
4716 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4717 (asin_downward_test_data): New variable.
4718 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4719 (asin_upward_test_data): New variable.
4720 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4721 (asinh_test_data): New variable.
4722 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4723 (atan_test_data): New variable.
4724 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4725 (atanh_test_data): New variable.
4726 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4727 (cbrt_test_data): New variable.
4728 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4729 (ceil_test_data): New variable.
4730 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4731 (cos_test_data): New variable.
4732 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4733 (cos_tonearest_test_data): New variable.
4734 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4735 (cos_towardzero_test_data): New variable.
4736 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4737 (cos_downward_test_data): New variable.
4738 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4739 (cos_upward_test_data): New variable.
4740 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4741 (cosh_test_data): New variable.
4742 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4743 (cosh_tonearest_test_data): New variable.
4744 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4745 (cosh_towardzero_test_data): New variable.
4746 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4747 (cosh_downward_test_data): New variable.
4748 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4749 (cosh_upward_test_data): New variable.
4750 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4751 (erf_test_data): New variable.
4752 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4753 (erfc_test_data): New variable.
4754 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4755 (exp_test_data): New variable.
4756 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4757 (exp_tonearest_test_data): New variable.
4758 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4759 (exp_towardzero_test_data): New variable.
4760 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4761 (exp_downward_test_data): New variable.
4762 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4763 (exp_upward_test_data): New variable.
4764 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4765 (exp10_test_data): New variable.
4766 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4767 (exp2_test_data): New variable.
4768 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4769 (expm1_test_data): New variable.
4770 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4771 (fabs_test_data): New variable.
4772 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4773 (floor_test_data): New variable.
4774 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4775 (j0_test_data): New variable.
4776 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4777 (j1_test_data): New variable.
4778 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4779 (log_test_data): New variable.
4780 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4781 (log10_test_data): New variable.
4782 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4783 (log1p_test_data): New variable.
4784 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4785 (log2_test_data): New variable.
4786 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4787 (logb_test_data): New variable.
4788 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4789 (logb_downward_test_data): New variable.
4790 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4791 (nearbyint_test_data): New variable.
4792 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4793 (rint_test_data): New variable.
4794 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4795 (rint_tonearest_test_data): New variable.
4796 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4797 (rint_towardzero_test_data): New variable.
4798 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4799 (rint_downward_test_data): New variable.
4800 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4801 (rint_upward_test_data): New variable.
4802 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4803 (round_test_data): New variable.
4804 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4805 (sin_test_data): New variable.
4806 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4807 (sin_tonearest_test_data): New variable.
4808 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4809 (sin_towardzero_test_data): New variable.
4810 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4811 (sin_downward_test_data): New variable.
4812 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4813 (sin_upward_test_data): New variable.
4814 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4815 (sinh_test_data): New variable.
4816 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4817 (sinh_tonearest_test_data): New variable.
4818 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4819 (sinh_towardzero_test_data): New variable.
4820 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4821 (sinh_downward_test_data): New variable.
4822 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4823 (sinh_upward_test_data): New variable.
4824 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4825 (sqrt_test_data): New variable.
4826 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4827 (tan_test_data): New variable.
4828 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4829 (tan_tonearest_test_data): New variable.
4830 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4831 (tan_towardzero_test_data): New variable.
4832 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4833 (tan_downward_test_data): New variable.
4834 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4835 (tan_upward_test_data): New variable.
4836 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4837 (tanh_test_data): New variable.
4838 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4839 (tgamma_test_data): New variable.
4840 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4841 (trunc_test_data): New variable.
4842 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4843 (y0_test_data): New variable.
4844 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4845 (y1_test_data): New variable.
4846 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4847 (significand_test_data): New variable.
4848 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4849
7187d844
CG
48502013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4851
4852 [BZ #12387]
4853 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4854
f63fae73
PT
48552013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4856
4857 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4858
8a67a4b3
AJ
48592013-05-10 Andreas Jaeger <aj@suse.de>
4860
4861 [BZ #15448]
4862 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4863 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4864
51df539d
JM
48652013-05-10 Joseph Myers <joseph@codesourcery.com>
4866
4867 * math/gen-libm-test.pl (adjust_arg): New function.
4868 (special_functions): Handle generating output in both functions
4869 and arrays.
4870 (parse_args): Likewise.
4871 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4872 $in_func argument to parse_args.
4873 * math/libm-test.inc (struct test_f_f_data): New type.
4874 (IF_ROUND_INIT_): New macro.
4875 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4876 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4877 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4878 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4879 (ROUND_RESTORE_): Likewise.
4880 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4881 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4882 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4883 (ROUND_RESTORE_FE_UPWARD): Likewise.
4884 (RUN_TEST_LOOP_f_f): New macro.
4885 (acos_test_data): New variable.
4886 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4887 (acos_tonearest_test_data): New variable.
4888 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4889
5c637fe5
SP
48902013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4891
4892 * benchtests/bench-skeleton.c (startup): Fix coding style.
4893
ab2b9461
JM
48942013-05-10 Joseph Myers <joseph@codesourcery.com>
4895
4896 [BZ #6809]
4897 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4898 negative infinity argument.
4899 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4900 negative infinity argument.
4901 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4902 negative infinity argument.
4903 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4904 domain errors.
4905
4c0fe6fe
FW
49062013-05-10 Florian Weimer <fweimer@redhat.com>
4907
4908 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4909 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4910 * iconv/iconv_prog.c (main): Likewise.
4911 * locale/programs/charmap-dir.c (charmap_readdir)
4912 (fopen_uncompressed): Likewise.
4913 * locale/programs/locfile.c (siblings_uncached)
4914 (write_locale_data): Use lstat64 instead of lstat.
4915 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4916 stat.
4917
a3375d29
AJ
49182013-05-10 Andreas Jaeger <aj@suse.de>
4919
4920 [BZ #15395]
4921 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4922 localization.
4923 Include <locale.h>.
4924
36129722
CD
49252013-05-09 Carlos O'Donell <carlos@redhat.com>
4926
4927 * elf/dl-close.c (_dl_close_worker): Add comments.
4928
faa7f811
JM
49292013-05-09 Joseph Myers <joseph@codesourcery.com>
4930
ed41ffef
JM
4931 [BZ #15359]
4932 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4933 high part of pi/2.
4934 (__ieee754_rem_pio2l): Update comments.
4935
d0213cd0
JM
4936 [BZ #15429]
4937 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4938 high part of pi/2.
4939 (__ieee754_rem_pio2l): Update comments.
4940
0d3e777a
JM
4941 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4942 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4943
24f56066
JM
4944 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4945 M_PI_4l.
4946
faa7f811
JM
4947 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4948 (M_PI_34_LOG10El): Likewise.
4949 (M_PI2_LOG10El): Likewise.
4950 (M_PI4_LOG10El): Likewise.
4951 (M_PI_LOG10El): Likewise.
4952
e9a5e0fd
AZ
49532013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4954
4955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4956
d8cd06db
JM
49572013-05-08 Joseph Myers <joseph@codesourcery.com>
4958
a0d9f9d7
JM
4959 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4960 (MINUS_ZERO_INIT): Likewise.
4961 (PLUS_INFTY_INIT): Likewise.
4962 (MINUS_INFTY_INIT): Likewise.
4963 (QNAN_VALUE_INIT): Likewise.
4964 (MAX_VALUE_INIT): Likewise.
4965 (MIN_VALUE_INIT): Likewise.
4966 (MIN_SUBNORM_VALUE_INIT): Likewise.
4967 (plus_zero): Initialize with PLUS_ZERO_INIT.
4968 (minus_zero): Initialize with MINUS_ZERO_INIT.
4969 (plus_infty): Initialize with PLUS_INFTY_INIT.
4970 (minus_infty): Initialize with MINUS_INFTY_INIT.
4971 (qnan_value): Initialize with QNAN_VALUE_INIT.
4972 (max_value): Initialize with MAX_VALUE_INIT.
4973 (min_value): Initialize with MIN_VALUE_INIT.
4974 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4975
ae08db3b
JM
4976 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4977 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4978 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4979 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4980
f44bf14a
JM
4981 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4982 (RUN_TEST_2_f): Likewise.
4983 (RUN_TEST_ff_f): Likewise.
4984 (RUN_TEST_fi_f): Likewise.
4985 (RUN_TEST_fl_f): Likewise.
4986 (RUN_TEST_fff_f): Likewise.
4987 (RUN_TEST_c_f): Likewise.
4988 (RUN_TEST_f_f1): Likewise.
4989 (RUN_TEST_fF_f1): Likewise.
4990 (RUN_TEST_fI_f1): Likewise.
4991 (RUN_TEST_ffI_f1): Likewise.
4992 (RUN_TEST_c_c): Likewise.
4993 (RUN_TEST_cc_c): Likewise.
4994 (RUN_TEST_f_i): Likewise.
4995 (RUN_TEST_f_i_tg): Likewise.
4996 (RUN_TEST_ff_i_tg): Likewise.
4997 (RUN_TEST_f_b): Likewise.
4998 (RUN_TEST_f_b_tg): Likewise.
4999 (RUN_TEST_f_l): Likewise.
5000 (RUN_TEST_f_L): Likewise.
5001 (RUN_TEST_sincos): Likewise.
5002 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5003 whether to show exceptions. Do not include ");\n" in return
5004 value.
5005 (special_functions): Output call to RUN_TEST_sincos instead of
5006 check_float calls. Update calls to new_test.
5007 (parse_args): Output call to single RUN_TEST_* macro instead of
5008 check_* calls and other assignments. Update calls to new_test.
5009
d8cd06db
JM
5010 [BZ #2546]
5011 [BZ #2560]
5012 [BZ #5159]
5013 [BZ #15426]
5014 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5015 input to result for tgamma overflow.
5016 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5017 (gamma_coeff): New variable.
5018 (NCOEFF): New macro.
5019 (gamma_positive): New function.
5020 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5021 underflow here. Use gamma_positive instead of exp (lgamma) for
5022 other arguments.
5023 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5024 (gamma_coeff): New variable.
5025 (NCOEFF): New macro.
5026 (gammaf_positive): New function.
5027 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5028 underflow here. Use gamma_positive instead of exp (lgamma) for
5029 other arguments.
5030 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5031 (gamma_coeff): New variable.
5032 (NCOEFF): New macro.
5033 (gammal_positive): New function.
5034 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5035 underflow here. Use gamma_positive instead of exp (lgamma) for
5036 other arguments.
5037 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5038 (gamma_coeff): New variable.
5039 (NCOEFF): New macro.
5040 (gammal_positive): New function.
5041 (__ieee754_gammal_r): Handle positive infinity, overflow and
5042 underflow here. Handle NaN the same as positive infinity. Remove
5043 check x < 0xffffffff for negative integers. Use gamma_positive
5044 instead of exp (lgamma) for other arguments.
5045 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5046 (gamma_coeff): New variable.
5047 (NCOEFF): New macro.
5048 (gammal_positive): New function.
5049 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5050 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5051 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5052 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5053 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5054 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5055 * sysdeps/generic/math_private.h (__gamma_productf): New
5056 prototype.
5057 (__gamma_product): Likewise.
5058 (__gamma_productl): Likewise.
5059 * math/Makefile (libm-calls): Add gamma_product.
5060 * math/libm-test.inc (tgamma_test): Add more tests.
5061 * sysdeps/i386/fpu/libm-test-ulps: Update.
5062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5063
bb7cf681
OB
50642013-05-08 Ondřej Bílka <neleai@seznam.cz>
5065
5066 * benchtests/bench-skeleton.c (main): Preheat CPU.
5067
ba853947
AJ
50682013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5069
5070 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5071
8347c74c
RM
50722013-05-07 Roland McGrath <roland@hack.frob.com>
5073
5074 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5075 and _dl_skip_args_internal.
5076
e8dd4791
CD
50772013-05-07 Carlos O'Donell <carlos@redhat.com>
5078
5079 * manual/message.texi (Message Translation): Talk about users.
5080 Message to key mapping impacts design.
5081
c7405830
RM
50822013-05-06 Roland McGrath <roland@hack.frob.com>
5083
a9173057
RM
5084 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5085
976e2f03
RM
5086 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5087
9723ffc5
RM
5088 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5089 * sysdeps/wordsize-64/glob64.c: ... here.
5090
962e6658
RM
5091 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5092 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5093 New macros.
5094
ee586a6d
RM
5095 * debug/getlogin_r_chk.c: Moved to ...
5096 * login/getlogin_r_chk.c: ... here.
5097 * debug/Makefile (routines): Move getlogin_r_chk to ...
5098 * login/Makefile (routines): ... here.
5099 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5100 * login/Versions (libc: GLIBC_2.4): ... here.
5101
355f9165
RM
5102 * io/poll.c (__poll): Renamed from poll.
5103 Add libc_hidden_def.
5104 (poll): Define as weak alias.
5105
bd9ffde6
RM
5106 * debug/ptsname_r_chk.c: Moved to ...
5107 * login/ptsname_r_chk.c: ... here.
5108 * debug/Makefile (routines): Move ptsname_r_chk to ...
5109 * login/Makefile (routines): ... here.
5110 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5111 * login/Versions (libc: GLIBC_2.4): ... here.
5112
8fb16a04
RM
5113 * posix/getlogin.c: Moved to ...
5114 * login/getlogin.c: ... here.
5115 * posix/getlogin_r.c: Moved to ...
5116 * login/getlogin_r.c: ... here.
5117 * posix/getlogin_r.c: Moved to ...
5118 * login/getlogin_r.c: ... here.
5119 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5120 * login/Makefile (routines): ... here.
5121 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5122 * login/Versions (libc: GLIBC_2.0): ... here.
5123
b99b892f
RM
5124 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5125 (setrlimit): Define as weak alias.
5126
c7405830
RM
5127 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5128 Call __ names for open, ftruncate, and close.
5129 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5130 (truncate): Define as weak alias.
5131
5bf96de5
JM
51322013-05-06 Joseph Myers <joseph@codesourcery.com>
5133
9ea3513c
JM
5134 * math/gen-libm-test.pl (parse_args): Initialize x before each
5135 test of frexp, modf and remquo.
5136
5bf96de5
JM
5137 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5138 test signgam value.
5139
16e616a7
AZ
51402013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5141
5142 [BZ #15418]
5143 [BZ #15419]
5144 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5145 internal tests.
5146 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5147
d5e82754
RM
51482013-05-06 Roland McGrath <roland@hack.frob.com>
5149
5150 * elf/dl-writev.h: New file.
5151 * elf/dl-misc.c: Include it.
5152 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5153 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5154
a7548d41
JM
51552013-05-04 Joseph Myers <joseph@codesourcery.com>
5156
b7dab1e4
JM
5157 * math/libm-test.inc (noXFails): Remove variable.
5158 (noXPasses): Likewise.
5159 (BUILD_COMPLEX_INT): Remove macro.
5160 (print_screen): Remove xfail argument.
5161 (print_screen_max_error): Likewise.
5162 (update_stats): Likewise.
5163 (print_max_error): Likewise. Update calls to other affected
5164 functions.
5165 (print_complex_max_error): Likewise.
5166 (test_single_exception): Update calls to print_screen.
5167 (test_single_errno): Likewise.
5168 (check_float_internal): Remove xfail argument. Update calls to
5169 other affected functions.
5170 (check_float): Likewise.
5171 (check_complex): Likewise.
5172 (check_int): Likewise.
5173 (check_long): Likewise.
5174 (check_bool): Likewise.
5175 (check_longlong): Likewise.
5176 (main): Don't print noXFails and noXPasses.
5177 * math/gen-libm-test.pl (top level): Don't mention expected
5178 failure handling in comment.
5179 (new_test): Don't handle expected failures.
5180 (parse_args): Don't mention expected failure handling in comment.
5181 (generate_testfile): Don't handle expected failures.
5182 (parse_ulps): Likewise.
5183 (print_ulps_file): Likewise.
5184 (get_failure): Remove function.
5185 (output_test): Don't handle expected failures.
5186 * make/README.libm-test: Don't mention expected failure handling.
5187
a7548d41
JM
5188 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5189 (minus_zero): Likewise.
5190 (plus_infty): Likewise.
5191 (minus_infty): Likewise.
5192 (qnan_value): Likewise.
5193 (max_value): Likewise.
5194 (min_value): Likewise.
5195 (min_subnorm_value): Likewise.
5196 (initialize): Do not initialize those variables dynamically.
5197
60bfd54c
RM
51982013-05-03 Roland McGrath <roland@hack.frob.com>
5199
cc0e6ed8
RM
5200 * io/open.c (__open_2): Moved to ...
5201 * io/open_2.c: ... this new file.
5202 * io/open64.c (__open64_2): Moved to ...
5203 * io/open64_2.c: ... this new file.
5204 * io/openat.c (__openat_2): Moved to ...
5205 * io/openat_2.c: ... this new file.
5206 * io/openat64.c (__openat64_2): Moved to ...
5207 * io/openat64_2.c: ... this new file.
5208 * io/Makefile (routines): Add them.
5209 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5210 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5211 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5212 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5213 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5214 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5215 (__openat64): Add hidden_ver.
5216 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5217 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5218
60bfd54c
RM
5219 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5220 Separately conditionalize setting of GLRO(dl_sysinfo) so
5221 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5222 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5223
83e7640f
AZ
52242013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5225
5226 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5227 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5228 definition.
5229 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5230 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5231 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5232 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5233 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5234
d5dc2af3
JM
52352013-05-03 Joseph Myers <joseph@codesourcery.com>
5236
c31a5b1e
JM
5237 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5238 test signgam value.
5239
d5dc2af3
JM
5240 * math/libm-test.inc (hypot_test): Do not use
5241 IGNORE_ZERO_INF_SIGN.
5242
164fd39d
AJ
52432013-05-03 Andreas Jaeger <aj@suse.de>
5244
5245 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5246 Linux 3.9.
5247 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5248 (PF_MAX): Adjust for VSOCK change.
5249
8237f48c
AZ
52502013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5251
5252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5253
9df02941
CD
52542013-05-02 Carlos O'Donell <carlos@redhat.com>
5255
5256 [BZ #15264]
5257 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5258 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5259 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5260
d422395e
DM
52612013-05-02 David S. Miller <davem@davemloft.net>
5262
5263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5264
a07c5731
OB
52652013-05-01 Ondřej Bílka <neleai@seznam.cz>
5266
5267 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5268
1324e37f
RM
52692013-05-01 Roland McGrath <roland@hack.frob.com>
5270
5271 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5272
0695940b
RS
52732013-05-01 Richard Smith <richard@metafoo.co.uk>
5274
bb5f27ad 5275 [BZ #14952]
0695940b
RS
5276 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5277 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5278 Use __attribute__ ((__gnu_inline__)).
5279 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5280 Don't use __attribute__ ((__gnu_inline__)).
5281
10de07f5
JM
52822013-05-01 Joseph Myers <joseph@codesourcery.com>
5283
5284 [BZ #15423]
5285 * math/s_catan.c (__catan): Handle small real or imaginary part of
5286 input specially to avoid spurious underflow.
5287 * math/s_catanf.c (__catanf): Likewise.
5288 * math/s_catanh.c (__catanh): Likewise.
5289 * math/s_catanhf.c (__catanhf): Likewise.
5290 * math/s_catanhl.c (__catanhl): Likewise.
5291 * math/s_catanl.c (__catanl): Likewise.
5292 * math/libm-test.inc (catan_test): Add more tests.
5293 (catanh_test): Likewise.
5294 * sysdeps/i386/fpu/libm-test-ulps: Update.
5295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5296
cb4d5414
AZ
52972013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5298
5299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5300
caf84319
JM
53012013-04-30 Joseph Myers <joseph@codesourcery.com>
5302
5303 [BZ #15416]
5304 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5305 accurately for denominator in atan2.
5306 * math/s_catanf.c (__catanf): Likewise.
5307 * math/s_catanh.c (__catanh): Likewise.
5308 * math/s_catanhf.c (__catanhf): Likewise.
5309 * math/s_catanhl.c (__catanhl): Likewise.
5310 * math/s_catanl.c (__catanl): Likewise.
5311 * math/libm-test.inc (catan_test): Add more tests.
5312 (catanh_test): Likewise.
5313 * sysdeps/i386/fpu/libm-test-ulps: Update.
5314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5315
d569c6ee
SP
53162013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5317
6dbe713d
SP
5318 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5319
f0ee064b
SP
5320 * benchtests/Makefile (bench): Remove slow benchmarks.
5321 * benchtests/atan-inputs: Add slow benchmark inputs.
5322 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5323 (BENCH_FUNC): Accept variant offset.
5324 (VARIANT): Define.
5325 * benchtests/bench-skeleton.c (main): Run benchmark for each
5326 variant.
5327 * benchtests/cos-inputs: Add slow benchmark inputs.
5328 * benchtests/exp-inputs: Likewise.
5329 * benchtests/pow-inputs: Likewise.
5330 * benchtests/sin-inputs: Likewise.
5331 * benchtests/slowatan-inputs: Remove.
5332 * benchtests/slowatan.c: Remove.
5333 * benchtests/slowcos-inputs: Remove.
5334 * benchtests/slowcos.c: Remove.
5335 * benchtests/slowexp-inputs: Remove.
5336 * benchtests/slowexp.c: Remove.
5337 * benchtests/slowpow-inputs: Remove.
5338 * benchtests/slowpow.c: Remove.
5339 * benchtests/slowsin-inputs: Remove.
5340 * benchtests/slowsin.c: Remove.
5341 * benchtests/slowtan-inputs: Remove.
5342 * benchtests/slowtan.c: Remove.
5343 * benchtests/tan-inputs: Add slow benchmark inputs.
5344 * scripts/bench.pl: Parse comments and directives.
5345
d569c6ee
SP
5346 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5347 in CPPFLAGS.
5348 ($(objpfx)bench-%.c): Remove *-ITER.
5349 * benchtests/bench-modf.c: Remove definition of ITER.
5350 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5351 (main): Loop for DURATION seconds instead of fixed number of
5352 iterations.
5353 * scripts/bench.pl: Don't expect iterations in parameters.
5354
a6a242fe
RM
53552013-04-29 Roland McGrath <roland@hack.frob.com>
5356
5357 * io/fchdir.c (__fchdir): Renamed from fchdir.
5358 (fchdir): Define as weak alias.
5359
f2da7793
JM
53602013-04-29 Joseph Myers <joseph@codesourcery.com>
5361
5362 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5363 (ERRNO_EDOM): Likewise.
5364 (ERRNO_ERANGE): Likewise.
5365 (noErrnoTests): New variable.
5366 (init_max_error): Set errno to 0.
5367 (test_single_errno): New function.
5368 (test_errno): Likewise.
5369 (check_float_internal): Call test_errno. Set errno to 0.
5370 (check_complex): Refer to errno tests in comment.
5371 (check_int): Call test_errno. Set errno to 0.
5372 (check_long): Likewise.
5373 (check_bool): Likewise.
5374 (check_longlong): Likewise.
5375 (cos_test): Use ERRNO_* flags for errno tests instead of
5376 check_int.
5377 (expm1_test): Likewise.
5378 (fmod_test): Likewise.
5379 (ilogb_test): Likewise.
5380 (lgamma_test): Likewise.
5381 (pow_test): Likewise.
5382 (remainder_test): Likewise.
5383 (sin_test): Likewise.
5384 (tan_test): Likewise.
5385 (yn_test): Likewise.
5386 (initialize): Set errno to 0.
5387 (main): Print number of errno tests.
5388 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5389
b1a36ceb
AJ
53902013-04-29 Andreas Jaeger <aj@suse.de>
5391
c3ed8088
AJ
5392 [BZ #15084]
5393 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5394 and RES_USEVC.
5395
f1a24198
AJ
5396 [BZ #15085]
5397 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5398 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5399 unimplemented.
5400
9ce3b2cb
AJ
5401 [BZ #15380]
5402 * stdlib/random.c (__initstate): Return NULL if
5403 __initstate fails.
5404
f1a24198 5405 [BZ #15086]
b1a36ceb
AJ
5406 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5407 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5408 RES_SNGLKUPREOP.
5409
7e7b6f36
AZ
54102013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5411
5412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5413
4d14f449
JM
54142013-04-29 Joseph Myers <joseph@codesourcery.com>
5415
5416 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5417 of individual tests.
5418 (casin_test): Likewise.
5419 (casinh_test): Likewise.
5420
5b4217d7
JM
54212013-04-27 Joseph Myers <joseph@codesourcery.com>
5422
5423 [BZ #15409]
5424 * math/s_catan.c (__catan): Handle arguments with large real or
5425 imaginary part separately without squaring.
5426 * math/s_catanf.c (__catanf): Likewise.
5427 * math/s_catanh.c (__catanh): Likewise.
5428 * math/s_catanhf.c (__catanhf): Likewise.
5429 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5430 and redefine.
5431 (__catanhl): Handle arguments with large real or imaginary part
5432 separately without squaring.
5433 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5434 and redefine.
5435 (__catanl): Handle arguments with large real or imaginary part
5436 separately without squaring.
5437 * math/libm-test.inc (catan_test): Add more tests.
5438 (catanh_test): Likewise.
5439 * sysdeps/i386/fpu/libm-test-ulps: Update.
5440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5441
4220c3ef
AJ
54422013-04-27 Andreas Jaeger <aj@suse.de>
5443
5444 [BZ #15007]
5445 * stdlib/stdlib.h: Update guards for qecvt.
5446 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5447 <stdlib.h>.
5448
4721b2d1
AM
54492013-04-27 Allan McRae <allan@archlinux.org>
5450
5451 * sysdeps/i386/fpu/libm-test-ulps: Update.
5452
f0302940
JM
54532013-04-26 Joseph Myers <joseph@codesourcery.com>
5454
9457fd95
JM
5455 [BZ #15406]
5456 * math/s_catan.c: Include <float.h>.
5457 (__catan): Ensure underflow exception occurs for underflowed
5458 result.
5459 * math/s_catanf.c: Include <float.h>.
5460 (__catanf): Ensure underflow exception occurs for underflowed
5461 result.
5462 * math/s_catanh.c: Include <float.h>.
5463 (__catanh): Ensure underflow exception occurs for underflowed
5464 result.
5465 * math/s_catanhf.c: Include <float.h>.
5466 (__catanhf): Ensure underflow exception occurs for underflowed
5467 result.
5468 * math/s_catanhl.c: Include <float.h>.
5469 (__catanhl): Ensure underflow exception occurs for underflowed
5470 result.
5471 * math/s_catanl.c: Include <float.h>.
5472 (__catanl): Ensure underflow exception occurs for underflowed
5473 result.
5474 * math/libm-test.inc (catan_test): Add more tests.
5475 (catanh_test): Likewise.
5476
f0302940
JM
5477 [BZ #15405]
5478 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5479 underflowed result.
5480 * math/s_ccoshf.c (__ccoshf): Likewise.
5481 * math/s_ccoshl.c (__ccoshl): Likewise.
5482 * math/s_csin.c (__csin): Likewise.
5483 * math/s_csinf.c (__csinf): Likewise.
5484 * math/s_csinh.c (__csinh): Likewise.
5485 * math/s_csinhf.c (__csinhf): Likewise.
5486 * math/s_csinhl.c (__csinhl): Likewise.
5487 * math/s_csinl.c (__csinl): Likewise.
5488 * math/libm-test.inc (ccos_test): Add more tests.
5489 (ccosh_test): Likewise.
5490 (csin_test): Likewise.
5491 (csinh_test): Likewise.
5492
aa630f59
AZ
54932013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5494
5495 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5496 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5497 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5498 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5499 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5500 powerpc/power5+/fpu folders.
5501 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5502
5503
1b835983
MT
55042013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5505
5506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5507
73709b26
JM
55082013-04-25 Joseph Myers <joseph@codesourcery.com>
5509
5510 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5511 additions to variable.
5512 [$(config-machine) = x86_64] (modules-names): Likewise.
5513 ($(objpfx)tst-audit3): Remove dependency.
5514 ($(objpfx)tst-audit3.out): Likewise.
5515 ($(objpfx)tst-audit4): Likewise.
5516 ($(objpfx)tst-audit4.out): Likewise.
5517 ($(objpfx)tst-audit5): Likewise.
5518 ($(objpfx)tst-audit5.out): Likewise.
5519 ($(objpfx)tst-audit6): Likewise.
5520 ($(objpfx)tst-audit6.out): Likewise.
5521 ($(objpfx)tst-audit7): Likewise.
5522 ($(objpfx)tst-audit7.out): Likewise.
5523 (tst-audit3-ENV): Remove variable.
5524 (tst-audit4-ENV): Likewise.
5525 (tst-audit5-ENV): Likewise.
5526 (tst-audit6-ENV): Likewise.
5527 (tst-audit7-ENV): Likewise.
5528 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5529 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5530 addition to variable.
5531 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5532 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5533 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5534 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5535 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5536 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5537 tst-audit3, tst-audit4 and tst-audit5.
5538 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5539 tst-audit6 and tst-audit7.
5540 [$(subdir) = elf] (modules-names): Add audit modules for those
5541 tests.
5542 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5543 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5544 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5545 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5546 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5547 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5548 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5549 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5550 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5551 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5552 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5553 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5554 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5555 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5556 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5557 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5558 Likewise.
5559 [$(subdir) = elf && $(config-cflags-avx) = yes]
5560 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5561 [$(subdir) = elf && $(config-cflags-avx) = yes]
5562 (CFLAGS-tst-auditmod4a.c): Likewise.
5563 [$(subdir) = elf && $(config-cflags-avx) = yes]
5564 (CFLAGS-tst-auditmod4b.c): Likewise.
5565 [$(subdir) = elf && $(config-cflags-avx) = yes]
5566 (CFLAGS-tst-auditmod6b.c): Likewise.
5567 [$(subdir) = elf && $(config-cflags-avx) = yes]
5568 (CFLAGS-tst-auditmod6c.c): Likewise.
5569 [$(subdir) = elf && $(config-cflags-avx) = yes]
5570 (CFLAGS-tst-auditmod7b.c): Likewise.
5571 * elf/tst-audit3.c: Move to ...
5572 * sysdeps/x86_64/tst-audit3.c: ... here.
5573 * elf/tst-audit4.c: Move to ...
5574 * sysdeps/x86_64/tst-audit4.c: ... here.
5575 * elf/tst-audit5.c: Move to ...
5576 * sysdeps/x86_64/tst-audit5.c: ... here.
5577 * elf/tst-audit6.c: Move to ...
5578 * sysdeps/x86_64/tst-audit6.c: ... here.
5579 * elf/tst-audit7.c: Move to ...
5580 * sysdeps/x86_64/tst-audit7.c: ... here.
5581 * elf/tst-auditmod3a.c: Move to ...
5582 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5583 * elf/tst-auditmod3b.c: Move to ...
5584 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5585 * elf/tst-auditmod4a.c: Move to ...
5586 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5587 * elf/tst-auditmod4b.c: Move to ...
5588 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5589 * elf/tst-auditmod5a.c: Move to ...
5590 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5591 * elf/tst-auditmod5b.c: Move to ...
5592 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5593 * elf/tst-auditmod6a.c: Move to ...
5594 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5595 * elf/tst-auditmod6b.c: Move to ...
5596 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5597 * elf/tst-auditmod6c.c: Move to ...
5598 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5599 * elf/tst-auditmod7a.c: Move to ...
5600 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5601 * elf/tst-auditmod7b.c: Move to ...
5602 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5603
1ef74943
PP
56042013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5605
5606 [BZ #15366]
5607 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5608 define unconditionally.
5609 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5610 define unconditionally.
5611 (INT8_C, INT16_C, etc.): Likewise.
5612
93fd48c5
MR
56132013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5614
ae9552cf
MR
5615 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5616 __ehdr_start with hidden visibility.
5617
93fd48c5
MR
5618 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5619
418601aa
CD
56202013-04-24 Carlos O'Donell <carlos@redhat.com>
5621
5622 * math/libm-test.inc (cos_test): Use accurate hex constants.
5623 (sincost_test): Likewise.
5624
2f38fbfe
JM
56252013-04-24 Joseph Myers <joseph@codesourcery.com>
5626
5e221800
JM
5627 * math/libm-test.inc (catan_test): Add more tests.
5628 (catanh_test): Likewise.
5629
77f143fd
JM
5630 * math/s_catanf.c (__catanf): Use suffixed floating-point
5631 constants.
5632 * math/s_catanhf.c (__catanhf): Likewise.
5633 * math/s_catanhl.c (__catanhl): Likewise.
5634 * math/s_catanl.c (__catanl): Likewise.
5635
2f38fbfe
JM
5636 [BZ #15394]
5637 * math/s_catan.c (__catan): Calculate imaginary part of result
5638 with log1p not log unless computing log of number close to 0.
5639 * math/s_catanf.c (__catanf): Likewise.
5640 * math/s_catanl.c (__catanl): Likewise.
5641 * math/s_catanh.c (__catanh): Calculate real part of result with
5642 log1p not log unless computing log of number close to 0.
5643 * math/s_catanhf.c (__catanhf): Likewise.
5644 * math/s_catanhl.c (__catanhl): Likewise.
5645 * math/libm-test.inc (catan_test): Add more tests.
5646 (catanh_test): Likewise.
5647 * sysdeps/i386/fpu/libm-test-ulps: Update.
5648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5649
45d69176
SP
56502013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5651
5652 * benchtests/Makefile: Mention files in which fast and slow
5653 paths of math functions are implemented.
5654
87f51853
RM
56552013-04-23 Roland McGrath <roland@hack.frob.com>
5656
5657 * sysdeps/posix/timespec_get.c: New file.
5658
3c026539
AZ
56592013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5660
5661 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5662 POWER.
5663 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5664 for POWER.
5665 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5666 powerpc/power5/fpu folders.
5667 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5668 * benchtests/Makefile: Add modf testcase.
5669 * benchtests/bench-modf.c: New file: Benchmark test for mo
5670
ff491d14
SP
56712013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5672
5673 [BZ #14888]
5674 * time/Makefile (tests): Add tst-strptime-whitespace.
5675 * time/strptime_l.c (get_number): Use ISSPACE.
5676 (__strptime_internal): Likewise.
5677 * time/tst-strptime-whitespace.c: New test case.
5678
7ed3f4e8
AS
56792013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5680
5681 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5682 member.
5683 (_nss_files_init): Set it here.
5684
5c95f7b6
HC
56852013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5686
5687 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5688 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5689 unsigned.
5690
d34c9158
JBG
56912013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5692
5693 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5694
2169712d
SP
56952013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5696
5697 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5698 size just once.
5699
29c5de99
DM
57002013-04-21 David S. Miller <davem@davemloft.net>
5701
5702 * po/ru.po: Update Russion translation from translation project.
5703
ccdad15d
AC
57042013-04-17 Adam Conrad <adconrad@0c3.net>
5705
5706 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5707 and setfsgid.
5708
0f122b8d
CD
57092013-04-17 Carlos O'Donell <carlos@redhat.com>
5710
5c5b07da 5711 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5712 * configure: Regenerate.
5c5b07da 5713 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5714 Add example to error message.
5715 * sysdeps/i386/configure: Regenerate.
5716
037714dd
SP
57172013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5718
5719 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5720 slowtan.
5721 * benchtests/cos-inputs: New file.
5722 * benchtests/slowcos-inputs: New file.
5723 * benchtests/slowcos.c: New file.
5724 * benchtests/slowtan-inputs: New file.
5725 * benchtests/slowtan.c: New file.
5726 * benchtests/tan-inputs: New file.
5727
e913141d
RM
57282013-04-16 Roland McGrath <roland@hack.frob.com>
5729
5730 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5731 considered kosher.
5732
a2964074
SP
57332013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5734
4856bcd2
SP
5735 * benchtests/Makefile: Include cppflags-iterator.mk to add
5736 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5737
a2964074
SP
5738 * Makefile.in (bench-clean): New target.
5739 * benchtests/Makefile (bench-clean): Likewise.
5740
9fbf9aca
DH
57412013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5742
5743 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5744
207d1e2a
TS
57452013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5746
5747 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5748
306dfba9
AS
57492013-04-15 Andreas Schwab <schwab@suse.de>
5750
5751 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5752 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5753 * nscd/pwdcache.c (cache_addpw): Likewise.
5754 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5755 more than recsize.
5756
206a6699
SP
57572013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5758
5759 * benchtests/Makefile (bench): Write all output to
5760 bench-out.tmp together.
5761
0582f6b3
AS
57622013-04-15 Andreas Schwab <schwab@suse.de>
5763
5764 * nscd/nscd.c (main): Don't fork again after closing files.
5765
acb4325f
SP
57662013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5767
5cb26d0a
SP
5768 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5769
acb4325f
SP
5770 * benchtests/Rules (bench-deps): Collect dependencies into a
5771 single variable. Add Makefile to dependencies.
5772 ($(objpfx)bench-%.c): Depend on bench-deps.
5773
47792506
RM
57742013-04-12 Roland McGrath <roland@hack.frob.com>
5775 Xavier Roche <roche+kml2@exalead.com>
5776
5777 [BZ #15361]
5778 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5779 just that it's a file descriptor.
5780 * manual/llio.texi (Synchronizing AIO Operations): Update description
5781 for EBADF error from aio_fsync.
5782
8fc1bee5
SP
57832013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5784
5785 * Rules (bench): Move target definition...
5786 * benchtests/Makefile: ... here.
5787
aba5e333
CD
57882013-04-11 Carlos O'Donell <carlos@redhat.com>
5789
5790 * math/libm-test.inc (cos_test): Fix PI/2 test.
5791 (sincos_test): Likewise.
5792 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5793 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5794
273cdee8
AS
57952013-04-11 Andreas Schwab <schwab@suse.de>
5796
6ecec3b6
AS
5797 [BZ #13988]
5798 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5799 accept exponent character only when digits were seen.
5800 * stdio-common/Makefile (tests): Add bug26.
5801 * stdio-common/bug26.c: New file.
5802
273cdee8
AS
5803 [BZ #14293]
5804 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5805 non-freeable.
5806
8da491f5
SP
58072013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5808
01dc6df9
SP
5809 * Makeconfig (rtld-prefix): Define built linker prefix.
5810 * Rules (run-bench): Use it.
5811 * math/Makefile (run-regen-ulps): Likewise.
5812
8da491f5
SP
5813 * Rules (bench): Remove eval.
5814
abe7f530
SP
58152013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5816 Roland McGrath <roland@hack.frob.com>
5817 Ondrej Bilka <neleai@seznam.cz>
5818
5819 [BZ #15346]
5820 * time/getdate.c: Include ctype.h and alloca.h.
5821 (__getdate_r): Trim leading and trailing spaces of input.
5822 * time/tst-getdate.c (tests): Add tests with leading and
5823 trailing spaces.
5824
61c23e62
RM
58252013-04-08 Roland McGrath <roland@hack.frob.com>
5826
5827 [BZ #14280]
5828 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5829 when computing value.
5830
7208a313
CD
58312013-04-06 Carlos O'Donell <carlos@redhat.com>
5832
085b2d41
CD
5833 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5834 Use testrun.sh to run libm tests.
5835
7208a313
CD
5836 [BZ #15309]
5837 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5838
872c0acd
MM
58392013-04-06 Marko Myllynen <myllynen@redhat.com>
5840
5841 [BZ #15264]
5842 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5843
26510bdd
CD
58442013-04-06 Carlos O'Donell <carlos@redhat.com>
5845
5846 * Makefile.in (regen-ulps): New target.
5847 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5848 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5849 [ifneq (no,$(PERL)] (regen-ulps): New target.
5850 [ifeq (no,$(PERL)] (regen-ulps): New target.
5851 * math/libm-test.inc (ulps_file_name): Define.
5852 (output_dir): New variable.
5853 (options): Add "output-dir" option.
5854 (parse_opt): Handle 'o' case.
5855 (main): If output_dir is non-NULL use it as a prefix
5856 otherwise use "".
5857 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5858
a01f19c8
CD
58592013-04-06 Carlos O'Donell <carlos@redhat.com>
5860
5861 [BZ #10060, #10062]
5862 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5863 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5864 fail configure if __sync_val_compare_and_swap is not inlined.
5865 * sysdeps/i386/configure: Regenerate.
5866 * configure.in: Build for i686 when configured for i386.
5867 * configure: Regenerate.
5868 * README: Remove i386 reference.
5869
b7a329a5
CD
58702013-04-06 Carlos O'Donell <carlos@redhat.com>
5871
5872 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5873 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5874
bf0f50df
TS
58752013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5876
ee091edf
TS
5877 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5878 (lmsnanval): New variables.
5879 (F): Add conversion tests.
5880 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5881 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5882
a8b792d6
TS
5883 * stdio-common/tstdiomisc.c (F): Properly collect individual
5884 tests' results.
5885
a1cbf437
TS
5886 [BZ #14686, #15336]
5887 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5888 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5889 Instead, use input NaN values or generate a qNaN by arithmetic
5890 operation. Also fix bugs to comply with the standard.
5891 * math/libm-test.inc (remainder_test): Add more tests.
5892
8b43a0c9
TS
5893 [BZ #15335, #15342]
5894 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5895 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5896 input NaN values or generate a qNaN by arithmetic operation.
5897
d91da4ce
TS
5898 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5899 unreachable code.
5900
bf0f50df
TS
5901 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5902 definitions.
5903
05e166c8
JM
59042013-04-03 Joseph Myers <joseph@codesourcery.com>
5905
5906 [BZ #14478]
5907 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5908 underflowed result.
5909 * math/s_cexpf.c (__cexpf): Likewise.
5910 * math/s_cexpl.c (__cexpl): Likewise.
5911 * math/libm-test.inc (cexp_test): Add more tests.
5912
1cef1b19
AS
59132013-04-03 Andreas Schwab <schwab@suse.de>
5914
5915 [BZ #15330]
5916 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5917 order arrays from heap if bigger than alloca cutoff.
5918
74d87055
TS
59192013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5920
5921 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5922 (SNAN_TESTS_double): Refer to GCC PR56831.
5923 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5924 GCC PR56828.
5925
d755bba4
SP
59262013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5927
90d5d5bb
SP
5928 * Rules (bench): Move bench.out after the run is complete.
5929
73e0cd5d
SP
5930 * Rules (bench): Echo currently running benchmark.
5931
64aabd4b
SP
5932 * benchtests/Makefile (bench): Add atan and slowatan.
5933 * benchtests/atan-inputs: New file.
5934 * benchtests/slowatan-inputs: New file.
5935 * benchtests/slowatan.c: New file.
5936
c871eccd
SP
5937 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5938 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5939 its value.
5940
d755bba4
SP
5941 [BZ #15305]
5942 * sysdeps/unix/sysv/linux/kernel-features.h
5943 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5944 __ASSUME_XFS_RESTRICTED_CHOWN.
5945 * sysdeps/unix/sysv/linux/pathconf.c
5946 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5947 Save and restore errno.
5948
52ce4860
JM
59492013-04-02 Joseph Myers <joseph@codesourcery.com>
5950
5951 [BZ #15327]
5952 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5953 arguments using __kernel_casinh.
5954 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5955 arguments using __kernel_casinhf.
5956 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5957 arguments using __kernel_casinhl.
5958 * math/libm-test.inc (cacosh_test): Add more tests.
5959 * sysdeps/i386/fpu/libm-test-ulps: Update.
5960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5961
81f311c2
SP
59622013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5963
e7906a47
SP
5964 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5966
92e3664b
SP
5967 * bench/Makefile (bench): Add sin and slowsin.
5968 * benchtests/sin-inputs: New file.
5969 * benchtests/slowsin-inputs: New file.
5970 * benchtests/slowsin.c: New file.
5971
81f311c2
SP
5972 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5973 (bench): Add slowexp and slowpow.
5974 (exp-ITER): Increase iterations.
5975 (pow-ITER): Likewise.
5976 * benchtests/exp-inputs: Change input.
5977 * benchtests/pow-inputs: Likewise.
5978 * benchtests/slowexp-inputs: New file.
5979 * benchtests/slowexp.c: New file.
5980 * benchtests/slowpow-inputs: New file.
5981 * benchtests/slowpow.c: New file.
5982
ab0f1aa9
AZ
59832013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5984
5985 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5986 instructions.
5987 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5988 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5989 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5990 * benchtests/Makefile: Add rint benchtest.
5991 * benchtests/rint-inputs: Input for rint benchtest.
5992
57267616
TS
59932013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5994
5995 * Versions.def (libm): Add GLIBC_2.18.
5996 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5997 hidden libm prototypes.
5998 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5999 * math/Makefile (libm-calls): Add s_issignaling.
6000 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6001 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6002 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6003 declaration.
6004 * math/math.h [__USE_GNU] (issignaling): New macro.
6005 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6006 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6007 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6008 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6009 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6010 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6011 * manual/arith.texi (issignaling): New section.
6012 * manual/libm-err-tab.pl (@all_functions): Update comment.
6013 * math/gen-libm-test.pl (parse_args): Apply special handling for
6014 issignaling.
6015 * math/libm-test.inc (print_float, issignaling_test): New
6016 functions.
6017 (check_float_internal): Add issignaling checks.
6018 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6019 default definition.
6020 * sysdeps/powerpc/math-tests.h: New file.
6021 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6022 tests.
6023 * math/test-snan.c (TEST_FUNC): Likewise.
6024
6142896d
DM
60252013-03-30 David S. Miller <davem@davemloft.net>
6026
6027 * po/de.po: Update from translation team.
6028
ccc8cadf
JM
60292013-03-30 Joseph Myers <joseph@codesourcery.com>
6030
6031 [BZ #10357]
6032 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6033 imaginary part less than 1.0 and real part less than 0.5
6034 specially.
6035 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6036 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6037 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6038 (cacos_test): Add more tests.
6039 (casin_test): Likewise.
6040 (casinh_test): Likewise.
6041 * sysdeps/i386/fpu/libm-test-ulps: Update.
6042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6043
0f6a8d4b
SP
60442013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6045
0d1029de
SP
6046 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6047 ONE with its value.
6048
c2d94018
SP
6049 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6050 (__pow_mp): Replace ONE and MONE with their values.
6051 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6052 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6053 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6054 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6055 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6056 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6057
27ec37f1
SP
6058 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6059
a64d7e0e
SP
6060 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6061 (__pow_mp): Replace ZERO and MZERO with their values.
6062 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6063 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6064 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6066 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6067 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6068 (__sqr): Likewise.
6069
d26dd3eb
SP
6070 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6071
0f6a8d4b
SP
6072 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6073
e57b0c61
RM
60742013-03-28 Roland McGrath <roland@hack.frob.com>
6075
6076 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6077 Declare with __attribute__ ((weak)).
6078 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6079 Call __call_tls_dtors only if it's not NULL.
6080
356b3480
RM
60812013-03-28 Roland McGrath <roland@hack.frob.com>
6082
288f7d79
RM
6083 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6084 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6085 magic __ehdr_start linker symbol if it's defined.
6086 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6087 them up here if it was already done.
6088
dc0a0263
RM
6089 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6090 (_dl_aux_init): Use const in cast when setting it.
6091 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6092 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6093 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6094
3d3436ae
RM
6095 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6096 Declare them here.
6097 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6098 * csu/libc-tls.c: Nor here.
6099 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6100
356b3480
RM
6101 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6102 (__libc_message): Never call vsyslog.
6103
b0f1246a
AM
61042013-03-28 Alan Modra <amodra@gmail.com>
6105
6106 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6107 Define as empty.
6108 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6109 Likewise.
6110
fbbe2b9a
AZ
61112013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6112
6113 [BZ #15214]
6114 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6115 underflow.
6116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6117
1728ab37
SP
61182013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6119
7a86be6e
SP
6120 [BZ #15304]
6121 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6122 Don't add gid passed as argument.
6123
1728ab37
SP
6124 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6125
3a7182a1
JM
61262013-03-27 Joseph Myers <joseph@codesourcery.com>
6127
6128 [BZ #15307]
6129 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6130 imaginary part between 1.0 and 1.5 and real part less than 0.5
6131 specially.
6132 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6133 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6134 * math/libm-test.inc (cacos_test): Add more tests.
6135 (casin_test): Likewise.
6136 (casinh_test): Likewise.
6137 * sysdeps/i386/fpu/libm-test-ulps: Update.
6138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6139
6f2e90e7
SP
61402013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6141
5739f705
SP
6142 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6143 constants.
6144 (norm): Likewise.
6145 (denorm): Likewise.
6146 (__dbl_mp): Likewise.
6147 (add_magnitudes): Likewise.
6148 (sub_magnitudes): Likewise.
6149 (__add): Likewise.
6150 (__sub): Likewise.
6151 (__mul): Likewise.
6152 (__sqr): Likewise.
6153 (__inv): Likewise.
6154 (__dvd): Likewise.
6155
e375e83d
SP
6156 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6157 commented code.
6158 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6159 (__dubcos): Likewise.
6160 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6161 (__ieee754_acos): Likewise.
6162 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6163 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6164 (__exp1): Likewise.
6165 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6166 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6167 (log1): Likewise.
6168 (my_log2): Likewise.
6169 (checkint): Likewise.
6170 * sysdeps/ieee754/dbl-64/e_remainder.c
6171 (__ieee754_remainder): Likewise.
6172 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6173 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6174 (bsloww): Likewise.
6175 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6176
6f2e90e7
SP
6177 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6178 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6179 MANTISSA_STORE_T to store computations on mantissa. Use
6180 macros for rounding and division.
6181 (denorm): Likewise.
6182 (__dbl_mp): Likewise.
6183 (add_magnitudes): Likewise.
6184 (sub_magnitudes): Likewise.
6185 (__mul): Likewise.
6186 (__sqr): Likewise.
6187 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6188 powers of two in terms of TWOPOW macro.
6189 (mp_no): Make type of mantissa as MANTISSA_T.
6190 [!RADIXI]: Define RADIXI.
6191 [!TWO52]: Define TWO52.
6192 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6193
fce14d4e
AZ
61942013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6195
6196 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6197 llroundl symbol when building for PPC32.
6198
9ad027fb
MW
61992013-03-24 Mark H Weaver <mhw@netris.org>
6200
6201 * manual/arith.texi (Normalization Functions): Fix prototypes for
6202 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6203
e42a38dd
AZ
62042013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6205
6206 [BZ #13889]
6207 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6208 high value to check if expl overflow.
6209 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6210 to check for underflow and overflow.
6211 * math/libm-test.inc: Add exp test.
6212
2e0fb521
DL
62132013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6214
6215 [BZ #11120]
6216 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6217 with NOT_IN_libc.
6218
b5784d95
AZ
62192013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6220
6221 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6222 symbol.
6223
5aa4a1a1
TS
62242013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6225
bdef0be7
TS
6226 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6227 wrap blocks consisting of several statements.
6228
5aa4a1a1
TS
6229 * sysdeps/generic/math-tests.h: New file.
6230 * sysdeps/i386/fpu/math-tests.h: Likewise.
6231 * math/test-snan.c: Include it.
6232 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6233
98c48fe5
JM
62342013-03-21 Joseph Myers <joseph@codesourcery.com>
6235
6236 [BZ #15285]
6237 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6238 (__ieee754_j0l): Do not improve calculations using cos of twice
6239 input for inputs above LDBL_MAX / 2.0L.
6240 (__ieee754_y0l): Likewise.
6241 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6242 (__ieee754_j1l): Do not improve calculations using cos of twice
6243 input for inputs above LDBL_MAX / 2.0L.
6244 (__ieee754_y1l): Likewise.
6245 * math/libm-test.inc (j0_test): Add another test.
6246 (j1_test): Likewise.
6247 (y0_test): Likewise.
6248 (y1_test): Likewise.
6249 * sysdeps/i386/fpu/libm-test-ulps: Update.
6250
3775a8bc
SP
62512013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6252
6253 * Rules ($(objpfx)bench-%.c): Include code from a C source
6254 file.
6255
0a1b2ae6
JM
62562013-03-21 Joseph Myers <joseph@codesourcery.com>
6257
6258 [BZ #15287]
6259 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6260 imaginary part 1.0 and real part less than 0.5 specially.
6261 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6262 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6263 * math/libm-test.inc (cacos_test): Add more tests.
6264 (casin_test): Likewise.
6265 (casinh_test): Likewise.
6266 * sysdeps/i386/fpu/libm-test-ulps: Update.
6267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6268
b33d4ce4
SP
62692013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6270
6271 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6272 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6273
bef0b507
JM
62742013-03-20 Joseph Myers <joseph@codesourcery.com>
6275
6276 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6277 * config.make.in (config-cflags-sse4): Remove variable.
6278 (config-cflags-avx): Likewise.
6279 (config-cflags-sse2avx): Likewise.
6280 (config-cflags-novzeroupper): Likewise.
6281 (config-asflags-i686): Likewise.
6282 (have-mfma4): Likewise.
6283 (have-as-vis3): Likewise.
6284 (MIG): Likewise.
6285 * configure.in (MIG): Do not AC_SUBST.
6286 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6287 (libc_cv_cc_sse4): Do not AC_SUBST.
6288 (libc_cv_cc_avx): Likewise.
6289 (libc_cv_cc_sse2avx): Likewise.
6290 (libc_cv_cc_novzeroupper): Likewise.
6291 (libc_cv_cc_fma4): Likewise.
6292 (libc_cv_as_i686): Likewise.
6293 (libc_cv_sparc_as_vis3): Likewise.
6294 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6295 LIBC_CONFIG_VAR.
6296 (config-asflags-i686): Likewise.
6297 (config-cflags-avx): Likewise.
6298 (config-cflags-sse2avx): Likewise.
6299 (have-mfma4): Likewise.
6300 (config-cflags-novzeroupper): Likewise.
6301 * sysdeps/mach/configure.in (MIG): Likewise.
6302 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6303 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6304 LIBC_CONFIG_VAR.
6305 (config-cflags-avx): Likewise.
6306 (config-cflags-sse2avx): Likewise.
6307 (have-mfma4): Likewise.
6308 (config-cflags-novzeroupper): Likewise.
6309 * configure: Regenerated.
6310 * sysdeps/i386/configure: Likewise.
6311 * sysdeps/mach/configure: Likewise.
6312 * sysdeps/sparc/configure: Likewise.
6313 * sysdeps/x86_64/configure: Likewise.
6314
912cc4b3
RM
63152013-03-20 Roland McGrath <roland@hack.frob.com>
6316
6317 [BZ #14812]
6318 * locale/programs/localedef.c (options): Put N_ translation marker
6319 on argument names, not just descriptions.
6320
04eed2b0
MS
63212013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6322
6323 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6324
a065ceff
OB
63252013-03-20 Ondřej Bílka <neleai@seznam.cz>
6326
9bb2a810 6327 [BZ #14176]
a065ceff
OB
6328 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6329
a600e5ce
RM
63302013-03-19 Roland McGrath <roland@hack.frob.com>
6331
6332 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6333 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6334 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6335 [!BEFORE_ABORT] (before_abort): New function.
6336 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6337 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6338 (writev_for_fatal): New function.
6339 (WRITEV_FOR_FATAL): New macro; call that.
6340 (backtrace_and_maps): New function.
6341 (BEFORE_ABORT): New macro; call that.
6342 (struct str_list): Type removed.
6343 (__libc_message, __libc_fatal): Functions removed.
6344 Include <sysdeps/posix/libc_fatal.c> instead.
6345
6b18bea6
JM
63462013-03-19 Joseph Myers <joseph@codesourcery.com>
6347
6348 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6349 constants.
6350 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6351 double constants.
6352
aaa8cb4b
AS
63532013-03-19 Andreas Schwab <schwab@suse.de>
6354
44673770
AS
6355 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6356 * sysdeps/gnu/configure: Regenerate.
6357
aaa8cb4b
AS
6358 * configure.in: Substitute libc_cv_rtlddir.
6359 * configure: Regenerate.
6360 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6361 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6362 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6363 * elf/Makefile (install-others, CFLAGS-interp.c)
6364 (ldso_install, common-ldd-rewrite): Likewise.
6365 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6366 $(inst_slibdir)/$(rtld-installed-name).
6367 * scripts/rellns-sh: Add -p option.
6368 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6369 for source.
6370
d3cfc668
SP
63712013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6372
6373 * manual/nptl.texi: Renamed to ...
6374 * manual/threads.texi: ... this.
6375 * manual/Makefile (chapters): Update.
6376
0e2b9cdd
RM
63772013-03-18 Roland McGrath <roland@hack.frob.com>
6378
6379 [BZ #14812]
6380 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6381 on argument names, not just descriptions.
0e2b9cdd
RM
6382 * malloc/memusagestat.c (options): Likewise.
6383 * nss/getent.c (options): Likewise.
63270c24
RM
6384
63852013-03-18 Benno Schulenberg <bensberg@justemail.net>
6386
6387 [BZ #14812]
6388 * iconv/iconv_prog.c (options): Put N_ translation marker
6389 on argument names, not just descriptions.
6390 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6391
b2e1393c
OB
63922013-03-18 Ondrej Bilka <neleai@seznam.cz>
6393
6394 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6395 implementation which is faster on all x86_64 architectures.
6396 Tested on AMD, Intel Nehalem, SNB, IVB.
6397 * sysdeps/x86_64/strnlen.S: Likewise.
6398
6399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6400 Remove all multiarch strlen and strnlen versions.
6401 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6402 Remove strlen and strnlen related parts.
6403
6404 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6405 Inline strlen part.
6406 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6407
6408 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6409 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6410 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6411 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6412 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6413 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6414
ec4ff04d
CD
64152013-03-17 Carlos O'Donell <carlos@redhat.com>
6416
6417 * manual/memory.texi (Malloc Tunable Parameters):
6418 Sort parameters alphabetically. Add comments for missing entries.
6419
cd18e90a
DM
64202013-03-17 David S. Miller <davem@davemloft.net>
6421
6422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6423
2a185d32
JM
64242013-03-16 Joseph Myers <joseph@codesourcery.com>
6425
d2f9799e
JM
6426 [BZ #15283]
6427 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6428 for arguments at most half maximum finite value.
6429 * math/libm-test.inc (j0_test): Add more tests.
6430 (j1_test): Likewise.
6431 (y0_test): Likewise.
6432 (y1_test): Likewise.
6433 * sysdeps/i386/fpu/libm-test-ulps: Update.
6434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6435
2a185d32
JM
6436 [BZ #14155]
6437 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6438 1 / x and functions P and Q for arguments above 0x1p256L.
6439 (__ieee754_y0l): Likewise.
6440 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6441 (__ieee754_y1l): Likewise.
6442 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6443 (j1_test): Likewise.
6444 (y0_test): Likewise.
6445 (y1_test): Likewise.
6446
6cbec759
TS
64472013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6448
6449 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6450 variable.
6451
bc16e260
RM
64522013-03-15 Roland McGrath <roland@hack.frob.com>
6453
aefc9b8c
RM
6454 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6455 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6456 zero since it's initialized to EXEC_PAGESIZE.
6457
bc16e260
RM
6458 * sysdeps/unix/sysv/linux/ldsodefs.h
6459 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6460 * sysdeps/generic/ldsodefs.h: ... here.
6461
a57da955
TS
64622013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6463
af00a34d
TS
6464 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6465
495ded2c
TS
6466 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6467 math/test-snan.c.
6468 * math/test-snan.c: Renamed from
6469 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6470 * math/Makefile (tests): Add test-snan.
6471 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6472 test-powerpc-snan.
6473
777b0332
TS
6474 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6475 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6476 functions.
6477 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6478 __builtin_nan family of functions.
6479 * math/libm-test.inc (initialize): Initialize qnan_value with
6480 __builtin_nan family of functions.
6481 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6482 Remove variables.
6483 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6484 Remove functions.
6485 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6486 storage class. Initialize qNaN_var and sNaN_var with
6487 __builtin_nan and __builtin_nans families of functions,
6488 respectively.
6489
64d063b8
TS
6490 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6491 (sqrt_test): Remove duplicate test with qNaN input.
6492 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6493 (round_test, signbit_test, significand_test): Note missing +/-Inf
6494 as well as qNaN tests.
6495
67e971f1
TS
6496 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6497 qNaN_var. Fix a few strings, too.
6498 * math/libm-test.inc (nan_value): Rename to qnan_value.
6499 * math/gen-libm-test.pl (%beautify): Adjust to that.
6500 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6501 * math/test-misc.c (main): Likewise.
6502 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6503 to __qnan_bytes, and __qnan_union, respectively.
6504 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6505 Likewise.
6506 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6507 and lqnanval, respectively.
6508 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6509 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6510 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6511 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6512
64487e12
TS
6513 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6514 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6515 doubles.
6516
e015e27b
TS
6517 * math/test-misc.c (main): Fix copy'n'pastos.
6518 * misc/tst-efgcvt.c (special): Likewise.
6519
a57da955
TS
6520 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6521 Remove declarations.
6522
1e380345
SP
65232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6524
6525 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6526 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6527 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6528 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6529
ef26eece
AZ
65302013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6531
6532 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6533 macro to return vdso values correctly in IFUNC implementations.
6534 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6535 Optimization by using IFUNC.
6536
8cfdb7e0
SP
65372013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6538 Richard Henderson <rth@redhat.com>
6539 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6540
6541 * Makefile.in (bench): New target.
6542 * NEWS: Mention the benchmark framework.
6543 * Rules (bench): Likewise.
6544 (binaries-bench): Generate binaries for functions to
6545 benchmark.
6546 * benchtests/Makefile: New makefile for benchmark tests.
6547 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6548 programs.
6549 * benchtests/exp-inputs: New input file for EXP function.
6550 * benchtests/pow-inputs: New input file for POW function.
6551 * scripts/bench.pl: New script to generate source files for
6552 benchmark programs.
6553
bcda9880
SP
65542013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6555
d22ca8cd
SP
6556 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6557 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6558 computations on mantissa. Use macros for rounding and
6559 division.
6560 (denorm): Likewise.
6561 (__dbl_mp): Likewise.
6562 (add_magnitudes): Likewise.
6563 (sub_magnitudes): Likewise.
6564 (__mul): Likewise.
6565 (__sqr): Likewise.
6566 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6567 powers of two in terms of TWOPOW macro.
6568 (mp_no): Make type of mantissa as MANTISSA_T.
6569 [!RADIXI]: Define RADIXI.
6570 [!TWO52]: Define TWO52.
6571 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6572
bcda9880
SP
6573 * manual/nptl.texi (cindex): Modify threads to pthreads.
6574
06d5adfb
JM
65752013-03-15 Joseph Myers <joseph@codesourcery.com>
6576
6577 * sysdeps/x86_64/preconfigure: Regenerated.
6578
41c7328e
JM
65792013-03-14 Joseph Myers <joseph@codesourcery.com>
6580
6581 [BZ #14155]
6582 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6583 0x1p28 and above.
6584 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6585 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6586 0x1p28 and above.
6587 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6588 * math/libm-test.inc (j0_test): Do not allow one spurious
6589 underflow exception.
6590 (y1_test): Likewise.
6591
e25cfa60
SP
65922013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6593
0409959c
SP
6594 * manual/Makefile (chapters): Add nptl.
6595 * manual/debug.texi (Debugging Support): Add link to Threads
6596 chapter.
6597 * manual/nptl.texi: New file.
6598
e25cfa60
SP
6599 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6600
58a1335e
PB
66012013-03-14 Petr Baudis <pasky@ucw.cz>
6602
6603 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6604 for non-NULL pointer before the memory validity test. Pointed
6605 out by Holger Brunck <holger.brunck@keymile.com>.
6606
9dc7c64f
AS
66072013-03-13 Andreas Schwab <schwab@suse.de>
6608
6609 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6610 instead of .os.
6611
54206aa6
JM
66122013-03-13 Joseph Myers <joseph@codesourcery.com>
6613
6614 * timezone/zic.c: Update from tzcode 2013b.
6615
e98cdb38
CD
66162013-03-12 Carlos O'Donell <carlos@redhat.com>
6617
6618 * manual/install.texi (Configuring and compiling):
6619 Mention i686 and i586.
6620 * INSTALL: Regenerate.
6621
9967e003
RM
66222013-03-12 Roland McGrath <roland@hack.frob.com>
6623
6624 * sysdeps/init_array/elf-init.c: New file.
6625 * csu/elf-init.c
6626 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6627 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6628
6629 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6630 __gmon_start__ as global, but as static with a .preinit_array pointer.
6631 * sysdeps/init_array/gmon-start.c: New file. Use that.
6632 * sysdeps/init_array/crti.S: New file, empty except for comments.
6633 * sysdeps/init_array/crtn.S: Likewise.
6634
e6b5a293 66352013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6636
6637 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6638 definining bcopy.
80f844c9
OB
6639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6640 Remove Prefer_SSE_for_memop.
6641 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6642 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6643 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6645 memset-x86-64.
80f844c9 6646 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6647 Remove bzero, memset ifunc support.
80f844c9
OB
6648 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6649 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6650 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6651 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6652
fb6b0fcb
AS
66532013-03-11 Andreas Schwab <schwab@suse.de>
6654
6655 [BZ #15234]
6656 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6657 by SHLIB_COMPAT.
6658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6659 (GLIBC_2.16): Remove pthread_atfork.
6660
3e6bd4b1
PP
66612013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6662
6663 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6664 (ptestcases.h): Likewise.
6665
222d7f00
RM
66662013-03-08 Roland McGrath <roland@hack.frob.com>
6667
6668 * Makeconfig ($(common-objpfx)config.status): Depend on
6669 sysdeps/*/preconfigure{,.in} too.
6670
1ba4f030
JM
66712013-03-08 Joseph Myers <joseph@codesourcery.com>
6672
a222d91a
JM
6673 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6674 (__free_hook): Use void * instead of __malloc_ptr_t.
6675 (__malloc_hook): Likewise.
6676 (__realloc_hook): Likewise.
6677 (__memalign_hook): Likewise.
6678 (__after_morecore_hook): Likewise.
6679 * malloc/arena.c (save_malloc_hook): Likewise.
6680 (save_free_hook): Likewise.
6681 * malloc/hooks.c (malloc_hook_ini): Likewise.
6682 (realloc_hook_ini): Likewise.
6683 (memalign_hook_ini): Likewise.
6684 * malloc/malloc.c (malloc_hook_ini): Likewise.
6685 (realloc_hook_ini): Likewise.
6686 (memalign_hook_ini): Likewise.
6687 (__free_hook): Likewise.
6688 (__malloc_hook): Likewise.
6689 (__realloc_hook): Likewise.
6690 (__memalign_hook): Likewise.
6691 (__libc_malloc): Likewise.
6692 (__libc_free): Likewise.
6693 (__libc_realloc): Likewise.
6694 (__libc_memalign): Likewise.
6695 (__libc_valloc): Likewise.
6696 (__libc_pvalloc): Likewise.
6697 (__libc_calloc): Likewise.
6698 (__posix_memalign): Likewise.
6699 * malloc/morecore.c (__sbrk): Likewise.
6700 (__default_morecore): Likewise.
6701
5cc45e10
JM
6702 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6703
dd54b864
JM
6704 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6705 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6706 __malloc_ptrdiff_t.
6707
1ba4f030
JM
6708 * malloc/malloc.h (__malloc_size_t): Remove macro.
6709 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6710 __malloc_size_t.
6711 (old_memalign_hook): Likewise.
6712 (old_realloc_hook): Likewise.
6713 (struct hdr): Likewise.
6714 (flood): Likewise.
6715 (mallochook): Likewise.
6716 (memalignhook): Likewise.
6717 (reallochook): Likewise.
6718 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6719 (tr_old_realloc_hook): Likewise.
6720 (tr_old_memalign_hook): Likewise.
6721 (tr_mallochook): Likewise.
6722 (tr_reallochook): Likewise.
6723 (tr_memalignhook): Likewise.
6724
edf66e57
AZ
67252013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6726
6727 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6728 default_ldbl_pack and using as default implementation.
6729 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6730 implementation.
6731 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6732 redundant definition.
6733 (ldbl_insert_mantissa): Likewise.
6734 (ldbl_canonicalize): Likewise.
6735 (ldbl_nearbyint): Likewise.
6736 (ldbl_pack): Rename to ldbl_pack_ppc.
6737 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6738 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6739 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6740
6d9145d8
SP
67412013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6742
6743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6744 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6745 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6746 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6748 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6749 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6750 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6751
4dd4e157
AJ
67522013-03-07 Andreas Jaeger <aj@suse.de>
6753
6754 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6755 bits/mman-linux.h.
6756
adbb8027
SP
67572013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6758
ce544b5b
SP
6759 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6760 Include mpa.h and declare __MPEXP.
6761 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6762 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6763 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6764 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6765 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6766 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6767 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6768
4cc149fd
SP
6769 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6770 (__slowpow): Use long double EXPL and LOGL functions to
6771 compute POW.
6772 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6773 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6774 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6775 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6776 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6777 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6778
e6ebd4a7
SP
6779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6780 intermediate variable to calculate exponent.
6781 (__sqr): Likewise.
6782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6783 Likewise.
6784 (__sqr): Likewise.
6785
82a9811d
SP
6786 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6787 [!NO__SQR]: Define __sqr.
6788 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6789 and NO__SQR. Remove all code except __mul and __sqr. Include
6790 sysdeps/ieee754/dbl-64/mpa.c.
6791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6792
adbb8027
SP
6793 [BZ #12723]
6794 * posix/Makefile (tests): Add tst-pathconf.
6795 * posix/tst-pathconf.c: New test case.
6796 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6797 _PC_PIPE_BUF.
6798 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6799
39120df9
PF
68002013-03-06 Patsy Franklin <pfrankli@redhat.com>
6801
6802 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6803
67525cb8
AJ
68042013-03-06 Andreas Jaeger <aj@suse.de>
6805
664a9ce4
AJ
6806 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6807 definition via __MAP_ANONYMOUS.
6808
8e39047d
AJ
6809 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6810 it's not part of Linux headers.
6811
67525cb8
AJ
6812 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6813 (MAP_HUGE_MASK): Define.
6814
6815 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6816 Define.
6817 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6818 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6819 Define.
6820 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6821 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6822 Define.
6823 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6824 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6825 Define.
6826 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6827
6828 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6829 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6830 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6831 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6832 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6833 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6834
6835 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6836 Handle f2fs.
6837
6838 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6839 Handle f2fs and efivarfs.
6840
6841 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6842 f2fs.
6843
6844 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6845 (EFIVARFS_MAGIC): Add.
6846 (F2FS_LINK_MAX): Add.
6847
e1b42695
PP
68482013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6849
6850 * stdio-common/vfprintf.c: Replace __builtin_expect with
6851 __glibc_unlikely.
6852
2d67d91a
JM
68532013-03-06 Joseph Myers <joseph@codesourcery.com>
6854
6855 [BZ #13550]
6856 * sysdeps/generic/bp-sym.h: Remove file.
6857 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6858 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6859 <bp-sym.h> and <bp-asm.h>.
6860 (__longjmp): Don't use BP_SYM.
6861 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6862 and <bp-asm.h>.
6863 (memcpy): Don't use BP_SYM.
6864 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6865 <bp-sym.h> and <bp-asm.h>.
6866 (memcpy): Don't use BP_SYM.
6867 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6868 <bp-asm.h>.
6869 (memcpy): Don't use BP_SYM.
6870 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6871 <bp-asm.h>.
6872 (memset): Don't use BP_SYM.
6873 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6874 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6875 (__bzero): Don't use BP_SYM.
6876 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6877 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6878 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6879 <bp-sym.h> and <bp-asm.h>.
6880 (memcmp): Don't use BP_SYM. Remove comment about bounded
6881 pointers.
6882 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6883 <bp-sym.h> and <bp-asm.h>.
6884 (memcpy): Don't use BP_SYM.
6885 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6886 <bp-sym.h> and <bp-asm.h>.
6887 (memset): Don't use BP_SYM.
6888 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6889 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6890 (__bzero): Don't use BP_SYM.
6891 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6892 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6893 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6894 <bp-sym.h> and <bp-asm.h>.
6895 (strncmp): Don't use BP_SYM. Remove comment about bounded
6896 pointers.
6897 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6898 <bp-sym.h> and <bp-asm.h>.
6899 (memcpy): Don't use BP_SYM.
6900 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6901 <bp-sym.h> and <bp-asm.h>.
6902 (memset): Don't use BP_SYM.
6903 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6904 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6905 (__bzero): Don't use BP_SYM.
6906 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6907 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6908 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6909 <bp-sym.h> and <bp-asm.h>.
6910 (__memchr): Don't use BP_SYM.
6911 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6912 <bp-sym.h> and <bp-asm.h>.
6913 (memcmp): Don't use BP_SYM. Remove comment about bounded
6914 pointers.
6915 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6916 <bp-sym.h> and <bp-asm.h>.
6917 (memcpy): Don't use BP_SYM.
6918 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6919 <bp-sym.h> and <bp-asm.h>.
6920 (__mempcpy): Don't use BP_SYM.
6921 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6922 <bp-sym.h> and <bp-asm.h>.
6923 (__memrchr): Don't use BP_SYM.
6924 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6925 <bp-sym.h> and <bp-asm.h>.
6926 (memset): Don't use BP_SYM.
6927 (__bzero): Likewise.
6928 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6929 <bp-sym.h> and <bp-asm.h>.
6930 (__rawmemchr): Don't use BP_SYM.
6931 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6932 <bp-sym.h> and <bp-asm.h>.
6933 (__STRCMP): Don't use BP_SYM.
6934 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6935 <bp-sym.h> and <bp-asm.h>.
6936 (strchr): Don't use BP_SYM.
6937 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6938 <bp-sym.h> and <bp-asm.h>.
6939 (__strchrnul): Don't use BP_SYM.
6940 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6941 <bp-sym.h> and <bp-asm.h>.
6942 (strlen): Don't use BP_SYM.
6943 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6944 <bp-sym.h> and <bp-asm.h>.
6945 (strncmp): Don't use BP_SYM. Remove comment about bounded
6946 pointers.
6947 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6948 <bp-sym.h> and <bp-asm.h>.
6949 (__strnlen): Don't use BP_SYM.
6950 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6951 <bp-sym.h> and <bp-asm.h>.
6952 (__GI__setjmp): Don't use BP_SYM.
6953 (_setjmp): Likewise.
6954 (__sigsetjmp): Likewise.
6955 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6956 (L(start_addresses)): Don't use BP_SYM.
6957 (_start): Likewise.
6958 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6959 <bp-asm.h>.
6960 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6961 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6962 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6963 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6964 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6965 <bp-asm.h>.
6966 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6967 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6968 about bounded pointers.
6969 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6970 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6971 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6972 <bp-asm.h>.
6973 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6974 about bounded pointers. Remove GKM FIXME comments.
6975 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6976 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6977 <bp-asm.h>.
6978 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6979 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6980 Remove GKM FIXME comments.
6981 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6982 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6983 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6984 <bp-asm.h>.
6985 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6986 about bounded pointers. Remove GKM FIXME comment.
6987 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6988 and <bp-asm.h>.
6989 (strncmp): Don't use BP_SYM. Remove comment about bounded
6990 pointers.
6991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6992 <bp-sym.h> and <bp-asm.h>.
6993 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6995 <bp-sym.h> and <bp-asm.h>.
6996 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6997 comment.
6998
cdcf361f
PP
69992013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7000
7001 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7002 call free(NULL).
7003
3c4a2b15
DM
70042013-03-05 David S. Miller <davem@davemloft.net>
7005
7006 * po/es.po: Update from translation team.
7007
cdcf361f 70082013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
7009
7010 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7011 <bits/mman-linux.h>.
7012 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7013 is fine.
7014 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7015 <bits/mman-linux.h> to end of file.
7016 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7017 is fine.
7018 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7019 <bits/mman-linux.h> to end of file.
7020 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7021 is fine.
7022 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7023 <bits/mman-linux.h> to end of file.
7024
7025 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7026 (MCL_CURRENT, MCL_FUTURE): Define here.
7027
5f67c04f
AK
70282013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7029
8a4473cc 7030 [BZ #15232]
5f67c04f
AK
7031 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7032 attribute_hidden.
7033 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7034
c3e94a95
AK
70352013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7036
7037 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7038 fourth parameter needed for rt_sigprocmask syscall.
7039 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7040 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7041 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7042 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7043 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7044 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7045
cfb6382a
JM
70462013-03-04 Joseph Myers <joseph@codesourcery.com>
7047
7048 [BZ #13550]
7049 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7050 comment about bounded pointers.
7051 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7052 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7053
539d8e01
AJ
70542013-03-04 Andreas Jaeger <aj@suse.de>
7055
7056 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7057 common definitions.
7058
7059 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7060 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7061 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7062 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7063 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
7064 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7065
2e167a70 70662013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
7067
7068 [BZ #15055]
7069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7070 __ieee754_sqrl instead of __sqrl.
7071
68508633
JM
70722013-03-01 Joseph Myers <joseph@codesourcery.com>
7073
7074 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7075 * sysdeps/powerpc/fpu_control.h: ... here.
7076 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7077 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7078 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7079 * sysdeps/powerpc/bits/mathinline.h: ... here.
7080
7775448e
RM
70812013-03-01 Roland McGrath <roland@hack.frob.com>
7082
7083 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7084 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7085 to just [NEED_DL_SYSINFO_DSO].
7086 * elf/dl-support.c: Likewise.
7087 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7088 * elf/rtld.c (dl_main): Likewise.
7089 * elf/setup-vdso.h (setup_vdso): Likewise.
7090 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7091 * sysdeps/unix/sysv/linux/dl-sysdep.c
7092 (_dl_discover_osversion): Likewise.
7093
4e9b5995
CD
70942013-03-01 Carlos O'Donell <carlos@redhat.com>
7095
7096 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7097 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7098
e23872c8
SP
70992013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7100
e5c74c63
SP
7101 * NEWS: Mention libm performance improvements and non-x86 PI
7102 futex support.
7103
e23872c8
SP
7104 * csu/libc-start.c (__pthread_initialize_minimal): Change
7105 function arguments.
7106 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7107
b5510883
JM
71082013-02-28 Joseph Myers <joseph@codesourcery.com>
7109
7110 [BZ #13550]
7111 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7112 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7113 <bp-sym.h> and <bp-asm.h>.
7114 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7115 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7116 and <bp-asm.h>.
7117 (memcpy): Don't use BP_SYM.
7118 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7119 <bp-asm.h>.
7120 (__mpn_add_n): Don't use BP_SYM.
7121 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7122 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7123 and <bp-asm.h>.
7124 (__mpn_addmul_1): Don't use BP_SYM.
7125 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7126 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7127 <bp-sym.h>.
7128 (_setjmp): Don't use BP_SYM.
7129 (__novmx_setjmp): Likewise.
7130 (__GI__setjmp): Likewise.
7131 (__vmx_setjmp): Likewise.
7132 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7133 <bp-sym.h>.
7134 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7135 (__bzero): Don't use BP_SYM.
7136 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7137 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7138 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7139 <bp-sym.h> and <bp-asm.h>.
7140 (memcpy): Don't use BP_SYM.
7141 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7142 <bp-sym.h> and <bp-asm.h>.
7143 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7144 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7145 <bp-sym.h> and <bp-asm.h>.
7146 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7147 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7148 <bp-asm.h>.
7149 (__mpn_lshift): Don't use BP_SYM.
7150 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7151 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7152 <bp-asm.h>.
7153 (memset): Don't use BP_SYM.
7154 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7155 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7156 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7157 <bp-asm.h>.
7158 (__mpn_mul_1): Don't use BP_SYM.
7159 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7160 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7161 <bp-sym.h> and <bp-asm.h>.
7162 (memcmp): Don't use BP_SYM.
7163 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7164 <bp-sym.h> and <bp-asm.h>.
7165 (memcpy): Don't use BP_SYM.
7166 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7167 <bp-sym.h> and <bp-asm.h>.
7168 (memset): Don't use BP_SYM.
7169 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7170 <bp-sym.h> and <bp-asm.h>.
7171 (strncmp): Don't use BP_SYM.
7172 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7173 <bp-sym.h> and <bp-asm.h>.
7174 (memcpy): Don't use BP_SYM.
7175 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7176 <bp-sym.h> and <bp-asm.h>.
7177 (memset): Don't use BP_SYM.
7178 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7179 <bp-sym.h> and <bp-asm.h>.
7180 (__memchr): Don't use BP_SYM.
7181 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7182 <bp-sym.h> and <bp-asm.h>.
7183 (memcmp): Don't use BP_SYM.
7184 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7185 <bp-sym.h> and <bp-asm.h>.
7186 (memcpy): Don't use BP_SYM.
7187 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7188 <bp-sym.h> and <bp-asm.h>.
7189 (__mempcpy): Don't use BP_SYM.
7190 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7191 <bp-sym.h> and <bp-asm.h>.
7192 (__memrchr): Don't use BP_SYM.
7193 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7194 <bp-sym.h> and <bp-asm.h>.
7195 (memset): Don't use BP_SYM.
7196 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7197 <bp-sym.h> and <bp-asm.h>.
7198 (__rawmemchr): Don't use BP_SYM.
7199 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7200 <bp-sym.h> and <bp-asm.h>.
7201 (__STRCMP): Don't use BP_SYM.
7202 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7203 <bp-sym.h> and <bp-asm.h>.
7204 (strchr): Don't use BP_SYM.
7205 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7206 <bp-sym.h> and <bp-asm.h>.
7207 (__strchrnul): Don't use BP_SYM.
7208 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7209 <bp-sym.h> and <bp-asm.h>.
7210 (strlen): Don't use BP_SYM.
7211 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7212 <bp-sym.h> and <bp-asm.h>.
7213 (strncmp): Don't use BP_SYM.
7214 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7215 <bp-sym.h> and <bp-asm.h>.
7216 (__strnlen): Don't use BP_SYM.
7217 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7218 <bp-asm.h>.
7219 (__mpn_rshift): Don't use BP_SYM.
7220 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7221 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7222 <bp-sym.h> and <bp-asm.h>.
7223 (__sigsetjmp): Don't use BP_SYM.
7224 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7225 (L(start_addresses)): Don't use BP_SYM.
7226 (_start): Likewise.
7227 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7228 <bp-asm.h>.
7229 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7230 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7231 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7232 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7233 <bp-asm.h>.
7234 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7235 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7236 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7237 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7238 <bp-asm.h>.
7239 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7240 comments.
7241 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7242 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7243 <bp-asm.h>.
7244 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7245 FIXME comments.
7246 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7247 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7248 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7249 <bp-asm.h>.
7250 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7251 comment.
7252 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7253 and <bp-asm.h>.
7254 (strncmp): Don't use BP_SYM,
7255 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7256 <bp-asm.h>.
7257 (__mpn_sub_n): Don't use BP_SYM.
7258 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7259 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7260 and <bp-asm.h>.
7261 (__mpn_submul_1): Don't use BP_SYM.
7262 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7264 <bp-sym.h> and <bp-asm.h>.
7265 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7267 <bp-sym.h> and <bp-asm.h>.
7268 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7269 comment.
7270
8d19fe64
SP
72712013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7272
7273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7274 Use ZK to minimize writes to Z.
7275 (sub_magnitudes): Simplify code a bit.
7276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7277 Use ZK to minimize writes to Z.
7278 (sub_magnitudes): Simplify code a bit.
7279
85bd816a
RM
72802013-02-27 Roland McGrath <roland@hack.frob.com>
7281
7282 * csu/gmon-start.c: Add special exception to license text.
7283
b5977bf2
RH
72842013-02-27 Richard Henderson <rth@redhat.com>
7285
7286 * scripts/config.guess: Update from config.git.
7287 * scripts/config.sub: Likewise.
7288
11d6e2f2
SP
72892013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7290
09c14ed2
SP
7291 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7292
a688864e
SP
7293 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7294
6295157a
SP
7295 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7296
b8de2202
SP
7297 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7298
11d6e2f2
SP
7299 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7300
7e80ddb8
RM
73012013-02-26 Roland McGrath <roland@hack.frob.com>
7302
7303 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7304 [$(build-shared = yes].
7e80ddb8 7305
7da6d9ed
SP
73062013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7307
45f05884
SP
7308 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7309 (__mul): Reduce iterations for calculating mantissa.
7310
2236d359
SP
7311 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7312 MPTWO.
7313 (__mpranred): Likewise.
7314
7da6d9ed
SP
7315 [BZ #15160]
7316 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7317 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7318
b7688c42
PE
73192013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7320
7321 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7322 Define __attribute__.
7323
53a5c423
SP
73242013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7325
7326 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7327 unused.
7328 * posix/regex_internal.h (__attribute): Remove.
7329 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7330 (re_string_context_at): Likewise.
7331 (bitset_not): Use __attribute__ and mark function as possibly
7332 unused.
7333 (bitset_merge): Likewise.
7334 (bitset_mask): Likewise.
7335 (re_string_char_size_at): Likewise.
7336 (re_string_wchar_at): Likewise.
7337 (re_string_elem_size_at): Likewise.
7338
60f5a8b5
SP
73392013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7340
2a983a2e
SP
7341 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7342 code.
7343 (cc32): Likewise.
7344
e69804d1
SP
7345 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7346 (__acr): Likewise.
7347 (__cpy): Likewise.
7348 (norm): Likewise.
7349 (denorm): Likewise.
7350 (__dbl_mp): Likewise.
7351 (add_magnitudes): Likewise.
7352 (sub_magnitudes): Likewise.
7353 (__mul): Likewise.
7354 (__inv): Likewise.
7355
2f22a1e8
SP
7356 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7357 style.
7358
8930ddc7
SP
7359 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7360 style.
7361
dc60cb11
SP
7362 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7363 code.
7364
60f5a8b5
SP
7365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7366 up changes with default code.
7367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7368 Likewise.
7369
b4d1fd33
AM
73702013-02-24 Allan McRae <allan@archlinux.org>
7371
faf6f8bc
AM
7372 * manual/socket.texi (The Internet Namespace): Order menu items
7373 to match that in the file.
7374
b4d1fd33
AM
7375 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7376 node listing of the info page menu.
7377
2366713d
JM
73782013-02-21 Joseph Myers <joseph@codesourcery.com>
7379
7380 [BZ #13550]
7381 * sysdeps/i386/bp-asm.h: Remove file.
7382 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7383 (PARMS): Do not use macros from bp-asm.h.
7384 (S1): Likewise.
7385 (S2): Likewise.
7386 (SIZE): Likewise.
7387 (__mpn_add_n): Do not use BP_SYM
7388 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7389 "bp-asm.h".
7390 (PARMS): Do not use macros from bp-asm.h.
7391 (S1): Likewise.
7392 (SIZE): Likewise.
7393 (__mpn_addmul_1): Do not use BP_SYM
7394 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7395 "bp-asm.h".
7396 (PARMS): Do not use macros from bp-asm.h.
7397 (SIGMSK): Likewise.
7398 (_setjmp): Likewise. Do not use BP_SYM.
7399 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7400 "bp-asm.h".
7401 (PARMS): Do not use macros from bp-asm.h.
7402 (SIGMSK): Likewise.
7403 (setjmp): Likewise. Do not use BP_SYM.
7404 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7405 "bp-asm.h".
7406 (PARMS): Do not use macros from bp-asm.h.
7407 (__frexp): Do not use BP_SYM.
7408 (frexp): Likewise.
7409 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7410 "bp-asm.h".
7411 (PARMS): Do not use macros from bp-asm.h.
7412 (__frexpf): Do not use BP_SYM.
7413 (frexpf): Likewise.
7414 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7415 "bp-asm.h".
7416 (PARMS): Do not use macros from bp-asm.h.
7417 (__frexpl): Do not use BP_SYM.
7418 (frexpl): Likewise.
7419 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7420 "bp-asm.h".
7421 (PARMS): Do not use macros from bp-asm.h.
7422 (__remquo): Do not use BP_SYM.
7423 (remquo): Likewise.
7424 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7425 "bp-asm.h".
7426 (PARMS): Do not use macros from bp-asm.h.
7427 (__remquof): Do not use BP_SYM.
7428 (remquof): Likewise.
7429 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7430 "bp-asm.h".
7431 (PARMS): Do not use macros from bp-asm.h.
7432 (__remquol): Do not use BP_SYM.
7433 (remquol): Likewise.
7434 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7435 "bp-asm.h".
7436 (PARMS): Do not use macros from bp-asm.h.
7437 (DEST): Likewise.
7438 (SRC): Likewise.
7439 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7440 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7441 "bp-asm.h".
7442 (PARMS): Do not use macros from bp-asm.h.
7443 (strlen): Do not use BP_SYM.
7444 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7445 "bp-asm.h".
7446 (PARMS): Do not use macros from bp-asm.h.
7447 (S1): Likewise.
7448 (S2): Likewise.
7449 (SIZE): Likewise.
7450 (__mpn_add_n): Do not use BP_SYM.
7451 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7452 "bp-asm.h".
7453 (PARMS): Do not use macros from bp-asm.h.
7454 (S1): Likewise.
7455 (SIZE): Likewise.
7456 (__mpn_addmul_1): Do not use BP_SYM.
7457 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7458 weak_alias.
7459 (bzero): Likewise.
7460 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7461 "bp-asm.h".
7462 (PARMS): Do not use macros from bp-asm.h.
7463 (S): Likewise.
7464 (SIZE): Likewise.
7465 (__mpn_lshift): Do not use BP_SYM.
7466 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7467 "bp-asm.h".
7468 (PARMS): Do not use macros from bp-asm.h.
7469 (DEST): Likewise.
7470 (SRC): Likewise.
7471 (LEN): Likewise.
7472 (memcpy): Likewise. Do not use BP_SYM.
7473 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7474 libc_hidden_def and weak_alias.
7475 (mempcpy): Do not use BP_SYM in weak_alias.
7476 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7477 "bp-asm.h".
7478 (PARMS): Do not use macros from bp-asm.h.
7479 (DEST): Likewise.
7480 (LEN): Likewise.
7481 [!BZERO_P] (CHR): Likewise.
7482 (memset): Likewise. Do not use BP_SYM.
7483 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7484 "bp-asm.h".
7485 (PARMS): Do not use macros from bp-asm.h.
7486 (S1): Likewise.
7487 (SIZE): Likewise.
7488 (__mpn_mul_1): Do not use BP_SYM.
7489 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7490 "bp-asm.h".
7491 (PARMS): Do not use macros from bp-asm.h.
7492 (S): Likewise.
7493 (SIZE): Likewise.
7494 (__mpn_rshift): Do not use BP_SYM.
7495 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7496 "bp-asm.h".
7497 (PARMS): Do not use macros from bp-asm.h.
7498 (STR): Likewise.
7499 (CHR): Likewise.
7500 (strchr): Likewise. Do not use BP_SYM.
7501 (index): Do not use BP_SYM in weak_alias.
7502 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7503 "bp-asm.h".
7504 (PARMS): Do not use macros from bp-asm.h.
7505 (DEST): Likewise.
7506 (SRC): Likewise.
7507 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7508 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7509 "bp-asm.h".
7510 (PARMS): Do not use macros from bp-asm.h.
7511 (strlen): Do not use BP_SYM.
7512 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7513 "bp-asm.h".
7514 (PARMS): Do not use macros from bp-asm.h.
7515 (S1): Likewise.
7516 (S2): Likewise.
7517 (SIZE): Likewise.
7518 (__mpn_sub_n): Do not use BP_SYM.
7519 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7520 "bp-asm.h".
7521 (PARMS): Do not use macros from bp-asm.h.
7522 (S1): Likewise.
7523 (SIZE): Likewise.
7524 (__mpn_submul_1): Do not use BP_SYM.
7525 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7526 "bp-asm.h".
7527 (PARMS): Do not use macros from bp-asm.h.
7528 (S1): Likewise.
7529 (S2): Likewise.
7530 (SIZE): Likewise.
7531 (__mpn_add_n): Do not use BP_SYM.
7532 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7533 weak_alias.
7534 (bzero): Likewise.
7535 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7536 "bp-asm.h".
7537 (PARMS): Do not use macros from bp-asm.h.
7538 (BLK2): Likewise.
7539 (LEN): Likewise.
7540 (memcmp): Do not use BP_SYM.
7541 (bcmp): Do not use BP_SYM in weak_alias.
7542 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7543 "bp-asm.h".
7544 (PARMS): Do not use macros from bp-asm.h.
7545 (DEST): Likewise.
7546 (SRC): Likewise.
7547 (LEN): Likewise.
7548 (memcpy): Likewise. Do not use BP_SYM.
7549 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7550 "bp-asm.h".
7551 (PARMS): Do not use macros from bp-asm.h.
7552 (DEST): Likewise.
7553 (SRC): Likewise.
7554 (LEN): Likewise.
7555 (memmove): Likewise. Do not use BP_SYM.
7556 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7557 "bp-asm.h".
7558 (PARMS): Do not use macros from bp-asm.h.
7559 (DEST): Likewise.
7560 (SRC): Likewise.
7561 (LEN): Likewise.
7562 (__mempcpy): Likewise. Do not use BP_SYM.
7563 (mempcpy): Do not use BP_SYM in weak_alias.
7564 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7565 "bp-asm.h".
7566 (PARMS): Do not use macros from bp-asm.h.
7567 (DEST): Likewise.
7568 (LEN): Likewise.
7569 [!BZERO_P] (CHR): Likewise.
7570 (memset): Likewise. Do not use BP_SYM.
7571 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7572 "bp-asm.h".
7573 (PARMS): Do not use macros from bp-asm.h.
7574 (STR2): Likewise.
7575 (strcmp): Do not use BP_SYM.
7576 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7577 "bp-asm.h".
7578 (PARMS): Do not use macros from bp-asm.h.
7579 (STR): Likewise.
7580 (DELIM): Likewise.
7581 [USE_AS_STRTOK_R] (SAVE): Likewise.
7582 (FUNCTION): Likewise. Do not use BP_SYM.
7583 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7584 aliases.
7585 (strtok_r): Likewise.
7586 (__GI___strtok_r): Likewise.
7587 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7588 (PARMS): Do not use macros from bp-asm.h.
7589 (S): Likewise.
7590 (SIZE): Likewise.
7591 (__mpn_lshift): Do not use BP_SYM.
7592 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7593 (PARMS): Do not use macros from bp-asm.h.
7594 (STR): Likewise.
7595 (CHR): Likewise.
7596 (__memchr): Do not use BP_SYM.
7597 (memchr): Do not use BP_SYM in weak_alias.
7598 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7599 (PARMS): Do not use macros from bp-asm.h.
7600 (BLK2): Likewise.
7601 (LEN): Likewise.
7602 (memcmp): Do not use BP_SYM.
7603 (bcmp): Do not use BP_SYM in weak_alias.
7604 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7605 (PARMS): Do not use macros from bp-asm.h.
7606 (S1): Likewise.
7607 (SIZE): Likewise.
7608 (__mpn_mul_1): Do not use BP_SYM.
7609 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7610 "bp-asm.h".
7611 (PARMS): Do not use macros from bp-asm.h.
7612 (STR): Likewise.
7613 (CHR): Likewise.
7614 (__rawmemchr): Do not use BP_SYM.
7615 (rawmemchr): Do not use BP_SYM in weak_alias.
7616 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7617 (PARMS): Do not use macros from bp-asm.h.
7618 (S): Likewise.
7619 (SIZE): Likewise.
7620 (__mpn_rshift): Do not use BP_SYM.
7621 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7622 (PARMS): Do not use macros from bp-asm.h.
7623 (SIGMSK): Likewise.
7624 (__sigsetjmp): Likewise. Do not use BP_SYM.
7625 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7626 (_start): Do not use BP_SYM.
7627 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7628 (PARMS): Do not use macros from bp-asm.h.
7629 (DEST): Likewise.
7630 (SRC): Likewise.
7631 (__stpcpy): Likewise. Do not use BP_SYM.
7632 (stpcpy): Do not use BP_SYM in weak_alias.
7633 * sysdeps/i386/stpncpy.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 (SRC): Likewise.
7638 (LEN): Likewise.
7639 (__stpncpy): Likewise. Do not use BP_SYM.
7640 (stpncpy): Do not use BP_SYM in weak_alias.
7641 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7642 (PARMS): Do not use macros from bp-asm.h.
7643 (STR): Likewise.
7644 (CHR): Likewise.
7645 (strchr): Likewise. Do not use BP_SYM.
7646 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7647 "bp-asm.h".
7648 (PARMS): Do not use macros from bp-asm.h.
7649 (STR): Likewise.
7650 (CHR): Likewise.
7651 (__strchrnul): Likewise. Do not use BP_SYM.
7652 (strchrnul): Do not use BP_SYM in weak_alias.
7653 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7654 "bp-asm.h".
7655 (PARMS): Do not use macros from bp-asm.h.
7656 (STOP): Likewise.
7657 (strcspn): Do not use BP_SYM.
7658 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7659 "bp-asm.h".
7660 (PARMS): Do not use macros from bp-asm.h.
7661 (STR): Likewise.
7662 (STOP): Likewise.
7663 (strpbrk): Likewise. Do not use BP_SYM.
7664 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7665 "bp-asm.h".
7666 (PARMS): Do not use macros from bp-asm.h.
7667 (STR): Likewise.
7668 (CHR): Likewise.
7669 (strrchr): Likewise. Do not use BP_SYM.
7670 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7671 (PARMS): Do not use macros from bp-asm.h.
7672 (SKIP): Likewise.
7673 (strspn): Do not use BP_SYM.
7674 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7675 (PARMS): Do not use macros from bp-asm.h.
7676 (STR): Likewise.
7677 (DELIM): Likewise.
7678 (SAVE): Likewise.
7679 (FUNCTION): Likewise. Do not use BP_SYM.
7680 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7681 aliases.
7682 (strtok_r): Likewise.
7683 (__GI___strtok_r): Likewise.
7684 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7685 (PARMS): Do not use macros from bp-asm.h.
7686 (S1): Likewise.
7687 (S2): Likewise.
7688 (SIZE): Likewise.
7689 (__mpn_sub_n): Do not use BP_SYM.
7690 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7691 "bp-asm.h".
7692 (PARMS): Do not use macros from bp-asm.h.
7693 (S1): Likewise.
7694 (SIZE): Likewise.
7695 (__mpn_submul_1): Do not use BP_SYM.
7696 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7697 <bp-sym.h>.
7698 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7699 and <bp-asm.h>.
7700 (PARMS): Do not use macros from bp-asm.h.
7701 (FLAGS): Likewise.
7702 (PTID): Likewise.
7703 (TLS): Likewise.
7704 (CTID): Likewise.
7705 (__clone): Do not use BP_SYM.
7706 (clone): Do not use BP_SYM in weak_alias.
7707 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7708 and <bp-asm.h>.
7709 (PARMS): Do not use macros from bp-asm.h.
7710 (LEN): Likewise.
7711 (__mmap64): Do not use BP_SYM.
7712 (mmap64): Do not use BP_SYM in weak_alias.
7713 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7714 <bp-sym.h> and <bp-asm.h>.
7715 (PARMS): Do not use macros from bp-asm.h.
7716 (__posix_fadvise64_l64): Do not use BP_SYM.
7717 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7718 (PARMS): Do not use macros from bp-asm.h.
7719 (NSOPS): Likewise.
7720 (semtimedop): Do not use BP_SYM.
7721 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7722 and <bp-asm.h>.
7723
582a3cff
AM
77242013-02-21 Allan McRae <allan@archlinux.org>
7725
7726 * manual/message.texi (Charset conversion in gettext):
7727 Move @end statement to beginning of line.
7728
bab8a695
SP
77292013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7730
80945231
SP
7731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7732 static.
7733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7734 Likewise.
7735
bab8a695
SP
7736 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7737 (denorm): Likewise.
7738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7740
e21d7aa7
AK
77412013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7742
7743 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7744 tail-call to the resolved function if pltexit isn't needed.
7745
4c7a4263
SP
77462013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7747
7748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7749 or Y being zero as being unlikely.
7750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7751 Likewise.
7752
41f49342
CD
77532013-02-20 Carlos O'Donell <carlos@redhat.com>
7754
7755 * manual/nss.texi (System Databases and Name Service Switch):
7756 Remove frobnicate @pxref.
7757
50022a93
TS
77582013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7759
7760 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7761 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7762
08cbd996
PM
77632013-02-20 Petr Machata <pmachata@redhat.com>
7764
7765 * elf/elf.h (R_ARM_TARGET1): New macro.
7766 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7767 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7768 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7769 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7770 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7771 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7772 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7773 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7774 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7775 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7776 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7777 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7778 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7779 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7780 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7781 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7782 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7783 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7784 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7785 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7786 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7787 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7788 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7789 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7790 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7791 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7792 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7793 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7794 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7795 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7796 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7797 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7798 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7799 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7800 (R_ARM_THM_GOT_BREL12): Likewise.
7801 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7802 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7803 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7804 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7805 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7806 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7807 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7808 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7809 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7810
c7b275d6
TS
78112013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7812
7813 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7814 __attribute_used__ to __attribute__ ((unused)).
7815
20cd7fb3
SP
78162013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7817
7818 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7819 powerpc mpa.c.
7820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7821 comment formatting.
7822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7823
92945b52
JM
78242013-02-19 Joseph Myers <joseph@codesourcery.com>
7825
7826 [BZ #13550]
7827 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7828 Remove macro.
7829 (ENTER): Remove both macro definitions.
7830 (LEAVE): Likewise.
7831 (CHECK_BOUNDS_LOW): Likewise.
7832 (CHECK_BOUNDS_HIGH): Likewise.
7833 (CHECK_BOUNDS_BOTH): Likewise.
7834 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7835 (RETURN_BOUNDED_POINTER): Likewise.
7836 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7837 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7838 (POP_ERRNO_LOCATION_RETURN): Likewise.
7839 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7840 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7841 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7842 macros.
7843 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7844 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7845 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7846 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7847 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7848 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7849 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7850 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7851 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7852 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7853 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7854 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7855 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7856 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7857 removed macros.
7858 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7859 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7860 macros.
7861 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7862 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7863 * sysdeps/i386/i586/memset.S (memset): Likewise.
7864 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7865 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7866 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7867 macros.
7868 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7869 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7870 Change uses of L(2) to L(out).
7871 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7872 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7873 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7874 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7875 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7876 removed macros.
7877 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7878 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7879 macros.
7880 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7881 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7882 (RETURN): Do not use macro LEAVE.
7883 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7884 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7885 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7886 * sysdeps/i386/i686/memset.S (memset): Likewise.
7887 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7888 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7889 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7890 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7891 Likewise.
7892 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7893 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7894 L(1_2) and L(1_3) into L(1).
7895 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7896 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7897 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7898 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7899 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7900 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7901 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7902 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7903 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7904 macros.
7905 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7906 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7907 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7908 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7909 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7910 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7911 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7912 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7913 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7914 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7915 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7916 * sysdeps/i386/strspn.S (strspn): Likewise.
7917 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7918 conditional code.
7919 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7920 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7921 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7922 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7923 L(1_3) into L(1_1).
7924 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7925 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7926 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7927 macros.
7928 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7929
2389741a
JJ
79302013-02-19 Jakub Jelinek <jakub@redhat.com>
7931
7932 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7933 macro.
7934
2016b3cd
SP
79352013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7936
e4f22324
SP
7937 * math/atest-exp.c (exp_mpn): Remove ROUND.
7938 * math/atest-exp2.c (exp_mpn): Likewise.
7939 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7940
2016b3cd
SP
7941 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7942 * stdlib/tst-tls-atexit-lib.c: Likewise.
7943 * stdlib/tst-tls-atexit.c: Likewise.
7944
4be9b544
MF
79452013-02-18 Mike Frysinger <vapier@gentoo.org>
7946
7947 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7948 and __attribute_alloc_size__.
7949
2f62b9ee
MF
79502013-02-18 Mike Frysinger <vapier@gentoo.org>
7951
7952 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7953 __attribute_alloc_size__.
7954 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7955 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7956
6ff444c4
MF
79572013-02-18 Mike Frysinger <vapier@gentoo.org>
7958
7959 * include/programs/xmalloc.h: New file.
7960 * catgets/gencat.c: Include it.
7961 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7962 * elf/pldd.c: Likewise.
7963 * iconv/iconv_charmap.c: Likewise.
7964 * iconv/iconvconfig.c: Likewise.
7965 * iconv/strtab.c: Likewise.
7966 * locale/programs/locale.c: Likewise.
7967 * locale/programs/localedef.h: Likewise.
7968 * locale/programs/simple-hash.c: Likewise.
7969 * nscd/nscd.h: Likewise.
7970 * nss/makedb.c: Likewise.
7971 * sysdeps/generic/ldconfig.h: Likewise.
7972
be179c8a
SP
79732013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7974
ba384f6e
SP
7975 * Versions.def: Add GLIBC_2.18.
7976 * include/link.h (struct link_map): New member l_tls_dtor_count.
7977 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7978 (__call_tls_dtors): Likewise.
7979 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7980 __cxa_thread_atexit_impl.
7981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7982 Likewise.
7983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7984 Likewise.
7985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7986 Likewise.
7987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7988 Likewise.
7989 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7991 Likewise.
7992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7993 Likewise.
7994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7996 Likewise.
7997 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7998 (tests): Add test case tst-tls-atexit.
7999 (modules-names): Add shared library for tst-tls-atexit.
85891aca 8000 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
8001 (GLIBC_PRIVATE): Add __call_tls_dtors.
8002 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8003 for libstdc++.
8004 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8005 * stdlib/tst-tls-atexit.c: New test case.
8006 * stdlib/tst-tls-atexit-lib.c: New test case.
8007
ffaa74cf 8008 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 8009
be179c8a
SP
8010 * elf/Versions (ld): Add _dl_find_dso_for_object.
8011 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8012 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8013 (dl_open_worker): Use _dl_find_dso_for_object.
8014 * elf/dl-sym.c (do_sym): Likewise.
8015 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8016
f78b5caa
AK
80172013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8018
8019 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8020 Syntactic changes only.
8021 (_dl_runtime_profile): Do a tail-call to the resolved function.
8022
29691210
JM
80232013-02-17 Joseph Myers <joseph@codesourcery.com>
8024
8025 [BZ #13550]
8026 * sysdeps/x86_64/bp-asm.h: Remove file.
8027 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8028 <bp-sym.h> and <bp-asm.h>.
8029 (__clone): Do not use BP_SYM.
8030 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8031 <bp-sym.h> and <bp-asm.h>.
8032 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8033 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8034 "bp-asm.h".
8035 (_setjmp): Do not use BP_SYM.
8036 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8037 "bp-asm.h".
8038 (setjmp): Do not use BP_SYM.
8039 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8040 libc_hidden_def.
8041 (mempcpy): Do not use BP_SYM in weak_alias.
8042 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8043 "bp-asm.h".
8044 (strchr): Do not use BP_SYM.
8045 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8046 "bp-asm.h".
8047 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8048 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8049 (_start): Do not use BP_SYM.
8050 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8051 "bp-asm.h".
8052 (strcat): Do not use BP_SYM.
8053 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8054 "bp-asm.h".
8055 (STRCMP): Do not use BP_SYM.
8056 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8057 "bp-asm.h".
8058 (STRCPY): Do not use BP_SYM.
8059 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8060 "bp-asm.h".
8061 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8062 "bp-asm.h".
8063 (FUNCTION): Do not use BP_SYM.
8064 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8065 weak_alias.
8066 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8067
f238fd19
AJ
80682013-02-17 Andreas Jaeger <aj@suse.de>
8069
8070 * time/Versions: Sort entries.
8071 * string/Versions: Likewise.
8072 * resolv/Versions: Likewise.
8073 * posix/Versions: Likewise.
8074 * iconv/Versions: Likewise.
8075 * elf/Versions: Likewise.
8076 * wcsmbs/Versions: Likewise.
8077
bd07f23c 80782013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 8079
22af19f9
SP
8080 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8081 loop termination condition.
8082
4709fe76
SP
8083 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8084 variable to calculate EZ.
8085 (__sqr): Likewise.
2d0e0f29
SP
8086
8087 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8088 the lower precision input.
8089
daaa7713
JM
80902013-02-15 Joseph Myers <joseph@codesourcery.com>
8091
8092 [BZ #13550]
8093 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8094 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8095 (run-via-rtld-prefix): Do not handle %-bp tests.
8096 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8097 (all-object-suffixes): Remove .ob.
8098 (bppfx): Remove variable.
8099 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8100 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8101 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8102 [$(build-bounded) = yes] (libtype.ob): Likewise.
8103 * Makerules (elide-routines.ob): Remove variable.
8104 (do-tests-clean): Do not handle *-bp.out.
8105 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8106 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8107 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8108 (tests): Do not include $(tests-bp.out).
8109 (xtests): Do not include $(xtests-bp.out).
8110 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8111 [$(build-bounded) = yes] ($(addprefix
8112 $(objpfx),$(binaries-bounded))): Remove rule.
8113 ($(objpfx)%-bp.out): Remove rule.
8114 * config.make.in (build-bounded): Remove variable.
8115 * crypt/Makefile [$(build-bounded) = yes]
8116 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8117 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8118 append to variable.
8119 [$(build-bounded) = yes] (install-lib): Likewise.
8120 [$(build-bounded) = yes] (generated): Likewise.
8121 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8122 Remove rule.
8123 * intl/Makefile [$(build-bounded) = yes]
8124 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8125 * math/Makefile [$(build-bounded) = yes]
8126 ($(tests:%=$(objpfx)%-bp): Likewise.
8127 * misc/Makefile [$(build-bounded) = yes]
8128 ($(objpfx)tst-tsearch-bp): Likewise.
8129 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8130 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8131 Remove dependency.
8132 * string/Makefile (o-objects.ob): Remove variable.
8133 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8134 (CFLAGS-.ob): Remove variable.
8135 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8136 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8137 both definitions of variable.
8138 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8139 (ASFLAGS-.ob): Remove variable.
8140
e97ed6dd
JM
81412013-02-14 Joseph Myers <joseph@codesourcery.com>
8142
2bdd4ca6
JM
8143 [BZ #13550]
8144 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8145 Remove __BOUNDED_POINTERS__ from condition.
8146 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8147 * string/bits/string2.h [!__NO_STRING_INLINES &&
8148 !__BOUNDED_POINTERS__]: Likewise.
8149 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8150 Likewise.
8151 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8152 Remove conditional code.
8153 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8154 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8155 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8156 condition.
8157
e97ed6dd
JM
8158 [BZ #13550]
8159 * csu/libc-start.c: Do not include <bp-sym.h>.
8160 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8161 * elf/dl-open.c: Do not include <bp-sym.h>.
8162 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8163 * math/fegetenv.c: Do not include <bp-sym.h>.
8164 (fegetenv): Do not use BP_SYM in versioned symbols.
8165 * nptl/sysdeps/pthread/bits/libc-lockP.h
8166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8167 <bp-sym.h>.
8168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8169 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8171 (__pthread_mutex_destroy): Likewise.
8172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8173 (__pthread_mutex_lock): Likewise.
8174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8175 (__pthread_mutex_trylock): Likewise.
8176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8177 (__pthread_mutex_unlock): Likewise.
8178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8179 (__pthread_mutexattr_init): Likewise.
8180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8181 (__pthread_mutexattr_destroy): Likewise.
8182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8183 (__pthread_mutexattr_settype): Likewise.
8184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8185 (__pthread_rwlock_init): Likewise.
8186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8187 (__pthread_rwlock_destroy): Likewise.
8188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8189 (__pthread_rwlock_rdlock): Likewise.
8190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8191 (__pthread_rwlock_tryrdlock): Likewise.
8192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8193 (__pthread_rwlock_wrlock): Likewise.
8194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8195 (__pthread_rwlock_trywrlock): Likewise.
8196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8197 (__pthread_rwlock_unlock): Likewise.
8198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8199 (__pthread_key_create): Likewise.
8200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8201 (__pthread_setspecific): Likewise.
8202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8203 (__pthread_getspecific): Likewise.
8204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8205 Likewise.
8206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8207 (_pthread_cleanup_push_defer): Likewise.
8208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8209 (_pthread_cleanup_pop_restore): Likewise.
8210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8211 (pthread_setcancelstate): Likewise.
8212 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8213 <bp-sym.h>.
8214 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8215 (memchr): Do not use BP_SYM in weak_alias.
8216 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8217 (fegetenv): Do not use BP_SYM in versioned symbols.
8218 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8219 (fesetenv): Do not use BP_SYM in versioned symbols.
8220 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8221 (feupdateenv): Do not use BP_SYM in versioned symbols.
8222 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8223 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8224 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8225 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8226 (open64): Do not use BP_SYM in weak_alias.
8227 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8228 (fegetenv): Do not use BP_SYM in versioned symbols.
8229 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8230 (fesetenv): Do not use BP_SYM in versioned symbols.
8231 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8232 (feupdateenv): Do not use BP_SYM in versioned symbols.
8233 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8234 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8235 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8236 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8237 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8238 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8239 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8240 <bp-sym.h>.
8241 (__libc_start_main): Do not use BP_SYM.
8242
d6752ccd
SP
82432013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8244
cb57ce60
SP
8245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8246 redundant return line.
8247 (norm): Likewise.
8248 (denorm): Likewise.
8249 (dbl_mp): Likewise.
8250 (sub_magnitudes): Likewise.
8251 (__add): Likewise.
8252 (__sub): Likewise.
8253 (__mul): Likewise.
8254 (__inv): Likewise.
8255 (__dvd): Likewise.
8256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8257 (norm): Likewise.
8258 (denorm): Likewise.
8259 (dbl_mp): Likewise.
8260 (sub_magnitudes): Likewise.
8261 (__add): Likewise.
8262 (__sub): Likewise.
8263 (__mul): Likewise.
8264 (__inv): Likewise.
8265 (__dvd): Likewise.
8266
f414520d
SP
8267 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8268 instead of __mul.
8269 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8270 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8271 (cc32): Likewise.
8272
d6752ccd
SP
8273 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8274 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8275 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8276 of __mul for squares.
8277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8278 function
8279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8280 Likewise.
8281 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8282 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8283
70d9946a
JM
82842013-02-13 Joseph Myers <joseph@codesourcery.com>
8285
8286 [BZ #13550]
8287 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8288 code.
8289 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8290 prototype or function definition. Rename ubp_* variables and
8291 parameters. Remove argv definitions conditional on
8292 [__BOUNDED_POINTERS__].
8293 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8294 * elf/dl-runtime.c (_dl_fixup): Likewise.
8295 * include/set-hooks.h (RUN_HOOK): Likewise.
8296 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8297 definition.
8298 * string/strcpy.c (strcpy): Do not use __unbounded.
8299 * sysdeps/generic/frame.h (struct layout): Likewise.
8300 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8301 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8302 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8303 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8304 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8305 (__backtrace): Likewise.
8306 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8307 use __ptrvalue.
8308 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8309 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8310 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8311 Likewise.
8312 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8313 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8314 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8315 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8316 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8317 Do not use __unbounded.
8318 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8319 Rename __unboundedrlimits parameter to rlimits in prototype.
8320 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8321 Do not use __unbounded.
8322 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8323 not use __ptrvalue.
8324 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8325 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8326 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8327 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8328 __ptrvalue or __unbounded.
8329 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8330 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8331 use __unbounded.
8332 (__new_msgctl): Do not use __ptrvalue.
8333 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8334 __unbounded.
8335 (__libc_msgrcv): Do not use __ptrvalue.
8336 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8337 startup_info): Do not use __unbounded.
8338 (__libc_start_main): Likewise. Rename ubp_* variables and
8339 parameters. Remove argv definitions conditional on
8340 [__BOUNDED_POINTERS__].
8341 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8342 __ptrvalue.
8343 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8344 use __unbounded.
8345 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8346 or __ptrvalue.
8347 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8348 use __unbounded.
8349 (__new_shmctl): Do not use __ptrvalue.
8350 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8351 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8352 Likewise.
8353 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8354 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8355 (__libc_sigaction): Likewise.
8356 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8357 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8358 Likewise.
8359 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8360
cc7834d6
OB
83612013-02-13 Ondřej Bílka <neleai@seznam.cz>
8362
ffb1ec7b 8363 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8364
8365 * string/mempcpy.c: Implement by calling memcpy.
8366
bdf02814
SP
83672013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8368
c2af38aa
SP
8369 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8370
4e92d59e
SP
8371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8372 evaluation.
8373
909279a5
SP
8374 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8375 values in the mantissa.
8376
bdf02814
SP
8377 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8378 minimize writes to Z.
8379 (sub_magnitudes): Simplify code a bit.
8380
cd525923
RM
83812013-02-12 Roland McGrath <roland@hack.frob.com>
8382
8383 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8384 from the message. The linker prefixes all warnings with that already.
8385
7e2f0d2d
AS
83862013-02-12 Andreas Schwab <schwab@suse.de>
8387
a445af0b
AS
8388 [BZ #15078]
8389 * posix/regexec.c (extend_buffers): Add parameter min_len.
8390 (check_matching): Pass minimum needed length.
8391 (clean_state_log_if_needed): Likewise.
8392 (get_subexp): Likewise.
8393 * posix/Makefile (tests): Add bug-regex34.
8394 (bug-regex34-ENV): Define.
8395 * posix/bug-regex34.c: New file.
8396
7e2f0d2d
AS
8397 [BZ #11561]
8398 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8399 elements compare against the byte sequence of it, not its name.
8400 * posix/Makefile (tests): Add bug-regex35.
8401 (bug-regex35-ENV): Define.
8402 * posix/bug-regex35.c: New file.
8403
a175b684
TV
84042013-02-11 Tom de Vries <tom@codesourcery.com>
8405
8406 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8407 comment.
8408 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8409 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8410 (CHECK_EOL): Add undef.
8411
310998fe 84122013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8413
8414 * bits/stdlib-bsearch.h: New file.
8415 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8416 * stdlib/stdlib.h: Likewise.
41eda41d 8417
8ded91fb
RM
84182013-02-11 Roland McGrath <roland@hack.frob.com>
8419
8420 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8421 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8422 declaration.
8423 * manual/search.texi (Array Search Function): Add missing const in
8424 lfind prototype.
8425 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8426 declaration to use rlim_t.
8427 (Basic Scheduling Functions): Remove erroneous const from
8428 sched_getparam prototype. Remove erroneous * from
8429 sched_get_priority_max and sched_get_priority_min prototypes.
8430 (Resource Usage): Fix summary @comment on vtimes to refer to
8431 sys/vtimes.h rather than vtimes.h.
8432 Add missing *s in vtimes prototype.
8433 (Limits on Resources): Fix ulimit prototype to return long int.
8434 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8435 prototypes to use long int rather than double.
8436 (BSD Random): Fix initstate and setstate to use char *, not void *.
8437 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8438 prototype to make second argument 'struct aiocb64 *const[]'.
8439 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8440 (Status of AIO Operations): Remove erroneous const in aio_return and
8441 aio_return64 prototypes.
8442 (Synchronizing I/O): Fix sync prototype to return void.
8443 * manual/startup.texi (Suboptions): Remove an erroneous const in
8444 getsubopt prototype.
8445 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8446 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8447 use size_t rather than int.
8448 (Scanning All Users): Likewise for getpwent_r.
8449 (Setting Groups): Add missing const to setgroups prototype.
8450 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8451 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8452 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8453 'const void *' rather than 'const char *'.
8454 (Host Address Functions): Likewise for inet_ntop.
8455 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8456 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8457 ssize_t for return value.
8458 (Sending Data): Likewise for send, sendto, sendmsg.
8459 (Socket Option Functions): Add a missing const in setsockopt prototype.
8460 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8461 use wchar_t for the argument.
8462 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8463 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8464 take no arguments.
8465 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8466 double/float/long double for second argument.
8467 Fix return types of significand, significandf, significandl.
8468 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8469 argument in fchmod prototype.
8470 (File Owner): Use uid_t and gid_t in fchown prototype.
8471 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8472 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8473 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8474 use 'const struct dirent **' as argument types to CMP function pointer
8475 argument.
8476 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8477 (File Times): Fix summary magic @comment for struct utimbuf and utime
8478 to refer to utime.h, not time.h.
8479 * manual/string.texi (Argz Functions): Add missing const in
8480 argz_extract and argz_next prototypes.
8481 (Finding Tokens in a String): Likewise for basename.
8482 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8483 (Copying and Concatenation): Fix typo in wmemmove prototype.
8484 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8485 (Signal Stack): Remove erroneous const in sigstack prototype.
8486 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8487 prototype.
8488 (Simple Calendar Time): Likewise for stime.
8489 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8490 prototype.
8491 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8492 say sys/sysctl.h instead.
8493 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8494 and vsyslog prototypes.
8495
fe77fe6d
TV
84962013-02-11 Tom de Vries <tom@codesourcery.com>
8497
8498 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8499 Remove.
8500
3a09b620
RM
85012013-02-11 Roland McGrath <roland@hack.frob.com>
8502
8503 * misc/sys/mman.h: Fix typo in mremap comment.
8504
550a0b89
RM
85052013-02-08 Roland McGrath <roland@hack.frob.com>
8506
8507 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8508 the '\0' terminator.
8509
a2da1673
JM
85102013-02-08 Joseph Myers <joseph@codesourcery.com>
8511
8512 [BZ #13550]
8513 * debug/segfault.c: Don't include <bp-checks.h>.
8514 * sysdeps/generic/bp-checks.h: Remove file.
8515 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8516 (__GETDENTS): Don't use CHECK_N.
8517 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8518 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8519 (__getgroups): Don't use CHECK_N.
8520 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8521 (setgroups): Don't use CHECK_N.
8522 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8523 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8524 (__libc_msgrcv): Don't use CHECK_N.
8525 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8526 (__libc_msgsnd): Don't use CHECK_N.
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8528 <bp-checks.h>.
8529 (__libc_pread): Don't use CHECK_N.
8530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8531 include <bp-checks.h>.
8532 (__libc_pread64): Don't use CHECK_N.
8533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8534 include <bp-checks.h>.
8535 (__libc_pwrite): Don't use CHECK_N.
8536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8537 include <bp-checks.h>.
8538 (__libc_pwrite64): Don't use CHECK_N.
8539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8540 <bp-checks.h>.
8541 (__libc_pread): Don't use CHECK_N.
8542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8543 include <bp-checks.h>.
8544 (__libc_pread64): Don't use CHECK_N.
8545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8546 include <bp-checks.h>.
8547 (__libc_pwrite): Don't use CHECK_N.
8548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8549 include <bp-checks.h>.
8550 (__libc_pwrite64): Don't use CHECK_N.
8551 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8552 (do_pread): Don't use CHECK_N.
8553 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8554 (do_pread64): Don't use CHECK_N.
8555 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8556 (do_pwrite): Don't use CHECK_N.
8557 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8558 (do_pwrite64): Don't use CHECK_N.
8559 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8560 (__libc_readv): Don't use CHECK_N.
8561 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8562 (semop): Don't use CHECK_N.
8563 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8564 <bp-checks.h>.
8565 (semtimedop): Don't use CHECK_N.
8566 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8567 (__libc_pread): Don't use CHECK_N.
8568 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8569 <bp-checks.h>.
8570 (__libc_pread64): Don't use CHECK_N.
8571 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8572 <bp-checks.h>.
8573 (__libc_pwrite): Don't use CHECK_N.
8574 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8575 <bp-checks.h>.
8576 (__libc_pwrite64): Don't use CHECK_N.
8577 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8578 <bp-checks.h>.
8579 (__libc_msgrcv): Don't use CHECK_N.
8580 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8581 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8582 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8583 (__libc_writev): Don't use CHECK_N.
8584
b84660a8
RM
85852013-02-08 Roland McGrath <roland@hack.frob.com>
8586
7f3e75f8
RM
8587 * string/strcpy.c: Removed unused variable.
8588
b84660a8
RM
8589 * Makeconfig (+sysdep-includes): Define with := rather than =.
8590 Use an existing include/ subdir of each sysdeps dir before it.
8591
471514d3
CD
85922013-02-08 Carlos O'Donell <carlos@redhat.com>
8593
8594 * nscd/connection.c (register_traced_file): Comment function.
8595 [HAVE_INOTIFY] (union __inev): Define.
8596 [HAVE_INOTIFY] (inotify_check_files): New function.
8597 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8598 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8599 clear_db_cache.
8600 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8601
b2d3c3be
CD
86022013-02-08 Carlos O'Donell <carlos@redhat.com>
8603
8604 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8605 loaded if not already and that a failure is permanent.
8606
b39949d2
CD
86072013-02-08 Carlos O'Donell <carlos@redhat.com>
8608
ddacd1db 8609 [BZ #15006]
b39949d2
CD
8610 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8611 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8612
b2c9eff4
JM
86132013-02-08 Joseph Myers <joseph@codesourcery.com>
8614
f3aae3f3
JM
8615 [BZ #13550]
8616 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8617 (CHECK_1_NULL_OK): Likewise.
8618 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8619 (__fxstat): Do not use CHECK_1.
8620 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8621 <bp-checks.h>.
8622 (___fxstat64): Do not use CHECK_1.
8623 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8624 <bp-checks.h>.
8625 (__fxstatat): Do not use CHECK_1.
8626 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8627 <bp-checks.h>.
8628 (__fxstatat64): Do not use CHECK_1.
8629 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8630 <bp-checks.h>.
8631 (__fxstat): Do not use CHECK_1.
8632 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8633 <bp-checks.h>.
8634 (__fxstatat): Do not use CHECK_1.
8635 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8636 <bp-checks.h>.
8637 (__getresgid): Do not use CHECK_1.
8638 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8639 <bp-checks.h>.
8640 (__getresuid): Do not use CHECK_1.
8641 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8642 <bp-checks.h>.
8643 (__lxstat): Do not use CHECK_1.
8644 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8645 <bp-checks.h>.
8646 (__old_msgctl): Do not use CHECK_1.
8647 (__new_msgctl): Likewise.
8648 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8649 <bp-checks.h>.
8650 (__new_setrlimit): Do not use CHECK_1.
8651 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8652 <bp-checks.h>.
8653 (__old_shmctl): Do not use CHECK_1.
8654 (__new_shmctl): Likewise.
8655 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8656 <bp-checks.h>.
8657 (__xstat): Do not use CHECK_1.
8658 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8659 (__lxstat): Do not use CHECK_1.
8660 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8661 <bp-checks.h>.
8662 (___lxstat64): Do not use CHECK_1.
8663 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8664 (__old_msgctl): Do not use CHECK_1.
8665 (__new_msgctl): Likewise.
8666 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8667 <bp-checks.h>.
8668 (__gettimeofday): Do not use CHECK_1.
8669 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8670 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8671 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8672 <bp-checks.h>.
8673 (__gettimeofday): Do not use CHECK_1.
8674 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8675 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8676 (__new_shmctl): Do not use CHECK_1.
8677 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8678 <bp-checks.h>.
8679 (do_sigtimedwait): Do not use CHECK_1.
8680 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8681 <bp-checks.h>.
8682 (do_sigwaitinfo): Do not use CHECK_1.
8683 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8684 <bp-checks.h>.
8685 (msgctl): Do not use CHECK_1.
8686 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8687 <bp-checks.h>.
8688 (shmctl): Do not use CHECK_1.
8689 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8690 (ustat): Do not use CHECK_1.
8691 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8692 <bp-checks.h>.
8693 (__fxstat): Do not use CHECK_1.
8694 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8695 <bp-checks.h>.
8696 (__fxstatat): Do not use CHECK_1.
8697 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8698 <bp-checks.h>.
8699 (__lxstat): Do not use CHECK_1.
8700 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8701 <bp-checks.h>.
8702 (__xstat): Do not use CHECK_1.
8703 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8704 (__xstat): Do not use CHECK_1.
8705 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8706 (___xstat64): Do not use CHECK_1.
8707
b2c9eff4
JM
8708 [BZ #13550]
8709 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8710 definitions.
8711 (CHECK_BOUNDS_HIGH): Likewise.
8712 * string/strcpy.c: Do not include <bp-checks.h>.
8713 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8714
f1d70dad
RM
87152013-02-07 Roland McGrath <roland@hack.frob.com>
8716
8717 * nscd/nscd-client.h (__nscd_drop_map_ref):
8718 Add __attribute__ ((unused)).
8719 * nis/nss-nisplus.h (niserr2nss): Likewise.
8720
8721 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8722 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8723
8724 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8725 Remove inline keyword.
8726 * include/rounding-mode.h (round_away): Likewise.
8727 * libio/wfileops.c (adjust_wide_data): Likewise.
8728 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8729 (__m128i_strloadu_tolower): Likewise.
8730 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8731 (__m128i_strloadu_tolower): Likewise.
8732 * time/mktime.c (ydhms_diff): Likewise.
8733 * locale/elem-hash.h (elem_hash): Likewise.
8734 * locale/setlocale.c (setdata): Likewise.
8735 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8736 (re_string_wchar_at): Likewise.
8737 (bitset_not, bitset_merge, bitset_mask): Likewise.
8738 [!(__GNUC__ > 3)] (inline): Remove macro.
8739 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8740 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8741 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8742 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8743 * string/memcmp.c (memcmp_bytes): Likewise.
8744 * locale/programs/locarchive.c (compute_hashval): Likewise.
8745 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8746 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8747 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8748 * nss/getent.c (print_rpc, print_protocols): Likewise.
8749 (print_passwd, print_group, print_aliases): Likewise.
8750 * nis/nss-nisplus.h (niserr2nss): Likewise.
8751 * nscd/connections.c (restart_p): Likewise.
8752 Change return type to bool.
8753
eab55bfb
RM
87542013-02-05 Roland McGrath <roland@hack.frob.com>
8755
7bd642f5
RM
8756 * Makeconfig (all-Depend-files): Add existing
8757 $(sorted-subdirs:=/Depend) files.
8758 (all-subdirs): Remove nss.
8759 * sysdeps/unix/inet/Subdirs: Add it here instead.
8760 * hesiod/Depend: New file.
8761
573c29b2
RM
8762 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8763 instead of calling alloca.
8764
b2e25af0
RM
8765 * io/lseek.c (__lseek): Rename to __libc_lseek.
8766 Define __lseek as an alias.
8767
eab55bfb
RM
8768 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8769
9a0d1941
CD
87702013-02-04 Carlos O'Donell <carlos@redhat.com>
8771
8772 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8773 else clause and remove check for non-standard endianness.
8774
b83bbec4
DM
87752013-02-04 David S. Miller <davem@davemloft.net>
8776
8777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8778
6277fdab
JM
87792013-02-04 Joseph Myers <joseph@codesourcery.com>
8780
8781 [BZ #13550]
8782 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8783 (__ubp_memchr): Remove prototype.
8784 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8785 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8786 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8787 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8788 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8789 Remove alias.
8790 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8791 (__ubp_memchr): Likewise.
8792 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8793 (__ubp_memchr): Likewise.
8794 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8795 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8796 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8797 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8798 CHECK_STRING.
8799 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8800 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8801 (__getcwd): Do not use CHECK_STRING.
8802 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8803 <bp-checks.h>.
8804 (__real_chown): Do not use CHECK_STRING.
8805 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8806 <bp-checks.h>.
8807 (fchownat): Do not use CHECK_STRING.
8808 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8809 CHECK_STRING.
8810 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8811 <bp-checks.h>.
8812 (__lchown): Do not use CHECK_STRING.
8813 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8814 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8815 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8816 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8818 include <bp-checks.h>.
8819 (truncate64): Do not use CHECK_STRING.
8820 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8821 <bp-checks.h>.
8822 (__real_chown): Do not use CHECK_STRING.
8823 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8824 <bp-checks.h>.
8825 (__lchown): Do not use CHECK_STRING.
8826 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8827 <bp-checks.h>.
8828 (__chown): Do not use CHECK_STRING.
8829 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8830 <bp-checks.h>.
8831 (truncate64): Do not use CHECK_STRING.
8832 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8833 Likewise.
8834 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8835 (__xmknod): Do not use CHECK_STRING.
8836 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8837 <bp-checks.h>.
8838 (__xmknodat): Do not use CHECK_STRING.
8839 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8840 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8841
903ae060
AS
88422013-02-04 Andreas Schwab <schwab@suse.de>
8843
8844 [BZ #14142]
8845 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8846 * include/netdb.h: Likewise for h_errno.
8847 * elf/tst-stackguard1.c: Include <tls.h>.
8848
542f9466
JK
88492013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8850
8851 * elf/link.h (struct link_map): Extend the l_addr comment.
8852 * include/link.h (struct link_map): Likewise.
8853
e782a927
JM
88542013-02-01 Joseph Myers <joseph@codesourcery.com>
8855
8856 [BZ #13550]
8857 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8858 (BOUNDED_1): Remove macro.
8859 * debug/backtrace.c: Don't include <bp-checks.h>.
8860 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8861 (__backtrace): Likewise.
8862 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8863 <bp-checks.h>.
8864 (__backtrace): Don't use BOUNDED_1.
8865 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8866 <bp-checks.h>.
8867 (__backtrace): Don't use BOUNDED_1.
8868 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8869 (__backtrace): Don't use BOUNDED_1.
8870 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8871 (shmat): Don't use BOUNDED_N.
8872
8cf28c5e
JM
88732013-01-31 Joseph Myers <joseph@codesourcery.com>
8874
3a7ac8a0
JM
8875 [BZ #13550]
8876 * sysdeps/generic/bp-start.h: Remove file.
8877 * csu/libc-start.c: Don't include <bp-start.h>.
8878 (LIBC_START_MAIN): Set up __environ directly instead of using
8879 INIT_ARGV_and_ENVIRON.
8880 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8881 <bp-start.h>.
8882
f3499f95
JM
8883 [BZ #13550]
8884 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8885 definitions.
8886 (CHECK_FCNTL): Likewise.
8887 (CHECK_N_PAGES): Likewise.
8888
32a45bea
JM
8889 [BZ #13550]
8890 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8891 definitions.
8892 (CHECK_SIGSET_NULL_OK): Likewise.
8893 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8894 <bp-checks.h>.
8895 (sigpending): Don't use CHECK_SIGSET.
8896 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8897 <bp-checks.h>.
8898 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8899 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8900 <bp-checks.h>.
8901 (do_sigsuspend): Don't use CHECK_SIGSET.
8902 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8903 use CHECK_SIGSET.
8904 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8905 (do_sigwait): Don't use CHECK_SIGSET.
8906 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8907 use CHECK_SIGSET.
8908 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8909 include <bp-checks.h>.
8910 (sigpending): Don't use CHECK_SIGSET.
8911 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8912 include <bp-checks.h>.
8913 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8914 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8915 <bp-checks.h>.
8916 (sigpending): Don't use CHECK_SIGSET.
8917 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8918 <bp-checks.h>.
8919 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8920
2e8a5c8c
JM
8921 [BZ #13550]
8922 * sysdeps/generic/bp-semctl.h: Remove file.
8923 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8924 <bp-checks.h> and <bp-semctl.h>.
8925 (__old_semctl): Don't use CHECK_SEMCTL.
8926 (__new_semctl): Likewise.
8927 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8928 and <bp-semctl.h>.
8929 (__old_semctl): Don't use CHECK_SEMCTL.
8930 (__new_semctl): Likewise.
8931 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8932 <bp-checks.h> and <bp-semctl.h>.
8933 (__old_semctl): Don't use CHECK_SEMCTL.
8934 (__new_semctl): Likewise.
8935 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8936 <bp-checks.h> and <bp-semctl.h>.
8937 (semctl): Don't use CHECK_SEMCTL.
8938
c2d54929
JM
8939 [BZ #13550]
8940 * Makerules (elide-bp-thunks): Remove variable.
8941 (elide-routines.oS): Don't use $(elide-bp-thunks).
8942 (elide-routines.os): Likewise.
8943 (elide-routines.o): Likewise.
8944 (elide-routines.op): Likewise.
8945 (elide-routines.og): Likewise.
8946 (objects): Don't use $(bp-thunks).
8947 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8948 include.
8949 (common-generated): Do not add s-proto-bp.d.
8950 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8951 (int): Likewise.
8952 (typ): Likewise.
8953 Do not generate makefile rules for bounded-pointer thunks.
8954 * sysdeps/generic/bp-thunks.h: Remove file.
8955 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8956 * sysdeps/unix/s-proto-bp.S: Likewise.
8957
8cf28c5e
JM
8958 [BZ #15062]
8959 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8960 parts of result separately when argument is not close to line from
8961 -i to i and one part of argument is small.
8962 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8963 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8964 * math/libm-test.inc (cacos_test): Add more tests.
8965 (casin_test): Likewise.
8966 (casinh_test): Likewise.
8967 * sysdeps/i386/fpu/libm-test-ulps: Update.
8968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8969
c4e33b8d
DM
89702013-01-31 David S. Miller <davem@davemloft.net>
8971
8972 * po/de.po: Update from translation team.
8973
3b60b421
MK
89742013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8975
8976 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8977
bb931195
TS
89782013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8979
b5a5da23
TS
8980 * configure.in (_AC_PROG_CC_C89): New definition.
8981 * configure: Regenerate.
8982
bb931195
TS
8983 * configure.in (AC_PROG_CPP): New definition.
8984 * configure: Regenerate.
8985
8c53a12c
JM
89862013-01-23 Joseph Myers <joseph@codesourcery.com>
8987
8988 * debug/tst-backtrace.h: New file.
8989 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8990 (ret): Remove variable.
8991 (x): Likewise.
8992 (FAIL): Remove macro.
8993 (NO_INLINE): Likewise.
8994 (fn1): Use match function instead of strstr.
8995 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8996 (ret): Remove variable.
8997 (x): Likewise.
8998 (FAIL): Remove macro.
8999 (NO_INLINE): Likewise.
9000 (fn): Use match function instead of strstr.
9001 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9002 (ret): Remove variable.
9003 (x): Likewise.
9004 (FAIL): Remove macro.
9005 (NO_INLINE): Likewise.
9006 (handle_signal): Use match function instead of strstr.
9007 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9008 (ret): Remove variable.
9009 (x): Likewise.
9010 (FAIL): Remove macro.
9011 (NO_INLINE): Likewise.
9012 (handle_signal): Use match function instead of strstr.
9013
4858fa2a
RM
90142013-01-23 Roland McGrath <roland@hack.frob.com>
9015
9016 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9017
bae8e7f5
DM
90182013-01-23 David S. Miller <davem@davemloft.net>
9019
9020 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9021 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9022 argument of CAS if possible.
9023 * sysdeps/sparc/sparc64/bits/atomic.h
9024 (__arch_compare_and_exchange_val_32_acq): Likewise.
9025 (__arch_compare_and_exchange_val_64_acq): Likewise.
9026
9cbbc4ae
PT
90272013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9028
9029 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9030 * sysdeps/posix/ulimit.c: ... this.
92a601b8 9031 Include <limits.h>.
67b3f58c 9032 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 9033
5655a0b5
AC
90342013-01-23 Adam Conrad <adconrad@0c3.net>
9035
9036 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9037 (LDFLAGS-tst-array5): Likewise.
9038
052aff95
JM
90392013-01-23 Joseph Myers <joseph@codesourcery.com>
9040
9041 [BZ #15036]
9042 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9043 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9044 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9045 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9046
7c1e01aa
DM
90472013-01-21 David S. Miller <davem@davemloft.net>
9048
9049 * sysdeps/sparc/backtrace.c: New file.
9050 * sysdeps/sparc/sparc32/backtrace.h: New file.
9051 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9052 * sysdeps/sparc/sparc64/backtrace.h: New file.
9053 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9054 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9055 -funwind-tables.
9056
ab087e0a
AS
90572013-01-21 Andreas Schwab <schwab@suse.de>
9058
9059 [BZ #15020]
9060 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9061 closed its stdout.
9062
ed689c2f
AS
90632013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9064
9065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9066 "mpa2.h".
9067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9068
31d470ac
JM
90692013-01-18 Joseph Myers <joseph@codesourcery.com>
9070 Mark Mitchell <mark@codesourcery.com>
9071 Tom de Vries <tom@codesourcery.com>
9072 Paul Pluzhnikov <ppluzhnikov@google.com>
9073
9074 * debug/tst-backtrace2.c: New file.
9075 * debug/tst-backtrace3.c: Likewise.
9076 * debug/tst-backtrace4.c: Likewise.
9077 * debug/tst-backtrace5.c: Likewise.
9078 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9079 (CFLAGS-tst-backtrace3.c): Likewise.
9080 (CFLAGS-tst-backtrace4.c): Likewise.
9081 (CFLAGS-tst-backtrace5.c): Likewise.
9082 (LDFLAGS-tst-backtrace2): Likewise.
9083 (LDFLAGS-tst-backtrace3): Likewise.
9084 (LDFLAGS-tst-backtrace4): Likewise.
9085 (LDFLAGS-tst-backtrace5): Likewise.
9086 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9087 tst-backtrace4 and tst-backtrace5.
9088
90567f30 90892013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
9090 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9091
9092 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9093 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9094 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9095 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9097 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9098 "+r" and remove output regs list as redundant. Add explicit inline
9099 asm to specify register of return val to work around compiler codegen
9100 bug. Remove (int) cast on return value. Add return type parameter to
9101 use in macro so that this macro does not truncate return value for
9102 64-bit values.
9103 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9104 pass to INTERNAL_VSYSCALL_NCS.
9105 (INLINE_VSYSCALL): Add 'long int' as return type to
9106 INTERNAL_VSYSCALL_NCS macro invocation.
9107 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9108 INTERNAL_VSYSCALL_NCS macro invocation.
9109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9110
d3b9ea61
SP
91112013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9112
0b57daeb
SP
9113 [BZ #14496]
9114 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9115 Fix application of SIMD FP exception mask.
9116
caa99d06
SP
9117 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9118 mp_no from a power of two.
9119 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9120 __mpexp_twomm1. Use __pow_mp.
9121
d3b9ea61
SP
9122 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9123 multiplication.
9124
1dbaee3c
DM
91252013-01-17 David S. Miller <davem@davemloft.net>
9126
9127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9128
728d7b43
JM
91292013-01-17 Joseph Myers <joseph@codesourcery.com>
9130
9131 [BZ #15023]
9132 * include/complex.h: Condition contents on [!_COMPLEX_H].
9133 (__kernel_casinhf): New prototype.
9134 (__kernel_casinh): Likewise.
9135 (__kernel_casinhl): Likewise.
9136 * math/Makefile (libm_calls): Add k_casinh.
9137 * math/k_casinh.c: New file.
9138 * math/k_casinhf.c: Likewise.
9139 * math/k_casinhl.c: Likewise.
9140 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9141 finite nonzero arguments.
9142 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9143 finite nonzero arguments.
9144 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9145 finite nonzero arguments.
9146 * math/s_casinh.c: Do not include <float.h>.
9147 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9148 * math/s_casinhf.c: Do not include <float.h>.
9149 (__casinhf): Move code for finite nonzero arguments to
9150 k_casinhf.c.
9151 * math/s_casinhl.c: Do not include <float.h>.
9152 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9153 redefine.
9154 (__casinhl): Move code for finite nonzero arguments to
9155 k_casinhl.c.
9156 * math/libm-test.inc (cacos_test): Add more tests.
9157 * sysdeps/i386/fpu/libm-test-ulps: Update.
9158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9159
2a26ef3a
PT
91602013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9161
9162 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9163 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9164 [!HAVE_MREMAP]: Remove [defined linux] case.
9165 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9166
a897655d
SP
91672013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9168
9169 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9170
881ebe89 91712013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
9172
9173 * elf/elf.h (R_386_SIZE32): New relocation.
9174 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9175 R_386_SIZE32.
9176 (elf_machine_rela): Likewise.
9177 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9178 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9179
59981e9b
JM
91802013-01-17 Joseph Myers <joseph@codesourcery.com>
9181
9182 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9183 (FP_FAST_FMA): Do not define.
9184 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9185 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9186 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9187 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9188 !_SOFT_FLOAT]: Likewise.
9189 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9190 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9191 value.
9192 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9193 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9194 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9195 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9196 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9197 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9198 file.
9199
cfa8054f
AS
92002013-01-16 Andreas Schwab <schwab@suse.de>
9201
9202 [BZ #14327]
9203 * include/stdlib.h (__mktemp): Add declaration.
9204 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9205 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9206
dd930cc5
SP
92072013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9208
881ebe89
SP
9209 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9210 definitions.
9211 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9212 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9213 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9214 definitions here.
9215 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9216 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9217 definitions.
9218 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9219 and ONE.
9220 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9221 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9222 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9223 definitions.
9224 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9225 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9226 definitions.
9227 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9228
dd930cc5
SP
9229 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9230
c19a9f89
DM
92312013-01-15 David S. Miller <davem@davemloft.net>
9232
1aa61767
DM
9233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9234 trunc{,f} to libm-sysdep_routes.
9235 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9237 file.
9238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9240 file.
9241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9242 file.
9243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9245 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9246 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9247 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9248 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9249 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9250 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9251
c42d5e98
DM
9252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9253 nearbyint{,f} to libm-sysdep_routes.
9254 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9256 New file.
9257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9258 file.
9259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9260 New file.
9261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9262 file.
9263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9265 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9266 file.
9267 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9268 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9269 file.
9270 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9271 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9272 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9273
c19a9f89
DM
9274 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9275 libc_feholdexcept and libc_fesetenv.
9276
357679d2
MF
92772013-01-15 Mike Frysinger <vapier@gentoo.org>
9278
9279 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9280
65a82e3d
DM
92812013-01-14 David S. Miller <davem@davemloft.net>
9282
8b954ab9
DM
9283 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9284 (SPARC_ASM_VIS2_IFUNC): Likewise.
9285 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9287 use of 'siam' instruction.
9288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9289 Likewise.
9290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9291 Likewise.
9292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9293 Likewise.
9294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9296 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9299 file.
9300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9301 file.
9302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9303 file.
9304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9305 file.
9306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9311 new VIS2 routines.
9312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9315 Likewise.
9316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9318 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9321 routines to libm-sysdep_routines.
9322 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9323
65a82e3d
DM
9324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9325 fdim/fdimf to libm-sysdep_routines.
9326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9327 file.
9328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9330 file.
9331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9334 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9335 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9336 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9337 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9338
e34ab705
SP
93392013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9340
2a91b573
SP
9341 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9342 to optimize copies.
9343
1066a534
SP
9344 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9347
e34ab705
SP
9348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9349 local variable MPTWO.
9350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9351 Likewise.
9352
aba5e596
MF
93532013-01-13 Mike Frysinger <vapier@gentoo.org>
9354
9355 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9356 GLOB_NOESCAPE.
9357
e557e9e5
MF
93582013-01-13 Mike Frysinger <vapier@gentoo.org>
9359
9360 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9361
0428cec9
MF
93622013-01-13 Mike Frysinger <vapier@gentoo.org>
9363
9364 * manual/pattern.texi (glob_t): Document gl_flags.
9365 (glob64_t): Likewise.
9366
8794a964
DM
93672013-01-11 David S. Miller <davem@davemloft.net>
9368
66438c3f
RM
9369 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9370 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9371 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9372 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9373 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9374 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9375 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9376 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9377 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9378 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9379 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9380 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9381 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9382
4ae4244d
DM
9383 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9384 sparc V9 rather than using V8 code.
9385 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9386 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9387
8794a964
DM
9388 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9389 Move to...
9390 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9391 Here.
9392
6270516e
RM
93932013-01-11 Roland McGrath <roland@hack.frob.com>
9394
9395 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9396 not in the main loop.
9397 * configure: Regenerated.
9398
6a57d931
JM
93992013-01-11 Joseph Myers <joseph@codesourcery.com>
9400
9401 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9402 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9403 to just #else.
9404 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9405 [!__GLIBC_HAVE_LONG_LONG] case.
9406 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9407 condition to just #else.
9408 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9409 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9410 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9411 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9412 unconditional.
9413 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9414 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9415 #elif condition to just #else.
9416 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9417 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9418 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9419 #elif condition to just #else.
9420
0e8529e9
SE
94212013-01-11 Steve Ellcey <sellcey@mips.com>
9422
9423 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9424 (EF_MIPS_ARCH_64): Fix value.
9425 (EF_MIPS_ARCH_32R2): New.
9426 (EF_MIPS_ARCH_64R2): New.
9427
740b3dbe
L
94282013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9429
9430 * Makeconfig (+link-pie-before-libc): New.
9431 (+link-pie-after-libc): Likewise.
9432 (+link-pie-tests): Likewise.
9433 (+link-pie): Rewritten.
9434 (link-before-libc): Remove $(config-LDFLAGS).
9435 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9436 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9437 (config-LDFLAGS): Renamed to ...
9438 (rtld-LDFLAGS): This.
9439 (rtld-tests-LDFLAGS): New macro.
9440 (link-libc-rpath-link): Likewise.
9441 (link-libc-tests-rpath-link): Likewise.
9442 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9443 (link-libc): Prepand $(link-libc-rpath-link).
9444 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9445 (test-program-prefix): New macro.
9446 (test-via-rtld-prefix): Likewise.
9447 (test-program-cmd): Likewise.
9448 (host-test-program-cmd): Likewise.
9449 * Makefile ($(common-objpfx)testrun.sh): Replace
9450 $(run-program-prefix) with $(test-program-prefix).
9451 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9452 $(rtld-LDFLAGS).
9453 ($(common-objpfx)shlib.lds): Likewise.
9454 (build-module-helper): Likewise.
9455 ($(common-objpfx)format.lds): Likewise.
9456 * Rules (binaries-pie-tests): New.
9457 (binaries-pie-notests): Likewise.
9458 (binaries-pie): Rewritten.
9459 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9460 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9461 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9462 (make-test-out): Replace $(host-built-program-cmd) with
9463 $(host-test-program-cmd).
9464 * config.make.in (build-hardcoded-path-in-tests): New variable.
9465 * configure.in (--enable-hardcoded-path-in-tests): New configure
9466 option.
9467 (hardcoded_path_in_tests): New AC_SUBST.
9468 * configure: Regenerated.
9469 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9470 $(built-program-cmd) with $(test-program-cmd).
9471 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9472 (test_program_cmd): This.
9473 * elf/Makefile ($(objpfx)order.out): Run test with
9474 $(test-program-prefix).
9475 ($(objpfx)order2.out): Likewise.
9476 ($(objpfx)tst-initorder.out): Likewise.
9477 ($(objpfx)tst-initorder2.out): Likewise.
9478 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9479 $(test-program-cmd).
9480 ($(objpfx)tst-array1-static.out): Likewise.
9481 ($(objpfx)tst-array2.out): Likewise.
9482 ($(objpfx)tst-array3.out): Likewise.
9483 ($(objpfx)tst-array4.out): Likewise.
9484 ($(objpfx)tst-array5.out): Likewise.
9485 ($(objpfx)tst-array5-static.out): Likewise.
9486 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9487 $(test-program-cmd).
9488 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9489 $(run-program-prefix) with $(test-program-prefix).
9490 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9491 (test_program_prefix): This.
9492 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9493 $(run-program-prefix) with $(test-program-prefix).
9494 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9495 (test_program_prefix): This.
9496 * iconvdata/tst-tables.sh: Likewise.
9497 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9498 $(run-program-prefix) with $(test-program-prefix).
9499 ($(objpfx)tst-translit.out): Likewise.
9500 ($(objpfx)tst-gettext2.out): Likewise.
9501 ($(objpfx)tst-gettext4.out): Likewise.
9502 ($(objpfx)tst-gettext6.out): Likewise.
9503 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9504 (test_program_prefix): This.
9505 * intl/tst-gettext2.sh: Likewise.
9506 * intl/tst-gettext4.sh Likewise.
9507 * intl/tst-gettext6.sh: Likewise.
9508 * intl/tst-translit.sh: Likewise.
9509 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9510 with $(test-program-cmd).
9511 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9512 $(run-program-prefix) with $(test-program-prefix).
9513 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9514 (test_program_prefix): This.
9515 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9516 $(run-program-prefix) with $(test-program-prefix).
9517 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9518 (test_program_prefix): This.
9519 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9520 * posix/Makefile ($(objpfx)globtest.out): Replace
9521 $(run-via-rtld-prefix) and $(test-wrapper) with
9522 $(test-program-prefix) and $(test-via-rtld-prefix).
9523 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9524 $(test-program-prefix).
9525 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9526 $(host-test-program-cmd).
9527 (tst-spawn-ARGS): Likewise.
9528 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9529 $(test-program-prefix).
9530 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9531 (test_via_rtld_prefix): This.
9532 (test_wrapper): Renamed to ...
9533 (test_program_prefix): This.
9534 (run_program_prefix): Replaced by test_program_prefix.
9535 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9536 (test_program_prefix): This.
9537 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9538 with $(host-test-program-cmd).
9539 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9540 $(run-program-prefix) with $(test-program-prefix).
9541 ($(objpfx)tst-printf.out): Likewise.
9542 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9543 $(test-program-cmd).
9544 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9545 (test_program_prefix): This.
9546 * stdio-common/tst-unbputc.sh: Likewise.
9547 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9548 $(run-program-prefix) with $(test-program-prefix).
9549 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9550 (test_program_prefix): This.
9551 * string/Makefile ($(objpfx)tst-svc.out): Replace
9552 $(built-program-cmd) with $(test-program-cmd).
9553
c6fe55cf
AJ
95542013-01-11 Andreas Jaeger <aj@suse.de>
9555
9556 [BZ #15003]
9557 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9558 value. Sync with Linux 3.7.
9559
9e6919c8
DM
95602013-01-10 David S. Miller <davem@davemloft.net>
9561
9562 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9563 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9564 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9565
1c9f1a02
RM
95662013-01-10 Roland McGrath <roland@hack.frob.com>
9567
9568 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9569 never set.
9570 * configure: Regenerated.
9571
b9de2dde
DM
95722013-01-10 David S. Miller <davem@davemloft.net>
9573
9574 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9575 sparc V9 rather than using V8 code.
9576 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9577 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9578
e7f68ef4
RM
95792013-01-10 Roland McGrath <roland@hack.frob.com>
9580
9581 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9582 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9583 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9584 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9585 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9586 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9587 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9588 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9589 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9590 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9591 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9592 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9593 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9594 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9595 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9596 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9597 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9598 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9599 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9600 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9601 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9602 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9603 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9604 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9605 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9606 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9607 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9608
5a47cc9c
DM
96092013-01-10 David S. Miller <davem@davemloft.net>
9610
9611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9612
4cf8f209
L
96132013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9614
9615 * posix/Makefile (tests-static): New variable.
9616 (tests): Add $(tests-static).
9617 (tst-exec-static-ARGS): New variable.
9618 (tst-spawn-static-ARGS): Likewise.
9619 * posix/tst-exec-static.c: New file.
9620 * posix/tst-spawn-static.c: Likewise.
9621 * posix/tst-exec.c: Support run directly.
9622 * posix/tst-spawn.c: Likewise.
9623
fed0faa1
JM
96242013-01-10 Joseph Myers <joseph@codesourcery.com>
9625
828beb13
JM
9626 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9627 long.
9628 * math/bits/mathcalls.h (llrint): Likewise.
9629 (llround): Likewise.
9630 * stdlib/stdlib.h (struct drand48_data): Likewise.
9631 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9632 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9633 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9634 Likewise.
9635 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9636 Likewise.
9637 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9638 (elf_greg_t): Likewise.
9639 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9640 (__jmp_buf): Likewise.
9641 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9642 definitions.
9643 (llrint): Likewise, for all definitions.
9644 (llrintl): Likewise.
9645
fed0faa1
JM
9646 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9647 Remove [__GNUC__] condition.
9648 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9649 condition to just [__USE_ISOC99].
9650 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9651
1a20cb20
L
96522013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9653
9654 [BZ #14200]
9655 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9656 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9657 defined.
9658 (_POSIX_V6_ILP32_OFF32): Likewise.
9659 (_XBS5_ILP32_OFF32): Likewise.
9660 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9661 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9662
751b85f7
SP
96632013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9664
7490eb81
SP
9665 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9666
751b85f7
SP
9667 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9668 doubles __mpexp_twomm1. Adjust usage.
9669 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9670 Remove.
9671
988197f0
AS
96722013-01-10 Andreas Schwab <schwab@suse.de>
9673
9674 [BZ #14964]
9675 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9676 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9677
e83d7298
DM
96782013-01-09 David S. Miller <davem@davemloft.net>
9679
034ed64b 9680 [BZ #15003]
e83d7298
DM
9681 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9682 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9683 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9684 TCP_FASTOPEN): Define.
9685 (tcp_repair_opt): New structure.
9686 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9687 enum values.
9688 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9689 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9690 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9691 (tcp_cookie_transactions): New structure.
9692
d5e0b9bd
AB
96932013-01-09 Anton Blanchard <anton@samba.org>
9694
9695 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9696 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9697 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9698 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9699
0c07e3ea
JM
97002013-01-09 Joseph Myers <joseph@codesourcery.com>
9701
9702 * include/features.h (__USE_ANSI): Remove.
9703
232f7002
RM
97042013-01-09 Roland McGrath <roland@hack.frob.com>
9705
ad98e30c
RM
9706 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9707
232f7002
RM
9708 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9709
950c99ca
SP
97102013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9711
b5792741
SP
9712 * sysdeps/s390/fpu/libm-test-ulps: Update.
9713
47cf2278
SP
9714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9715
950c99ca
SP
9716 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9717 (__acr): Likewise.
9718 (__cpy): Likewise.
9719 (norm): Likewise.
9720 (denorm): Likewise.
9721 (__mp_dbl): Likewise.
9722 (__dbl_mp): Likewise.
9723 (add_magnitudes): Likewise.
9724 (sub_magnitudes): Likewise.
9725 (__add): Likewise.
9726 (__sub): Likewise.
9727 (__mul): Likewise.
9728 (__inv): Likewise.
9729 (__dvd): Likewise.
9730 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9731 (__acr): Likewise.
9732 (__cpy): Likewise.
9733 (norm): Likewise.
9734 (denorm): Likewise.
9735 (__mp_dbl): Likewise.
9736 (__dbl_mp): Likewise.
9737 (add_magnitudes): Likewise.
9738 (sub_magnitudes): Likewise.
9739 (__add): Likewise.
9740 (__sub): Likewise.
9741 (__mul): Likewise.
9742 (__inv): Likewise.
9743 (__dvd): Likewise.
9744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9745 (__acr): Likewise.
9746 (__cpy): Likewise.
9747 (norm): Likewise.
9748 (denorm): Likewise.
9749 (__mp_dbl): Likewise.
9750 (__dbl_mp): Likewise.
9751 (add_magnitudes): Likewise.
9752 (sub_magnitudes): Likewise.
9753 (__add): Likewise.
9754 (__sub): Likewise.
9755 (__mul): Likewise.
9756 (__inv): Likewise.
9757 (__dvd): Likewise.
9758
eede9df9
JM
97592013-01-08 Joseph Myers <joseph@codesourcery.com>
9760
9761 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9762 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9763 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9764 2 && __USE_EXTERN_INLINES]: Likewise.
9765
c40ea3d9
AJ
97662013-01-08 Andreas Jaeger <aj@suse.de>
9767
9768 [BZ# 14985]
9769 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9770 Remove.
9771 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9772 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9773
2ccdea26
AB
97742013-01-07 Anton Blanchard <anton@samba.org>
9775
9776 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9777 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9778 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9779 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9780 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9781 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9782 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9783 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9785 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9786 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9787 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9788 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9789 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9790 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9791 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9792 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9793 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9794 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9795 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9796 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9797 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9798 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9799 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9800 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9801 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9802 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9803 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9804 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9805 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9806 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9808 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9809 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9810 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9811 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9812 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9813 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9814 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9815 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9816 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9817 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9818 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9819
a9708fed
JM
98202013-01-07 Joseph Myers <joseph@codesourcery.com>
9821
375607b9
JM
9822 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9823 (__MALLOC_PMT): Likewise.
9824 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9825 [__GNUC__], only on [_LIBC].
9826 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9827 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9828 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9829 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9830 forward declaration.
9831 (realloc_hook_ini): Likewise.
9832 (memalign_hook_ini): Likewise.
9833 (__libc_memalign): Do not use __MALLOC_PMT in variable
9834 declaration.
9835 (__libc_valloc): Likewise.
9836 (__libc_pvalloc): Likewise.
9837 (__libc_calloc): Likewise.
9838 (__posix_memalign): Likewise.
9839
a9708fed
JM
9840 [BZ #14996]
9841 * math/s_casinh.c: Include <float.h>.
9842 (__casinh): Do not do computation with squaring and square root
9843 for large arguments.
9844 * math/s_casinhf.c: Include <float.h>.
9845 (__casinhf): Do not do computation with squaring and square root
9846 for large arguments.
9847 * math/s_casinhl.c: Include <float.h>.
9848 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9849 (__casinhl): Do not do computation with squaring and square root
9850 for large arguments.
9851 * math/libm-test.inc (casin_test): Add more tests.
9852 (casinh_test): Likewise.
9853 * sysdeps/i386/fpu/libm-test-ulps: Update.
9854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9855
afec409a
L
98562013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9857
9858 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9859 (__x86_64_raw_data_cache_size): Likewise.
9860 (__x86_64_data_cache_size_half): Likewise.
9861 (__x86_64_raw_data_cache_size_half): Likewise.
9862 (__x86_64_shared_cache_size): Likewise.
9863 (__x86_64_raw_shared_cache_size): Likewise.
9864 (__x86_64_shared_cache_size_half): Likewise.
9865 (__x86_64_raw_shared_cache_size_half): Likewise.
9866 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9867 to ...
9868 (__x86_data_cache_size): This.
9869 (__x86_64_raw_data_cache_size): Renamed to ...
9870 (__x86_raw_data_cache_size): This.
9871 (__x86_64_data_cache_size_half): Renamed to ...
9872 (__x86_data_cache_size_half): This.
9873 (__x86_64_raw_data_cache_size_half): Renamed to ...
9874 (__x86_raw_data_cache_size_half): This.
9875 (__x86_64_shared_cache_size): Renamed to ...
9876 (__x86_shared_cache_size): This.
9877 (__x86_64_raw_shared_cache_size): Renamed to ...
9878 (__x86_raw_shared_cache_size): This.
9879 (__x86_64_shared_cache_size_half): Renamed to ...
9880 (__x86_shared_cache_size_half): This.
9881 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9882 (__x86_raw_shared_cache_size_half): This.
9883 * sysdeps/x86_64/memcpy.S: Updated.
9884 * sysdeps/x86_64/memset.S: Likewise.
9885 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9886 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9887 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9888
0b3986d0
DM
98892013-01-04 David S. Miller <davem@davemloft.net>
9890
9891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9892
e47686e9
AS
98932013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9894
d643bac1
AS
9895 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9896 1 to avoid redefinition warning.
9897 (__USE_GNU): Don't define.
9898 (init_signaling_nan): Protoize.
9899
e47686e9
AS
9900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9901
b18decba
SP
99022013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9903
fffb407f
SP
9904 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9906 (__cpymn): Likewise.
9907 (norm): Remove commented code.
9908 (denorm): Likewise.
9909 (__mp_dbl): Likewise.
9910 (__inv): Likewise.
9911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9912 (__cpymn): Likewise.
9913 (norm): Remove commented code.
9914 (denorm): Likewise.
9915 (__mp_dbl): Likewise.
9916 (__inv): Likewise.
9917
b18decba
SP
9918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9919 mp_no value for 1.0 and 2.0.
9920 (norm): Use RADIXI instead of radixi.d.
9921 (denorm): Likewise.
9922 (__mul): Use 0.0 instead of zero.d.
9923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9924 mp_no value for 1.0 and 2.0.
9925 (norm): Use RADIXI instead of radixi.d.
9926 (denorm): Likewise.
9927 (__mul): Use 0.0 instead of zero.d.
9928
cdc1c96f
JM
99292013-01-04 Joseph Myers <joseph@codesourcery.com>
9930
9931 [BZ #14994]
9932 * math/s_casinh.c (__casinh): Reduce finite argument to first
9933 quadrant then set signs of results at the end.
9934 * math/s_casinhf.c (__casinhf): Likewise.
9935 * math/s_casinhl.c (__casinhl): Likewise.
9936 * math/libm-test.inc (casin_test): Add more tests.
9937 (casinh_test): Likewise.
9938 * sysdeps/i386/fpu/libm-test-ulps: Update.
9939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9940
302913e1
SP
99412013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9942
6420d207
SP
9943 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9944
a9e48ab4
SP
9945 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9946
b7837264
SP
9947 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9948 declarations.
9949 (denorm): Likewise.
9950 (__mp_dbl): Likewise.
9951 (__inv): Likewise.
9952
f8af25d2
SP
9953 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9954 and adjust the header comment.
9955
302913e1
SP
9956 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9957 variable name from declaration.
9958
5d7dd1ca
L
99592013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9960
9961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9962 Initialize COMMON_CPUID_INDEX_7 element.
9963 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9964 (CPUID_RTM): Likewise.
9965 (HAS_RTM): Likewise.
9966 (COMMON_CPUID_INDEX_7): New enum.
9967
2f5f40f4
AS
99682013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9969
9970 [BZ #14981]
9971 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9972 size is zero, record memory as freed.
9973
4056f4a0
AJ
99742013-01-03 Andreas Jaeger <aj@suse.de>
9975
9976 * po/ia.po: Add new Interlingua translation.
9977
ab15736f 99782012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9979
9980 * locale/programs/localedef.c: Fix description of '--posix' flag.
9981
568035b7
JM
99822013-01-02 Joseph Myers <joseph@codesourcery.com>
9983
e6898b8d
JM
9984 * NEWS: Update dates in second copyright notice.
9985 * README: Update copyright dates in example.
9986 * manual/libc.texinfo: Update copyright dates.
9987 * scripts/test-installation.pl: Update copyright date in --version
9988 output.
9989
0e2f9562
JM
9990 * hurd/ctty-input.c: Fix copyright notice formatting.
9991 * hurd/ctty-output.c: Likewise.
9992 * hurd/dtable.c: Likewise.
9993 * hurd/hurd-raise.c: Likewise.
9994 * hurd/hurdprio.c: Likewise.
9995 * hurd/msgportdemux.c: Likewise.
9996 * misc/sys/file.h: Likewise.
9997 * misc/sys/ioctl.h: Likewise.
9998 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9999 * sysdeps/mach/hurd/chdir.c: Likewise.
10000 * sysdeps/mach/hurd/fchdir.c: Likewise.
10001 * sysdeps/mach/hurd/rename.c: Likewise.
10002 * sysdeps/mach/hurd/rmdir.c: Likewise.
10003 * sysdeps/mach/hurd/seekdir.c: Likewise.
10004 * sysdeps/mach/hurd/setsid.c: Likewise.
10005 * sysdeps/posix/wait3.c: Likewise.
10006
568035b7
JM
10007 * All files with FSF copyright notices: Update copyright dates
10008 using scripts/update-copyrights.
10009 * intl/plural.c: Regenerated.
10010 * locale/programs/charmap-kw.h: Likewise.
10011 * locale/programs/locfile-kw.h: Likewise.
10012
da08f647
SP
100132013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10014
0f5477af
SP
10015 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10016 four values.
10017
44e0d4c2
SP
10018 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10019 calculation loop and add branch prediction.
10020
4d55b4e5
SP
10021 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10022 check access beyond bounds of m1np.
10023
da08f647
SP
10024 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10025 MPTWO.
10026 (__inv): Remove local variable MPTWO to use the global
10027 constant.
10028 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10029 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10030 variable MPTWO.
10031 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10032 MP3HALFS static const.
10033
8e051029
DM
100342013-01-01 David S. Miller <davem@davemloft.net>
10035
10036 * po/ca.po: Update from translation team.
10037
f4cf5f2d
JM
100382013-01-01 Joseph Myers <joseph@codesourcery.com>
10039
10040 * scripts/update-copyrights: New file.
10041 * Makeconfig: Reformat copyright notice.
10042 * ctype/ctype.h: Likewise.
10043 * debug/swprintf_chk.c: Likewise.
10044 * elf/dl-cache.c: Likewise.
10045 * elf/dl-debug.c: Likewise.
10046 * elf/dl-object.c: Likewise.
10047 * grp/initgroups.c: Likewise.
10048 * hurd/Makefile: Likewise.
10049 * hurd/hurd/signal.h: Likewise.
10050 * hurd/hurdfault.c: Likewise.
10051 * hurd/hurdioctl.c: Likewise.
10052 * hurd/hurdlookup.c: Likewise.
10053 * hurd/intr-msg.c: Likewise.
10054 * iconv/gconv_open.c: Likewise.
10055 * libio/swprintf.c: Likewise.
10056 * locale/lc-ctype.c: Likewise.
10057 * locale/nl_langinfo.c: Likewise.
10058 * mach/Machrules: Likewise.
10059 * mach/Makefile: Likewise.
10060 * malloc/obstack.h: Likewise.
10061 * manual/Makefile: Likewise.
10062 * manual/tsort.awk: Likewise.
10063 * misc/bits/stab.def: Likewise.
10064 * nis/nis_print_group_entry.c: Likewise.
10065 * nis/nis_table.c: Likewise.
10066 * nis/nss_compat/compat-pwd.c: Likewise.
10067 * nis/nss_compat/compat-spwd.c: Likewise.
10068 * po/Makefile: Likewise.
10069 * posix/fnmatch.c: Likewise.
10070 * posix/regex.h: Likewise.
10071 * resolv/Makefile: Likewise.
10072 * resolv/nss_dns/dns-network.c: Likewise.
10073 * resolv/res_hconf.c: Likewise.
10074 * scripts/gen-sorted.awk: Likewise.
10075 * soft-fp/soft-fp.h: Likewise.
10076 * stdio-common/printf.h: Likewise.
10077 * stdlib/monetary.h: Likewise.
10078 * stdlib/random.c: Likewise.
10079 * stdlib/random_r.c: Likewise.
10080 * sysdeps/generic/Makefile: Likewise.
10081 * sysdeps/gnu/Makefile: Likewise.
10082 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10090 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10091 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10092 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10093 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10094 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10095 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10096 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10097 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10098 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10099 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10100 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10105 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10106 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10107 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10108 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10109 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10110 * sysdeps/mach/hurd/errnos.awk: Likewise.
10111 * sysdeps/mach/hurd/fork.c: Likewise.
10112 * sysdeps/mach/hurd/getcwd.c: Likewise.
10113 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10114 * sysdeps/mach/hurd/mmap.c: Likewise.
10115 * sysdeps/mach/hurd/utimes.c: Likewise.
10116 * sysdeps/mach/hurd/xmknod.c: Likewise.
10117 * sysdeps/posix/profil.c: Likewise.
10118 * sysdeps/posix/readdir_r.c: Likewise.
10119 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10120 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10121 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10122 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10124 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10125 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10126 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10127 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10128 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10129 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10130 * sysdeps/pthread/lio_listio.c: Likewise.
10131 * sysdeps/sparc/dl-procinfo.h: Likewise.
10132 * sysdeps/unix/i386/sysdep.S: Likewise.
10133 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10134 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10135 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10136 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10138 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10139 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10140 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10141 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10142 * sysdeps/wordsize-32/divdi3.c: Likewise.
10143 * time/sys/time.h: Likewise.
10144 * wcsmbs/Makefile: Likewise.
10145
0549fbba
DM
101462013-01-01 David S. Miller <davem@davemloft.net>
10147
a141f1a7
DM
10148 * po/fr.po: Update from translation team.
10149
0549fbba
DM
10150 * catgets/gencat.c: Update copyright year.
10151 * csu/version.c: Likewise.
10152 * debug/catchsegv.sh: Likewise.
10153 * debug/pcprofiledump.c: Likewise.
10154 * debug/xtrace.sh: Likewise.
10155 * elf/ldconfig.c: Likewise.
10156 * elf/ldd.bash.in: Likewise.
10157 * elf/pldd.c: Likewise.
10158 * elf/sotruss.ksh: Likewise.
10159 * elf/sprof.c: Likewise.
10160 * iconv/iconv_prog.c: Likewise.
10161 * iconv/iconvconfig.c: Likewise.
10162 * locale/programs/locale.c: Likewise.
10163 * locale/programs/localedef.c: Likewise.
10164 * login/programs/pt_chown.c: Likewise.
10165 * malloc/memusage.sh: Likewise.
10166 * malloc/memusagestat.c: Likewise.
10167 * malloc/mtrace.pl: Likewise.
10168 * nscd/nscd.c: Likewise.
10169 * nss/getent.c: Likewise.
10170 * nss/makedb.c: Likewise.
10171 * posix/getconf.c: Likewise.
10172
18ea052c
SP
101732012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10174
10175 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10176 numbers.
10177
9c89fca6
MF
101782012-12-30 Mike Frysinger <vapier@gentoo.org>
10179
10180 * math/bits/mathcalls.h (modf): Use __nonnull.
10181
085ec079
SP
101822012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10183
10184 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10185 (split): Use macro CN instead of the bare value.
10186 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10187 could be used.
10188 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10189 instead of the bare value.
10190 (power1): Likewise.
10191
6d9f97e1
SP
101922012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10193
d63f73be
SP
10194 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10195 __ATAN_TWOM.
10196 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10197
6d9f97e1
SP
10198 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10199 their values.
10200 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10201 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10202 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10203 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10204
4c4febf5
AJ
102052012-12-28 Andreas Jaeger <aj@suse.de>
10206
af5843ef
AJ
10207 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10208 values are from Linux 3.7.
10209
4c4febf5
AJ
10210 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10211 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10212
99136f82
SP
102132012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10214
2f216c3c 10215 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10216 TRUE case.
10217
99136f82
SP
10218 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10219 (norm): Likewise.
10220 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10221 variables with preprocessor constants.
10222 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10223 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10224 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10225
7fffbdff
BH
102262012-12-27 Bruno Haible <bruno@clisp.org>
10227
10228 [BZ #14317]
10229 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10230 only if needed.
10231
b76eb5f0
SP
102322012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10233
31a7fe5c
SP
10234 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10235 and use variable directly.
10236 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10237
b76eb5f0
SP
10238 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10239 MPONE.
10240 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10241 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10242 variable MPONE.
10243 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10244 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10245 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10246 include directive. Remove local variable MPONE.
10247 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10248 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10249 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10250
2c8bfe7d
DM
102512012-12-25 David S. Miller <davem@davemloft.net>
10252
10253 * version.h (RELEASE): Set to "development".
10254 (VERSION): Set to "2.17.90".
10255 * NEWS: Add 2.18 section.
10256
147d03b0
DM
102572012-12-21 David S. Miller <davem@davemloft.net>
10258
10259 * po/hr.po: Update from translation team.
10260
a8ebb2b9
AK
102612012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10262
10263 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10264
95b4f1b6
SE
102652012-12-19 Steve Ellcey <sellcey@mips.com>
10266
b2d94007 10267 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10268
cedb2a90
MS
102692012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10270
10271 * manual/contrib.texi (Contributors): Spelling correction.
10272
bbf527d6
DM
102732012-12-15 David S. Miller <davem@davemloft.net>
10274
10275 * po/ru.po: Update from translation team.
10276
bc38c906
DM
102772012-12-13 David S. Miller <davem@davemloft.net>
10278
85429b1a
DM
10279 * NEWS: Mention IFUNC testsuite enhancements.
10280
d283e353
DM
10281 * po/pl.po: Update from translation team.
10282 * po/bg.po: Likewise.
10283
bc38c906
DM
10284 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10285 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10286
a181b0d7
DM
102872012-12-11 David S. Miller <davem@davemloft.net>
10288
4641d57e
DM
10289 * po/sv.po: Update from translation team.
10290
f7bc6495
DM
10291 * po/vi.po: Update from translation team.
10292
6fc9048f
DM
10293 * po/cs.po: Update from translation team.
10294
a181b0d7
DM
10295 * po/de.po: Update from translation team.
10296 * po/eo.po: Likewise.
10297 * po/nl.po: Likewise.
10298
f70bfe80
SP
102992012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10300
3c8b4190
SP
10301 [BZ #14246]
10302 * manual/argp.texi (Argp Helper Functions): Move node to follow
10303 Argp Parsing State.
10304
f70bfe80
SP
10305 [BZ #14872]
10306 * manual/conf.texi (Limits on File System Capacity): Mention if
10307 terminating null is included in the max size.
10308
188f0adf
AJ
103092012-12-10 Andreas Jaeger <aj@suse.de>
10310
10311 * po/cs.po: Update from translation team.
10312
56e7d3ad
SP
103132012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10314
10315 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10316 void pointer and cast to uintptr_t.
10317 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10318 path.
10319 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10320 * sysdeps/s390/s390-64/memset.S: Likewise.
10321
76f2d2ea 103222012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10323
10324 [BZ #14833]
10325 * menual/message.texi (Message Translation): Fix typos.
10326 (Helper programs for gettext): Likewise.
10327
67cbf9a2
AS
103282012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10329
10330 [BZ #14898]
10331 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10332 Change to -1.
10333
682d0e9a
DM
103342012-12-07 David S. Miller <davem@davemloft.net>
10335
10336 * po/libc.pot: Update.
10337
573cd484
RH
103382012-12-07 Richard Henderson <rth@redhat.com>
10339
7e9da188 10340 [BZ #10114]
573cd484
RH
10341 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10342 normal/normal case to before the switch.
10343 (_FP_DIV): Likewise.
10344
e933a943
MF
103452012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10346 Mike Frysinger <vapier@gentoo.org>
10347
10348 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10349 check for __NR_fadvise64_64.
10350
82123268
CM
103512012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10352
10353 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10354 0, not just to plain "0" as a statement.
10355 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10356 with cw.
10357
d9814526
JM
103582012-12-06 Joseph Myers <joseph@codesourcery.com>
10359
10360 * NEWS: Use sourceware.org in Bugzilla URL.
10361
7728c574
SP
103622012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10363
f16946dd
SP
10364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10365 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10366
5704bbcb
SP
10367 * stdio-common/tst-put-error.c (do_test): Add newline to the
10368 padded test to ensure flush.
10369
17aa0516
JL
103702012-12-05 Jeff Law <law@redhat.com>
10371
10372 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10373
363313b5
JM
103742012-12-05 Joseph Myers <joseph@codesourcery.com>
10375
effbd42a
JM
10376 * README: Don't refer to ports add-on as distributed separately.
10377 Mention AArch64 in list of systems supported in the ports add-on.
10378
87600365
JM
10379 * LICENSES: Add more non-FSF copyright and license notices.
10380
a0d7066a
JM
10381 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10382 ((unused)).
10383
66ca5a5b
JM
10384 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10385
363313b5
JM
10386 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10387 10000 as width of padded output.
10388
b37984ad
JM
103892012-12-04 Joseph Myers <joseph@codesourcery.com>
10390
9003570a
JM
10391 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10392
b37984ad
JM
10393 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10394 variable LX with __attribute__ ((unused)).
10395 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10396 Likewise.
10397 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10398 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10399 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10400 with __attribute__ ((unused)).
10401
c8df52ec
DM
104022012-12-04 David S. Miller <davem@abraco.davemloft.net>
10403
10404 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10405
b3b099af
JM
104062012-12-04 Joseph Myers <joseph@codesourcery.com>
10407
c33aa6e3
JM
10408 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10409 (CFLAGS-nldbl-acos.c): New variable.
10410 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10411 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10412 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10413 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10414 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10415 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10416 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10417 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10418 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10419 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10420 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10421 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10422 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10423 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10424 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10425 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10426 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10427 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10428 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10429 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10430 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10431 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10432 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10433 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10434 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10435 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10436 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10437 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10438 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10439 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10440 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10441 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10442 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10443 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10444 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10445 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10446 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10447 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10448 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10449 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10450 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10451 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10452 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10453 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10454 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10455 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10456 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10457 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10458 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10459 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10460 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10461 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10462 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10463 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10464 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10465 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10466 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10467 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10468 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10469 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10470 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10471 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10472 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10473 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10474 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10475 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10476 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10477 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10478 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10479 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10480 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10481 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10482 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10483 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10484 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10485 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10486 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10487 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10488 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10489 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10490 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10491 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10492 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10493 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10494 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10495 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10496 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10497 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10498 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10499 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10500 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10501 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10502 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10503 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10504 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10505 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10506 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10507
20f0018d
JM
10508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10509 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10510
b3b099af
JM
10511 [BZ #14914]
10512 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10513 whole low double instead of just low 47 bits when splitting values
10514 into two parts.
10515
029264d1
AM
105162012-12-03 Allan McRae <allan@archlinux.org>
10517
10518 * manual/stdio.texi (Predefined Printf Handlers): Remove
10519 @hsep and @vsep usage.
10520
c9d6789e
MF
105212012-12-03 Mike Frysinger <vapier@gentoo.org>
10522
10523 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10524 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10525
4b7634a5
JL
105262012-12-03 Jeff Law <law@redhat.com>
10527
10528 * time/sys/time.h (settimeofday): Do not mark TV argument
10529 as __nonnull.
10530
eb6cbd24
MF
105312012-12-01 Mike Frysinger <vapier@gentoo.org>
10532
10533 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10534 when currently writing and seek to current position when not.
10535 * libio/Makefile (tests): Remove bug-fclose1.
10536 * libio/bug-fclose1.c: Delete.
10537
f638872a
JM
105382012-12-01 Joseph Myers <joseph@codesourcery.com>
10539
10540 * manual/arith.texi (feenableexcept): Fix typo.
10541 (fedisableexcept): Likewise.
10542
48085d14
RM
105432012-11-30 Roland McGrath <roland@hack.frob.com>
10544
10545 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10546 second, differently-typed declaration, rather than a cast.
10547
1a538b9f
SP
105482012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10549
10550 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10551 * include/rpc/svc.h: ... here.
10552
d07f2ff1 105532012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10554
10555 [BZ #13013]
10556 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10557 depending n and resplen2 to catch cases where answer
10558 equals answerp2.
10559
c93ec1f0
CD
105602012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10561
10562 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10563 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10564
37db69de
MF
105652012-11-29 Mike Frysinger <vapier@gentoo.org>
10566
10567 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10568
e10c4e4f
RM
105692012-11-29 Roland McGrath <roland@hack.frob.com>
10570
10571 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10572
2af1b328
JL
105732012-11-28 Jeff Law <law@redhat.com>
10574
10575 [BZ #13761]
10576 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10577 dataset_temporary. Track alloca usage into alloca_used.
10578 If dataset is large allocate and release it via malloc/free.
10579
111db5b1
FW
105802012-06-04 Florian Weimer <fweimer@redhat.com>
10581
f06cc227 10582 [BZ #14197]
111db5b1
FW
10583 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10584
dd694abd
DM
105852012-11-28 David S. Miller <davem@davemloft.net>
10586
10587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10588
9984dd01
JM
105892012-11-28 Joseph Myers <joseph@codesourcery.com>
10590
10591 [BZ #14803]
10592 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10593 of pi/2 rounded to nearest to 64 bits.
10594 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10595 nearest to 64 bits.
10596 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10597 bits.
10598
14bc93a9
JL
105992012-11-28 Jeff Law <law@redhat.com>
10600 Martin Osvald <mosvald@redhat.com>
10601
10602 [BZ #14889]
10603 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10604 * sunrpc/svc.c: Include time.h.
10605 (__svc_accept_failed): New function.
10606 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10607 any reason other than EINTR, call __svc_accept_failed.
10608 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10609 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10610
e3c6aa3a
AS
106112012-11-28 Andreas Schwab <schwab@suse.de>
10612
10613 * scripts/abilist.awk: Also handle indirect functions in .opd
10614 section.
10615
1bead169
JM
106162012-11-28 Joseph Myers <joseph@codesourcery.com>
10617
10618 [BZ #13881]
10619 * sysdeps/x86/fpu/powl_helper.c: New file.
10620 * sysdeps/x86/fpu/Makefile: Likewise.
10621 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10622 (p3): New object.
10623 (__ieee754_powl): Use __powl_helper for finite arguments except
10624 integer exponents below 8.
10625 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10626 (p3): New object.
10627 (__ieee754_powl): Use __powl_helper for finite arguments except
10628 integer exponents below 8.
10629 * math/libm-test.inc (pow_test): Add more tests and enable some
10630 previously disabled tests.
10631 * sysdeps/i386/fpu/libm-test-ulps: Update.
10632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10633
0817d63d
SP
106342012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10635 Carlos O'Donell <carlos_odonell@mentor.com>
10636
10637 * nss/makedb.c (is_prime): Assert that input is odd and greater
10638 than 4. Note that fact in a comment too.
10639 (next_prime): Add 4 to input.
10640
de2fd463
SP
106412012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10642
10643 [BZ #11741]
10644 * libio/Makefile (tests): Add test case tst-fwrite-error.
10645 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10646 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10647 * libio/tst-fwrite-error.c: New test case.
10648
c515fb51
L
106492012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10650
10651 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10652 before casting to void *.
10653 * include/libc-internal.h (__pointer_type): New macro.
10654 (__integer_if_pointer_type_sub): Likewise.
10655 (__integer_if_pointer_type): Likewise.
10656 (cast_to_integer): Likewise.
10657 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10658 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10659 before casting to atomic64_t.
10660 (atomic_exchange_acq): Likewise.
10661 (__arch_exchange_and_add_body): Likewise.
10662 (__arch_add_body): Likewise.
10663 (atomic_add_negative): Likewise.
10664 (atomic_add_zero): Likewise.
10665
4cf77aa9
JM
106662012-11-26 Joseph Myers <joseph@codesourcery.com>
10667
10668 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10669 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10670 (add_fdes): Likewise.
10671 (linear_search_fdes): Likewise.
10672 (binary_search_unencoded_fdes): Likewise.
10673
d260b3b4
AS
106742012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10675
10676 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10677
67060746
AC
106782012-11-24 Adam Conrad <adconrad@0c3.net>
10679
10680 * configure.in: Autodetect C++ header directories.
10681 * configure: Regenerated.
10682
800938a1
MF
106832012-11-23 Mike Frysinger <vapier@gentoo.org>
10684
10685 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10686
4e6e34e6
AS
106872012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10688
10689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10690
7c7feb47
JM
106912012-11-22 Joseph Myers <joseph@codesourcery.com>
10692
7184dcdf
JM
10693 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10694 LDBL_MANT_DIG == 106]: Disable some tests.
10695 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10696 Likewise.
10697 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10698 Likewise.
10699
0a42601f
JM
10700 [BZ #14871]
10701 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10702 input for small inputs. Return +/- pi/2 for large inputs.
10703 * math/libm-test.inc (atan_test): Add more tests.
10704
79c9b9fe
JM
10705 * sysdeps/generic/unwind-dw2-fde-glibc.c
10706 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10707 __attribute__ ((unused)).
10708
c60d3bf2
JM
10709 [BZ #14645]
10710 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10711 x * y if x and y are nonzero and z is zero.
10712
ef1e0867
JM
10713 [BZ #14811]
10714 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10715 nonzero exponents with absolute value below 0x1p-117 to +/-
10716 0x1p-117.
10717
1468ded3
JM
10718 [BZ #14869]
10719 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10720 up arguments below 2**-450, not just those below 2**-500.
10721 * math/libm-test.inc (hypot_test): Add another test.
10722
8e27e3cc
JM
10723 [BZ #14868]
10724 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10725 Return a+b for ratio over 2**120, not 2**60.
10726 * math/libm-test.inc (hypot_test): Add another test.
10727
c9c0279b
JM
10728 * math/libm-test.inc (clog_test): Use
10729 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10730 (clog10_test): Likewise.
10731
7c7feb47
JM
10732 [BZ #6778]
10733 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10734
fff1530e
AS
107352012-11-22 Andreas Schwab <schwab@suse.de>
10736
10737 * sysdeps/i386/fpu/libm-test-ulps: Update.
10738
94558d30
PT
107392012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10740
10741 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10742 printf output with newline.
10743
7e1be741
L
107442012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10745
6bfea974
L
10746 [BZ #14865]
10747 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10748 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10749 -z nodlopen, -z initfirst and -z execstack support.
10750 * configure: Regenerated.
10751
7e1be741
L
10752 * elf/elf.h (DF_1_NODIRECT): New macro.
10753 (DF_1_IGNMULDEF): Likewise.
10754 (DF_1_NOKSYMS): Likewise.
10755 (DF_1_NOHDR): Likewise.
10756 (DF_1_EDITED): Likewise.
10757 (DF_1_NORELOC): Likewise.
10758 (DF_1_SYMINTPOSE): Likewise.
10759 (DF_1_GLOBAUDIT): Likewise.
10760 (DF_1_SINGLETON): Likewise.
10761 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10762 DT_1_SUPPORTED_MASK bits.
10763 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10764
105ce2ce
CD
107652012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10766
10767 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10768
123be9de
TS
107692012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10770
d072f3f7
TS
10771 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10772 macro.
10773
123be9de
TS
10774 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10775 (sendmmsg): Move declarations...
10776 * socket/sys/socket.h: ... here.
10777 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10778 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10779 include it from...
10780 * socket/recvmmsg.c: ... this new file.
10781 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10782 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10783 definition of __sendmmsg hidden.
10784 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10785 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10786 Move ENOSYS stub into and include it from...
10787 * socket/sendmmsg.c: ... this new file.
10788 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10789 (sysdep_routines): Move recvmmsg and sendmmsg...
10790 * socket/Makefile (routines): ... here.
10791 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10792 (GLIBC_PRIVATE): Add __sendmmsg.
10793 * include/sys/socket.h (__sendmmsg): Add declarations.
10794 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10795 sendmmsg.
10796
cf9a5d18
JM
107972012-11-20 Joseph Myers <joseph@codesourcery.com>
10798
10799 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10800 variable I1 with __attribute__ ((unused)).
10801 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10802
ecd4caf9
JM
108032012-11-19 Joseph Myers <joseph@codesourcery.com>
10804
be14d48f
JM
10805 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10806 DUMMY variables with __attribute__ ((unused)).
10807
ecd4caf9
JM
10808 * bits/byteswap.h: Include <bits/types.h>.
10809 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10810
986cab95
PT
108112012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10812
10813 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10814 string_t. Do not manually set errno.
10815 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10816 length with __strnlen. Make sure to both set errno and return it on
10817 failure.
10818
6d33cc9d
DM
108192012-11-19 David S. Miller <davem@davemloft.net>
10820
10821 With help from Joseph Myers.
10822 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10823 very large arguments properly.
10824 * math/libm-test.inc (atan_test): New tests.
10825 (atan2_test): New tests.
10826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10828
ee663277
JM
108292012-11-19 Joseph Myers <joseph@codesourcery.com>
10830
877f2d8e
JM
10831 [BZ #14856]
10832 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10833 Define to 3.
10834
116fc08a
JM
10835 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10836 [POSIX] (EADDRNOTAVAIL): Likewise.
10837 [POSIX] (EAFNOSUPPORT): Likewise.
10838 [POSIX] (EALREADY): Likewise.
10839 [POSIX] (ECONNABORTED): Likewise.
10840 [POSIX] (ECONNREFUSED): Likewise.
10841 [POSIX] (ECONNRESET): Likewise.
10842 [POSIX] (EDESTADDRREQ): Likewise.
10843 [POSIX] (EDQUOT): Likewise.
10844 [POSIX] (EHOSTUNREACH): Likewise.
10845 [POSIX] (EIDRM): Likewise.
10846 [POSIX] (EISCONN): Likewise.
10847 [POSIX] (ELOOP): Likewise.
10848 [POSIX] (EMULTIHOP): Likewise.
10849 [POSIX] (ENETDOWN): Likewise.
10850 [POSIX] (ENETUNREACH): Likewise.
10851 [POSIX] (ENOBUFS): Likewise.
10852 [POSIX] (ENODATA): Likewise.
10853 [POSIX] (ENOLINK): Likewise.
10854 [POSIX] (ENOMSG): Likewise.
10855 [POSIX] (ENOPROTOOPT): Likewise.
10856 [POSIX] (ENOSR): Likewise.
10857 [POSIX] (ENOSTR): Likewise.
10858 [POSIX] (ENOTCONN): Likewise.
10859 [POSIX] (ENOTSOCK): Likewise.
10860 [POSIX] (EOPNOTSUPP): Likewise.
10861 [POSIX] (EOVERFLOW): Likewise.
10862 [POSIX] (EPROTO): Likewise.
10863 [POSIX] (EPROTONOSUPPORT): Likewise.
10864 [POSIX] (EPROTOTYPE): Likewise.
10865 [POSIX] (ESTALE): Likewise.
10866 [POSIX] (ETIME): Likewise.
10867 [POSIX] (ETXTBSY): Likewise.
10868 [POSIX] (EWOULDBLOCK): Likewise.
10869 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10870 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10871 [POSIX] (SEEK_CUR): Likewise.
10872 [POSIX] (SEEK_END): Likewise.
10873 [POSIX || UNIX98] (mode_t): Do not require.
10874 [POSIX] (off_t): Likewise.
10875 [POSIX] (pid_t): Likewise.
10876 [POSIX] (sys/stat.h): Do not allow header.
10877 [POSIX] (unistd.h): Likewise.
10878 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10879 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10880 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10881 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10882 require.
10883 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10884 sigevent): Specify elements.
10885 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10886 entry.
10887 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10888 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10889
a483863f
JM
10890 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10891 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10892 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10893 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10894 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10895 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10896 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10897 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10898 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10899 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10900 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10901 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10902 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10903 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10904 Likewise.
10905 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10906 Likewise.
10907 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10908 Likewise.
10909 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10910 Likewise.
10911 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10912 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10913 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10914 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10915 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10916 Specify lower bound on value.
10917 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10918 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10919 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10920 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10921 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10922 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10923 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10924 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10925 value.
10926 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10927 as optional.
10928 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10929 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10930 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10931 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10932 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10933 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10934 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10935 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10936 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10937 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10938 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10939 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10940 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10941 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10942 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10943 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10944 entry.
10945 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10946 optional.
10947 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10948 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10949 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10950 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10951 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10952 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10953 Likewise.
10954 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10955 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10956 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10957 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10958 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10959 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10960 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10961 as optional.
10962 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10963 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10964 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10965 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10966 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10967 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10968 specify as optional.
10969 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10970 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10971 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10972 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10973 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10974 [XPG3] (NL_LANGMAX): Likewise.
10975 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10976 [POSIX || XPG3] (NL_NMAX): Likewise.
10977 [POSIX || XPG3] (NL_SETMAX): Likewise.
10978 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10979 [XPG3] (NZERO): Likewise.
10980 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10981 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10982 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10983 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10984 (REG_ERANGE): Expect.
10985 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10986 optional-constant.
10987 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10988 Use (void) in prototype.
10989 [POSIX] (*_t): Allow.
10990 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10991 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10992 (WRDE_BADVAL): Expect.
10993
5ba924e3
JM
10994 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10995 expect.
10996 [XPG3 || XPG4] (O_RSYNC): Likewise.
10997 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10998 Likewise.
10999 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11000 [XPG3 || XPG4] (sigqueue): Likewise.
11001 [XPG3 || XPG4] (sigtimedwait): Likewise.
11002 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11003 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11004 [XPG3 || XPG4] (vsnprintf): Likewise.
11005 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11006 Likewise.
11007 [XPG3 || XPG4] (blksize_t): Likewise.
11008 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11009 Likewise.
11010 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11011 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11012 [XPG3 || XPG4] (struct itimerspec): Likewise.
11013 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11014 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11015 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11016 [XPG3 || XPG4] (clockid_t): Likewise.
11017 [XPG3 || XPG4] (timer_t): Likewise.
11018 [XPG3 || XPG4] (clock_getres): Likewise.
11019 [XPG3 || XPG4] (clock_gettime): Likewise.
11020 [XPG3 || XPG4] (clock_settime): Likewise.
11021 [XPG3 || XPG4] (nanosleep): Likewise.
11022 [XPG3 || XPG4] (timer_create): Likewise.
11023 [XPG3 || XPG4] (timer_delete): Likewise.
11024 [XPG3 || XPG4] (timer_gettime): Likewise.
11025 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11026 [XPG3 || XPG4] (timer_settime): Likewise.
11027 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11028 [XPG3 || XPG4] (getlogin_r): Likewise.
11029 [XPG3 || XPG4] (pread): Likewise.
11030 [XPG3 || XPG4] (pthread_atfork): Likewise.
11031 [XPG3 || XPG4] (pwrite): Likewise.
11032
ee663277
JM
11033 [BZ #14835]
11034 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11035 <bits/siginfo.h>.
11036
942caa16
PT
110372012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11038
e19af380
PT
11039 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11040 finalizing MALLSTREAM.
11041
942caa16
PT
11042 * sysdeps/mach/hurd/syncfs.c: New file.
11043
cfde9b46
SP
110442012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11045
11046 [BZ #14719]
11047 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11048 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11049 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11050 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11051 (_nss_dns_gethostbyname4_r): Likewise.
11052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11053 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11054
f6da27e5
PH
110552012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11056
11057 [BZ #13763]
11058 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11059
6665d4a2
SM
110602012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11061
1f51ee92
SM
11062 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11063 * elf/cache.c (print_entry): Print ",AArch64" for
11064 FLAG_AARCH64_LIB64
11065
6665d4a2
SM
11066 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11067 * elf/cache.c (print_entry): Print ",hard-float" for
11068 FLAG_ARM_LIBHF.
11069
05b227bd
DM
110702012-11-18 David S. Miller <davem@davemloft.net>
11071
11072 With help from Joseph Myers.
11073 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11074 cutoff to 2**-13.
11075 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11076 cutoff to 2**-25.
11077 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11078 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11079 small.
11080 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11081 * math/libm-test.inc (y0_test): New tests.
11082 (y1_test): New tests.
11083 * sysdeps/i386/fpu/libm-test-ulps: Update.
11084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11086
786b0b67
AS
110872012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11088
11089 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11090 64-bit targets.
11091 * configure: Regenerated.
11092
8e18b86d
DM
110932012-11-17 David S. Miller <davem@davemloft.net>
11094
11095 [BZ #14811]
11096 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11097 nonzero exponents with absolute value below 0x1p-128 to +/-
11098 0x1p-128.
11099
531f1ae0
JM
111002012-11-17 Joseph Myers <joseph@codesourcery.com>
11101
12df29e2
JM
11102 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11103
150dc1a0
JM
11104 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11105
531f1ae0
JM
11106 * posix/getconf-speclist.c: New file.
11107 * posix/posix-envs.def: Likewise.
11108 * posix/confstr.c (START_ENV_GROUP): New macro.
11109 (END_ENV_GROUP): Likewise.
11110 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11111 (KNOWN_PRESENT_ENV_STRING): Likewise.
11112 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11113 (UNKNOWN_ENVIRONMENT): Likewise.
11114 (confstr): Include posix-envs.def instead of handling
11115 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11116 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11117 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11118 (END_ENV_GROUP): Likewise.
11119 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11120 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11121 (UNKNOWN_ENVIRONMENT): Likewise.
11122 (__sysconf): Include posix-envs.def instead of handling associated
11123 cases directly here.
11124 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11125 preprocessing getconf-speclist.c rather than running getconf or
11126 generating empty file.
11127
a93f9cbc
PT
111282012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11129
11130 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11131
d64d9f87
AL
111322012-11-16 Andrej Lajovic <natrij@gmail.com>
11133
11134 [BZ #14672]
11135 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11136
447885eb
DM
111372012-11-16 David S. Miller <davem@davemloft.net>
11138
11139 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11140 smaller than LDBL_EPSILON/2.0L, just return xm1.
11141
bcbf9830
L
111422012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11143
11144 * elf/tst-array1.c (init): Set constructor priority to 1000.
11145 (fini): Set destructor priority to 1000.
11146 * elf/tst-array2dep.c: Likewise.
11147
2b766585
SP
111482012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11149
11150 [BZ #11741]
11151 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11152 (_IO_new_file_xsputn): Also return EOF if none of the input
11153 data was written when overflow failed.
11154 * libio/iopadn.c (_IO_padn): Likewise.
11155 * libio/iowpadn.c (_IO_wpadn): Likewise.
11156 * stdio-common/tst-put-error.c: Add copyright notice.
11157 (do_test): Add case for printing padded string.
11158 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11159 _IO_padn returned error.
11160 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11161 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11162 return EOF.
11163
b1848fde
SP
111642012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11165
11166 * libio/libioP.h: Add comment note that the references to C++
11167 bits are now obsolete.
11168
2fd89785
MS
111692012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11170
11171 * math/libm-test.inc (check_complex): Use asprintf.
11172
e3ea5409
JM
111732012-11-14 Joseph Myers <joseph@codesourcery.com>
11174
11175 * debug/pcprofiledump.c (print_version): Update copyright year.
11176 * malloc/memusagestat.c (print_version): Likewise.
11177
2e64d265
L
111782012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11179
11180 [BZ #14831]
11181 * elf/Makefile (tests): Add tst-audit8.
11182 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11183 ($(objpfx)tst-audit8.out): New target.
11184 (tst-audit8-ENV): New variable.
11185 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11186 audit if l_reloc_result is NULL.
11187 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11188 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11189 * elf/tst-audit8.c: New file.
11190
c485e4d2
MS
111912012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11192
11193 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11194 * misc/Makefile (CFLAGS-select.c): Define.
11195 * posix/Makefile (CFLAGS-pause.c): Define.
11196
3a0d900a
DM
111972012-11-13 David S. Miller <davem@davemloft.net>
11198
11199 * crypt/Makefile: Move test targets after toplevel Rules
11200 inclusion. Grab any necessary sysdep routines when linking.
11201 * crypt/md5.c (md5_process_block): Remove define, we will always
11202 name it __md5_process_block.
11203 (md5_finish_ctx): Update md5_process_block call.
11204 (md5_stream): Likewise.
11205 (md5_process_bytes): Likewise.
11206 (md5_process_block): Rename to __md5_process_block and move to ...
11207 * crypt/md5-block.c: ... here.
11208 * crypt/sha256.c (sha256_process_block): Move to ...
11209 * crypt/sha256-block.c: ... here.
11210 * crypt/sha512.c (sha512_process_block): Move to ...
11211 * crypt/sha512-block.c: ... here.
11212 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11213 path.
11214 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11215 * sysdeps/sparc/sparc64/multiarch/Makefile
11216 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11217 crypt subdir.
11218 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11219 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11220 multiarch changes.
11221 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11222 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11223 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11224 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11225 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11226 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11227 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11228 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11229 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11230 file.
11231 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11232 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11233 file.
11234 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11235
8ca89318
JM
112362012-11-13 Joseph Myers <joseph@codesourcery.com>
11237
e27d476a
JM
11238 * timezone/tzselect.ksh: Update from tzcode git revision
11239 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11240 * timezone/zdump.c: Likewise.
11241 * timezone/zic.c: Likewise.
11242 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11243 in TZVERSION setting, not $(PKGVERSION).
11244 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11245 REPORT_BUGS_TO settings.
11246
8ca89318
JM
11247 [BZ #14838]
11248 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11249 macro.
11250
47594329
MS
112512012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11252
11253 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11254 detection to immediately after _FP_ROUND().
11255 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11256 bits are 0.
11257
640ac3f1
DM
112582012-11-11 David S. Miller <davem@davemloft.net>
11259
11260 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11261 inttypes.h
11262 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11263 __close rather than their public counterparts.
11264
3d2577bb
JM
112652012-11-10 Joseph Myers <joseph@codesourcery.com>
11266
11267 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11268 file.
11269 [UNIX98] (sem_timedwait): Do not expect.
11270 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11271 [XPG4 || UNIX98] (sockatmark): Do not expect.
11272 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11273 (clock_getcpuclockid): Do not expect.
11274 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11275 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11276 Do not expect.
11277 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11278 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11279 [UNIX98] (vwscanf): Likewise.
11280 [UNIX98] (vswscanf): Likewise.
11281
fb1ae1ee
JM
112822012-11-09 Joseph Myers <joseph@codesourcery.com>
11283
9ec6f8bd
JM
11284 * timezone/version.h: Remove file.
11285 * timezone/README: Do not refer to version.h.
11286 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11287 $(objpfx)version.h.
11288 ($(objpfx)zdump.o): Likewise.
c3f81911 11289 ($(objpfx)version.h): New target.
9ec6f8bd 11290
0aa8f8a1
JM
11291 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11292 2012i.
11293 * timezone/README: Don't mention modification to tzselect.ksh.
11294 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11295 work on unmodified tzselect.ksh. Substitute version numbers in
11296 tzselect.ksh.
11297
4e87147f
JM
11298 * Makefile (format-me): Remove.
11299 (INSTALL): Adjust indentation. Use commands directly instead of
11300 using $(format-me).
11301
8b748aed
JM
11302 * aclocal.m4 (ACX_PKGVERSION): New macro.
11303 (ACX_BUGURL): Likewise.
11304 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11305 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11306 (REPORT_BUGS_TO): Likewise.
11307 * configure: Regenerated.
11308 * config.h.in (PKGVERSION): New macro.
11309 (REPORT_BUGS_TO): Likewise.
11310 * config.make.in (PKGVERSION): New variable.
11311 (PKGVERSION_TEXI): Likewise.
11312 (REPORT_BUGS_TO): Likewise.
11313 (REPORT_BUGS_TEXI): Likewise.
11314 * Makefile (format-me): Use -I$(common-objpfx)manual.
11315 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11316 ($(common-objpfx)manual/%): New target.
11317 (manual/%): Remove target.
11318 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11319 (print_version): Use PKGVERSION.
11320 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11321 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11322 and REPORT_BUGS_TO.
11323 ($(objpfx)xtrace): Likewise.
11324 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11325 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11326 (print_version): Use PKGVERSION.
11327 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11328 (do_version): Use PKGVERSION.
11329 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11330 REPORT_BUGS_TO.
11331 (common-ldd-rewrite): Likewise.
11332 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11333 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11334 (print_version): Use PKGVERSION.
11335 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11336 * elf/pldd.c (argp_program_bug_address): Remove variable.
11337 (more_help): New function.
11338 (argp): Use more_help.
11339 (print_version): Use PKGVERSION.
11340 * elf/sln.c (main): Use PKGVERSION.
11341 (usage): Use REPORT_BUGS_TO.
11342 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11343 (top level): Use PKGVERSION.
11344 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11345 (print_version): Use PKGVERSION.
11346 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11347 (print_version): Use PKGVERSION.
11348 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11349 (print_version): Use PKGVERSION.
11350 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11351 (print_version): Use PKGVERSION.
11352 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11353 (print_version): Use PKGVERSION.
11354 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11355 (print_version): Use PKGVERSION.
11356 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11357 and BUGURL.
11358 ($(objpfx)memusage): Likewise.
11359 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11360 (do_version): Use PKGVERSION.
11361 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11362 (print_version): Use PKGVERSION.
11363 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11364 ($PKGVERSION): New variable.
11365 ($REPORT_BUGS_TO): Likewise.
11366 (usage): Use $REPORT_BUGS_TO.
11367 (top level): Use $PKGVERSION.
11368 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11369 ($(objpfx)pkgvers.texi): New rule.
11370 ($(objpfx)stamp-pkgvers): Likewise.
11371 * manual/install.texi: Include pkgvers.texi.
11372 (--with-pkgversion): Document new configure option.
11373 (--with-bugurl): Likewise.
11374 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11375 than necessarily for this particular distribution. Use
11376 REPORT_BUGS_TO for where to report bugs.
11377 * INSTALL: Regenerated.
11378 * manual/libc.texinfo: Include pkgvers.texi.
11379 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11380 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11381 (print_version): Use PKGVERSION.
11382 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11383 (print_version): Use PKGVERSION.
11384 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11385 (print_version): Use PKGVERSION.
11386 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11387 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11388 macro.
11389 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11390 (print_version): Use PKGVERSION.
11391 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11392 (print_version): Use PKGVERSION.
11393 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11394 and PKGVERSION.
11395
92e4b6a9
JM
11396 * timezone/checktab.awk: Update from tzcode 2012i.
11397 * timezone/ialloc.c: Likewise.
11398 * timezone/private.h: Likewise.
11399 * timezone/scheck.c: Likewise.
11400 * timezone/tzfile.h: Likewise.
11401 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11402 (TZVERSION): Hardcode tzcode version number.
11403 * timezone/zdump.c: Update from tzcode 2012i.
11404 * timezone/zic.c: Likewise.
11405 * timezone/version.h: New file.
11406 * timezone/README: Describe version.h. Update upstream location.
11407
9bde902c
JM
11408 [BZ #14824]
11409 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11410 (mktemp): Enable declaration.
11411 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11412 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11413 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11415 Likewise.
11416 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11417 Likewise.
11418 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11419 Likewise.
11420 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11421 Likewise.
11422 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11423 Likewise.
11424 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11425 Likewise.
11426
fb1ae1ee
JM
11427 [BZ #14821]
11428 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11429 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11430 for copies of such integer values.
11431 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11432 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11433
2c1adbcb
AJ
114342012-11-09 Andreas Jaeger <aj@suse.de>
11435
11436 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11437 definitions and declarations that are provided by
11438 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11439
d0f8457e
AK
114402012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11441
3a235abb 11442 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11443 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11444 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11445 definition.
11446
57241e26
MS
114472012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11448
11449 * elf/elf.h: Update comment before AArch64 relocations.
11450
60e8270d
DM
114512012-11-07 David S. Miller <davem@davemloft.net>
11452
11453 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11454 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11455 (__start_context): Declare.
11456 (__makecontext_ret): Delete.
11457 (__makecontext): Hook up __start_context instead of
11458 __makecontext_ret.
11459 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11460 (sysdep_routines): Add __start_context when in stdlib.
11461
0fbb0fbc
JM
114622012-11-07 Joseph Myers <joseph@codesourcery.com>
11463
11464 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11465 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11466 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11467 hardcoded "nm".
11468 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11469 (READELF): New variable. Use it instead of hardcoded "readelf".
11470
eb48db7e
L
114712012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11472
11473 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11474 * sysdeps/x86/Makefile: Here.
11475 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11476 * sysdeps/x86/tst-xmmymm.sh: This.
11477
05bcf62a
JM
114782012-11-07 Joseph Myers <joseph@codesourcery.com>
11479
c4b6cf53
JM
11480 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11481 expectations.
11482 [UNIX98] (pthread_barrier_t): Do not expect.
11483 [UNIX98] (pthread_barrierattr_t): Likewise.
11484 [UNIX98] (pthread_spinlock_t): Likewise.
11485 [UNIX98] (pthread_barrier_destroy): Likewise.
11486 [UNIX98] (pthread_barrier_init): Likewise.
11487 [UNIX98] (pthread_barrier_wait): Likewise.
11488 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11489 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11490 [UNIX98] (pthread_barrierattr_init): Likewise.
11491 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11492 [UNIX98] (pthread_getcpuclockid): Likewise.
11493 [UNIX98] (pthread_mutex_timedlock): Likewise.
11494 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11495 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11496 [UNIX98] (pthread_sigmask): Likewise.
11497 [UNIX98] (pthread_spin_destroy): Likewise.
11498 [UNIX98] (pthread_spin_init): Likewise.
11499 [UNIX98] (pthread_spin_lock): Likewise.
11500 [UNIX98] (pthread_spin_trylock): Likewise.
11501 [UNIX98] (pthread_spin_unlock): Likewise.
11502 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11503 Do not expect.
11504 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11505 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11506 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11507 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11508 [XPG3 || XPG4] (pthread_key_t): Likewise.
11509 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11510 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11511 [XPG3 || XPG4] (pthread_once_t): Likewise.
11512 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11513 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11514 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11515 [XPG3 || XPG4] (pthread_t): Likewise.
11516
cbe6e120
JM
11517 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11518 not expect.
11519 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11520
1b126443
JM
11521 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11522 Change function return type to int.
11523
b961a573
JM
11524 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11525 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11526 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11527 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11528 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11529 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11530 [!POSIX] (posix_madvise): Likewise.
11531 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11532 && !UNIX98].
11533 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11534 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11535 (mode_t): Likewise.
11536 (posix_mem_offset): Likewise.
11537 (posix_typed_mem_get_info): Likewise.
11538 (posix_typed_mem_open): Likewise.
11539
9e188909
JM
11540 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11541 Change condition to [XOPEN2K8].
11542
05bcf62a
JM
11543 * conform/conformtest.pl: Preprocess allow-header data with -x c
11544 instead of from stdin.
11545 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11546 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11547 [C99-based standards] (cerfc): Likewise.
11548 [C99-based standards] (cexp2): Likewise.
11549 [C99-based standards] (cexpm1): Likewise.
11550 [C99-based standards] (clog10): Likewise.
11551 [C99-based standards] (clog1p): Likewise.
11552 [C99-based standards] (clog2): Likewise.
11553 [C99-based standards] (clgamma): Likewise.
11554 [C99-based standards] (ctgamma): Likewise.
11555 [C99-based standards] (cerff): Likewise.
11556 [C99-based standards] (cerfcf): Likewise.
11557 [C99-based standards] (cexp2f): Likewise.
11558 [C99-based standards] (cexpm1f): Likewise.
11559 [C99-based standards] (clog10f): Likewise.
11560 [C99-based standards] (clog1pf): Likewise.
11561 [C99-based standards] (clog2f): Likewise.
11562 [C99-based standards] (clgammaf): Likewise.
11563 [C99-based standards] (ctgammaf): Likewise.
11564 [C99-based standards] (cerfl): Likewise.
11565 [C99-based standards] (cerfcl): Likewise.
11566 [C99-based standards] (cexp2l): Likewise.
11567 [C99-based standards] (cexpm1l): Likewise.
11568 [C99-based standards] (clog10l): Likewise.
11569 [C99-based standards] (clog1pl): Likewise.
11570 [C99-based standards] (clog2l): Likewise.
11571 [C99-based standards] (clgammal): Likewise.
11572 [C99-based standards] (ctgammal): Likewise.
11573 * conform/data/inttypes.h-data [C99-based standards]: Include
11574 stdint.h-data. Remove all expectations for stdint.h contents.
11575 [C99-based standards] (PRI*): Do not allow.
11576 [C99-based standards] (SCN*): Likewise.
11577 [C99-based standards] (*_t): Likewise.
11578 [C99-based-standards] (PRId8): Expect macro.
11579 [C99-based-standards] (PRIi8): Likewise.
11580 [C99-based-standards] (PRIo8): Likewise.
11581 [C99-based-standards] (PRIu8): Likewise.
11582 [C99-based-standards] (PRIx8): Likewise.
11583 [C99-based-standards] (PRIX8): Likewise.
11584 [C99-based-standards] (SCNd8): Likewise.
11585 [C99-based-standards] (SCNi8): Likewise.
11586 [C99-based-standards] (SCNo8): Likewise.
11587 [C99-based-standards] (SCNu8): Likewise.
11588 [C99-based-standards] (SCNx8): Likewise.
11589 [C99-based-standards] (PRIdLEAST8): Likewise.
11590 [C99-based-standards] (PRIiLEAST8): Likewise.
11591 [C99-based-standards] (PRIoLEAST8): Likewise.
11592 [C99-based-standards] (PRIuLEAST8): Likewise.
11593 [C99-based-standards] (PRIxLEAST8): Likewise.
11594 [C99-based-standards] (PRIXLEAST8): Likewise.
11595 [C99-based-standards] (SCNdLEAST8): Likewise.
11596 [C99-based-standards] (SCNiLEAST8): Likewise.
11597 [C99-based-standards] (SCNoLEAST8): Likewise.
11598 [C99-based-standards] (SCNuLEAST8): Likewise.
11599 [C99-based-standards] (SCNxLEAST8): Likewise.
11600 [C99-based-standards] (PRIdFAST8): Likewise.
11601 [C99-based-standards] (PRIiFAST8): Likewise.
11602 [C99-based-standards] (PRIoFAST8): Likewise.
11603 [C99-based-standards] (PRIuFAST8): Likewise.
11604 [C99-based-standards] (PRIxFAST8): Likewise.
11605 [C99-based-standards] (PRIXFAST8): Likewise.
11606 [C99-based-standards] (SCNdFAST8): Likewise.
11607 [C99-based-standards] (SCNiFAST8): Likewise.
11608 [C99-based-standards] (SCNoFAST8): Likewise.
11609 [C99-based-standards] (SCNuFAST8): Likewise.
11610 [C99-based-standards] (SCNxFAST8): Likewise.
11611 [C99-based-standards] (PRId16): Likewise.
11612 [C99-based-standards] (PRIi16): Likewise.
11613 [C99-based-standards] (PRIo16): Likewise.
11614 [C99-based-standards] (PRIu16): Likewise.
11615 [C99-based-standards] (PRIx16): Likewise.
11616 [C99-based-standards] (PRIX16): Likewise.
11617 [C99-based-standards] (SCNd16): Likewise.
11618 [C99-based-standards] (SCNi16): Likewise.
11619 [C99-based-standards] (SCNo16): Likewise.
11620 [C99-based-standards] (SCNu16): Likewise.
11621 [C99-based-standards] (SCNx16): Likewise.
11622 [C99-based-standards] (PRIdLEAST16): Likewise.
11623 [C99-based-standards] (PRIiLEAST16): Likewise.
11624 [C99-based-standards] (PRIoLEAST16): Likewise.
11625 [C99-based-standards] (PRIuLEAST16): Likewise.
11626 [C99-based-standards] (PRIxLEAST16): Likewise.
11627 [C99-based-standards] (PRIXLEAST16): Likewise.
11628 [C99-based-standards] (SCNdLEAST16): Likewise.
11629 [C99-based-standards] (SCNiLEAST16): Likewise.
11630 [C99-based-standards] (SCNoLEAST16): Likewise.
11631 [C99-based-standards] (SCNuLEAST16): Likewise.
11632 [C99-based-standards] (SCNxLEAST16): Likewise.
11633 [C99-based-standards] (PRIdFAST16): Likewise.
11634 [C99-based-standards] (PRIiFAST16): Likewise.
11635 [C99-based-standards] (PRIoFAST16): Likewise.
11636 [C99-based-standards] (PRIuFAST16): Likewise.
11637 [C99-based-standards] (PRIxFAST16): Likewise.
11638 [C99-based-standards] (PRIXFAST16): Likewise.
11639 [C99-based-standards] (SCNdFAST16): Likewise.
11640 [C99-based-standards] (SCNiFAST16): Likewise.
11641 [C99-based-standards] (SCNoFAST16): Likewise.
11642 [C99-based-standards] (SCNuFAST16): Likewise.
11643 [C99-based-standards] (SCNxFAST16): Likewise.
11644 [C99-based-standards] (PRId32): Likewise.
11645 [C99-based-standards] (PRIi32): Likewise.
11646 [C99-based-standards] (PRIo32): Likewise.
11647 [C99-based-standards] (PRIu32): Likewise.
11648 [C99-based-standards] (PRIx32): Likewise.
11649 [C99-based-standards] (PRIX32): Likewise.
11650 [C99-based-standards] (SCNd32): Likewise.
11651 [C99-based-standards] (SCNi32): Likewise.
11652 [C99-based-standards] (SCNo32): Likewise.
11653 [C99-based-standards] (SCNu32): Likewise.
11654 [C99-based-standards] (SCNx32): Likewise.
11655 [C99-based-standards] (PRIdLEAST32): Likewise.
11656 [C99-based-standards] (PRIiLEAST32): Likewise.
11657 [C99-based-standards] (PRIoLEAST32): Likewise.
11658 [C99-based-standards] (PRIuLEAST32): Likewise.
11659 [C99-based-standards] (PRIxLEAST32): Likewise.
11660 [C99-based-standards] (PRIXLEAST32): Likewise.
11661 [C99-based-standards] (SCNdLEAST32): Likewise.
11662 [C99-based-standards] (SCNiLEAST32): Likewise.
11663 [C99-based-standards] (SCNoLEAST32): Likewise.
11664 [C99-based-standards] (SCNuLEAST32): Likewise.
11665 [C99-based-standards] (SCNxLEAST32): Likewise.
11666 [C99-based-standards] (PRIdFAST32): Likewise.
11667 [C99-based-standards] (PRIiFAST32): Likewise.
11668 [C99-based-standards] (PRIoFAST32): Likewise.
11669 [C99-based-standards] (PRIuFAST32): Likewise.
11670 [C99-based-standards] (PRIxFAST32): Likewise.
11671 [C99-based-standards] (PRIXFAST32): Likewise.
11672 [C99-based-standards] (SCNdFAST32): Likewise.
11673 [C99-based-standards] (SCNiFAST32): Likewise.
11674 [C99-based-standards] (SCNoFAST32): Likewise.
11675 [C99-based-standards] (SCNuFAST32): Likewise.
11676 [C99-based-standards] (SCNxFAST32): Likewise.
11677 [C99-based-standards] (PRId64): Likewise.
11678 [C99-based-standards] (PRIi64): Likewise.
11679 [C99-based-standards] (PRIo64): Likewise.
11680 [C99-based-standards] (PRIu64): Likewise.
11681 [C99-based-standards] (PRIx64): Likewise.
11682 [C99-based-standards] (PRIX64): Likewise.
11683 [C99-based-standards] (SCNd64): Likewise.
11684 [C99-based-standards] (SCNi64): Likewise.
11685 [C99-based-standards] (SCNo64): Likewise.
11686 [C99-based-standards] (SCNu64): Likewise.
11687 [C99-based-standards] (SCNx64): Likewise.
11688 [C99-based-standards] (PRIdLEAST64): Likewise.
11689 [C99-based-standards] (PRIiLEAST64): Likewise.
11690 [C99-based-standards] (PRIoLEAST64): Likewise.
11691 [C99-based-standards] (PRIuLEAST64): Likewise.
11692 [C99-based-standards] (PRIxLEAST64): Likewise.
11693 [C99-based-standards] (PRIXLEAST64): Likewise.
11694 [C99-based-standards] (SCNdLEAST64): Likewise.
11695 [C99-based-standards] (SCNiLEAST64): Likewise.
11696 [C99-based-standards] (SCNoLEAST64): Likewise.
11697 [C99-based-standards] (SCNuLEAST64): Likewise.
11698 [C99-based-standards] (SCNxLEAST64): Likewise.
11699 [C99-based-standards] (PRIdFAST64): Likewise.
11700 [C99-based-standards] (PRIiFAST64): Likewise.
11701 [C99-based-standards] (PRIoFAST64): Likewise.
11702 [C99-based-standards] (PRIuFAST64): Likewise.
11703 [C99-based-standards] (PRIxFAST64): Likewise.
11704 [C99-based-standards] (PRIXFAST64): Likewise.
11705 [C99-based-standards] (SCNdFAST64): Likewise.
11706 [C99-based-standards] (SCNiFAST64): Likewise.
11707 [C99-based-standards] (SCNoFAST64): Likewise.
11708 [C99-based-standards] (SCNuFAST64): Likewise.
11709 [C99-based-standards] (SCNxFAST64): Likewise.
11710 [C99-based-standards] (PRIdMAX): Likewise.
11711 [C99-based-standards] (PRIiMAX): Likewise.
11712 [C99-based-standards] (PRIoMAX): Likewise.
11713 [C99-based-standards] (PRIuMAX): Likewise.
11714 [C99-based-standards] (PRIxMAX): Likewise.
11715 [C99-based-standards] (PRIXMAX): Likewise.
11716 [C99-based-standards] (SCNdMAX): Likewise.
11717 [C99-based-standards] (SCNiMAX): Likewise.
11718 [C99-based-standards] (SCNoMAX): Likewise.
11719 [C99-based-standards] (SCNuMAX): Likewise.
11720 [C99-based-standards] (SCNxMAX): Likewise.
11721 [C99-based-standards] (PRIdPTR): Likewise.
11722 [C99-based-standards] (PRIiPTR): Likewise.
11723 [C99-based-standards] (PRIoPTR): Likewise.
11724 [C99-based-standards] (PRIuPTR): Likewise.
11725 [C99-based-standards] (PRIxPTR): Likewise.
11726 [C99-based-standards] (PRIXPTR): Likewise.
11727 [C99-based-standards] (SCNdPTR): Likewise.
11728 [C99-based-standards] (SCNiPTR): Likewise.
11729 [C99-based-standards] (SCNoPTR): Likewise.
11730 [C99-based-standards] (SCNuPTR): Likewise.
11731 [C99-based-standards] (SCNxPTR): Likewise.
11732 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11733 allow.
11734 * conform/data/stdint.h-data: Update comments to clarify
11735 requirements.
11736 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11737 type.
11738 [C99-based standards] (INT8_MAX): Likewise.
11739 [C99-based standards] (INT16_MIN): Likewise.
11740 [C99-based standards] (INT16_MAX): Likewise.
11741 [C99-based standards] (INT32_MIN): Likewise.
11742 [C99-based standards] (INT32_MAX): Likewise.
11743 [C99-based standards] (INT64_MIN): Likewise.
11744 [C99-based standards] (INT64_MAX): Likewise.
11745 [C99-based standards] (UINT8_MAX): Likewise.
11746 [C99-based standards] (UINT16_MAX): Likewise.
11747 [C99-based standards] (UINT32_MAX): Likewise.
11748 [C99-based standards] (UINT64_MAX): Likewise.
11749 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11750 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11751 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11752 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11753 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11754 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11755 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11756 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11757 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11758 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11759 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11760 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11761 [C99-based standards] (INT_FAST8_MIN): Likewise.
11762 [C99-based standards] (INT_FAST8_MAX): Likewise.
11763 [C99-based standards] (INT_FAST16_MIN): Likewise.
11764 [C99-based standards] (INT_FAST16_MAX): Likewise.
11765 [C99-based standards] (INT_FAST32_MIN): Likewise.
11766 [C99-based standards] (INT_FAST32_MAX): Likewise.
11767 [C99-based standards] (INT_FAST64_MIN): Likewise.
11768 [C99-based standards] (INT_FAST64_MAX): Likewise.
11769 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11770 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11771 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11772 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11773 [C99-based standards] (INTPTR_MIN): Likewise.
11774 [C99-based standards] (INTPTR_MAX): Likewise.
11775 [C99-based standards] (UINTPTR_MAX): Likewise.
11776 [C99-based standards] (INTMAX_MIN): Likewise.
11777 [C99-based standards] (INTMAX_MAX): Likewise.
11778 [C99-based standards] (UINTMAX_MAX): Likewise.
11779 [C99-based standards] (PTRDIFF_MIN): Likewise.
11780 [C99-based standards] (PTRDIFF_MAX): Likewise.
11781 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11782 [C99-based standards] (SIZE_MAX): Likewise.
11783 [C99-based standards] (WCHAR_MAX): Likewise.
11784 [C99-based standards] (WINT_MAX): Likewise.
11785 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11786 constraint on value.
11787 [C99-based standards] (WCHAR_MIN): Likewise.
11788 [C99-based standards] (WINT_MIN): Likewise.
11789 [C99-based standards] (*_t): Allow.
11790 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11791 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11792 Include math.h-data and complex.h-data. Remove all expectations
11793 of math.h and complex.h contents.
11794 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11795 at end of line.
11796 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11797 (struct tm): Expect tag.
11798 [C99-based-standards] (wcstof): Expect function.
11799 [C99-based-standards] (wcstold): Likewise.
11800 [C99-based-standards] (wcstoll): Likewise.
11801 [C99-based-standards] (wcstoull): Likewise.
11802 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11803 macro-int-constant. Specify type.
11804 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11805 constraint on value.
11806 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11807 Specify type.
11808 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11809 Specify value.
11810 [ISO C standards]: Do not allow headers.
11811 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11812 wcs[abcdefghijklmnopqrstuvwxyz]*.
11813 [ISO C standards] (*_t): Do not allow.
11814 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11815 Expect function.
11816 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11817 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11818 Specify type.
11819 [ISO C standards]: Do not allow headers.
11820 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11821 is[abcdefghijklmnopqrstuvwxyz]*.
11822 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11823 to[abcdefghijklmnopqrstuvwxyz]*.
11824 [ISO C standards] (*_t): Do not allow.
11825 * conform/data/stdalign.h-data: New file.
11826 * conform/data/stdbool.h-data: Likewise.
11827 * conform/data/stdnoreturn.h-data: Likewise.
11828
7514feb8
RM
118292012-11-07 Roland McGrath <roland@hack.frob.com>
11830
11831 [BZ #14815]
11832 * manual/filesys.texi (Directory Entries): Typo fix.
11833 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11834
19b2ecfc
MS
118352012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11836
11837 * elf/elf.h (EM_AARCH64): New macro.
11838 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11839 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11840 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11841 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11842 (R_AARCH64_TLSDESC): Likewise.
11843 (NT_ARM_TLS): Likewise.
11844 (NT_ARM_HW_BREAK): Likewise.
11845 (NT_ARM_HW_WATCH): Likewise.
11846
60e235ee
JM
118472012-11-07 Joseph Myers <joseph@codesourcery.com>
11848
11849 [BZ #14811]
11850 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11851 (__ieee754_powl): Saturate nonzero exponents with absolute value
11852 below 0x1p-79 to +/- 0x1p-79.
11853 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11854 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11855 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11856 nonzero exponents with absolute value below 0x1p-32 to +/-
11857 0x1p-32.
11858 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11859 (__ieee754_powl): Saturate nonzero exponents with absolute value
11860 below 0x1p-79 to +/- 0x1p-79.
11861 * math/libm-test.inc (pow_test): Add more tests.
11862
0ab234b7
AK
118632012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11864
11865 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11866 _dl_s390_cap_flags with kernel. Increase string length.
11867 (_dl_s390_platforms): Add z196 and zEC12.
11868
45832f74
JM
118692012-11-07 Joseph Myers <joseph@codesourcery.com>
11870
11871 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11872 Change XOPEN21K to XOPEN2K.
11873
19218757
MK
118742012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11875
11876 * string/memmove.c: Use memcpy when possible.
11877
c5f45721
AJ
118782012-11-06 Andreas Jaeger <aj@suse.de>
11879
11880 * po/eo.po: Update from translation team.
11881
82477c28
JM
118822012-11-06 Joseph Myers <joseph@codesourcery.com>
11883
11884 [BZ #14793]
11885 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11886 exponent and small x and y exponents, scale x or y up. Increase
11887 by 2 the exponent used in scaling up.
11888 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11889 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11890 * math/libm-test.inc (fma_test): Add more tests.
11891 (fma_test_towardzero): Likewise.
11892 (fma_test_downward): Likewise.
11893 (fma_test_upward): Likewise.
11894
99252c8c
JM
118952012-11-05 Joseph Myers <joseph@codesourcery.com>
11896
acfa885f
JM
11897 [BZ #14805]
11898 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11899 fenv_t *.
11900
99252c8c
JM
11901 [BZ #14801]
11902 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11903 namespace for names of struct fields.
11904 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11905 fenv_t fields.
11906 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11907 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11908
d6d98dea
ST
119092012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11910
11911 [BZ #3665]
11912 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11913
e10bb107
TS
119142012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11915
11916 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11917 PTR_DEMANGLE.
11918
11919 [BZ #5246]
11920 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11921 PTR_DEMANGLE.
11922
a0c2940d
JM
119232012-11-04 Joseph Myers <joseph@codesourcery.com>
11924
11925 [BZ #14797]
11926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11927 definitely overflow as x * y not x * y + z.
11928 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11929 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11930 * math/libm-test.inc (fma_test): Add more tests.
11931 (fma_test_towardzero): Likewise.
11932 (fma_test_downward): Likewise.
11933 (fma_test_upward): Likewise.
11934
b830319d
TS
119352012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11936
11937 [BZ #157]
11938
11939 * include/stub-tag.h: Remove file.
11940 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11941 '#include' of it.
11942 * manual/maint.texi (Porting): Don't reference it.
11943 * Makerules ($(objpfx)stubs): Likewise.
11944 * dirent/closedir.c: Don't include <stub-tag.h>.
11945 * dirent/dirfd.c: Likewise.
11946 * dirent/fdopendir.c: Likewise.
11947 * dirent/getdents.c: Likewise.
11948 * dirent/getdents64.c: Likewise.
11949 * dirent/opendir.c: Likewise.
11950 * dirent/readdir.c: Likewise.
11951 * dirent/readdir64.c: Likewise.
11952 * dirent/readdir64_r.c: Likewise.
11953 * dirent/readdir_r.c: Likewise.
11954 * dirent/rewinddir.c: Likewise.
11955 * dirent/seekdir.c: Likewise.
11956 * dirent/telldir.c: Likewise.
11957 * gmon/profil.c: Likewise.
11958 * grp/setgroups.c: Likewise.
11959 * inet/if_index.c: Likewise.
11960 * io/access.c: Likewise.
11961 * io/chdir.c: Likewise.
11962 * io/chmod.c: Likewise.
11963 * io/chown.c: Likewise.
11964 * io/close.c: Likewise.
11965 * io/dup.c: Likewise.
11966 * io/dup2.c: Likewise.
11967 * io/dup3.c: Likewise.
11968 * io/euidaccess.c: Likewise.
11969 * io/faccessat.c: Likewise.
11970 * io/fchdir.c: Likewise.
11971 * io/fchmod.c: Likewise.
11972 * io/fchmodat.c: Likewise.
11973 * io/fchown.c: Likewise.
11974 * io/fchownat.c: Likewise.
11975 * io/fcntl.c: Likewise.
11976 * io/flock.c: Likewise.
11977 * io/fstatfs.c: Likewise.
11978 * io/fstatfs64.c: Likewise.
11979 * io/fstatvfs.c: Likewise.
11980 * io/fstatvfs64.c: Likewise.
11981 * io/futimens.c: Likewise.
11982 * io/fxstat.c: Likewise.
11983 * io/fxstat64.c: Likewise.
11984 * io/fxstatat.c: Likewise.
11985 * io/fxstatat64.c: Likewise.
11986 * io/getcwd.c: Likewise.
11987 * io/isatty.c: Likewise.
11988 * io/lchmod.c: Likewise.
11989 * io/lchown.c: Likewise.
11990 * io/link.c: Likewise.
11991 * io/linkat.c: Likewise.
11992 * io/lseek.c: Likewise.
11993 * io/lseek64.c: Likewise.
11994 * io/lxstat64.c: Likewise.
11995 * io/mkdir.c: Likewise.
11996 * io/mkdirat.c: Likewise.
11997 * io/mkfifo.c: Likewise.
11998 * io/mkfifoat.c: Likewise.
11999 * io/open.c: Likewise.
12000 * io/open64.c: Likewise.
12001 * io/openat.c: Likewise.
12002 * io/openat64.c: Likewise.
12003 * io/pipe.c: Likewise.
12004 * io/pipe2.c: Likewise.
12005 * io/poll.c: Likewise.
12006 * io/posix_fadvise.c: Likewise.
12007 * io/posix_fadvise64.c: Likewise.
12008 * io/posix_fallocate.c: Likewise.
12009 * io/posix_fallocate64.c: Likewise.
12010 * io/read.c: Likewise.
12011 * io/readlink.c: Likewise.
12012 * io/readlinkat.c: Likewise.
12013 * io/rmdir.c: Likewise.
12014 * io/sendfile.c: Likewise.
12015 * io/sendfile64.c: Likewise.
12016 * io/statfs.c: Likewise.
12017 * io/statfs64.c: Likewise.
12018 * io/statvfs.c: Likewise.
12019 * io/statvfs64.c: Likewise.
12020 * io/symlink.c: Likewise.
12021 * io/symlinkat.c: Likewise.
12022 * io/ttyname.c: Likewise.
12023 * io/ttyname_r.c: Likewise.
12024 * io/umask.c: Likewise.
12025 * io/unlink.c: Likewise.
12026 * io/unlinkat.c: Likewise.
12027 * io/utime.c: Likewise.
12028 * io/utimensat.c: Likewise.
12029 * io/write.c: Likewise.
12030 * io/xmknod.c: Likewise.
12031 * io/xmknodat.c: Likewise.
12032 * io/xstat.c: Likewise.
12033 * io/xstat64.c: Likewise.
12034 * login/getpt.c: Likewise.
12035 * login/grantpt.c: Likewise.
12036 * login/unlockpt.c: Likewise.
12037 * math/e_acoshl.c: Likewise.
12038 * math/e_acosl.c: Likewise.
12039 * math/e_asinl.c: Likewise.
12040 * math/e_atan2l.c: Likewise.
12041 * math/e_atanhl.c: Likewise.
12042 * math/e_coshl.c: Likewise.
12043 * math/e_expl.c: Likewise.
12044 * math/e_fmodl.c: Likewise.
12045 * math/e_gammal_r.c: Likewise.
12046 * math/e_hypotl.c: Likewise.
12047 * math/e_j0l.c: Likewise.
12048 * math/e_j1l.c: Likewise.
12049 * math/e_jnl.c: Likewise.
12050 * math/e_lgammal_r.c: Likewise.
12051 * math/e_log10l.c: Likewise.
12052 * math/e_log2l.c: Likewise.
12053 * math/e_logl.c: Likewise.
12054 * math/e_powl.c: Likewise.
12055 * math/e_rem_pio2l.c: Likewise.
12056 * math/e_sinhl.c: Likewise.
12057 * math/e_sqrtl.c: Likewise.
12058 * math/fclrexcpt.c: Likewise.
12059 * math/fedisblxcpt.c: Likewise.
12060 * math/feenablxcpt.c: Likewise.
12061 * math/fegetenv.c: Likewise.
12062 * math/fegetexcept.c: Likewise.
12063 * math/fegetround.c: Likewise.
12064 * math/feholdexcpt.c: Likewise.
12065 * math/fesetenv.c: Likewise.
12066 * math/fesetround.c: Likewise.
12067 * math/feupdateenv.c: Likewise.
12068 * math/fgetexcptflg.c: Likewise.
12069 * math/fraiseexcpt.c: Likewise.
12070 * math/fsetexcptflg.c: Likewise.
12071 * math/ftestexcept.c: Likewise.
12072 * math/k_cosl.c: Likewise.
12073 * math/k_rem_pio2l.c: Likewise.
12074 * math/k_sinl.c: Likewise.
12075 * math/k_tanl.c: Likewise.
12076 * math/s_asinhl.c: Likewise.
12077 * math/s_atanl.c: Likewise.
12078 * math/s_cbrtl.c: Likewise.
12079 * math/s_erfl.c: Likewise.
12080 * math/s_expm1l.c: Likewise.
12081 * math/s_log1pl.c: Likewise.
12082 * math/s_tanhl.c: Likewise.
12083 * misc/acct.c: Likewise.
12084 * misc/brk.c: Likewise.
12085 * misc/chflags.c: Likewise.
12086 * misc/chroot.c: Likewise.
12087 * misc/fchflags.c: Likewise.
12088 * misc/fgetxattr.c: Likewise.
12089 * misc/flistxattr.c: Likewise.
12090 * misc/fremovexattr.c: Likewise.
12091 * misc/fsetxattr.c: Likewise.
12092 * misc/fsync.c: Likewise.
12093 * misc/ftruncate.c: Likewise.
12094 * misc/futimes.c: Likewise.
12095 * misc/futimesat.c: Likewise.
12096 * misc/getdomain.c: Likewise.
12097 * misc/getdtsz.c: Likewise.
12098 * misc/gethostid.c: Likewise.
12099 * misc/gethostname.c: Likewise.
12100 * misc/getloadavg.c: Likewise.
12101 * misc/getpagesize.c: Likewise.
12102 * misc/getsysstats.c: Likewise.
12103 * misc/getxattr.c: Likewise.
12104 * misc/gtty.c: Likewise.
12105 * misc/ioctl.c: Likewise.
12106 * misc/lgetxattr.c: Likewise.
12107 * misc/listxattr.c: Likewise.
12108 * misc/llistxattr.c: Likewise.
12109 * misc/lremovexattr.c: Likewise.
12110 * misc/lsetxattr.c: Likewise.
12111 * misc/lutimes.c: Likewise.
12112 * misc/madvise.c: Likewise.
12113 * misc/mincore.c: Likewise.
12114 * misc/mlock.c: Likewise.
12115 * misc/mlockall.c: Likewise.
12116 * misc/mmap.c: Likewise.
12117 * misc/mprotect.c: Likewise.
12118 * misc/msync.c: Likewise.
12119 * misc/munlock.c: Likewise.
12120 * misc/munlockall.c: Likewise.
12121 * misc/munmap.c: Likewise.
12122 * misc/preadv.c: Likewise.
12123 * misc/preadv64.c: Likewise.
12124 * misc/ptrace.c: Likewise.
12125 * misc/pwritev.c: Likewise.
12126 * misc/pwritev64.c: Likewise.
12127 * misc/readv.c: Likewise.
12128 * misc/reboot.c: Likewise.
12129 * misc/remap_file_pages.c: Likewise.
12130 * misc/removexattr.c: Likewise.
12131 * misc/revoke.c: Likewise.
12132 * misc/select.c: Likewise.
12133 * misc/setdomain.c: Likewise.
12134 * misc/setegid.c: Likewise.
12135 * misc/seteuid.c: Likewise.
12136 * misc/sethostid.c: Likewise.
12137 * misc/sethostname.c: Likewise.
12138 * misc/setregid.c: Likewise.
12139 * misc/setreuid.c: Likewise.
12140 * misc/setxattr.c: Likewise.
12141 * misc/sstk.c: Likewise.
12142 * misc/stty.c: Likewise.
12143 * misc/swapoff.c: Likewise.
12144 * misc/swapon.c: Likewise.
12145 * misc/sync.c: Likewise.
12146 * misc/syncfs.c: Likewise.
12147 * misc/syscall.c: Likewise.
12148 * misc/truncate.c: Likewise.
12149 * misc/ualarm.c: Likewise.
12150 * misc/usleep.c: Likewise.
12151 * misc/ustat.c: Likewise.
12152 * misc/utimes.c: Likewise.
12153 * misc/vhangup.c: Likewise.
12154 * misc/writev.c: Likewise.
12155 * posix/_exit.c: Likewise.
12156 * posix/alarm.c: Likewise.
12157 * posix/execve.c: Likewise.
12158 * posix/fexecve.c: Likewise.
12159 * posix/fork.c: Likewise.
12160 * posix/fpathconf.c: Likewise.
12161 * posix/getaddrinfo.c: Likewise.
12162 * posix/getegid.c: Likewise.
12163 * posix/geteuid.c: Likewise.
12164 * posix/getgid.c: Likewise.
12165 * posix/getgroups.c: Likewise.
12166 * posix/getlogin.c: Likewise.
12167 * posix/getlogin_r.c: Likewise.
12168 * posix/getpgid.c: Likewise.
12169 * posix/getpid.c: Likewise.
12170 * posix/getppid.c: Likewise.
12171 * posix/getresgid.c: Likewise.
12172 * posix/getresuid.c: Likewise.
12173 * posix/getsid.c: Likewise.
12174 * posix/getuid.c: Likewise.
12175 * posix/glob64.c: Likewise.
12176 * posix/nanosleep.c: Likewise.
12177 * posix/pathconf.c: Likewise.
12178 * posix/pause.c: Likewise.
12179 * posix/posix_madvise.c: Likewise.
12180 * posix/pread.c: Likewise.
12181 * posix/pread64.c: Likewise.
12182 * posix/pwrite.c: Likewise.
12183 * posix/pwrite64.c: Likewise.
12184 * posix/sched_getaffinity.c: Likewise.
12185 * posix/sched_getp.c: Likewise.
12186 * posix/sched_gets.c: Likewise.
12187 * posix/sched_primax.c: Likewise.
12188 * posix/sched_primin.c: Likewise.
12189 * posix/sched_rr_gi.c: Likewise.
12190 * posix/sched_setaffinity.c: Likewise.
12191 * posix/sched_setp.c: Likewise.
12192 * posix/sched_sets.c: Likewise.
12193 * posix/sched_yield.c: Likewise.
12194 * posix/setgid.c: Likewise.
12195 * posix/setlogin.c: Likewise.
12196 * posix/setpgid.c: Likewise.
12197 * posix/setresgid.c: Likewise.
12198 * posix/setresuid.c: Likewise.
12199 * posix/setsid.c: Likewise.
12200 * posix/setuid.c: Likewise.
12201 * posix/sleep.c: Likewise.
12202 * posix/spawni.c: Likewise.
12203 * posix/sysconf.c: Likewise.
12204 * posix/times.c: Likewise.
12205 * posix/wait.c: Likewise.
12206 * posix/wait3.c: Likewise.
12207 * posix/wait4.c: Likewise.
12208 * posix/waitpid.c: Likewise.
12209 * resolv/gai_sigqueue.c: Likewise.
12210 * resource/getpriority.c: Likewise.
12211 * resource/getrlimit.c: Likewise.
12212 * resource/getrusage.c: Likewise.
12213 * resource/nice.c: Likewise.
12214 * resource/setpriority.c: Likewise.
12215 * resource/setrlimit.c: Likewise.
12216 * resource/ulimit.c: Likewise.
12217 * rt/aio_cancel.c: Likewise.
12218 * rt/aio_fsync.c: Likewise.
12219 * rt/aio_read.c: Likewise.
12220 * rt/aio_sigqueue.c: Likewise.
12221 * rt/aio_suspend.c: Likewise.
12222 * rt/aio_write.c: Likewise.
12223 * rt/clock_getres.c: Likewise.
12224 * rt/clock_gettime.c: Likewise.
12225 * rt/clock_nanosleep.c: Likewise.
12226 * rt/clock_settime.c: Likewise.
12227 * rt/lio_listio.c: Likewise.
12228 * rt/mq_close.c: Likewise.
12229 * rt/mq_getattr.c: Likewise.
12230 * rt/mq_notify.c: Likewise.
12231 * rt/mq_open.c: Likewise.
12232 * rt/mq_receive.c: Likewise.
12233 * rt/mq_send.c: Likewise.
12234 * rt/mq_setattr.c: Likewise.
12235 * rt/mq_timedreceive.c: Likewise.
12236 * rt/mq_timedsend.c: Likewise.
12237 * rt/mq_unlink.c: Likewise.
12238 * rt/shm_open.c: Likewise.
12239 * rt/shm_unlink.c: Likewise.
12240 * rt/timer_create.c: Likewise.
12241 * rt/timer_delete.c: Likewise.
12242 * rt/timer_getoverr.c: Likewise.
12243 * rt/timer_gettime.c: Likewise.
12244 * rt/timer_settime.c: Likewise.
12245 * setjmp/__longjmp.c: Likewise.
12246 * setjmp/setjmp.c: Likewise.
12247 * signal/kill.c: Likewise.
12248 * signal/killpg.c: Likewise.
12249 * signal/raise.c: Likewise.
12250 * signal/sigaction.c: Likewise.
12251 * signal/sigaltstack.c: Likewise.
12252 * signal/sigblock.c: Likewise.
12253 * signal/sigignore.c: Likewise.
12254 * signal/sigintr.c: Likewise.
12255 * signal/signal.c: Likewise.
12256 * signal/sigpause.c: Likewise.
12257 * signal/sigpending.c: Likewise.
12258 * signal/sigqueue.c: Likewise.
12259 * signal/sigreturn.c: Likewise.
12260 * signal/sigset.c: Likewise.
12261 * signal/sigsetmask.c: Likewise.
12262 * signal/sigstack.c: Likewise.
12263 * signal/sigsuspend.c: Likewise.
12264 * signal/sigtimedwait.c: Likewise.
12265 * signal/sigvec.c: Likewise.
12266 * signal/sigwait.c: Likewise.
12267 * signal/sigwaitinfo.c: Likewise.
12268 * signal/sysv_signal.c: Likewise.
12269 * socket/accept.c: Likewise.
12270 * socket/accept4.c: Likewise.
12271 * socket/bind.c: Likewise.
12272 * socket/connect.c: Likewise.
12273 * socket/getpeername.c: Likewise.
12274 * socket/getsockname.c: Likewise.
12275 * socket/getsockopt.c: Likewise.
12276 * socket/isfdtype.c: Likewise.
12277 * socket/listen.c: Likewise.
12278 * socket/recv.c: Likewise.
12279 * socket/recvfrom.c: Likewise.
12280 * socket/recvmsg.c: Likewise.
12281 * socket/send.c: Likewise.
12282 * socket/sendmsg.c: Likewise.
12283 * socket/sendto.c: Likewise.
12284 * socket/setsockopt.c: Likewise.
12285 * socket/shutdown.c: Likewise.
12286 * socket/sockatmark.c: Likewise.
12287 * socket/socket.c: Likewise.
12288 * socket/socketpair.c: Likewise.
12289 * stdio-common/ctermid.c: Likewise.
12290 * stdio-common/cuserid.c: Likewise.
12291 * stdio-common/remove.c: Likewise.
12292 * stdio-common/rename.c: Likewise.
12293 * stdio-common/renameat.c: Likewise.
12294 * stdio-common/tempname.c: Likewise.
12295 * stdlib/getcontext.c: Likewise.
12296 * stdlib/makecontext.c: Likewise.
12297 * stdlib/setcontext.c: Likewise.
12298 * stdlib/swapcontext.c: Likewise.
12299 * stdlib/system.c: Likewise.
12300 * streams/fattach.c: Likewise.
12301 * streams/fdetach.c: Likewise.
12302 * streams/getmsg.c: Likewise.
12303 * streams/getpmsg.c: Likewise.
12304 * streams/putmsg.c: Likewise.
12305 * streams/putpmsg.c: Likewise.
12306 * sysdeps/unix/bsd/getpt.c: Likewise.
12307 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12308 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12309 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12311 Likewise.
12312 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12313 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12314 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12315 * sysvipc/msgctl.c: Likewise.
12316 * sysvipc/msgget.c: Likewise.
12317 * sysvipc/msgrcv.c: Likewise.
12318 * sysvipc/msgsnd.c: Likewise.
12319 * sysvipc/semctl.c: Likewise.
12320 * sysvipc/semget.c: Likewise.
12321 * sysvipc/semop.c: Likewise.
12322 * sysvipc/semtimedop.c: Likewise.
12323 * sysvipc/shmat.c: Likewise.
12324 * sysvipc/shmctl.c: Likewise.
12325 * sysvipc/shmdt.c: Likewise.
12326 * sysvipc/shmget.c: Likewise.
12327 * termios/tcdrain.c: Likewise.
12328 * termios/tcflow.c: Likewise.
12329 * termios/tcflush.c: Likewise.
12330 * termios/tcgetattr.c: Likewise.
12331 * termios/tcgetpgrp.c: Likewise.
12332 * termios/tcsendbrk.c: Likewise.
12333 * termios/tcsetattr.c: Likewise.
12334 * termios/tcsetpgrp.c: Likewise.
12335 * time/adjtime.c: Likewise.
12336 * time/clock.c: Likewise.
12337 * time/getitimer.c: Likewise.
12338 * time/gettimeofday.c: Likewise.
12339 * time/setitimer.c: Likewise.
12340 * time/settimeofday.c: Likewise.
12341 * time/stime.c: Likewise.
12342 * time/time.c: Likewise.
12343
123442012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12345
a20492cf
PT
12346 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12347 /usr/old/bin.
12348
72e182e3
PT
12349 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12350 instead of spaces.
12351 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12352
fbeafede
JM
123532012-11-03 Joseph Myers <joseph@codesourcery.com>
12354
5b5b04d6
JM
12355 [BZ #14796]
12356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12357 FE_TONEAREST before applying Dekker multiplication and Knuth
12358 addition. Clear inexact exceptions and check for exact zero
12359 results afterwards.
12360 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12361 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12362 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12363 * math/libm-test.inc (fma_test): Add more tests.
12364 (fma_test_towardzero): Likewise.
12365 (fma_test_downward): Likewise.
12366 (fma_test_upward): Likewise.
12367 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12368 function.
12369 (libc_fesetround): New macro.
12370 (libc_fesetroundf): Likewise.
12371 (libc_fesetroundl): Likewise.
12372 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12373 function.
12374 (libc_fesetround_387): Likewise.
12375 (libc_fesetroundf): New macro.
12376 (libc_fesetround): Likewise.
12377 (libc_fesetroundl): Likewise.
12378 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12379 function.
12380 (libc_fesetroundf): New macro.
12381 (libc_fesetround): Likewise.
12382 (libc_fesetroundl): Likewise.
12383 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12384 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12385 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12386 libm_hidden_ver.
12387 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12388 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12389 libm_hidden_def.
12390 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12391 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12392 libm_hidden_ver.
12393 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12394 libm_hidden_def.
12395
fbeafede
JM
12396 [BZ #3439]
12397 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12398 integer constant usable in #if and use that to give value to enum
12399 constant.
12400 (FE_DIVBYZERO): Likewise.
12401 (FE_UNDERFLOW): Likewise.
12402 (FE_OVERFLOW): Likewise.
12403 (FE_INVALID): Likewise.
12404 (FE_INVALID_SNAN): Likewise.
12405 (FE_INVALID_ISI): Likewise.
12406 (FE_INVALID_IDI): Likewise.
12407 (FE_INVALID_ZDZ): Likewise.
12408 (FE_INVALID_IMZ): Likewise.
12409 (FE_INVALID_COMPARE): Likewise.
12410 (FE_INVALID_SOFTWARE): Likewise.
12411 (FE_INVALID_SQRT): Likewise.
12412 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12413 (FE_TONEAREST): Likewise.
12414 (FE_TOWARDZERO): Likewise.
12415 (FE_UPWARD): Likewise.
12416 (FE_DOWNWARD): Likewise.
12417 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12418 (FE_DIVBYZERO): Likewise.
12419 (FE_OVERFLOW): Likewise.
12420 (FE_UNDERFLOW): Likewise.
12421 (FE_INEXACT): Likewise.
12422 (FE_TONEAREST): Likewise.
12423 (FE_DOWNWARD): Likewise.
12424 (FE_UPWARD): Likewise.
12425 (FE_TOWARDZERO): Likewise.
12426 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12427 (FE_UNDERFLOW): Likewise.
12428 (FE_OVERFLOW): Likewise.
12429 (FE_DIVBYZERO): Likewise.
12430 (FE_INVALID): Likewise.
12431 (FE_TONEAREST): Likewise.
12432 (FE_TOWARDZERO): Likewise.
12433 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12434 (FE_OVERFLOW): Likewise.
12435 (FE_UNDERFLOW): Likewise.
12436 (FE_DIVBYZERO): Likewise.
12437 (FE_INEXACT): Likewise.
12438 (FE_TONEAREST): Likewise.
12439 (FE_TOWARDZERO): Likewise.
12440 (FE_UPWARD): Likewise.
12441 (FE_DOWNWARD): Likewise.
12442 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12443 (FE_DIVBYZERO): Likewise.
12444 (FE_OVERFLOW): Likewise.
12445 (FE_UNDERFLOW): Likewise.
12446 (FE_INEXACT): Likewise.
12447 (FE_TONEAREST): Likewise.
12448 (FE_DOWNWARD): Likewise.
12449 (FE_UPWARD): Likewise.
12450 (FE_TOWARDZERO): Likewise.
12451
105ca950
CM
124522012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12453
12454 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12455
a542b389
AS
124562012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12457
12458 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12459 commands. Quote $PWD.
12460 (blacklist_exports): Don't use remove_newlines. Replace "declare
12461 -x" by "export".
12462 (remove_newlines): Remove.
12463
f62c8abc
L
124642012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12465
12466 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12467 * stdlib/stdlib.h (atof): Moved to ...
12468 * include/bits/stdlib-float.h: Here. New file.
12469 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12470 * stdlib/bits/stdlib-float.h: New file.
12471 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12472 -mno-sse -mno-mmx.
12473 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12474 <xmmintrin.h>.
12475
0155d5b2
JM
124762012-11-02 Joseph Myers <joseph@codesourcery.com>
12477
a68d0680
JM
12478 * conform/conformtest.pl (@headers): Add fenv.h.
12479 * conform/data/fenv.h-data: New file.
12480 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12481 include of <math/fenv.h>.
12482
caf7f573
JM
12483 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12484 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12485 && !UNIX98]. Enables tests for XOPEN2K8.
12486 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12487 POSIX2008]: Likewise.
12488
6c073ad6
JM
12489 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12490 (struct rusage): Do not expect type or its members.
12491
0155d5b2
JM
12492 [BZ #3439]
12493 * math/math.h (FP_NAN): Define macro to integer constant usable in
12494 #if and use that to give value to enum constant.
12495 (FP_INFINITE): Likewise.
12496 (FP_ZERO): Likewise.
12497 (FP_SUBNORMAL): Likewise.
12498 (FP_NORMAL): Likewise.
12499
b5dcacb4
AS
125002012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12501
12502 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12503 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12504 arguments.
12505
f7934be8
RM
125062012-11-02 Roland McGrath <roland@hack.frob.com>
12507
12508 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12509 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12510 autoconf-time if not.
12511 * configure.in: Remove AC_PREREQ.
12512
d7d08bde
TMQMF
125132012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12514
12515 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12516 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12517 of the internal implementation.
12518
dcdae19a
JM
125192012-11-02 Joseph Myers <joseph@codesourcery.com>
12520
12521 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12522 except include of <misc/sys/syslog.h>.
12523
d6cffd3e
AS
125242012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12525
12526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12527 function returns with a NULL context exit with zero.
12528
b3563932
TMQMF
125292012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12530
12531 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12532
b288a93d
L
125332012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12534
12535 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12536 (run_program_cmd): This.
12537 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12538 (tst_langinfo): New variable. Use it.
12539
a2421a68
SAS
125402012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12541
12542 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12543 floating point opcodes.
12544
6f796e1b
TS
125452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12546
7402596b
TS
12547 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12548 variable.
12549
d0d4f868
TS
12550 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12551
6f796e1b
TS
12552 * sysdeps/mach/hurd/powerpc: Remove directory.
12553 * sysdeps/mach/powerpc: Likewise.
12554
4da224a2
AS
125552012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12556
12557 * scripts/check-local-headers.sh: Ignore c++ headers.
12558
341dd673
TS
125592012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12560
12561 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12562 __libc_cleanup_region_start argument.
12563
473611b2
JM
125642012-11-01 Joseph Myers <joseph@codesourcery.com>
12565
12566 [BZ #14784]
12567 [BZ #14785]
12568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12569 x * y using scaling, not as x * y + z.
12570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12571 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12572 * math/libm-test.inc (fma_test): Add more tests.
12573 (fma_test_towardzero): Likewise.
12574 (fma_test_downward): Likewise.
12575 (fma_test_upward): Likewise.
12576
4078da3d
TS
125772012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12578
12579 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12580
903252aa
JM
125812012-10-31 Joseph Myers <joseph@codesourcery.com>
12582
12583 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12584 New variable.
12585
cbc818d0
TS
125862012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12587
12588 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12589
5a03cb1e
AS
125902012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12591
12592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12593 Fix sort order.
12594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12595 Likewise.
12596
90aff2ff
TMQMF
125972012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12598
12599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12600 Fix the order of the list for glibc 2.17.
12601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12602 Likewise.
12603
1818fcb7
AS
126042012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12605
12606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12607
ef82f4da
JM
126082012-10-31 Joseph Myers <joseph@codesourcery.com>
12609
16a0e2ec
JM
12610 [BZ #14610]
12611 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12612 for low part of x being zero before using __atanl (y).
12613 * math/libm-test.inc (atan2_test): Add another test.
12614
0eb69512
JM
12615 * manual/install.texi (Configuring and compiling): Document
12616 general use of test-wrapper and test-wrapper-env.
12617 * INSTALL: Regenerated.
12618
ef82f4da
JM
12619 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12620 (__fma): Do not extract and scale down low bits on after-rounding
12621 systems when result rounded to normal precision would have normal
12622 exponent.
12623 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12624 (__fmal): Do not extract and scale down low bits on after-rounding
12625 systems when result rounded to normal precision would have normal
12626 exponent.
12627 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12628 (__fmal): Do not extract and scale down low bits on after-rounding
12629 systems when result rounded to normal precision would have normal
12630 exponent.
12631 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12632 macro.
12633 (fma_test): Add more tests.
12634 (fma_test_towardzero): Likewise.
12635 (fma_test_downward): Likewise.
12636 (fma_test_upward): Likewise.
12637
954ef0d9
L
126382012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12639
12640 * sysdeps/i386/tininess.h: Renamed to ...
12641 * sysdeps/x86/tininess.h: This.
12642 * sysdeps/x86_64/tininess.h: Removed.
12643
df61ffb2
JM
126442012-10-30 Joseph Myers <joseph@codesourcery.com>
12645
12646 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12647 input. Use $(build-program-cmd).
12648 ($(objpfx)tst-array1-static.out): Likewise.
12649 ($(objpfx)tst-array2.out): Likewise.
12650 ($(objpfx)tst-array3.out): Likewise.
12651 ($(objpfx)tst-array4.out): Likewise.
12652 ($(objpfx)tst-array5.out): Likewise.
12653 ($(objpfx)tst-array5-static.out): Likewise.
12654
01767843
CM
126552012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12656
47cc1490
CM
12657 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12658 if defined.
12659
01767843
CM
12660 * nss/nsswitch.h (nss_interface_function): Provide new
12661 macro for use with NSS functions.
12662 * grp/initgroups.c: Use new macro.
12663 * nss/getXXbyYY.c: Likewise.
12664 * nss/getXXbyYY_r.c: Likewise.
12665 * nss/getXXent.c: Likewise.
12666 * nss/getXXent_r.c: Likewise.
12667 * sysdeps/posix/getaddrinfo.c: Likewise.
12668
8321aa97
AJ
126692012-10-30 Andreas Jaeger <aj@suse.de>
12670
12671 * po/ru.po: Update Russion translation from translation project.
12672
2a27fd6d
JM
126732012-10-30 Joseph Myers <joseph@codesourcery.com>
12674
8627a232
JM
12675 [BZ #14152]
12676 [BZ #14783]
12677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12678 result and shift together with sticky bit instead of replicating
12679 round-to-nearest rounding.
12680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12681 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12682 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12683 missing underflow exceptions.
12684 (fma_test_towardzero): Add more tests.
12685 (fma_test_downward): Likewise.
12686 (fma_test_upward): Likewise.
12687
2a27fd6d
JM
12688 [BZ #14047]
12689 * sysdeps/generic/tininess.h: New file.
12690 * sysdeps/i386/tininess.h: Likewise.
12691 * sysdeps/sh/tininess.h: Likewise.
12692 * sysdeps/x86_64/tininess.h: Likewise.
12693 * stdlib/tst-strtod-underflow.c: Likewise.
12694 * stdlib/tst-tininess.c: Likewise.
12695 * stdlib/strtod_l.c: Include <tininess.h>.
12696 (round_and_return): Do not set errno for exact underflow cases.
12697 Force an underflow exception when setting errno for underflow.
12698 Determine underflow based on rounding to normal precision if
12699 TININESS_AFTER_ROUNDING.
12700 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12701 ERANGE for exact underflow cases.
12702 * stdlib/Makefile (tests): Add tst-tininess and
12703 tst-strtod-underflow.
12704 ($(objpfx)tst-tininess): Use $(link-libm).
12705 ($(objpfx)tst-strtod-underflow): Likewise.
12706
e7170363
AJ
127072012-10-30 Andreas Jaeger <aj@suse.de>
12708
e5088dc6
AJ
12709 [BZ#14767]
12710 * elf/Makefile (tests): Remove conditional for have-initfini-array
12711 since this is now always required and the variable does not exist
12712 anymore.
12713 (tests-static): Likewise.
12714 (modules-names): Likewise.
12715
e7170363 12716 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12717
12718 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12719 merged with constructor/destructor.
12720 (init_array): Likewise.
12721 * elf/tst-array2dep.c (fini_array): Likewise.
12722 (init_array): Likewise.
12723
60457d8a
MF
127242012-10-29 Mike Frysinger <vapier@gentoo.org>
12725
12726 * manual/message.texi: Delete @cartouche tags.
12727
8bece752
PT
127282012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12729
94ce799f
PT
12730 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12731 EOPNOTSUPP.
12732 * sysdeps/mach/hurd/fsync.c: Likewise.
12733
8bece752
PT
12734 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12735 [_POSIX_REALTIME_SIGNALS]: Change condition to
12736 [_POSIX_REALTIME_SIGNALS > 0].
12737
86ebe6b1
AJ
127382012-10-27 Andreas Jaeger <aj@suse.de>
12739
12740 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12741 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12742 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12743 [__WORDSIZE != 64]: Likewise.
12744
54399c08
L
127452012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12746
12747 * iconvdata/tst-table.sh: Remove ${SHELL}.
12748 * iconvdata/tst-tables.sh: Likewise.
12749
e2211bed
DM
127502012-10-25 David S. Miller <davem@davemloft.net>
12751
12752 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12753 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12754 of strtoull.
12755
f303f97c
DM
12756 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12757 ifunc-impl-list.c
12758 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12759 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12760 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12761 file.
12762
1e9d84cd
RM
127632012-10-25 Roland McGrath <roland@hack.frob.com>
12764
12765 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12766 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12767 __getdirentries.
12768
df381762
JM
127692012-10-25 Joseph Myers <joseph@codesourcery.com>
12770 Jim Blandy <jimb@codesourcery.com>
12771
12772 * scripts/cross-test-ssh.sh: New file.
12773 * manual/install.texi (Configuring and compiling): Document use of
12774 cross-test-ssh.sh.
12775 * INSTALL: Regenerated.
12776
bff64913
PT
127772012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12778
12779 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12780 EOPNOTSUPP.
12781
25fe8932
JM
127822012-10-25 Joseph Myers <joseph@codesourcery.com>
12783
12784 * Makeconfig (run-program-prefix): Fix comment.
12785
cc1290d0
JM
127862012-10-24 Joseph Myers <joseph@codesourcery.com>
12787 Jim Blandy <jimb@codesourcery.com>
12788
12789 * Makeconfig (test-wrapper): New variable,
12790 (test-wrapper-env): Likewise.
12791 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12792 (run-built-tests): Define to yes.
12793 (run-program-prefix): Use $(test-wrapper).
12794 (built-program-cmd): Likewise.
12795 * Rules (make-test-out): Use $(test-wrapper-env) and
12796 $(host-built-program-cmd).
12797 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12798 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12799 tst-pathopt.sh.
12800 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12801 $(test-wrapper-env) to tst-rtld-load-self.sh.
12802 ($(objpfx)order2.out): Use $(test-wrapper).
12803 ($(objpfx)tst-initorder.out): Likewise.
12804 ($(objpfx)tst-initorder2.out): Likewise.
12805 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12806 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12807 (test_wrapper_env): New variable. Use it to run ld.so.
12808 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12809 Use it to run ld.so.
12810 (test_wrapper_env): Likewise.
12811 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12812 $(test-wrapper) to run-iconv-test.sh.
12813 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12814 (ICONV): Use $test_wrapper.
12815 * posix/Makefile ($(objpfx)globtest.out): Pass
12816 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12817 globtest.sh, not $(run-program-prefix).
12818 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12819 (test_wrapper): Likewise.
12820 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12821 set together with run_via_rtld_prefix.
12822 (run_program_prefix): Define in terms of test_wrapper and
12823 run_via_rtld_prefix.
12824
6e6249d0
RM
128252012-10-24 Roland McGrath <roland@hack.frob.com>
12826
12827 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12828 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12829 Targets removed.
12830
12831 [BZ #14743]
12832 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12833 Declare __clock_getres, __clock_gettime, __clock_settime,
12834 __clock_nanosleep, and __clock_getcpuclockid.
12835 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12836 Remove librt_hidden_def (clock_gettime).
12837 * sysdeps/unix/clock_gettime.c: Likewise.
12838 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12839 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12840 * rt/clock_getres.c: Define __clock_getres as an alias.
12841 * sysdeps/posix/clock_getres.c: Likewise.
12842 * rt/clock_settime.c: Define __clock_settime as an alias.
12843 * sysdeps/unix/clock_settime.c: Likewise.
12844 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12845 * sysdeps/unix/clock_nanosleep.c: Likewise.
12846 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12847 * rt/clock-compat.c: New file.
12848 * rt/Makefile (librt-routines): Add clock-compat and move
12849 $(clock-routines) to ...
12850 (routines): ... here, new variable.
12851 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12852 Don't add get_clockfreq here.
12853 * rt/Versions (libc: GLIBC_2.17): New version set.
12854 Add clock_* symbols here.
12855 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12856 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12857 (GLIBC_2.17): Add clock_* symbols.
12858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12860 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12862 Likewise.
12863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12864 Likewise.
12865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12869 * NEWS: Mention the move.
12870
12871 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12872 Use __open, __read, __close rather than their public counterparts.
12873 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12874 (__get_clockfreq_via_cpuinfo): Likewise.
12875 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12876 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12877
12878 * config.h.in (HAVE_IFUNC): New #undef.
12879 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12880 was successful.
12881 * configure: Regenerated.
12882
0cae3f4b
MF
128832012-10-24 Mike Frysinger <vapier@gentoo.org>
12884
12885 * configure.in: Move READELF check to start of file.
12886 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12887 libc_cv_asm_gnu_indirect_function in the process.
12888 * configure: Regenerated.
12889
8175a253
MF
128902012-10-24 Mike Frysinger <vapier@gentoo.org>
12891
12892 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12893 send the output to /dev/null.
12894 (libc_cv_cc_with_libunwind): Likewise.
12895 (libc_cv_as_noexecstack): Likewise.
12896 * configure: Regenerate.
12897
0708a7d1
JM
128982012-10-24 Joseph Myers <joseph@codesourcery.com>
12899
10b40d85
JM
12900 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12901
0708a7d1
JM
12902 * posix/globtest.sh (TMPDIR): Do not set.
12903 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12904 (testout): Likewise.
12905
9fddec1a
AJ
129062012-10-24 Andreas Jaeger <aj@suse.de>
12907
3a8db22f
AJ
12908 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12909 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12910 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12911 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12912 posix_fadvise64, posix_fallocate64.
12913
9fddec1a
AJ
12914 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12915 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12916 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12917 Likewise.
12918 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12919 Likewise.
12920 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12921
12922 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12923 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12924 <bits/fcntl-linux.h>.
12925 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12926
12927 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12928 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12929 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12930 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12931 [__WORDSIZE != 64]: Likewise.
12932
ebfd1bbd
JM
129332012-10-23 Joseph Myers <joseph@codesourcery.com>
12934
03ac099f
JM
12935 * Makeconfig (run-built-tests): New variable.
12936 * Rules [$(cross-compiling) = yes]: Change condition to
12937 [$(run-built-tests) = no].
12938 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12939 to [$(run-built-tests) = yes].
12940 * elf/Makefile [$(cross-compiling) = no]: Likewise
12941 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12942 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12943 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12944 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12945 * io/Makefile [$(cross-compiling) = no]: Likewise.
12946 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12947 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12948 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12949 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12950 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12951 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12952 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12953 * string/Makefile [$(cross-compiling) = no]: Likewise.
12954
ebfd1bbd
JM
12955 * posix/Makefile ($(objpfx)globtest.out): Pass
12956 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12957 $(rtld-installed-name).
12958 * posix/globtest.sh (elf_objpfx): Remove variable.
12959 (rtld_installed_name): Likewise.
12960 (library_path): Likewise.
12961 (run_program_prefix): New variable. Use for running globtest
12962 binary.
12963
166bca24
JB
129642012-10-23 Jim Blandy <jimb@codesourcery.com>
12965 Joseph Myers <joseph@codesourcery.com>
12966
12967 * Makeconfig (host-built-program-cmd): New variable.
12968 * elf/Makefile (tst-stackguard1-ARGS): Use
12969 $(host-built-program-cmd).
12970 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12971 (tst-spawn-ARGS): Likewise.
12972 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12973
88866099
JM
129742012-10-23 Joseph Myers <joseph@codesourcery.com>
12975 Jim Blandy <jimb@codesourcery.com>
12976
12977 * Makeconfig (run-via-rtld-prefix): New variable.
12978 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12979 (built-program-cmd): Likewise.
12980
b4b4c296
AJ
129812012-10-22 Andreas Jaeger <aj@suse.de>
12982
12983 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12984 __O_RSYNC if it exists, otherwise to O_SYNC.
12985
6fb54a22
JB
129862012-10-22 Jim Blandy <jimb@codesourcery.com>
12987 Joseph Myers <joseph@codesourcery.com>
12988
12989 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12990 /dev/null.
12991 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12992 from /dev/null
12993 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12994 /dev/null.
12995
481b90b9
AJ
129962012-10-22 Andreas Jaeger <aj@suse.de>
12997
2a0e2669
AJ
12998 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12999 Define always.
13000 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13001
76e38f9a
AJ
13002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13003 bits/fcntl-linux.h.
13004
7cd37b43
AJ
13005 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13006 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13007
481b90b9
AJ
13008 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13009 to __O_LARGEFILE.
13010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13011 to __O_LARGEFILE.
13012
aba75984
JB
130132012-10-21 Jim Blandy <jimb@codesourcery.com>
13014 Joseph Myers <joseph@codesourcery.com>
13015
13016 * config.make.in (NM): New variable.
13017
88d4247f
AJ
130182012-10-21 Andreas Jaeger <aj@suse.de>
13019
13020 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13021 definitions and declarations that are provided by
13022 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13023
f2eed205
L
130242012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13025
13026 [BZ #14683]
13027 * elf/Makefile (tests-static): Add tst-leaks1-static.
13028 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13029 ($(objpfx)tst-leaks1-static): New rule.
13030 ($(objpfx)tst-leaks1-static-mem): Likewise.
13031 (tst-leaks1-static-ENV): New macro.
13032 * elf/dl-open.c (dl_open_worker): Check the main application
13033 only if SHARED is defined.
13034 * elf/tst-leaks1-static.c: New file.
13035
335e6931
AJ
130362012-10-20 Andreas Jaeger <aj@suse.de>
13037
13038 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13039 generic values for Linux.
13040 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13041 and declarations that are provided by <bits/fcntl-linux.h> and
13042 include <bits/fcntl-linux.h>.
13043 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13044 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13045
ac5c94d3
RM
130462012-10-20 Roland McGrath <roland@hack.frob.com>
13047
13048 * io/fcntl.h: Move include of <bits/types.h> to the top and
13049 include it unconditionally.
13050
de54b33a
L
130512012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13052
228cfb01
L
13053 * wcsmbs/Makefile (tests-ifunc): New variable.
13054 (tests): Add $(tests-ifunc).
13055 * wcsmbs/test-wcschr-ifunc.c: New file.
13056 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13057 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13058 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13059 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13060 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13061
69f07e5f
L
13062 * string/Makefile (tests-ifunc): New variable.
13063 (tests): Add $(tests-ifunc).
13064 * string/test-memccpy.c (TEST_NAME): New macro.
13065 * string/test-memchr.c (TEST_NAME): Likewise.
13066 * string/test-memcmp.c (TEST_NAME): Likewise.
13067 * string/test-memcpy.c (TEST_NAME): Likewise.
13068 * string/test-memmem.c (TEST_NAME): Likewise.
13069 * string/test-memmove.c (TEST_NAME): Likewise.
13070 * string/test-memset.c (TEST_NAME): Likewise.
13071 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13072 * string/test-stpcpy.c (TEST_NAME): Likewise.
13073 * string/test-stpncpy.c (TEST_NAME): Likewise.
13074 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13075 * string/test-strcasestr.c (TEST_NAME): Likewise.
13076 * string/test-strcat.c (TEST_NAME): Likewise.
13077 * string/test-strchr.c (TEST_NAME): Likewise.
13078 * string/test-strcmp.c(TEST_NAME): Likewise.
13079 * string/test-strcpy.c (TEST_NAME): Likewise.
13080 * string/test-strcspn.c (TEST_NAME): Likewise.
13081 * string/test-strlen.c (TEST_NAME): Likewise.
13082 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13083 * string/test-strncmp.c (TEST_NAME): Likewise.
13084 * string/test-strncpy.c (TEST_NAME): Likewise.
13085 * string/test-strnlen.c (TEST_NAME): Likewise.
13086 * string/test-strpbrk.c (TEST_NAME): Likewise.
13087 * string/test-strrchr.c (TEST_NAME): Likewise.
13088 * string/test-strspn.c (TEST_NAME): Likewise.
13089 * string/test-strstr.c (TEST_NAME): Likewise.
13090 * string/test-bcopy-ifunc.c: New file.
13091 * string/test-bzero-ifunc.c: Likewise.
13092 * string/test-memccpy-ifunc.c: Likewise.
13093 * string/test-memchr-ifunc.c: Likewise.
13094 * string/test-memcmp-ifunc.c: Likewise.
13095 * string/test-memcpy-ifunc.c: Likewise.
13096 * string/test-memmem-ifunc.c: Likewise.
13097 * string/test-memmove-ifunc.c: Likewise.
13098 * string/test-mempcpy-ifunc.c: Likewise.
13099 * string/test-memset-ifunc.c: Likewise.
13100 * string/test-rawmemchr-ifunc.c: Likewise.
13101 * string/test-stpcpy-ifunc.c: Likewise.
13102 * string/test-stpncpy-ifunc.c: Likewise.
13103 * string/test-strcasecmp-ifunc.c: Likewise.
13104 * string/test-strcasestr-ifunc.c: Likewise.
13105 * string/test-strcat-ifunc.c: Likewise.
13106 * string/test-strchr-ifunc.c: Likewise.
13107 * string/test-strchrnul-ifunc.c: Likewise.
13108 * string/test-strcmp-ifunc.c: Likewise.
13109 * string/test-strcpy-ifunc.c: Likewise.
13110 * string/test-strcspn-ifunc.c: Likewise.
13111 * string/test-strlen-ifunc.c: Likewise.
13112 * string/test-strncasecmp-ifunc.c: Likewise.
13113 * string/test-strncat-ifunc.c: Likewise.
13114 * string/test-strncmp-ifunc.c: Likewise.
13115 * string/test-strncpy-ifunc.c: Likewise.
13116 * string/test-strnlen-ifunc.c: Likewise.
13117 * string/test-strpbrk-ifunc.c: Likewise.
13118 * string/test-strrchr-ifunc.c: Likewise.
13119 * string/test-strspn-ifunc.c: Likewise.
13120 * string/test-strstr-ifunc.c: Likewise.
13121
de54b33a
L
13122 * debug/Makefile (tests-ifunc): New variable.
13123 (tests): Add $(tests-ifunc).
13124 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13125 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13126 * debug/test-stpcpy_chk-ifunc.c: New file.
13127 * debug/test-strcpy_chk-ifunc.c: Likewise.
13128
88481c16
SP
131292012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13130
13131 [BZ #13601]
13132 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13133 header is not read in.
13134
135948bd
JM
131352012-10-19 Joseph Myers <joseph@codesourcery.com>
13136
89f1c388
JM
13137 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13138 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13139 directly. Pass built executable to script as
13140 $(built-program-cmd).
13141 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13142 $testprogram without using LD_LIBRARY_PATH and $ldso.
13143
e40a0d21
JM
13144 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13145 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13146 $(rtld-installed-name).
13147 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13148 (rtld_installed_name): Likewise.
13149 (library_path): Likewise.
13150 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13151 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13152 $(run-program-prefix) to tst-tables.sh.
13153 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13154 it to run tst-table-from and tst-table-to.
13155 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13156 Pass it to tst-table.sh.
13157 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13158 $(run-program-prefix) to tst-gettext.sh.
13159 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13160 tst-translit.sh.
13161 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13162 tst-gettext2.sh.
13163 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13164 to run tst-gettext.
13165 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13166 to run tst-gettext2.
13167 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13168 to run tst-translit.
13169 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13170 $(run-program-prefix) to tst-mtrace.sh.
13171 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13172 to run tst-mtrace.
13173 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13174 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13175 $(rtld-installed-name).
13176 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13177 (rtld_installed_name): Likewise.
13178 (run_program_prefix): New variable. Use it to run wordexp-test.
13179
728e272a
JM
13180 * Makeconfig (ARCH): Remove all definitions.
13181 (machine): Likewise.
13182 [ARCH]: Remove conditional code.
13183 [!objdir]: Give error.
13184 [!objdir] (objpfx): Remove.
13185 [!objdir] (common-objpfx): Likewise.
13186 [!objdir] (common-objdir): Likewise.
13187 * configure.in (config_makefile): Remove. Hardcode Makefile in
13188 AC_CONFIG_FILES call.
13189 * configure: Regenerated.
13190
d528cdcf
JM
13191 [BZ #13888]
13192 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13193 or TMPDIR.
13194 (testout): Likewise.
13195
135948bd
JM
13196 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13197 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13198 $(rtld-installed-name).
13199 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13200 (rtld_installed_name): Likwise.
13201 (runit): Remove function.
13202 (run_getconf): New variable, Use it for running getconf binary.
13203
38c78296
L
132042012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13205
13206 [BZ #14716]
13207 * string/test-memmem.c (check_result): New function.
13208 (do_one_test): Use it.
13209 (check1): New function.
13210 (test_main): Use it.
13211
d077f65f
MT
132122012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13213
13214 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13215
ced52c71
JM
132162012-10-18 Joseph Myers <joseph@codesourcery.com>
13217
13218 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13219 (_G_LSEEK64): Likewise.
13220 (_G_MMAP64): Likewise.
13221 (_G_FSTAT64): Likewise.
13222 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13223 (_G_LSEEK64): Likewise.
13224 (_G_MMAP64): Likewise.
13225 (_G_FSTAT64): Likewise.
13226 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13227 unconditional. Call __mmap64 directly.
13228 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13229 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13230 __lseek64 directly.
13231 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13232 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13233 __mmap64 directly.
13234 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13235 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13236 __lseek64 directly.
13237 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13238 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13239 __lseek64 directly.
13240 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13241 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13242 __lseek64 directly.
13243 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13244 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13245 __fxstat64 directly.
13246 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13247 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13248 unconditional.
13249 (freopen64) [!_G_OPEN64]: Remove conditional code.
13250 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13251 unconditional.
13252 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13253 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13254 unconditional.
13255 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13256 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13257 unconditional.
13258 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13259 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13260 unconditional.
13261 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13262 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13263 unconditional.
13264 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13265 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13266 unconditional.
13267 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13268 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13269 unconditional.
13270 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13271
b741de23
SP
132722012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13273
13274 [BZ #12140]
13275 * manual/memory.texi (Malloc Tunable Parameters): Add note
13276 about free list pointers overwriting some perturb bytes.
13277 Wording suggested by Roland McGrath.
13278
f9b9d9c9
JM
132792012-10-17 Joseph Myers <joseph@codesourcery.com>
13280
13281 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13282 (lgamma_test): Likewise.
13283 (tgamma_test): Likewise.
13284
172a631a
FW
132852012-10-16 Florian Weimer <fweimer@redhat.com>
13286
13287 [BZ #14700]
13288 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13289 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13290
e9f37252
MK
132912012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13292
13293 * NEWS: Mention BZ #14716.
13294 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13295 when removing AVAILABLE1_USES_J macro.
13296
d394eb74
L
132972012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13298
13299 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13300 (__bswap_64): __uint64_t for unsigned 64-bit int.
13301
ca38dc17
AS
133022012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13303
13304 * include/string.h (memmem): Declare libc hidden alias.
13305 * string/memmem.c (memmem): Define libc hidden alias.
13306 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13307 __read, __close instead of open, read, close.
13308
9a387d1f
L
133092012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13310
ac49ecaf
L
13311 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13312 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13313 global and hidden.
13314 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13315 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13316 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13317 Likewise.
13318 (__rawmemchr_sse2): Likewise.
13319 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13320 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13321 (__strchr_sse2): Likewise.
13322 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13323 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13324 (__strcasecmp_sse2): Likewise.
13325 (__strncasecmp_sse2): Likewise.
13326 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13327 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13328 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13329 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13330 (__strrchr_sse2): Likewise.
13331 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13332 ifunc-impl-list.c.
13333 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13334 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13335 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13336 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13337 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13338 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13339 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13340 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13341 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13342 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13343 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13344 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13345 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13346 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13347 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13348 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13349 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13350 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13351 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13352 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13353 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13354 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13355 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13356 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13357 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13358 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13359 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13360 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13361 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13362 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13363
b090e8ea
L
13364 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13365 global and hidden.
13366 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13367 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13368 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13369 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13370 Likewise.
13371 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13372 Likewise.
13373 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13374 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13375 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13376 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13377 ifunc-impl-list.c.
13378 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13379 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13380 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13381 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13382 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13383 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13384 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13385 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13386 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13387 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13388 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13389 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13390 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13391 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13392 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13393 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13394 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13395 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13396 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13397 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13398 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13399 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13400 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13401 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13402 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13403 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13404 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13405 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13406 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13407 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13408 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13409 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13410 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13411 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13412 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13413 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13414 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13415 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13416 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13417 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13418 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13419
11dd4af6
L
13420 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13421 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13422 * include/ifunc-impl-list.h: New file.
13423 * misc/ifunc-impl-list.c: Likewise.
13424 * misc/Makefile (routines): Add ifunc-impl-list.
13425 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13426 * string/test-string.h: Include <ifunc-impl-list.h>.
13427 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13428 impl_array): New variables.
13429 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13430 are defined.
13431 (test_init): Call __libc_ifunc_impl_list to initialize
13432 func_list if TEST_IFUNC and TEST_NAME are defined.
13433
9a387d1f
L
13434 * string/Makefile (strop-tests): Add bcopy and bzero.
13435 * string/test-bcopy.c: New file.
13436 * string/test-bzero.c: Likewise.
13437 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13438 defined.
13439 * string/test-memset.c: Support bzero test if TEST_BZERO is
13440 defined.
13441 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13442 __libc_memmove.
13443 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13444 __libc_memset.
13445 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13446 of memset.
13447
472371b9
JM
134482012-10-10 Joseph Myers <joseph@codesourcery.com>
13449
1e4a9536
JM
13450 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13451 * configure: Regenerated.
13452
d173d12e
JM
13453 * Makeconfig (+link-static-before-libc): Don't include
13454 $(link-static-libc).
13455
472371b9
JM
13456 * libio/libio.h (_IO_pos_t): Remove.
13457
89a3ad0b
AO
134582012-10-10 Alexandre Oliva <aoliva@redhat.com>
13459
13460 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13461 McGrath.
13462
e7451425
AO
134632012-10-10 Alexandre Oliva <aoliva@redhat.com>
13464
13465 * crypt/crypt-entry.c: Include fips-private.h.
13466 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13467 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13468 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13469 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13470
4ba74a35
AO
134712012-10-10 Alexandre Oliva <aoliva@redhat.com>
13472
13473 * crypt/crypt-private.h: Include stdbool.h.
13474 (_ufc_setup_salt_r): Return bool.
13475 * crypt/crypt-entry.c: Include errno.h.
13476 (__crypt_r): Return NULL with EINVAL for bad salt.
13477 * crypt/crypt_util.c (bad_for_salt): New.
13478 (_ufc_setup_salt_r): Check that salt is long enough and within
13479 the specified alphabet.
13480 * crypt/badsalttest.c: New file.
13481 * crypt/Makefile (tests): Add it.
13482 ($(objpfx)badsalttest): New.
13483
f96f1242
MK
134842012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13485
13486 * NEWS: Add entry for BZ #14602.
13487
0e8e0c1c
JM
134882012-10-09 Joseph Myers <joseph@codesourcery.com>
13489
13490 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13491 type-generic.
13492 * math/libm-test.inc: Update comment listing what functions and
13493 macros are tested.
13494 (isgreater_test): New function.
13495 (isgreaterequal_test): Likewise.
13496 (isless_test): Likewise.
13497 (islessequal_test): Likewise.
13498 (islessgreater_test): Likewise.
13499 (isunordered_test): Likewise.
13500 (main): Call the new functions.
13501
273edc5e
RM
135022012-10-09 Roland McGrath <roland@hack.frob.com>
13503
b8493de0
RM
13504 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13505 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13506 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13507 * sysdeps/i386/configure: Regenerated.
13508 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13509 * sysdeps/mach/configure: Regenerated.
13510 * sysdeps/mach/hurd/configure: Regenerated.
13511 * sysdeps/powerpc/configure: Regenerated.
13512 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13513 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13514 * sysdeps/s390/s390-32/configure: Regenerated.
13515 * sysdeps/s390/s390-64/configure: Regenerated.
13516 * sysdeps/sh/configure: Regenerated.
13517 * sysdeps/sparc/configure: Regenerated.
13518 * sysdeps/unix/sysv/linux/configure: Regenerated.
13519 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13520 * sysdeps/x86_64/configure: Regenerated.
13521
273edc5e
RM
13522 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13523 defined. Don't check if MAP is NULL.
13524
c8450f70
JM
135252012-10-09 Joseph Myers <joseph@codesourcery.com>
13526
13527 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13528 (_G_stat64): Likewise.
13529 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13530 (_G_stat64): Likewise.
13531 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13532 instead of struct _G_stat64.
13533 * libio/fileops.c (mmap_remap_check): Likewise.
13534 (decide_maybe_mmap): Likewise.
13535 (_IO_new_file_seekoff): Likewise.
13536 (_IO_file_stat): Likewise.
13537 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13538 _G_off64_t.
13539 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13540 instead of struct _G_stat64.
13541 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13542
57e605ba
MK
135432012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13544
13545 [BZ #14602]
13546 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13547 Replace with ...
13548 (CHECK_EOL): New macro.
13549 (two_way_short_needle): Check beginning of haystack for EOL. Use
13550 CHECK_EOL.
13551 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13552 Replace with CHECK_EOL.
13553 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13554 Replace with CHECK_EOL.
13555
ef1bb361
JM
135562012-10-08 Joseph Myers <joseph@codesourcery.com>
13557
13558 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13559 type-generic.
13560 * math/libm-test.inc: Update comment listing what functions and
13561 macros are tested.
13562 (finite_test): New function.
13563 (isinf_test): Likewise.
13564 (isnan_test): Likewise.
13565 (fpclassify_test): Test subnormal input.
13566 (isfinite_test): Likewise.
13567 (isnormal_test): Likewise.
13568 (main): Call the new functions.
13569
55f11534
JN
135702012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13571
13572 [BZ #14660]
13573 * Makerules (%.dynsym): Force C locale when running
13574 $(OBJDUMP) --dynamic-syms.
13575
1ab29350
AS
135762012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13577
13578 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13579 <stdint.h>.
13580
f1ecb7ef
DM
135812012-10-06 David S. Miller <davem@davemloft.net>
13582
13583 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13584 upper 32-bits of the length value in %o2 since we use branch-on-register
13585 tests which consider the entire 64-bit register.
13586
5d41d91a
L
135872012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13588
13589 * string/test-strstr.c (check2): Add a test for page boundary.
13590
3baddb72
DM
135912012-10-05 David S. Miller <davem@davemloft.net>
13592
13593 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13594 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13595 file.
13596 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13597 sysdep_routines.
13598 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13599 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13600 and bzero when HWCAP_SPARC_CRYPTO is present.
13601
9cee5585
L
136022012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13603
d7e0dab9
L
13604 [BZ #14602]
13605 * string/test-strstr.c (check2): New function.
13606 (test_main): Call check2.
13607
03759f47
L
13608 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13609 and bug-strchr1.
13610 * string/bug-strcasestr1.c (do_test): Moved to ...
13611 * string/test-strcasestr.c (check1): Here. New function.
13612 (do_one_test): Break out result checking code into ...
13613 (check_result): This. New function.
13614 (do_one_test): Call check_result.
13615 (test_main): Call check1.
13616 * string/bug-strchr1.c (do_test): Moved to ...
13617 * string/test-strchr.c (check1): Here. New function.
13618 (do_one_test): Break out result checking code into ...
13619 (check_result): This. New function.
13620 (do_one_test): Call check_result.
13621 (test_main): Call check1.
13622 * string/bug-strstr1.c (main): Moved to ...
046f153e 13623 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13624 (do_one_test): Break out result checking code into ...
13625 (check_result): This. New function.
13626 (do_one_test): Call check_result.
13627 (test_main): Call check1.
13628 * string/bug-strcasestr1.c: Removed.
13629 * string/bug-strchr1.c: Likewise.
13630 * string/bug-strstr1.c: Likewise.
13631
53cea63e
L
13632 * elf/Makefile (dl-routines): Add hwcaps.
13633 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13634 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13635 (_dl_important_hwcaps): Moved to ...
13636 * elf/dl-hwcaps.c: Here. New file.
13637 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13638
9cee5585 13639 [BZ #14557]
bb859b06
L
13640 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13641 if IS_IN_rtld isn't defined.
13642
9cee5585
L
13643 * elf/dl-support.c (_dl_sysinfo_map): New.
13644 Include "get-dynamic-info.h" and "setup-vdso.h".
13645 (_dl_non_dynamic_init): Call setup_vdso.
13646 * elf/dynamic-link.h: Don't include <assert.h>.
13647 (elf_get_dynamic_info): Moved to ...
13648 * elf/get-dynamic-info.h: Here. New file.
13649 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13650 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13651 * elf/setup-vdso.h: Here. New file.
13652 * elf/rtld.c: Include "setup-vdso.h".
13653 (dl_main): Call setup_vdso.
13654
23c31b76
JM
136552012-10-05 Joseph Myers <joseph@codesourcery.com>
13656
28234b07
JM
13657 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13658 creal in comment listing functions tested. List finite, isinf,
13659 isnan, isless, islessequal, isgreater, isgreaterequal,
13660 islessgreater, isunordered, lgamma_r and pow10 as functions and
13661 macros not tested. Mention which functions not tested are aliases
13662 for other functions. Fix typo. Note that signs of NaNs are not
13663 tested.
13664
23c31b76
JM
13665 * scripts/config.guess: Update from config.git.
13666 * scripts/config.sub: Likewise.
13667
9043e228
RM
136682012-10-04 Roland McGrath <roland@hack.frob.com>
13669
13670 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13671 * misc/madvise.c (madvise): Renamed to __madvise.
13672 Make madvise a weak alias.
13673 * include/sys/mman.h: Declare __madvise.
13674 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13675 * sysdeps/unix/syscalls.list
13676 (madvise): Make __madvise the strong name, and madvise a weak alias.
13677 * sysdeps/unix/sysv/linux/syscalls.list
13678 (madvise, mmap): Remove redundant entries.
13679 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13680 * malloc/malloc.c (mtrim): Likewise.
13681 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13682
f57f8055
RM
136832012-10-03 Roland McGrath <roland@hack.frob.com>
13684
13685 * sysdeps/mach/hurd/dl-cache.c: File removed.
13686 * config.h.in (USE_LDCONFIG): New #undef.
13687 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13688 * configure: Regenerated.
13689 * elf/Makefile (dl-routines): Add dl-cache only under
13690 [$(use-ldconfig) = yes].
13691 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13692 cache on [USE_LDCONFIG].
13693 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13694 [USE_LDCONFIG].
13695 * elf/rtld.c (dl_main): Likewise.
13696
5bb0c10a
PT
136972012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13698
13699 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13700 _SC_LEVEL4_CACHE_LINESIZE.
13701
010188c6
RM
137022012-10-03 Roland McGrath <roland@hack.frob.com>
13703
13704 * sysdeps/unix/bsd/confstr.h: File removed.
13705
b6c5ec07
AO
137062012-10-02 Alexandre Oliva <aoliva@redhat.com>
13707
13708 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13709 sys/sdt-config.h.
13710
408223d4
RM
137112012-10-02 Roland McGrath <roland@hack.frob.com>
13712
13713 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13714 Make 'mapoff' field ElfW(Off) rather than off_t.
13715
bb9510dc
DL
137162012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13717
fc997c6e
DL
13718 * nscd/Makefile: Remove nscd-cflags and all its users.
13719 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13720 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13721
bb9510dc
DL
13722 [BZ #10631]
13723 * malloc.c (malloc_printerr): Clarify error message.
13724
05699367
L
137252012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13726
13727 [BZ #14648]
13728 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13729 Set bit_FMA_Usable if FMA is supported.
13730 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13731 macro.
13732 (bit_FMA4_Usable): Updated.
13733 (index_FMA_Usable): New macro.
13734 (CPUID_FMA): Likewise
13735 (HAS_FMA): Defined with bit_FMA_Usable.
13736
51367701
RM
137372012-10-01 Roland McGrath <roland@hack.frob.com>
13738
13739 * bits/types.h (__swblk_t): Type removed.
13740 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13741 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13742 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13743 (__SWBLK_T_TYPE): Likewise.
13744 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13745 (__SWBLK_T_TYPE): Likewise.
13746 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13747 (__SWBLK_T_TYPE): Likewise.
13748 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13749 (__SWBLK_T_TYPE): Likewise.
13750
4d57bf63 137512012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13752 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13753
13754 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13755 (xdr_mapname): Use YPMAXMAP as maxsize.
13756 (xdr_peername): Use YPMAXPEER as maxsize.
13757 (xdr_keydat): Use YPAXRECORD as maxsize.
13758 (xdr_valdat): Use YPMAXRECORD as maxsize.
13759
93c65d43
RM
137602012-10-01 Roland McGrath <roland@hack.frob.com>
13761
497a03d6
RM
13762 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13763
93c65d43
RM
13764 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13765 * csu/init-first.c: ... here.
13766 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13767 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13768 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13769 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13770 * sysdeps/i386/init-first.c: File removed.
13771 * sysdeps/sh/init-first.c: File removed.
13772
bec749fd
JM
137732012-10-01 Joseph Myers <joseph@codesourcery.com>
13774
13775 [BZ #14645]
13776 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13777 if x * y might underflow to zero and z is zero.
13778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13779 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13780 * math/libm-test.inc (min_subnorm_value): New variable.
13781 (fma_test): Add more tests.
13782 (fma_test_towardzero): Likewise.
13783 (fma_test_downward): Likewise
13784 (fma_test_upward): Likewise.
13785 (initialize): Set min_subnorm_value.
13786
8ec5b013
JM
137872012-09-29 Joseph Myers <joseph@codesourcery.com>
13788
13789 [BZ #14638]
13790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13791 0 + 0.
13792 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13793 mode for addition resulting in exact zero.
13794 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13795 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13796 exact 0 + 0.
13797 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13798 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13799 * math/libm-test.inc (fma_test): Add more tests.
13800 (fma_test_towardzero): New function.
13801 (fma_test_downward): Likewise.
13802 (fma_test_upward): Likewise.
13803 (main): Call the new functions.
13804
b1fa802e
DM
138052012-09-28 David S. Miller <davem@davemloft.net>
13806
13807 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13808
d3b9fd9e
RM
138092012-09-28 Roland McGrath <roland@hack.frob.com>
13810
ea4d37b3
RM
13811 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13812 instead of SIGALRM.
13813
ac51c949
RM
13814 * sysdeps/gnu/_G_config.h: Moved to ...
13815 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13816 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13817 * sysdeps/generic/_G_config.h: ... here.
13818
28c195f7
RM
13819 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13820
848917f9
RM
13821 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13822
6bacf05b
RM
13823 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13824 Conditionalize target on [libnss_test1.so-version].
13825
91363dbb
RM
13826 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13827
cc87f7d8
RM
13828 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13829 (elfobjdir): Move out of conditionals.
13830
b1c608fe
RM
13831 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13832 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13833 (__nss_lookup_function): Conditionalize label remove_from_tree on
13834 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13835
1d9a6d96
DM
138362012-09-28 David S. Miller <davem@davemloft.net>
13837
13838 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13839 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13840 file.
13841 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13842 sysdep_routines.
13843 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13844 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13845 when HWCAP_SPARC_CRYPTO is present.
13846
72581615
PT
138472012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13848
13849 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13850
715a900c
JL
138512012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13852
13853 [BZ #6530]
13854 * stdio-common/vfprintf.c (process_string_arg): Revert
13855 2000-07-22 change.
13856
138572011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13858
13859 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13860 for testcase.
13861 * stdio-common/tst-sprintf.c: Include <locale.h>
13862 (main): Test sprintf's handling of incomplete multibyte
13863 characters.
13864
9bac1d86
L
138652012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13866
13867 * elf/dl-runtime.c (VERSYMIDX): Removed.
13868 * elf/dl-version.c (VERSYMIDX): Likewise.
13869 * elf/do-rel.h (VERSYMIDX): Likewise.
13870 (VALIDX): Likewise.
13871 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13872 * elf/rtld.c (VALIDX): Likewise.
13873 (ADDRIDX): Likewise.
9bac1d86
L
13874 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13875 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13876 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13877 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13878 (VALIDX): Likewise.
13879 (ADDRIDX): Likewise.
9bac1d86 13880
b31606c0
PT
138812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13882
13883 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13884
11541177
JL
138852012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13886
13887 [BZ #11438]
13888 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13889 to global scope.
13890 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13891 addresses are in the same scope as 192.0.2/24.
13892 * posix/gai.conf: Document new scope table defaults.
13893
adb26fae
SP
138942012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13895
13896 [BZ #5298]
13897 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13898 for ftell. Compute offsets from write pointers instead.
13899 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13900
4573c6b0
SP
139012012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13902
13903 [BZ #14543]
13904 * libio/Makefile (tests): New test case tst-fseek.
13905 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13906 combination works in wide mode.
13907 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13908 state when the external buffer state changes.
13909
aa9bbfe6
DM
139102012-09-27 David S. Miller <davem@davemloft.net>
13911
13912 [BZ #14376]
13913 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13914 pass reloc->r_addend in as the 'high' argument to
13915 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13916
784421e7
DM
13917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13918
c39bc8b8
PT
139192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13920
13921 * rt/tst-aio2.c: Include <pthread.h>.
13922 * rt/tst-aio3.c: Likewise.
13923
1ccc2399
SE
139242012-09-27 Steve Ellcey <sellcey@mips.com>
13925
13926 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13927
31ed4153
L
139282012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13929
25f5f885
L
13930 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13931 contents on [SHARED].
31ed4153 13932
b7bfe116
MP
139332012-09-26 Marek Polacek <polacek@redhat.com>
13934
13935 [BZ #14530]
13936 [BZ #13741]
13937 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13938 for C++ and GCC <4.3 as well as for non GCC compilers.
13939
43c4edba
MT
139402012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13941
13942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13943
6a1bf82f
RM
139442012-09-25 Roland McGrath <roland@hack.frob.com>
13945
13946 * Makefile.in (all, install): Declare with .PHONY.
13947 Reported by Michael Hope <michael.hope@linaro.org>.
13948
8ad11b9a
TMQMF
139492012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13950
13951 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13952 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13953 system header.
13954 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13955 Likewise.
13956 (sydep_routines): Add the new and the internal functions.
13957 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13958 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13960 (GLIBC_2.17): Add the new function.
13961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13962 (GLIBC_2.17): Likewise.
13963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13964 (GLIBC_2.17): Likewise.
13965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13966 (GLIBC_2.17): Likewise.
13967 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13968
7e2fca8d
AM
139692012-09-25 Alan Modra <amodra@gmail.com>
13970
13971 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13972 Add release barrier before setting once_control to say
13973 initialisation is done. Add hints on lwarx. Use macro in
13974 place of isync.
13975 (clear_once_control): Add release barrier.
13976
b87c4b24
JM
139772012-09-25 Joseph Myers <joseph@codesourcery.com>
13978
d032e0d2
JM
13979 [BZ #13629]
13980 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13981 specially.
13982 * math/s_clog10.c (__clog10): Likewise.
13983 * math/s_clog10f.c (__clog10f): Likewise.
13984 * math/s_clog10l.c (__clog10l): Likewise.
13985 * math/s_clogf.c (__clogf): Likewise.
13986 * math/s_clogl.c (__clogl): Likewise.
13987 * math/Makefile (libm-calls): Add x2y2m1.
13988 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13989 (__x2y2m1): Likewise.
13990 (__x2y2m1l): Likewise.
13991 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13992 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13993 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13994 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13995 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13996 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13997 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13998 * sysdeps/i386/fpu/libm-test-ulps: Update.
13999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14000
b87c4b24
JM
14001 [BZ #14621]
14002 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14003 int as type of variable DEPTH.
14004 (glob): Use size_t instead of int as type of variables NEWCOUNT
14005 and OLD_PATHC.
14006
6d3bf199
LD
140072012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14008
22bf5c17
LD
14009 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14010 Add s_sincosf-sse2.
14011 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14012 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14013 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14014 macros for using routine as __sincosf_ia32.
14015 Use macro for function declaration and weak_alias.
14016 * sysdeps/i386/fpu/libm-test-ulps: Update.
14017
14018 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14020
14021 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
14022 subnormal argument.
14023 * math/s_cexpf.c (__cexpf): Likewise.
14024 * math/s_csinf.c (__csinf): Likewise.
14025 * math/s_csinhf.c (__csinhf): Likewise.
14026 * math/s_ctanf.c (__ctanf): Likewise.
14027 * math/s_ctanhf.c (__ctanhf): Likewise.
14028 * math/s_ccosh.c (__ccoshf): Likewise.
14029 * math/s_cexp.c (__cexpl): Likewise.
14030 * math/s_csin.c (__csin): Likewise.
14031 * math/s_csinh.c (__csinh): Likewise.
14032 * math/s_ctan.c (__ctan): Likewise.
14033 * math/s_ctanh.c (ctanh): Likewise.
14034 * math/s_ccoshl.c (__ccoshl): Likewise.
14035 * math/s_cexpl.c (__cexpl): Likewise.
14036 * math/s_csinl.c (__csinl): Likewise.
14037 * math/s_csinhl.c (__csinhl): Likewise.
14038 * math/s_ctanl.c (__ctanl): Likewise.
14039 * math/s_ctanhl.c (__ctanhl): Likewise.
14040
203e5603
JM
140412012-09-25 Joseph Myers <joseph@codesourcery.com>
14042
14043 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14044 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14045 (_IO_off_t): Define to __off_t, not _G_off_t.
14046 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14047 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14048 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14049 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14050 type of __dummy and __dummy2 fields.
14051 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14052 (_G_ssize_t): Likewise.
14053 (_G_off_t): Likewise.
14054 (_G_pid_t): Likewise.
14055 (_G_uid_t): Likewise.
14056 (_G_wchar_t): Likewise.
14057 (_G_wint_t): Likewise.
14058 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14059 (_G_ssize_t): Likewise.
14060 (_G_off_t): Likewise.
14061 (_G_pid_t): Likewise.
14062 (_G_uid_t): Likewise.
14063 (_G_wchar_t): Likewise.
14064 (_G_wint_t): Likewise.
14065 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14066 (_G_ssize_t): Likewise.
14067 (_G_off_t): Likewise.
14068 (_G_pid_t): Likewise.
14069 (_G_uid_t): Likewise.
14070 (_G_wchar_t): Likewise.
14071 (_G_wint_t): Likewise.
14072
9fab36eb
SP
140732012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14074
14075 * malloc/arena.c: Include malloc-sysdep.h.
14076 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14077 is sufficient to shrink the heap or an unmap is needed.
14078 * sysdeps/generic/malloc-sysdep.h: New file. Define
14079 new function check_may_shrink_heap.
14080 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14081 new function check_may_shrink_heap.
14082
2b4f00d1
SP
140832012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14084
14085 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14086 comments.
14087
9a9028b1
DL
140882012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14089
57c69bef
DL
14090 * catgets/test-gencat.sh: Add "set -e".
14091 * elf/tst-pathopt.sh: Likewise.
14092 * grp/tst_fgetgrent.sh: Likewise.
14093 * iconvdata/run-iconv-test.sh: Likewise.
14094 * intl/tst-gettext.sh: Likewise.
14095 * intl/tst-gettext2.sh: Likewise.
14096 * intl/tst-gettext4.sh: Likewise.
14097 * intl/tst-gettext6.sh: Likewise.
14098 * intl/tst-translit.sh: Likewise.
14099 * io/ftwtest-sh: Likewise.
14100 * libio/test-freopen.sh: Likewise.
14101 * malloc/tst-mtrace.sh: Likewise.
14102 * posix/globtest.sh: Likewise.
14103 * posix/tst-getconf.sh: Likewise.
14104 * posix/wordexp-tst.sh: Likewise.
14105 * stdio-common/tst-printf.sh: Likewise.
14106 * stdio-common/tst-unbputc.sh: Likewise.
14107 * stdlib/tst-fmtmsg.sh: Likewise.
14108 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14109 * catgets/Makefile: Do not specify -e option when running
14110 testsuite shell scripts.
14111 * elf/Makefile: Likewise.
14112 * grp/Makefile: Likewise.
14113 * iconvdata/Makefile: Likewise.
14114 * intl/Makefile: Likewise.
14115 * io/Makefile: Likewise.
14116 * libio/Makefile: Likewise.
14117 * malloc/Makefile: Likewise.
14118 * posix/Makefile: Likewise.
14119 * stdio-common/Makefile: Likewise.
14120 * stdlib/Makefile: Likewise.
14121 * sysdeps/x86_64/Makefile: Likewise.
14122
9a9028b1
DL
14123 * io/ftwtest-sh: Add copyright header.
14124 * posix/globtest.sh: Likewise.
14125 * posix/tst-getconf.sh: Likewise.
14126 * posix/wordexp-tst.sh: Likewise.
14127 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14128
ced6f16e
L
141292012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14130
94b32c39
L
14131 [BZ #13679]
14132 * Makeconfig (+link): Defined as $(+link-static) if
14133 $(build-shared) isn't yes.
14134 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14135 isn't yes.
14136 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14137
189e935b
L
14138 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14139
ced6f16e
L
14140 [BZ #14562]
14141 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14142 new chunk size with MALLOC_ALIGN_MASK.
14143
a9f8e53a
JM
141442012-09-24 Joseph Myers <joseph@codesourcery.com>
14145
14146 [BZ #5044]
14147 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14148 <rounding-mode.h>.
14149 (__printf_fphex): Determine rounding using get_rounding_mode and
14150 round_away.
14151 * stdio-common/tst-printf-round.c (struct hex_test): New
14152 structure.
14153 (hex_tests): New variable.
14154 (test_hex_in_one_mode): New function.
14155 (do_test): Also run tests for hex float output.
14156
43153109
JM
141572012-09-21 Joseph Myers <joseph@codesourcery.com>
14158
14159 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14160 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14161 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14162 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14163 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14164 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14165 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14166 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14167
8a26625d
JM
141682012-09-20 Joseph Myers <joseph@codesourcery.com>
14169
14170 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14171 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14172 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14173 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14174
f3fd569c
DL
141752012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14176
14177 [BZ #14579]
14178 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14179 mode only.
14180 * elf/tst-rtld-load-self.sh: New test.
14181 * elf/Makefile: Run it.
14182
63bbedd4
JM
141832012-09-18 Joseph Myers <joseph@codesourcery.com>
14184
14185 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14186 (tst-writev-ENV): Remove.
14187 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14188
626f8b6a
CM
141892012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14190
14191 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14192
b7aaa4d6
JM
141932012-09-17 Joseph Myers <joseph@codesourcery.com>
14194
14195 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14196 unconditional.
14197 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14198 Likewise.
14199 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14200 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14201 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14202 Likewise.
14203
65513990
L
142042012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14205
14206 [BZ #14587]
14207 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14208 * config.make.in (have-cpp-asm-debuginfo): Removed.
14209 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14210 * configure: Regenerated.
14211
784761be
JM
142122012-09-14 Joseph Myers <joseph@codesourcery.com>
14213
14214 [BZ #5044]
14215 * stdio-common/printf_fp.c: Include <stdbool.h> and
14216 <rounding-mode.h>.
14217 (___printf_fp): Determine rounding using get_rounding_mode and
14218 round_away.
14219 * stdio-common/tst-printf-round.c: New file.
14220 * stdio-common/Makefile (tests): Add tst-printf-round.
14221 (link-libm): New variable.
14222 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14223
9503345f
L
142242012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14225
14226 [BZ #14576]
14227 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14228 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14229 Likewise.
14230 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14231 Likewise.
14232
ad35fc00
JM
142332012-09-13 Joseph Myers <joseph@codesourcery.com>
14234
14235 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14236 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14237 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14238 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14239
6c9b0f68
JM
142402012-09-12 Joseph Myers <joseph@codesourcery.com>
14241
14242 [BZ #14518]
14243 * include/rounding-mode.h: New file.
14244 * sysdeps/generic/get-rounding-mode.h: Likewise.
14245 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14246 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14247 (MAX_VALUE): New macro.
14248 (MIN_VALUE): Likewise.
14249 (overflow_value): New function.
14250 (underflow_value): Likewise.
14251 (round_and_return): Use overflow_value and underflow_value to
14252 determine return values in overflow and underflow cases. Use
14253 round_away to determine rounding depending on rounding mode.
14254 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14255 determine return values in overflow and underflow cases.
14256 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14257 (struct test_results): New structure.
14258 (struct test): Use struct test_results to store expected results
14259 for all rounding modes.
14260 (TEST): Include expected results for all rounding modes.
14261 (test_in_one_mode): New function.
14262 (do_test): Use test_in_one_mode to compute and check results.
14263 Check results for all rounding modes.
14264 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14265 $(link-libm).
14266
19fcedd5
AM
142672012-12-09 Allan McRae <allan@archlinux.org>
14268
1e9d84cd 14269 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14270
8bbfd2f1
JM
142712012-09-11 Joseph Myers <joseph@codesourcery.com>
14272
14273 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14274 (_G_int32_t): Likewise.
14275 (_G_uint16_t): Likewise.
14276 (_G_uint32_t): Likewise.
14277 (_G_HAVE_BOOL): Likewise.
14278 (_G_HAVE_ATEXIT): Likewise.
14279 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14280 (_G_HAVE_IO_FILE_OPEN): Likewise.
14281 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14282 (_G_int32_t): Likewise.
14283 (_G_uint16_t): Likewise.
14284 (_G_uint32_t): Likewise.
14285 (_G_HAVE_BOOL): Likewise.
14286 (_G_HAVE_ATEXIT): Likewise.
14287 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14288 (_G_HAVE_IO_FILE_OPEN): Likewise.
14289 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14290 (_G_int32_t): Likewise.
14291 (_G_uint16_t): Likewise.
14292 (_G_uint32_t): Likewise.
14293 (_G_HAVE_BOOL): Likewise.
14294 (_G_HAVE_ATEXIT): Likewise.
14295 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14296 (_G_HAVE_IO_FILE_OPEN): Likewise.
14297
b1dc5912
L
142982012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14299
14300 * csu/libc-tls.c: Update copyright years.
14301
0e886ef9
JM
143022012-09-10 Joseph Myers <joseph@codesourcery.com>
14303
28361c5e
JM
14304 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14305 [!_G_USING_THUNKS]: Remove conditional code.
14306 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14307 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14308
0e886ef9
JM
14309 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14310 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14311 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14312 (_G_VTABLE_LABEL_PREFIX): Likewise.
14313 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14314 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14315 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14316 (_G_VTABLE_LABEL_PREFIX): Likewise.
14317 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14318 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14319 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14320 (_G_VTABLE_LABEL_PREFIX): Likewise.
14321 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14322
bcba7aa2
L
143232012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14324
14325 * libio/Makefile: Include ../Makeconfig before tests.
14326 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14327 only if $(build-shared) is yes.
14328
06585ee8
L
14329 * iconv/gconv_db.c: Update copyright years.
14330
80ccd52c
LD
143312012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14332
14333 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14334 unwind info if defined PIC. Fix special cases description.
14335 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14336
14337 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14338 DP_HI_MASK entry.
14339 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14340
691bc9c1
L
143412012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14342
3d9b46b3
L
14343 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14344
de2139a9
L
14345 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14346 is NULL.
14347
5ca78dd0
L
14348 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14349 (LDLIBS-tst-chk4): This.
14350 (LDFLAGS-tst-chk5): Renamed to ...
14351 (LDLIBS-tst-chk5): This.
14352 (LDFLAGS-tst-chk6): Renamed to ...
14353 (LDLIBS-tst-chk6): This.
14354 (LDFLAGS-tst-lfschk4): Renamed to ...
14355 (LDLIBS-tst-lfschk4): This.
14356 (LDFLAGS-tst-lfschk5): Renamed to ...
14357 (LDLIBS-tst-lfschk5): This.
14358 (LDFLAGS-tst-lfschk6): Renamed to ...
14359 (LDLIBS-tst-lfschk6): This.
14360
691bc9c1
L
14361 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14362 on $(common-objpfx)soversions.mk.
14363
65cafb1c
JM
143642012-09-07 Joseph Myers <joseph@codesourcery.com>
14365
14366 [BZ #10014]
14367 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14368 example host name.
14369
c78ab094
SP
143702012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14371
14372 * malloc/arena.c (arena_get_retry): New function that gets
14373 another arena for the caller to try its request on.
14374 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14375 current arena cannot fulfill the request.
14376 (__libc_memalign): Likewise.
14377 (__libc_memalign): Likewise.
14378 (__libc_pvalloc): Likewise.
14379 (__libc_calloc): Likewise.
14380
01f49f59
JT
143812012-09-05 John Tobey <john.tobey@gmail.com>
14382
14383 [BZ #13542]
14384 * manual/arith.texi (Operations on Complex): Fix description
14385 of carg branch cut.
14386
4c23fed5
JM
143872012-09-06 Joseph Myers <joseph@codesourcery.com>
14388
1d3c8572
JM
14389 [BZ #10014]
14390 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14391 host name.
14392
4c23fed5
JM
14393 [BZ #10038]
14394 * manual/memory.texi (Memory): Make order of menu items match
14395 order of sections.
14396
04570aaa
L
143972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14398
14399 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14400 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14401 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14402
b80af2f4
L
144032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14404
14405 * csu/libc-tls.c (static_dtv): Renamed to ...
14406 (_dl_static_dtv): This. Make it global.
14407 (_dl_initial_dtv): Removed.
14408 (__libc_setup_tls): Updated.
14409 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14410 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14411 DL_INITIAL_DTV.
14412
2abe9f15
PM
144132012-09-06 Petr Machata <pmachata@redhat.com>
14414
14415 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14416 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14417 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14418 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14419
0948c3af
L
144202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14421
14422 [BZ #14545]
14423 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14424 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14425 freeing dtv[-1].
14426
a5055ad1
L
144272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14428
14429 [BZ #14544]
14430 * Makeconfig (link-static-before-libc): Replace $(+prector)
14431 with $(+prectorT).
14432 (link-static-after-libc): Replace $(+postctor) with
14433 $(+postctorT).
14434 (link-bounded): Replace $(+prector)/$(+postctor) with
14435 $(+prectorT)/$(+postctorT).
14436 (+prectorT): New macro.
14437 (+postctorT): Likewise.
14438
ed8c2ecd
JM
144392012-09-06 Joseph Myers <joseph@codesourcery.com>
14440
14441 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14442 (round_str): Handle values above the maximum for IBM long double
14443 as inexact.
14444 * stdlib/tst-strtod-round.c (tests): Regenerated.
14445
14c996c8
AK
144462012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14447
14448 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14449 assembler flag.
14450 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14451 zarch_nohighgprs around the zarch optimized routines.
14452 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14453 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14454 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14455 for zarch.
14456
430d6ce6
DM
144572012-09-05 David S. Miller <davem@davemloft.net>
14458
14459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14460
ff04dda4
DM
14461 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14462 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14463 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14464 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14465 entries.
14466
24d4e01b
AO
144672012-09-05 Alexandre Oliva <aoliva@redhat.com>
14468
14469 * malloc/arena.c: Fold copyright years.
14470 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14471
61d58174
AO
144722012-09-05 Alexandre Oliva <aoliva@redhat.com>
14473
14474 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14475
20196a5e
AO
144762012-09-05 Alexandre Oliva <aoliva@redhat.com>
14477
14478 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14479
5c447383
AO
144802012-09-05 Alexandre Oliva <aoliva@redhat.com>
14481
14482 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14483 change internal state upon failure.
14484
fad64255
AO
144852012-09-05 Alexandre Oliva <aoliva@redhat.com>
14486
14487 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14488 * malloc/memusage.c (mmap): Likewise.
14489 (mmap64, mremap): Likewise. Adjust name in comment.
14490
1ffb8c90
SP
144912012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14492
14493 * libio/fileops.c: Fix typos in comments.
14494 * libio/oldfileops.c: Likewise.
14495 * libio/wfileops.c: Likewise.
14496
6ef9cc37
SP
144972012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14498
14499 [BZ #1349]
14500 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14501 (tst-malloc-usable-ENV): Set environment for test case.
14502 * malloc/hooks.c (malloc_check_get_size): New function to get
14503 requested size.
14504 * malloc/malloc.c (musable): Use malloc_check_get_size.
14505 * malloc/tst-malloc-usable.c: New test case.
14506
4d038ae3
AS
145072012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14508
14509 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14510
c4e85184
AM
145112012-09-05 Allan McRae <allan@archlinux.org>
14512
b9dafc56 14513 [BZ #13966]
c4e85184
AM
14514 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14515 determine header location.
14516 * configure: Regenerated.
14517
e1343020
AS
145182012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14519
14520 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14521 float format.
14522 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14523 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14524 format.
e1343020
AS
14525 (test): Regenerate.
14526
0a9f1987
DM
145272012-09-04 David S. Miller <davem@davemloft.net>
14528
14529 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14530 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14531 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14532
29237804
FW
145332012-09-04 Florian Weimer <fweimer@redhat.com>
14534
14535 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14536 failures.
14537
edb3cb88
FW
14538 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14539
60160d83
JM
145402012-09-04 Joseph Myers <joseph@codesourcery.com>
14541
14542 [BZ #9914]
14543 * libio/iogetdelim.c: Include <limits.h>.
14544 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14545 + len + 1 would overflow.
14546
bcd6c8dc
AJ
145472012-09-03 Andreas Jaeger <aj@suse.de>
14548
14549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14550 * sysdeps/i386/fpu/libm-test-ulps: Update.
14551
4ffffbd2
LD
145522012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14553
14554 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14555 Add s_sinf-sse2, s_conf-sse2.
14556
14557 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14558 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14559 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14560 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14561
14562 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14563 for using routine as __sinf_ia32.
14564 Use macro for function declaration and weak_alias.
14565 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14566 for using routine as __cosf_ia32.
14567 Use macro for function declaration and weak_alias.
14568
14569 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14570 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14571
14572 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14573 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14575
14576 * math/libm-test.inc (cos_test): Add more test cases.
14577 (sin_test): Likewise.
14578 (sincos_test): Likewise.
14579
511fa286
AK
145802012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14581
14582 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14583 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14584 hidden.
14585 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14586
5f30cfec
L
145872012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14588
14589 [BZ #14538]
14590 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14591 first element of the GOT.
14592 (elf_machine_load_address): Return the difference between
14593 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14594
0786794f
AM
145952012-09-01 Allan McRae <allan@archlinux.org>
14596
5f30cfec
L
14597 [BZ #13412]
14598 * configure.in (AWK): Require gawk version 3.0 or later.
14599 * configure: Regenerated.
0786794f 14600
26889eac
JM
146012012-09-01 Joseph Myers <joseph@codesourcery.com>
14602
14603 * sysdeps/unix/sysv/linux/kernel-features.h
14604 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14605 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14606 [__NR_clock_getres]: Make code unconditional.
14607 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14608 (clock_getcpuclockid): Remove code left unreachable by removal of
14609 conditionals.
14610 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14611 code unconditional.
14612 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14613 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14614 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14615 Make code unconditional.
14616 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14617 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14618 * sysdeps/unix/sysv/linux/clock_settime.c
14619 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14620 conditional code.
14621 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14622 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14623
d22e28b0
L
146242012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14625
14626 [BZ #14476]
14627 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14628 scripts/test-installation.pl.
14629
14630 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14631 and $ld_so_version if it is set.
14632
050af9c4
SP
146332012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14634
14635 [BZ #14516]
14636 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14637 failure if reading from procfs failed.
14638 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14639
ad845c0b
JM
146402012-08-27 Joseph Myers <joseph@codesourcery.com>
14641
14642 * sysdeps/unix/sysv/linux/kernel-features.h
14643 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14644 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14645 Remove conditional code.
14646 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14647 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14648 Remove conditional code.
14649 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14650 * sysdeps/unix/sysv/linux/i386/fxstat.c
14651 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14652 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14653 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14654 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14655 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14656 * sysdeps/unix/sysv/linux/i386/lxstat.c
14657 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14658 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14659 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14660 Remove conditional code.
14661 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14662 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14663 Remove conditional code.
14664 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14665 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14666 <kernel-features.h>.
14667 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14668 Remove.
14669 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14670 Remove conditional code.
14671 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14672 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14673 Remove conditional.
14674
5dbf56af
MF
146752012-08-27 Mike Frysinger <vapier@gentoo.org>
14676
14677 [BZ #5400]
14678 * NEWS: Add fixed bug number.
14679
d6e70f43
JM
146802012-08-27 Joseph Myers <joseph@codesourcery.com>
14681
7efb4737
JM
14682 [BZ #14519]
14683 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14684 underflowing exponent in case of negative sign.
14685 * stdlib/tst-strtod-round-data: Add more tests.
14686 * stdlib/tst-strtod-round.c (tests): Regenerated.
14687
af92131a
JM
14688 [BZ #3479]
14689 * stdlib/strtod_l.c (NDIG): Remove.
14690 (HEXNDIG): Likewise.
14691 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14692 smallest representable value.
14693 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14694 lie within an exact representation of 1/2 ulp of the result.
14695 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14696 unconditionally.
14697 (TENS_P9_IDX): Define unconditionally.
14698 (TENS_P9_SIZE): Likewise.
14699 (TENS_P10_IDX): Likewise.
14700 (TENS_P10_SIZE): Likewise.
14701 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14702 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14703 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14704 entries for 10^2^13 and 10^2^14.
14705 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14706 (TENS_P13_IDX): Define.
14707 (TENS_P13_SIZE): Likewise.
14708 (TENS_P14_IDX): Likewise.
14709 (TENS_P14_SIZE): Likewise.
14710 (_fpioconst_pow10): Change array size to
14711 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14712 unconditional.
14713 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14714 1024]: Add entries for 10^2^13 and 10^2^14.
14715 [LAST_POW10 > _LAST_POW10]: Remove #error.
14716 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14717 (_fpioconst_pow10): Change array size to
14718 FPIOCONST_POW10_ARRAY_SIZE.
14719 * stdlib/gen-fpioconst.c: New file.
14720 * stdlib/gen-tst-strtod-round.c: Likewise.
14721 * stdlib/tst-strtod-round-data: Likewise.
14722 * stdlib/tst-strtod-round.c: Likewise.
14723 * stdlib/Makefile (tests): Add tst-strtod-round.
14724
d6e70f43
JM
14725 [BZ #14459]
14726 * stdlib/strtod_l.c: Include <stdint.h>.
14727 (NDEBUG): Do not define.
14728 (round_and_return): Change EXPONENT parameter to type intmax_t.
14729 Rearrange calculations to avoid internal overflow possibilities.
14730 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14731 Rearrange calculations to avoid internal overflow possibilities.
14732 Assert that number fits inside MPNSIZE limbs.
14733 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14734 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14735 calculations and add assertions to avoid internal overflow
14736 possibilities. Add casts to avoid signed/unsigned operations.
14737 * stdlib/tst-strtod-overflow.c: New file.
14738 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14739
1f529f7d
MP
147402012-08-25 Marek Polacek <polacek@redhat.com>
14741
14742 * time/time.h: Fix some typos in comments.
14743
59a629f1
RM
147442012-08-23 Roland McGrath <roland@hack.frob.com>
14745
14746 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14747 * posix/tst-rfc3484-2.c: Likewise.
14748 * posix/tst-rfc3484-3.c: Likewise.
14749
d3bafbc9
SM
147502012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14751
14752 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14753 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14754
4efcc022
JM
147552012-08-23 Joseph Myers <joseph@codesourcery.com>
14756
14757 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14758 #include of fxstatat64.c.
14759
3cc3ef96
RM
147602012-08-22 Roland McGrath <roland@hack.frob.com>
14761
f04e2132
RM
14762 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14763 * shadow/getspent_r.c: Likewise.
14764 * shadow/getspnam.c: Likewise.
14765 * shadow/getspnam_r.c: Likewise.
14766 * gshadow/getsgent.c: Likewise.
14767 * gshadow/getsgent_r.c: Likewise.
14768 * gshadow/getsgnam.c: Likewise.
14769 * gshadow/getsgnam_r.c: Likewise.
14770 * inet/getnetbyad.c: Likewise.
14771 * inet/getnetbyad_r.c: Likewise.
14772 * inet/getnetbynm.c: Likewise.
14773 * inet/getnetbynm_r.c: Likewise.
14774 * inet/getnetent.c: Likewise.
14775 * inet/getnetent_r.c: Likewise.
14776 * inet/getproto.c: Likewise.
14777 * inet/getproto_r.c: Likewise.
14778 * inet/getprtent.c: Likewise.
14779 * inet/getprtent_r.c: Likewise.
14780 * inet/getprtname.c: Likewise.
14781 * inet/getprtname_r.c: Likewise.
14782 * inet/getrpcbyname.c: Likewise.
14783 * inet/getrpcbyname_r.c: Likewise.
14784 * inet/getrpcbynumber.c: Likewise.
14785 * inet/getrpcbynumber_r.c: Likewise.
14786 * inet/getrpcent.c: Likewise.
14787 * inet/getrpcent_r.c: Likewise.
14788 * inet/getaliasent.c: Likewise.
14789 * inet/getaliasent_r.c: Likewise.
14790 * inet/getaliasname.c: Likewise.
14791 * inet/getaliasname_r.c: Likewise.
14792 * nscd/getgrgid_r.c: Likewise.
14793 * nscd/getgrnam_r.c: Likewise.
14794 * nscd/gethstbyad_r.c: Likewise.
14795 * nscd/gethstbynm3_r.c: Likewise.
14796 * nscd/getpwnam_r.c: Likewise.
14797 * nscd/getpwuid_r.c: Likewise.
14798 * nscd/getsrvbynm_r.c: Likewise.
14799 * nscd/getsrvbypt_r.c: Likewise.
14800 * nscd/gai.c: Likewise.
14801
c53d909c
RM
14802 * configure.in (build_nscd): New substituted variable, set
14803 by --disable-build-nscd and defaults to $use_nscd.
14804 * configure: Regenerated.
14805 * config.make.in (build-nscd): New substituted variable.
14806 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14807 Change conditional to require [$(build-nscd) = yes] as well.
14808 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14809
3cc3ef96
RM
14810 [BZ# 13696]
14811 * configure.in (use_nscd): New substituted variable, set by
14812 --disable-nscd. If enabled, define USE_NSCD.
14813 * configure: Regenerated.
14814 * config.h.in: Add USE_NSCD.
14815 * config.make.in (use-nscd): New substituted variable.
14816 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14817 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14818 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14819 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14820 (CFLAGS-getgrnam_r.c): Likewise.
14821 (CFLAGS-initgroups.c): Likewise.
14822 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14823 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14824 Variables removed.
14825 * inet/getnetgrent_r.c
14826 (nscd_setnetgrent): New function, broken out of ...
14827 (setnetgrent): ... here. Call it.
14828 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14829 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14830 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14831 * nscd/Makefile (routines, aux): Move definitions after include of
14832 Makeconfig. Conditionalize on [$(use-nscd) != no].
14833 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14834 Conditionalize on [USE_NSCD].
14835 (is_nscd, nscd_init_cb): Likewise.
14836 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14837 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14838 * nss/nss_db/db-init.c: Likewise.
14839 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14840 [USE_NSCD].
14841 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14842 (make_request): Use it.
14843 (cache_valid_p): New function.
14844 (__check_pf): Use it.
14845 * NEWS: Add item for --disable-nscd.
14846
07e51550
DL
148472012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14848
14849 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14850 to support sed >= 4.2.1-20-ga9bf076.
14851 * configure: Regenerated.
14852
35a5b08b
RM
148532012-08-22 Roland McGrath <roland@hack.frob.com>
14854
14855 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14856 Conditionalize whole body on [IREL].
14857
8479f23a
JL
148582012-08-22 Jeff Law <law@redhat.com>
14859
14860 [BZ #14505]
14861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14862 if the family is PF_UNSPEC.
14863
48da0b21
MF
148642012-08-22 Mike Frysinger <vapier@gentoo.org>
14865
14866 * Makerules (lib-version): Rename from V.
14867 (install-lib-nosubdir): Change V to lib-version.
14868
15d0da8c
WS
148692012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14870
14871 [BZ #14252]
14872 * powerpc32/power6/wcschr.c: New file.
14873 * powerpc32/power6/wcscpy.c: New file.
14874 * powerpc32/power6/wcsrchr.c: New file.
14875 * powerpc64/power6/wcschr.c: New file.
14876 * powerpc64/power6/wcscpy.c: New file.
14877 * powerpc64/power6/wcsrchr.c: New file.
14878
bcca0895
MK
148792012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14880
14881 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14882 (two_way_short_needle): Use it.
5a4aaa33
RM
14883 * string/strstr.c (AVAILABLE1_USES_J): Define.
14884 * string/strcasestr.c: Likewise.
99677e57
MK
14885
14886 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14887 array references.
14888 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14889
400726de
MK
14890 [BZ #11607]
14891 * NEWS: Add an entry.
14892 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14893 define their defaults.
14894 (two_way_short_needle): Detect end-of-string on-the-fly.
14895 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14896 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14897 * string/bug-strcasestr1.c: New test.
14898 * string/Makefile: Run it.
14899
20a71f2c
MK
149002012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14901
14902 [BZ #11607]
14903 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14904 the first character.
14905
21ad0558
RM
149062012-08-21 Roland McGrath <roland@hack.frob.com>
14907
14908 * csu/elf-init.c (__libc_csu_irel): Function removed.
14909 * csu/libc-start.c (apply_irel): New function.
14910 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14911
0e1d9911
JM
149122012-08-21 Joseph Myers <joseph@codesourcery.com>
14913
14914 * sysdeps/unix/sysv/linux/kernel-features.h
14915 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14916 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14917 <kernel-features.h>.
14918 [__NR_fadvise64_64]: Make code unconditional.
14919 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14920 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14921 !__NR_fadvise64_64)]: Likewise.
14922 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14923 !__NR_fadvise64_64))]: Likewise.
14924 [__NR_fadvise64]: Make code unconditional.
14925 [!__NR_fadvise64]: Remove conditional code.
14926 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14927 <kernel-features.h>.
14928 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14929 unconditional.
14930 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14931 conditional code.
14932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14933 not include <kernel-features.h>.
14934 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14935 unconditional.
14936 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14937 conditional code.
14938 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14939 include <kernel-features.h>.
14940 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14941 unconditional.
14942 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14943 conditional code.
14944
14a50c9d
WS
149452012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14946
14947 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14948 slight instruction rearrangements per scrollpipe analysis.
14949 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14950
c0f4faf0
RM
149512012-08-20 Roland McGrath <roland@hack.frob.com>
14952
696da859
RM
14953 * manual/syslog.texi (syslog; vsyslog, closelog):
14954 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14955 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14956
c0f4faf0
RM
14957 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14958 DSOCAPS to match condition on defining it.
14959
348363b2
JM
149602012-08-20 Joseph Myers <joseph@codesourcery.com>
14961
a35cbf28
JM
14962 * sysdeps/unix/sysv/linux/kernel-features.h
14963 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14965 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14966 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14968 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14969 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14971 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14972 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14973
445f7ecd
JM
14974 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14975 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14976
348363b2
JM
14977 * sysdeps/unix/sysv/linux/kernel-features.h
14978 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14979 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14980 unconditional.
14981 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14982 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14983 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14984 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14985 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14986 Make code unconditional.
14987 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14988 (__mmap64) [!__NR_mmap2]: Likewise.
14989 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14990 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14991 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14992 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14993 [__NR_mmap2]: Make code unconditional.
14994 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14995 (__mmap64) [!__NR_mmap2]: Likewise.
14996
bc5bc0e5
AK
149972012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14998
14999 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15000
88d506de
AJ
150012012-08-18 Andreas Jaeger <aj@suse.de>
15002
15003 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15004
493387d2
MF
150052012-08-18 Mike Frysinger <vapier@gentoo.org>
15006
15007 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15008 * include/unistd.h (__have_sock_cloexec): Likewise.
15009 (__have_pipe2): Likewise.
15010 (__have_dup3): Likewise.
15011
a277af22
MF
150122012-08-18 Mike Frysinger <vapier@gentoo.org>
15013
15014 [BZ #9685]
15015 * include/unistd.h (__have_pipe2): Change define into an extern int.
15016 (__have_dup3): Likewise.
15017 * socket/have_sock_cloexec.c: Include fcntl.h.
15018 (__have_pipe2): New variable.
15019 (__have_dup3): Likewise.
15020
fdab8fd3
MF
150212012-08-17 Mike Frysinger <vapier@gentoo.org>
15022
15023 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15024
31035e80
MP
150252012-08-17 Marek Polacek <polacek@redhat.com>
15026
15027 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15028 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15029
3bd9e993
RM
150302012-08-17 Roland McGrath <roland@hack.frob.com>
15031
c91c505f
RM
15032 * configure.in: Add AC_SUBST for sysheaders.
15033 * configure: Regenerated.
15034 * config.make.in (sysheaders): New substituted variable.
15035
7c6f9d53
RM
15036 * sysdeps/unix/mkfifo.c: Moved ...
15037 * sysdeps/posix/mkfifo.c: ... here.
15038 * sysdeps/unix/mkfifoat.c: Moved ...
15039 * sysdeps/posix/mkfifoat.c: ... here.
15040
15041 * sysdeps/unix/utime.c: Moved ...
15042 * sysdeps/posix/utime.c: ... here.
15043
15044 * sysdeps/unix/time.c: Moved ...
15045 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
15046 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15047 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
15048
15049 * sysdeps/unix/nice.c: Moved ...
15050 * sysdeps/posix/nice.c: ... here.
15051
15052 * sysdeps/unix/alarm.c: Moved ...
15053 * sysdeps/posix/alarm.c: ... here.
15054
3bd9e993
RM
15055 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15056
d1f09384
JL
150572012-08-17 Jeff Law <law@redhat.com>
15058
15059 * intl/Makefile (codeset_mo): New variable.
15060 ($(codeset_mo)): New target.
15061 (tst-codeset.out): Depend on that. Remove explicit rule.
15062 (tst-gettext3.out, tst-gettext5.out): Likewise.
15063 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15064 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15065 * intl/tst-codeset.sh: Remove.
15066 * intl/tst-gettext3.sh: Likewise.
15067 * intl/tst-gettext5.sh: Likewise.
15068
2ae1ae5c
RM
150692012-08-17 Roland McGrath <roland@hack.frob.com>
15070
c31fdb83
RM
15071 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15072 * sysdeps/unix/syscalls.list: ... here.
15073
a0844057
RM
15074 * sysdeps/posix/getaddrinfo.c
15075 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15076 (gaiconf_init, gaiconf_reload): Use them.
15077 [!_STATBUF_ST_NSEC]
15078 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15079 Define using time_t rather than struct timespec.
15080
750c1f2a
RM
15081 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15082 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15083 Macros removed.
15084 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15085 [!NO_THREADS].
15086 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15087 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15088 Likewise.
15089
2ae1ae5c
RM
15090 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15091 __libc_cleanup_push argument.
15092
e66a42f5
RM
15093 * bits/param.h: New file.
15094 * misc/sys/param.h: New file.
15095 * include/sys/param.h: New file.
15096 * misc/Makefile (headers): Add bits/param.h.
15097 * sysdeps/generic/sys/param.h: File removed.
15098 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15099 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15100 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 15101 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 15102
b7c08a66
RM
15103 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15104 last change.
15105
b2e1c562
RM
15106 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15107 [_IO_MTSAFE_IO].
15108 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15109 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15110 New macros.
15111
c75ccd4c
RM
15112 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15113 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15114 rather than -D_IO_MTSAFE_IO conditionally.
15115 * stdio-common/Makefile (CPPFLAGS): Likewise.
15116 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15117 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15118 Use $(libio-mtsafe).
15119 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15120 of -D_IO_MTSAFE_IO.
15121 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15122 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15123 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15124 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15125 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15126 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15127 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15128 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15129 (CFLAGS-fread_u_chk.c): Likewise.
15130 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15131 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15132 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15133 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15134 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15135 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15136 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15137 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15138 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15139
15140 * libio/Makefile: Test [$(libc-reentrant) = yes]
15141 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15142
15143 * Makeconfig
15144 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15145 * sysdeps/pthread/configure: File removed.
15146 * sysdeps/pthread/Makeconfig: New file.
15147 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15148 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15149
d9195db8
GB
151502012-08-16 Gary Benson <gbenson@redhat.com>
15151
15152 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15153 unmapping the first object in a namespace.
15154
86466cd9
RM
151552012-08-16 Roland McGrath <roland@hack.frob.com>
15156
15157 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15158 (__internal_setnetgrent): ... this. Add internal_function to
15159 definition. Add libc_hidden_def.
15160 (setnetgrent): Update caller.
15161 (internal_endnetgrent): Renamed to ...
15162 (__internal_endnetgrent): ... this. Add internal_function to
15163 definition. Add libc_hidden_def.
15164 (endnetgrent): Update caller.
15165 (internal_getnetgrent_r): Renamed to ...
15166 (__internal_getnetgrent_r): ... this. Add internal_function to
15167 definition. Add libc_hidden_def.
15168 (__getnetgrent_r): Update caller.
15169 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15170
c3c8283c
JM
151712012-08-16 Joseph Myers <joseph@codesourcery.com>
15172
15173 * stdlib/longlong.h: Update from GCC.
15174
db1ee0a8
RM
151752012-08-16 Roland McGrath <roland@hack.frob.com>
15176
15177 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15178 on _QL, which is set by umul_ppmm but never used.
15179 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15180 variables, which are set by GMP macros but never used.
15181 * stdio-common/_itowa.c (_itowa): Likewise.
15182 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15183 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15184
30f69637
CD
151852012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15186
15187 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15188 struct La_sh_regs is not constant.
15189 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15190 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15191 and struct La_sparc64_regs are not constant.
15192
93a78ac4
JM
151932012-08-16 Joseph Myers <joseph@codesourcery.com>
15194
15195 * sysdeps/unix/sysv/linux/kernel-features.h
15196 (__ASSUME_POSIX_TIMERS): Remove.
15197 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15198 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15199 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15200 Make code unconditional.
15201 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15202 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15203 Make code unconditional.
15204 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15205 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15206 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15207 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15208 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15209 Make code unconditional.
15210 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15211 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15212 (__libc_missing_posix_timers): Remove.
15213
dd924cd7
RM
152142012-08-15 Roland McGrath <roland@hack.frob.com>
15215
4b4f2771
RM
15216 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15217 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15218
601c888b
RM
15219 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15220
176790a7
RM
15221 * elf/dl-sym.c: Include <stdlib.h>.
15222
329bc018
RM
15223 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15224 constants, which avoids warnings in 32-bit builds.
15225
e04e272d
RM
15226 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15227 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15228
952bf94a
RM
15229 * misc/lseek.c: File moved to ...
15230 * io/lseek.c: ... here.
15231
7c99b50a
RM
15232 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15233
dd924cd7
RM
15234 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15235 shifting LEN more than 31 bits at once.
15236
b3f479a8
LD
152372012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15238
15239 [BZ #14195]
8c4ae0d4
RM
15240 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15241 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15242 * string/test-strncasecmp.c (check1): Renamed to...
15243 (bz12205): ...this.
15244 (bz14195): Add new testcase for two empty input strings and N > 0.
15245 (test_main): Call new testcase, adapt for renamed function.
15246
9c55864e
AJ
152472012-08-15 Andreas Jaeger <aj@suse.de>
15248
15249 [BZ #14090]
15250 * crypt/md5test2.c: New test, based on test supplied by Serge
15251 Belyshev <belyshev@depni.sinp.msu.ru>.
15252 * crypt/Makefile (xtests): Add md5test-giant..
15253 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15254
02dcb6c5
PE
152552012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15256
15257 [BZ #14090]
15258 * crypt/md5.c (md5_process_block): Don't assume the buffer
15259 length is less than 2**32.
15260 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15261 length is less than 2**64.
15262
a3f95dcc
RM
152632012-08-15 Roland McGrath <roland@hack.frob.com>
15264
be75d758
RM
15265 * string/str-two-way.h: Include <sys/param.h>.
15266 (MAX): Macro removed.
15267
7312ca90
RM
15268 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15269 Move #define and #undef of memmove to just before and after
15270 including <string.h>.
15271
9a0a5486
RM
15272 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15273 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15274 and after including <string.h>. Move declarations of
15275 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15276 to before #include "string/memmove.c".
15277
67cc348d
RM
15278 * include/dirent.h: Declare __getdirentries.
15279
a3f95dcc
RM
15280 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15281 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15282
ca98e171
MF
152832012-08-14 Mike Frysinger <vapier@gentoo.org>
15284
15285 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15286 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15287 * sysdeps/i386/configure: Regenerated.
15288 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15289 STABS_CURRENT_FILE, and STABS_FUN.
15290 (END): Remove call to STABS_FUN_END.
15291 (STABS_CURRENT_FILE1): Delete.
15292 (STABS_CURRENT_FILE): Likewise.
15293 (STABS_FUN): Likewise.
15294 (STABS_FUN_END): Likewise.
15295 (STABS_FUN2): Likewise.
15296 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15297 * sysdeps/x86_64/configure: Regenerated.
15298
5908bf46
RM
152992012-08-14 Roland McGrath <roland@hack.frob.com>
15300
15301 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15302 * elf/dl-lookup.c: Likewise.
5908bf46 15303
f2c05b9e
JM
153042012-08-14 Joseph Myers <joseph@codesourcery.com>
15305
15306 * sysdeps/unix/sysv/linux/kernel-features.h
15307 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15308 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15309 unconditionally.
15310 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15311 unconditionally.
15312 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15313 condition on __ASSUME_CLONE_THREAD_FLAGS.
15314
e11f5155
AJ
153152012-08-14 Andreas Jaeger <aj@suse.de>
15316
15317 * sysdeps/i386/fpu/libm-test-ulps: Update.
15318
51a9ba86
MK
153192012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15320
2fdd4f78
AJ
15321 * include/atomic.h (atomic_exchange_and_add): Split into ...
15322 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15323 New atomic macros.
51a9ba86 15324
ba6cba9e
MT
153252012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15326
15327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15328
42443a47
JL
153292012-08-13 Jeff Law <law@redhat.com>
15330
15331 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15332 null byte in the output string.
15333
121dce05
JM
153342012-08-10 Joseph Myers <joseph@codesourcery.com>
15335
15336 * sysdeps/unix/sysv/linux/kernel-features.h
15337 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15338 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15339 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15340 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15341 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15342 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15343 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15344
bf51f568
JL
153452012-08-09 Jeff Law <law@redhat.com>
15346
15347 [BZ #13939]
15348 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15349 When avoid_arena is set, don't retry in the that arena. Pick the
15350 next one, whatever it might be.
15351 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15352 (arena_lock): Pass in new parameter to arena_get2.
15353 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15354 arena_get2.
15355 (__libc_malloc): Unify retrying after main arena failure with
15356 __libc_memalign version.
15357 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15358
f85fa270
L
153592012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15360
15361 [BZ #14166]
15362 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15363 to __redirect_strstr.
15364 (__strstr_sse42): Use typeof __redirect_strstr.
15365 (__strstr_ia32): Likewise.
15366 (__libc_strstr): New prototype.
15367 (strstr): Renamed to ...
15368 (__libc_strstr): This.
15369 (strstr): New strong alias of __libc_strstr.
15370 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15371 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15372 __redirect_time.
15373 Include <time.h>.
15374 (__libc_time): New prototype.
15375 (time_ifunc): Replace time with __libc_time.
15376 (time): New strong alias and hidden definition of __libc_time.
15377 (__GI_time): Remove strong alias.
15378 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15379 Include <stddef.h>.
15380 (memmove): Redefined to __redirect_memmove.
15381 (__memmove_sse2): Use typeof __redirect_memmove.
15382 (__memmove_ssse3): Likewise.
15383 (__memmove_ssse3_back): Likewise.
15384 (__libc_memmove): New prototype.
15385 (memmove): Renamed to ...
15386 (__libc_memmove): This.
15387 (memmove): New strong alias of __libc_memmove.
15388
33b4a91e
MS
153892012-08-08 Mark Salter <msalter@redhat.com>
15390
15391 * elf/elf.h
15392 (R_MN10300_TLS_GD): Define.
15393 (R_MN10300_TLS_LD): Likewise.
15394 (R_MN10300_TLS_LDO): Likewise.
15395 (R_MN10300_TLS_GOTIE): Likewise.
15396 (R_MN10300_TLS_IE): Likewise.
15397 (R_MN10300_TLS_LE): Likewise.
15398 (R_MN10300_TLS_DTPMOD): Likewise.
15399 (R_MN10300_TLS_DTPOFF): Likewise.
15400 (R_MN10300_TLS_TPOFF): Likewise.
15401 (R_MN10300_SYM_DIFF): Likewise.
15402 (R_MN10300_ALIGN): Likewise.
15403 (R_MN10300_NUM): Update.
15404
b36137f1
JM
154052012-08-08 Joseph Myers <joseph@codesourcery.com>
15406
15407 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15408 Remove.
15409
cdd915fd
RM
154102012-08-08 Roland McGrath <roland@hack.frob.com>
15411
a2433aac
RM
15412 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15413
cdd915fd
RM
15414 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15415 sysdeps/unix -> sysdeps/posix move.
15416 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15417
bf9b740a
AM
154182012-08-07 Allan McRae <allan@archlinux.org>
15419
15420 [BZ #14303]
15421 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15422 (SUNOS_CPP): Likewise.
15423 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15424 not found.
15425 (open_input): Call CPP using execvp.
15426
93df14ee
JM
154272012-08-07 Joseph Myers <joseph@codesourcery.com>
15428
15429 * sysdeps/unix/sysv/linux/kernel-features.h
15430 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15431 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15432 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15433 (__ASSUME_WAITID_SYSCALL): Likewise.
15434 * sysdeps/unix/sysv/linux/dl-execstack.c
15435 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15436 code unconditional.
15437 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15438 conditional code.
15439 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15440 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15441 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15442 code.
15443 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15444 unconditional.
15445 [__ASSUME_WAITID_SYSCALL]: Likewise.
15446 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15447
d34689de
RM
154482012-08-07 Roland McGrath <roland@hack.frob.com>
15449
a281decc
RM
15450 * sysdeps/unix/closedir.c: Renamed to ...
15451 * sysdeps/posix/closedir.c: ... here.
15452 * sysdeps/unix/dirfd.c: Renamed to ...
15453 * sysdeps/posix/dirfd.c: ... here.
15454 * sysdeps/unix/dirstream.h: Renamed to ...
15455 * sysdeps/posix/dirstream.h: ... here.
15456 * sysdeps/unix/fdopendir.c: Renamed to ...
15457 * sysdeps/posix/fdopendir.c: ... here.
15458 * sysdeps/unix/opendir.c: Renamed to ...
15459 * sysdeps/posix/opendir.c: ... here.
15460 * sysdeps/unix/readdir.c: Renamed to ...
15461 * sysdeps/posix/readdir.c: ... here.
15462 * sysdeps/unix/readdir_r.c: Renamed to ...
15463 * sysdeps/posix/readdir_r.c: ... here.
15464 * sysdeps/unix/rewinddir.c: Renamed to ...
15465 * sysdeps/posix/rewinddir.c: ... here.
15466 * sysdeps/unix/seekdir.c: Renamed to ...
15467 * sysdeps/posix/seekdir.c: ... here.
15468 * sysdeps/unix/telldir.c: Renamed to ...
15469 * sysdeps/posix/telldir.c: ... here.
15470 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15471 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15472 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15473 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15474
22895b47
RM
15475 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15476 * bits/fcntl.h: ... here.
15477
707a53b6
RM
15478 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15479 not 0.
15480 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15481 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15482 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15483 (struct flock): Move l_start, l_len to the beginning.
15484 Use __pid_t for l_pid.
15485 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15486 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15487 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15488 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15489 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15490 [__USE_LARGEFILE64] (struct flock64): New type.
15491 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15492
f0bd3e25
RM
15493 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15494 * bits/dirent.h: ... here.
15495
d34689de
RM
15496 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15497 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15498
6dad2c06
JM
154992012-08-07 Joseph Myers <joseph@codesourcery.com>
15500
15501 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15502 Change from 2.6.0 to 2.6.16.
15503 * sysdeps/unix/sysv/linux/configure: Regenerated.
15504 * sysdeps/unix/sysv/linux/kernel-features.h
15505 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15506 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15507 version.
15508 (__ASSUME_UTIMES): Likewise.
15509 (__ASSUME_CLONE_STOPPED): Remove.
15510 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15511 architectures, not kernel version.
15512 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15513 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15514 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15515 (__ASSUME_WAITID_SYSCALL): Likewise.
15516 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15517 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15518 * README: State 2.6.16 as minimum Linux kernel version. Do not
15519 refer to older versions.
15520
03af9520
RM
155212012-08-06 Roland McGrath <roland@hack.frob.com>
15522
8e49df1d
RM
15523 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15524 Define alphasort64 as an alias.
15525 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15526 Define versionsort64 as an alias.
15527 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15528 Define scandir64 as an alias.
15529 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15530 Define scandirat64 as an alias.
15531 * dirent/alphasort64.c (alphasort64):
15532 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15533 * dirent/versionsort64.c: Likewise.
15534 * dirent/scandir64.c: Likewise.
15535 * dirent/scandirat64.c: Likewise.
15536 * sysdeps/wordsize-64/alphasort.c: File removed.
15537 * sysdeps/wordsize-64/alphasort64.c: File removed.
15538 * sysdeps/wordsize-64/scandir.c: File removed.
15539 * sysdeps/wordsize-64/scandir64.c: File removed.
15540 * sysdeps/wordsize-64/scandirat.c: File removed.
15541 * sysdeps/wordsize-64/scandirat64.c: File removed.
15542 * sysdeps/wordsize-64/versionsort.c: File removed.
15543 * sysdeps/wordsize-64/versionsort64.c: File removed.
15544 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15545 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15546 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15547 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15548 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15549 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15550 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15551 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15552
15553 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15554 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15555 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15556 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15557 [defined __arch64__ || defined __sparcv9]
15558 (__INO_T_MATCHES_INO64_T): New macro.
15559 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15560 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15561 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15562 * sysdeps/unix/sysv/linux/bits/dirent.h
15563 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15564 (_DIRENT_MATCHES_DIRENT64): New macro.
15565
03af9520
RM
15566 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15567 Define lockf64 as an alias.
15568 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15569 Define fseeko64 as an alias.
15570 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15571 Define ftello64 as an alias.
15572 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15573 Define _IO_fgetpos64 and fgetpos64 as aliases.
15574 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15575 Define _IO_fsetpos64 and fsetpos64 as aliases.
15576 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15577 Conditionalize body on this.
15578 * libio/fseeko64.c: Likewise.
15579 * libio/ftello64.c: Likewise.
15580 * libio/iofgetpos64.c: Likewise.
15581 * libio/iofsetpos64.c: Likewise.
15582 * sysdeps/wordsize-64/lockf.c: File removed.
15583 * sysdeps/wordsize-64/lockf64.c: File removed.
15584 * sysdeps/wordsize-64/fseeko.c: File removed.
15585 * sysdeps/wordsize-64/fseeko64.c: File removed.
15586 * sysdeps/wordsize-64/ftello.c: File removed.
15587 * sysdeps/wordsize-64/ftello64.c: File removed.
15588 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15589 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15590 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15591 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15592 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15593 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15594 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15595 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15596 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15597 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15598 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15599 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15600 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15601 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15602
15603 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15604 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15605 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15606 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15607 [defined __arch64__ || defined __sparcv9]
15608 (__OFF_T_MATCHES_OFF64_T): New macro.
15609 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15610 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15612 (__OFF_T_MATCHES_OFF64_T): New macro.
15613
c5757acd
L
156142012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15615
15616 * stdlib/secure-getenv.c (__secure_getenv): Replace
15617 GLIBC_2_16 with GLIBC_2_17.
15618
3a31811e
L
156192012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15620
15621 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15622 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15623
faa2bccb
DM
156242012-08-03 David S. Miller <davem@davemloft.net>
15625
15626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15627
85fe1997
JM
156282012-08-03 Joseph Myers <joseph@codesourcery.com>
15629
15630 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15631 Remove.
15632 (__ASSUME_CORRECT_SI_PID): Likewise.
15633 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15634 (__ASSUME_TMPFS_NAME): Likewise.
15635 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15636 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15637 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15638 (HAVE_AUX_SECURE): Make definition unconditional.
15639 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15640 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15641
4f75b7a0
RM
156422012-08-03 Roland McGrath <roland@hack.frob.com>
15643
15644 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15645 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15646 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15647 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15648 __eloop_threshold instead of SYMLOOP_MAX.
15649
15650 * sysdeps/generic/eloop-threshold.h: New file.
15651 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15652 of MAXSYMLINKS.
15653 * elf/chroot_canon.c (chroot_canon): Likewise.
15654
7aab07e4
JM
156552012-08-03 Joseph Myers <joseph@codesourcery.com>
15656
15657 [BZ #13717]
15658 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15659 Change to 2.6.0 everywhere.
15660 * sysdeps/unix/sysv/linux/configure: Regenerated.
15661 * sysdeps/unix/sysv/linux/kernel-features.h
15662 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15663 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15664 kernel versions.
15665 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15666 (__ASSUME_FUTEX_REQUEUE): Remove.
15667 (__ASSUME_STATFS64): Define unconditionally.
15668 (__ASSUME_AT_SECURE): Likewise.
15669 (__ASSUME_CORRECT_SI_PID): Likewise.
15670 (__ASSUME_TGKILL): Define without depending on kernel version for
15671 i386.
15672 (__ASSUME_UTIMES): Likewise.
15673 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15674 kernel version.
15675 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15676 (__ASSUME_TMPFS_NAME): Likewise.
15677 * README: Update reference to Linux kernel versions.
15678
b67e9372
MP
156792012-08-02 Marek Polacek <polacek@redhat.com>
15680
1f529f7d 15681 [BZ# 14150]
b67e9372
MP
15682 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15683 libc_cv_asm_type_prefix with %.
15684 * configure: Regenerated.
d2441631
RM
15685 * include/libc-symbols.h: Remove comment about
15686 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15687 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15688 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15689 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15690 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15691 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15692 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15693 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15694 * elf/tst-unique2mod1.c: Likewise.
15695 * elf/tst-unique1mod2.c: Likewise.
15696 * elf/tst-unique1mod1.c: Likewise.
15697 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15698 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15699 Replace ASM_TYPE_DIRECTIVE with .type.
15700 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15701 * sysdeps/i386/sysdep.h: Likewise.
15702 * sysdeps/x86_64/sysdep.h: Likewise.
15703 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15705 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15706 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15707 * sysdeps/powerpc/powerpc32/sysdep.h:
15708 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15709 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15710 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15711 * sysdeps/i386/fpu/e_powf.S: Likewise.
15712 * sysdeps/i386/fpu/e_expl.S: Likewise.
15713 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15714 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15715 * sysdeps/i386/fpu/e_pow.S: Likewise.
15716 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15717 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15718 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15719 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15720 * sysdeps/i386/fpu/e_log2.S: Likewise.
15721 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15722 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15723 * sysdeps/i386/fpu/e_powl.S: Likewise.
15724 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15725 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15726 * sysdeps/i386/fpu/e_logl.S: Likewise.
15727 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15728 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15729 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15730 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15731 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15732 * sysdeps/i386/fpu/e_log.S: Likewise.
15733 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15734 * sysdeps/i386/fpu/e_logf.S: Likewise.
15735 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15736 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15737 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15738 * sysdeps/i386/fpu/e_log10.S: Likewise.
15739 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15740 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15741 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15742 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15743 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15744 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15745 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15746 * sysdeps/i386/i686/strtok.S: Likewise.
15747 * sysdeps/i386/i386-mcount.S: Likewise.
15748 * sysdeps/i386/strtok.S: Likewise.
15749 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15750 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15751 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15752 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15753 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15754 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15755 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15756 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15757 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15758 * sysdeps/x86_64/_mcount.S: Likewise.
15759 * sysdeps/x86_64/strtok.S: Likewise.
15760 * sysdeps/sh/_mcount.S: Likewise.
15761
2747bf9a
RM
157622012-08-01 Roland McGrath <roland@hack.frob.com>
15763
15764 * libio/iofopen.c: Include <fcntl.h>.
15765 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15766 (_IO_fopen64, fopen64): Define as aliases.
15767 * libio/iofopen64.c: Include <fcntl.h>.
15768 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15769 Conditionalize body on this.
15770 * sysdeps/wordsize-64/iofopen.c: File removed.
15771 * sysdeps/wordsize-64/iofopen64.c: File removed.
15772
3fb791b8
MP
157732012-08-01 Marek Polacek <polacek@redhat.com>
15774
15775 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15776 Use dlfcn directly instead of a variable.
15777 (binfmt-subdir): Do not define.
15778 (dlfcn): Likewise.
15779
a9f1039f
JM
157802012-08-01 Joseph Myers <joseph@codesourcery.com>
15781
23bddc06
JM
15782 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15783 Remove all definitions.
15784 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15785 <kernel-features.h>.
15786 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15787 (miss_F_GETOWN_EX): Remove all definitions.
15788 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15789 macro definition.
15790 [!__ASSUME_FCNTL64]: Remove conditional code.
15791 [__ASSUME_FCNTL64]: Make code unconditional.
15792 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15793 <kernel-features.h>.
15794 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15795 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15796 (lockf64) [__NR_fcntl64]: Make code unconditional.
15797 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15798
a9f1039f
JM
15799 * sysdeps/unix/sysv/linux/kernel-features.h
15800 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15801 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15802 Make code unconditional.
15803 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15804 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15806 [__NR_vfork]: Make code unconditional.
15807 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15808 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15810 [__NR_vfork]: Make code unconditional.
15811 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15812 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15813
09c0ee5f
RM
158142012-08-01 Roland McGrath <roland@hack.frob.com>
15815
48aec5b9
RM
15816 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15817 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15818
cd97c966
RM
15819 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15820 Define mkstemp64 as an alias.
3f55550c
RM
15821 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15822 Define mkstemps64 as an alias.
cd97c966
RM
15823 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15824 Define mkostemp64 as an alias.
b8625cfc
RM
15825 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15826 Define mkostemps64 as an alias.
cd97c966
RM
15827 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15828 Conditionalize body on this.
15829 * misc/mkostemp64.c: Likewise.
b8625cfc 15830 * misc/mkostemps64.c: Likewise.
3f55550c 15831 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15832 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15833 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15834 * sysdeps/wordsize-64/mkostemp.c: File removed.
15835 * sysdeps/wordsize-64/mkstemp.c: File removed.
15836 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15837 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15838 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15839 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15840
09c0ee5f
RM
15841 [BZ #14138]
15842 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15843 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15844 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15845 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15846
15847 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15848 compat_symbol macros from <shlib-compat.h> rather than the underlying
15849 default_symbol_version and symbol_version macros, so that DEFAULT
15850 lines in shlib-versions are respected.
15851 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15852
7e66ee51
FW
158532012-08-01 Florian Weimer <fweimer@redhat.com>
15854
15855 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15856 Declare with warn_unused_result.
15857 (setgid, setregid, setegid, setresgid): Likewise.
15858 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15859 Likewise.
15860 * WUR-REPORT: Remove set*id functions.
15861
d2a54255
PT
158622012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15863
15864 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15865
7ecdb005
RM
158662012-07-31 Roland McGrath <roland@hack.frob.com>
15867
b4180a5e 15868 [BZ #10191]
789bd351
RM
15869 * include/sys/socket.h (__libc_accept, __libc_accept4):
15870 Add attribute_hidden.
15871 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15872
40ce302d
RM
15873 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15874 use of PTR_MANGLE.
15875 * inet/getnetgrent_r.c (setup): Likewise.
15876
7ecdb005
RM
15877 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15878
e2eabb2c
DM
158792012-07-31 David S. Miller <davem@davemloft.net>
15880
15881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15882
d0419dbf
JM
158832012-07-31 Joseph Myers <joseph@codesourcery.com>
15884
15885 [BZ #13629]
15886 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15887 value between 1.0 and 2.0 and smaller part has absolute value less
15888 than 1.0.
15889 * math/s_clog10.c (__clog10): Likewise.
15890 * math/s_clog10f.c (__clog10f): Likewise.
15891 * math/s_clog10l.c (__clog10l): Likewise.
15892 * math/s_clogf.c (__clogf): Likewise.
15893 * math/s_clogl.c (__clogl): Likewise.
15894 * math/libm-test.inc (clog_test): Add more tests.
15895 (clog10_test): Likewise.
15896 * sysdeps/i386/fpu/libm-test-ulps: Update.
15897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15898
2bc13872
FW
158992012-07-31 Florian Weimer <fweimer@redhat.com>
15900
15901 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15902 Exit with zero in case no suitable GID is found, and write a
15903 message to standard error.
15904
bea9b193
RM
159052012-07-30 Roland McGrath <roland@hack.frob.com>
15906
15907 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15908 rather than to 1.
15909 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15910 (MAXPATHLEN): Removed.
15911 (NOGROUP, NODEV): New macros.
15912 (setbit, clrbit, isset, isclr): New macros.
15913 (howmany, roundup, powerof2): New macros.
15914 (DEV_BSIZE): New macro.
15915
15916 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15917 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15918
15919 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15920 definition on [!__NO_LONG_DOUBLE_MATH].
15921
15922 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15923 PTR_MANGLE and PTR_DEMANGLE.
15924
15925 * socket/accept4.c (accept4): Rename to __libc_accept4.
15926 Define accept4 as a weak alias.
15927
15928 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15929 on [_DIRENT_HAVE_D_TYPE].
15930 * io/ftw.c (ftw_dir): Likewise.
15931
15932 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15933
15934 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15935
15936 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15937 Use the BSD numbers rather than the arbitrary ones we had.
15938 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15939 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15940 (SIGXCPU, SIGXFSZ): New macros.
15941 (_NSIG): Now 32.
15942
15943 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15944 initializer on [_LIBC_REENTRANT].
15945
15946 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15947 definitions inside [_POSIX_MAPPED_FILES].
15948
15949 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15950
15951 * dirent/opendir.c: Include <fcntl.h>.
15952
15953 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15954 (__libc_getspecific): Likewise.
15955 (__libc_key_create): Likewise.
15956
15957 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15958 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15959 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15960 (tmpfile64): Define as alias.
15961 * sysdeps/wordsize-64/tmpfile.c: File removed.
15962 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15963 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15964 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15965
15966 * stdio-common/vfscanf.c: Include <stdbool.h>.
15967 * nss/makedb.c: Likewise.
15968 * stdio-common/_i18n_number.h: Likewise.
15969 * argp/argp-help.c: Likewise.
15970 * posix/wordexp.c: Likewise.
15971 * sysdeps/posix/spawni.c: Likewise.
15972 * nss/nss_files/files-initgroups.c: Likewise.
15973 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15974 * nss/nss_files/files-initgroups.c: Likewise.
15975 * nss/nss_db/db-netgrp.c: Likewise.
15976 * nss/nss_db/db-initgroups.c: Likewise.
15977 * io/fchmodat.c: Include <sys/stat.h>.
15978
15979 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15980 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15981
15982 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15983 [HAVE_MMAP].
15984
15985 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15986 Add multiple inclusion protection.
15987
e5abc686
DM
159882012-07-27 David S. Miller <davem@davemloft.net>
15989
15990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15991
815e6fa3
GB
159922012-07-27 Gary Benson <gbenson@redhat.com>
15993
15994 [BZ #14298]
15995 * elf/rtld.c: Include <stap-probe.h>.
15996 (dl_main): Added static probes "init_start" and "init_complete".
15997 * elf/dl-load.c: Include <stap-probe.h>.
15998 (lose): Take new parameter "nsid".
15999 Added static probe "map_failed".
16000 (_dl_map_object_from_fd): Pass namespace id to lose.
16001 Added static probe "map_start".
16002 (open_verify): Pass namespace id to lose.
16003 * elf/dl-open.c: Include <stap-probe.h>.
16004 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16005 and "reloc_complete".
16006 * elf/dl-close.c: Include <stap-probe.h>.
16007 (_dl_close_worker): Added static probes "unmap_start" and
16008 "unmap_complete".
16009 * elf/rtld-debugger-interface.txt: New file documenting the above.
16010
9f98c16c
RM
160112012-07-26 Roland McGrath <roland@hack.frob.com>
16012
16013 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16014 rather than a string variable.
16015 * sunrpc/rpc_main.c (h_output): Likewise.
16016 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16017
f3c22df3
PT
160182012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16019
16020 * inet/check_native.c: New file.
16021
3129cfc6
JM
160222012-07-26 Joseph Myers <joseph@codesourcery.com>
16023
da865e95
JM
16024 [BZ #13629]
16025 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16026 if larger part has absolute value 1.0.
16027 * math/s_clog10.c (__clog10): Likewise.
16028 * math/s_clog10f.c (__clog10f): Likewise.
16029 * math/s_clog10l.c (__clog10l): Likewise.
16030 * math/s_clogf.c (__clogf): Likewise.
16031 * math/s_clogl.c (__clogl): Likewise.
16032 * math/libm-test.inc (clog_test): Add more tests.
16033 (clog10_test): Likewise.
16034 * sysdeps/i386/fpu/libm-test-ulps: Update.
16035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16036
3129cfc6
JM
16037 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16038 (pltexit): Likewise.
16039 (La_regs): Likewise.
16040 (La_retval): Likewise.
16041 (int_retval): Likewise.
16042 Update #error for removed macros to refer only to definitions in
16043 tst-audit.h.
16044 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16045 macro.
16046 (pltexit): Likewise.
16047 (La_regs): Likewise.
16048 (La_retval): Likewise.
16049 (int_retval): Likewise.
16050 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16051 macro.
16052 (pltexit): Likewise.
16053 (La_regs): Likewise.
16054 (La_retval): Likewise.
16055 (int_retval): Likewise.
16056 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16057 macro.
16058 (pltexit): Likewise.
16059 (La_regs): Likewise.
16060 (La_retval): Likewise.
16061 (int_retval): Likewise.
16062 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16063 macro.
16064 (pltexit): Likewise.
16065 (La_regs): Likewise.
16066 (La_retval): Likewise.
16067 (int_retval): Likewise.
16068 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16069 macro.
16070 (pltexit): Likewise.
16071 (La_regs): Likewise.
16072 (La_retval): Likewise.
16073 (int_retval): Likewise.
16074 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16075 macro.
16076 (pltexit): Likewise.
16077 (La_regs): Likewise.
16078 (La_retval): Likewise.
16079 (int_retval): Likewise.
16080 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16081 macro definitions in tst-audit.h.
16082 * sysdeps/i386/tst-audit.h: New file.
16083 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16084 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16085 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16086 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16087 * sysdeps/sh/tst-audit.h: Likewise.
16088 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16089 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16090 * sysdeps/x86_64/tst-audit.h: Likewise.
16091
bfc07087
AJ
160922012-07-26 Andreas Jaeger <aj@suse.de>
16093
b1b2aaf8
AJ
16094 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16095 ptrace.
16096
16097 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16098 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16099 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16100 PTRACE_O_MASK.
16101 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16102 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16103 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16104
bfc07087
AJ
16105 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16106 value.
16107
16108 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16109 _sigsys.
16110 (si_call_addr, si_syscall, si_arch): Define new macro.
16111 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16112 _sigsys.
16113 (si_call_addr, si_syscall, si_arch): Define new marcro.
16114 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16115 _sigsys.
16116 (si_call_addr, si_syscall, si_arch): Define new macro.
16117 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16118 _sigsys.
16119 (si_call_addr, si_syscall, si_arch): Define new macro.
16120
89b4b02f
JM
161212012-07-25 Joseph Myers <joseph@codesourcery.com>
16122
16123 [BZ #13717]
16124 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16125 Change to 2.4.21 where previously 2.4.1.
16126 * sysdeps/unix/sysv/linux/configure: Regenerated.
16127 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16128 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16129 Linux kernel version.
16130 (__ASSUME_STD_AUXV): Remove.
16131 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16132 kernel version.
16133 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16134 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16135 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16136 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16137 (__ASSUME_NETLINK_SUPPORT): Likewise.
16138 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16139 (__no_netlink_support): Remove conditional definition.
16140 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16141 Remove.
16142 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16143 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16144 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16145 (if_nameindex_ioctl): Remove.
16146 (if_nameindex_netlink): Do not handle __no_netlink_support.
16147 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16148 code.
16149 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16150 Remove conditional code.
16151 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16152 code.
16153 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16154 unconditional.
16155 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16156 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16157 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16158 Remove.
16159 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16160 [!__ASSUME_STD_AUXV]: Remove conditional code.
16161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16162 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16163 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16165 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16166 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16167 code.
16168 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16170 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16171 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16172 conditional code.
16173 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16175 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16176 code.
16177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16178 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16179 conditional code.
16180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16181 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16182 code unconditional.
16183 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16184 conditional code.
16185 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16186 unconditional.
16187 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16188 conditional code.
16189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16190 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16191 unconditional.
16192 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16193 conditional code.
16194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16195 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16196 code unconditional.
16197 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16198 conditional code.
16199 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16200 unconditional.
16201 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16202 conditional code.
16203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16204 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16205 code unconditional.
16206 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16207 conditional code.
16208 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16209 unconditional.
16210 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16211 conditional code.
16212
842a39cd
AS
162132012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16214
16215 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16216 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16217 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16218 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16219 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16220 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16221 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16222 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16223 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16224 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16225 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16226 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16227 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16228 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16229 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16230 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16231 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16232 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16233 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16234 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16235 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16236 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16237 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16238
84b3fd84
FW
162392012-07-25 Florian Weimer <fweimer@redhat.com>
16240
16241 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16242 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16243 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16244 Introduce __libc_secure_getenv.
0c7936d5
FW
16245 * stdlib/Versions (2.17): Add secure_getenv
16246 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16247 * stdlib/secure-getenv.c: Rename __secure_getenv to
16248 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16249 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16250 * stdlib/tst-secure-getenv.c: New.
16251 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16252 * manual/startup.texi (Environment Access): Document
16253 secure_getenv.
84b3fd84
FW
16254 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16255 __libc_secure_getenv.
16256 * inet/ruserpass.c (ruserpass): Likewise.
16257 * malloc/mtrace.c (mtrace): Likewise.
16258 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16259 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16260 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16261 * sysdeps/posix/tempname.c: Likewise. Evaluate
16262 HAVE_SECURE_GETENV.
16263 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16264 __secure_getenv to __libc_secure_getenv.
84b3fd84 16265 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16267 Likewise.
16268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16269 Likewise.
16270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16272 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16277
56e49b71
JM
162782012-07-25 Joseph Myers <joseph@codesourcery.com>
16279
16280 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16281 (struct La_i86_retval): Likewise.
16282 (struct La_x86_64_regs): Likewise.
16283 (struct La_x86_64_retval): Likewise.
16284 (struct La_x32_regs): Likewise.
16285 (struct La_x32_retval): Likewise.
16286 (struct La_ppc32_regs): Likewise.
16287 (struct La_ppc32_retval): Likewise.
16288 (struct La_ppc64_regs): Likewise.
16289 (struct La_ppc64_retval): Likewise.
16290 (struct La_sh_regs): Likewise.
16291 (struct La_sh_retval): Likewise.
16292 (struct La_s390_32_regs): Likewise.
16293 (struct La_s390_32_retval): Likewise.
16294 (struct La_s390_64_regs): Likewise.
16295 (struct La_s390_64_retval): Likewise.
16296 (struct La_sparc32_regs): Likewise.
16297 (struct La_sparc32_retval): Likewise.
16298 (struct La_sparc64_regs): Likewise.
16299 (struct La_sparc64_retval): Likewise.
16300 (struct audit_ifaces): Remove architecture-specific pltenter and
16301 pltexit members.
16302 * sysdeps/i386/ldsodefs.h: New file.
16303 * sysdeps/powerpc/ldsodefs.h: Likewise.
16304 * sysdeps/s390/ldsodefs.h: Likewise.
16305 * sysdeps/sh/ldsodefs.h: Likewise.
16306 * sysdeps/sparc/ldsodefs.h: Likewise.
16307 * sysdeps/x86_64/ldsodefs.h: Likewise.
16308
354691b7
MP
163092012-07-25 Marek Polacek <polacek@redhat.com>
16310
16311 [BZ #6808]
16312 * math/libm-test.inc (yn_test): Add another test.
16313 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16314 to ERANGE when the result is +-Inf.
16315 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16316 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16317 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16318 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16319
bf9e2071
JM
163202012-07-24 Joseph Myers <joseph@codesourcery.com>
16321
16322 * conform/data/time.h-data (NULL): Use macro-constant. Require
16323 equal to 0.
16324 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16325 clock_t.
16326 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16327
57633811
TS
163282012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16329
16330 * configure.in <sysdeps resolving>: Correct printing
16331 Implies_before.
16332 * configure: Regenerate.
16333
c23c33b0
TS
163342012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16335
16336 * math/w_ilogb.c: Include <limits.h>.
16337 * math/w_ilogbl.c: Likewise.
16338
b5982523
JM
163392012-07-20 Joseph Myers <joseph@codesourcery.com>
16340
16341 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16342 va_copy. Document allowing for unavailable va_copy only as
16343 pre-C99 compatibility.
16344 * manual/string.texi (Copying and Concatenation): Use va_copy
16345 instead of __va_copy in concat example.
16346
ac4ea442
PT
163472012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16348
16349 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16350 (__sendto): Use create_address_port. Initialize APORT and deallocate
16351 it if not null.
16352
f98eafbd
PT
16353 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16354 with O_NOLINK passed to __file_name_lookup.
16355
898c7aab
PT
16356 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16357 with O_NOLINK passed to __file_name_lookup.
16358
0ced335a
PT
16359 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16360 negative N or less than NGIDS.
16361
b3404dbd
PT
16362 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16363 type to string_t. Set ERANGE as errno and return it if NAME is not big
16364 enough. Use memcpy instead of strncpy.
16365
0f48659e
JM
163662012-07-20 Joseph Myers <joseph@codesourcery.com>
16367
16368 * elf/Makefile (check-data): Remove.
16369 (localplt.data): New vpath directive.
16370 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16371 instead of $(check-data).
16372 * scripts/data/localplt-generic.data: Move to ...
16373 * sysdeps/generic/localplt.data: ... here.
16374 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16375 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16376 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16378 ... here.
16379 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16381 ... here.
16382 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16384 ... here.
16385 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16387 ... here.
16388 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16390 ... here.
16391 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16393 ... here.
16394
d37cbdaa
AZ
163952012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16396
16397 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16398 PPC32 and PPC64 files.
16399 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16400 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16401
46f85fc2
AK
164022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16403
16404 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16405 __makecontext_ret to ...
16406 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16407 ... here and call exit if uc_link is NULL. New file.
16408 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16409 __makecontext_ret.S.
16410 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16411 __makecontext_ret to ...
16412 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16413 ... here and call exit if uc_link is NULL. New file.
16414 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16415 __makecontext_ret.S.
16416
08f43f9b
AK
164172012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16418
16419 * elf/elf.h (R_390_IRELATIVE): New definition.
16420 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16421 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16422 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16423 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16424 (elf_machine_lazy_rel): Likewise.
16425 * sysdeps/s390/dl-irel.h: New file.
16426 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16427 * sysdeps/s390/s390-64/memset.S: New asm code.
16428 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16429 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16430 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16431 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16432 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16433 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16434 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16435 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16436 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16437 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16438 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16439 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16440 * sysdeps/s390/s390-32/memset.S: New asm code.
16441 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16442
3b05db33
MP
164432012-07-17 Marek Polacek <polacek@redhat.com>
16444
16445 [BZ #14349]
16446 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16447 * sysdeps/s390/s390-64/configure.in: Likewise.
16448 * sysdeps/sparc/configure.in: Likewise.
16449 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16450 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16451 * sysdeps/i386/configure.in: Likewise.
16452 * sysdeps/x86_64/configure.in: Likewise.
16453 * sysdeps/sh/configure.in: Likewise.
16454 * sysdeps/s390/s390-32/configure: Regenerated.
16455 * sysdeps/s390/s390-64/configure: Likewise.
16456 * sysdeps/x86_64/configure: Likewise.
16457 * sysdeps/sh/configure: Likewise.
16458 * sysdeps/powerpc/powerpc64/configure: Likewise.
16459 * sysdeps/powerpc/powerpc32/configure: Likewise.
16460 * sysdeps/sparc/configure: Likwise.
16461 * sysdeps/i386/configure: Likewise.
16462
a66877c6
MP
16463 * elf/dl-open.c: Comment fixes.
16464
cfc82fd8
JM
164652012-07-17 Joseph Myers <joseph@codesourcery.com>
16466
bd29910a
JM
16467 * Makefile [CXX] (check-data): Remove.
16468 [CXX] (c++-types.data): New vpath directive.
16469 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16470 vpath. Do not allow for C++ type data being missing.
16471 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16472 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16473 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16474 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16475 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16476 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16477 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16479 ... here.
16480 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16482 ... here.
16483 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16485 ... here.
16486 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16488 ... here.
16489 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16491 ... here.
16492 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16494 ... here.
16495 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16497 ... here.
16498 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16500
cfc82fd8
JM
16501 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16502 definitions to architecture-specific files.
16503 (TLS_IE): Likewise.
16504 (TLS_LD): Likewise.
16505 (TLS_GD): Likewise.
16506 * sysdeps/i386/tls-macros.h: New file.
16507 * sysdeps/powerpc/tls-macros.h: Likewise.
16508 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16509 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16510 * sysdeps/sh/tls-macros.h: Likewise.
16511 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16512 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16513 * sysdeps/x86_64/tls-macros.h: Likewise.
16514
f7db3170
TS
165152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16516
07cbfc23
TS
16517 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16518 zero value for regular exit case.
16519
f7db3170
TS
16520 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16521 (__start_context): Preserve zero value for regular exit case.
16522
dc97c227
TS
165232012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16524 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16525
16526 * manual/setjmp.texi (setcontext): Clarify normal process
16527 termination when uc_link is the null pointer.
16528 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16529 exit call.
16530
d0cd7d02
AS
165312012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16532
16533 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16534 preprocessor. Test for each exception mask separately.
16535
dd318934
AJ
165362012-07-16 Andreas Jaeger <aj@suse.de>
16537
16538 * po/ru.po: Update from translation team.
16539
8048311a
JM
165402012-07-15 Joseph Myers <joseph@codesourcery.com>
16541
16542 * conform/data/string.h-data (NULL): Use macro-constant. Require
16543 equal to 0.
16544 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16545 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16546 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16547 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16548 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16549
b637d46e
AJ
165502012-07-13 Andreas Jaeger <aj@suse.de>
16551
16552 * po/fr.po: Update from translation team.
16553
541428fe
MP
165542012-07-12 Marek Polacek <polacek@redhat.com>
16555
16556 [BZ #14173]
16557 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16558 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16559 loop condition.
16560
ec332e94
JM
165612012-07-12 Joseph Myers <joseph@codesourcery.com>
16562
16563 [BZ #13717]
16564 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16565 Change to 2.4.1 where previously 2.4.0.
16566 * sysdeps/unix/sysv/linux/configure: Regenerated.
16567 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16568 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16569 version.
16570 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16571 (__ASSUME_AT_CLKTCK): Remove.
16572 (__ASSUME_AT_PAGESIZE): Likewise.
16573 (__ASSUME_AT_XID): Likewise.
16574 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16575 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16576 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16577 unconditionally.
16578 (HAVE_AUX_PAGESIZE): Likewise.
16579 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16580 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16581 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16582
7b6e99be
JB
165832012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16584
16585 [BZ #14307]
16586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16587 the temporary buffer used to invoke __gethostbyname2_r,
16588 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16589 host_data / struct gaih_addrtuple.
16590 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16591 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16592 header file nss/nsswitch.h.
16593 * nss/nsswitch.h (global scope): Add definition of implementation
16594 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16595 resolv/nss_dns/dns-host.c).
16596
608404eb
AJ
165972012-07-11 Andreas Jaeger <aj@suse.de>
16598
16599 * po/fr.po: Update from translation team.
16600
71220aca
AJ
16601 * po/sv.po: Update from translation team
16602 * po/fr.po: Another update from translation team.
16603
28cfe843
AZ
166042012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16605
16606 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16607 for subnormals or multiply small sinh result by itself.
16608 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16610
6b90f981
DM
166112012-07-11 David S. Miller <davem@davemloft.net>
16612
16613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16614
c6825772
AS
166152012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16616
16617 [BZ #14347]
16618 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16619 (INTERNAL_MARK): Shift it here.
16620
7b8e0d49
MP
166212012-07-10 Marek Polacek <polacek@redhat.com>
16622
16623 [BZ #14151]
16624 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16625 libc_cv_asm_global_directive with .globl.
16626 * configure: Regenerated.
16627 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16628 with .globl.
16629 * sysdeps/i386/configure: Regenerated.
16630 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16631 with .globl.
16632 * sysdeps/x86_64/configure: Regenerated.
16633 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16634 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16635 * elf/tst-unique2mod2.c: Likewise.
16636 * elf/tst-unique2mod1.c: Likewise.
16637 * elf/tst-unique1mod2.c: Likewise.
16638 * elf/tst-unique1mod1.c: Likewise.
16639 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16640 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16641 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16642 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16643 * sysdeps/mach/sysdep.h: Likewise.
16644 * sysdeps/i386/sysdep.h: Likewise.
16645 * sysdeps/i386/i386-mcount.S: Likewise.
16646 * sysdeps/x86_64/_mcount.S: Likewise.
16647 * sysdeps/x86_64/sysdep.h: Likewise.
16648 * sysdeps/sh/_mcount.S: Likewise.
16649 * sysdeps/sh/sysdep.h: Likewise.
16650 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16651 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16652 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16653 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16654 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16655 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16656 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16657 * locale/localeinfo.h: Likewise.
16658 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16659 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16660
6c55cda3
RM
166612012-07-09 Roland McGrath <roland@hack.frob.com>
16662
16663 [BZ #14336]
16664 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16665 system".
16666 * manual/message.texi (The Uniforum approach): Likewise.
16667 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16668 (glibc iconv Implementation): Likewise.
16669
638a572e
JM
166702012-07-09 Joseph Myers <joseph@codesourcery.com>
16671
16672 [BZ #14337]
16673 * math/s_clog.c (__clog): Avoid scaling a value down where that
16674 could result in underflow.
16675 * math/s_clog10.c (__clog10): Likewise.
16676 * math/s_clog10f.c (__clog10f): Likewise.
16677 * math/s_clog10l.c (__clog10l): Likewise.
16678 * math/s_clogf.c (__clogf): Likewise.
16679 * math/s_clogl.c (__clogl): Likewise.
16680 * math/libm-test.inc (clog_test): Add more tests.
16681 (clog10_test): Likewise.
16682 * sysdeps/i386/fpu/libm-test-ulps: Update.
16683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16684
261f4859
AS
166852012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16686
0abaf3e4
AS
16687 [BZ #14283]
16688 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16689 by 7 not 8 to examine high bit of fractional part.
16690
261f4859
AS
16691 [BZ #14042]
16692 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16693 for call to __mcount_internal.
16694 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16695 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16696 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16697
f17ac40d
JM
166982012-07-06 Joseph Myers <joseph@codesourcery.com>
16699
9ad63c23
JM
16700 [BZ #14154]
16701 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16702 approximation for values within 0x1p-13f of an odd multiple of
16703 pi/4.
16704 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16705 exception. Add more tests.
16706 * sysdeps/i386/fpu/libm-test-ulps: Update.
16707
f17ac40d
JM
16708 [BZ #6778]
16709 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16710 inputs and return -1 for them. Do not check for +Inf in case not
16711 reachable for +Inf.
16712 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16713 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16714 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16715 and return -1 for them. Do not check for +Inf in case not
16716 reachable for +Inf.
16717 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16718 define.
16719 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16720 and return -1 for them. Do not check for +Inf in case not
16721 reachable for +Inf.
16722 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16723 spurious underflow.
16724 * sysdeps/i386/fpu/libm-test-ulps: Update.
16725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16726
fb21f89b
MF
167272012-07-06 Mike Frysinger <vapier@gentoo.org>
16728
16729 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16730
cdfe2c5e
JM
167312012-07-05 Joseph Myers <joseph@codesourcery.com>
16732
16733 [BZ #14157]
16734 [BZ #14331]
16735 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16736 could result in spurious underflow. Scale down values above
16737 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16738 * math/s_csqrtf.c (__csqrtf): Likewise.
16739 * math/s_csqrtl.c (__csqrtl): Likewise.
16740 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16741 spurious underflow.
16742 * sysdeps/i386/fpu/libm-test-ulps: Update.
16743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16744
70d35b67
AS
167452012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16746
704bc459
AS
16747 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16748 xopen-msg.sed.
16749 * catgets/xopen-msg.awk: New file.
16750 * catgets/xopen-msg.sed: Removed.
16751
70d35b67
AS
16752 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16753 po2text.sed.
16754 * intl/po2test.awk: New file.
16755 * intl/po2test.sed: Removed.
16756
ca61cf32
JM
167572012-07-04 Joseph Myers <joseph@codesourcery.com>
16758
16759 [BZ #14328]
16760 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16761 or multiply small sinh result by itself.
16762 * math/s_ctanf.c (__ctanf): Likewise.
16763 * math/s_ctanh.c (__ctanh): Likewise.
16764 * math/s_ctanhf.c (__ctanhf): Likewise.
16765 * math/s_ctanhl.c (__ctanhl): Likewise.
16766 * math/s_ctanl.c (__ctanl): Likewise.
16767 * math/libm-test.inc (ctan_test_tonearest): New function.
16768 (ctan_test_towardzero): Likewise.
16769 (ctan_test_downward): Likewise.
16770 (ctan_test_upward): Likewise.
16771 (ctanh_test_tonearest): Likewise.
16772 (ctanh_test_towardzero): Likewise.
16773 (ctanh_test_downward): Likewise.
16774 (ctanh_test_upward): Likewise.
16775 (main): Call these new functions.
16776 * sysdeps/i386/fpu/libm-test-ulps: Update.
16777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16778
ca48a46a
MF
167792012-07-03 Mike Frysinger <vapier@gentoo.org>
16780
16781 * .gitignore: Delete /ports entry.
16782
9d63d37d
AJ
167832012-07-03 Andreas Jaeger <aj@suse.de>
16784
16785 * po/bg.po: Update from translation team.
16786 * po/cs.po: Likewise.
16787 * po/de.po: Likewise.
16788 * po/hr.po: Likewise.
16789 * po/nl.pl: Likewise.
16790 * po/pl.po: Likewise.
16791 * po/vi.po: Likewise.
16792
370ca3d2
JM
167932012-07-03 Joseph Myers <joseph@codesourcery.com>
16794
95f5a9a8
JM
16795 * Makeconfig [!+link] (+link-before-libc): New variable.
16796 [!+link] (+link-after-libc): Likewise.
16797 [!+link] (+link-tests): Likewise.
16798 [!+link] (+link): Define in terms of $(+link-before-libc) and
16799 $(+link-after-libc).
16800 [!+link-static] (+link-static-before-libc): New variable.
16801 [!+link-static] (+link-static-after-libc): Likewise.
16802 [!+link-static] (+link-static-tests): Likewise.
16803 [!+link-static] (+link-static): Define in terms of
16804 $(+link-static-before-libc) and $(+link-static-after-libc).
16805 [build-shared] (link-libc-before-gnulib): New variable.
16806 [build-shared] (link-libc-tests): Likewise.
16807 [build-shared] (link-libc): Define in terms of
16808 $(link-libc-before-gnulib).
16809 [!build-shared] (link-libc-tests): New variable.
16810 (link-libc-static-tests): New variable.
16811 [!gnulib] (gnulib-arch): New variable.
16812 [!gnulib] (gnulib-tests): Likewise.
16813 [!gnulib] (static-gnulib-arch): Likewise.
16814 [!gnulib] (static-gnulib-tests): Likewise.
16815 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16816 Define with "=" instead of ":=".
16817 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16818 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16819 * Rules (binaries-all-notests): New variable.
16820 (binaries-all-tests): Likewise.
16821 (binaries-static-notests): Likewise.
16822 (binaries-static-tests): Likewise.
16823 (binaries-all): Define using $(binaries-all-notests) and
16824 $(binaries-all-tests).
16825 (binaries-static): Define using $(binaries-static-notests) and
16826 $(binaries-static-tests).
16827 (binaries-shared-tests): New variable.
16828 (binaries-shared-notests): Likewise.
16829 (binaries-shared): Remove variable.
16830 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16831 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16832 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16833 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16834 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16835 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16836 * elf/Makefile (sln-modules): New variable.
16837 (extra-objs): Add $(sln-modules:=.o).
16838 (ldconfig-modules): Add static-stubs.
16839 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16840 * elf/static-stubs.c: New file.
16841
7a845b2c
JM
16842 [BZ #14283]
16843 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16844 by 7 not 8 to examine high bit of fractional part. Use volatile
16845 variables when splitting into final array of floats if
16846 __FLT_EVAL_METHOD__ != 0.
16847 * math/libm-test.inc (cos_test): Add another test.
16848 (sin_test): Likewise.
16849 * sysdeps/i386/fpu/libm-test-ulps: Update.
16850
e2283f38
JM
16851 [BZ #14273]
16852 * math/libm-test.inc (cosh_test): Add more tests.
16853
370ca3d2
JM
16854 * version.h (RELEASE): Set to "development".
16855 (VERSION): Set to "2.16.90".
16856
ee9247c3
CD
168572012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16858
16859 * NEWS: Update copyright. Remove last-updated date.
16860 Mention math library bug fixes and timezone data changes.
16861 * README: Mention GNU/Hurd, x32, and HPPA support status.
16862
4648c381
TS
168632012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16864
16865 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16866
aac78a43
AJ
168672012-06-27 Andreas Jaeger <aj@suse.de>
16868
16869 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16870
ed3dbfad
AJ
168712012-06-25 Andreas Jaeger <aj@suse.de>
16872
16873 * sysdeps/s390/fpu/libm-test-ulps: Update.
16874
4d0ee855
AS
168752012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16876 Thomas Schwinge <thomas@codesourcery.com>
16877
16878 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16879 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16880 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16881 fanotify_mark.
16882
af1bce34
TS
168832012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16884
a9fa33ba
TS
16885 * sysdeps/mach/start.c: Remove file.
16886 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16887 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16888 * sysdeps/sh/init-first.c: Likewise.
16889
58f902b8
TS
16890 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16891 registers for frame unwinding purposes, add CFI directives.
16892 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16893 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16894 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16895 Likewise.
16896
1518f58b
TS
16897 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16898 __fortify_fail returning.
16899 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16900
db9b5059
TS
16901 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16902 sysdeps/sh/____longjmp_chk.S.
16903 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16904 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16905 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16906 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16907
967705fe
TS
16908 * sysdeps/sh/abort-instr.h: New file.
16909 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16910 process in case exit returns.
16911
a9def8c4
TS
16912 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16913 initialize the GOT register before use.
16914
2a649725
TS
16915 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16916 calculation of ARGC > 4.
16917
af1bce34
TS
16918 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16919 meaningful names to some local labels.
16920
d230f50a
KK
169212012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16922 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16923
16924 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16925 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16926 (__arch_compare_and_exchange_val_16_acq): Likewise.
16927 (__arch_compare_and_exchange_val_32_acq): Likewise.
16928 (atomic_exchange_and_add): Fix gUSA sequence.
16929 (atomic_add): Likewise.
16930 (atomic_add_negative): Likewise.
16931 (atomic_add_zero): Likewise.
16932 (atomic_bit_test_set): Likewise.
16933
0479b305
AS
169342012-06-22 Andreas Schwab <schwab@redhat.com>
16935
16936 [BZ #13579]
16937 * include/link.h (struct link_map): Add l_free_initfini.
16938 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16939 l_initfini.
16940 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16941 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16942 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16943 set.
16944
0e3933b9
CD
169452012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16946
16947 * configure.in: Use AC_LANG_SOURCE.
16948 * configure: Regenerate.
16949
4248b1b1
RM
169502012-06-22 Roland McGrath <roland@hack.frob.com>
16951
16952 * configure.in (libc_cv_localstatedir): New substituted variable.
16953 * configure: Regenerated.
16954 * config.make.in (localstatedir): New variable, substituted from
16955 libc_cv_localstatedir.
16956 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16957 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16958 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16959 * sysdeps/gnu/configure: Regenerated.
16960
006dd861
JL
169612012-06-21 Jeff Law <law@redhat.com>
16962
16963 [BZ #14277]
16964 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16965 free. Simplify list management for _LIBC case.
16966
79662d42
JM
169672012-06-21 Joseph Myers <joseph@codesourcery.com>
16968
b7abb4bf
JM
16969 [BZ #14273]
16970 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16971 Clear sign bit of 64-bit integer value before comparing against
16972 overflow value.
16973
79662d42
JM
16974 * sysdeps/mach/configure: Regenerated.
16975
1f150908
L
169762012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16977
16978 [BZ #14278]
16979 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16980
28363bbf
JL
169812012-06-21 Jeff Law <law@redhat.com>
16982
16983 [BZ #13882]
16984 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16985 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16986 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16987 * elf/dl-open.c (dl_open_worker): Likewise.
16988
09615db4
CD
169892012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16990
16991 * scripts/list-sources.sh: Scan PORTS for translations.
16992 * po/libc.pot: Regenerated.
16993
2174c6dd
AJ
169942012-06-21 Andreas Jaeger <aj@suse.de>
16995
16996 [BZ #12194]
16997 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16998 warning.
16999 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17000 * bits/byteswap-16.h (__bswap_16): Likewise.
17001 * bits/byteswap.h (__bswap_constant_16): Likewise.
17002
3ee947b1
L
170032012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17004
17005 [BZ #14117]
a2f34833
L
17006 * sysdeps/i386/fpu_control.h: Removed.
17007 * sysdeps/x86_64/fpu_control.h: Moved to ...
17008 * sysdeps/x86/fpu_control.h: Here.
17009
3ee947b1
L
17010 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17011 (_FPU_SETCW): Likewise.
17012
ed1825f8
L
170132012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17014
25f1282a
L
17015 [BZ #14117]
17016 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17017 * sysdeps/x86/fpu/bits/mathinline.h: This.
17018 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17019
ed1825f8
L
17020 [BZ #14050]
17021 [BZ #14117]
17022 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17023 functions if __x86_64__ is defined.
17024
36d54b74
CLT
170252012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17026
17027 * string/endian.h: Add !__ASSEMBLER__ condition for including
17028 conversion interfaces.
17029
10285c21
JM
170302012-06-15 Joseph Myers <joseph@codesourcery.com>
17031
17032 [BZ #14241]
17033 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17034 of ABS(x) in calculating zero to negative powers other than odd
17035 integers.
17036 * math/libm-test.inc (pow_test): Add more tests.
17037
06c5abbd
AJ
170382012-06-15 Andreas Jaeger <aj@suse.de>
17039
17040 * manual/contrib.texi (Contributors): Update entry of Liubov
17041 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17042 Machado Filho.
17043
a3aeac40
CH
170442012-06-15 Cyril Hrubis <metan@ucw.cz>
17045
17046 * string/string.h: Add __wur to GNU version of strerror_r.
17047
49bdf4c1
L
170482012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17049
17050 [BZ #14229]
17051 * string/Makefile (tests): Add tst-strtok_r.
17052 * string/tst-strtok_r.c: New file.
17053 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17054 RAX_LP/RDX_LP on SAVE_PTR.
17055
834f9b8d
RM
170562012-06-14 Roland McGrath <roland@hack.frob.com>
17057
17058 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17059
75fa1921
JM
170602012-06-14 Joseph Myers <joseph@codesourcery.com>
17061
17062 * libm_test.inc (csqrt_test): Allow more spurious underflow
17063 exceptions.
17064 (j0_test): Likewise.
17065 (j1_test): Likewise.
17066 (y0_test): Likewise.
17067 (y1_test): Likewise.
17068
771766df
CD
170692012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17070
17071 * po/Makefile (libc.pot): Use UTF-8 charset.
17072
ceb9e56b
PP
170732012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17074
17075 [BZ #14210]
17076 Suppress sign-conversion warning from FD_SET.
17077 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17078 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17079 not unsigned long int.
17080 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17081
ddb28975
L
170822012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17083
17084 [BZ #14050]
17085 [BZ #14117]
17086 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17087 __extern_always_inline instead of __extern_inline.
17088 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17089 (__signbit): Likewise.
17090 (__signbitl): Support C++ namespace.
17091 (lrintf): New inline function.
17092 (lrint): Likewise.
17093 (llrintf): Likewise.
17094 (llrint): Likewise.
17095 (fmaxf): Likewise.
17096 (fmax): Likewise.
17097 (fminf): Likewise.
17098 (fmin): Likewise.
17099 (rint): Likewise.
17100 (rintf): Likewise.
17101 (ceil): Likewise.
17102 (ceilf): Likewise.
17103 (floor): Likewise.
17104 (floorf): Likewise.
17105 (nearbyint): Likewise.
17106 (nearbyintf): Likewise.
17107
d7b4fb26
TS
171082012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17109
17110 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17111 non-default versions.
17112
eb55f5c2
RM
171132012-06-11 Roland McGrath <roland@hack.frob.com>
17114
17115 [BZ #14218]
17116 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17117
366af02c
TS
171182012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17119
99ff6e5c
TS
17120 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17121 (FE_UPWARD, FE_DOWNWARD): Don't define.
17122 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17123 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17124
366af02c
TS
17125 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17126 reading it.
17127 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17128 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17129
793ea851
KK
171302012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17131
17132 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17133 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17134 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17135 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17136
a728a38f
L
171372012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17138
17139 [BZ #14117]
c08010c7
L
17140 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17141 * sysdeps/i386/fpu/Implies: New file.
17142 * sysdeps/x86_64/fpu/Implies: Likewise.
17143 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17144 * sysdeps/x86/fpu/bits/fenv.h: This.
17145
a728a38f
L
17146 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17147 __SSE_MATH__.
17148
6e230d11
SP
171492012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17150
17151 [BZ #14134]
17152 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17153 character 0xffff that matches the last element of the
17154 conversion table.
17155
1b671feb
AZ
171562012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17157
17158 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17159 fmodl commit.
17160
6043738b
AZ
171612012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17162
17163 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17164 values higher than 25.6283.
17165
34ae0b32
AZ
171662012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17167
17168 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17169 subnormal exponent extraction and add some __builtin_expect.
17170 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17171 Fix for subnormal mantissa calculation.
17172
1214ec8f
MF
171732012-06-04 Mike Frysinger <vapier@gentoo.org>
17174
17175 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17176 cpu2 is -1 and errno is not ENOSYS.
17177
f3d1f93c
L
171782012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17179
17180 [BZ #14117]
0e4a3cd7
L
17181 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17182 * sysdeps/x86/bits/string.h: This.
17183 * sysdeps/x86_64/bits/string.h: Removed.
17184
6704c645
L
17185 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17186 if not compiling for x86-64, but compiling for >= i486.
17187
48495318
L
17188 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17189 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17190
14adcbfc
L
17191 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17192 New macro from Linux kernel 3.4.0.
17193 (FP_XSTATE_MAGIC2): Likewise.
17194 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17195 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17196 (struct _fpx_sw_bytes): New struct.
17197 (struct _xsave_hdr): Likewise.
17198 (struct _ymmh_state): Likewise.
17199 (struct _xstate): Likewise.
17200
68e408ab
L
17201 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17202 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17203 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17204 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17205 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17206 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17207
f3d1f93c
L
17208 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17209 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17210 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17211 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17212 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17213 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17214
d9dc34cd
TMQMF
172152012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17216
17217 [BZ #13743]
17218 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17219 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17220 (sysdep_headers): Include sys/platform/ppc.h.
17221 * sysdeps/powerpc/test-gettimebase.c: Test for
17222 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17223 * manual/Makefile (appendices): Include platform.texi.
17224 * manual/contrib.texi (Contributors): Update @node pointers.
17225 * manual/maint.texi (Maintenance): Likewise.
17226 (Platform): New node.
17227 * manual/platform.texi: New file. Document the new features.
17228
4af3879c
SP
172292012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17230 Jakub Jelinek <jakub@redhat.com>
17231
17232 [BZ #14188]
17233 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17234 where __builtin_expect is unavailable.
17235
2fd6ff13
DM
172362012-06-03 David S. Miller <davem@davemloft.net>
17237
17238 * stdlib/longlong.h: Updated from GCC.
17239
173f7220
AS
172402012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17241
17242 [BZ #14042]
17243 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17244 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17245 __mcount_internal.
17246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17247 (GLIBC_2.16): Likewise.
17248
f34a1c6f
L
172492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17250
17251 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17252
88a4576f
JM
172532012-06-01 Joseph Myers <joseph@codesourcery.com>
17254
ea32bcdd
JM
17255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17256 (default-abi): New variable.
17257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17258 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17259 variable.
17260 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17261 Likewise.
17262 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17263 Likewise.
17264 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17265 Likewise.
17266
88a4576f
JM
17267 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17268 definition. Document in comment.
17269
402fe938
DM
172702012-06-01 David S. Miller <davem@davemloft.net>
17271
17272 * stdlib/longlong.h: Updated from GCC.
17273
3553723f
L
172742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17275
17276 [BZ #14117]
3bd872c4
L
17277 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17278 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17279 sys/debugreg.h sys/io.h here.
17280 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17281 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17282 sys/io.h.
17283 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17284 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17285 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17286 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17287 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17288 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17289
3553723f
L
17290 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17291 Define only if __x86_64__ is defined.
17292
4842e4fe
JM
172932012-06-01 Joseph Myers <joseph@codesourcery.com>
17294
c5bfe3d5
JM
17295 [BZ #14048]
17296 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17297 Use int64_t for variable i.
17298 * math/libm-test.inc (fmod_test): Add more tests.
17299
4842e4fe
JM
17300 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17301 z computation is not scheduled after fetestexcept.
17302 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17303 Use math_force_eval instead of asm to ensure calculation scheduled
17304 before exception test.
17305 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17306 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17307
efb73488
AJ
173082012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17309
17310 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17311 computation is not scheduled after fetestexcept.
17312
29bcce7c
L
173132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17314
17315 [BZ #14117]
17316 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17317 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17318
73a68f94
AZ
173192012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17320
17321 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17322 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17323
67b6df78
L
173242012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17325
edf2933a 17326 [BZ #14117]
ebc64a18
L
17327 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17328 <bits/wordsize.h>.
17329 (__WCHAR_MIN): Support __WORDSIZE == 64.
17330 (__WCHAR_MAX): Likewise.
17331
edf2933a
L
17332 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17333 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17334
57c6cf40
L
17335 [BZ #14183]
17336 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17337 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17338
67b6df78 17339 [BZ #14117]
8eb6281e
L
17340 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17341 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17342
aac639f4
L
17343 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17344 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17345
67b6df78
L
17346 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17347 Defined to 1 if __x86_64__ isn't defined.
17348 (_STAT_VER_LINUX_OLD): New.
17349 (st_atime): Remove duplicate.
17350 (st_mtime): Likewise.
17351 (st_ctime): Likewise.
17352
1c2cfe81
DM
173532012-05-31 David S. Miller <davem@davemloft.net>
17354
17355 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17356 entries.
17357
5be8418c
AS
173582012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17359
e7725326
AS
17360 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17361 gen-libm-test.pl.
17362
5be8418c
AS
17363 [BZ #14132]
17364 * elf/dl-reloc.c: Include <_itoa.h>.
17365 (_dl_reloc_bad_type): Remove use of INTUSE.
17366 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17367 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17368 * stdio-common/psiginfo.c (psiginfo): Likewise.
17369 * stdio-common/psignal.c (psignal): Likewise.
17370 * string/strsignal.c (strsignal): Likewise.
17371 * include/signal.h (_sys_siglist): Declare hidden proto.
17372 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17373 INTVARDEF with libc_hidden_data_def.
17374 * stdio-common/itoa-udigits.c: Likewise.
17375 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17376 (_itoa_lower_digits_internal): Remove declaration.
17377 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17378 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17379 (_sys_sigabbrev_internal): Remove aliases.
17380 (_sys_siglist): Define hidden alias.
17381
507352f1
MT
173822012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17383
17384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17385 bits/sysctl.h.
17386
42bbb1c3
L
173872012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17388
17389 [BZ #14117]
6bd784b6
L
17390 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17391 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17392
8bca20f0
L
17393 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17394 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17395 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17396 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17397 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17398 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17399
f9e890a9
L
17400 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17401 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17402 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17403
471101a1
L
17404 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17405 with __addr.
17406 (insw): Likewise.
17407 (insl): Likewise.
17408 (outsb): Likewise.
17409 (outsw): Likewise.
17410 (outsl): Likewise.
17411
6451c862
L
17412 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17413 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17414 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17415
a254b8c9
L
17416 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17417 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17418 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17419 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17420 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17421 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17422
b8dfdd92
L
17423 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17424 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17425
578cd270
L
17426 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17427 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17428
de662f5f
L
17429 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17430 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17431 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17432
25653439
L
17433 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17434 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17435 to ...
17436 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17437
6bad24a0
L
17438 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17439 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17440 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17441
42bbb1c3
L
17442 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17443 for x86-64.
17444 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17445
2d10d547
JM
174462012-05-31 Joseph Myers <joseph@codesourcery.com>
17447
17448 * math/math.h (M_El): Use two more decimal places.
17449 (M_LOG2El): Likewise.
17450 (M_LOG10El): Likewise.
17451 (M_LN2l): Likewise.
17452 (M_LN10l): Likewise.
17453 (M_PIl): Likewise.
17454 (M_PI_2l): Likewise.
17455 (M_PI_4l): Likewise.
17456 (M_1_PIl): Likewise.
17457 (M_2_PIl): Likewise.
17458 (M_2_SQRTPIl): Likewise.
17459 (M_SQRT2l): Likewise.
17460 (M_SQRT1_2l): Likewise.
17461
f230c29b
DM
174622012-05-31 David S. Miller <davem@davemloft.net>
17463
17464 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17465 values between float registers.
17466 * sysdeps/sparc/sparc64/memset.S: Likewise.
17467 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17468
fed806c3
MF
174692012-05-31 Mike Frysinger <vapier@gentoo.org>
17470
17471 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17472 -D_FORTIFY_SOURCE=1.
17473 (CPPFLAGS-tst-longjmp_chk.c): Define.
17474 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17475 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17476 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17477 CFLAGS-tst-wchar-h.c.
17478
30917259
MP
174792012-05-31 Marek Polacek <polacek@redhat.com>
17480
17481 [BZ #14132]
17482 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17483 __endmntent_internal): Remove declaration.
17484 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17485 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17486 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17487
1c58d5dc
DM
174882012-05-30 David S. Miller <davem@davemloft.net>
17489
17490 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17491 (___Q_simulate_exceptions): Use real FP ops rather than writing
17492 into the %fsr.
17493 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17494 Likewise.
17495
7dc00e0d
L
174962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17497
17498 [BZ #14117]
0bd53985
L
17499 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17500 * sysdeps/x86/bits/xtitypes.h: This.
17501
3a257e66
L
17502 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17503 * sysdeps/x86/bits/wordsize.h: This.
17504
62f62904
L
17505 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17506 * sysdeps/x86/bits/huge_vall.h: This.
17507
404fe9d9
L
17508 * sysdeps/i386/bits/select.h: Removed.
17509 * sysdeps/x86_64/bits/select.h: Renamed to ...
17510 * sysdeps/x86/bits/select.h: This.
17511
d48d0446
L
17512 * sysdeps/i386/bits/setjmp.h: Removed.
17513 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17514 * sysdeps/x86/bits/setjmp.h: This.
17515
7dc00e0d
L
17516 * sysdeps/i386/bits/mathdef.h: Removed.
17517 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17518 * sysdeps/x86/bits/mathdef.h: This.
17519
03277f8f
AS
175202012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17521
17522 [BZ #14132]
17523 * include/sys/socket.h (__connect_internal)
17524 (__libc_sa_len_internal): Remove declaration.
17525 (__connect, __libc_sa_len): Declare hidden_proto.
17526 (SA_LEN): Remove use of INTUSE.
17527 * socket/connect.c: Add libc_hidden_def.
17528 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17529 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17530 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17531 alias.
17532 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17533 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17534 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17535 of adding _internal alias.
17536
13764867
L
175372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17538
17539 [BZ #14117]
6bd97696
L
17540 * sysdeps/i386/bits/link.h: Removed.
17541 * sysdeps/i386/bits/linkmap.h: Likewise.
17542 * sysdeps/x86_64/bits/link.h: Renamed to ...
17543 * sysdeps/x86/bits/link.h: This.
17544 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17545 * sysdeps/x86/bits/linkmap.h: This.
17546
f726f0bb
L
17547 * sysdeps/i386/bits/endian.h: Removed.
17548 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17549 * sysdeps/x86/bits/endian.h: This.
17550
13764867
L
17551 * sysdeps/i386/bits/byteswap.h: Removed.
17552 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17553 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17554 * sysdeps/x86/bits/byteswap.h: This.
17555 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17556 * sysdeps/x86/bits/byteswap-16.h: This.
17557 * sysdeps/i386/Implies: Add x86.
17558 * sysdeps/x86_64/Implies: Likewise.
17559
ae251b0b
DM
175602012-05-30 David S. Miller <davem@davemloft.net>
17561
17562 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17563 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17564 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17565 (FP_TRAPPING_EXCEPTIONS): Define.
17566 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17567 (FP_TRAPPING_EXCEPTIONS): Define.
17568 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17569 subnormals only when inexact has been signalled or underflow
17570 exceptions are enabled.
17571 (_FP_PACK_CANONICAL): Likewise.
17572
d5c90867
L
175732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17574
17575 [BZ #14183]
17576 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17577 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17578
63f1549e
RH
175792012-05-30 Richard Henderson <rth@twiddle.net>
17580
8d8f2279
RH
17581 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17582 with #ifndef NOT_IN_libc.
17583
63f1549e
RH
17584 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17585 marked to avoid plt entry.
17586
0ab0291b
L
175872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17588
17589 [BZ #14112]
17590 * Makeconfig (default-abi): New macro.
17591 (abi-includes): Likewise.
17592 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17593 $(abi-$(default-abi)-lib-soname) for soname if defined.
17594 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17595 abi-variants.
17596 * Makefile (installed-stubs): Likewise.
17597 * include/stubs-biarch.h: Removed.
17598 * scripts/lib-names.awk: Only handle one library at a time.
17599 * scripts/soversions.awk: Remove WORDSIZE support.
17600 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17601 entries.
17602 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17603 Removed.
17604 (syscall-list-default-condition): Likewise.
17605 (syscall-list-default-condition): Likewise.
17606 (syscall-list-includes): Likewise.
17607 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17608 syscall-list-* with abi-*. Handle undefined abi-variants.
17609 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17610 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17611 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17612 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17613 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17614 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17615 Removed.
17616 (syscall-list-32-options): Likewise.
17617 (syscall-list-32-condition): Likewise.
17618 (syscall-list-64-options): Likewise.
17619 (syscall-list-64-condition): Likewise.
17620 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17621 macro.
17622 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17623 Renamed to ...
17624 (abi-*): This.
17625 (abi-64-ld-soname): New macro.
17626 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17627 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17628 Renamed to ...
17629 (abi-*): This.
17630 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17631 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17632
4da0431d
JM
176332012-05-30 Joseph Myers <joseph@codesourcery.com>
17634
3a85279c
JM
17635 * sysdeps/unix/sysv/linux/kernel-features.h
17636 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17637 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17638 include <kernel-features.h>.
17639 [!__NR_ftruncate64]: Remove conditional code.
17640 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17641 [__NR_ftruncate64]: Make code unconditional.
17642 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17643 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17644 include <kernel-features.h>.
17645 [!__NR_ftruncate64]: Remove conditional code.
17646 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17647 [__NR_ftruncate64]: Make code unconditional.
17648 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17650 include <kernel-features.h>.
17651 [!__NR_ftruncate64]: Remove conditional code.
17652 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17653 [__NR_ftruncate64]: Make code unconditional.
17654 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17656 include <kernel-features.h>.
17657 [!__NR_ftruncate64]: Remove conditional code.
17658 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17659 [__NR_ftruncate64]: Make code unconditional.
17660 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17661
4da0431d
JM
17662 * configure.in (libc_cv_fpie): Weaken to a compile test using
17663 LIBC_TRY_CC_OPTION.
17664 * configure: Regenerated.
17665
11ef492c
AK
176662012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17667
17668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17672 Refreshed.
17673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17679 Refreshed.
17680
d66ef399
DM
176812012-05-27 David S. Miller <davem@davemloft.net>
17682
17683 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17684 (___Q_zero): New.
17685 (__Q_simulate_exceptions): Return void. Change to simulate
17686 exceptions by writing into the %fsr.
17687 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17688 (__Qp_handle_exceptions): Likewise.
17689 (numbers): Delete.
17690 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17691 __Qp_handle_exceptions.
17692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17693 __Qp_handle_exceptions.
17694 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17695 as unused and give dummy FP_RND_NEAREST initializer.
17696 (FP_INHIBIT_RESULTS): Define.
17697 (___Q_simulate_exceptions): Update declaration.
17698 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17699 formatting.
17700 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17701 as unused and give dummy FP_RND_NEAREST initializer.
17702 (__Qp_handle_exceptions): Update declaration.
17703 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17704 formatting.
17705
04fb54b5
TS
177062012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17707
17708 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17709 the temporary FPU control word.
17710 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17711 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17712 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17713 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17714 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17715 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17716 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17717 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17718 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17719 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17720 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17721
3f99608f
KK
177222012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17723
17724 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17725 fields.
17726
65a4de4e
CLT
177272012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17728
17729 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17730 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17731 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17732 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17733 Likewise.
17734 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17735 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17736 Likewise.
17737
15749d40
UD
177382012-05-27 Ulrich Drepper <drepper@gmail.com>
17739
17740 * po/h.po: Update from translation team.
17741
25dbcb27
AS
177422012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17743
3d3f8e55
AS
17744 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17745
25dbcb27
AS
17746 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17747 handling of denormals.
17748 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17749 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17750 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17751 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17752 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17753 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17754 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17755 Likewise.
17756
7ad47a80 177572012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17758
17759 [BZ #14152]
17760 * math/libm-test.inc (fma_test): Don't always expect underflow
17761 exception.
17762
9c6ea9fa
SP
177632012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17764
17765 [BZ #12416]
17766 * elf/tst-execstack.c: Include stackinfo.h.
17767 (do_test): Adjust test case to ensure that pthread_getattr_np
17768 behaviour remains the same after marking stack executable.
17769
a8239222
JM
177702012-05-25 Joseph Myers <joseph@codesourcery.com>
17771
17772 * sysdeps/unix/sysv/linux/kernel-features.h
17773 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17774 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17775 kernel-features.h.
17776 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17777 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17778 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17779 kernel-features.h.
17780 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17781 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17782
918b5606
L
177832012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17784
17785 * configure.in: Define the default includes to being none.
17786 * configure: Regenerated.
17787
3a097cc7
RM
177882012-05-25 Roland McGrath <roland@hack.frob.com>
17789
8422c9a5
RM
17790 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17791 * sysdeps/x86_64/setjmp.S: Likewise.
17792 * sysdeps/i386/bsd-setjmp.S: Likewise.
17793 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17794 * sysdeps/i386/setjmp.S: Likewise.
17795 * sysdeps/i386/__longjmp.S: Likewise.
17796 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17797 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17798
3a097cc7
RM
17799 * include/stap-probe.h: New file.
17800 * configure.in: Handle --enable-systemtap.
17801 * configure: Regenerated.
17802 * config.h.in (USE_STAP_PROBE): New #undef.
17803 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17804 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17805 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17806
21708942
JM
178072012-05-25 Joseph Myers <joseph@codesourcery.com>
17808
17809 [BZ #13717]
17810 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17811 to 2.4.0 where earlier.
17812 * sysdeps/unix/sysv/linux/configure: Regenerated.
17813 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17814 <kernel-features.h>.
17815 [__ASSUME_32BITUIDS]: Make code unconditional.
17816 [!__ASSUME_32BITUIDS]: Remove conditional code.
17817 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17818 <kernel-features.h>.
17819 [__ASSUME_32BITUIDS]: Make code unconditional.
17820 [!__ASSUME_32BITUIDS]: Remove conditional code.
17821 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17822 [__ASSUME_32BITUIDS]: Make code unconditional.
17823 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17824 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17825 <kernel-features.h>.
17826 [__ASSUME_32BITUIDS]: Make code unconditional.
17827 [!__ASSUME_32BITUIDS]: Remove conditional code.
17828 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17829 <kernel-features.h>.
17830 [__ASSUME_32BITUIDS]: Make code unconditional.
17831 [!__ASSUME_32BITUIDS]: Remove conditional code.
17832 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17833 <kernel-features.h>.
17834 [__ASSUME_32BITUIDS]: Make code unconditional.
17835 [!__ASSUME_32BITUIDS]: Remove conditional code.
17836 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17837 <kernel-features.h>.
17838 [__ASSUME_32BITUIDS]: Make code unconditional.
17839 [!__ASSUME_32BITUIDS]: Remove conditional code.
17840 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17841 <kernel-features.h>.
17842 [__ASSUME_32BITUIDS]: Make code unconditional.
17843 [!__ASSUME_32BITUIDS]: Remove conditional code.
17844 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17845 <kernel-features.h>.
17846 [__ASSUME_32BITUIDS]: Make code unconditional.
17847 [!__ASSUME_32BITUIDS]: Remove conditional code.
17848 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17849 <kernel-features.h>.
17850 [__ASSUME_32BITUIDS]: Make code unconditional.
17851 [!__ASSUME_32BITUIDS]: Remove conditional code.
17852 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17853 <kernel-features.h>.
17854 [__ASSUME_32BITUIDS]: Make code unconditional.
17855 [!__ASSUME_32BITUIDS]: Remove conditional code.
17856 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17857 <kernel-features.h>.
17858 [__ASSUME_32BITUIDS]: Make code unconditional.
17859 [!__ASSUME_32BITUIDS]: Remove conditional code.
17860 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17861 <kernel-features.h>.
17862 [__ASSUME_32BITUIDS]: Make code unconditional.
17863 [!__ASSUME_32BITUIDS]: Remove conditional code.
17864 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17865 <kernel-features.h>.
17866 [__NR_setresgid] (__setresgid): Do not declare.
17867 [__ASSUME_32BITUIDS]: Make code unconditional.
17868 [!__ASSUME_32BITUIDS]: Remove conditional code.
17869 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17870 <kernel-features.h>.
17871 [__NR_setresuid] (__setresuid): Do not declare.
17872 [__ASSUME_32BITUIDS]: Make code unconditional.
17873 [!__ASSUME_32BITUIDS]: Remove conditional code.
17874 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17875 <kernel-features.h>.
17876 [__ASSUME_32BITUIDS]: Make code unconditional.
17877 [!__ASSUME_32BITUIDS]: Remove conditional code.
17878 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17879 <kernel-features.h>.
17880 [__ASSUME_32BITUIDS]: Make code unconditional.
17881 [!__ASSUME_32BITUIDS]: Remove conditional code.
17882 * sysdeps/unix/sysv/linux/i386/setgid.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/setgroups.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/setregid.c: Do not include
17891 <kernel-features.h>.
17892 [__ASSUME_32BITUIDS]: Make code unconditional.
17893 [!__ASSUME_32BITUIDS]: Remove conditional code.
17894 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17895 <kernel-features.h>.
17896 [__ASSUME_32BITUIDS]: Make code unconditional.
17897 [!__ASSUME_32BITUIDS]: Remove conditional code.
17898 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17899 <kernel-features.h>.
17900 [__ASSUME_32BITUIDS]: Make code unconditional.
17901 [!__ASSUME_32BITUIDS]: Remove conditional code.
17902 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17903 <kernel-features.h>.
17904 [__ASSUME_32BITUIDS]: Make code unconditional.
17905 [!__ASSUME_32BITUIDS]: Remove conditional code.
17906 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17907 <kernel-features.h>.
17908 [__ASSUME_32BITUIDS]: Make code unconditional.
17909 [!__ASSUME_32BITUIDS]: Remove conditional code.
17910 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17911 <kernel-features.h>.
17912 [__ASSUME_32BITUIDS]: Make code unconditional.
17913 [!__ASSUME_32BITUIDS]: Remove conditional code.
17914 * sysdeps/unix/sysv/linux/kernel-features.h
17915 (__ASSUME_SETRESUID_SYSCALL): Remove.
17916 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17917 (__ASSUME_32BITUIDS): Likewise.
17918 (__ASSUME_LDT_WORKS): Likewise.
17919 (__ASSUME_O_DIRECTORY): Likewise.
17920 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17921 architecture but not kernel version.
17922 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17923 (__ASSUME_MMAP2_SYSCALL): Likewise.
17924 (__ASSUME_STAT64_SYSCALL): Likewise.
17925 (__ASSUME_IPC64): Likewise.
17926 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17927 <kernel-features.h>.
17928 [__ASSUME_32BITUIDS]: Make code unconditional.
17929 [!__ASSUME_32BITUIDS]: Remove conditional code.
17930 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17931 <kernel-features.h>.
17932 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17933 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17934 132096]: Remove conditional code.
17935 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17936 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17937 <kernel-features.h>.
17938 [__ASSUME_32BITUIDS]: Make code unconditional.
17939 [!__ASSUME_32BITUIDS]: Remove conditional code.
17940 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17941 <kernel-features.h>.
17942 [__ASSUME_32BITUIDS]: Make code unconditional.
17943 [!__ASSUME_32BITUIDS]: Remove conditional code.
17944 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17945 <kernel-features.h>.
17946 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17947 unconditional.
17948 (__setresgid): Do not declare.
17949 [__ASSUME_32BITUIDS]: Make code unconditional.
17950 [!__ASSUME_32BITUIDS]: Remove conditional code.
17951 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17952 <kernel-features.h>.
17953 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17954 unconditional.
17955 (__setresuid): Do not declare.
17956 [__ASSUME_32BITUIDS]: Make code unconditional.
17957 [!__ASSUME_32BITUIDS]: Remove conditional code.
17958 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17959 <kernel-features.h>.
17960 [__ASSUME_32BITUIDS]: Make code unconditional.
17961 [!__ASSUME_32BITUIDS]: Remove conditional code.
17962 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17963 <kernel-features.h>.
17964 [__ASSUME_32BITUIDS]: Make code unconditional.
17965 [!__ASSUME_32BITUIDS]: Remove conditional code.
17966
a386f1cc
RH
179672012-05-25 Richard Henderson <rth@twiddle.net>
17968
17969 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17970 dl_hwcap to ifunc resolver.
17971 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17972 elf_ifunc_invoke.
17973 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17974 dl_hwcap to ifunc resolver.
17975 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17976
b6550497
JM
179772012-05-24 Joseph Myers <joseph@codesourcery.com>
17978
17979 [BZ #14153]
17980 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17981 for |x| <= 2**-26, not 2**-57.
17982 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17983 exception.
17984
b0bc23a1
JL
179852012-05-24 Jeff Law <law@redhat.com>
17986
17987 * stdio-common/Makefile (tests): Add bug25.
17988 * stdio-common/bug25.c: New test.
17989
347c92e9
L
179902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17991
17992 [BZ #13576]
17993 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17994 multiple of MALLOC_ALIGNMENT in size.
17995 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17996
6bcc8b3f
JM
179972012-05-24 Joseph Myers <joseph@codesourcery.com>
17998
17999 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18000 Require >= 256.
18001 (FILENAME_MAX): Use macro-int-constant.
18002 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18003 (_IOFBF): Use macro-int-constant.
18004 (_IOLBF): Likewise.
18005 (_IONBF): Likewise.
18006 (SEEK_CUR): Likewise.
18007 (SEEK_END): Likewise.
18008 (SEEK_SET): Likewise.
18009 (TMP_MAX): Likewise.
18010 (EOF): Use macro-int-constant. Require < 0.
18011 (NULL): Use macro-constant. Require == 0.
18012 (stdin): Require type to be FILE *.
18013 (stdout): Likewise.
18014 (stderr): Likewise.
18015 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18016 macro-int-constant.
18017 (EXIT_SUCCESS): Likewise.
18018 (NULL): Use macro-constant. Require == 0.
18019 (RAND_MAX): Use macro-int-constant.
18020 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18021 [C99-based standards] (strtof): Require function.
18022 [C99-based standards] (strtold): Likewise.
18023 [C99-based standards] (strtoll): Likewise.
18024 [C99-based standards] (strtoull): Likewise.
18025 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18026 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18027 [ISO || ISO99 || ISO11] (math.h): Likewise.
18028 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18029 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18030 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18031
d18ea0c5
AS
180322012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18033
18034 [BZ #14132]
56d25bb8
AS
18035 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18036 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18037 * intl/dgettext.c (DCGETTEXT): Likewise.
18038 * intl/gettext.c (DCGETTEXT): Likewise.
18039 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18040 * posix/regex_internal.h (gettext): Likewise.
18041 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18042 Remove declaration.
18043 * include/argz.h (__argz_count_internal)
18044 (__argz_stringify_internal): Remove declaration.
18045 (__argz_count, __argz_stringify): Declare hidden proto.
18046 * intl/dcgettext.c: Remove use of INTDEF.
18047 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18048 * string/argz-stringify.c: Likewise.
18049 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18050 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18051 Declare hidden proto.
d18ea0c5
AS
18052 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18053 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18054 Declare hidden proto.
18055 * include/stdio.h (__asprintf_internal): Don't declare.
18056 (__asprintf): Don't define as macro. Declare hidden proto.
18057 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18058 (__fsetlocking): Declare hidden proto.
18059 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18060 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18061 hidden proto.
18062 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18063 (_IO_setlinebuf): Remove use of INTUSE.
18064 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18065 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18066 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18067 Remove declaration.
18068 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18069 (_IO_do_flush): Remove use of INTUSE.
18070 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18071 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18072 (_IO_adjust_column, _IO_least_wmarker)
18073 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18074 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18075 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18076 (_IO_default_doallocate, _IO_wdefault_doallocate)
18077 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18078 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18079 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18080 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18081 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18082 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18083 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18084 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18085 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18086 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18087 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18088 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18089 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18090 proto.
18091 (_IO_flush_all_internal, _IO_adjust_column_internal)
18092 (_IO_default_uflow_internal, _IO_default_finish_internal)
18093 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18094 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18095 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18096 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18097 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18098 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18099 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18100 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18101 (_IO_file_close_internal, _IO_file_close_it_internal)
18102 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18103 (_IO_file_init_internal, _IO_file_attach_internal)
18104 (_IO_file_fopen_internal, _IO_file_read_internal)
18105 (_IO_file_sync_internal, _IO_file_seek_internal)
18106 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18107 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18108 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18109 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18110 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18111 (_IO_list_all_internal, _IO_link_in_internal)
18112 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18113 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18114 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18115 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18116 (_IO_do_write_internal, _IO_padn_internal)
18117 (_IO_getline_info_internal, _IO_getline_internal)
18118 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18119 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18120 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18121 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18122 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18123 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18124 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18125 with libc_hidden_ver, remove use of INTUSE.
18126 * libio/genops.c: Likewise.
18127 * libio/freopen.c: Likewise.
18128 * libio/freopen64.c: Likewise.
18129 * libio/iofclose.c: Likewise.
18130 * libio/iofdopen.c: Likewise.
18131 * libio/iofflush.c: Likewise.
18132 * libio/iofflush_u.c: Likewise.
18133 * libio/iofgets.c: Likewise.
18134 * libio/iofgets_u.c: Likewise.
18135 * libio/iofopen.c: Likewise.
18136 * libio/iofopncook.c: Likewise.
18137 * libio/iofread.c: Likewise.
18138 * libio/iofread_u.c: Likewise.
18139 * libio/ioftell.c: Likewise.
18140 * libio/iofwrite.c: Likewise.
18141 * libio/iogetline.c: Likewise.
18142 * libio/iogets.c: Likewise.
18143 * libio/iogetwline.c: Likewise.
18144 * libio/iopadn.c: Likewise.
18145 * libio/iopopen.c: Likewise.
18146 * libio/ioseekoff.c: Likewise.
18147 * libio/ioseekpos.c: Likewise.
18148 * libio/iosetbuffer.c: Likewise.
18149 * libio/iosetvbuf.c: Likewise.
18150 * libio/ioungetc.c: Likewise.
18151 * libio/ioungetwc.c: Likewise.
18152 * libio/iovdprintf.c: Likewise.
18153 * libio/iovsprintf.c: Likewise.
18154 * libio/iovsscanf.c: Likewise.
18155 * libio/memstream.c: Likewise.
18156 * libio/obprintf.c: Likewise.
18157 * libio/oldfileops.c: Likewise.
18158 * libio/oldiofclose.c: Likewise.
18159 * libio/oldiofdopen.c: Likewise.
18160 * libio/oldiofopen.c: Likewise.
18161 * libio/oldiopopen.c: Likewise.
18162 * libio/oldstdfiles.c: Likewise.
18163 * libio/putc.c: Likewise.
18164 * libio/setbuf.c: Likewise.
18165 * libio/setlinebuf.c: Likewise.
18166 * libio/stdfiles.c: Likewise.
18167 * libio/strops.c: Likewise.
18168 * libio/vasprintf.c: Likewise.
18169 * libio/vscanf.c: Likewise.
18170 * libio/vsnprintf.c: Likewise.
18171 * libio/vswprintf.c: Likewise.
18172 * libio/wfiledoalloc.c: Likewise.
18173 * libio/wfileops.c: Likewise.
18174 * libio/wgenops.c: Likewise.
18175 * libio/wmemstream.c: Likewise.
18176 * libio/wstrops.c: Likewise.
18177 * libio/__fpurge.c: Likewise.
18178 * libio/__fsetlocking.c: Likewise.
18179 * assert/assert.c: Likewise.
18180 * debug/fgets_chk.c: Likewise.
18181 * debug/fgets_u_chk.c: Likewise.
18182 * debug/fread_chk.c: Likewise.
18183 * debug/fread_u_chk.c: Likewise.
18184 * debug/gets_chk.c: Likewise.
18185 * debug/obprintf_chk.c: Likewise.
18186 * debug/vasprintf_chk.c: Likewise.
18187 * debug/vdprintf_chk.c: Likewise.
18188 * debug/vsnprintf_chk.c: Likewise.
18189 * debug/vsprintf_chk.c: Likewise.
18190 * malloc/mtrace.c: Likewise.
18191 * misc/error.c: Likewise.
18192 * misc/syslog.c: Likewise.
18193 * stdio-common/asprintf.c: Likewise.
18194 * stdio-common/fxprintf.c: Likewise.
18195 * stdio-common/getw.c: Likewise.
18196 * stdio-common/isoc99_fscanf.c: Likewise.
18197 * stdio-common/isoc99_scanf.c: Likewise.
18198 * stdio-common/isoc99_vfscanf.c: Likewise.
18199 * stdio-common/isoc99_vscanf.c: Likewise.
18200 * stdio-common/isoc99_vsscanf.c: Likewise.
18201 * stdio-common/printf-prs.c: Likewise.
18202 * stdio-common/printf_fp.c: Likewise.
18203 * stdio-common/printf_fphex.c: Likewise.
18204 * stdio-common/printf_size.c: Likewise.
18205 * stdio-common/putw.c: Likewise.
18206 * stdio-common/scanf.c: Likewise.
18207 * stdio-common/sprintf.c: Likewise.
18208 * stdio-common/tmpfile.c: Likewise.
18209 * stdio-common/vfprintf.c: Likewise.
18210 * stdio-common/vfscanf.c: Likewise.
18211 * stdlib/strfmon_l.c: Likewise.
18212 * sunrpc/openchild.c: Likewise.
18213 * sunrpc/xdr_stdio.c: Likewise.
18214 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18215 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18216
d6c33fda
RM
182172012-05-24 Roland McGrath <roland@hack.frob.com>
18218
c1487492
RM
18219 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18220
18221 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18222 in the third column, to generate for the shared library an IFUNC
18223 that uses _dl_vdso_vsym.
18224 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18225 * Makeconfig (object-suffixes-noshared): New variable.
18226
18227 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18228 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18229 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18230 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18231
d6c33fda
RM
18232 [BZ #14132]
18233 * include/sys/time.h (__gettimeofday): Remove macro.
18234 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18235 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18236 Remove INTDEF.
18237 (__gettimeofday): Add libc_hidden_def.
18238 (gettimeofday): Add libc_hidden_weak.
18239 * sysdeps/mach/gettimeofday.c: Likewise.
18240 * sysdeps/posix/gettimeofday.c: Likewise.
18241 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18242 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18243 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18244 (__gettimeofday_internal): Remove strong_alias.
18245 (__gettimeofday): Add libc_hidden_def.
18246 (gettimeofday): Add libc_hidden_weak.
18247 * sysdeps/unix/syscalls.list (gettimeofday):
18248 Remove __gettimeofday_internal alias.
18249
b5a2bbe6
L
182502012-05-24 Daniel Jacobowitz <drow@false.org>
18251 H.J. Lu <hongjiu.lu@intel.com>
18252
18253 [BZ #12495]
18254 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18255 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18256 (largebin_index_32_big): New.
18257 (largebin_index): Use it for 16-byte alignment.
18258 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18259 correction with front_misalign.
18260
cfba4fda
L
182612012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18262
7f907421
L
18263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18265 Likewise.
18266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18267 Likewise.
18268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18269 Likewise.
18270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18271 Likewise.
18272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18273 Likewise.
18274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18275 Likewise.
18276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18277 Likewise.
18278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18279 Likewise.
18280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18281 Likewise.
18282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18283 Likewise.
18284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18285 Likewise.
18286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18287 Likewise.
18288
cfba4fda
L
18289 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18290 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18291
80bad0cc
JM
182922012-05-24 Joseph Myers <joseph@codesourcery.com>
18293
7a25eb06
JM
18294 [BZ #10846]
18295 [BZ #14036]
18296 * math/libm-test.inc (exp_test): Add test from bug 14036.
18297 (pow_test): Add test from bug 10846.
18298
795405f9
JM
18299 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18300 and other flags.
18301 (special_function): Do not include flags in test name.
18302 (parse_args): Likewise.
18303 * sysdeps/i386/fpu/libm-test-ulps: Update.
18304 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18305 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18306 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18308
80bad0cc
JM
18309 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18310 exceptions.
18311 * math/libm-test.inc ("Philosophy"): Update comment about
18312 exception testing.
18313 (UNDERFLOW_EXCEPTION): New macro.
18314 (UNDERFLOW_EXCEPTION_OK): Likewise.
18315 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18316 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18317 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18318 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18319 (INVALID_EXCEPTION_OK): Update value.
18320 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18321 (OVERFLOW_EXCEPTION_OK): Likewise.
18322 (IGNORE_ZERO_INF_SIGN): Likewise.
18323 (test_exceptions): Handle underflow exceptions.
18324 (acos_test): Update for underflow exception expectations.
18325 (cexp_test): Likewise.
18326 (clog_test): Likewise.
18327 (clog10_test): Likewise.
18328 (csqrt_test): Likewise.
18329 (ctan_test): Likewise.
18330 (ctanh_test): Likewise.
18331 (exp_test): Likewise.
18332 (exp10_test): Likewise.
18333 (exp2_test): Likewise.
18334 (expm1_test): Likewise.
18335 (fma_test): Likewise.
18336 (j0_test): Likewise.
18337 (jn_test): Likewise.
18338 (nexttoward_test): Likewise.
18339 (pow_test): Likewise.
18340 (scalbn_test): Likewise.
18341 (scalbln_test): Likewise.
18342 (tan_test): Likewise.
18343 (y1_test): Likewise.
18344 * sysdeps/i386/fpu/libm-test-ulps: Update.
18345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18346
9e0e3d0b
DM
183472012-05-23 David S. Miller <davem@davemloft.net>
18348
18349 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18350 (__libc_sigaction): Remove unused local variables.
18351
ccd0a08f
L
183522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18353
18354 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18355
62bdf9a6
PE
183562012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18357
f8591f80
PE
18358 mktime: avoid signed integer overflow
18359 * time/mktime.c (__mktime_internal): Do not mishandle the case
18360 where diff == INT_MIN.
18361
94c7d826
PE
18362 mktime: simplify computation of average
18363 * time/mktime.c (ranged_convert): Use new time_t_avg function
18364 instead of rolling our own (probably-slower) code.
18365
ce73d683
PE
18366 mktime: do not assume signed right shift propagates sign bit
18367 * time/mktime.c (isdst_differ): New static function.
18368 (__mktime_internal): No need to normalize tm_isdst now.
18369 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18370 tm_isdst values.
18371
72a22e59
PE
18372 mktime: merge another wrapv change from gnulib
18373 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18374 from some compilers.
18375
68605433
PE
18376 mktime: remove incorrect attempt at unusual arithmetics
18377 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18378 The code didn't really work on such machines anyway.
18379 (TYPE_MINIMUM): Assume two's complement.
18380 (twos_complement_arithmetic): Verify that long_int and time_t
18381 are two's complement (or unsigned, in the latter case).
18382
03cf7fe3
PE
18383 mktime: check signed shifts on long_int and time_t, too
18384 * time/mktime.c (SHR): Check that shifts work as desired
18385 on the types long_int and time_t too, as SHR is used on
18386 such types.
18387
f04dfbc2
PE
18388 mktime: do not assume 'long' is wide enough
18389 * time/mktime.c (verify): Move decl up.
18390 (long_int): New type.
18391 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18392 to remove assumption in the code that 'long' is wide enough to
18393 store year values. This assumption is not true on x32 and on
18394 some non-glibc platforms.
18395
62bdf9a6
PE
18396 mktime: merge wrapv change from gnulib
18397 * time/mktime.c (WRAPV): New macro.
18398 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18399 (guess_time_tm, __mktime_internal): Do not assume that signed
18400 integer overflow wraps around; modern compilers generate code
18401 where this assumption is no longer valid.
18402
5e292e4f
L
184032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18404
18405 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18406 Replace "jmp L(pseudo_end)" with "ret".
18407 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18408 Likewise.
18409
8caf8c87
AJ
184102012-05-23 Andreas Jaeger <aj@suse.de>
18411
18412 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18413 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18414
1a09dc56
AJ
184152012-05-23 Andreas Jaeger <aj@suse.de>
18416 Maximilian Attems <max@stro.at>
18417
18418 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18419 New macros.
18420
1c87aba0
L
184212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18422
18423 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18424 code so that pseudo_end is just ret and the stack pointer is
18425 correct also for static library in error case.
18426
40e45bd5
JM
184272012-05-23 Joseph Myers <joseph@codesourcery.com>
18428
c2670533
JM
18429 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18430 move to syscalls.list.
18431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18435
40e45bd5
JM
18436 * manual/install.texi (Running make install): Do not mention Linux
18437 kernel version for which pt_chown is not needed.
18438 (Linux): Do not mention problems with nscd with 2.0 kernels.
18439 * INSTALL: Regenerated.
18440
be08eda5
AJ
184412012-05-23 Andreas Jaeger <aj@suse.de>
18442
18443 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18444 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18445 macro.
18446 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18447 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18448 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18449 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18450 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18451 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18452 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18453 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18454 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18455 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18456 * sysdeps/unix/sysv/linux/bits/in.h
18457 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18458
a6a056bb
RM
184592012-05-22 Roland McGrath <roland@hack.frob.com>
18460
18461 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18462 (PREPARE_VERSION): Just use assert instead, it will be elided
18463 under [NDEBUG] anyway.
18464
c9009328
L
184652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18466
18467 * sysdeps/unix/sysv/linux/Makefile: Include
18468 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18469 (sysdep_routines): Remove sysctl.
c9009328
L
18470 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18471 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18472 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18473 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18474 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18475
73338355
AJ
184762012-05-22 Andreas Jaeger <aj@suse.de>
18477
18478 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18479 that pseudo_end is just ret and the stack pointer is correct also
18480 for static library in error case.
18481
d44638b0
PP
184822012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18483
18484 [BZ #14122]
18485 * nss/nsswitch.c (defconfig_entries): New variable.
18486 (__nss_database_lookup): Don't leak defconfig entries.
18487 (nss_parse_service_list): Don't leak on error paths.
18488 (free_database_entries): New function.
18489 (free_defconfig): New function.
18490 (free_mem): Move common code to free_database_entries.
18491
31a39bd8
L
184922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18493
da0331a8
L
18494 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18495 Add arch_prctl.
18496 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18497
31a39bd8
L
18498 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18499 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18500 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18501 New macro.
18502 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18503 (INTERNAL_SYSCALL_TYPES): Likewise.
18504 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18505 (LOAD_REGS_TYPES_[1-6]): Likewise.
18506 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18507 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18508
45470df3
AZ
185092012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18510
18511 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18512 copysignl for GLIBC_2_0.
18513 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18514 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18515 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18516 logbl for GLIBC_2_0.
18517 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18518 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18519
98a61bcb
L
185202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18521
a4f6e481
L
18522 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18523 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18524
f63d5db6
L
18525 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18526 Use "neg %eax".
18527
98a61bcb
L
18528 * time/mktime.c: Update copyright years.
18529
95770f14
PE
185302012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18531
6226efbd
PE
18532 mktime: merge comment-quoting-style change from gnulib
18533 * time/mktime.c: Quote 'like this' in comments.
18534 The GNU coding standards suggest that we no longer quote `like this',
18535 as "`" and "'" are typically rendered asymmetrically nowadays.
18536 The typical gnulib style is to quote 'like this' when quoting
18537 code, and "like this" when quoting English.
18538
b99e4f78
PE
18539 * time/mktime.c (compile-command): Add "-I.".
18540
643e01e6
PE
18541 mktime: merge mktime-internal.h change from gnulib
18542 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18543
2554247d
PE
18544 mktime: merge time_r change from gnulib
18545 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18546
826dd0ab
PE
18547 mktime: merge DEBUG change from gnulib
18548 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18549 case system <time.h> has a #define.
18550
bd83aabe
PE
18551 mktime: merge <sys/types.h> change from gnulib
18552 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18553 since <time.t> is now guaranteed to define time_t.
18554
95770f14
PE
18555 mktime: merge HAVE_CONFIG_H change from gnulib
18556 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18557
5e1a27a9
L
185582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18559
0e44a77e
L
18560 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18561 Use "neg %eax".
18562
5e1a27a9
L
18563 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18564 __rlim_t cast.
18565 (struct rusage): Use anonymous union to pad each field to
18566 __syscall_slong_t.
18567
46259bec
DM
185682012-05-21 David S. Miller <davem@davemloft.net>
18569
18570 * Makefules (o-iterator): Remove .s cases.
18571 (compile-command.s): Delete.
18572 (COMPILE.s): Delete.
18573 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18574
59f0c22e
JM
185752012-05-21 Joseph Myers <joseph@codesourcery.com>
18576
18577 * configure.in (libc_cv_predef_stack_protector): Only consider
18578 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18579 * configure: Regenerated.
18580
20c07380
L
185812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18582
bbb3154b
L
18583 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18584 New macro. Use R*LP on int and pointer.
18585 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18586 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18587 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18588 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18589
20c07380
L
18590 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18591 [__WORDSIZE_TIME64_COMPAT32] instead of
18592 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18593 (struct utmp): Likewise.
18594 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18595 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18596 Renamed to ...
18597 (__WORDSIZE_TIME64_COMPAT32): This.
18598 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18599 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18600 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18601 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18602 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18603 (__WORDSIZE_TIME64_COMPAT32): New macro.
18604
d8d1017e
AJ
186052012-05-21 Andreas Jaeger <aj@suse.de>
18606
18607 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18608 only if [SHARED]. Add prototype for __wcschr_ia32.
18609
6c7fb145
RM
186102012-05-21 Roland McGrath <roland@hack.frob.com>
18611
18612 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18613 of %rbp unmolested in the jmp_buf while mangling the low bits.
18614 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18615 unmolested high bits of %rbp while demangling the low bits.
18616 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18617
66274218
AJ
186182012-05-21 Andreas Jaeger <aj@suse.de>
18619
07c58f8f
AJ
18620 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18621 * sunrpc/svc_simple.c: Use it for registerrpc.
18622 * sunrpc/xcrypt.c: Use it for passwd2des.
18623
66274218
AJ
18624 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18625
61f65140
L
186262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18627
18628 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18629 Don't define if [__SYSCALL_WORDSIZE != 32].
18630 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18631 New macro.
18632
5fefb436
AJ
186332012-05-21 Bruno Haible <bruno@clisp.org>
18634 Andreas Jaeger <aj@suse.de>
18635
18636 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18637 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18638 inptr and inend for must_buffer_ch.
18639 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18640 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18641 * stdio-common/Makefile (tests): Remove bug15.
18642 (bug15-ENV): Remove macro.
18643 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18644 anymore.
18645
d8e272ab
AJ
186462012-05-19 Andreas Jaeger <aj@suse.de>
18647 Roland McGrath <roland@hack.frob.com>
18648
18649 * manual/contrib.texi: Completely rewritten. It contains now an
18650 alphabetical list of contributors and their contributions.
18651
4a56a162
RH
186522012-05-21 Richard Henderson <rth@twiddle.net>
18653
18654 * misc/getauxval.c (__getauxval): Use unsigned long int.
18655 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18656 (getauxval): Use unsigned long int.
18657
d024d23c
L
186582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18659
18660 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18661
cbc00a03
RM
186622012-05-21 Roland McGrath <roland@hack.frob.com>
18663
18664 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18665 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18666 __alignof__ (long double).
18667
478143fa
AZ
186682012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18669
18670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18671
c7683a6d
RH
186722012-05-20 Richard Henderson <rth@twiddle.net>
18673
18674 * misc/getauxval.c: New file.
18675 * misc/sys/auxv.h: New file.
18676 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18677 (routines): Add getauxval.
18678 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18679 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18680 * elf/dl-sysdep.c (_dl_auxv): Remove.
18681 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18682 * elf/dl-support.c (_dl_auxv): New variable.
18683 (_dl_aux_init): Initialize it.
18684 * manual/startup.texi (Auxiliary Vector): New node.
18685 * sysdeps/generic/bits/hwcap.h: New file.
18686 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18687 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18688 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18689 * sysdeps/sparc/sysdep.h: ... here. Include it.
18690 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18691 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18693 Update.
c7683a6d
RH
18694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18697 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18702
a6f1845d
AZ
187032012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18704
18705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18706
cbcbe830
DM
187072012-05-19 David S. Miller <davem@davemloft.net>
18708
18709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18710
e0b16cc2
JM
187112012-05-19 Joseph Myers <joseph@codesourcery.com>
18712
18713 [BZ #14123]
18714 * math/s_ccosh.c: Include <float.h>
18715 (__ccosh): Avoid internal overflow calculating sinh and cosh
18716 values before multiplying by sin and cos values.
18717 * math/s_ccoshf.c: Likewise.
18718 * math/s_ccoshl.c: Likewise.
18719 * math/s_csin.c: Likewise.
18720 * math/s_csinf.c: Likewise.
18721 * math/s_csinl.c: Likewise.
18722 * math/s_csinh.c: Likewise.
18723 * math/s_csinhf.c: Likewise.
18724 * math/s_csinhl.c: Likewise.
18725 * math/libm-test.inc (ccos_test): Add more tests.
18726 (ccosh_test): Likewise.
18727 (csin_test): Likewise.
18728 (csinh_test): Likewise.
18729 * sysdeps/i386/fpu/libm-test-ulps: Update.
18730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18731
6ad13e08
L
187322012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18733
f66f0ce8
L
18734 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18735 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18736
6ad13e08
L
18737 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18738
b1d072a7
JM
187392012-05-19 Joseph Myers <joseph@codesourcery.com>
18740
18741 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18742 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18743 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18744 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18745 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18746 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18747 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18748 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18749 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18750 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18751 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18752 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18753 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18754 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18755 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18756 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18757 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18758 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18759 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18760 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18761 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18762 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18763 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18764 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18765 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18766 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18767 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18768 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18769 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18770 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18771 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18772
9eae47cb
AJ
187732012-05-18 Andreas Jaeger <aj@suse.de>
18774
18775 * csu/.gitignore: Delete.
18776
bb07f69f
L
187772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18778
18779 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18780 (timex): Use __syscall_slong_t.
18781
e6bdb741
AJ
187822012-05-18 Andreas Jaeger <aj@suse.de>
18783 Carlos O'Donell <carlos_odonell@mentor.com>
18784
18785 * manual/install.texi (Configuring and compiling): Update
18786 description about files modified in the source directory.
d6c33fda 18787 * INSTALL: Regenerated.
e6bdb741 18788
1b74487e
L
187892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18790
18791 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18792 value. Use "or" to set return value to -1.
18793 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18794 negate return value.
18795
a88b64b9
TMQMF
187962012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18797
18798 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18799 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18800 failure if the compiler has Graphite support disabled.
18801 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18802 Likewise.
18803 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18804 CFLAGS-memmove.c): Likewise.
18805 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18806 Likewise.
18807
3707636e
L
188082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18809
610b8622
L
18810 * sysdeps/x86_64/x32/_itoa.h: New file.
18811
7cd195df
L
18812 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18813 getdents system call only if kernel and user dirents have the
18814 same d_ino and d_off.
18815
94b07d20
L
18816 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18817 LLONG_MAX != LONG_MAX.
18818 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18819 (_fitoa_word): Likewise.
18820
18298070
L
18821 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18822 years.
18823 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18824 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18825 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18826
553c7ea4
L
18827 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18828 include <bits/wordsize.h>. Check __x86_64__ instead of
18829 __WORDSIZE.
18830 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18831 if __x86_64__ is defined. Use anonymous union on fpstate.
18832
3707636e
L
18833 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18834 anonymous union.
18835
b53ef01a
AS
188362012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18837
37fb1dc0
AS
18838 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18839 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18840 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18841 Refer to _rtld_local_ro instead of _rtld_global_ro.
18842 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18843 Likewise.
18844 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18845 Likewise.
18846 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18847 Likewise.
18848 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18849 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18850 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18851
b53ef01a
AS
18852 * sysdeps/powerpc/powerpc32/dl-machine.c
18853 (__elf_machine_runtime_setup) [PROF]: Don't reference
18854 _dl_prof_resolve.
18855
7a185db2
AJ
188562012-05-18 Andreas Jaeger <aj@suse.de>
18857
18858 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18859 function only available for GCCs before 3.4 since GCC 3.4
18860 introduced a builtin.
18861 (lrint): Likewise.
18862 (llrintf): Likewise.
18863 (llrint): Likewise.
18864 (fmaxf): Likewise.
18865 (fmax): Likewise.
18866 (fminf): Likewise.
18867 (fmin): Likewise.
18868 (rint): Likewise.
18869 (rintf): Likewise.
18870 (nearbyint): Likewise.
18871 (nearbyintf): Likewise.
18872 (ceil): Likewise.
18873 (ceilf): Likewise.
18874 (floor): Likewise.
18875 (floorf): Likewise.
18876
3e5aef87
L
188772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18878
428bd707
L
18879 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18880 on both fields and cast pointer to __syscall_ulong_t.
18881
3e5aef87
L
18882 * bits/types.h (__fsword_t): New type.
18883 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18884 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18885 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18886 (__FSWORD_T_TYPE): Likewise.
18887 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18888 (__FSWORD_T_TYPE): Likewise.
18889 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18890 (__FSWORD_T_TYPE): Likewise.
18891 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18892 (__FSWORD_T_TYPE): Likewise.
18893 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18894 __SWORD_TYPE with __fsword_t.
18895 (statfs64): Likewise.
18896
1ba7c3dc
DM
188972012-05-17 David S. Miller <davem@davemloft.net>
18898
18899 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18900
59910343
AJ
189012012-05-17 Andreas Jaeger <aj@suse.de>
18902
18903 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18904 warning.
18905
2e4c1e9e
L
189062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18907
18908 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18909
de7f5ce7
AJ
189102012-05-17 Andreas Jaeger <aj@suse.de>
18911
18912 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18913 when it is used.
18914
286abc3d
CM
189152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18916
18917 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18918
477cc68e
L
189192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18920
18921 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18922 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18923
1a0994f5
CD
189242012-05-17 Andreas Jaeger <aj@suse.de>
18925 Carlos O'Donell <carlos_odonell@mentor.com>
18926
18927 [BZ #14059]
18928 * sysdeps/x86_64/multiarch/init-arch.h
18929 (bit_YMM_Usable): Rename to...
18930 (bit_AVX_Usable): ... this.
18931 (bit_FMA4_Usable): New macro.
18932 (bit_XMM_state): New macro.
18933 (bit_YMM_state): New macro.
18934 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18935 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18936 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18937 (CPUID_OSXSAVE): New macro.
18938 (CPUID_AVX): New macro.
18939 (CPUID_FMA4): New macro.
18940 (index_YMM_Usable): Rename to...
18941 (index_AVX_Usable): ... this.
18942 (HAS_AVX): Use HAS_ARCH_FEATURE.
18943 (HAS_FMA4): Likewise.
18944 (HAS_YMM_USABLE): Remove.
18945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18946 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18947 are present.
18948 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18949 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18950 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18951 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18952 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18953
0af797de
CM
189542012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18955
18956 * math/libm-test.c: Support platforms without multiple rounding modes.
18957 * math/bug-nextafter.c: Support platforms without FP exceptions.
18958 * math/bug-nexttoward.c: Likewise.
18959 * math/test-fenv.c: Likewise.
18960 * math/test-misc.c: Likewise.
18961 * stdlib/bug-getcontext.c: Likewise.
18962
e39745ff
AJ
189632012-05-17 Andreas Jaeger <aj@suse.de>
18964
18965 * manual/examples/search.c (critter_cmp): Change signature to
18966 avoid warnings.
18967 * manual/string.texi (Collation Functions): Likewise.
18968
48970aba
L
189692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18970
18971 * bits/types.h: Fold copyright years.
18972 * bits/typesizes.h: Likewise.
18973 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18974 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18975 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18976 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18977 * time/time.h: Likewise.
18978
bedee953
PP
189792012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18980
18981 [BZ #208]
18982 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18983 in instead of returning them. Return void.
18984 (__libc_mallinfo): Accumulate over all arenas.
18985 (__malloc_stats): Adjust for change in int_mallinfo interface.
18986
61653dfb
RM
189872012-05-16 Roland McGrath <roland@hack.frob.com>
18988
30b99d79
RM
18989 [BZ #10375]
18990 * configure.in (NM): Add AC_CHECK_TOOL for it.
18991 (libc_extra_cflags): New substituted variable.
18992 Check for -fstack-protector being used implicitly.
18993 * configure: Regenerated.
18994 * config.make.in (config-extra-cflags): New variable,
18995 gets @libc_extra_cflags@.
18996 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18997
61653dfb
RM
18998 [BZ #10375]
18999 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19000 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19001 * configure: Regenerated.
19002 * config.make.in (CPPUNDEFS): New substituted variable.
19003 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19004 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19005 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19006
661768bb
L
190072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19008
19009 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19010 (mq_attr): Use __syscall_slong_t.
19011
d4261567
L
190122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19013
19014 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19015 Check __x86_64__ instead of __WORDSIZE.
19016 (_STAT_VER_LINUX): Likewise.
19017 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19018 __syscall_ulong_t and __syscall_slong_t.
19019 (stat64): Likewise.
19020
cf3ff365
L
190212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19022
19023 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19024
76cf3e4d
L
190252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19026
19027 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19028
a637753a
L
190292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19030
19031 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19032 __syscall_ulong_t.
19033
d5e05119
L
19034 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19035 include <bits/wordsize.h>. Check __x86_64__ instead of
19036 __WORDSIZE.
19037 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19038 defined.
19039 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19040
f62ee380
L
19041 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19042 include <bits/wordsize.h>. Check __x86_64__ instead of
19043 __WORDSIZE.
19044 (user_regs_struct): Use "__extension__ unsigned long long"
19045 instead of "unsigned long" if __x86_64__ is defined.
19046 (user): Likewise. Pad after pointer field if __ILP32__ is
19047 defined.
19048
4e124ced
JM
190492012-05-16 Joseph Myers <joseph@codesourcery.com>
19050
6a3951a0
JM
19051 * configure.in (makeinfo): Require version 4.5 or later. Allow
19052 versions 5 to 9.
19053 * configure: Regenerated.
19054 * manual/install.texi (texinfo): Increase version requirement to
19055 4.5 or later.
19056 * INSTALL: Regenerated.
19057
4e124ced
JM
19058 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19059
953ca31a
L
190602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19061
19062 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19063
617aca05
L
19064 * sysdeps/x86_64/x32/ffs.c: New file.
19065
5762f7ae
L
19066 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19067 __syscall_ulong_t.
19068 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19069 defined. Use __syscall_ulong_t.
19070 (shminfo): Use __syscall_ulong_t.
19071 (shm_info): Likewise.
19072
a26b6856
L
19073 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19074 __syscall_ulong_t.
19075
cb2b9ef7
L
19076 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19077 <bits/wordsize.h>.
19078 (msgqnum_t): Use __syscall_ulong_t.
19079 (msglen_t): Likewise.
19080 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19081 __syscall_ulong_t.
19082
34683bb0
L
19083 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19084 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19085
84a68786
L
19086 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19087
48baa5f1
L
19088 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19089 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19090
180be88b
L
19091 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19092 __syscall_slong_t.
19093
5e90c8ad
L
19094 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19095 include <bits/wordsize.h>. Check __x86_64__ instead of
19096 __WORDSIZE.
19097
23dfb58b
L
19098 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19099 "unsigned long long int" if __x86_64__ is defined.
19100 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19101
ce5d54b0
L
19102 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19103 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19104 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19105
13dc9eac
L
19106 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19107 <stdint.h>.
19108 (GET_PC): Cast to uintptr_t first.
19109 (GET_FRAME): Likewise.
19110 (GET_STACK): Likewise.
19111
a7895d15
L
19112 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19113 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19114 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19115 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19116 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19117 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19118 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19119 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19120 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19121 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19122 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19123 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19124 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19125 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19126 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19127 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19128 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19129 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19130 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19131 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19132 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19133 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19134 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19135 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19136 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19137 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19138 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19139 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19140 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19141
656416c9
AS
191422012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19143
5bd66283
AS
19144 * Makerules (+depfiles): Also collect depfiles from .oS in
19145 $(extra-objs).
19146 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19147 .oS, $(libnldbl-routines)).
19148
656416c9
AS
19149 * Makerules (native-compile-mkdep-flags): Define.
19150 * sunrpc/Makefile (extra-objs): Add $(addprefix
19151 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19152 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19153 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19154 calling $(make-target-directory).
19155
a46f2169
L
191562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19157
19158 * bits/types.h (__snseconds_t): Removed.
19159 * time/time.h (struct timespec): Replace __snseconds_t with
19160 __syscall_slong_t.
19161 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19162 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19163 Likewise.
19164 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19165 (__SNSECONDS_T_TYPE): Likewise.
19166 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19167 (__SNSECONDS_T_TYPE): Likewise.
19168 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19169 (__SNSECONDS_T_TYPE): Likewise.
19170
6af6528b
L
191712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19172
19173 * sysdeps/mach/hurd/bits/typesizes.h
19174 (__SYSCALL_SLONG_TYPE): New macro.
19175 (__SYSCALL_ULONG_TYPE): Likewise.
19176
de986b56
L
191772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19178
19179 * bits/types.h (__syscall_slong_t): New type.
19180 (__syscall_ulong_t): Likewise.
19181
19182 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19183 (__SYSCALL_ULONG_TYPE): Likewise.
19184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19185 (__SYSCALL_SLONG_TYPE): Likewise.
19186 (__SYSCALL_ULONG_TYPE): Likewise.
19187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19188 (__SYSCALL_SLONG_TYPE): Likewise.
19189 (__SYSCALL_ULONG_TYPE): Likewise.
19190 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19191 (__SYSCALL_SLONG_TYPE): Likewise.
19192 (__SYSCALL_ULONG_TYPE): Likewise.
19193
85736dc7
L
191942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19195
19196 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19197 Add sigaltstack-offsets.sym.
19198 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19199 <sigaltstack-offsets.h>.
19200 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19201 longjmp_msg pointer.
19202 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19203 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19204 signal stack.
19205 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19206
cc03b296
JM
192072012-05-15 Joseph Myers <joseph@codesourcery.com>
19208
a9538892
JM
19209 * elf/stackguard-macros.h: Remove file.
19210 * sysdeps/generic/stackguard-macros.h: New file.
19211 * sysdeps/i386/stackguard-macros.h: Likewise.
19212 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19213 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19214 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19215 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19216 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19217 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19218 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19219 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19220 <elf/stackguard-macros.h>.
19221
cc03b296
JM
19222 [BZ #14109]
19223 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19224 __aligned__ in attribute.
19225 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19226 (gregset_t): Likewise.
19227
93171016
L
192282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19229
19230 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19231 * sysdeps/x86_64/64/Implies-after: Here. New file.
19232 * sysdeps/x86_64/x32/Implies-after: New file.
19233
d86813a0
L
192342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19235
19236 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19237 and access return value for _dl_profile_fixup. Use R10_LP to
19238 load frame size.
19239
2953ec75
L
192402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19241
19242 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19243
3b550e9e
L
192442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19245
19246 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19247 * sysdeps/x86_64/x32/sysdep.h: New file.
19248
eda41706
L
192492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19250
19251 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19252 * sysdeps/x86_64/setjmp.S: Likewise.
19253
9ea01d93
AZ
192542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19255
19256 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19257 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19258 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19259 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19260 remove unused global constant.
19261
02a91938
CM
192622012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19263
19264 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19265 include of <not-cancel.h>.
19266
6540185f
RM
192672012-05-15 Roland McGrath <roland@hack.frob.com>
19268
19269 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19270
509072a0
AJ
192712012-05-15 Jeff Law <law@redhat.com>
19272 Andreas Jaeger <aj@suse.de>
19273
19274 [BZ #13594]
19275 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19276 out from...
19277 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19278 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19279 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19280 code changing __hst_map_handle.map.
19281
ba75122d
RM
192822012-05-15 Roland McGrath <roland@hack.frob.com>
19283
19284 * configure.in (sysnames): Look for Implies-before and Implies-after
19285 files.
19286 * configure: Regenerated.
19287
890d8bd8
L
192882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19289
19290 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19291 8-byte data alignment with LP_SIZE alignment.
19292
f6ee6623
L
192932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19294
19295 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19296 into R10_LP.
19297
ea2626f6
L
192982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19299
19300 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19301
085f715e
L
193022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19303
19304 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19305 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19306 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19307 Likewise.
19308 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19309
be8498fc
L
193102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19311
19312 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19313 (stackinfo_sub_sp): Likewise.
19314
70bc83b9
L
193152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19316
19317 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19318 RAX_LP.
19319
9bc0b730
L
193202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19321
19322 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19323 into R*_LP.
19324
6d2850e7
L
193252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19326
19327 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19328 sizes into R*_LP.
19329
3cb84561
L
193302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19331
19332 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19333
54e2ed81
L
193342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19335
19336 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19337 into R11_LP and load __x86_64_shared_cache_size_half into
19338 R8_LP.
19339
8a17f349
L
193402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19341
19342 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19343 R8_LP.
19344
777b1eea
AZ
193452012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19346
19347 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19348 logb for POWER7.
19349 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19350 logbf for POWER7.
19351 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19352 logbl for POWER7.
19353 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19354 powerpc32/power7/fpu/s_logb.c via #include.
19355 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19356 powerpc32/power7/fpu/s_logbf.c via #include.
19357 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19358 powerpc32/power7/fpu/s_logbl.c via #include.
19359
d20d4ac2
JM
193602012-05-15 Joseph Myers <joseph@codesourcery.com>
19361
19362 * README.libm: Remove file.
19363
6cdef1ab
L
193642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19365
19366 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19367 count for x32. Use R*_LP and omit operand-size suffix.
19368
0b254d8f
L
193692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19370
19371 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19372 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19373 * sysdeps/x86_64/x32/shlib-versions: New file.
19374
ceb809dc
RM
193752012-05-14 Roland McGrath <roland@hack.frob.com>
19376
19377 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19378 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19379 Use _dl_fatal_printf instead.
19380
37f1abd4
JM
193812012-05-14 Joseph Myers <joseph@codesourcery.com>
19382
19383 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19384 set if not set by the user. Do not allow for being unset.
19385 * sysdeps/unix/sysv/linux/configure: Regenerated.
19386
11de3a33
L
193872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19388
19389 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19390 the `q' suffix from lea and replace .quad with ASM_ADDR.
19391
e02f153a
L
193922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19393
19394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19395 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19396 instead of $17.
19397 (PTR_DEMANGLE): Likewise.
19398
520ae0fd
L
193992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19400
19401 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19402 (LP_OP): Likewise.
19403 (ASM_ADDR): Likewise.
19404 (RAX_LP): Likewise.
19405 (RBP_LP): Likewise.
19406 (RBX_LP): Likewise.
19407 (RCX_LP): Likewise.
19408 (RDI_LP): Likewise.
19409 (RSI_LP): Likewise.
19410 (RSP_LP): Likewise.
19411 (R8_LP): Likewise.
19412 (R9_LP): Likewise.
19413 (R10_LP): Likewise.
19414 (R10_LP): Likewise.
19415 (R11_LP): Likewise.
19416 (R12_LP): Likewise.
19417 (R13_LP): Likewise.
19418 (R14_LP): Likewise.
19419 (R15_LP): Likewise.
19420
b985be81
L
194212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19422
19423 * sysdeps/x86_64/x32/dl-machine.h: New file.
19424
6a4888ff
AJ
194252012-05-14 Andreas Jaeger <aj@suse.de>
19426
19427 * manual/Makefile (subdir): Remove export of subdir.
19428 (all): Remove target.
19429 (.PHONY): Remove all from list.
19430 (mkinstalldirs): Remove.
19431 (.PHONY): Remove installdirs from list.
19432 ($(inst_infodir)/libc.info): Use make-target-directory.
19433 (installdirs): Remove.
19434 (subdir_%): Remove.
19435 (glibc-targets): Remove.
19436 (lib): Remove.
19437 (stubs): Remove.
19438 ($(objpfx)stubs ../po/manual.pot): Remove.
19439 ($(objpfx)stamp%): Remove.
19440 (make-target-directory): Remove.
19441 (subdir_install): Remove.
19442 (routines): Remove.
19443 (aux): Remove.
19444 (sources): Remove.
19445 (objects): Remove.
19446 (headers): Remove.
19447
19448 [BZ #13750]
19449 * manual/.gitignore: Remove, it's not needed anymore.
19450 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19451 all files in it.
19452 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19453 directory.
19454 (texis): Renamed to $(objpfx)texis.
19455 (texis-path): New, contains path to generated files.
19456 (chapters.%): Use texis-path for complete path, add extra argument
19457 libc-texinfo.sh.
19458 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19459 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19460 (summary,texi, stamp-summary): Use complete path of
19461 files. Generate files in build dir.
19462 (dir-add.texi): Build in build dir.
19463 (libm-err.texi,stamp-libm-err): Likewise.
19464 (version.texi, stamp-version): Likewise.
19465 (.%c.texi): Likewise.
19466 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19467 (mostlyclean): Remove target.
19468 (realclean): Remove target.
19469 (generated): Add new variable with contents from mostlyclean and
19470 realclean, remove entries duplicated in common-mostlyclean, add
19471 stamp-libm-err and stamp-version.
19472 (generated-dirs): Add libc directory.
19473 ($(inst_infodir)/libc.info): Install files from build dir.
19474
19475 * manual/install.texi (Configuring and compiling): Adjust since
19476 the info files are not part of the tar ball anymore.
19477
7ac77294
AJ
194782012-05-14 Andreas Jaeger <aj@suse.de>
19479
19480 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19481 variable.
19482
ffb7875d
JM
194832012-05-14 Joseph Myers <joseph@codesourcery.com>
19484
19485 [BZ #13717]
19486 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19487 to 2.2.0 where earlier.
19488 * sysdeps/unix/sysv/linux/configure: Regenerated.
19489 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19490 Remove conditional code.
19491 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19492 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19493 Remove conditional code.
19494 [!__NR_lchown]: Likewise.
19495 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19496 [__NR_lchown]: Likewise.
19497 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19498 comment referencing __ASSUME_LCHOWN_SYSCALL.
19499 * sysdeps/unix/sysv/linux/i386/sigaction.c
19500 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19501 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19502 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19503 Remove conditional code.
19504 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19505 (__protocol_available): Remove #if 0 code.
19506 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19507 conditional code.
19508 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19509 * sysdeps/unix/sysv/linux/kernel-features.h
19510 (__ASSUME_GETCWD_SYSCALL): Don't define.
19511 (__ASSUME_REALTIME_SIGNALS): Likewise.
19512 (__ASSUME_PREAD_SYSCALL): Likewise.
19513 (__ASSUME_PWRITE_SYSCALL): Likewise.
19514 (__ASSUME_POLL_SYSCALL): Likewise.
19515 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19516 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19517 non-SPARC.
19518 (__ASSUME_SIOCGIFNAME): Don't define.
19519 (__ASSUME_MSG_NOSIGNAL): Likewise.
19520 (__ASSUME_SENDFILE): Define unconditionally.
19521 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19522 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19523 conditional code.
19524 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19525 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19526 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19527 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19528 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19529 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19530 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19532 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19533 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19535 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19536 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19538 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19539 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19541 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19542 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19544 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19545 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19547 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19548 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19550 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19551 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19553 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19554 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19555 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19556 Remove conditional code.
19557 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19558 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19559 Remove conditional code.
19560 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19561 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19562 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19563 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19564 Remove conditional code.
19565 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19566 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19567 Remove conditional code.
19568 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19569 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19570 Remove conditional code.
19571 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19572 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19573 Remove conditional code.
19574 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19575 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19576 Remove conditional code.
19577 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19578 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19579 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19580 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19581 * sysdeps/unix/sysv/linux/sigaction.c
19582 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19583 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19584 * sysdeps/unix/sysv/linux/sigpending.c
19585 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19586 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19587 * sysdeps/unix/sysv/linux/sigprocmask.c
19588 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19589 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19590 * sysdeps/unix/sysv/linux/sigsuspend.c
19591 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19592 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19593 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19594 (__libc_missing_rt_sigs): Remove.
19595 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19596 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19597 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19598 Remove conditional code.
19599 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19600 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19601 return 1.
19602 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19603 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19604 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19605 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19606
1bfb7291
AJ
196072012-05-14 Andreas Jaeger <aj@suse.de>
19608
caae5a81
AJ
19609 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19610 it's not used in glibc.
19611 (__coshm1): Likewise.
19612 (__acosh1p): Likewise.
19613 (__sgn): Likewise.
19614
1bfb7291
AJ
19615 * manual/string.texi (Copying and Concatenation): Add missing
19616 variable in concat example.
19617 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19618
c044d724
L
196192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19620
144c5467 19621 [BZ #14103]
c044d724
L
19622 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19623 __builtin_clzl with __builtin_clzll.
19624
2523c62b
L
196252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19626
19627 [BZ #14104]
19628 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19629 libc_freeres_ptr.
19630
d7bb4c42
LD
196312012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19632
19633 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19634 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19635 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19636 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19637
9dc4e1fb
MF
196382012-05-14 Mike Frysinger <vapier@gentoo.org>
19639
19640 * NEWS: Update ia64 info.
19641
c7df0112
AS
196422012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19643
19644 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19645 used as bcopy.
19646
dc70356c
TS
196472012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19648
19649 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19650 * sysdeps/unix/syscalls.list (dup3): Likewise.
19651 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19652 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19653
9fb1a21f
L
196542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19655
19656 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19657 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19658
4822a2a5
L
196592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19660
19661 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19662 thread pointer.
19663 (TLS_IE): Use mov/add instead of movq/addq to load thread
19664 pointer.
19665 (TLS_GD_PREFIX): New.
19666 (TLS_GD): Use it.
19667
842b81d6
DM
196682012-05-11 David S. Miller <davem@davemloft.net>
19669
19670 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19671 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19672 (_FPU_SETCW): Likewise.
19673
1cf463cd
L
196742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19675
19676 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19677 is 32-byte aligned.
19678
60cc4a18
AS
196792012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19680
19681 [BZ #11837]
19682 * iconvdata/gb18030.c: Update tables.
19683 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19684 characters specially.
19685 (BODY for TO_LOOP): Add encoding of missing ranges.
19686
febb44a4
TS
196872012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19688
19689 [BZ #13673]
19690 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19691 * sysdeps/mach/hurd/dup3.c: Likewise.
19692 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19693 * sysdeps/powerpc/memmove.c:: Likewise.
19694
0a10fb9e
L
196952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19696
19697 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19698 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19699
df8a552f
L
197002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19701
19702 * elf/elf.h (R_X86_64_RELATIVE64): New.
19703 (R_X86_64_NUM): Updated.
19704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19705 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19706 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19707 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19708 tst-quad1pie tst-quad2pie
19709 (modules-names): Add tst-quadmod1 tst-quadmod2.
19710 ($(objpfx)tst-quad1): New dependency.
19711 ($(objpfx)tst-quad2): Likewise.
19712 ($(objpfx)tst-quad1pie): Likewise.
19713 ($(objpfx)tst-quad2pie): Likewise.
19714 * sysdeps/x86_64/tst-quad1.c: New file.
19715 * sysdeps/x86_64/tst-quad1pie.c: New file.
19716 * sysdeps/x86_64/tst-quad2.c: Likewise.
19717 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19718 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19719 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19720 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19721 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19722
f34d6f84
ST
197232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19724
f42d41d1
ST
19725 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19726 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19727 * streams/stropts.h (t_scalar_t): Define type.
19728
3c3571fc
ST
19729 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19730 (_PATH_PRESERVE): Set to "/var/lib".
19731 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19732
61f06bd3
ST
19733 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19734 instead of int.
19735
918d4d71
ST
19736 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19737 if __dir_mkfile succeeded.
19738
f34d6f84
ST
19739 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19740 checking for _hurd_dtablesize. Unlock it right after having
19741 finished _hurd_dtable allocation.
19742
10589b4a
TS
197432012-05-10 Thomas Schwinge <thomas@schwinge.name>
19744
674cdbc7
TS
19745 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19746 * sysdeps/mach/hurd/configure: Regenerated.
19747 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19748 special-casing to...
19749 * sysdeps/gnu/configure.in: ... this new file.
19750 * sysdeps/unix/sysv/linux/configure: Regenerated.
19751 * sysdeps/gnu/configure: New generated file.
19752
8e41b99f
TS
19753 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19754 for Linux: use nsec instead of usec, as well as:
19755 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19756 members of type struct timespec.
19757 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19758 New macros.
19759 (struct stat64): Likewise.
19760 (_STATBUF_ST_NSEC): New macro.
19761 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19762
10589b4a
TS
19763 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19764 __strtoul_internal rather than strtoul.
19765
63643c85
PT
197662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19767
19768 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19769 and reject them.
19770
3faebe6a
ST
197712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19772
19773 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19774 which preserves existing values.
19775 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19776
c6474b07
PT
197772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19778
19779 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19780 TIMEOUT values. Return EINVAL for NFDS values either negative or
19781 greater than FD_SETSIZE.
19782
1043890b
ST
197832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19784
19785 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19786 allocated, call __vm_protect to finish enabling the existing space, and
19787 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19788 allocate the remainder.
19789
37ed8b9b
PT
197902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19791
19792 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19793 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19794
db653660
ST
197952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19796
37ed8b9b
PT
19797 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19798 sysdeps/mach/hurd/readlink.c.
b29d4053 19799
db653660
ST
19800 * posix/tst-sysconf.c (posix_options): Only use
19801 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19802 _POSIX_SYNCHRONIZED_IO when they are defined
19803 * sysdeps/mach/hurd/bits/posix_opt.h:
19804 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19805 (_XOPEN_REALTIME): Undefine macro.
19806 (_XOPEN_REALTIME_THREADS): Undefine macro.
19807 (_XOPEN_SHM): Undefine macro.
19808 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19809 macro to -1.
19810 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19811 macro to -1.
19812 (_POSIX_ASYNC_IO): Undefine macro.
19813 (_POSIX_PRIORITIZED_IO): Undefine macro.
19814 (_POSIX_SPIN_LOCKS): Define macro to -1.
19815
ee16e894
ST
19816 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19817 SA_NODEFER, SA_RESETHAND.
19818 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19819 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19820 F_DUPFD_CLOEXEC.
19821
6103ae3b
TS
198222012-05-10 Thomas Schwinge <thomas@schwinge.name>
19823
19824 * elf/Makefile (pldd-modules): Define unconditionally.
19825
80b4e5f3
TS
198262012-05-10 Thomas Schwinge <thomas@schwinge.name>
19827
19828 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19829
edadcbd6
ST
198302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19831
19832 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19833 Return ENOENT when name is empty.
19834 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19835
80694780
TS
198362012-05-10 Thomas Schwinge <thomas@schwinge.name>
19837
1792c087
TS
19838 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19839
80694780
TS
19840 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19841
6b645f0d
ST
198422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19843
80694780
TS
19844 Fix mlock in all cases except non-readable pages.
19845 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19846 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19847
6b645f0d
ST
19848 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19849 (__mkdir): When path is `/', just fail with EEXIST.
19850 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19851
e468f8a3
TS
198522012-05-10 Thomas Schwinge <thomas@schwinge.name>
19853
19854 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19855 <sys/uio.h> (for writev).
19856 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19857 and <sys/param.h> (for MIN).
19858
a4186cff
PT
198592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19860
19861 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19862 REQUESTED_TIME. Properly set the remaining time and return EINTR
19863 if interrupted.
19864
510bbf14
TS
198652012-05-10 Thomas Schwinge <thomas@schwinge.name>
19866
19867 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19868 Depend on against $(link-rpcuserlibs).
19869
5d5722e8
ST
198702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19871
a4186cff
PT
19872 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19873 (__libc_stack_end): Do not use attribute_relro.
19874 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19875 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19876 to libthread-provided value.
a4186cff
PT
19877 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19878 attribute_relro.
5d5722e8 19879
37233df9
TS
198802012-05-10 Thomas Schwinge <thomas@schwinge.name>
19881
be971a2b
TS
19882 [BZ #3748]
19883 * bits/libc-lock.h (__libc_once_get): New macro.
19884 * sysdeps/mach/bits/libc-lock.h: Likewise.
19885 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19886 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19887 instead of using implementation details.
19888
37233df9
TS
19889 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19890 * libio/freopen.c: Likewise.
19891 * libio/freopen64.c: Likewise.
19892 * misc/syslog.c: Likewise.
19893 * nscd/connections.c: Likewise.
19894 * nscd/netgroupcache.c: Likewise.
19895 * sysdeps/posix/getcwd.c: Likewise.
19896
38de94a5
RM
198972012-05-10 Roland McGrath <roland@hack.frob.com>
19898
19899 * math/w_ilogbf.c: Add #include <limits.h>.
19900
67530489
ST
199012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19902
a4186cff 19903 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19904 path instead of returning without unlocking.
19905
67530489
ST
19906 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19907 immediate-write ioctls.
19908 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19909
5aa3a74a
TS
199102012-05-10 Thomas Schwinge <thomas@schwinge.name>
19911
18bad2ae
TS
19912 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19913 __builtin_frame_address instead of making assumptions about the
19914 location of the return address relative to DATA. Force early load of
19915 the return address.
19916 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19917 __builtin_frame_address.
19918
5aa3a74a
TS
19919 dup3 for GNU Hurd.
19920 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19921 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19922 implement dup3 and do some further code clean-ups.
19923 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19924 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19925
ecd0de9a
ST
199262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19927
cd9fa985
ST
19928 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19929
a4186cff
PT
19930 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19931 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19932 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19933 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19934 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19935 d->port.lock.
802ca5a5 19936
a4186cff
PT
19937 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19938 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19939 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19940
bcf55240
TS
199412012-05-10 Thomas Schwinge <thomas@schwinge.name>
19942
6960eb42
TS
19943 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19944 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19945 definitions.
19946
eb43375f
TS
19947 accept4 for GNU Hurd.
19948 * include/sys/socket.h (__libc_accept4): New prototype.
19949 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19950 to implement __libc_accept4.
19951 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19952 __libc_accept4.
19953 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19954
bcf55240
TS
19955 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19956 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19957 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19958 signal-defines.sym.
19959
6178c55b
ST
199602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19961
a4186cff 19962 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19963
6f080c2f
TS
199642012-05-10 Thomas Schwinge <thomas@schwinge.name>
19965
19966 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19967 assertion on O_CLOEXEC flag.
19968 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19969 * hurd/intern-fd.c: Likewise.
19970 * hurd/port2fd.c: Likewise.
19971
bcfe3a54
ST
199722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19973
19974 [BZ #3906]
19975 * bits/in.h (IPV6_PKTINFO): Define new macro.
19976 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19977
89c9aa49
AZ
199782012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19979
19980 [BZ #13954]
19981 [BZ #13955]
19982 [BZ #13956]
19983 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19984 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19985 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19986 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19987 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19988 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19989 * math/libm-test.inc (logb_test) : Additional logb tests.
19990
021db4be
AJ
199912012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19992 Andreas Jaeger <aj@suse.de>
19993
19994 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19995 * configure: Regenerated.
19996 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19997 * config.make.in (link-obsolete-rpc): New substituted variable.
19998 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19999 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20000 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20001 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20002 so that libc.a contains the symbols.
20003 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20004 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20005 * sunrpc/auth_none.c: Likewise.
20006 * sunrpc/auth_unix.c: Likewise.
20007 * sunrpc/authdes_prot.c: Likewise.
20008 * sunrpc/authuxprot.c: Likewise.
20009 * sunrpc/clnt_gen.c: Likewise.
20010 * sunrpc/clnt_perr.c: Likewise.
20011 * sunrpc/clnt_raw.c: Likewise.
20012 * sunrpc/clnt_simp.c: Likewise.
20013 * sunrpc/clnt_tcp.c: Likewise.
20014 * sunrpc/clnt_udp.c: Likewise.
20015 * sunrpc/clnt_unix.c: Likewise.
20016 * sunrpc/des_crypt.c: Likewise.
20017 * sunrpc/des_soft.c: Likewise.
20018 * sunrpc/get_myaddr.c: Likewise.
20019 * sunrpc/key_call.c: Likewise.
20020 * sunrpc/key_prot.c: Likewise.
20021 * sunrpc/netname.c: Likewise.
20022 * sunrpc/pm_getmaps.c: Likewise.
20023 * sunrpc/pm_getport.c: Likewise.
20024 * sunrpc/pmap_clnt.c: Likewise.
20025 * sunrpc/pmap_prot.c: Likewise.
20026 * sunrpc/pmap_prot2.c: Likewise.
20027 * sunrpc/pmap_rmt.c: Likewise.
20028 * sunrpc/publickey.c: Likewise.
20029 * sunrpc/rpc_cmsg.c: Likewise.
20030 * sunrpc/rpc_common.c: Likewise.
20031 * sunrpc/rpc_dtable.c: Likewise.
20032 * sunrpc/rpc_prot.c: Likewise.
20033 * sunrpc/rpc_thread.c: Likewise.
20034 * sunrpc/rtime.c: Likewise.
20035 * sunrpc/svc.c: Likewise.
20036 * sunrpc/svc_auth.c: Likewise.
20037 * sunrpc/svc_raw.c: Likewise.
20038 * sunrpc/svc_run.c: Likewise.
20039 * sunrpc/svc_tcp.c: Likewise.
20040 * sunrpc/svc_udp.c: Likewise.
20041 * sunrpc/svc_unix.c: Likewise.
20042 * sunrpc/svcauth_des.c: Likewise.
20043 * sunrpc/xcrypt.c: Likewise.
20044 * sunrpc/xdr.c: Likewise.
20045 * sunrpc/xdr_array.c: Likewise.
20046 * sunrpc/xdr_float.c: Likewise.
20047 * sunrpc/xdr_intXX_t.c: Likewise.
20048 * sunrpc/xdr_mem.c: Likewise.
20049 * sunrpc/xdr_rec.c: Likewise.
20050 * sunrpc/xdr_ref.c: Likewise.
20051 * sunrpc/xdr_sizeof.c: Likewise.
20052 * sunrpc/xdr_stdio.c: Likewise.
20053
b5c086a2
RM
200542012-05-10 Roland McGrath <roland@hack.frob.com>
20055
20056 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20057 change. Update copyright years.
20058
6d74dd09
JM
200592012-05-10 Joseph Myers <joseph@codesourcery.com>
20060
20061 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20062
28e72501
MK
200632012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20064 Joseph Myers <joseph@codesourcery.com>
20065 Paul Pluzhnikov <ppluzhnikov@google.com>
20066
20067 [BZ #14012]
20068 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20069 requiring rpcgen.
20070 [cross-compiling] (extra-libs): Likewise.
20071 [cross-compiling] (extra-libs-others): Likewise.
20072 [cross-compiling] (librpcsvc-routines): Likewise.
20073 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20074 [cross-compiling] (omit-deps): Likewise.
20075 (sunrpc-CPPFLAGS): New variable.
20076 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20077 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20078 (cross-rpcgen-objs): New variable.
20079 (extra-objs): Append $(cross-rpcgen-objs).
20080 ($(cross-rpcgen-objs)): New rule.
20081 ($(objpfx)cross-rpcgen): Likewise.
20082 (rpcgen-cmd): Define to use $(built-program-file). Expand
20083 comment.
20084 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20085 ($(objpfx)x%.stmp): Likewise.
20086 * sunrpc/proto.h [IS_IN_build] (_): Define.
20087 [IS_IN_build] (_libc_intl_domainname): Likewise.
20088
c8c59454
L
200892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20090
20091 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20092 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20093 and R_X86_64_TPOFF64.
20094
6f27cd16
JM
200952012-05-10 Joseph Myers <joseph@codesourcery.com>
20096
20097 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20098 sysdeps/unix/sysv/syscalls.list.
20099 (stime): Likewise.
20100 (utime): Likewise.
20101 * sysdeps/unix/sysv/syscalls.list: Remove file.
20102
02467e1c
PE
201032012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20104
20105 [BZ #3440]
20106 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20107 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20108 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20109 (__LC_IDENTIFICATION): Make these macros useful in #if
20110 expressions, as required by C99.
20111
da392631
AS
201122012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20113
20114 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20115 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20116 after this.
20117
8115f29b
L
201182012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20119
20120 * stdlib/longlong.h: Updated from GCC.
20121
bdd74070
AJ
201222012-05-09 Andreas Jaeger <aj@suse.de>
20123
edfe0dbe
AJ
20124 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20125 default is first entry.
20126 (run_mode): Set type.
20127 (main): Remove informal message about syslog.
20128 (options): Fix typo.
20129
bcfe3a54
ST
20130 [BZ #14053]
20131 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 20132 to asm.
bcfe3a54
ST
20133 (lrint): Likewise.
20134 (llrintf): Likewise.
20135 (llrint): Likewise.
20136 (rint): Likewise.
20137 (rintf): Likewise.
20138 (nearbyint): Likewise.
20139 (nearbyintf): Likewise.
bdd74070 20140
91d8d69e
AJ
201412012-05-09 Andreas Jaeger <aj@suse.de>
20142 Pedro Alves <palves@redhat.com>
20143
20144 * nscd/nscd.c (run_mode): Use enum.
20145 (main): Cleanup coding style issue.
20146
bb90b80b
AJ
201472012-05-09 Alexandre Oliva <aoliva@redhat.com>
20148 Andreas Jaeger <aj@suse.de>
20149
bcfe3a54
ST
20150 * nscd/nscd.c (go_background): Replaced with...
20151 (run_mode): ... this.
bb90b80b 20152 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
20153 (options): Add -F --foreground.
20154 (main): Implement it.
20155 (parse_opt): Parse it.
bb90b80b 20156
1a4b75a1
AJ
201572012-05-09 Andreas Jaeger <aj@suse.de>
20158
20159 [BZ #14083]
20160 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20161 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20162 -Wconversion warning.
20163 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20164 Likewise.
20165
b1cc2472
JM
201662012-05-09 Joseph Myers <joseph@codesourcery.com>
20167
20168 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20169 == 0.
20170 (LC_ALL): Use macro-int-constant.
20171 (LC_COLLATE): Likewise.
20172 (LC_CTYPE): Likewise.
20173 (LC_MESSAGES): Likewise.
20174 (LC_MONETARY): Likewise.
20175 (LC_NUMERIC): Likewise.
20176 (LC_TIME): Likewise.
20177 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20178 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20179 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20180 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20181 Specify type.
20182 [C99-based standards] (float_t): Expect type.
20183 [C99-based standards] (double_t): Expect type.
20184 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20185 type.
20186 [C99-based standards] (HUGE_VALL): Likewise.
20187 [C99-based standards] (INFINITY): Likewise.
20188 [C99-based standards] (NAN): Likewise.
20189 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20190 [C99-based standards] (FP_NAN): Likewise.
20191 [C99-based standards] (FP_NORMAL): Likewise.
20192 [C99-based standards] (FP_SUBNORMAL): Likewise.
20193 [C99-based standards] (FP_ZERO): Likewise.
20194 [C99-based standards] (FP_FAST_FMA): Use
20195 optional-macro-int-constant. Specify type. Require == 1.
20196 [C99-based standards] (FP_FAST_FMAF): Likewise.
20197 [C99-based standards] (FP_FAST_FMAL): Likewise.
20198 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20199 [C99-based standards] (FP_ILOGBNAN): Likewise.
20200 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20201 Specify type.
20202 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20203 [C99-based standards] (math_errhandling): Specify type.
20204 [ISO99 || ISO11] (signgam): Do not allow.
20205 [non-C99-based standards] (copysignf): Do not allow.
20206 [non-C99-based standards] (exp2f): Likewise.
20207 [non-C99-based standards] (log2f): Likewise.
20208 [non-C99-based standards] (modff): Allow.
20209 [non-C99-based standards] (erff): Do not allow.
20210 [non-C99-based standards] (erfcf): Likewise.
20211 [non-C99-based standards] (gammaf): Likewise.
20212 [non-C99-based standards] (hypotf): Likewise.
20213 [non-C99-based standards] (j0f): Likewise.
20214 [non-C99-based standards] (j1f): Likewise.
20215 [non-C99-based standards] (jnf): Likewise.
20216 [non-C99-based standards] (lgammaf): Likewise.
20217 [non-C99-based standards] (tgammaf): Likewise.
20218 [non-C99-based standards] (y0f): Likewise.
20219 [non-C99-based standards] (y1f): Likewise.
20220 [non-C99-based standards] (ynf): Likewise.
20221 [non-C99-based standards] (isnanf): Likewise.
20222 [non-C99-based standards] (acoshf): Likewise.
20223 [non-C99-based standards] (asinhf): Likewise.
20224 [non-C99-based standards] (atanhf): Likewise.
20225 [non-C99-based standards] (cbrtf): Likewise.
20226 [non-C99-based standards] (expm1f): Likewise.
20227 [non-C99-based standards] (ilogbf): Likewise.
20228 [non-C99-based standards] (log1pf): Likewise.
20229 [non-C99-based standards] (logbf): Likewise.
20230 [non-C99-based standards] (nextafterf): Likewise.
20231 [non-C99-based standards] (remainderf): Likewise.
20232 [non-C99-based standards] (rintf): Likewise.
20233 [non-C99-based standards] (scalbf): Likewise.
20234 [non-C99-based standards] (copysignl): Likewise.
20235 [non-C99-based standards] (exp2l): Likewise.
20236 [non-C99-based standards] (log2l): Likewise.
20237 [non-C99-based standards] (modfl): Allow.
20238 [non-C99-based standards] (erfl): Do not allow.
20239 [non-C99-based standards] (erfcl): Likewise.
20240 [non-C99-based standards] (gammal): Likewise.
20241 [non-C99-based standards] (hypotl): Likewise.
20242 [non-C99-based standards] (j0l): Likewise.
20243 [non-C99-based standards] (j1l): Likewise.
20244 [non-C99-based standards] (jnl): Likewise.
20245 [non-C99-based standards] (lgammal): Likewise.
20246 [non-C99-based standards] (tgammal): Likewise.
20247 [non-C99-based standards] (y0l): Likewise.
20248 [non-C99-based standards] (y1l): Likewise.
20249 [non-C99-based standards] (ynl): Likewise.
20250 [non-C99-based standards] (isnanl): Likewise.
20251 [non-C99-based standards] (acoshl): Likewise.
20252 [non-C99-based standards] (asinhl): Likewise.
20253 [non-C99-based standards] (atanhl): Likewise.
20254 [non-C99-based standards] (cbrtl): Likewise.
20255 [non-C99-based standards] (expm1l): Likewise.
20256 [non-C99-based standards] (ilogbl): Likewise.
20257 [non-C99-based standards] (log1pl): Likewise.
20258 [non-C99-based standards] (logbl): Likewise.
20259 [non-C99-based standards] (nextafterl): Likewise.
20260 [non-C99-based standards] (remainderl): Likewise.
20261 [non-C99-based standards] (rintl): Likewise.
20262 [non-C99-based standards] (scalbl): Likewise.
20263 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20264 [non-C99-based standards] (FP_*): Do not allow.
20265 [C99-based standards] (FP_*): Change to
20266 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20267 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20268 allow.
20269 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20270 (SIG_ERR): Likewise.
20271 [X/Open-based standards] (SIG_HOLD): Likewise.
20272 (SIG_IGN): Likewise.
20273 (SIGABRT): Use macro-int-constant. Specify type. Require
20274 positive value.
20275 (SIGFPE): Likewise.
20276 (SIGILL): Likewise.
20277 (SIGINT): Likewise.
20278 (SIGSEGV): Likewise.
20279 (SIGTER): Likewise.
20280 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20281 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20282 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20283 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20284 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20285 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20286 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20287 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20288 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20289 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20290 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20291 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20292 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20293 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20294 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20295 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20296 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20297 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20298 [X/Open-based standards] (SIGTRAP): Likewise.
20299 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20300 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20301 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20302 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20303 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20304 allow.
20305
b9f1922d
IW
203062012-05-08 Ian Wienand <ianw@vmware.com>
20307
20308 [BZ #14080]
20309 * time/tzset.c (__tzset_parse_tz): Update default rules for
20310 daylight time changes in the Energy Policy Act of 2005.
20311
1db86e88
AJ
203122012-05-09 Andreas Jaeger <aj@suse.de>
20313
20314 [BZ #13983]
20315 * elf/ldconfig.c (parse_conf): Change string to make clear that
20316 ldconfig only issued a warning if ld.so.conf does not exist.
20317
dee4a4e3
DM
203182012-05-08 David S. Miller <davem@davemloft.net>
20319
ee0db190
DM
20320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20321 movxtod instead of popping the value on the stack.
20322
dee4a4e3
DM
20323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20324
6a43ec98
CD
203252012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20326
20327 * config.h.in: Add HAVE_ARM_PCS_VFP.
20328
05c2c961
RMG
203292012-05-08 Roland Mc Grath <roland@hack.frob.com>
20330
bcfe3a54
ST
20331 [BZ #13979]
20332 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20333 checking but the checks are disabled for any reason.
05c2c961 20334
4b30f61a
L
203352012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20336
20337 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20338 and ELF64_R_TYPE with ELFW(R_TYPE).
20339
eee2bc67
JM
203402012-05-08 Joseph Myers <joseph@codesourcery.com>
20341
7ea5391a
JM
20342 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20343 (ulimit): Likewise.
20344
eee2bc67
JM
20345 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20346 (settimeofday): Likewise.
20347
abb66a67
MF
203482012-05-08 Mike Frysinger <vapier@gentoo.org>
20349
20350 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20351 a struct th_u2 inside the union, and move tu_block/tu_code into
20352 a new th_u3 union of tu_block/tu_code inside of that. Move
20353 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20354 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20355 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20356 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20357 (th_stuff): Change to th_u1.tu_stuff.
20358 (th_data): Define.
20359 (th_msg): Change to th_u1.th_u2.tu_data.
20360
7f18b530
DM
203612012-05-07 David S. Miller <davem@davemloft.net>
20362
05760585
DM
20363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20364
7f18b530
DM
20365 [BZ #14074]
20366 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20367 (SETUP_PIC_REG): Use it.
20368 (SETUP_PIC_REG_LEAF): Use it.
20369
495fd99f
JM
203702012-05-07 Joseph Myers <joseph@codesourcery.com>
20371
20372 [BZ #13885]
20373 [BZ #13923]
20374 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20375 USE_AS_EXPM1L.
20376 (EXPL_FINITE): Likewise.
20377 (FLDLOG): Likewise.
20378 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20379 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20380 e_expl.S.
20381 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20382 USE_AS_EXPM1L.
20383 (EXPL_FINITE): Likewise.
20384 (FLDLOG): Likewise.
20385 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20386 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20387 e_expl.S.
20388 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20389 test of -max_value argument for long double.
20390 * sysdeps/i386/fpu/libm-test-ulps: Update.
20391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20392
6693d694
DM
203932012-05-06 David S. Miller <davem@davemloft.net>
20394
20395 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20396 quad soft-float symbols whose references which are compiler
20397 generated.
20398 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20399
6c23e11c
JM
204002012-05-06 Joseph Myers <joseph@codesourcery.com>
20401
d8b82cad
JM
20402 [BZ #13884]
20403 [BZ #13914]
20404 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20405 USE_AS_EXP10L.
20406 (EXPL_FINITE): Likewise.
20407 (FLDLOG): Likewise.
20408 (c0): Likewise.
20409 (c1): Likewise.
20410 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20411 Adjust comments for base varying.
20412 (__expl_finite): Change alias to EXPL_FINITE.
20413 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20414 e_expl.S.
20415 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20416 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20417 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20418 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20419 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20420 USE_AS_EXP10L.
20421 (EXPL_FINITE): Likewise.
20422 (FLDLOG): Likewise.
20423 (c0): Likewise.
20424 (c1): Likewise.
20425 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20426 Adjust comments for base varying.
20427 (__expl_finite): Change alias to EXPL_FINITE.
20428 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20429 tests for bugs.
20430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20431
6c23e11c
JM
20432 [BZ #14064]
20433 * math/libm-test.inc (check_float_internal): Correct ulp
20434 calculation for subnormal expected results.
20435
29ba805c
AJ
204362012-05-06 Andreas Jaeger <aj@suse.de>
20437
20438 * Makeconfig (+math-flags): New, set to -frounding-math.
20439 (+cflags): Add +math-flags so that all of glibc gets compiled with
20440 it.
20441
20442 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20443
7b17aeda
JM
204442012-05-05 Joseph Myers <joseph@codesourcery.com>
20445
5779f134
JM
20446 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20447 Disable one test.
20448
41498f4d
JM
20449 [BZ #13787]
20450 [BZ #13922]
20451 [BZ #14036]
20452 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20453 (__ieee754_expl): Allow for and saturate large arguments.
20454 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20455 (u_threshold): Likewise.
20456 (__exp): Call __ieee754_exp before checking for overflow and
20457 underflow.
20458 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20459 (u_threshold): Likewise.
20460 (__expf): Call __ieee754_expf before checking for overflow and
20461 underflow.
20462 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20463 (u_threshold): Likewise.
20464 (__expl): Call __ieee754_expl before checking for overflow and
20465 underflow.
20466 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20467 (__ieee754_expl): Allow for and saturate large arguments.
20468 * math/libm-test.inc (exp_test): Add another test. Do not allow
20469 missing overflow exception on overflow.
20470 (expm1_test): Do not allow missing overflow exception on overflow.
20471
6698b8bf
JM
20472 * sysdeps/i386/fpu/e_expl.c: Move to ...
20473 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20474 rather than using inline asm.
20475 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20476 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20477 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20478
7b17aeda
JM
20479 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20480 (nice): Likewise.
20481 (poll): Likewise.
20482 (signal): Likewise.
20483 (time): Likewise.
20484 (times): Likewise.
20485
f7c85819
JM
204862012-05-04 Joseph Myers <joseph@codesourcery.com>
20487
20488 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20489 sysdeps/unix/common/syscalls.list.
20490 (fchmod): Likewise.
20491 (fchown): Likewise.
20492 (ftruncate): Likewise.
20493 (getrusage): Likewise.
20494 (gettimeofday): Likewise.
20495 (setpgid): Likewise.
20496 (setregid): Likewise.
20497 (setreuid): Likewise.
20498 (sigaction): Likewise.
20499 (truncate): Likewise.
20500 (vhangup): Likewise.
20501 * sysdeps/unix/common/syscalls.list: Remove file.
20502 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20503 * sysdeps/unix/sysv/linux/Implies: Likewise.
20504
336270d0
L
205052012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20506
20507 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20509 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20510 Moved to ...
20511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20512 Here.
20513 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20514 to ...
20515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20516 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20517 to ...
20518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20519 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20520 to ...
20521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20522 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20523 to ...
20524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20525 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20526 to ...
20527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20528 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20529 to ...
20530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20531 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20532 to ...
20533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20534 Here.
20535 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20536 to ...
20537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20538 Here.
20539 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20540 to ...
20541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20542 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20543 Moved to ...
20544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20545 Here.
20546 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20547 to ...
20548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20549
d128e450
JM
205502012-05-04 Joseph Myers <joseph@codesourcery.com>
20551
fa8ee516
JM
20552 * sysdeps/unix/common/bits/dirent.h: Remove file.
20553 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20554
d128e450
JM
20555 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20556 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20557 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20558 * sysdeps/unix/bsd/isatty.c: Likewise.
20559 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20560 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20561 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20562
ff8faaf0 205632012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20564
62881be4 20565 [BZ #13563]
31dc8730
AZ
20566 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20567 long double comparison inaccuracies.
20568 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20570
6fef930c
AS
205712012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20572
20573 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20574 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20575
8f203e6c
JM
205762012-05-04 Joseph Myers <joseph@codesourcery.com>
20577
20578 [BZ #14049]
20579 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20580 nonzero digits before rounding a hex value.
20581 * stdlib/tst-strtod.c (tests): Add another test.
20582
5197d9c2
AK
205832012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20584
20585 * sysdeps/s390/fpu/libm-test-ulps: Update.
20586
f0c1dedf
AJ
205872012-05-03 Andreas Jaeger <aj@suse.de>
20588
20589 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20590 does not get optimized out.
20591 (malloc_opt_barrier): New.
20592
a65ef2ae 205932012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20594 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20595
2b942cb7 20596 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20597 intermediate file deletion.
2b942cb7 20598 (generated): Add .symlist files.
a65ef2ae 20599
54b71e02
JM
206002012-05-03 Joseph Myers <joseph@codesourcery.com>
20601
20602 [BZ #13775]
20603 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20604 Redirect under this condition.
20605 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20606 [__USE_GNU] (__dprintf_chk): Not under this condition.
20607 [__USE_GNU] (__vdprintf_chk): Likewise.
20608 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20609 under this condition.
20610 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20611 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20612 [__USE_XOPEN2K8] (vdprintf): Likewise.
20613 [__USE_GNU] (__dprintf_chk): Not under this condition.
20614 [__USE_GNU] (__vdprintf_chk): Likewise.
20615 [__USE_GNU] (dprintf): Likewise.
20616 [__USE_GNU] (vdprintf): Likewise.
20617
d3dfcc41
RM
206182012-05-03 Roland McGrath <roland@hack.frob.com>
20619
20620 * elf/Makefile (common-generated): Set this instead of generated for
20621 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20622 $(all-built-dso)-derived lists.
20623
7ac30cc5
AJ
206242012-05-03 Andreas Jaeger <aj@suse.de>
20625
0c51e550
AJ
20626 * sysdeps/i386/fpu/libm-test-ulps: Update.
20627
7ac30cc5
AJ
20628 * FAQ: Removed.
20629 * FAQ.in: Likewise.
20630 * scripts/gen-FAQ.pl: Likewise.
20631 * manual/install.texi (Installation): Point to online location of
20632 FAQ.
20633 * Makefile (files-for-dist): Remove FAQ.
20634 (FAQ): Remove.
20635
d4c2917f
AM
206362012-05-02 Allan McRae <allan@archlinux.org>
20637
20638 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20639 (LDFLAGS-reldepmod5.so): Likewise.
20640 (LDFLAGS-reldep6mod1.so): Likewise.
20641 (LDFLAGS-reldep6mod4.so): Likewise.
20642 (LDFLAGS-reldep8mod3.so): Likewise.
20643 (LDFLAGS-unload4mod1.so): Likewise.
20644 (LDFLAGS-unload4mod2.so): Likewise.
20645 (LDFLAGS-tst-initorder): Likewise.
20646 (LDFLAGS-tst-initordera2.so): Likewise.
20647 (LDFLAGS-tst-initordera3.so): Likewise.
20648 (LDFLAGS-tst-initordera4.so): Likewise.
20649 (LDFLAGS-tst-initorderb2.so): Likewise.
20650 (LDFLAGS-noload): Likewise.
20651 (LDFLAGS-next): Likewise.
20652 (LDFLAGS-order2mod1.so): Likewise.
20653 (LDFLAGS-order2mod2.so): Likewise.
20654 (LDFLAGS-tst-initorder2): Likewise.
20655 (LDFLAGS-tst-initorder2a.so): Likewise.
20656 (LDFLAGS-tst-initorder2b.so): Likewise.
20657 (LDFLAGS-tst-initorder2c.so): Likewise.
20658 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20659
d77f993f
DM
206602012-05-02 David S. Miller <davem@davemloft.net>
20661
20662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20663
171a70b4
PP
206642012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20665
20666 [BZ #14055]
20667 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20668
0be196ad
AJ
206692012-05-02 Andreas Jaeger <aj@suse.de>
20670
20671 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20672 since we manipulate rounding mode.
20673 (CPPFLAGS-test-idouble.c): Likewise.
20674 (CPPFLAGS-test-ifloat.c): Likewise.
20675 (CFLAGS-test-ldouble.c): Likewise.
20676 (CFLAGS-test-double.c): Likewise.
20677 (CFLAGS-test-float.c): Likewise.
20678 (CFLAGS-test-misc.c): Likewise.
20679 (CFLAGS-test-test-fenv.c): Likewise.
20680
4f9d04aa
AZ
206812012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20682
2b942cb7
RM
20683 [BZ #2550]
20684 [BZ #2570]
20685 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20686 comparisons to determine direction to adjust input.
4f9d04aa 20687
82a79e7d
RM
206882012-05-01 Roland McGrath <roland@hack.frob.com>
20689
f5a01ca9
RM
20690 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20691 output to the target.
20692
90fe4186
RM
20693 * scripts/localplt.awk: New file.
20694 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20695 (check-localplt-CFLAGS): Variable removed.
20696 ($(all-built-dso:=.jmprel)): New static pattern rule.
20697 (generated): Add those targets.
20698 (localplt-built-dso): New variable.
20699 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20700
20701 * elf/check-localplt.c: File removed.
20702
82397ed6
RM
20703 * scripts/check-execstack.awk: New file.
20704 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20705 (check-execstack-CFLAGS): Variable removed.
20706 ($(objpfx)check-execstack.h): Target removed.
20707 ($(objpfx)execstack-default): New target.
20708 (generated): Add that instead of check-execstack.h.
20709 ($(all-built-dso:=.phdr)): New static pattern rule.
20710 (generated): Add those targets.
20711 * elf/check-execstack.c: File removed.
20712
82a79e7d
RM
20713 * scripts/check-textrel.awk: New file.
20714 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20715 (check-textrel-CFLAGS): Variable removed.
20716 (all-built-dso): Use := to define.o
20717 ($(all-built-dso:=.dyn)): New static pattern rule.
20718 (generated): Add those targets.
20719 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20720 * config.make.in (READELF): New substituted variable.
20721 * elf/check-textrel.c: File removed.
20722
62fde54f 207232012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20724
615605c9
JM
20725 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20726 allow.
20727 * conform/data/ctype.h-data [C99-based standards] (isblank):
20728 Expect function.
20729 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20730 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20731 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20732 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20733 Specify type. Require positive value.
20734 (EILSEQ): Likewise.
20735 (ERANGE): Likewise.
20736 [ISO || POSIX] (EILSEQ): Do not expect.
20737 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20738 Specify type. Require positive value.
20739 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20740 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20741 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20742 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20743 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20744 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20745 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20746 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20747 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20748 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20749 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20750 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20751 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20752 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20753 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20754 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20755 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20756 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20757 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20758 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20759 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20760 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20761 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20762 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20763 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20764 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20765 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20766 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20767 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20768 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20769 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20770 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20771 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20772 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20773 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20774 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20775 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20776 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20777 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20778 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20779 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20780 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20781 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20782 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20783 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20784 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20785 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20786 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20787 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20788 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20789 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20790 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20791 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20792 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20793 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20794 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20795 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20796 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20797 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20798 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20799 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20800 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20801 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20802 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20803 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20804 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20805 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20806 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20807 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20808 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20809 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20810 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20811 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20812 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20813 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20814 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20815 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20816 Require >= 2.
20817 (FLT_ROUNDS): Expect as macro, not constant.
20818 (FLT_MANT_DIG): Use macro-int-constant.
20819 (DBL_MANT_DIG): Likewise.
20820 (LDBL_MANT_DIG): Likewise.
20821 (FLT_DIG): Likewise.
20822 (DBL_DIG): Likewise.
20823 (LDBL_DIG): Likewise.
20824 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20825 (DBL_MIN_EXP): Likewise.
20826 (LDBL_MIN_EXP): Likewise.
20827 (FLT_MAX_EXP): Use macro-int-constant.
20828 (DBL_MAX_EXP): Likewise.
20829 (LDBL_MAX_EXP): Likewise.
20830 (FLT_MAX_10_EXP): Likewise.
20831 (DBL_MAX_10_EXP): Likewise.
20832 (LDBL_MAX_10_EXP): Likewise.
20833 (FLT_MAX): Use macro-constant.
20834 (DBL_MAX): Likewise.
20835 (LDBL_MAX): Likewise.
20836 (FLT_EPSILON): Use macro-constant. Give upper bound.
20837 (DBL_EPSILON): Likewise.
20838 (LDBL_EPSILON): Likewise.
20839 (FLT_MIN): Likewise.
20840 (DBL_MIN): Likewise.
20841 (LDBL_MIN): Likewise.
20842 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20843 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20844 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20845 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20846 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20847 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20848 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20849 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20850 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20851 [ISO11] (FLT_TRUE_MIN): Likewise.
20852 [ISO11] (LDBL_TRUE_MIN): Likewise.
20853 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20854 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20855 (SCHAR_MIN): Use macro-int-constant. Specify type.
20856 (SCHAR_MAX): Likewise.
20857 (UCHAR_MAX): Likewise.
20858 (CHAR_MIN): Likewise.
20859 (CHAR_MAX): Likewise.
20860 (MB_LEN_MAX): Use macro-int-constant.
20861 (SHRT_MIN): Use macro-int-constant. Specify type.
20862 (SHRT_MAX): Likewise.
20863 (USHRT_MAX): Likewise.
20864 (INT_MAX): Likewise.
20865 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20866 bound negative.
20867 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20868 bound with "U".
20869 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20870 bound with "L".
20871 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20872 bound negative. Suffix upper bound with "L".
20873 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20874 bound with "UL".
20875 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20876 Specify type.
20877 [C99-based standards] (LLONG_MAX): Likewise.
20878 [C99-based standards] (ULLONG_MAX): Likewise.
20879 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20880 == 0.
20881 [ISO11] (max_align_t): Require type.
20882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20883
c9140a62
JM
20884 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20885 from $CFLAGS, without defining away __attribute__ calls.
20886 (checknamespace): Use $CFLAGS_namespace.
20887
9af0bf29
JM
20888 * conform/conformtest.pl (@keywords): Only include C99 keywords
20889 for standards based on C99 or C11.
20890
343222a2
JM
20891 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20892 Disable tests.
20893 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20894 UNIX98]: Likewise.
20895
661f8cf0
JM
20896 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20897 usability of symbols in #if.
20898
ee74b9cb
JM
20899 * conform/conformtest.pl: If macro or constant types start
20900 "promoted:", expect the symbol to be of the following type
20901 promoted by the integer promotions.
62fde54f 20902
aafc49b3
JM
20903 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20904 in one place. Also handle "macro-constant".
20905
fefdf574
JM
20906 * conform/conformtest.pl: Only accept expected macro values with
20907 "==". Parse all "macro" lines in one place.
20908 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20909
f2d922fe
JM
20910 * conform/conformtest.pl: Handle braced types on "constant" lines
20911 instead of handling "typed-constant".
20912 * conform/data/signal.h-data: Use "constant" instead of
20913 "typed-constant".
20914
d22956c9
JM
20915 * conform/conformtest.pl: Handle "optional-" at start of lines in
20916 one place rather than duplicating several cases. Handle each
20917 format of "macro" line with initial "optional-".
20918
028e2e38
JM
20919 * conform/conformtest.pl: Only accept expected constant or
20920 optional-constant values with "==". Parse all "constant" lines in
20921 one place. Parse all "optional-constant" lines in one place.
20922 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20923 * conform/data/fmtmsg.h-data: Likewise.
20924 * conform/data/netinet/in.h-data: Likewise.
20925 * conform/data/tar.h-data: Likewise.
20926 * conform/data/limits.h-data: Use "==" form on "constant" and
20927 "optional-constant" lines.
20928
1b8f2850
JM
20929 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20930 Use -std=c99 for XOPEN2K.
20931 (@knownproblems): Remove.
20932 (newtoken): Don't check %isknown.
20933
a05a144b
JM
20934 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20935 Do not expect macro.
20936 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20937 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20938 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20939 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20940 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20941 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20942 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20943 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20944 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20945 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20946 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20947 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20948 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20949 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20950 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20951 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20952 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20953 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20954 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20955 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20956 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20957 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20958 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20959 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20960 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20961 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20962 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20963 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20964 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20965 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20966 [XPG3] (acosh): Likewise.
20967 [XPG3] (asinh): Likewise.
20968 [XPG3] (atanh): Likewise.
20969 [XPG3] (cbrt): Likewise.
20970 [XPG3] (expm1): Likewise.
20971 [XPG3] (ilogb): Likewise.
20972 [XPG3] (log1p): Likewise.
20973 [XPG3] (logb): Likewise.
20974 [XPG3] (nextafter): Likewise.
20975 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20976 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20977 [XPG3] (remainder): Likewise.
20978 [XPG3] (rint): Likewise.
20979 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20980 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20981 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20982 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20983 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20984 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20985 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20986 [UNIX98 || XOPEN2K] (scalb): Expect.
20987 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20988 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20989 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20990 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20991 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20992 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20993 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20994 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20995 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20996 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20997 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20998 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20999 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21000 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21001 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21002 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21003 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21004 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21005 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21006 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21007 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21008 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21009 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21010 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21011 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21012 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21013 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21014 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21015 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21016 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21017 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21018 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21019 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21020 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21021 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21022 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21023 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21024 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21025 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21026 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21027 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21028 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21029 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21030 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21031 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21032 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21033 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21034 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21035 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21036 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21037 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21038 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21039 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21040 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21041 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21042 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21043 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21044 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21045 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21046 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21047 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21048 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21049 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21050 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21051 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21052 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21053 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21054 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21055 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21056 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21057 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21058 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21059 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21060 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21061 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21062 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21063 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21064 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21065 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21066 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21067 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21068 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21069 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21070 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21071 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21072 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21073 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21074 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21075 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21076 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21077 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21078 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21079 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21080 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21081 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21082 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21083 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21084 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21085 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21086 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21087 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21088 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21089 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21090 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21091 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21092 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21093 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21094 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21095 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21096 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21097 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21098 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21099 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21100 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21101 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21102 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21103 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21104 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21105 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21106 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21107 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21108 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21109 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21110 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21111 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21112 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21113 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21114 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21115 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21116 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21117 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21118 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21119 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21120 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21121 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21122 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21123 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21124
73c5ebe3
JM
21125 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21126 _XOPEN_SOURCE_EXTENDED for XPG4.
21127
39c33b6c
JM
21128 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21129
62fde54f
JM
21130 * Makeconfig (localtime): Remove variable.
21131 (inst_localtime-file): Likewise.
21132
0741d64c
AS
211332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21134
21135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21136 Update.
21137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21138 Update.
21139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21140 Update.
21141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21142 Update.
21143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21144 Update.
21145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21146 Update.
21147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21148 Update.
21149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21150 Update.
21151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21152 Update.
21153
7cb029ee
JM
211542012-05-01 Joseph Myers <joseph@codesourcery.com>
21155
21156 [BZ #2550]
21157 [BZ #2570]
21158 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21159 comparisons to determine direction to adjust input.
21160 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21161 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21162 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21163 Likewise.
21164 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21165 Likewise.
21166 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21167 Likewise.
21168 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21169 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21170 Likewise.
21171 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21172 Likewise.
21173 * math/libm-test.inc (nexttoward_test): Add more tests.
21174
412bd966
AS
211752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21176
21177 [BZ #14040]
21178 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21179 in version GLIBC_2.1, not GLIBC_2.0.
21180 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21181 Likewise.
21182
9568c0c2
JM
211832012-04-30 Joseph Myers <joseph@codesourcery.com>
21184
adfbc8ac
JM
21185 [BZ #13942]
21186 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21187 (1 - x) * (1 + x).
21188 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21189 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21190 * math/libm-test.inc (acos_test): Add more tests.
21191 (asin_test): Likewise.
21192 * sysdeps/i386/fpu/libm-test-ulps: Update.
21193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21194
5ba3cc69
JM
21195 [BZ #14034]
21196 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21197 of square root.
21198 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21199 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21200 * math/libm-test.inc (acos_test_tonearest): New function.
21201 (acos_test_towardzero): Likewise.
21202 (acos_test_downward): Likewise.
21203 (acos_test_upward): Likewise.
21204 (asin_test_tonearest): Likewise.
21205 (asin_test_towardzero): Likewise.
21206 (asin_test_downward): Likewise.
21207 (asin_test_upward): Likewise.
21208 (main): Call the new functions.
21209 * sysdeps/i386/fpu/libm-test-ulps: Update.
21210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21211
9568c0c2
JM
21212 [BZ #13884]
21213 [BZ #13924]
21214 * math/e_exp10.c: Include <float.h>.
21215 (__ieee754_exp10): Handle underflow here rather than multiplying
21216 large negative argument by M_LN10.
21217 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21218 of __ieee754_expf.
21219 * math/e_exp10l.c: Include <float.h>.
21220 (__ieee754_exp10l): Handle underflow here rather than multiplying
21221 large negative argument by M_LN10l.
21222 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21223 spurious overflow exception on underflow.
21224
5ac3ea17
MP
212252012-04-29 Marek Polacek <polacek@redhat.com>
21226
21227 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21228 (__fortify_function): New macro.
21229 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21230 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21231 __extern_always_inline.
21232 * libio/bits/stdio2.h: Likewise.
21233 * libio/bits/stdio.h: Likewise.
21234 * string/string.h: Likewise.
21235 * string/bits/string3.h: Likewise.
21236 * include/stdio.h: Likewise.
21237 * stdlib/bits/stdlib.h: Likewise.
21238 * stdlib/stdlib.h: Likewise.
21239 * rt/bits/mqueue2.h: Likewise.
21240 * rt/mqueue.h: Likewise.
21241 * posix/bits/unistd.h: Likewise.
21242 * posix/unistd.h: Likewise.
21243 * io/bits/poll2.h: Likewise.
21244 * io/bits/fcntl2.h: Likewise.
21245 * io/fcntl.h: Likewise.
21246 * io/sys/poll.h: Likewise.
21247 * misc/bits/syslog.h: Likewise.
21248 * misc/bits/syslog-ldbl.h: Likewise.
21249 * misc/sys/syslog.h: Likewise.
21250 * socket/bits/socket2.h: Likewise.
21251 * socket/sys/socket.h: Likewise.
21252 * debug/tst-chk1.c: Likewise.
21253 * wcsmbs/bits/wchar2.h: Likewise.
21254 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21255 * wcsmbs/wchar.h: Likewise.
21256
ecf0ebfb
AJ
212572012-04-29 Andreas Jaeger <aj@suse.de>
21258
21259 * Makerules (tests): Remove enable-check-abi protection.
21260 (check-abi-warn): Remove.
21261 (check-abi-%): Remove check-abi-warn usage.
21262
21263 * configure.in: Remove check-abi configure option.
21264 * configure: Regenerated.
21265 * config.make.in (enable-check-abi): Remove.
21266
6d5c57fa
AS
212672012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21268
24c5d07e 21269 [BZ #14033]
ded5180a
AS
21270 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21271 double functions to double *_finite functions.
21272
7e0d315d
AS
21273 [BZ #13941]
21274 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21275 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21276 LDBL_MIN_EXP.
21277 * stdio-common/Makefile (tests): Add tst-sprintf3.
21278 * stdio-common/tst-sprintf3.c: New file.
21279
6d5c57fa
AS
21280 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21281 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21282
0749ff8b
JM
212832012-04-28 Joseph Myers <joseph@codesourcery.com>
21284
21285 * conform/conformtest.pl: Remove duplicate typed-constant
21286 handling.
21287
8dbd5d7b
DM
212882012-04-28 David S. Miller <davem@davemloft.net>
21289
21290 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21291 (check-abi-%): Remove AWK script prerequisite and explicit
21292 abilist directory.
21293 (check-abi): Rewrite to just diff the symlist with the abilist.
21294 (config-tls, config-abi-config): Delete, no longer used.
21295 (update-abi-%): Remove AWK script and explicit abilist directory.
21296 (update-abi): Rewrite to simply compare and conditionally copy the
21297 symlist and the sysdep abilist file. Remove update-abi-config
21298 checks.
21299 * abilist/ld.abilist: Remove.
21300 * abilist/libBrokenLocale.abilist: Remove.
21301 * abilist/libanl.abilist: Remove.
21302 * abilist/libcrypt.abilist: Remove.
21303 * abilist/libdl.abilist: Remove.
21304 * abilist/librt.abilist: Remove.
21305 * abilist/libthread_db.abilist: Remove.
21306 * abilist/libutil.abilist: Remove.
21307 * scripts/extract-abilist.awk: Remove.
21308 * scripts/merge-abilist.awk: Remove.
21309 * sysdeps/generic/libcidn.abilist: New file.
21310 * sysdeps/generic/libnss_compat.abilist: New file.
21311 * sysdeps/generic/libnss_db.abilist: New file.
21312 * sysdeps/generic/libnss_dns.abilist: New file.
21313 * sysdeps/generic/libnss_files.abilist: New file.
21314 * sysdeps/generic/libnss_hesiod.abilist: New file.
21315 * sysdeps/generic/libnss_nis.abilist: New file.
21316 * sysdeps/generic/libnss_nisplus.abilist: New file.
21317 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21318 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21319 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21320 file.
21321 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21322 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21323 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21324 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21325 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21326 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21327 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21328 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21329 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21330 file.
21331 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21332 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21333 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21334 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21335 file.
21336 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21337 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21338 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21339 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21340 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21341 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21342 file.
21343 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21344 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21345 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21346 file.
21347 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21349 New file.
21350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21351 New file.
21352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21353 New file.
21354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21355 New file.
21356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21357 New file.
21358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21359 New file.
21360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21361 New file.
21362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21363 New file.
21364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21365 New file.
21366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21367 New file.
21368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21369 New file.
21370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21371 New file.
21372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21373 New file.
21374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21375 file.
21376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21377 New file.
21378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21379 New file.
21380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21381 file.
21382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21383 New file.
21384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21385 New file.
21386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21387 file.
21388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21389 New file.
21390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21391 New file.
21392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21393 New file.
21394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21395 New file.
21396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21397 New file.
21398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21399 New file.
21400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21402 file.
21403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21404 New file.
21405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21406 file.
21407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21408 file.
21409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21410 file.
21411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21412 file.
21413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21414 file.
21415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21416 New file.
21417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21418 file.
21419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21420 file.
21421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21422 New file.
21423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21424 file.
21425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21427 file.
21428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21429 New file.
21430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21431 file.
21432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21433 file.
21434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21435 file.
21436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21437 file.
21438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21439 file.
21440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21441 New file.
21442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21443 file.
21444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21445 file.
21446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21447 New file.
21448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21449 file.
21450 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21451 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21452 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21453 file.
21454 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21455 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21456 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21457 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21458 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21459 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21460 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21461 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21462 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21463 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21466 file.
21467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21468 New file.
21469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21470 file.
21471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21472 file.
21473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21474 file.
21475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21476 file.
21477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21478 file.
21479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21480 New file.
21481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21482 New file.
21483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21484 file.
21485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21486 New file.
21487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21488 file.
21489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21491 file.
21492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21493 New file.
21494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21495 file.
21496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21497 file.
21498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21499 file.
21500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21501 file.
21502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21503 file.
21504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21505 New file.
21506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21507 New file.
21508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21509 file.
21510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21511 New file.
21512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21513 file.
21514
41d73a1b
JM
215152012-04-28 Joseph Myers <joseph@codesourcery.com>
21516
21517 * conform/conformtest.pl: Fix typo in handling typed-constant from
21518 allow-header.
21519
28aeeda4
JM
215202012-04-27 Joseph Myers <joseph@codesourcery.com>
21521
adae8f5e
JM
21522 * README: Cut down references to pre-2.6 Linux kernels and
21523 Linuxthreads. Update lists of configurations in libc and ports
21524 and sort alphabetically. Say "or newer" with Linux kernel version
21525 requirements.
21526
28aeeda4
JM
21527 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21528
a462cb63
RA
215292012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21530
21531 [BZ #887]
21532 * math/libm-test.inc (logb_test_downward): New test to expose
21533 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21534 rounding mode.
21535
6ad3493e
JM
215362012-04-27 Joseph Myers <joseph@codesourcery.com>
21537
21538 [BZ #14027]
21539 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21540 to be done.
21541 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21542 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21543
2ce4f015
JM
215442012-04-26 Joseph Myers <joseph@codesourcery.com>
21545
5aeb141a
JM
21546 * sysdeps/unix/i386/brk.S: Remove file.
21547 * sysdeps/unix/i386/dl-brk.S: Likewise.
21548 * sysdeps/unix/i386/pipe.S: Likewise.
21549 * sysdeps/unix/i386/sigreturn.S: Likewise.
21550 * sysdeps/unix/i386/syscall.S: Likewise.
21551 * sysdeps/unix/i386/vfork.S: Likewise.
21552 * sysdeps/unix/i386/wait.S: Likewise.
21553
7143acae
JM
21554 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21555 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21556
2ce4f015
JM
21557 * configure.in (arm*-none*): Do not allow without
21558 --enable-hacker-mode.
21559 (netbsd*): Remove case setting base_os.
21560 (386bsd*): Likewise.
21561 (freebsd*): Likewise.
21562 (bsdi*): Likewise.
21563 (osf*): Likewise.
21564 (sunos*): Likewise.
21565 (ultrix*): Likewise.
21566 (newsos*): Likewise.
21567 (dynix*): Likewise.
21568 (*bsd*): Likewise.
21569 (sysv*): Likewise.
21570 (isc*): Likewise.
21571 (esix*): Likewise.
21572 (sco*): Likewise.
21573 (minix*): Likewise.
21574 (irix4*): Likewise.
21575 (irix6*): Likewise.
21576 (solaris[2-9]*): Likewise.
21577 (none): Likewise.
21578 * configure: Regenerated.
21579
0ac229c8
AZ
215802012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21581
21582 [BZ #11521]
21583 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21584 overflow or cancellation in calculating denominator.
21585 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21586 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21587 down expression to avoid unexpected rounding in newer GCCs.
21588 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21589
33f244f4
DM
215902012-04-26 David S. Miller <davem@davemloft.net>
21591
21592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21593 long-double compat symbols.
21594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21607
cfa1f3e8
DM
216082012-04-25 David S. Miller <davem@davemloft.net>
21609
21610 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21611 HWCAP_* values only after the memory barriers have been defined.
21612 (atomic_full_barrier): Define.
21613 (atomic_read_barrier): Define.
21614 (atomic_write_barrier): Define.
21615
6e236b92
SP
216162012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21617
21618 * shlib-versions: Add libgcc_s version information.
21619 * sysdeps/generic/libgcc_s.h: Remove.
21620 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21621 libgcc_s.h.
21622 * sysdeps/gnu/unwind-resume.c: Likewise.
21623 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21624
aab39a09
DM
216252012-04-25 David S. Miller <davem@davemloft.net>
21626
21627 * sysdeps/unix/sparc/brk.S: Delete.
21628 * sysdeps/unix/sparc/dl-brk.S: Delete.
21629 * sysdeps/unix/sparc/pipe.S: Delete.
21630 * sysdeps/unix/sparc/sysdep.S: Delete.
21631 * sysdeps/unix/sparc/sysdep.h: Delete.
21632 * sysdeps/unix/sparc/vfork.S: Delete.
21633 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21634 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21635 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21636 ret_ERRVAL, r0, r1, MOVE): Define.
21637 (JUMPTARGET): Remove.
21638 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21639 sysdeps/unix/sparc/sysdep.h
21640 (ENTRY, END): Remove.
21641 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21642
a3cc4f48
JM
216432012-04-25 Joseph Myers <joseph@codesourcery.com>
21644
2ed8cda2
JM
21645 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21646 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21647 -DIS_IN_build.
21648
35d76d59
JM
21649 * timezone/README: Update upstream location and email address for
21650 tzcode and tzdata.
21651 * timezone/zdump.c: Update from tzcode 2012b.
21652 * timezone/zic.c: Likewise.
21653
a3cc4f48
JM
21654 * configure.in (libc_cv_as_needed): Remove test.
21655 * configure: Regenerated.
21656 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21657 conditional definition.
21658 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21659 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21660 * config.make.in (have-as-needed): Remove variable.
21661
ceab42c3
SP
216622012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21663 Paul Pluzhnikov <ppluzhnikov@google.com>
21664
21665 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21666 strings correctly.
21667
3ce2865f
CLT
216682012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21669
21670 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21671 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21672 * sysdeps/sh/strlen.S: Likewise.
21673
f37e0d68
JM
216742012-04-24 Joseph Myers <joseph@codesourcery.com>
21675
ae186e9a
JM
21676 * sysdeps/unix/fork.S: Remove file.
21677 * sysdeps/unix/i386/fork.S: Likewise.
21678 * sysdeps/unix/sparc/fork.S: Likewise.
21679
b96914af
JM
21680 * sysdeps/unix/system.c: Remove file.
21681 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21682
f37e0d68
JM
21683 * sysdeps/unix/getegid.S: Remove file.
21684 * sysdeps/unix/geteuid.S: Likewise.
21685
87ef29ca
RM
216862012-04-24 Roland McGrath <roland@hack.frob.com>
21687
83bcd236
RM
21688 * scripts/check-localplt.awk: New file.
21689 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21690 of diff.
21691 * scripts/data/localplt-generic.data: Add a comment.
21692
87ef29ca
RM
21693 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21694 NODE when __dir_mkfile failed.
21695 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21696 Reported by Ludovic Courtès <ludo@gnu.org>.
21697
e5a6e567
AJ
216982012-04-24 Andreas Jaeger <aj@suse.de>
21699
21700 * Makerules (common-clean): Also remove gen-as-const-headers
21701 files.
21702
c1820385
JM
217032012-04-24 Joseph Myers <joseph@codesourcery.com>
21704
21705 * Makerules (native-compile): Do not change working directory for
21706 build. Use $(OUTPUT_OPTION) in command.
21707 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21708
94e02fc4
AZ
217092012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21710
21711 [BZ #13886]
21712 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21713 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21714 * math/libm-test.inc (floor_test): Add more tests.
21715 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21716
3a533ca3
JM
217172012-04-24 Joseph Myers <joseph@codesourcery.com>
21718
940ab4b3
JM
21719 * sysdeps/unix/getdents.c: Remove file.
21720 * sysdeps/unix/sysv/getdents.c: Likewise.
21721 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21722
90e037bd
JM
21723 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21724 sysdeps/unix/mman/syscalls.list.
21725 (mmap): Likewise.
21726 (mprotect): Likewise.
21727 (msync): Likewise.
21728 (munmap): Likewise.
21729 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21730 * sysdeps/unix/mman/syscalls.list: Remove.
21731 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21732
3a533ca3
JM
21733 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21734 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21735 * configure: Regenerated.
21736 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21737 $(libgcc_s_suffix).
21738 * config.make.in (libgcc_s_suffix): Remove variable.
21739
1ad743de
JM
217402012-04-23 Joseph Myers <joseph@codesourcery.com>
21741
4ad451e2
JM
21742 * sysdeps/unix/sysv/gethostname.c: Move to ...
21743 * sysdeps/posix/gethostname.c: ... here.
21744
5e37ce39
JM
21745 * sysdeps/unix/execve.S: Remove file.
21746
1ad743de
JM
21747 * sysdeps/unix/_exit.S: Remove file.
21748
4e681b5b
AJ
217492012-04-23 Andreas Jaeger <aj@suse.de>
21750
21751 [BZ #13739]
21752 * manual/Makefile: Remove make dist support, there's no
21753 need for a stand-alone documentation tar ball.
21754 (TEXI2DVI): Define always, it's not in Makeconfig.
21755 (dist): Removed.
21756 (tar-it): Removed.
21757 (edition): Removed.
21758 (glibc-doc-$(edition).tar): Removed
21759 (%.Z): Removed.
21760 (%.gz): Removed.
21761 (%.uu): Removed.
21762 (ETAGS): Remove, it's in Makeconfig.
21763 (move-if-change): Remove, it's in Makeconfig.
21764
38686a03 217652012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21766
21767 [BZ #13970]
21768 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21769 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21770 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21771 (strtod_l, strtof_l, strtold_l): Remove __wur.
21772 It is not necessarily an error to ignore strtol's return value.
21773 One can reliably look at the stored endptr to decide whether
21774 the number had valid syntax.
21775
7c0616fa
AJ
217762012-04-21 Andreas Jaeger <aj@suse.de>
21777
803cb6b7 21778 [BZ #13739]
7c0616fa
AJ
21779 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21780
b0fe253f
JM
217812012-04-21 Joseph Myers <joseph@codesourcery.com>
21782
21783 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21784 * sysdeps/unix/sysv/Versions: Remove file.
21785
8280f22d
MT
217862012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21787
21788 [BZ #13927]
21789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21790
75ce411f 217912012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21792
21793 [BZ #7064]
21794 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21795 version from __vm86.
21796
097d59fa
JM
217972012-04-20 Joseph Myers <joseph@codesourcery.com>
21798
a90f3bcb
JM
21799 * sysdeps/unix/common/lxstat.c: Remove file.
21800 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21801
edc7ea78
JM
21802 * sysdeps/unix/sysv/Makefile: Remove file.
21803
cb78c221
JM
21804 * sysdeps/unix/sysv/direct.h: Remove file.
21805
efa6a45f
JM
21806 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21807 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21808 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21809 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21810 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21811 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21812 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21813
9c9f2d0c
JM
21814 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21815
4541c83b
JM
21816 * sysdeps/unix/xmknod.c: Remove file.
21817 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21818
f5d153a0
JM
21819 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21820
aa746595
JM
21821 * sysdeps/unix/sysv/i386/time.S: Remove file.
21822
cce5905e
JM
21823 * sysdeps/unix/fxstat.c: Remove file.
21824 * sysdeps/unix/xstat.c: Likewise.
21825 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21826
37fa3841
JM
21827 * sysdeps/unix/sysv/sigaction.c: Remove file.
21828
ff1962a3
JM
21829 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21830 (sysdep_headers): Remove variable.
21831 [termio.h not in sysdep_headers] (generated): Likewise.
21832 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21833 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21834 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21835 * sysdeps/unix/sysv/tcflow.c: Likewise.
21836 * sysdeps/unix/sysv/tcflush.c: Likewise.
21837 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21838 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21839 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21840 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21841 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21842
e7740d31
JM
21843 * sysdeps/unix/siglist.c: Remove file.
21844
ee06f18b
JM
21845 * sysdeps/unix/getppid.S: Remove file.
21846
097d59fa
JM
21847 * sysdeps/unix/mkdir.c: Remove file.
21848 * sysdeps/unix/rmdir.c: Likewise.
21849
ff3d51ec
AS
218502012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21851
21852 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21853 ERR_MAX value.
21854 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21855 errlist-compat value.
21856
50f81fd7
DM
218572012-04-18 David S. Miller <davem@davemloft.net>
21858
21859 * sysdeps/generic/memcopy.h (reg_char): Delete.
21860 * debug/strcat_chk.c: Use char, not reg_char.
21861 * debug/strcpy_chk.c: Likewise.
21862 * debug/strncat_chk.c: Likewise.
21863 * debug/strncpy_chk.c: Likewise.
21864 * string/memchr.c: Likewise.
21865 * string/memrchr.c: Likewise.
21866 * string/rawmemchr.c: Likewise.
21867 * string/strcat.c: Likewise.
21868 * string/strchr.c: Likewise.
21869 * string/strchrnul.c: Likewise.
21870 * string/strcmp.c: Likewise.
21871 * string/strcpy.c: Likewise.
21872 * string/strncat.c: Likewise.
21873 * string/strncmp.c: Likewise.
21874 * string/strncpy.c: Likewise.
21875
8ff41c46
WS
218762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21877
21878 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21879 __builtin_memcopy is called when src and dest ranges are known to not
21880 overlap.
21881
6b652f46
WS
218822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21883
21884 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21885 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21886 fwd_align_merge macro call.
21887 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21888 bwd_align_merge macro call.
21889 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21890
b282631e
WS
218912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21892
21893 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21894 bwd_align_merge macros.
21895 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21896 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21897 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21898
95aa737c
DM
218992012-04-18 David S. Miller <davem@davemloft.net>
21900
21901 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21902
7a99a614
AJ
219032012-04-18 Andreas Jaeger <aj@suse.de>
21904
21905 [BZ# 6794]
21906 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21907 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21908 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21909
21910 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21911 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21912 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21913
21914 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21915 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21916 Adjust for changed ldbl-128 files.
21917
21918 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21919 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21920 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21921
e5270c23
DM
219222012-04-17 David S. Miller <davem@davemloft.net>
21923
21924 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21925
fb5e92c9
AS
219262012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21927
21928 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21929 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21930 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21931 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21932 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21933 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21934
76da7265
AZ
219352012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21936
21937 [BZ #6794]
21938 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21939 * math/libm-test.inc: Add ilogb errno and exception tests.
21940 * math/w_ilogb.c: New file: ilogb wrapper.
21941 * math/w_ilogbf.c: New file: ilogbf wrapper.
21942 * math/w_ilogbl.c: New file: ilogbl wrapper.
21943 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21944 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21945 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21946 exception being thrown with 0.0 as argument.
21947 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21948 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21949 exception being thrown with 0.0 as argument.
21950 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21951 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21952 exception being thrown with 0.0 as argument.
21953 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21954 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21955 exception being thrown with 0.0 as argument.
21956 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21957 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21958 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21959 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21960 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21961 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21962 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21963 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21964 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21965
0396e69d
PB
219662012-04-17 Petr Baudis <pasky@ucw.cz>
21967
21968 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21969 with altivec.
21970
750b5926
MP
219712012-04-16 Marek Polacek <polacek@redhat.com>
21972
21973 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21974
751728a1
MP
219752012-04-16 Marek Polacek <polacek@redhat.com>
21976
21977 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21978 operands of fdivp instruction.
21979
34a27407
L
219802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21981
21982 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21983 * elf/tst-auditmod3b.c: Likewise.
21984 * elf/tst-auditmod4b.c: Likewise.
21985 * elf/tst-auditmod5b.c: Likewise.
21986 * elf/tst-auditmod6b.c: Likewise.
21987 * elf/tst-auditmod6c.c: Likewise.
21988 * elf/tst-auditmod7b.c: Likewise.
21989 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21990 * sysdeps/x86_64/preconfigure.in: Likewise.
21991 * sysdeps/x86_64/preconfigure: Regenerated.
21992
7e73e17d
L
219932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21994
21995 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21996 __ILP32__.
21997
c7a6ab72
AB
219982012-04-13 Antoine Balestrat <merkil33@gmail.com>
21999
22000 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22001 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22002
a9e8e0e0
CL
220032012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22004
22005 [BZ #13973]
22006 * locale/iso-639.def: Fix gl language name. Spotted by
22007 Yaron Shahrabani.
22008
ec98af7d
RM
220092012-04-12 Roland McGrath <roland@hack.frob.com>
22010
22011 [BZ #2074]
22012 * libio/libio.h (__io_write_fn): Update comment.
22013
247c3ede
PB
220142012-04-12 Petr Baudis <pasky@ucw.cz>
22015
22016 [BZ #2074]
22017 * stdio.texi (Hook Functions): The user provided writer function
22018 is not allowed to return -1.
22019
55939d6d
DM
220202012-04-11 David S. Miller <davem@davemloft.net>
22021
22022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22023
90020f5a
MF
220242012-04-11 Mike Frysinger <vapier@gentoo.org>
22025
22026 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22027 Add a leading slash to rtkaio.
22028
288f9098
JM
220292012-04-11 Jim Meyering <meyering@redhat.com>
22030
90020f5a
MF
22031 [BZ #11959]
22032 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22033 It is not necessarily an error to ignore fwrite's return
22034 value. One can reliably use ferror to test for errors after
22035 the fact.
288f9098 22036
4be2b570
L
220372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22038
22039 * bits/types.h (__snseconds_t): New type.
22040 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22041
22042 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22043 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22044 (__SNSECONDS_T_TYPE): Likewise.
22045 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22046 (__SNSECONDS_T_TYPE): Likewise.
22047 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22048 (__SNSECONDS_T_TYPE): Likewise.
22049
288f9098 220502012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
22051
22052 [BZ #2636]
22053 * manual/time.texi (Processor Time): Return type of times is
22054 elapsed real time since an arbitrary point in the past.
22055 (CPU Time): Move CLK_TCK from here...
22056 (Processor Time): ...to here. Correct description.
22057 * manual/conf.texi (Constants for Sysconf): Correct description of
22058 _SC_CLK_TCK.
22059
d7dd4413
DM
220602012-04-10 David S. Miller <davem@davemloft.net>
22061
22062 [BZ #13967]
22063 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22064 where the is a gap between DT_REL(A) and DT_JMPREL.
22065
b46068fc
L
220662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22067
22068 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22069 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22070 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22071
73d65cc3
SP
220722012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22073
22074 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22075 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22076 (dl_main): Handle --inhibit-cache.
22077 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22078 _dl_inhibit_cache.
22079 * elf/dl-load.c (_dl_map_object): Use it.
22080 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22081
bcc8d661
JM
220822012-04-09 Joseph Myers <joseph@codesourcery.com>
22083
8f9a2fae
JM
22084 [BZ #13872]
22085 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22086 (__ieee754_powl): Saturate large exponents rather than testing for
22087 overflow of y*log2(x).
22088 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22089 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22090 exceptions.
22091
bcc8d661
JM
22092 [BZ #11521]
22093 * math/s_ctan.c: Include <float.h>.
22094 (__ctan): Avoid internal overflow or cancellation in calculating
22095 denominator.
22096 * math/s_ctanf.c: Likewise.
22097 * math/s_ctanl.c: Likewise.
22098 * math/s_ctanh.c: Likewise.
22099 * math/s_ctanhf.c: Likewise.
22100 * math/s_ctanhl.c: Likewise.
22101 * math/libm-test.inc (ctan_test): Add more tests.
22102 (ctanh_test): Likewise.
22103 * sysdeps/i386/fpu/libm-test-ulps: Update.
22104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22105
823fbbb4
AJ
221062012-04-09 Andreas Jaeger <aj@suse.de>
22107
03879793
AJ
22108 [BZ #6894]
22109 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22110 is an optional BSD extension.
22111
823fbbb4
AJ
22112 [BZ #10254]
22113 * manual/stdio.texi (Opening Streams): Document additional fopen
22114 parameters.
22115
8de131cb
RM
221162012-04-09 Roland McGrath <roland@hack.frob.com>
22117
22118 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22119 %eax without telling the compiler.
22120
c0ed9d7d
CD
221212012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22122
22123 [BZ # 13963]
22124 * manual/install.texi: Use sourceware.org.
22125
c483f6b4
JM
221262012-04-09 Joseph Myers <joseph@codesourcery.com>
22127
d7dd9453
JM
22128 [BZ #13873]
22129 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22130 (__ieee754_pow): Generate overflow and underflow using huge*huge
22131 and tiny*tiny rather than just returning constant infinity or zero
22132 for large exponents.
22133 * math/libm-test.inc (pow_test): Require overflow exceptions for
22134 applicable cases of large exponents.
22135
c483f6b4
JM
22136 [BZ #706]
22137 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22138 (__ieee754_pow): Use iterative multiplication algorithm only for
22139 integer exponents with absolute value below 1024. Check for odd
22140 integer exponents when using algorithm for real exponents.
22141 * math/libm-test.inc (pow_test): Add more tests.
22142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22143
d2de7579
JM
221442012-04-08 Joseph Myers <joseph@codesourcery.com>
22145
22146 [BZ #13705]
22147 * math/libm-test.inc (exp_test): Do not allow overflow exception
22148 on underflow test.
22149
f77f1232
AJ
221502012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22151
22152 [BZ #13705]
22153 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22154 instead of __kernel_standard_f.
22155
3884932b
MF
221562012-04-08 Mike Frysinger <vapier@gentoo.org>
22157
22158 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22159 * sysdeps/x86_64/memset_chk.S: Likewise.
22160
54472e9c
AJ
221612012-04-08 Andreas Jaeger <aj@suse.de>
22162
6ab0fbfc
AJ
22163 [BZ #10153]
22164 * manual/startup.texi (Environment Access): Describe return value
22165 for putenv and setenv.
22166
61efba8c
AJ
22167 [BZ #6895]
22168 * manual/filesys.texi (Directory Entries): Add description for
22169 DT_LNK.
22170
95c3f29a
AJ
22171 [BZ #6890]
22172 * manual/filesys.texi (Directory Entries): Clarify that it's file
22173 system not operating system in the description of DT_UNKNOWN.
22174
54472e9c
AJ
22175 [BZ #6578]
22176 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22177
624254b1
SC
221782012-04-08 Stephen Compall <s11@member.fsf.org>
22179
22180 [BZ #6649]
22181 * manual/llio.texi (Opening and Closing Files): Add cross
22182 reference to explain mode argument.
22183
1e4920e0
MF
221842012-04-07 Mike Frysinger <vapier@gentoo.org>
22185
22186 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22187 * sysdeps/x86_64/memset_chk.S: Likewise.
22188
5ed848f3
DM
221892012-04-07 David S. Miller <davem@davemloft.net>
22190
22191 * elf/elf.h (R_SPARC_WDISP10): Define.
22192 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22193 R_SPARC_SIZE32.
22194 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22195 R_SPARC_SIZE64 and R_SPARC_H34.
22196
96154cd8
CD
221972012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22198
22199 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22200 conditions and remove no longer applicable assertion.
22201
9904dc47
L
222022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22203
22204 * bits/byteswap.h: Include <features.h>.
22205 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22206 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22207
f8887d0a
L
222082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22209
22210 * bits/byteswap.h (__bswap_16): Removed.
22211 Include <bits/byteswap-16.h> to get __bswap_16.
22212 * sysdeps/i386/bits/byteswap.h: Likewise.
22213 * sysdeps/s390/bits/byteswap.h: Likewise.
22214 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22215 * bits/byteswap-16.h: New file.
22216 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22217 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22218 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22219 * string/Makefile (headers): Add bits/byteswap-16.h.
22220
62470f60
PP
222212012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22222
22223 [BZ #13895]
22224 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22225 extra indirection.
22226 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22227 * nss/tst-nss-static.c: New.
22228
4dad7bab
RM
222292012-04-06 Robert Millan <rmh@gnu.org>
22230
22231 [BZ #6486]
22232 * manual/llio.texi (File Position Primitive): lseek
22233 refers to WHENCE when it really means OFFSET.
22234
e9142a17
AJ
222352012-04-06 Andreas Jaeger <aj@suse.de>
22236
2c040eff
AJ
22237 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22238 strncmp declarations.
22239
e9142a17
AJ
22240 * abilist/libc.abilist: Add __poll and __ppoll.
22241
ff9f1c5f
DM
222422012-04-05 David S. Miller <davem@davemloft.net>
22243
dcd2ae90
DM
22244 * scripts/check-local-headers.sh: Accept a host triplet in the
22245 path matched by the exclude regexp.
22246
993eb054
DM
22247 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22248 definition.
22249 * sysdeps/powerpc/powerpc32/dl-machine.h
22250 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22251 * sysdeps/s390/s390-32/dl-machine.h
22252 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22253 * sysdeps/sparc/sparc32/dl-machine.h
22254 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22255 * sysdeps/sparc/sparc64/dl-machine.h
22256 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22257
ff9f1c5f
DM
22258 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22259 lazy binding.
48e2e132 22260 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22261 undefined symbol errors.
22262
48e2e132 22263 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22264 DT_NEEDED entries.
22265
e80d6f94
MM
222662012-04-05 Michael Matz <matz@suse.de>
22267
22268 [BZ #13592]
22269 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22270
349fa79f
AJ
222712012-04-05 Andreas Jaeger <aj@suse.de>
22272
22273 [BZ #13908]
22274 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22275 comment.
22276
f402708f
KK
222772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22278
22279 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22280 which ROUND is no valid rounding mode.
22281
2ecccfc9
KK
222822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22283
22284 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22285 read again.
22286 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22287
8a53f50f
KK
222882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22289
22290 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22291 an exception using FPU order intentionally.
22292
222932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22294
22295 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22296 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22297 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22298 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22299
d653abb7
SJ
223002012-04-05 Simon Josefsson <simon@josefsson.org>
22301
22302 [BZ #12340]
22303 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22304 EINVAL when BUFLEN is too smal.
22305
c3b1bf7d
TS
223062012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22307
22308 [BZ #13553]
22309 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22310 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22311
b1aa60f3
AJ
223122012-04-03 Andreas Jaeger <aj@suse.de>
22313
c3b1bf7d 22314 [BZ #13938]
67f60a26
AJ
22315 * manual/setjmp.texi (System V contexts): Fix sentence.
22316
b1aa60f3
AJ
22317 [BZ #13926]
22318 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22319 New macro for this case.
22320 [!__GNUC__] (__bswap_64): New inline function for this case.
22321 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22322 * bits/byteswap.h: Likewise.
22323 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22324 ull, guard with __GLIBC_HAVE_LONG_LONG.
22325
22326 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22327 __GLIBC_HAVE_LONG_LONG.
22328
22329 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22330 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22331
39c59c35
TMQMF
223322012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22333
22334 [BZ #13691]
22335 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22336 inptr and inend, rather than using last_ch.
22337
135ffda8
DM
223382012-04-02 David S. Miller <davem@davemloft.net>
22339
22340 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22341 * stdio-common/printf-parse.h (read_int): Change return type to
22342 'int', return -1 on INT_MAX overflow.
22343 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22344 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22345 overflows INT_MAX. Check for overflow of in-format-string precision
22346 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22347 SIZE_MAX not INT_MAX for integer overflow test.
22348 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22349 skip the construct in the format string but do not record anything.
22350 * stdio-common/bug22.c: Adjust to test both width/prevision
22351 INT_MAX overflow as well as total length INT_MAX overflow. Check
22352 explicitly for proper errno values.
22353
228c019e
TS
223542012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22355
302cadd3
TS
22356 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22357 CHAR_MAX.
22358 * string/test-strcmp.c [! WIDE]: Likewise.
22359 * time/tst-mktime2.c: Likewise for INT_MAX.
22360 * string/test-string.h: #include <sys/param.h> for MIN.
22361
228c019e
TS
22362 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22363 * sysdeps/i386/init-first.c (init): Likewise.
22364 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22365 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22366 * sysdeps/sh/init-first.c (init): Likewise.
22367
cfa633f5
UD
223682012-04-01 Ulrich Drepper <drepper@gmail.com>
22369
22370 * po/ru.po: Update from translation team.
d1635ef8 22371 * po/vi.po: Likewise.
cfa633f5 22372
6cd0a5ea
SP
223732012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22374
22375 * resolv/nss_dns/dns-host.c: Merge copyright years.
22376
4b43400f
LD
223772012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22378
22379 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22380 Optimize memcpy with prefetch if
22381 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22382 src, dst pointers have unequal 16 byte alignments.
22383
48c41d04
SP
223842012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22385
22386 [BZ #13928]
22387 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22388 from a CNAME entry and return the minimum ttl for the query.
22389 (gaih_getanswer_slice): Likewise.
22390
b8dc394d
JL
223912012-03-30 Jeff Law <law@redhat.com>
22392
22393 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22394 due to long keys.
22395 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22396 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22397
2f5a5ed0
JL
22398 * resolv/nss_dns/dns-host.c: Update copyright year.
22399
1d39e359
UD
224002012-03-30 Ulrich Drepper <drepper@gmail.com>
22401
c030f70c 22402 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22403 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22404
1d39e359
UD
22405 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22406 comments for sendmmsg.
22407
224082012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22409
22410 [BZ #13691]
22411 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22412 with only 1 character between 0x0041 and 0x01b0.
22413 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22414 * wcsmbs/tst-mbsnrtowcs.c: New file.
22415
20fde227
DM
224162012-03-29 David S. Miller <davem@davemloft.net>
22417
22418 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22419 small copies by hand.
22420
984a4237
JL
224212012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22422
22423 [BZ #13761]
22424 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22425 _nss_compat_initgroups_dyn): Fall back to malloc/free
22426 for large group memberships.
22427
18c9d62b
DM
224282012-03-28 David S. Miller <davem@davemloft.net>
22429
88d85d4f
DM
22430 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22431 that branches into memcpy.
22432 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22433 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22434 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22435 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22437 bits.
22438 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22439 implementation too.
22440 * sysdeps/sparc/mempcpy.S: New file.
22441
e5aa83e1
DM
22442 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22443 the IFUNC routine in the libc case.
22444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22445
88570753
DM
22446 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22447 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22448 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22449 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22450 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22451 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22452 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22453 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22454
249d7567
DM
22455 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22456 loop to 256 bytes instead of 64 bytes and fix test signedness.
22457
18c9d62b
DM
22458 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22459 * sysdeps/sparc/sparc32/Makefile: rather than here...
22460 * sysdeps/sparc/sparc64/Makefile: and here.
22461
05f3d1f6
UD
224622012-03-28 Ulrich Drepper <drepper@gmail.com>
22463
22464 * malloc/mallocbug.c: Avoid warnings about unused variables.
22465
86ae07a8
JL
224662012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22467
22468 [BZ #13760]
22469 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22470 in the right place. Discard and retry query if response is
22471 larger than input buffer size.
22472
41bf21a1
JM
224732012-03-28 Joseph Myers <joseph@codesourcery.com>
22474
d6270972
JM
22475 [BZ #369]
22476 [BZ #2678]
22477 [BZ #3866]
22478 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22479 x for large integer exponent.
22480 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22481 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22482 sign of result as needed afterwards.
22483 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22484 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22485 result for underflowing pow the same as for overflow.
22486 (__kernel_standard_l): Handle powl overflow and underflow here
22487 rather than calling __kernel_standard.
22488 * math/libm-test.inc (pow_test): Add more tests.
22489
414fca03 22490 [BZ #3868]
41bf21a1
JM
22491 [BZ #13879]
22492 [BZ #13910]
22493 [BZ #13911]
22494 [BZ #13912]
22495 [BZ #13913]
22496 [BZ #13915]
22497 [BZ #13916]
22498 [BZ #13917]
22499 [BZ #13918]
22500 [BZ #13919]
22501 [BZ #13920]
22502 [BZ #13921]
22503 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22504 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22505 (__kernel_standard_l): New function.
22506 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22507 __kernel_standard.
22508 * math/w_acosl.c (__acosl): Likewise.
22509 * math/w_asinl.c (__asinl): Likewise.
22510 * math/w_atan2l.c (__atan2l): Likewise.
22511 * math/w_atanhl.c (__atanhl): Likewise.
22512 * math/w_coshl.c (__coshl): Likewise.
22513 * math/w_exp10l.c (__exp10l): Likewise.
22514 * math/w_exp2l.c (__exp2l): Likewise.
22515 * math/w_fmodl.c (__fmodl): Likewise.
22516 * math/w_hypotl.c (__hypotl): Likewise.
22517 * math/w_j0l.c (__j0l, __y0l): Likewise.
22518 * math/w_j1l.c (__j1l, __y1l): Likewise.
22519 * math/w_jnl.c (__jnl, __ynl): Likewise.
22520 * math/w_lgammal.c (__lgammal): Likewise.
22521 * math/w_log10l.c (__log10l): Likewise.
22522 * math/w_log2l.c (__log2l): Likewise.
22523 * math/w_logl.c (__logl): Likewise.
22524 * math/w_powl.c (__powl): Likewise.
22525 * math/w_remainderl.c (__remainderl): Likewise.
22526 * math/w_scalbl.c (sysv_scalbl): Likewise.
22527 * math/w_sinhl.c (__sinhl): Likewise.
22528 * math/w_sqrtl.c (__sqrtl): Likewise.
22529 * math/w_tgammal.c (__tgammal): Likewise.
22530 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22531 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22532 * math/libm-test.inc (acos_test): Add more tests.
22533 (acosh_test): Likewise.
22534 (asin_test): Likewise.
22535 (atanh_test): Likewise.
22536 (exp_test): Likewise.
22537 (exp10_test): Likewise.
22538 (exp2_test): Likewise.
22539 (expm1_test): Likewise.
22540 (lgamma_test): Likewise.
22541 (log_test): Likewise.
22542 (log10_test): Likewise.
22543 (log1p_test): Likewise.
22544 (log2_test): Likewise.
22545 (pow_test): Do not allow some spurious overflow exceptions.
22546 (sqrt_test): Add more tests.
22547 (tgamma_test): Likewise.
22548 (y0_test): Likewise.
22549 (y1_test): Likewise.
22550 (yn_test): Likewise.
22551
dd62fda6
AB
225522012-03-27 Anton Blanchard <anton@samba.org>
22553
22554 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22555 MAP_HUGETLB.
22556 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22557 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22558 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22559
1e3cdfda
AJ
225602012-03-27 David S. Miller <davem@davemloft.net>
22561
b855ab85
DM
22562 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22563
1e3cdfda
AJ
22564 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22565 have-as-vis3 check.
22566
225672012-03-27 Andreas Jaeger <aj@suse.de>
22568
22569 * sysdeps/x86_64/elf/configure.in: Moved to ...
22570 * sysdeps/x86_64/configure.in: ... here.
22571 * sysdeps/x86_64/elf/start.S: Moved to ...
22572 * sysdeps/x86_64/start.S: ... here.
22573 * sysdeps/x86_64/elf/configure: Delete.
22574
22575 * sysdeps/x86_64/configure.in: Merge contents from
22576 sysdeps/i386/configure.in (without i686 check).
22577
22578 * sysdeps/i386/elf/Versions: Merge into ...
22579 * sysdeps/i386/Versions: ... this.
22580 * sysdeps/i386/elf/Versions: Delete file.
22581 * sysdeps/i386/elf/start.S: Moved to ...
22582 * sysdeps/i386/start.S: ...here.
22583 * sysdeps/i386/elf/configure.in: Merge into...
22584 * sysdeps/i386/configure.in: ...here.
22585 * sysdeps/i386/elf/configure.in: Delete file.
22586 * sysdeps/i386/elf/configure: Delete file.
22587
22588 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22589 * debug/backtracesyms.c: ... here.
22590 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22591 * debug/backtracesymsfd.c: ... here.
22592 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22593 * sysdeps/generic/ifunc-sel.h: ... here.
22594
22595 * sysdeps/unix/i386/start.c: Delete file.
22596 * sysdeps/unix/sparc/start.c: Delete file.
22597 * sysdeps/unix/start.c: Delete file.
22598
22599 * sysdeps/sh/elf/configure.in: Moved to ...
22600 * sysdeps/sh/configure.in: ... here.
22601 * sysdeps/sh/elf/start.S: Moved to ...
22602 * sysdeps/sh/start.S: ... here.
22603 * sysdeps/sh/elf/configure: Delete file.
22604
22605 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22606 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22607 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22608 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22609 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22610 * sysdeps/powerpc/powerpc64/start.S: here.
22611 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22612 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22613 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22614 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22615 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22616
22617 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22618 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22619 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22620 * sysdeps/powerpc/powerpc32/start.S: ... here.
22621 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22622 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22623 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22624
22625 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22626 * sysdeps/powerpc/ifunc-sel.h: ... here.
22627 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22628 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22629
22630 * sysdeps/sparc/elf/configure.in: Moved to ...
22631 * sysdeps/sparc/configure.in: ... here.
22632 * sysdeps/sparc/elf/configure: Delete file.
22633 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22634 * sysdeps/sparc/sparc32/start.S: ... here.
22635 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22636 * sysdeps/sparc/sparc64/start.S: ... here.
22637 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22638 * sysdeps/sparc/sparc32/Makefile: ... this.
22639 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22640 * sysdeps/sparc/sparc64/Makefile: ... this.
22641
22642 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22643 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22644 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22645 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22646 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22647 * sysdeps/s390/s390-32/setjmp.S: ... here.
22648 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22649 * sysdeps/s390/s390-32/configure.in: ... here.
22650 * sysdeps/s390/s390-32/elf/configure: Delete file.
22651 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22652 * sysdeps/s390/s390-32/start.S: ... here.
22653
22654 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22655 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22656 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22657 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22658 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22659 * sysdeps/s390/s390-64/setjmp.S: ... here.
22660 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22661 * sysdeps/s390/s390-64/configure.in: ... here
22662 * sysdeps/s390/s390-64/elf/configure: Delete file.
22663 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22664 * sysdeps/s390/s390-64/start.S: ... here.
22665 * sysdeps/s390/s390-64/elf/configure: Delete.
22666
22667 * configure.in: Remove support for elf directories in sysdeps.
22668
22669 * configure: Regenerated.
22670 * sysdeps/i386/configure: Regenerated.
22671 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22672 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22673 * sysdeps/s390/s390-32/configure: Regenerated.
22674 * sysdeps/s390/s390-64/configure: Regenerated.
22675 * sysdeps/sh/configure: Regenerated.
22676 * sysdeps/sparc/configure: Regenerated.
22677 * sysdeps/x86_64/configure: Regenerated.
22678
a3f61311
AS
226792012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22680
c876e002
AS
22681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22682
a3f61311
AS
22683 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22684 denormal result into account.
22685
ac4c54f0
RM
226862012-03-25 Roland McGrath <roland@hack.frob.com>
22687
22688 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22689 Reported by Allan McRae <allan@archlinux.org>.
22690
6a9b9c02
JL
226912012-03-23 Jeff Law <law@redhat.com>
22692
22693 * nss/getnssent.c (__nss_getent): Fix typo.
22694
4c42a0c1
DM
226952012-03-23 David S. Miller <davem@davemloft.net>
22696
22697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22698
1532c7ac
L
226992012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22700
22701 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22702 to pad to uint64_t for each field.
22703 (dl_tls_index): Replace unsigned long with uint64_t.
22704
3ff42526
PP
227052012-03-23 Daniel Jacobowitz <dmj@google.com>
22706 Paul Pluzhnikov <ppluzhnikov@google.com>
22707
22708 [BZ #6528]
22709 * grp/Makefile (otherlibs): Don't set it.
22710 * inet/Makefile (otherlibs): Likewise.
22711 * login/Makefile (otherlibs): Likewise.
22712 * nscd/Makefile (otherlibs): Likewise.
22713 * posix/Makefile (otherlibs): Likewise.
22714 * pwd/Makefile (otherlibs): Likewise.
22715 * rt/Makefile (otherlibs): Likewise.
22716 * sunrpc/Makefile (otherlibs): Likewise.
22717 * nss/Makefile (otherlibs): Likewise.
22718 Add libnss_files to routines and static-only-routines.
22719 ($(objpfx)getent): Remove rule.
22720 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22721 static-only-routines.
22722
7c69cd14
JM
227232012-03-22 Joseph Myers <joseph@codesourcery.com>
22724
22725 [BZ #13892]
22726 * math/s_cexp.c: Include <float.h>.
22727 (__cexp): Handle exp result overflowing not necessarily
22728 overflowing both real and imaginary parts of result.
22729 * math/s_cexpf.c: Likewise.
22730 * math/s_cexpl.c: Likewise.
22731 * math/libm-test.inc (cexp_test): Add more tests.
22732 * sysdeps/i386/fpu/libm-test-ulps: Update.
22733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22734
81b035fe
L
227352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22736
22737 * include/link.h (ELFW): New macro.
22738 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22739 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22740
1da7940c
L
227412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22742
22743 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22744 with uint64_t.
22745
b749dbb9
L
227462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22747
22748 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22749 declaration.
22750 (struct La_x32_retval): Likewise.
22751
2ff87f3f
L
227522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22753
22754 * sysdeps/x86_64/preconfigure.in: New file.
22755 * sysdeps/x86_64/preconfigure: New generated file.
22756
c0df8e69
JM
227572012-03-22 Joseph Myers <joseph@codesourcery.com>
22758
48e44791
JM
22759 [BZ #13824]
22760 * math/e_exp2l.c: Include <float.h>.
22761 (__ieee754_exp2l): Handle overflow and underflow cases
22762 separately. Only pass fractional part of argument to
22763 __ieee754_expl.
22764 * math/libm-test.inc (exp2_test): Add more tests.
22765
c0df8e69
JM
22766 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22767 negating x to take absolute value.
22768 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22769 Likewise.
22770 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22771 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22772 Likewise.
22773 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22774 computing low part if x was negated.
22775 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22776
c8e43ba7
L
227772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22778
22779 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22780 la_x32_gnu_pltexit.
22781 (pltexit): Cast int_retval to ptrdiff_t.
22782 * elf/tst-auditmod3b.c: Likewise.
22783 * elf/tst-auditmod4b.c: Likewise.
22784 * elf/tst-auditmod5b.c: Likewise.
22785 * elf/tst-auditmod6b.c: Likewise.
22786 * elf/tst-auditmod6c.c: Likewise.
22787 * elf/tst-auditmod7b.c: Likewise.
22788
22789 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22790 and x32_gnu_pltexit.
22791
22792 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22793 __ELF_NATIVE_CLASS.
22794 (La_x32_regs): New macro.
22795 (La_x32_retval): Likewise.
22796 (la_x32_gnu_pltenter): New function prototype.
22797 (la_x32_gnu_pltexit): Likewise.
22798
7998fa78
AS
227992012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22800
dcb33988
AS
22801 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22802 exponent.
22803
233fc563
AS
22804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22805
7998fa78
AS
22806 * configure.in (libc_cv_cc_nofma): Check for option to disable
22807 generation of FMA instructions.
22808 * configure: Regenerate.
22809 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22810 * sysdeps/ieee754/dbl-64/Makefile: New file.
22811 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22812 Remove brandred-fma4.
22813 (CFLAGS-brandred-fma4.c): Remove.
22814 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22815 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22816 define.
22817 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22818 define.
22819
8e95c99a
L
228202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22821
22822 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22823 LLONG_MAX != LONG_MAX.
22824 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22825 (_fitoa_word): Likewise.
22826 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22827 LLONG_MAX != LONG_MAX.
22828 * stdio-common/_itowa.h: Include <_itoa.h>.
22829 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22830 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22831 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22832 only if not defined.
22833 (_ITOA_WORD_TYPE): Likewise.
22834 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22835 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22836
6f4db457
DM
228372012-03-21 David S. Miller <davem@davemloft.net>
22838
22839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22840
7785fe5a
L
228412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22842
22843 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22844 of x86_64 when setting libc_cv_slibdir, libdir and
22845 libc_cv_localedir.
22846 * sysdeps/unix/sysv/linux/configure: Regenerated.
22847
4535cd55
JM
228482012-03-21 Joseph Myers <joseph@codesourcery.com>
22849
22850 * manual/lang.texi (Old Varargs): Remove section.
22851 (How Variadic): Update menu.
22852 (va_start): Do not mention varargs.h.
22853
17228132
TS
228542012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22855 Joseph Myers <joseph@codesourcery.com>
22856
22857 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22858 link test.
22859 * configure: Regenerated.
22860
8149f976
TS
228612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22862
05f3d1f6
UD
22863 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22864 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22865 conformtest.pl
8149f976 22866
1a4ac776
JM
228672012-03-21 Joseph Myers <joseph@codesourcery.com>
22868
be22ce65
JM
22869 * NOTES: Remove.
22870 * Makefile (files-for-dist): Remove NOTES.
22871 (NOTES): Remove rule.
22872 * README: Don't refer to NOTES.
22873 * manual/creature.texi: Don't include macros.texi.
22874 * manual/intro.texi (creature.texi): Remove comment referring to
22875 NOTES.
22876
40b601fb
JM
22877 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22878 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22879 * configure: Regenerated.
22880 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22881 LIBC_TRY_CC_OPTION.
22882 (libc_cv_as_i686): Likewise.
22883 (libc_cv_cc_avx): Likewise.
22884 (libc_cv_cc_sse2avx): Likewise.
22885 (libc_cv_cc_fma4): Likewise.
22886 (libc_cv_cc_novzeroupper): Likewise.
22887 * sysdeps/i386/configure: Regenerated.
22888
1a4ac776
JM
22889 [BZ #13883]
22890 * sysdeps/i386/fpu/s_cexp.S: Remove.
22891 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22892 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22893 * math/libm-test.inc (cexp_test): Add more tests.
22894 * sysdeps/i386/fpu/libm-test-ulps: Update.
22895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22896
a458e7fe
AM
228972012-03-21 Allan McRae <allan@archlinux.org>
22898
22899 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22900
0cb7efc5
JM
229012012-03-21 Joseph Myers <joseph@codesourcery.com>
22902
22903 [BZ #13871]
22904 * math/w_exp2.c: Do not include <float.h>.
22905 (o_threshold, u_threshold): Remove.
22906 (__exp2): Calculate result before checking finiteness and calling
22907 __kernel_standard.
22908 * math/w_exp2f.c: Likewise.
22909 * math/w_exp2l.c: Likewise.
22910 * math/libm-test.inc (exp2_test): Require overflow exception for
22911 1e6 input.
2460d3aa
JM
22912
22913 [BZ #3866]
22914 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22915 range of signed 64-bit integers before using fistpll. Remove
22916 checks for whether integers fit in mantissa bits.
22917 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22918 the range of signed 32-bit integers before using fistpl. Remove
22919 checks for whether integers fit in mantissa bits.
22920 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22921 (__ieee754_powl): Test for y outside the range of signed 64-bit
22922 integers before using fistpll. Reduce 64-bit values to 63-bit
22923 ones as needed.
22924 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22925 divide-by-zero is raised for zero to large negative powers.
22926 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22927 (__ieee754_powl): Test for y outside the range of signed 64-bit
22928 integers before using fistpll. Reduce 64-bit values to 63-bit
22929 ones as needed.
22930 * math/libm-test.inc (pow_test): Add more tests.
22931
eb96ffb0
L
229322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22933
22934 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22935 <stdio-common/_itoa.h>.
22936 * debug/segfault.c: Likewise.
22937 * elf/dl-cache.c: Likewise.
22938 * elf/dl-minimal.c: Likewise.
22939 * elf/dl-misc.c: Likewise.
22940 * elf/dl-sysdep.c: Likewise.
22941 * elf/dl-version.c: Likewise.
22942 * elf/rtld.c: Likewise.
22943 * hurd/hurdsock.c: Likewise.
22944 * hurd/lookup-retry.c: Likewise.
22945 * malloc/malloc.c: Likewise.
22946 * malloc/mtrace.c: Likewise.
22947 * nscd/nscd_getgr_r.c: Likewise.
22948 * nscd/nscd_getpw_r.c: Likewise.
22949 * nscd/nscd_getserv_r.c: Likewise.
22950 * posix/getopt_init.c: Likewise.
22951 * posix/wordexp.c: Likewise.
22952 * stdio-common/_itoa.c: Likewise.
22953 * stdio-common/printf_fphex.c: Likewise.
22954 * stdio-common/vfprintf.c: Likewise.
22955 * string/_strerror.c: Likewise.
22956 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22957 * sysdeps/i386/i686/hp-timing.h: Likewise.
22958 * sysdeps/mach/_strerror.c: Likewise.
22959 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22960 * sysdeps/mach/hurd/sethostid.c: Likewise.
22961 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22962 * sysdeps/mach/xpg-strerror.c: Likewise.
22963 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22964 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22965 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22966 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22967 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22968 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22969 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22970 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22971 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22972 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22973 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22974 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22975 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22976 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22977 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22978 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22979 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22980 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22981 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22982 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22983 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22984
22985 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22986
22987 * stdio-common/_itoa.h: Moved to ...
22988 * sysdeps/generic/_itoa.h: Here.
22989
22990 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22991
22992 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22993 instead of "_itoa.h" and "_itowa.h".
22994 * stdio-common/vfprintf.: Likewise.
22995
d1af992d
L
229962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22997
22998 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22999 <bits/wordsize.h>.
23000 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23001 (__signbit): Likwise.
23002 (llrintf): Likwise.
23003 (llrint): Likwise.
23004
114883e0
L
230052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23006
23007 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23008 __WORDSIZE != 64.
23009
c135cc1b
JM
230102012-03-20 Joseph Myers <joseph@codesourcery.com>
23011
23012 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23013 OVERFLOW_EXCEPTION_OK.
23014 * math/libm-test.inc ("Philosophy"): Update comment about
23015 exception testing.
23016 (OVERFLOW_EXCEPTION): Define.
23017 (OVERFLOW_EXCEPTION_OK): Likewise.
23018 (INVALID_EXCEPTION_OK): Renumber.
23019 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23020 (IGNORE_ZERO_INF_SIGN): Likewise.
23021 (test_exceptions): Handle FE_OVERFLOW.
23022 (exp10_test): Expect overflow exceptions.
23023 (exp2_test): Likewise.
23024 (expm1_test): Likewise.
23025 (nextafter_test): Likewise.
23026 (pow_test): Likewise.
23027 (scalbn_test): Likewise.
23028 (scalbln_test): Likewise.
23029
95443d88
L
230302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23031
23032 * sysdeps/x86_64/bits/atomic.h
23033 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23034 64bit integer.
23035 (atomic_exchange_acq): Likewise.
23036 (__arch_exchange_and_add_body): Likewise.
23037 (__arch_add_body): Likewise.
23038 (atomic_add_negative): Likewise.
23039 (atomic_add_zero): Likewise.
23040
490df6c4
L
230412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23042
c2722551 23043 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
23044 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23045
5e52b189
L
230462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23047
23048 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23049 Check __x86_64__ instead of __WORDSIZE.
23050
a9879d4c
L
230512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23052
23053 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23054
5df98260
DM
230552012-03-19 David S. Miller <davem@davemloft.net>
23056
e1497744
DM
23057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23058
5df98260
DM
23059 * sysdeps/sparc/fpu/fenv_private.h: New file.
23060 * sysdeps/sparc/fpu/math_private.h: Use it.
23061 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23062 Remove.
23063 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23064 (libc_feholdexcept_setroundl): Remove.
23065 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23066 Remove.
23067 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23068 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23069
b4c35121
L
230702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23071
23072 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23073 int64_t instead of long int.
23074 (INSERT_WORDS64): Likwise.
23075
56965fd7
L
230762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23077
23078 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23079 _Unwind_GetCFA return to _Unwind_Ptr first.
23080
83d1aec8
JM
230812012-03-19 Joseph Myers <joseph@codesourcery.com>
23082
1897ad44
JM
23083 [BZ #13629]
23084 * math/s_clog.c: Include <float.h>.
23085 (__clog): Scale large or subnormal inputs.
23086 * math/s_clogf.c: Likewise.
23087 * math/s_clogl.c: Likewise.
23088 * math/s_clog10.c: Include <float.h>.
23089 (M_LOG10_2): Define.
23090 (__clog10): Scale large or subnormal inputs.
23091 * math/s_clog10f.c: Likewise.
23092 * math/s_clog10l.c: Likewise.
23093 * math/libm-test.inc (clog_test): Add more tests.
23094 (clog10_test): Likewise.
23095 * sysdeps/i386/fpu/libm-test-ulps: Update.
23096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23097
7726d6a9
JM
23098 [BZ #11451]
23099 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23100 x and y.
23101 * math/libm-test.inc (atan2_test): Add another test.
23102
83d1aec8
JM
23103 * Makerules (common-objdir-compile): Remove.
23104 * sysdeps/unix/Makefile (config-generated): Do not add
23105 $(unix-generated) to variable.
23106 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23107 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23108 Remove rule.
23109 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23110 Likewise.
23111 [generic bits/local_lim.h] (before-compile): Do not append to
23112 variable.
23113 [generic bits/local_lim.h] (common-generated): Likewise.
23114 [generic sys/param.h] (before-compile): Do not append to variable.
23115 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23116 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23117 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23118 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23119 include.
23120 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23121 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23122 [generic sys/param.h] ($(addprefix
23123 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23124 [generic sys/param.h] (common-generated): Do not append to
23125 variable.
23126 [generic sys/param.h] (sysdep_headers): Likewise.
23127 [generic bits/errno.h] (before-compile): Do not append to
23128 variable.
23129 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23130 rule.
23131 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23132 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23133 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23134 [generic bits/errno.h] (common-generated): Do not append to
23135 variable.
23136 [generic bits/ioctls.h] (before-compile): Do not append to
23137 variable.
23138 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23139 rule.
23140 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23141 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23142 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23143 rule.
23144 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23145 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23146 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23147 [generic bits/ioctls.h] (common-generated): Do not append to
23148 variable.
23149 [generic sys/syscall.h] (syscall.h): Remove variable.
23150 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23151 rule.
23152 [generic sys/syscall.h] (before-compile): Do not append to
23153 variable.
23154 [generic sys/syscall.h] (common-generated): Likewise.
23155 * sysdeps/unix/errnos-tmpl.c: Remove file.
23156 * sysdeps/unix/errnos.awk: Likewise.
23157 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23158 * sysdeps/unix/ioctls.awk: Likewise.
23159 * sysdeps/unix/mk-local_lim.c: Likewise.
23160 * sysdeps/unix/snarf-ioctls: Likewise.
23161
4851a949
RH
231622012-03-19 Richard Henderson <rth@twiddle.net>
23163
bd37f2ee
RH
23164 * sysdeps/i386/fpu/fenv_private.h: New file.
23165 * sysdeps/i386/fpu/math_private.h: Use it.
23166 (math_opt_barrier, math_force_eval): Remove.
23167 (libc_feholdexcept_setround_53bit): Remove.
23168 (libc_feupdateenv_53bit): Remove.
23169 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23170 (math_opt_barrier, math_force_eval): Remove.
23171 (libc_feholdexcept): Remove.
23172 (libc_feholdexcept_setround): Remove.
23173 (libc_fetestexcept, libc_fesetenv): Remove.
23174 (libc_feupdateenv_test): Remove.
23175 (libc_feupdateenv, libc_feholdsetround): Remove.
23176 (libc_feresetround): Remove.
23177
d0adc922
RH
23178 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23179 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23180
0fe0f1f8
RH
23181 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23182 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23183 (libc_feupdateenv_testl): New.
23184 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23185 (libc_feupdateenv_testf): New.
23186 (libc_feupdateenv): Use libc_feupdateenv_test.
23187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23188 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23189
eb92c487
RH
23190 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23191 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23192 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23193 (libc_feresetround_noex): New.
23194 (libc_feresetround_noexf): New.
23195 (libc_feresetround_noexl): New.
23196 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23197 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23198 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23199 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23200 SET_RESTORE_ROUND.
23201 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23202 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23203 (__cos): Likewise.
23204 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23205 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23206 SET_RESTORE_ROUND_NOEX.
23207 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23208 SET_RESTORE_ROUND_NOEXF.
23209 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23210 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23211 (libc_feholdsetroundf): New.
23212 (libc_feresetround, libc_feresetroundf): New.
23213
7d2e8012
RH
23214 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23215 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23216 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23217
b4dabbb4
RH
23218 * sysdeps/generic/math_private.h: Include <fenv.h>.
23219 (default_libc_feholdexcept): New.
23220 (default_libc_feholdexcept_setround): New.
23221 (default_libc_fesetenv, default_libc_feupdateenv): New.
23222 (libc_feholdexcept): Only define if undefined.
23223 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23224 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23225 (libc_feholdexcept_setroundl): Likewise.
23226 (libc_feholdexcept_setround_53bit): Likewise.
23227 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23228 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23229 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23230 (libc_feupdateenv_53bit): Likewise.
23231 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23232 (libc_feholdexcept): Convert from macro to inline function.
23233 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23234 (libc_fesetenv, libc_feupdateenv): Likewise.
23235
4851a949
RH
23236 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23237 not previously defined.
23238 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23239 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23240 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23241 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23242 * sysdeps/ieee754/flt-32/math_private.h: New file.
23243 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23244 math_private.h below SET_FLOAT_WORD.
23245 (__isnan, __isinf_ns, __finite): Remove.
23246 (__isnanf, __isinf_nsf, __finitef): Remove.
23247
e79d442e
AS
232482012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23249
23250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23251
90b80344
DM
232522012-03-17 David S. Miller <davem@davemloft.net>
23253
23254 [BZ #6471]
23255 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23256 for 2.16.
23257
edc21804
DM
232582012-03-16 David S. Miller <davem@davemloft.net>
23259
77e927af
DM
23260 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23261 warnings.
23262
374976dd
DM
23263 [BZ #6471]
23264 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23265 properly.
23266 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23267 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23268 sysdep_routines when subdir is sysvipc.
23269 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23270 __getshmlba helper.
23271
edc21804
DM
23272 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23273
473c3ef3
L
232742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23275
23276 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23277 [__LP64__].
23278
eb0f39b6
L
232792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23280
23281 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23282 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23283 (__lround): Renamed to ...
23284 (__llround): This. Replace long int with long long int.
23285 Define lround functions as aliases of llround functions.
23286 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23287
6b6cd74b
L
232882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23289
23290 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23291 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23292 adresses to uintptr_t. Replace "long int" and "unsigned long
23293 int" with "greg_t" on va_arg.
23294
f1a77b01
L
232952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23296
23297 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23298 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23299
23300 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23301 Move e_machine check before EI_CLASS check. Handle x32
23302 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23303 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23304 SKIP_EM_IA_64 and include
23305 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23306
23307 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23308 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23309 (add_system_dir): New macro.
23310
23311 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23312 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23313
11b90b9f
JM
233142012-03-16 Joseph Myers <joseph@codesourcery.com>
23315
c36e1d23
JM
23316 [BZ #2551]
23317 [BZ #2552]
23318 [BZ #2553]
23319 [BZ #2554]
23320 [BZ #2562]
23321 [BZ #2563]
23322 [BZ #2565]
23323 [BZ #2566]
23324 [BZ #2576]
23325 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23326 (y0): Likewise.
23327 * math/w_j0f.c (j0f): Likewise.
23328 (y0f): Likewise.
23329 * math/w_j0l.c (__j0l): Likewise.
23330 (__y0l): Likewise.
23331 * math/w_j1.c (j1): Likewise.
23332 (y1): Likewise.
23333 * math/w_j1f.c (j1f): Likewise.
23334 (y1f): Likewise.
23335 * math/w_j1l.c (__j1l): Likewise.
23336 (__y1l): Likewise.
23337 * math/w_jn.c (jn): Likewise.
23338 (yn): Likewise.
23339 * math/w_jnf.c (jnf): Likewise.
23340 (ynf): Likewise.
23341 * math/w_jnl.c (__jnl): Likewise.
23342 (__ynl): Likewise.
23343 * math/libm-test.inc (j0_test): Add more tests.
23344 (j1_test): Likewise.
23345 (jn_test): Likewise. Add trailing semicolon to existing test.
23346 (y0_test): Likewise.
23347 (y1_test): Likewise.
23348 * sysdeps/i386/fpu/libm-test-ulps: Update.
23349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23350
11b90b9f
JM
23351 [BZ #13851]
23352 [BZ #13854]
23353 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23354 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23355 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23356 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23357 (__tanl): Set errno for infinite argument.
23358 * sysdeps/i386/fpu/mptan.c: Remove.
23359 * sysdeps/i386/fpu/s_tan.S: Likewise.
23360 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23361 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23362 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23363 * math/libm-test.inc (tan_test): Add more tests and enable more
23364 tests for double and long double.
23365 * sysdeps/i386/fpu/libm-test-ulps: Update.
23366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23367
6a1bd2a1
JK
233682012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23369
23370 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23371 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23372
10a803e0
RM
233732012-03-16 Roland McGrath <roland@hack.frob.com>
23374
23375 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23376 * configure.in: Use it for both main tree and add-ons.
23377 * configure: Regenerated.
23378
f196c7f7
L
233792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23380
23381 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23382
8848d99d
JM
233832012-03-16 Joseph Myers <joseph@codesourcery.com>
23384
96cbe7f4
JM
23385 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23386 in comment.
23387
8848d99d
JM
23388 [BZ #13851]
23389 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23390 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23391 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23392 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23393 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23394 infinite argument.
23395 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23396 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23397 != 0 for prec == 2.
23398 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23399 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23400 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23401 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23402 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23403 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23404 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23405 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23406 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23407 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23408 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23409 * math/libm-test.inc (cos_test): Add more tests and enable more
23410 tests for long double.
23411 (sin_test): Likewise.
23412 (sincos_test): Likewise.
23413 * sysdeps/i386/fpu/libm-test-ulps: Update.
23414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23415
dd7f4703
DM
234162012-03-16 David S. Miller <davem@davemloft.net>
23417
23418 * sysdeps/sparc/fpu/math_private.h: New file.
23419
006f1daa
DM
234202012-03-15 David S. Miller <davem@davemloft.net>
23421
c0c83bc8
DM
23422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23423 file.
e6a62e18 23424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23426 file.
e6a62e18
DM
23427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23432 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23433 sysdep routines.
23434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23435
88cb87d9
DM
23436 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23437 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23438
006f1daa 23439 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23441 sparc-ifunc.h
006f1daa 23442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23444 Likewise.
23445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23446 Likewise.
006f1daa
DM
23447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23451 Likewise.
006f1daa
DM
23452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23457 Likewise.
23458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23459 Likewise.
006f1daa
DM
23460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23465 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23466 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23467 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23468 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23469 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23474 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23475 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23478 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23479 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23480 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23481 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23482 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23483 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23484
11e0098e
AS
234852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23486
23487 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23488 scaling.
23489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23490
e85b09d0
AJ
234912012-03-15 Andreas Jaeger <aj@suse.de>
23492
23493 [BZ #13852]
23494 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23495 ieee754/flt-32 implementation for sin, cos and sincos.
23496 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23497 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23498 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23499 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23500 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23501 ieee754/flt-32 implementation for tan.
23502
23503 * math/libm-test.inc (cos_test): Enable some large input tests for
23504 float as well
23505 (sin_test): Likewise.
23506 (sincos_test): Likewise.
23507 (tan_test): Add tests for large input.
23508
23509 * sysdeps/i386/fpu/libm-test-ulps: Update.
23510
81c64153
AJ
235112012-03-15 Andreas Jaeger <aj@suse.de>
23512
23513 [BZ #13658]
23514 * math/libm-test.inc (cos_test): Add more test cases.
23515 (sin_test): Likewise.
23516 (sincos_test): Likewise.
23517
7bbfa5c6
AJ
235182012-03-15 Andreas Jaeger <aj@suse.de>
23519
23520 [BZ #13837]
23521 * math/libm-test.inc (cos_test): Add a test case for large input
23522 value.
23523 (sin_test): Likewise.
23524 (sincos_test): Likewise.
23525
235262012-03-15 Andreas Jaeger <aj@suse.de>,
23527 Joseph Myers <joseph@codesourcery.com>
23528
23529 [BZ #13658]
0671f479 23530 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23531 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23532 * sysdeps/i386/fpu/branred.c: Likewise.
23533 * sysdeps/i386/fpu/dosincos.c: Likewise.
23534 * sysdeps/i386/fpu/mpa.c: Likewise.
23535 * sysdeps/i386/fpu/s_cos.S: Likewise.
23536 * sysdeps/i386/fpu/s_sin.S: Likewise.
23537 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23538 * sysdeps/i386/fpu/sincos32.c: Likewise.
23539
23540 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23541 Define.
23542 (libc_feupdateenv_53bit): Define.
23543 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23544 Define.
23545 (libc_feupdateenv_53bit): Define.
23546
23547 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23548 53 bit (without extend i386 double precision).
23549
23550 * math/libm-test.inc (sincos_test): Add tests for large input.
23551 (sin): Likewise.
23552 (cos): Likewise.
23553
23554 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23555
9cad04ea
AS
235562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23557
23558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23559
f7062b9a
DM
235602012-03-15 David S. Miller <davem@davemloft.net>
23561
23562 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23563 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23564 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23565 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23578 file.
f7062b9a 23579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23581 file.
f7062b9a 23582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23584 file.
f7062b9a 23585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23587 file.
f7062b9a
DM
23588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23590 fmin/fmax sysdep routines.
23591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23592
7bd951ff
DM
235932012-03-14 David S. Miller <davem@davemloft.net>
23594
559398ab
DM
23595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23599 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23600 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23601 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23602 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23605 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23615 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23616 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23617 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23618 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23619 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23620 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23621 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23623 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23624 routines.
23625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23626 file.
559398ab 23627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23629 file.
559398ab 23630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23632 file.
559398ab 23633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23635 file.
559398ab 23636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23638 file.
559398ab 23639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23641 file.
23642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23643 file.
23644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23645 file.
23646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23647 file.
23648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23649 New file.
23650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23651 file.
23652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23653 file.
559398ab 23654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23656 file.
559398ab 23657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23659 file.
559398ab 23660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23662 file.
559398ab 23663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23665 VIS3 routines.
559398ab
DM
23666
23667 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23668 New file.
23669
5a1c1e32
DM
23670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23671
eae47a36
DM
23672 * sysdeps/sparc/configure.in: New file.
23673 * sysdeps/sparc/configure: Generate.
23674 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23675 * configure: Regenerate.
23676 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23677 * config.make.in (have-as-vis3): New.
23678 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23679 available use -Av9d instead of -Av9a.
23680 * sysdeps/sparc/sparc64/Makefile: Likewise.
23681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23683 New file.
23684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23685 file.
23686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23687 New file.
23688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23689 file.
eae47a36
DM
23690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23691 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23692 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23693 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23694 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23695
c0c83bc8
DM
23696 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23697 fzeros/fnegs to load 0x80000000 into a float register instead of
23698 using the stack.
7bd951ff
DM
23699 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23700
bd951ccb
JM
237012012-03-14 Joseph Myers <joseph@codesourcery.com>
23702
23703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23704 bits/syscall.h.
23705 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23706 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23707 ($(inst_includedir)/bits/syscall.h): Remove rule.
23708 ($(objpfx)bits/syscall.d): Include instead of
23709 $(objpfx)syscall-list.d.
23710 (generated): Change syscall-list.h and syscall-list.d to
23711 bits/syscall.h and bits/syscall.d.
23712
bb4e6db2
RM
237132012-03-14 Roland McGrath <roland@hack.frob.com>
23714
23715 [BZ #13846]
23716 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23717
aa4a2ae1
JM
237182012-03-14 Joseph Myers <joseph@codesourcery.com>
23719
e456826d
JM
23720 [BZ #13841]
23721 * math/s_csqrt.c: Include <float.h>.
23722 (__csqrt): Scale large or subnormal inputs.
23723 * math/s_csqrtf.c: Likewise.
23724 * math/s_csqrtl.c: Likewise.
23725 * math/libm-test.inc (csqrt_test): Add more tests.
23726 * sysdeps/i386/fpu/libm-test-ulps: Update.
23727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23728
aa4a2ae1
JM
23729 [BZ #13840]
23730 * math/libm-test.inc (hypot_test): Add more tests.
23731
7c10fd35
DM
237322012-03-13 David S. Miller <davem@davemloft.net>
23733
23734 [BZ #13840]
23735 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23736 double-precision for the calculation instead of scaling.
23737
f453b98b
JM
237382012-03-13 Joseph Myers <joseph@codesourcery.com>
23739
23740 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23741 manipulate bits before adding and subtracting TWO52[sx].
23742 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23743 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23744 Likewise.
23745 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23746
09a3453f
DM
237472012-03-13 David S. Miller <davem@davemloft.net>
23748
8e59da90
DM
23749 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23750 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23751 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23752 rtld-global-offsets.h
23753 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23754
2a8ab7f2
DM
23755 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23756 large parameters.
23757
10f62770
DM
23758 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23759
5f0bdb18
DM
23760 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23761 'err' in the ifdef scope in which it is actually used.
23762
09a3453f
DM
23763 * nss/nss_db/db-init.c: Include string.h
23764
b4b2eb5e
DM
237652012-03-12 David S. Miller <davem@davemloft.net>
23766
98bb2f1c
DM
23767 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23768 masking out of the most significant byte of random value used.
23769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23770 Fix coding style in previous change.
23771
b4b2eb5e
DM
23772 * sysdeps/unix/sysv/linux/kernel-features.h
23773 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23774 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23775 expression.
23776 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23777 later.
23778
6e226b09
DM
237792012-03-11 David S. Miller <davem@davemloft.net>
23780
a1bcbd40
DM
23781 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23782 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23783 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23784 for 'resultvar' otherwise things get truncated on 64-bit.
23785
cb9d6174
DM
23786 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23787 Fix masking out of the most significant byte of random value used.
23788
6e226b09
DM
23789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23790
058c132d
AS
237912012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23792
23793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23794
2d2cd515
DM
237952012-03-09 David S. Miller <davem@davemloft.net>
23796
23797 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23798 variables with appropriate CPP guards.
23799 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23800 frame pointer, not the stack pointer. Correct layout comments. Fix test
23801 on resulting framesize and the management of the outregs buffer for pltexit.
23802 Preserve floating point return values across _dl_call_pltexit call.
23803 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23804 framesize and the management of the outregs buffer for pltexit.
23805 Preserve floating point return values across _dl_call_pltexit
23806 call.
23807 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23808 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23809 (print_exit): Fix format string for return register value.
23810
9a07f9d0
JM
238112012-03-10 Joseph Myers <joseph@codesourcery.com>
23812
23813 * sunrpc/Makefile (others): Add rpcgen.
23814 ($(objpfx)rpcgen): Remove special build rule and dependency on
23815 libc.
23816 * sunrpc/rpcgen.c: New file.
23817
547b5e30
PE
238182012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23819
c524201a
PE
23820 [BZ #13673]
23821 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23822 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23823 * sysdeps/i386/crti.S: Likewise.
23824 * sysdeps/i386/crtn.S: Likewise.
23825 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23826 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23827 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23828 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23829 * sysdeps/sh/crti.S: Likewise.
23830 * sysdeps/sh/crtn.S: Likewise.
23831 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23832
7b6235f2
PE
23833 [BZ #13673]
23834 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23835 with URL.
23836 * locale/programs/locfile-kw.gperf: Likewise.
23837 * locale/programs/charmap-kw.h: Regenerated.
23838 * locale/programs/locfile-kw.h: Likewise.
23839
547b5e30
PE
23840 [BZ #13673]
23841 * intl/plural.y: Replace FSF snail mail address with URL.
23842 * intl/plural.c: Regenerated.
23843
5f0a5dae
RH
238442012-03-09 Richard Henderson <rth@twiddle.net>
23845
23846 * include/math_private.h: Remove file.
23847 * math/math_private.h: Move file ...
23848 * sysdeps/generic/math_private.h: ... here.
23849
b8c03620
RH
23850 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23851 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23852 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23853
4e234f5d 23854 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23855 and <math_private.h>.
23856 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23857 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23858 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23859 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23860 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23861 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23862 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23863 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23864 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23865 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23866 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23867 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23868 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23869 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23870 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23871 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23872 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23873 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23874 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23875 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23876 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23877 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23878 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23879 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23880 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23881 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23882 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23883 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23884 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23885 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23886 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23887 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23888 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23889 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23890 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23891 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23892 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23893 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23894 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23895 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23896 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23897 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23898 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23899 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23900 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23901 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23902 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23903 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23904 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23905 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23906 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23907 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23908 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23909 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23910 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23911 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23912 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23913 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23914 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23915 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23916 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23917 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23918 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23919 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23920 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23921 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23922 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23923 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23924 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23925 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23926 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23927 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23928 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23929 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23930 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23931 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23932 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23933 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23934 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23935 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23936 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23937 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23938 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23939 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23940 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23941 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23942 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23943 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23944 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23945 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23946 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23947 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23948 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23949 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23950 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23951 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23952 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23953 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23954 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23955 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23956 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23957 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23958 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23959 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23960 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23961 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23962 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23963 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23964 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23965 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23966 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23967 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23968 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23969 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23970 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23971 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23972 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23973 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23974 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23975 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23976 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23977 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23978 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23979 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23980 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23981 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23982 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23983 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23984 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23985 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23986 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23987 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23988 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23989 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23990 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23991 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23992 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23993 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23994 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23995 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23996 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23997 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23998 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23999 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24000 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24001 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24002 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24003 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24004 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24005 * sysdeps/ieee754/k_standard.c: Likewise.
24006 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24007 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24008 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24009 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24010 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24011 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24012 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24013 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24014 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24015 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24016 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24017 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24018 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24019 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24020 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24021 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24022 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24023 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24024 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24025 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24026 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24027 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24028 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24029 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24030 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24031 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24032 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24033 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24034 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24035 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24036 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24037 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24038 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24039 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24040 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24041 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24042 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24043 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24044 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24045 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24046 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24047 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24048 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24049 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24050 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24051 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24052 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24053 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24054 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24055 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24056 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24057 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24058 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24059 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24060 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24061 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24062 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24063 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24064 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24065 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24066 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24067 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24068 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24070 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24071 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24072 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24073 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24074 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24075 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24076 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24077 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24078 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24079 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24080 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24081 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24082 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24083 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24084 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24085 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24086 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24087 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24088 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24089 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24090 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24091 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24092 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24093 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24094 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24095 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24096 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24097 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24098 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24099 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24100 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24101 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24102 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24103 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24104 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24105 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24106 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24107 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24108 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24109 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24110 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24111 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24112 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24113 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24114 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24115 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24116 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24117 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24118 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24119 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24120 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24121 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24122 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24123 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24124 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24125 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24126 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24127 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24128 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24129 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24130 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24131 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24132 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24133 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24134 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24135 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24136 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24137 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24138 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24139 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24140 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24141 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24142 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24143 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24144 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24145 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24146 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24147 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24148 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24149 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24150 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24151 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24152 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24153 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24154 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24155 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24156 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24157 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24158 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24159 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24160 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24161 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24162 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24163 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24164 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24165 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24166 * sysdeps/ieee754/s_lib_version.c: Likewise.
24167 * sysdeps/ieee754/s_matherr.c: Likewise.
24168 * sysdeps/ieee754/s_signgam.c: Likewise.
24169 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24170 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24171 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24172 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24173 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24174 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24175 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24176 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24177 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24178 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24179 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24180 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24181 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24182 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24183 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24184 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24185 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24186 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24187 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24188 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24189 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24190
1991fa03
JM
241912012-03-09 Joseph Myers <joseph@codesourcery.com>
24192
24193 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24194 * sunrpc/rpc_main.c: Likewise.
24195 * sunrpc/rpc_svcout.c: Likewise.
24196
60d6f5a6
DM
241972012-03-09 David S. Miller <davem@davemloft.net>
24198
24199 * include/math_private.h: New file.
24200
4962050e
JM
242012012-03-09 Joseph Myers <joseph@codesourcery.com>
24202
02a6f887
JM
24203 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24204 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24205 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24206 from <bits/socket_type.h>.
24207 (enum __socket_type): Don't define here.
24208 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24210 bits/socket_type.h.
24211
c6e013c1
JM
24212 [BZ #13566]
24213 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24214 checking __USE_GNU.
24215
4962050e
JM
24216 * Makerules ($(inst_includedir)/%.h): New rule.
24217 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24218 (install-others): Remove variable setting.
24219 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24220
38842f45
RH
242212012-03-08 Richard Henderson <rth@twiddle.net>
24222
67bb6da6
RH
24223 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24224 from macro to inline function; merge with the
24225 !__LIBC_INTERNAL_MATH_INLINES version.
24226 (__ieee754_sqrtf): Likewise.
24227
15194b4b
RH
24228 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24229 to inline function.
24230 (__rintf, __floor, __floorf): Likewise.
24231
64e21ede
RH
24232 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24233 macro to inline function.
24234 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24235
38842f45
RH
24236 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24237 not <math/math_private.h>.
24238
c64bf5fe
DM
242392012-03-08 David S. Miller <davem@davemloft.net>
24240
24241 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24242 copyright year.
24243 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24244
82d86f28
TS
242452012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24246
24247 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24248 normalization.
24249 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24250 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24251
aea5d727
UD
242522012-03-08 Ulrich Drepper <drepper@gmail.com>
24253
24254 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24255 be defined individually, they must be defined as a block. Define
24256 S for printing a string instead of hidint the different by using a
24257 macro for adding the 'l'.
24258 * stdio-common/tst-fphex-wide.c: Adjust.
24259
70bca0a3
MP
242602012-03-07 Marek Polacek <polacek@redhat.com>
24261
24262 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24263
65b81130
MP
242642012-03-08 Marek Polacek <polacek@redhat.com>
24265
24266 [BZ #13806]
24267 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24268 * stdio-common/tst-fphex.c: Define a few macros to make the
24269 test reusable. Use them.
24270 * stdio-common/tst-fphex-wide.c: New file.
24271
07037eeb
JM
242722012-03-08 Joseph Myers <joseph@codesourcery.com>
24273
a7a93d50
JM
24274 [BZ #6911]
24275 * manual/macros.texi (gnusystems): New macro.
24276 (nongnusystems): Likewise.
24277 (gnulinuxhurdsystems): Likewise.
24278 (gnuhurdsystems): Likewise..
24279 (gnulinuxsystems): Likewise.
24280 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24281 variants of the GNU system, not "GNU system".
24282 * manual/conf.texi: Likewise.
24283 * manual/errno.texi: Likewise. Update example of errno macro
24284 expansion.
24285 * manual/filesys.texi: Likewise.
24286 (getumask): Document as specific to GNU/Hurd.
24287 * manual/install.texi: Likewise. Reword some references to
24288 GNU/Linux.
24289 * manual/intro.texi: Likewise.
24290 * manual/io.texi: Likewise.
24291 (File Name Portability): Detail which constraints are inapplicable
24292 to all GNU systems and which are only inapplicable to GNU/Hurd.
24293 * manual/job.texi: Likewise.
24294 * manual/llio.texi: Likewise.
24295 (O_NOCTTY): Document as present on GNU/Linux.
24296 * manual/maint.texi: Likewise.
24297 * manual/memory.texi: Likewise.
24298 * manual/pattern.texi: Likewise.
24299 * manual/pipe.texi: Likewise.
24300 * manual/process.texi: Likewise.
24301 * manual/resource.texi: Likewise.
24302 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24303 child on GNU/Hurd.
24304 * manual/setjmp.texi: Likewise.
24305 * manual/signal.texi: Likewise.
24306 * manual/startup.texi: Likewise.
24307 * manual/stdio.texi: Likewise.
24308 * manual/terminal.texi: Likewise.
24309 (ONLCR): Document as POSIX.
24310 (OXTABS): Document availability on GNU/Linux as XTABS.
24311 (ONOEOT): Document availability separately from other bits.
24312 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24313 * manual/time.texi: Likewise.
24314 * manual/users.texi: Likewise.
24315 * INSTALL: Regenerated.
24316 * sysdeps/gnu/errlist.c: Regenerated.
24317
07037eeb
JM
24318 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24319 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24320 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24321 puts.
24322 * configure: Regenerated.
24323
d1d3431a
JM
243242012-03-07 Joseph Myers <joseph@codesourcery.com>
24325
af6a1e37
JM
24326 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24327 default includes instead of AC_HEADER_CHECK.
24328 * sysdeps/i386/configure: Regenerated.
24329
d1d3431a
JM
24330 [BZ #10716]
24331 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24332 * math/s_cacoshf.c (__cacoshf): Likewise.
24333 * math/s_cacoshl.c (__cacoshl): Likewise.
24334 * math/s_casinh.c (__casinh): Set signs of result from argument.
24335 * math/s_casinhf.c (__casinhf): Likewise.
24336 * math/s_casinhl.c (__casinhl): Likewise.
24337 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24338 (casinh_test): Add more tests.
24339 * sysdeps/i386/fpu/libm-test-ulps: Update.
24340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24341
482ff4da
UD
243422012-03-07 Ulrich Drepper <drepper@gmail.com>
24343
872fda05
UD
24344 * po/zh_TW.po: Update from translation team.
24345
a4300c7a
UD
24346 * login/Makefile (distribute): Remove variable.
24347 * catgets/Makefile: Likewise.
24348 * mach/Makefile: Likewise.
24349 * malloc/Makefile: Likewise.
24350 * misc/Makefile: Likewise.
24351 * iconv/Makefile: Likewise.
24352 * nscd/Makefile: Likewise.
24353 * hurd/Makefile: Likewise.
24354 * manual/Makefile: Likewise.
24355 * locale/Makefile: Likewise.
24356 * intl/Makefile: Likewise.
24357 * conform/Makefile: Likewise.
24358 * nss/Makefile: Likewise.
24359 * time/Makefile: Likewise.
24360 * soft-fp/Makefile: Likewise.
24361 * dirent/Makefile: Likewise.
24362 * gmon/Makefile: Likewise.
24363 * po/Makefile: Likewise.
24364 * rt/Makefile: Likewise.
24365 * socket/Makefile: Likewise.
24366 * math/Makefile: Likewise.
24367 * signal/Makefile: Likewise.
24368 * debug/Makefile: Likewise.
24369 * elf/Makefile: Likewise.
24370 * timezone/Makefile: Likewise.
24371 * stdlib/Makefile: Likewise.
24372 * iconvdata/Makefile: Likewise.
24373 * sunrpc/Makefile: Likewise.
24374 * io/Makefile: Likewise.
24375 * argp/Makefile: Likewise.
24376 * inet/Makefile: Likewise.
24377 * hesiod/Makefile: Likewise.
24378 * grp/Makefile: Likewise.
24379 * csu/Makefile: Likewise.
24380 * wctype/Makefile: Likewise.
24381 * crypt/Makefile: Likewise.
24382 * libio/Makefile: Likewise.
24383 * string/Makefile: Likewise.
24384 * nis/Makefile: Likewise.
24385 * resolv/Makefile: Likewise.
24386 * stdio-common/Makefile: Likewise.
24387 * wcsmbs/Makefile: Likewise.
24388 * dlfcn/Makefile: Likewise.
24389 * posix/Makefile: Likewise.
24390
3b7c4e74 24391 [BZ #6959]
482ff4da
UD
24392 * timezone/Makefile: Don't install timezone files, just the programs
24393 and scripts.
24394
f72ed77d
UD
243952012-03-06 Ulrich Drepper <drepper@gmail.com>
24396
a000466f
UD
24397 * nss/databases.def: Add missing gshadow entry.
24398
f72ed77d
UD
24399 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24400
a53b7a4e
MP
244012012-03-06 Marek Polacek <polacek@redhat.com>
24402
24403 [BZ #13726]
24404 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24405 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24406 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24407 * stdio-common/tst-long-dbl-fphex.c: New file.
24408
e9258400
DM
244092012-03-06 David S. Miller <davem@davemloft.net>
24410
24411 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24412 (set_obp_int): New function.
24413 (get_obp_int): New function.
24414 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24415 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24416 Avoid unused variable warnings on 'val' and use builtin_expect.
24417 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24418 __builtin_expect.
e9258400
DM
24419 (INLINE_CLONE_SYSCALL): Likewise.
24420
3bd2c723
DM
244212012-03-05 David S. Miller <davem@davemloft.net>
24422
24423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24424
bbb78d03
AS
244252012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24426
884c5db4
AS
24427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24428
bbb78d03
AS
24429 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24430 only for |x| >= 40.
24431 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24432
1c9f702a 244332012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24434
24435 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24436 Replace gettimeofday with __vdso_gettimeofday.
24437
7be16f82
RM
24438 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24439 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24440 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24441
24442 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24443 time with __vdso_time.
24444
ed58a00f
JM
244452012-03-05 Joseph Myers <joseph@codesourcery.com>
24446
24447 * manual/lang.texi (size_t): Note types to which size_t may be
24448 equivalent with the GNU C Library, but do not describe when
24449 differences between them are significant.
24450
30ee4ced
AJ
244512012-03-05 Andreas Jaeger <aj@suse.de>
24452
24453 * sysdeps/i386/fpu/libm-test-ulps: Update.
24454
b7cd39e8
JM
244552012-03-05 Joseph Myers <joseph@codesourcery.com>
24456
24457 [BZ #3976]
24458 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24459 (__ieee754_pow): Save and restore rounding mode and use
24460 round-to-nearest for main computations.
24461 * math/libm-test.inc (pow_test_tonearest): New function.
24462 (pow_test_towardzero): Likewise.
24463 (pow_test_downward): Likewise.
24464 (pow_test_upward): Likewise.
24465 (main): Call the new functions.
24466 * sysdeps/i386/fpu/libm-test-ulps: Update.
24467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24468
24469 [BZ #3976]
24470 * math/libm-test.inc (cosh_test_tonearest): New function.
24471 (cosh_test_towardzero): Likewise.
24472 (cosh_test_downward): Likewise.
24473 (cosh_test_upward): Likewise.
24474 (sinh_test_tonearest): Likewise.
24475 (sinh_test_towardzero): Likewise.
24476 (sinh_test_downward): Likewise.
24477 (sinh_test_upward): Likewise.
24478 (main): Call the new functions.
24479 * sysdeps/i386/fpu/libm-test-ulps: Update.
24480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24481
6c6a98c9
TV
244822012-03-05 Tom de Vries <tom@codesourcery.com>
24483
24484 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24485 default stack guard is set in last bytes.
24486 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24487
21bb2d2e 244882012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24489
21bb2d2e 24490 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24491
21bb2d2e
AJ
24492 [BZ #13656]
24493 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24494 possibly allocate from heap instead of stack.
24495 * stdio-common/bug-vfprintf-nargs.c: New file.
24496 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24497
c6922934
AS
244982012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24499
24500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24501
bc957d53
MP
245022012-03-03 Marek Polacek <polacek@redhat.com>
24503
24504 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24505 * math/math_private.h: Likewise.
24506 * stdlib/tst-strtod.c: Likewise.
24507 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24508 * sysdeps/x86_64/bits/atomic.h: Likewise.
24509
6358490d
DM
245102012-03-02 David S. Miller <davem@davemloft.net>
24511
24512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24516 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24517 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24518 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24519 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24520
01ae168d
RM
245212012-03-02 Roland McGrath <roland@hack.frob.com>
24522
d9a17c07
RM
24523 [BZ #13792]
24524 * manual/examples/README: New file, says the example source files
24525 can be used under GPL>=2.
24526 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24527 line containing just "*/".
24528 * manual/examples/add.c: Add copyright header (GPL>=2).
24529 * manual/examples/argp-ex1.c: Likewise.
24530 * manual/examples/argp-ex2.c: Likewise.
24531 * manual/examples/argp-ex3.c: Likewise.
24532 * manual/examples/argp-ex4.c: Likewise.
24533 * manual/examples/atexit.c: Likewise.
24534 * manual/examples/db.c: Likewise.
24535 * manual/examples/dir.c: Likewise.
24536 * manual/examples/dir2.c: Likewise.
24537 * manual/examples/execinfo.c: Likewise.
24538 * manual/examples/filecli.c: Likewise.
24539 * manual/examples/filesrv.c: Likewise.
24540 * manual/examples/fmtmsgexpl.c: Likewise.
24541 * manual/examples/genpass.c: Likewise.
24542 * manual/examples/inetcli.c: Likewise.
24543 * manual/examples/inetsrv.c: Likewise.
24544 * manual/examples/isockad.c: Likewise.
24545 * manual/examples/longopt.c: Likewise.
24546 * manual/examples/memopen.c: Likewise.
24547 * manual/examples/memstrm.c: Likewise.
24548 * manual/examples/mkfsock.c: Likewise.
24549 * manual/examples/mkisock.c: Likewise.
24550 * manual/examples/mygetpass.c: Likewise.
24551 * manual/examples/pipe.c: Likewise.
24552 * manual/examples/popen.c: Likewise.
24553 * manual/examples/rprintf.c: Likewise.
24554 * manual/examples/search.c: Likewise.
24555 * manual/examples/select.c: Likewise.
24556 * manual/examples/setjmp.c: Likewise.
24557 * manual/examples/sigh1.c: Likewise.
24558 * manual/examples/sigusr.c: Likewise.
24559 * manual/examples/stpcpy.c: Likewise.
24560 * manual/examples/strdupa.c: Likewise.
24561 * manual/examples/strftim.c: Likewise.
24562 * manual/examples/strncat.c: Likewise.
24563 * manual/examples/subopt.c: Likewise.
24564 * manual/examples/swapcontext.c: Likewise.
24565 * manual/examples/termios.c: Likewise.
24566 * manual/examples/testopt.c: Likewise.
24567 * manual/examples/testpass.c: Likewise.
24568 * manual/examples/timeval_subtract.c: Likewise.
24569
01ae168d
RM
24570 [BZ #13792]
24571 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24572 function to ...
24573 * manual/timeval_subtract.c.texi: ... here, new file.
24574
49efa33d
DM
245752012-03-02 David S. Miller <davem@davemloft.net>
24576
24577 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24578
28afd92d
JM
245792012-03-02 Joseph Myers <joseph@codesourcery.com>
24580
804360ed
JM
24581 [BZ #3976]
24582 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24583 (__sin): Save and restore rounding mode and use round-to-nearest
24584 for all computations.
24585 (__cos): Save and restore rounding mode and use round-to-nearest
24586 for all computations.
24587 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24588 <fenv.h>.
24589 (tan): Save and restore rounding mode and use round-to-nearest for
24590 all computations.
24591 * math/libm-test.inc (cos_test_tonearest): New function.
24592 (cos_test_towardzero): Likewise.
24593 (cos_test_downward): Likewise.
24594 (cos_test_upward): Likewise.
24595 (sin_test_tonearest): Likewise.
24596 (sin_test_towardzero): Likewise.
24597 (sin_test_downward): Likewise.
24598 (sin_test_upward): Likewise.
24599 (tan_test_tonearest): Likewise.
24600 (tan_test_towardzero): Likewise.
24601 (tan_test_downward): Likewise.
24602 (tan_test_upward): Likewise.
24603 (main): Call the new functions.
24604 * sysdeps/i386/fpu/libm-test-ulps: Update.
24605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24606
a6d06d7b
JM
24607 [BZ #10135]
24608 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24609 small n, then large n, before computing and testing k+n.
24610 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24611 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24612 Likewise.
24613 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24614 Likewise.
24615 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24616 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24617 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24618 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24619 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24620 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24621 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24622 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24623 * math/libm-test.inc (scalbn_test): Add more tests.
24624 (scalbln_test): Likewise.
24625
07e12bb3
JM
24626 * manual/filesys.texi (mode_t): Describe constraints on size and
24627 signedness, not exact equivalence to a particular type.
24628 (ino_t): Likewise.
24629 (ino64_t): Likewise.
24630 (dev_t): Likewise.
24631 (nlink_t): Likewise.
24632 (blkcnt_t): Likewise.
24633 (blkcnt64_t): Likewise.
24634 * manual/llio.texi (off_t): Likewise.
24635
28afd92d
JM
24636 [BZ #3976]
24637 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24638 (__ieee754_exp): Save and restore rounding mode and use
24639 round-to-nearest for all computations.
24640 * math/libm-test.inc (exp_test_tonearest): New function.
24641 (exp_test_towardzero): Likewise.
24642 (exp_test_downward): Likewise.
24643 (exp_test_upward): Likewise.
24644 (main): Call the new functions.
24645 * sysdeps/i386/fpu/libm-test-ulps: Update.
24646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24647
b1eeb65d
CD
246482012-03-01 Chris Demetriou <cgd@google.com>
24649
24650 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24651 have predictable order.
24652
53362a4b
DM
246532012-03-01 David S. Miller <davem@davemloft.net>
24654
3c969083
DM
24655 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24656
759707de
DM
24657 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24658 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24659 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24660 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24661
dfdb8ff2
DM
24662 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24663 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24664 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24666 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24667 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24668 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24669 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24670 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24671
ead89f96
DM
24672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24673
7f66bd07
DM
24674 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24675 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24676 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24677
53362a4b
DM
24678 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24679 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24680 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24681 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24682 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24683 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24684 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24685 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24686 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24687 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24688 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24689 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24690 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24691 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24692 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24693 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24694 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24695 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24696 * sysdeps/sparc/elf/configure: Regenerated.
24697
7b1902cb
JM
246982012-03-01 Joseph Myers <joseph@codesourcery.com>
24699
bec039bc
JM
24700 * configure.in (AS, LD): Require binutils 2.20 or later.
24701 * configure: Regenerated.
24702 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24703 as required minimum version.
24704 * INSTALL: Regenerated.
24705
7b1902cb
JM
24706 [BZ #2541]
24707 [BZ #4108]
24708 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24709 before squaring exponent.
24710 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24711 bottom long double and 27 bits of top long double before squaring
24712 exponent.
24713 * math/libm-test.inc (erfc_test): Add more tests.
24714 * sysdeps/i386/fpu/libm-test-ulps: Update.
24715 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24717
f775c276
KT
247182012-03-01 Kai Tietz <ktietz@redhat.com>
24719
24720 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24721 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24722 containing bit-fields.
24723 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24724 * soft-fp/single.h (_FP_UNION_S): Likewise.
24725 * soft-fp/double.h (_FP_UNION_D): Likewise.
24726
5b8a4d4a
JM
247272012-02-29 Joseph Myers <joseph@codesourcery.com>
24728
0bab47b6
JM
24729 [BZ #13786]
24730 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24731 not include ../strcmp.S.
24732 [USE_AS_STRNCASECMP_L]: Likewise.
24733 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24734 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24735 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24736 (__strncasecmp_l_ia32): Define as alias to
24737 __strncasecmp_l_nonascii.
24738
0fcad3e2
JM
24739 [BZ #5794]
24740 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24741 * sysdeps/i386/fpu/libm-test-ulps: Update.
24742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24743
5b8a4d4a
JM
24744 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24746
8fdceb2e
JL
247472012-02-29 Jeff Law <law@redhat.com>
24748
24749 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24750 out of bounds read.
24751
1f393a11
MP
247522012-02-29 Marek Polacek <polacek@redhat.com>
24753
24754 [BZ #13706]
24755 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24756 * elf/Makefile: Add rules to run tst-unused-dep.out.
24757
8847f037
DM
247582012-02-28 David S. Miller <davem@davemloft.net>
24759
24760 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24761 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24762 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24763 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24764 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24765 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24766
169d7f11
JM
247672012-02-29 Joseph Myers <joseph@codesourcery.com>
24768
24769 * math/libm-test.inc (llround_test): Move one test from
24770 lround_test. Use TEST_f_L in moved test.
24771 (lround_test): Move misplaced test to llround_test. Add testcase
24772 from bug 2561.
24773
39adf059
UD
247742012-02-28 Ulrich Drepper <drepper@gmail.com>
24775
24776 * sysdeps/x86_64/fpu/e_expf.S: New file.
24777 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24778
71b5d1c5
SB
247792012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24780
24781 [BZ #13637]
24782 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24783 of remain_len that may cause incomplete multi-byte character and
24784 false match.
24785 * posix/bug-regex33.c: New file.
24786 * posix/Makefile (tests): Add bug-regex33.
24787
1f77f049
JM
247882012-02-28 Joseph Myers <joseph@codesourcery.com>
24789
24790 * manual/macros.texi: New file.
24791 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24792 * manual/libc.texinfo: Include macros.texi.
24793 * manual/creatute.texi: Likewise.
24794 * manual/install.texi: Likewise.
24795 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24796 @glibcadj{} in references to the GNU C Library.
24797 * manual/charset.texi: Likewise.
24798 * manual/conf.texi: Likewise.
24799 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24800 when not using those macros.
24801 * manual/creature.texi: Likewise.
24802 * manual/crypt.texi: Likewise.
24803 * manual/errno.texi: Likewise.
24804 * manual/filesys.texi: Likewise.
24805 * manual/header.texi: Likewise.
24806 * manual/install.texi: Likewise.
24807 * manual/intro.texi: Likewise.
24808 * manual/io.texi: Likewise.
24809 * manual/job.texi: Likewise.
24810 * manual/lang.texi: Likewise.
24811 * manual/libc.texiinfo: Likewise.
24812 * manual/llio.texi: Likewise.
24813 * manual/locale.texi: Likewise.
24814 * manual/maint.texi: Likewise.
24815 * manual/math.texi: Likewise.
24816 * manual/memory.texi: Likewise.
24817 * manual/message.texi: Likewise.
24818 * manual/nss.texi: Likewise.
24819 * manual/pattern.texi: Likewise.
24820 * manual/process.texi: Likewise.
24821 * manual/resource.texi: Likewise.
24822 * manual/search.texi: Likewise.
24823 * manual/setjmp.texi: Likewise.
24824 * manual/signal.texi: Likewise.
24825 * manual/socket.texi: Likewise.
24826 * manual/startup.texi: Likewise.
24827 * manual/stdio.texi: Likewise.
24828 * manual/string.texi: Likewise.
24829 * manual/sysinfo.texi: Likewise.
24830 * manual/syslog.texi: Likewise.
24831 * manual/terminal.texi: Likewise.
24832 * manual/time.texi: Likewise.
24833 * manual/users.texi: Likewise.
24834 * INSTALL: Regenerated.
24835 * NOTES: Regenerated.
d40c5d54 24836 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24837
450bf206
AS
248382012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24839
24840 * include/dirent.h: Include <dirstream.h> before
24841 <dirent/dirent.h>.
24842
741a235b
DM
248432012-02-28 David S. Miller <davem@davemloft.net>
24844
24845 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24846 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24847 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24848 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24849
d6b5aa58
DM
248502012-02-27 David S. Miller <davem@davemloft.net>
24851
1aff59a3
DM
24852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24854 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24855 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24856
d6b5aa58
DM
24857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24858 frame pointer instead of stack pointer relative arg slot.
24859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24860 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24861 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24862
433f48bf
CD
248632012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24864
24865 [BZ #3992]
24866 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24867
d674b76d
DM
248682012-02-27 David S. Miller <davem@davemloft.net>
24869
24870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24874 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24875 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24876 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24877 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24878
0e7727f7
JM
248792012-02-27 Joseph Myers <joseph@codesourcery.com>
24880
24881 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24882 later. Allow versions 5-9.
43be4ca2 24883 * configure: Regenerated.
0e7727f7
JM
24884 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24885 required minimum version and 4.6 as recommended version. Do not
24886 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24887 * INSTALL: Regenerated.
0e7727f7 24888
a78bc654
DM
248892012-02-27 David S. Miller <davem@davemloft.net>
24890
428d5830
DM
24891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24895 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24896 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24897 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24898 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24899
a78bc654
DM
24900 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24901 manipulate bits before adding and subtracting TWO112[sx].
24902 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24903
4579f81c
RM
249042012-02-27 Roland McGrath <roland@hack.frob.com>
24905
36c8acb4
RM
24906 [BZ #13775]
24907 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24908 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24909 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24910 being in POSIX, because they are in 1003.1-2008.
24911
84ad622b
RM
24912 * rt/tst-aio.c: Include <fcntl.h>.
24913 * rt/tst-aio7.c: Likewise.
24914 * rt/tst-aio64.c: Likewise.
24915
4579f81c
RM
24916 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24917
abd923db
JM
249182012-02-27 Joseph Myers <joseph@codesourcery.com>
24919
24920 * manual/install.texi (--with-headers): Describe headers as
24921 interface headers, not private headers.
24922 (Specific advice for GNU/Linux systems): Describe use of headers
24923 from "make headers_install", not private headers from older
24924 kernels.
43be4ca2 24925 * INSTALL: Regenerated.
abd923db
JM
24926 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24927 Change to 2.6.19.
24928 * sysdeps/unix/sysv/linux/configure: Regenerated.
24929
6664049b
JM
24930 * manual/llio.texi (fclean): Remove documentation.
24931
bb8b6697
JM
24932 * manual/Makefile (libc-texi-generated): New variable. Include
24933 version.texi.
24934 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24935 $(libc-texi-generated), not duplicated list of files.
24936 (version.texi, stamp-version): New rules.
24937 (realclean): Remove $(libc-texi-generated), not individual files
24938 from that list. Do not remove dir-add.texinfo.
24939 * manual/libc.texinfo: Comment out uses of edition numbers and
24940 references to printed manual. Remove last-updated dates.
24941 (EDITION): Comment out.
24942 (ISBN): Likewise.
24943 (VERSION, UPDATED): Remove.
24944 (version.texi): Include.
24945
12e5c3b9
AS
249462012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24947
24948 * sysdeps/posix/spawni.c: Include <signal.h>.
24949 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24950 * sysdeps/pthread/aio_fsync.c: Likewise.
24951
4efeffc1 249522012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24953
ba63ba08
UD
24954 * conform/Makefile (tests): Run only when not cross-compiling and
24955 when fast-check is not defined.
24956
d94a4670
UD
24957 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24958 * conform/data/limits.h-data: Fixes for POSIX2008.
24959 * conform/run-conformtest.sh: Run all tests.
24960 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24961 headers.
24962 * include/bits/dlfcn.h: Likewise.
24963 * include/langinfo.h: Likewise.
24964 * include/monetary.h: Likewise.
24965 * include/sys/poll.h: Likewise.
24966
24967 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24968 for __USE_GNU.
24969 * posix/spawn.h: Define __need_sigset_t.
24970 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24971 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24972 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24973 to get sigevent_t only.
24974 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24975 only for __USE_GNU.
24976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24977 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24978 process_vm_writev only for __USE_GNU.
24979 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24980
24981 * conform/Makefile: For now ignore errors from run-conformtest.
24982 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24983 POSIX to avoid namespace pollution. Don't prepend headers.
24984 * conform/data/aio.h-data: Fixes for POSIX testing.
24985 * conform/data/fcntl.h-data: Likewise.
24986 * conform/data/glob.h-data: Likewise.
24987 * conform/data/grp.h-data: Likewise.
24988 * conform/data/pthread.h-data: Likewise.
24989 * conform/data/pwd.h-data: Likewise.
24990 * conform/data/signal.h-data: Likewise.
24991 * conform/data/spawn.h-data: Likewise.
24992 * conform/data/stdio.h-data: Likewise.
24993 * conform/data/stdlib.h-data: Likewise.
24994 * conform/data/stropts.h-data: Likewise.
24995 * conform/data/sys/mman.h-data: Likewise.
24996 * conform/data/sys/stat.h-data: Likewise.
24997 * conform/data/sys/types.h-data: Likewise.
24998 * conform/data/sys/wait.h-data: Likewise.
24999 * conform/data/time.h-data: Likewise.
25000 * conform/data/unistd.h-data: Likewise.
25001 * conform/data/utime.h-data: Likewise.
25002
25003 * io/sys/stat.h: fchmod was always in POSIX.
25004 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25005 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25006 * rt/aio.h: Define __need_timespec before including <time.h>.
25007 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25008 struct. Add forward declaration of pthread_attr_t and use it in
25009 sigevent.
25010 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25011 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25012 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25013 always remove CLK_TCK definition.
25014
c20105c3
AS
250152012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25016
25017 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25018
7a270350
UD
250192012-02-25 Ulrich Drepper <drepper@gmail.com>
25020
31341567
UD
25021 * conform/run-conformtest.sh: New file.
25022 * conform/Makefile: Run run-conformtest for tests.
25023 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25024 support.
25025
25026 * conform/data/uchar.h-data: New file.
25027 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25028 * conform/data/arpa/inet.h-data: Likewise.
25029 * conform/data/assert.h-data: Likewise.
25030 * conform/data/complex.h-data: Likewise.
25031 * conform/data/cpio.h-data: Likewise.
25032 * conform/data/ctype.h-data: Likewise.
25033 * conform/data/dirent.h-data: Likewise.
25034 * conform/data/dlfcn.h-data: Likewise.
25035 * conform/data/errno.h-data: Likewise.
25036 * conform/data/fcntl.h-data: Likewise.
25037 * conform/data/float.h-data: Likewise.
25038 * conform/data/fmtmsg.h-data: Likewise.
25039 * conform/data/fnmatch.h-data: Likewise.
25040 * conform/data/ftw.h-data: Likewise.
25041 * conform/data/glob.h-data: Likewise.
25042 * conform/data/grp.h-data: Likewise.
25043 * conform/data/iconv.h-data: Likewise.
25044 * conform/data/inttypes.h-data: Likewise.
25045 * conform/data/langinfo.h-data: Likewise.
25046 * conform/data/libgen.h-data: Likewise.
25047 * conform/data/limits.h-data: Likewise.
25048 * conform/data/locale.h-data: Likewise.
25049 * conform/data/math.h-data: Likewise.
25050 * conform/data/monetary.h-data: Likewise.
25051 * conform/data/mqueue.h-data: Likewise.
25052 * conform/data/ndbm.h-data: Likewise.
25053 * conform/data/net/if.h-data: Likewise.
25054 * conform/data/netdb.h-data: Likewise.
25055 * conform/data/netinet/in.h-data: Likewise.
25056 * conform/data/nl_types.h-data: Likewise.
25057 * conform/data/poll.h-data: Likewise.
25058 * conform/data/pthread.h-data: Likewise.
25059 * conform/data/pwd.h-data: Likewise.
25060 * conform/data/regex.h-data: Likewise.
25061 * conform/data/sched.h-data: Likewise.
25062 * conform/data/search.h-data: Likewise.
25063 * conform/data/semaphore.h-data: Likewise.
25064 * conform/data/setjmp.h-data: Likewise.
25065 * conform/data/signal.h-data: Likewise.
25066 * conform/data/spawn.h-data: Likewise.
25067 * conform/data/stdarg.h-data: Likewise.
25068 * conform/data/stdio.h-data: Likewise.
25069 * conform/data/stdlib.h-data: Likewise.
25070 * conform/data/string.h-data: Likewise.
25071 * conform/data/strings.h-data: Likewise.
25072 * conform/data/stropts.h-data: Likewise.
25073 * conform/data/sys/ipc.h-data: Likewise.
25074 * conform/data/sys/mman.h-data: Likewise.
25075 * conform/data/sys/msg.h-data: Likewise.
25076 * conform/data/sys/resource.h-data: Likewise.
25077 * conform/data/sys/select.h-data: Likewise.
25078 * conform/data/sys/sem.h-data: Likewise.
25079 * conform/data/sys/shm.h-data: Likewise.
25080 * conform/data/sys/socket.h-data: Likewise.
25081 * conform/data/sys/stat.h-data: Likewise.
25082 * conform/data/sys/statvfs.h-data: Likewise.
25083 * conform/data/sys/time.h-data: Likewise.
25084 * conform/data/sys/timeb.h-data: Likewise.
25085 * conform/data/sys/times.h-data: Likewise.
25086 * conform/data/sys/types.h-data: Likewise.
25087 * conform/data/sys/uio.h-data: Likewise.
25088 * conform/data/sys/un.h-data: Likewise.
25089 * conform/data/sys/utsname.h-data: Likewise.
25090 * conform/data/sys/wait.h-data: Likewise.
25091 * conform/data/syslog.h-data: Likewise.
25092 * conform/data/tar.h-data: Likewise.
25093 * conform/data/termios.h-data: Likewise.
25094 * conform/data/utime.h-data: Likewise.
25095 * conform/data/utmpx.h-data: Likewise.
25096 * conform/data/varargs.h-data: Likewise.
25097 * conform/data/wchar.h-data: Likewise.
25098 * conform/data/wctype.h-data: Likewise.
25099 * conform/data/wordexp.h-data: Likewise.
25100
25101 * include/stropts.h: New file.
25102 * include/uchar.h: New file.
25103 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25104 * include/assert.h: Likewise.
25105 * include/ctype.h: Likewise.
25106 * include/dirent.h: Likewise.
25107 * include/dlfcn.h: Likewise.
25108 * include/fcntl.h: Likewise.
25109 * include/fnmatch.h: Likewise.
25110 * include/glob.h: Likewise.
25111 * include/grp.h: Likewise.
25112 * include/libio.h: Likewise.
25113 * include/locale.h: Likewise.
25114 * include/math.h: Likewise.
25115 * include/net/if.h: Likewise.
25116 * include/netdb.h: Likewise.
25117 * include/netinet/in.h: Likewise.
25118 * include/pthread.h: Likewise.
25119 * include/pwd.h: Likewise.
25120 * include/regex.h: Likewise.
25121 * include/sched.h: Likewise.
25122 * include/search.h: Likewise.
25123 * include/setjmp.h: Likewise.
25124 * include/signal.h: Likewise.
25125 * include/stdio.h: Likewise.
25126 * include/stdlib.h: Likewise.
25127 * include/string.h: Likewise.
25128 * include/sys/cdefs.h: Likewise.
25129 * include/sys/mman.h: Likewise.
25130 * include/sys/msg.h: Likewise.
25131 * include/sys/resource.h: Likewise.
25132 * include/sys/select.h: Likewise.
25133 * include/sys/socket.h: Likewise.
25134 * include/sys/stat.h: Likewise.
25135 * include/sys/statvfs.h: Likewise.
25136 * include/sys/time.h: Likewise.
25137 * include/sys/times.h: Likewise.
25138 * include/sys/uio.h: Likewise.
25139 * include/sys/utsname.h: Likewise.
25140 * include/sys/wait.h: Likewise.
25141 * include/termios.h: Likewise.
25142 * include/time.h: Likewise.
25143 * include/ulimit.h: Likewise.
25144 * include/unistd.h: Likewise.
25145 * include/utime.h: Likewise.
25146 * include/wchar.h: Likewise.
25147 * include/wctype.h: Likewise.
25148 * include/wordexp.h: Likewise.
25149
25150 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25151
7a270350
UD
25152 * time/time.h: TIME_UTC must be a macro.
25153 Make timespec_get available for ISO C11 only as well.
25154
7724defc
UD
251552012-02-24 Ulrich Drepper <drepper@gmail.com>
25156
25157 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25158 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25159
6b1d1d46
JM
251602012-02-24 Joseph Myers <joseph@codesourcery.com>
25161
25162 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 25163
0f8bbd69
JM
251642012-02-24 Joseph Myers <joseph@codesourcery.com>
25165
25166 * manual/texinfo.tex: Update to version 2012-01-19.16.
25167
66ab80bc
JM
251682012-02-24 Joseph Myers <joseph@codesourcery.com>
25169
25170 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25171
74981cc5
RM
251722012-02-24 Roland McGrath <roland@hack.frob.com>
25173
ee968201
RM
25174 [BZ #13738]
25175 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25176 * manual/fdl-1.3.texi: New file.
25177 * manual/fdl-1.1.texi: File removed.
25178
74981cc5
RM
25179 [BZ #13738]
25180 * manual/libc.texinfo (FDL_VERSION): New @set.
25181 Use it for mention of FDL in cover text.
25182 (Documentation License): Use it in @include file name.
25183
7bb764bc
JM
251842012-02-22 Joseph Myers <joseph@codesourcery.com>
25185 Roland McGrath <roland@hack.frob.com>
25186
25187 [BZ #5461]
25188 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25189 not LONG_LONG_MAX and LONG_LONG_MIN.
25190 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25191 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25192 name.
25193 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25194
6cbeae47
JM
251952012-02-22 Joseph Myers <joseph@codesourcery.com>
25196
25197 [BZ #2547]
25198 [BZ #11365]
25199 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25200 manipulate bits before adding and subtracting TWO23[sx].
25201 * math/libm-test.inc (nearbyint_test): Add more tests.
25202
fe45ce09
JM
252032012-02-22 Joseph Myers <joseph@codesourcery.com>
25204
25205 [BZ #2548]
25206 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25207 bits before adding and subtracting TWO23[sx].
25208 * math/libm-test.inc (rint_test): Add more tests.
25209 (rint_test_tonearest): Likewise.
25210 (rint_test_towardzero): Likewise.
25211 (rint_test_downward): Likewise.
25212 (rint_test_upward: Likewise.
25213
ff3b3d82
JM
252142012-02-22 Joseph Myers <joseph@codesourcery.com>
25215
25216 [BZ #10110]
25217 * include/stdc-predef.h: New file. Extracted from features.h.
25218 * include/features.h: Include stdc-predef.h.
25219 * Makefile (headers): Add stdc-predef.h.
25220 * CONFORMANCE (Compiler limitations): Update.
25221
ef0aab35
JM
252222012-02-22 Joseph Myers <joseph@codesourcery.com>
25223
25224 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25225
58639409
DM
252262012-02-21 David S. Miller <davem@davemloft.net>
25227
25228 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25229 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25230
c0e70b25
DM
252312012-02-20 David S. Miller <davem@davemloft.net>
25232
25233 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25234 using a normal save/restore sequence, rather than allocating a
25235 dummy stack frame just to store a frame pointer and restore.
25236 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25237
fb06851d
JM
252382012-02-21 Joseph Myers <joseph@codesourcery.com>
25239
25240 * manual/install.texi: Fix stray word in line-wrapped comment.
25241
7a8b71c3
DM
252422012-02-20 David S. Miller <davem@davemloft.net>
25243
d510c123
DM
25244 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25245 both binutils and gcc support GOTDATA.
25246
0722d7c2
DM
25247 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25248 "rd %pc" in the PIC register setup sequences.
25249
3d2b3019
DM
25250 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25251 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25252 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25253 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25254 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25255 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25256 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25257 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25258 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25259 (SYSCALL_ERROR_HANDLER): Likewise.
25260 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25261 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25262 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25263 (SYSCALL_ERROR_HANDLER): Likewise.
25264
c80098a9
DM
25265 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25266 (HAVE_GCC_GOTDATA): New.
25267 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25268 relocation support in both binutils and gcc.
25269 * sysdeps/sparc/elf/configure: Regenerate.
25270
3a2545a0
DM
25271 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25272 * sysdeps/sparc/sparc32/elf/configure: Delete.
25273 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25274 * sysdeps/sparc/sparc64/elf/configure: Delete.
25275 * sysdeps/sparc/elf/configure.in: New file.
25276 * sysdeps/sparc/elf/configure: Generate.
25277
7a8b71c3
DM
25278 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25279 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25280 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25281 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25282 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25283
f1e86fca
JM
252842012-02-21 Joseph Myers <joseph@codesourcery.com>
25285
25286 * manual/install.texi: Do not mention specific glibc version
25287 numbers.
25288 * manual/libc.texinfo (VERSION, UPDATED): Update.
25289 (@copying): Use @copyright{} and range of years.
25290
0e7dfaef
JM
252912012-02-21 Joseph Myers <joseph@codesourcery.com>
25292
25293 [BZ #13695]
25294 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25295 [crti.S not in sysdirs] (generated): Do not append.
25296 [crti.S not in sysdirs] (omit-deps): Likewise.
25297 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25298 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25299 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25300 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25301 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25302 Likewise.
25303 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25304 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25305 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25306 * csu/defs.awk: Remove file.
25307 * sysdeps/generic/initfini.c: Likewise.
25308 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25309 variable.
25310 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25311 Likewise.
25312
599af3ca
JM
253132012-02-20 Joseph Myers <joseph@codesourcery.com>
25314
25315 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25316 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25317 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25318 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25319 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25320 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25321 <bits/epoll.h>.
25322 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25323 (__EPOLL_PACKED): Define to empty if not defined by
25324 <bits/epoll.h>.
25325 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25326 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25327 bits/epoll.h.
25328
0e499750
JM
253292012-02-20 Joseph Myers <joseph@codesourcery.com>
25330
25331 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25332 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25333 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25334 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25335 <bits/timerfd.h>.
25336 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25338 bits/timerfd.h.
25339
5ad91f6e
JM
253402012-02-20 Joseph Myers <joseph@codesourcery.com>
25341
25342 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25343 in C locale.
25344 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25345 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25346 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25348
06b99b02
AJ
253492012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25350
25351 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25352 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25353
7638c0fd
AS
253542012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25355
25356 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25357 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25358 defined.
25359 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25360 Likewise.
25361 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25362 entry for 2.16.
25363
92221550
AJ
253642012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25365
25366 * math/w_acos.c: Use non-signaling floating-point comparisons.
25367 * math/w_acosf.c: Likewise.
25368 * math/w_acosh.c: Likewise.
25369 * math/w_acoshf.c: Likewise.
25370 * math/w_acoshl.c: Likewise.
25371 * math/w_acosl.c: Likewise.
25372 * math/w_asin.c: Likewise.
25373 * math/w_asinf.c: Likewise.
25374 * math/w_asinl.c: Likewise.
25375 * math/w_atanh.c: Likewise.
25376 * math/w_atanhf.c: Likewise.
25377 * math/w_atanhl.c: Likewise.
25378 * math/w_exp2.c: Likewise.
25379 * math/w_exp2f.c: Likewise.
25380 * math/w_exp2l.c: Likewise.
25381 * math/w_j0.c: Likewise.
25382 * math/w_j0f.c: Likewise.
25383 * math/w_j0l.c: Likewise.
25384 * math/w_j1.c: Likewise.
25385 * math/w_j1f.c: Likewise.
25386 * math/w_j1l.c: Likewise.
25387 * math/w_jn.c: Likewise.
25388 * math/w_jnf.c: Likewise.
25389 * math/w_log.c: Likewise.
25390 * math/w_log10.c: Likewise.
25391 * math/w_log10f.c: Likewise.
25392 * math/w_log10l.c: Likewise.
25393 * math/w_log2.c: Likewise.
25394 * math/w_log2f.c: Likewise.
25395 * math/w_log2l.c: Likewise.
25396 * math/w_logf.c: Likewise.
25397 * math/w_logl.c: Likewise.
25398 * math/w_sqrt.c: Likewise.
25399 * math/w_sqrtf.c: Likewise.
25400 * math/w_sqrtl.c: Likewise.
25401 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25402 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25403 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25404 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25405 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25406
ebaf36eb
JM
254072012-02-19 Joseph Myers <joseph@codesourcery.com>
25408
25409 [BZ #9739]
25410 * manual/string.texi (strnlen): Use correct parameter name in
25411 equivalent expression.
25412
71c254a6
JM
254132012-02-19 Joseph Myers <joseph@codesourcery.com>
25414
25415 [BZ #11174]
25416 * manual/users.texi (seteuid): Consistently use neweuid for
25417 argument name.
25418
16d2c631
JM
254192012-02-19 Joseph Myers <joseph@codesourcery.com>
25420
25421 [BZ #13704]
25422 * manual/nss.texi (Services in the NSS configuration): Correct
25423 list of services in example configuration file.
25424
cd837b09
NB
254252012-02-19 Nick Bowler <nbowler@draconx.ca>
25426
25427 [BZ #11322]
25428 * manual/arith.texi: Remove statements about negative zero
25429 behaving identically to zero.
25430
02c4bbad
JM
254312012-02-18 Joseph Myers <joseph@codesourcery.com>
25432
25433 [BZ #5993]
25434 * manual/install.texi: Do not document upgrading from libc5.
25435
366842e7
JM
254362012-02-18 Joseph Myers <joseph@codesourcery.com>
25437
25438 [BZ #4596]
25439 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25440
dd54084d
DM
254412012-02-18 David S. Miller <davem@davemloft.net>
25442
25443 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25444 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25445 %o7 across the call.
25446 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25447 instead.
25448 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25449 SETUP_PIC_REG_LEAF.
25450 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25451 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25452 * sysdeps/sparc/crtn.S: Likewise.
25453
2bcc53a3
UD
254542012-02-17 Ulrich Drepper <drepper@gmail.com>
25455
25456 * aout/Makefile: Remove.
25457
09c093b5
RK
254582012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25459
25460 [BZ #13058]
25461 * manual/examples/argp-ex1.c (main): Format definition in GNU
25462 style.
25463 * manual/examples/argp-ex2.c (main): Likewise.
25464 * manual/examples/argp-ex3.c (main): Likewise.
25465 * manual/examples/argp-ex4.c (main): Likewise.
25466 * manual/examples/longopt.c (main): Use new-style prototype
25467 definition.
25468 * manual/examples/strncat.c (main): Specify return type and use
25469 (void) for arguments.
25470 * manual/examples/subopt.c (main): Use char **argv argument.
25471
2ee633a2
JM
254722012-02-17 Joseph Myers <joseph@codesourcery.com>
25473
25474 [BZ #5077]
25475 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25476 rounding modes.
25477
0520adde
FB
254782012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25479
25480 [BZ #6907]
25481 * manual/string.texi (strchr): Change when strchrnul is
25482 recommended.
25483
3f4081cd
DGM
254842012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25485
25486 [BZ #174]
25487 * manual/locale.texi (setlocale): Document LOCPATH.
25488
d1b10e78
JM
254892012-02-17 Joseph Myers <joseph@codesourcery.com>
25490
25491 [BZ #10210]
25492 * manual/process.texi (execle): Move @dots{} before last argument.
25493
79c6869c
PB
254942012-02-17 Paul Bolle <pebolle@tiscali.nl>
25495
25496 [BZ #12047]
25497 * manual/charset.texi (Generic Charset Conversion): Fix typo
25498 (LC_TYPE -> LC_CTYPE).
25499
cc6e48bc
NB
255002012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25501
25502 [BZ #5805]
25503 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25504 (scalbnf): Likewise.
25505 (scalbnl): Likewise.
25506 (scalbln): Likewise.
25507 (scalblnf): Likewise.
25508 (scalblnl): Likewise.
25509 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25510 (vwarnx): Likewise.
25511 (verr): Likewise.
25512 (verrx): Likewise.
25513 * manual/filesys.texi (telldir): Use braces around return type.
25514 * manual/llio.texi (mmap): Add space after comma.
25515 (mmap64): Likewise.
25516 * manual/math.texi (jn): Use @var{} on parameter names.
25517 (jnf): Likewise.
25518 (jnl): Likewise.
25519 (yn): Likewise.
25520 (ynf): Likewise.
25521 (ynl): Likewise.
25522 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25523 line.
25524 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25525 "...".
25526 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25527 (sched_get_priority_max): Likewise.
25528 * manual/signal.texi (sigvec): Add space after comma.
25529 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25530 names.
25531 (if_indextoname): Likewise.
25532 (if_freenameindex): Likewise.
25533 (sendto): Use ',' instead of '.' in prototype.
25534 * manual/startup.texi (syscall): Use @dots{} instead of literal
25535 "...".
25536 * manual/stdio.texi (__fpending): Separate initial words of
25537 paragraph from @deftypefun line.
25538 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25539 "...".
25540 (vsyslog): Use @var{} on parameter names.
25541 * manual/terminal.texi (stty): Use @var{} on parameter names.
25542 * manual/users.texi (getutmp): Use @var{} on parameter names.
25543 (getutmpx): Likewise.
25544
5b23062f
JM
255452012-02-17 Joseph Myers <joseph@codesourcery.com>
25546
25547 [BZ #6884]
25548 * manual/stdio.texi (fopen): Fix typos in description of
25549 ",ccs=STRING".
25550
8dee4833
AJ
255512012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25552
25553 [BZ #4026]
25554 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25555 get clock_id definition.
25556
9078ce93
TS
255572012-02-17 Thomas Schwinge <thomas@schwinge.name>
25558
25559 [BZ #4822]
25560 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25561 (madvise): Cast every argument to void on its own.
25562
3835c55f
JM
255632012-02-17 Joseph Myers <joseph@codesourcery.com>
25564
25565 [BZ #9902]
25566 * manual/startup.texi (Exit Status): Fix typo.
25567
35c47e37
JM
255682012-02-17 Joseph Myers <joseph@codesourcery.com>
25569
25570 [BZ #10140]
25571 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25572 * manual/examples/argp-ex2.c: Likewise.
25573 * manual/examples/argp-ex3.c: Likewise.
25574
e3b69ca7
RH
255752012-02-16 Richard Henderson <rth@redhat.com>
25576
25577 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25578 * sysdeps/s390/s390-32/initfini.c: Remove.
25579 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25580 * sysdeps/s390/s390-64/initfini.c: Remove.
25581
df83af67
KK
255822012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25583
25584 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25585 compiler output for sysdeps/generic/initfini.c.
25586 * sysdeps/sh/elf/initfini.c: Remove file.
25587
f63f3380
DM
255882012-02-16 David S. Miller <davem@davemloft.net>
25589
fb59b3a4
DM
25590 [BZ #11494]
25591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25592
f63f3380
DM
25593 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25594 * sysdeps/sparc/crti.S: New file.
25595 * sysdeps/sparc/crtn.S: New file.
25596 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25597 * sysdeps/sparc/sparc64/Makefile: Likewise.
25598
df6a4a4a
MF
255992012-02-15 Mike Frysinger <vapier@gentoo.org>
25600
6dd8f3dc 25601 [BZ #3335]
df6a4a4a
MF
25602 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25603
1cac7236
RM
256042012-02-15 Roland McGrath <roland@hack.frob.com>
25605
d2c736f8
RM
25606 [BZ #4822]
25607 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25608
1cac7236
RM
25609 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25610 (write, read, close): Likewise.
25611 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25612
8e475601
JM
256132012-02-15 Joseph Myers <joseph@codesourcery.com>
25614
25615 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25616 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25617 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25618 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25619 <bits/signalfd.h>.
25620 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25622 bits/signalfd.h.
25623
ed656b40
MP
256242012-02-14 Marek Polacek <polacek@redhat.com>
25625
25626 * sysdeps/x86_64/crti.S: New file.
25627 * sysdeps/x86_64/crtn.S: New file.
25628 * sysdeps/x86_64/elf/initfini.c: Remove file.
25629
2a979d3a
JM
256302012-02-13 Joseph Myers <joseph@codesourcery.com>
25631
25632 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25633 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25634 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25635 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25636 <bits/inotify.h>.
25637 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25638 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25639 bits/inotify.h.
25640
2a418ac3
JM
256412012-02-13 Joseph Myers <joseph@codesourcery.com>
25642
25643 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25644 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25645 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25646 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25647 <bits/eventfd.h>.
25648 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25649 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25650 bits/eventfd.h.
25651
fb779be7
TS
256522012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25653
e19e83c5
RM
25654 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25655 __feraiseexcept instead of feraiseexcept.
7c35ffed 25656
fb779be7
TS
25657 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25658 nanosleep invocations.
25659 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25660 strings, and add error checking for a nanosleep invocations.
25661
59ba27a6
PE
256622012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25663
25664 Replace FSF snail mail address with URLs, as per GNU coding standards.
25665 Most of the snail mail addresses were wrong anyway, and omitting
25666 them makes the source code easier to maintain. Almost all of the
25667 changes are to license notices and to locale LC_IDENTIFICATION
25668 addresses, except for this one:
25669 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25670 not its snail mail address.
25671
57b957eb
RH
256722012-02-09 Richard Henderson <rth@twiddle.net>
25673
af850b1c
RH
25674 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25675 of kernel-features.h.
25676
57b957eb
RH
25677 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25678
6b73181a
MP
256792012-02-08 Marek Polacek <polacek@redhat.com>
25680
25681 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25682 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25683 * sysdeps/gnu/_G_config.h: Likewise.
25684 * sysdeps/generic/_G_config.h: Likewise.
25685
26ecc33a
AS
256862012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25687
6c6dbc63
AS
25688 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25689 tests.
25690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25691
e216c012
AS
25692 * sysdeps/powerpc/powerpc32/crti.S: New file.
25693 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25694 * sysdeps/powerpc/powerpc64/crti.S: New file.
25695 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25696
26ecc33a
AS
25697 * Makeconfig (have-initfini): Don't set.
25698 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25699 * configure.in (nopic_initfini): Don't substitute.
25700 * config.h.in (HAVE_INITFINI): Don't #undef.
25701 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25702 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25703
3add8e13
JM
257042012-02-08 Joseph Myers <joseph@codesourcery.com>
25705
25706 Support crti.S and crtn.S provided directly by architectures.
25707 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25708 [crti.S in sysdirs] (omit-deps): Likewise.
25709 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25710 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25711 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25712 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25713 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25714 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25715 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25716 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25717 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25718 compiler output for sysdeps/generic/initfini.c.
25719 * sysdeps/i386/elf/Makefile: Remove file.
25720 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25721
a22f12b4
MP
257222012-02-07 Marek Polacek <polacek@redhat.com>
25723
25724 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25725 * sysdeps/gnu/_G_config.h: Likewise.
25726 * sysdeps/mach/hurd/_G_config.h: Likewise.
25727
148cf100
MP
257282012-02-07 Marek Polacek <polacek@redhat.com>
25729
25730 * math/Makefile (tests): Add tst-CMPLX2.
25731 * math/tst-CMPLX2.c: New file.
25732
cfdc0dd7
AS
257332012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25734
84ba42c4
AS
25735 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25736
cfdc0dd7
AS
25737 * math/libm-test.inc (jn_test): Add missing L suffix.
25738
622c86f4
MP
257392012-02-06 Marek Polacek <polacek@redhat.com>
25740
25741 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25742 * sysdeps/i386/fpu/e_powf.S: Likewise.
25743 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25744 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25745 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25746 * sysdeps/i386/fpu/e_pow.S: Likewise.
25747 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25748 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25749 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25750 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25751 * sysdeps/i386/fpu/e_log2.S: Likewise.
25752 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25753 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25754 * sysdeps/i386/fpu/e_powl.S: Likewise.
25755 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25756 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25757 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25758 * sysdeps/i386/fpu/e_logl.S: Likewise.
25759 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25760 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25761 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25762 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25763 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25764 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25765 * sysdeps/i386/fpu/e_log.S: Likewise.
25766 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25767 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25768 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25769 * sysdeps/i386/fpu/e_logf.S: Likewise.
25770 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25771 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25772 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25773 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25774 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25775 * sysdeps/i386/fpu/e_log10.S: Likewise.
25776 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25777 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25778 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25779 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25780 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25781 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25782 * sysdeps/i386/asm-syntax.h: Likewise.
25783 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25784 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25785 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25786 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25787 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25788 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25789 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25790 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25791 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25792 * sysdeps/powerpc/sysdep.h: Likewise.
25793 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25794 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25795
d4a54ac6
JM
257962012-02-06 Joseph Myers <joseph@codesourcery.com>
25797
25798 [BZ #411]
25799 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25800
314054ea
JM
258012012-02-06 Joseph Myers <joseph@codesourcery.com>
25802
25803 * sysdeps/i386/sysdep.h: Include <features.h>.
25804 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25805 version.
25806
d8e0ca50
JM
258072012-02-05 Joseph Myers <joseph@codesourcery.com>
25808
25809 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25810 Define.
25811 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25812 LOAD_PIC_REG_STR.
25813
b1da7dd9
JM
258142012-02-03 Joseph Myers <joseph@codesourcery.com>
25815
25816 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25817 (SETUP_PIC_REG): Use GET_PC_THUNK.
25818 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25819 macro.
25820
9a1d9254
JM
258212012-02-03 Joseph Myers <joseph@codesourcery.com>
25822
25823 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25824 for non-PIC compilation.
25825 (SETUP_PIC_REG): Add .p2align directive.
25826 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25827 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25828 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25829 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25830 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25831 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25832 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25833 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25834 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25835 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25836 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25837 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25838 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25839 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25840 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25841 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25842 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25843 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25844 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25845 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25846 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25847 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25848 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25849 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25850 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25851 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25852 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25853 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25854 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25855 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25856 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25857 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25858 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25859 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25860 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25861 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25862 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25863 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25864 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25865 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25866 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25867
65dc3b75
JM
258682012-02-03 Joseph Myers <joseph@codesourcery.com>
25869
25870 * math/tst-CMPLX.c: Include <stdio.h>.
25871
d55bf177
JM
258722012-01-31 Joseph Myers <joseph@codesourcery.com>
25873
25874 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25875 float.
25876 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25877 * sysdeps/sparc/bits/mathdef.h: Likewise.
25878
69db4f8f
MP
258792012-01-31 Marek Polacek <polacek@redhat.com>
25880
25881 * libio/libio.h: Don't define _PARAMS.
25882 * locale/programs/config.h: Don't define PARAMS.
25883 * stdlib/strtol_l.c: Likewise.
25884 (__strtol_l): Remove PARAMS from the prototype.
25885
41b81892
UD
258862012-01-31 Ulrich Drepper <drepper@gmail.com>
25887
3b49edc0
UD
25888 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25889 names. Just use the correct names. Remove unnecessary wrapper
25890 functions.
25891 * malloc/arena.c: Likewise.
25892 * malloc/hooks.c: Likewise.
25893
41b81892
UD
25894 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25895 ARENA_TEST says not to. Simplify test for creation of a new arena.
25896 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25897
27a25b6e
UD
258982012-01-30 Ulrich Drepper <drepper@gmail.com>
25899
25900 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25901 into tail calls.
25902 (update_get_addr): New function.
25903 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25904 GET_ADDR_MODULE parameter.
25905
c8a89e7d
JM
259062012-01-30 Joseph Myers <joseph@codesourcery.com>
25907
25908 * crypt/cert.c: Remove __STDC__ conditionals.
25909 * crypt/crypt-entry.c: Likewise.
25910 * crypt/crypt_util.c: Likewise.
25911 * libio/filedoalloc.c: Likewise.
25912 * libio/fileops.c: Likewise.
25913 * libio/genops.c: Likewise.
25914 * libio/iofclose.c: Likewise.
25915 * libio/iofdopen.c: Likewise.
25916 * libio/iofopen.c: Likewise.
25917 * libio/iofopen64.c: Likewise.
25918 * libio/iogetdelim.c: Likewise.
25919 * libio/iopopen.c: Likewise.
25920 * libio/obprintf.c: Likewise.
25921 * libio/oldfileops.c: Likewise.
25922 * libio/oldiofclose.c: Likewise.
25923 * libio/oldiofdopen.c: Likewise.
25924 * libio/oldiofopen.c: Likewise.
25925 * libio/oldiopopen.c: Likewise.
25926 * libio/wfiledoalloc.c: Likewise.
25927 * libio/wgenops.c: Likewise.
25928 * locale/programs/xmalloc.c: Likewise.
25929 * misc/syslog.c: Likewise.
25930 * stdio-common/xbug.c: Likewise.
25931 * string/memchr.c: Likewise.
25932 * string/memcmp.c: Likewise.
25933 * string/memrchr.c: Likewise.
25934 * string/rawmemchr.c: Likewise.
25935 * sysdeps/posix/getcwd.c: Likewise.
25936 * time/strftime_l.c: Likewise.
25937
3b100462
JM
259382012-01-30 Joseph Myers <joseph@codesourcery.com>
25939
25940 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25941 * config.make.in (config-cflags-sse2avx): Define.
25942 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25943 Fix typo.
25944
607998af
CM
259452012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25946
25947 * scripts/config.guess: Update from upstream config git repository.
25948 * scripts/config.sub: Likewise.
25949
3601428f
CM
259502012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25951
3ac8b282
CM
25952 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25953 (EM_NUM): Update.
25954 (R_TILEPRO_*, R_TILEGX_*): New macros.
25955
e034841e
CM
25956 * scripts/firstversions.awk: Fix bug in version range handling.
25957
540d7568
CM
25958 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25959
3601428f
CM
25960 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25961
463de862
CM
25962 * include/sys/epoll.h: New file.
25963 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25964 libc_hidden_def.
25965
73139a76
UD
259662012-01-28 Ulrich Drepper <drepper@gmail.com>
25967
96bc5b45
UD
25968 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25969 Avoid unnecessary __WORDSIZE == 64 test.
25970 (fmaxf): Use VEX format if possible.
25971 (fmax): Likewise.
25972 (fminf): Likewise.
25973 (fmin): Likewise.
25974
56f6f6a2
UD
25975 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25976 * math/math_private.h: Remove libc_fegetround* and
25977 libc_fesetround*.
25978 * sysdeps/i386/configure.in: Check for -msse2avx.
25979 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25980 also if SSE2AVX is defined.
25981 Remove libc_fegetround* and libc_fesetround*.
25982 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25983 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25984 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25985 of HAS_YMM_USABLE.
25986 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25987 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25988 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25989 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25990 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25991
73139a76
UD
25992 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25993
d73f93a4
AZ
259942012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25995
25996 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25997 size is not set.
25998 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25999
6ee65ed6
UD
260002012-01-27 Ulrich Drepper <drepper@gmail.com>
26001
26002 [BZ #13618]
26003 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26004 relocation.
26005 * Makeconfig (libm): Define.
26006 * elf/Makefile: Add rules to build and run tst-relsort1.
26007 * elf/tst-relsort1.c: New file.
26008 * elf/tst-relsort1mod1.c: New file.
26009 * elf/tst-relsort1mod2.c: New file.
26010
8db21882
JM
260112012-01-27 Joseph Myers <joseph@codesourcery.com>
26012
26013 * math/s_ldexp.c: Remove __STDC__ conditionals.
26014 * math/s_ldexpf.c: Likewise.
26015 * math/s_ldexpl.c: Likewise.
26016 * math/s_nextafter.c: Likewise.
26017 * math/s_nexttowardf.c: Likewise.
26018 * math/s_significand.c: Likewise.
26019 * math/s_significandf.c: Likewise.
26020 * math/s_significandl.c: Likewise.
26021 * math/w_jnl.c: Likewise.
26022 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26023 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26024 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26025 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26026 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26027 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26028 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26029 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26030 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26031 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26032 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26033 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26034 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26035 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26036 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26037 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26038 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26039 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26040 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26041 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26042 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26043 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26044 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26045 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26046 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26047 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26048 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26049 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26050 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26051 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26052 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26053 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26054 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26055 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26056 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26057 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26058 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26059 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26060 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26061 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26062 * sysdeps/ieee754/k_standard.c: Likewise.
26063 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26064 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26065 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26066 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26067 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26068 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26069 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26070 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26071 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26072 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26073 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26074 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26075 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26076 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26077 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26078 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26079 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26080 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26081 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26082 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26083 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26084 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26085 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26086 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26087 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26088 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26089 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26090 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26091 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26092 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26093 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26094 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26095 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26096 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26097 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26098 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26099 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26100 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26101 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26102 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26103 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26104 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26105 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26106 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26107 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26108 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26109 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26110 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26111 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26112 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26113 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26114 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26115 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26116 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26117 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26118 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26119 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26120 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26121 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26122 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26123 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26124 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26125 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26126 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26127 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26128 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26129 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26130 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26131 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26132 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26133 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26134 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26135 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26136 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26137 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26138 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26139 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26140 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26141 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26142 * sysdeps/ieee754/s_matherr.c: Likewise.
26143 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26144 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26145 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26146 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26147
965a54a4
JM
261482012-01-26 Joseph Myers <joseph@codesourcery.com>
26149
26150 * crypt/md5.h: Remove __STDC__ conditionals.
26151 * libio/libioP.h: Likewise.
26152 * locale/programs/config.h: Likewise.
26153 * sysdeps/generic/sysdep.h: Likewise.
26154 * sysdeps/i386/asm-syntax.h: Likewise.
26155 * sysdeps/s390/asm-syntax.h: Likewise.
26156 * sysdeps/unix/sysdep.h: Likewise.
26157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26159
7071ad79
JM
261602012-01-26 Joseph Myers <joseph@codesourcery.com>
26161
26162 * libio/libio.h: Remove __STDC__ conditionals.
26163 * malloc/obstack.h: Likewise.
26164 * math/complex.h: Likewise.
26165 * math/math.h: Likewise.
26166 * sysdeps/generic/_G_config.h: Likewise.
26167 * sysdeps/gnu/_G_config.h: Likewise.
26168 * sysdeps/mach/hurd/_G_config.h: Likewise.
26169 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26170 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26171 * sysdeps/sparc/bits/mathdef.h: Likewise.
26172
afc5ed09
UD
261732012-01-26 Ulrich Drepper <drepper@gmail.com>
26174
26175 [BZ #13583]
26176 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 26177 Clean up HAS_* macros.
afc5ed09 26178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
26179 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26180 possible.
26181 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26182 HAS_AVX.
26183 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26184 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26185 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26186 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26187 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26188
bdb6de1d
JM
261892012-01-25 Joseph Myers <joseph@codesourcery.com>
26190
26191 * elf/tst-unique3.cc (gets): Remove declaration.
26192 * elf/tst-unique3lib.cc (gets): Likewise.
26193 * elf/tst-unique3lib2.cc (gets): Likewise.
26194 * elf/tst-unique4.cc (gets): Likewise.
26195
b15549e6
UD
261962012-01-24 Ulrich Drepper <drepper@gmail.com>
26197
26198 * include/stdio.h: Add C++ protection. Add gets declarations and
26199 definitions.
26200 * debug/tst-chk1.c: Don't declare gets here.
26201 * stdio-common/tst-gets.c: Likewise.
26202
a037381f
JM
262032012-01-24 Joseph Myers <joseph@codesourcery.com>
26204
26205 * posix/glob: Remove directory.
26206
f1d4aa75
JM
262072012-01-24 Joseph Myers <joseph@codesourcery.com>
26208
26209 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26210
81c0c964
PT
262112012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26212
26213 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26214 of the non-standard EPFNOSUPPORT.
26215
0ea698ae
ST
262162011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26217
26218 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26219 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26220 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26221
d220b117
UD
262222012-01-21 Ulrich Drepper <drepper@gmail.com>
26223
26224 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26225
3e1aa84e
UD
262262012-01-20 Ulrich Drepper <drepper@gmail.com>
26227
26228 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26229 transient errors.
26230 * nscd/grpcache.c (cache_addgr): Likewise.
26231 * nscd/hstcache.c (cache_addhst): Likewise.
26232 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26233 * nscd/pwdcache.c (cache_addpw): Likewise.
26234 * nscd/servicescache.c (cache_addserv): Likewise.
26235
400aa020
UD
262362012-01-16 Ulrich Drepper <drepper@gmail.com>
26237
d77e7869
UD
26238 * malloc/malloc.c: Various cleanups.
26239 * malloc/hooks.c: Likewise.
26240
400aa020
UD
26241 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26242 * stdlib/bug-fmtmsg1.c: New file.
26243
26244 * stdlib/fmtmsg.c (init): Add missing unlock.
26245 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26246
e0a309cf
MP
262472012-01-12 Marek Polacek <polacek@redhat.com>
26248
26249 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26250 and _GNU_SOURCE.
26251
929d11c7
WS
262522012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26253
26254 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26255 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26256 macro to ensure uniqueness of label name.
26257 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26258 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26259
41d0e869
UD
262602012-01-11 Ulrich Drepper <drepper@gmail.com>
26261
0cc5ed3b
UD
26262 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26263
41d0e869
UD
26264 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26265 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26266 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26268
a47a831a
UD
262692012-01-10 Ulrich Drepper <drepper@gmail.com>
26270
daa891c0
UD
26271 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26272
26273 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26274 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26275 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26276
e58ef0f2
UD
26277 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26278
a47a831a 26279 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26280 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26281 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26282 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26283
26284 * math/bits/math-finite.h: Add ldexp support.
26285
a0bfc9c7
MP
262862012-01-10 Marek Polacek <polacek@redhat.com>
26287
26288 * locale/programs/localedef.h (show_archive_content): Add noreturn
26289 attribute.
26290
d6e97a1d
UD
262912012-01-09 Ulrich Drepper <drepper@gmail.com>
26292
26293 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26294
d5835c26
UD
262952012-01-08 Ulrich Drepper <drepper@gmail.com>
26296
e5f484c6
UD
26297 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26298
d5835c26
UD
26299 * io/Makefile (headers): Add bits/poll2.h.
26300
d1f741e9
WS
263012011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26302
26303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26304 typo #include statement.
26305
ec09c1c4
UD
263062012-01-08 Ulrich Drepper <drepper@gmail.com>
26307
26308 * include/sys/cdefs.h: Define __attribute_alloc_size.
26309 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26310 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26311 * elf/pldd.c: Likewise.
26312 * iconv/iconv_charmap.c: Likewise.
26313 * iconv/iconvconfig.c: Likewise.
26314 * iconv/strtab.c: Likewise.
26315 * locale/programs/locale.c: Likewise.
26316 * locale/programs/localedef.h: Likewise.
26317 * locale/programs/simple-hash.c: Likewise.
26318 * nscd/nscd.h: Likewise.
26319 * nss/makedb.c: Likewise.
26320 * sysdeps/generic/ldconfig.h: Likewise.
26321 * locale/programs/localedef.c: Remove xmalloc prototype.
26322 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26323
20b38e03
PP
263242012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26325
26326 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26327 appropriate.
26328
a0da5fe1
UD
263292012-01-08 Ulrich Drepper <drepper@gmail.com>
26330
1d5a644a 26331 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26332 * math/tst-CMPLX.c: New file.
1d5a644a 26333
8784a6db
UD
26334 * math/complex.h (CMPLXL): Fix typo.
26335
d9a216c0
UD
26336 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26337 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26338 GLIBC_2.16.
26339 * debug/tst-chk1.c: Add poll and ppoll tests.
26340 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26341 * include/sys/poll.h: Add hidden proto for ppoll.
26342 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26343 * sysdeps/mach/hurd/ppoll.c: Likewise.
26344 * io/ppoll.c: Likewise.
26345 * debug/poll_chk.c: New file.
26346 * debug/ppoll_chk.c: New file.
26347 * include/bits/poll2.h: New file.
26348 * io/bits/poll2.h: New file.
26349
ac097f5c
UD
26350 [BZ #1350]
26351 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26352
2119dcfa
UD
26353 * configure.in: static is always set to yes. Remove.
26354 * config.make.in: Don't set build-static.
26355 * Makeconfig: Remove use of build-static.
26356 * dlfcn/Makefile: Likewise.
26357 * elf/Makefile: Likewise.
26358 * math/Makefile: Likewise.
26359 * misc/Makefile: Likewise.
26360 * nptl/Makefile: Likewise.
26361 * sysdeps/mach/hurd/Makefile: Likewise.
26362
121766a9
UD
26363 * configure.in: PWD_P is not used anymore.
26364 * config.make.in: Remove PWD_P entry.
26365
51a1d39c 26366 * configure.in: Remove last remnants of RANLIB.
8720d066 26367 No need to check for signed size_t anymore.
215f4bdc
UD
26368 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26369 and IA-64.
3857022a 26370 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26371 * aclocal.m4: Likewise.
26372
d3ed7225
UD
26373 * wcsmbs/mbrtoc16.c: Implement using towc function.
26374 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26375 * wcsmbs/wcsmbsload.c: Likewise.
26376 * iconv/gconv_simple.c: Likewise.
26377 * iconv/gconv_int.h: Likewise.
26378 * iconv/gconv_builtin.h: Likewise.
26379 * iconv/iconv_prog.c: Remove CHAR16 handling.
26380
26381 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26382
26383 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26384
a0da5fe1
UD
26385 * configure.in: Remove --with-elf and --enable-bounded options.
26386 Dont set base_machine for ia64. More non-ELF conditions removed.
26387 Remove testing and setting of leading underscore information.
26388 * config.make.in (build-bounded): Set to no.
26389 * config.h.in: Remove NO_UNDERSCORES entry.
26390 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26391 them.
26392 * csu/start.c: Remove !NO_UNDERSCORE code.
26393 * locale/localeinfo.h: Likewise.
26394 * sysdeps/generic/machine-gmon.h: Likewise.
26395 * sysdeps/generic/sysdep.h: Likewise.
26396 * sysdeps/i386/sysdep.h: Likewise.
26397 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26398 * sysdeps/mach/sysdep.h: Likewise.
26399 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26400 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26401 * sysdeps/sh/sysdep.h: Likewise.
26402 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26403 * sysdeps/unix/i386/sysdep.S: Likewise.
26404 * sysdeps/unix/sparc/start.c: Likewise.
26405 * sysdeps/unix/sparc/sysdep.S: Likewise.
26406 * sysdeps/unix/sparc/sysdep.h: Likewise.
26407 * sysdeps/unix/start.c: Likewise.
26408 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26409 * sysdeps/x86_64/sysdep.h: Likewise.
26410
df78418a
UD
264112012-01-07 Ulrich Drepper <drepper@gmail.com>
26412
a784e502
UD
26413 [BZ #13553]
26414 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26415 for non-gcc.
26416 * argp/argp-fmtstream.h: Use const instead __const.
26417 * argp/argp.h: Likewise.
26418 * assert/assert.h: Likewise.
26419 * bits/fenv.h: Likewise.
26420 * bits/sched.h: Likewise.
26421 * bits/sigset.h: Likewise.
26422 * bits/sigthread.h: Likewise.
26423 * catgets/nl_types.h: Likewise.
26424 * conform/data/pthread.h-data: Likewise.
26425 * crypt/crypt-private.h: Likewise.
26426 * crypt/crypt.h: Likewise.
26427 * crypt/crypt_util.c: Likewise.
26428 * ctype/ctype.h: Likewise.
26429 * debug/execinfo.h: Likewise.
26430 * debug/mbsnrtowcs_chk.c: Likewise.
26431 * debug/mbsrtowcs_chk.c: Likewise.
26432 * debug/wcsnrtombs_chk.c: Likewise.
26433 * debug/wcsrtombs_chk.c: Likewise.
26434 * debug/wcstombs_chk.c: Likewise.
26435 * dirent/dirent.h: Likewise.
26436 * dlfcn/dlfcn.h: Likewise.
26437 * elf/neededtest4.c: Likewise.
26438 * grp/grp.h: Likewise.
26439 * gshadow/gshadow.h: Likewise.
26440 * iconv/gconv.h: Likewise.
26441 * iconv/gconv_int.h: Likewise.
26442 * iconv/gconv_simple.c: Likewise.
26443 * iconv/iconv.h: Likewise.
26444 * iconv/loop.c: Likewise.
26445 * iconv/skeleton.c: Likewise.
26446 * include/aio.h: Likewise.
26447 * include/aliases.h: Likewise.
26448 * include/argz.h: Likewise.
26449 * include/arpa/inet.h: Likewise.
26450 * include/assert.h: Likewise.
26451 * include/dirent.h: Likewise.
26452 * include/dlfcn.h: Likewise.
26453 * include/execinfo.h: Likewise.
26454 * include/fcntl.h: Likewise.
26455 * include/fenv.h: Likewise.
26456 * include/glob.h: Likewise.
26457 * include/grp.h: Likewise.
26458 * include/libintl.h: Likewise.
26459 * include/mntent.h: Likewise.
26460 * include/netdb.h: Likewise.
26461 * include/pwd.h: Likewise.
26462 * include/rpc/netdb.h: Likewise.
26463 * include/sched.h: Likewise.
26464 * include/search.h: Likewise.
26465 * include/shadow.h: Likewise.
26466 * include/signal.h: Likewise.
26467 * include/stdio.h: Likewise.
26468 * include/stdlib.h: Likewise.
26469 * include/string.h: Likewise.
26470 * include/sys/socket.h: Likewise.
26471 * include/sys/stat.h: Likewise.
26472 * include/sys/statfs.h: Likewise.
26473 * include/sys/statvfs.h: Likewise.
26474 * include/sys/syslog.h: Likewise.
26475 * include/sys/time.h: Likewise.
26476 * include/sys/uio.h: Likewise.
26477 * include/time.h: Likewise.
26478 * include/unistd.h: Likewise.
26479 * include/utmp.h: Likewise.
26480 * include/wchar.h: Likewise.
26481 * include/wctype.h: Likewise.
26482 * inet/aliases.h: Likewise.
26483 * inet/arpa/inet.h: Likewise.
26484 * inet/netinet/ether.h: Likewise.
26485 * inet/netinet/in.h: Likewise.
26486 * intl/libintl.h: Likewise.
26487 * io/bits/fcntl2.h: Likewise.
26488 * io/fcntl.h: Likewise.
26489 * io/ftw.h: Likewise.
26490 * io/sys/poll.h: Likewise.
26491 * io/sys/stat.h: Likewise.
26492 * io/sys/statfs.h: Likewise.
26493 * io/sys/statvfs.h: Likewise.
26494 * io/utime.h: Likewise.
26495 * libio/bits/stdio.h: Likewise.
26496 * libio/bits/stdio2.h: Likewise.
26497 * libio/libio.h: Likewise.
26498 * libio/libioP.h: Likewise.
26499 * libio/stdio.h: Likewise.
26500 * locale/lc-ctype.c: Likewise.
26501 * locale/locale.h: Likewise.
26502 * login/utmp.h: Likewise.
26503 * malloc/arena.c: Likewise.
26504 * malloc/malloc.c: Likewise.
26505 * malloc/malloc.h: Likewise.
26506 * malloc/mcheck.c: Likewise.
26507 * malloc/mtrace.c: Likewise.
26508 * math/bits/mathcalls.h: Likewise.
26509 * math/fenv.h: Likewise.
26510 * math/math_private.h: Likewise.
26511 * misc/bits/error.h: Likewise.
26512 * misc/bits/syslog.h: Likewise.
26513 * misc/err.h: Likewise.
26514 * misc/error.h: Likewise.
26515 * misc/fstab.h: Likewise.
26516 * misc/mntent.h: Likewise.
26517 * misc/regexp.h: Likewise.
26518 * misc/search.h: Likewise.
26519 * misc/sgtty.h: Likewise.
26520 * misc/sys/mman.h: Likewise.
26521 * misc/sys/syslog.h: Likewise.
26522 * misc/sys/uio.h: Likewise.
26523 * misc/sys/xattr.h: Likewise.
26524 * misc/ttyent.h: Likewise.
26525 * nis/rpcsvc/ypclnt.h: Likewise.
26526 * nss/nss.h: Likewise.
26527 * posix/bits/unistd.h: Likewise.
26528 * posix/fnmatch.h: Likewise.
26529 * posix/glob.h: Likewise.
26530 * posix/sched.h: Likewise.
26531 * posix/spawn.h: Likewise.
26532 * posix/sys/wait.h: Likewise.
26533 * posix/unistd.h: Likewise.
26534 * posix/wordexp.h: Likewise.
26535 * pwd/pwd.h: Likewise.
26536 * resolv/netdb.h: Likewise.
26537 * resource/sys/resource.h: Likewise.
26538 * rt/aio.h: Likewise.
26539 * rt/bits/mqueue2.h: Likewise.
26540 * rt/mqueue.h: Likewise.
26541 * shadow/shadow.h: Likewise.
26542 * signal/signal.h: Likewise.
26543 * socket/send.c: Likewise.
26544 * socket/sendto.c: Likewise.
26545 * socket/sys/socket.h: Likewise.
26546 * stdio-common/printf.h: Likewise.
26547 * stdlib/bits/stdlib.h: Likewise.
26548 * stdlib/fmtmsg.h: Likewise.
26549 * stdlib/monetary.h: Likewise.
26550 * stdlib/stdlib.h: Likewise.
26551 * stdlib/ucontext.h: Likewise.
26552 * streams/stropts.h: Likewise.
26553 * string/argz.h: Likewise.
26554 * string/bits/string2.h: Likewise.
26555 * string/string.h: Likewise.
26556 * string/strings.h: Likewise.
26557 * sunrpc/rpc/auth.h: Likewise.
26558 * sunrpc/rpc/auth_des.h: Likewise.
26559 * sunrpc/rpc/clnt.h: Likewise.
26560 * sunrpc/rpc/netdb.h: Likewise.
26561 * sunrpc/rpc/pmap_clnt.h: Likewise.
26562 * sunrpc/rpc/xdr.h: Likewise.
26563 * sysdeps/generic/inttypes.h: Likewise.
26564 * sysdeps/generic/net/if.h: Likewise.
26565 * sysdeps/generic/sys/swap.h: Likewise.
26566 * sysdeps/gnu/net/if.h: Likewise.
26567 * sysdeps/gnu/utmpx.h: Likewise.
26568 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26569 * sysdeps/i386/i486/bits/string.h: Likewise.
26570 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26571 * sysdeps/s390/bits/string.h: Likewise.
26572 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26573 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26574 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26575 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26576 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26577 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26578 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26579 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26580 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26581 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26582 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26583 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26584 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26585 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26586 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26587 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26588 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26589 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26590 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26591 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26592 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26593 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26594 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26595 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26596 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26597 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26598 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26599 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26600 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26601 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26602 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26603 * sysvipc/sys/ipc.h: Likewise.
26604 * sysvipc/sys/msg.h: Likewise.
26605 * sysvipc/sys/sem.h: Likewise.
26606 * sysvipc/sys/shm.h: Likewise.
26607 * termios/termios.h: Likewise.
26608 * time/sys/time.h: Likewise.
26609 * time/time.h: Likewise.
26610 * wcsmbs/bits/wchar2.h: Likewise.
26611 * wcsmbs/uchar.h: Likewise.
26612 * wcsmbs/wchar.h: Likewise.
26613 * wctype/wctype.h: Likewise.
26614
0269750c
UD
26615 [BZ #13551]
26616 * Makeconfig: Remove all but ELF support including AIX support.
26617 * Makerules: Likewise.
26618 * config.h.in: Likewise.
26619 * config.make.in: Likewise.
26620 * configure: Likewise.
26621 * configure.in: Likewise.
26622 * csu/Makefile: Likewise.
26623 * csu/version.c: Likewise.
26624 * debug/Makefile: Likewise.
26625 * dlfcn/Makefile: Likewise.
26626 * elf/Makefile: Likewise.
26627 * extra-lib.mk: Likewise.
26628 * iconv/Makefile: Likewise.
26629 * include/libc-symbols.h: Likewise.
26630 * include/shlib-compat.h: Likewise.
26631 * resolv/Makefile: Likewise.
26632 * resolv/res_libc.c: Likewise.
26633 * rt/Makefile: Likewise.
26634 * sysdeps/i386/asm-syntax.h: Likewise.
26635 * sysdeps/i386/sysdep.h: Likewise.
26636 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26637 * sysdeps/mach/sysdep.h: Likewise.
26638 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26639 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26640 * sysdeps/s390/asm-syntax.h: Likewise.
26641 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26642 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26643 * sysdeps/sh/sysdep.h: Likewise.
26644 * sysdeps/unix/sparc/sysdep.h: Likewise.
26645 * sysdeps/wordsize-32/divdi3.c: Likewise.
26646 * sysdeps/x86_64/sysdep.h: Likewise.
26647
00bbd29b
UD
26648 * argp/Versions: Remove _argp_unlock_xxx.
26649
26650 [BZ #13559]
26651 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26652 * abilist/libBrokenLocale.abilist: Likewise.
26653 * abilist/libanl.abilist: Likewise.
26654 * abilist/libc.abilist: Likewise.
26655 * abilist/libcrypt.abilist: Likewise.
26656 * abilist/libdl.abilist: Likewise.
26657 * abilist/libm.abilist: Likewise.
26658 * abilist/libnsl.abilist: Likewise.
26659 * abilist/libpthread.abilist: Likewise.
26660 * abilist/libresolv.abilist: Likewise.
26661 * abilist/librt.abilist: Likewise.
26662 * abilist/libthread_db.abilist: Likewise.
26663 * abilist/libutil.abilist: Likewise.
26664 * abilist/libnss_db.abilist: New file.
26665
26666 * scripts/abilist.awk: Add support for indirect functions.
26667
a2693a0e
UD
26668 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26669
3f05895f
UD
26670 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26671
ecb6fb48
UD
26672 * shlib-versions: Remove entries for ports architectures.
26673
664f8cb9
UD
26674 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26675 files in ports.
26676 * elf/stackguard-macros.h: Remove support for IA-64.
26677 * elf/tst-auditmod1.c: Likewise.
26678 * sysdeps/generic/ldsodefs.h: Likewise.
26679
7ae81d88
UD
26680 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26681 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26682 configure files.
26683
bdeba135
UD
26684 [BZ #13552]
26685 * configure.in: Remove --enable-omitfp support.
26686 * FAQ.in: Adjust.
26687 * config.make.in: Likewise.
26688 * Makeconfig: Likewise.
26689 * manual/install.texi: Likewise.
26690
d75a0a62
UD
26691 In case anyone cares, the IA-64 architecture could move to ports.
26692 * sysdeps/ia64/*: Removed.
26693 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26694 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26695
dcc9756b
UD
26696 [BZ #13555]
26697 * configure.in: Remove entries for unsupported architectures.
26698
d3761ebc 26699 [BZ #13533]
9954432e
UD
26700 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26701 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26702 routines.
26703 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26704 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26705 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26706 fall back to using wcrtomb.
26707 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26708 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26709 renaming.
26710 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26711 * wcsmbs/tst-c16c32-1.c: New file.
26712
26713 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26714 local variable.
26715
c3a87236
UD
26716 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26717
28926a1b
UD
26718 * elf/tst-unique3.cc: Add explicit declaration of gets.
26719 * elf/tst-unique3lib.cc: Likewise.
26720 * elf/tst-unique3lib2.cc: Likewise.
26721 * elf/tst-unique4.cc: Likewise.
26722
df78418a
UD
26723 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26724
8ecd6b2a
JM
267252012-01-06 Joseph Myers <joseph@codesourcery.com>
26726
26727 [BZ #13566]
26728 * assert/assert.h (static_assert): Don't define for C++.
26729 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26730 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26731
9f115170
UD
267322012-01-03 Ulrich Drepper <drepper@gmail.com>
26733
5e0d0300
UD
26734 * iconv/loop.c (single loop): Fix assertion in storing of
26735 remaining bytes.
26736
9f115170
UD
26737 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26738
81fb02b0
UD
267392012-01-01 Ulrich Drepper <drepper@gmail.com>
26740
26741 * posix/getconf.c: Update copyright year.
26742 * nss/getent.c: Likewise.
a316c1f6 26743 * nss/makedb.c: Likewise.
81fb02b0
UD
26744 * iconv/iconvconfig.c: Likewise.
26745 * iconv/iconv_prog.c: Likewise.
26746 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26747 * elf/pldd.c: Likewise.
26748 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26749 * catgets/gencat.c: Likewise.
26750 * csu/version.c: Likewise.
26751 * elf/ldd.bash.in: Likewise.
26752 * elf/sprof.c (print_version): Likewise.
26753 * locale/programs/locale.c: Likewise.
26754 * locale/programs/localedef.c: Likewise.
a316c1f6 26755 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26756 * nscd/nscd.c (print_version): Likewise.
26757 * debug/xtrace.sh: Likewise.
26758 * malloc/memusage.sh: Likewise.
26759 * malloc/mtrace.pl: Likewise.
26760 * debug/catchsegv.sh: Likewise.
26761
2ba92745
JJ
267622011-12-30 Jakub Jelinek <jakub@redhat.com>
26763
26764 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26765 pure attribute.
26766
dadebdae
UD
267672011-12-24 Ulrich Drepper <drepper@gmail.com>
26768
d3761ebc 26769 [BZ #13533]
db6af3eb
UD
26770 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26771 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26772 transformations.
26773 * iconv/gconv_int.h: Likewise.
26774 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26775 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26776 from libc for GLIBC_2.16.
26777 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26778 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26779 * wcsmbs/uchar.h: Really define mbstate_t.
26780 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26781 * wcsmbs/c16rtomb.c: New file.
26782 * wcsmbs/mbrtoc16.c: New file.
26783 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26784 for C/POSIX locale.
26785 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26786 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26787
dadebdae
UD
26788 * wcsmbs/wchar.h: Add missing __restrict.
26789
67371b56
UD
267902011-12-23 Ulrich Drepper <drepper@gmail.com>
26791
74033a25
UD
26792 [BZ #13532]
26793 * time/Makefile (routines): Add timespec_get.
26794 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26795 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26796 timespec for ISO C11.
26797 * time/timespec_get.c: New file.
26798 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26799 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26800
380d7e87
UD
26801 [BZ #13531]
26802 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26803 * stdlib/stdlib.h: Declare aligned_alloc.
26804 * Versions.def: Add GLIBC_2.16 for libc.
26805 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26806
4e9e7a35
UD
26807 [BZ 13527]
26808 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26809 ISO C11.
26810
380d7e87 26811 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26812 code.
26813
03a71829
UD
26814 [BZ #13528]
26815 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26816
839e283e
UD
26817 [BZ #13529]
26818 * assert/assert.h (static_assert): Define.
26819
ce5294e2 26820 * version.h: Update for 2.16 development version.
90fa7312 26821
8d44e150 26822 [BZ #13526]
d7809905
UD
26823 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26824 _ISOC11_SOURCE.
26825
c0da14cd
UD
26826 * version.h (RELEASE): Bump for 2.15 release.
26827 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26828
530a3249
MP
26829 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26830 Patch by Marek Polacek <mpolacek@redhat.com>.
26831
67371b56
UD
26832 * bits/byteswap.h: Protect long long constants with __extension__.
26833 * sysdeps/i386/bits/byteswap.h: Likewise.
26834 * sysdeps/ia64/bits/byteswap.h: Likewise.
26835 * sysdeps/s390/bits/byteswap.h: Likewise.
26836 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26837
15db4de1
LD
268382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26839
26840 [BZ #13540]
bbe315ea
LD
26841 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26842 destination buffer.
15db4de1
LD
26843 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26844
2b2596b1
MP
268452011-12-23 Marek Polacek <polacek@redhat.com>
26846
26847 * elf/dl-addr.c (determine_info): Add inline keyword.
26848 * elf/tst-auditmod4b.c (check_avx): Likewise.
26849 * elf/tst-auditmod6b.c (check_avx): Likewise.
26850 * elf/tst-auditmod6c.c (check_avx): Likewise.
26851 * elf/tst-auditmod7b.c (check_avx): Likewise.
26852
70c6c246
UD
268532011-12-23 Ulrich Drepper <drepper@gmail.com>
26854
26855 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26856 !__SSE_MATH__.
26857
c044cf14
LD
268582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26859
15db4de1 26860 [BZ #13540]
c044cf14
LD
26861 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26862 processing for last bytes.
26863
6b13d9d9
BH
268642011-08-06 Bruno Haible <bruno@clisp.org>
26865
d455f537
BH
26866 [BZ #13061]
26867 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26868 U+0385, not to U+1FEE.
26869
6b13d9d9
BH
26870 [BZ #13062]
26871 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26872 entry for U+00A5 U+0301.
26873
db910efd
UD
268742011-12-22 Ulrich Drepper <drepper@gmail.com>
26875
27deeafc
UD
26876 [BZ #13166]
26877 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26878 buffer for the output is too small.
26879
aed9d171
UD
26880 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26881 optimization.
26882
db910efd
UD
26883 [BZ #13185]
26884 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26885 SSE flags if possible.
26886
2bd779ae
LD
268872011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26888
e7f9dac3 26889 [BZ #13540]
2bd779ae
LD
26890 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26891 processing for last bytes.
26892
154bfc16
JM
268932011-12-22 Joseph Myers <joseph@codesourcery.com>
26894
26895 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26896 (syscall-list-default-options, syscall-list-default-condition)
26897 (syscall-list-includes): Define.
26898 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26899 list of ABIs and options and #if conditions for each ABI. Do not
26900 handle common syscalls between ABIs specially.
26901 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26902 Remove.
26903 (syscall-list-variants, syscall-list-32bit-options)
26904 (syscall-list-32bit-condition, syscall-list-64bit-options)
26905 (syscall-list-64bit-condition): Define.
26906 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26907 (syscall-list-variants, syscall-list-32bit-options)
26908 (syscall-list-32bit-condition, syscall-list-64bit-options)
26909 (syscall-list-64bit-condition): Define.
26910 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26911 Remove.
26912 (syscall-list-variants, syscall-list-32bit-options)
26913 (syscall-list-32bit-condition, syscall-list-64bit-options)
26914 (syscall-list-64bit-condition): Define.
26915 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26916 Remove.
26917 (syscall-list-variants, syscall-list-32bit-options)
26918 (syscall-list-32bit-condition, syscall-list-64bit-options)
26919 (syscall-list-64bit-condition): Define.
26920
21eaf3a5
UD
269212011-12-22 Ulrich Drepper <drepper@gmail.com>
26922
16c6f992
UD
26923 * locale/iso-639.def: Add brx entry.
26924
41043168
UD
26925 [BZ #13328]
26926 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26927 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26928
21eaf3a5
UD
26929 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26930 __feraiseexcept_renamed.
26931
e3a851a2
UD
269322011-12-21 Ulrich Drepper <drepper@gmail.com>
26933
4920765e
UD
26934 [BZ #13538]
26935 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26936 EPOLLET with unsigned values.
26937 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26938 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26939
e3a851a2
UD
26940 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26941 to large cancellation.
26942 * math/s_cacoshf.c: Likewise.
26943 * math/s_cacoshl.c: Likewise.
26944
b27e24b8
RK
269452011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26946
26947 [BZ #13305]
aebefeee 26948 [BZ #12786]
b27e24b8
RK
26949 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26950 * math/s_cacoshf.c: Likewise.
26951 * math/s_cacoshl.c: Likewise.
26952
ee190f67
UD
269532011-12-21 Ulrich Drepper <drepper@gmail.com>
26954
26955 [BZ #13439]
26956 * iconv/gconv.h: Define __GCONV_SWAP.
26957 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26958 * iconvdata/utf-16.c: Likewise.
26959 * iconvdata/utf-32.c: Likewise.
26960
707f25df
AS
269612011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26962
26963 [BZ #13524]
26964 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26965 numerator after shifting it by one limb.
26966
d2daaa1e
RÁE
269672011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26968
26969 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26970 under [__USE_EXTERN_INLINES].
26971
a4647e72
UD
269722011-12-17 Ulrich Drepper <drepper@gmail.com>
26973
26974 [BZ #13446]
26975 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26976
f0b264f1
AZ
269772011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26978
26979 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26980 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26981 optimized code.
26982 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26983 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26984 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26985 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26986 for strncasecmp/strncasecmp_l compilation.
26987 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26988 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26989
8ef4f244
MP
269902011-12-08 Marek Polacek <mpolacek@redhat.com>
26991
26992 [BZ #13484]
26993 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26994 of __asm__.
26995
97ac2654
UD
269962011-12-17 Ulrich Drepper <drepper@gmail.com>
26997
26998 [BZ #13506]
26999 * time/tzfile.c (__tzfile_read): Check values from file header.
27000
91d2a845
WS
270012011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27002
27003 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27004 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27005 * powerpc/powerpc32/dl-start.S: Likewise.
27006 * powerpc/powerpc32/elf/start.S: Likewise.
27007 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27008 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27009 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27010 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27011 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27012 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27013 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27014 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27015 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27016 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27017 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27018 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27019 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27020 * powerpc/powerpc32/memset.S: Likewise.
27021 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27022 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27023 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27024 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27025 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27026 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27027 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27028 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27029 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27030 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27031 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27032 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27033 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27034
a1267ba1
AZ
270352011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27036
27037 * math/libm-test.inc: Added more nearbyint tests.
27038 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27039 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27040 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27041 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27042
ad8ac1bd
RL
270432011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27044
27045 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27046 FD_CLOEXEC.
27047
1d3e4b61
UD
270482011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27049
27050 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27051 Add wcscpy-ssse3 wcscpy-c.
27052 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27053 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27054 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27055 * sysdeps/x86_64/wcschr.S: New file.
27056 * sysdeps/x86_64/wcsrchr.S: New file.
27057 * string/test-strcmp.c: Remove checking of wcscmp function for
27058 wrong alignments.
27059 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27060 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27061 wcsrchr-sse2 wcsrchr-c.
27062 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27063 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27064 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27065 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27066 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27067 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27068 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27069 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27070 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27071 * wcsmbc/wcschr.c (WCSCHR): New macro.
27072
5b330a2d
UD
270732011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27074
27075 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27076 * wcsmbs/test-wcsrchr.c: New file.
27077 * string/test-strrchr.c: Add wcsrchr support.
27078 (WIDE): New macro.
27079 * wcsmbs/test-wcscpy.c: New file.
27080 * string/test-strcpy.c: Add wcscpy support.
27081 (WIDE): New macro.
26428b7c 27082
f039c043
UD
270832011-12-10 Ulrich Drepper <drepper@gmail.com>
27084
27085 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27086 the inner loop.
27087
850fb039
AS
270882011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27089
27090 [BZ #13472]
27091 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27092
4efbd5cb
UD
270932011-12-04 Ulrich Drepper <drepper@gmail.com>
27094
52ff5dd0 27095 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 27096 Minor optimizations.
52ff5dd0 27097
4efbd5cb
UD
27098 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27099 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27100 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27101
8a426e12
UD
271022011-12-03 Ulrich Drepper <drepper@gmail.com>
27103
aff2453d
UD
27104 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27105 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27106 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27107 for gcc to avoid warnings.
27108 * inet/Makefile (tests): Add tst-checks.
27109 * inet/tst-checks.c: New file.
27110
27111 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27112 warning.
27113
27114 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27115 __wmemcmp_sse2.
27116
27117 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27118 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27119
8a426e12
UD
27120 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27121
9bea3473
UD
271222011-12-02 Ulrich Drepper <drepper@gmail.com>
27123
3a965496
UD
27124 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27125 problem.
27126
9bea3473
UD
27127 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27128
f101631b
UD
271292011-11-29 Joseph Myers <joseph@codesourcery.com>
27130
27131 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27132 conditional on GCC version.
27133 (__arch_compare_and_exchange_val_8_acq)
27134 (__arch_compare_and_exchange_val_16_acq)
27135 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27136 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27137 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27138
a98275aa
UD
271392011-12-02 Joseph Myers <joseph@codesourcery.com>
27140
27141 * sysdeps/sh/backtrace.c: New file.
27142
d4cc29a2
AS
271432011-12-02 Andreas Schwab <schwab@redhat.com>
27144
27145 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27146 parenthesis.
27147
6257af2d
AS
271482011-12-01 Andreas Schwab <schwab@redhat.com>
27149
27150 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27151 falling back to utime.
27152
b5f44c1a
AS
271532011-11-30 Andreas Schwab <schwab@redhat.com>
27154
27155 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27156 expectations for float.
27157
f3a6cc0a
AS
271582011-11-29 Andreas Schwab <schwab@redhat.com>
27159
27160 * locale/weight.h (findidx): Add parameter len.
27161 * locale/weightwc.h (findidx): Likewise.
27162 * posix/fnmatch_loop.c (FCT): Adjust caller.
27163 * posix/regcomp.c (build_equiv_class): Likewise.
27164 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27165 * posix/regexec.c (check_node_accept_bytes): Likewise.
27166 * string/strcoll_l.c (STRCOLL): Likewise.
27167 * string/strxfrm_l.c (STRXFRM): Likewise.
27168
9d65ea3a
UD
271692011-11-17 Ulrich Drepper <drepper@gmail.com>
27170
27171 * Makefile.in: Remove CVSOPT handling.
27172 * configure.in: Remove use of AC_REVISION.
27173 * iconvdata/Makefile (distribute): No need to filter out CVS.
27174 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27175 handling.
27176
5583a086
AS
271772011-11-16 Andreas Schwab <schwab@redhat.com>
27178
27179 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27180 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27181 [USE_AS_STRNCASECMP_L]: Likewise.
27182 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27183 NO_TLS_DIRECT_SEG_REFS.
27184 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27185 Fix argument offsets for non-PIC.
27186 [USE_AS_STRNCASECMP_L]: Likewise.
27187 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27188 NO_TLS_DIRECT_SEG_REFS.
27189
d62a8200
UD
271902011-11-15 Ulrich Drepper <drepper@gmail.com>
27191
9d65ea3a 27192 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27193 O_CLOEXEC.
27194 * locale/loadlocale.c (_nl_load_locale): Likewise.
27195
09f93bd3
AS
271962011-11-15 Andreas Schwab <schwab@redhat.com>
27197
446514f9
AS
27198 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27199 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27200 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27201 (SYSCALL_GETTIME): Set errno on error.
27202
09f93bd3
AS
27203 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27204 count references to noai6ai_cached.
27205
312be3f9
UD
272062011-11-15 Ulrich Drepper <drepper@gmail.com>
27207
27208 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27209
27210 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27211 FD_CLOEXEC for /proc/self/maps.
27212
27213 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27214 FD_CLOEXEC for /proc/meminfo.
27215
27216 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27217 gai.conf.
27218
27219 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27220 FD_CLOEXEC for given file.
27221
27222 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27223
27224 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27225 FD_CLOEXEC for /etc/hosts.
27226 (_gethtent): Likewise.
27227
27228 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27229
27230 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27231 cancellation and set FD_CLOEXEC for /etc/netgroup.
27232
27233 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27234 reading /etc/publickey.
27235
27236 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27237 allow cancellation when reading /etc/group.
27238
27239 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27240 cancellation.
27241 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27242
27243 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27244 when using data file.
27245
27246 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27247
27248 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27249 (write_nis_obj): Use "c" and "e" in fopen.
27250
27251 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27252
27253 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27254
27255 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27256
27257 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27258
27259 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27260 locale.alias.
27261
27262 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27263
27264 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27265
27266 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27267
27268 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27269 file parsing and set FD_CLOEXEC.
27270
82af0fa8
UD
272712011-11-14 Ulrich Drepper <drepper@gmail.com>
27272
27273 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27274
a5fb313c
AS
272752011-11-14 Andreas Schwab <schwab@redhat.com>
27276
27277 * malloc/arena.c (arena_get2): Don't call reused_arena when
27278 _int_new_arena failed.
27279
6abf3465
UD
272802011-11-14 Ulrich Drepper <drepper@gmail.com>
27281
27282 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27283 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27284 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27285 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27286 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27287 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27288 to compile strcasecmp and strncasecmp.
27289 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27290 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27291
27292 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27293
76e3966e
UD
272942011-11-13 Ulrich Drepper <drepper@gmail.com>
27295
27296 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27297 locale-defines.sym to gen-as-const-headers.
27298 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27299 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27300 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27301 to compile strcasecmp and strncasecmp.
27302 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27303 strcasecmp_l and strncasecmp_l.
27304 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27305 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27306 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27307 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27308 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27309 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27310 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27311 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27312 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27313 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27314 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27315
ab26144e
UD
273162011-11-12 Ulrich Drepper <drepper@gmail.com>
27317
7edb22ef
UD
27318 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27319 result of SYSDEP_GETTIME_CPU to retval.
27320 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27321 parameter list to macro. Remove trailing semicolon. Adjust users.
27322
9694fc44
UD
27323 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27324 variable.
27325
8ad89ef8
UD
27326 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27327 mantissa words.
27328 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27329
0c822ef9
UD
27330 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27331 from unused variable.
27332
874e0564
UD
27333 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27334 DWARF definitions.
27335 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27336 for assembling.
27337
3a2edc79
UD
27338 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27339 over namespaces.
27340
f3c2577f
UD
27341 * sunrpc/rpc_prot.c (rejected): Fix case value.
27342
294ce126
UD
27343 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27344 unsigned long long int to avoid warnings in shift.
27345
5e2b63c6
UD
27346 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27347 of use of trans.
27348 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27349 variable tmp.
27350
e7f4b08e
UD
27351 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27352 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27353 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27354
ab26144e
UD
27355 * nis/nis_table.c (nis_list): Use variable of correct type for
27356 result of __follow_path call.
27357
8a6d5255
AZ
273582011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27359
27360 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27361 of math functions ceil, trunc, floor, round, and sqrt, when
27362 avaliable on the platform.
27363 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27364 name clash.
27365 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27366 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27367 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27368
aaddc98c
MP
273692011-10-30 Marek Polacek <mpolacek@redhat.com>
27370
27371 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27372 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27373
95b7042b
RM
273742011-11-11 Roland McGrath <roland@hack.frob.com>
27375
27376 * include/unistd.h: Fix __readlink return type.
27377 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27378
57769839
UD
273792011-11-11 Ulrich Drepper <drepper@gmail.com>
27380
27381 * stdlib/ucontext.h: Undo last change for makecontext.
27382
edc5984d
AS
273832011-11-11 Andreas Schwab <schwab@redhat.com>
27384
98591e58
AS
27385 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27386
edc5984d
AS
27387 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27388 * setjmp/setjmp.h: Mark functions as non-leaf.
27389 * setjmp/bits/setjmp2.h: Likewise.
27390 * stdlib/ucontext.h: Likewise.
27391
77cdc054
AS
273922011-11-10 Andreas Schwab <schwab@redhat.com>
27393
27394 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27395 (reused_arena): Don't check arena limit.
27396 (arena_get2): Atomically check arena limit.
27397
fe72eebd
UD
273982011-11-08 Ulrich Drepper <drepper@gmail.com>
27399
5f078c32
UD
27400 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27401 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27402
fe72eebd
UD
27403 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27404 instructions.
27405
ae1bc2fa
AS
274062011-11-07 Andreas Schwab <schwab@redhat.com>
27407
7583a88d
AS
27408 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27409 handler when locking.
27410
ae1bc2fa
AS
27411 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27412 Fix size of allocated buffer.
27413
10fb0bfa
AS
274142011-11-04 Andreas Schwab <schwab@redhat.com>
27415
998832a4
AS
27416 [BZ #10103]
27417 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27418 declarations for long double functions.
27419 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27420
10fb0bfa
AS
27421 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27422
3d7ba52b
AS
274232011-11-03 Andreas Schwab <schwab@redhat.com>
27424
a9ae54a1
AS
27425 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27426 installed.
27427
3d7ba52b
AS
27428 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27429 is disabled.
27430
bc8db248
ST
274312011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27432
27433 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27434
45b96dd6
AS
274352011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27436
647776f6
AS
27437 * include/alloca.h (stackinfo_alloca_round): Define.
27438 (extend_alloca): Use it.
27439 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27440 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27441 here.
27442
d91a8b93
AS
27443 * scripts/check-local-headers.sh: Ignore libaudit.h.
27444
45b96dd6
AS
27445 * nscd/Makefile (extra-objs): Make recursively expanded.
27446
432d41ce
UD
274472011-11-01 Ulrich Drepper <drepper@gmail.com>
27448
34372fc6
UD
27449 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27450 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27451
fadb59f8
UD
27452 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27453 * posix/tst-rfc3484-2.c: Likewise.
27454 * posix/tst-rfc3484-3.c: Likewise.
27455
78239589
UD
27456 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27457 process_vm_writev.
27458 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27459 process_vm_writev.
27460 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27461 process_vm_writev from libc using GLIBC_2.15 version.
27462
432d41ce
UD
27463 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27464
02f9c6cf
PP
274652011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27466
27467 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27468 stack usage.
27469
3a2c0242
UD
274702011-10-31 Ulrich Drepper <drepper@gmail.com>
27471
f4ec4833
UD
27472 [BZ #13367]
27473 * nss/getent.c (initgroups_keys): Show error message in case no group
27474 names are given.
27475
3a2c0242
UD
27476 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27477 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27478 __bump_nl_timestamp.
27479 * nscd/connections (nscd_init): When host database is served open
27480 netlink socket and request notification about configuration changes.
27481 (main_loop_poll): Track netlink file descriptor and bump timestamp
27482 in case data becomes available.
27483 (main_loop_epoll): Likewise.
27484 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27485 (database_pers_head): Add extra_data fileds.
27486 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27487 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27488 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27489 Adjust caller.
27490 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27491 in6ai data, call __free_in6ai.
27492 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27493 Add -DHAVE_NETLINK.
27494 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27495 interface information. Reuse previous data if netlink timestamp
27496 is not changed.
27497 (__bump_nl_timestamp): New function.
27498 (__free_in6ai): New function.
27499
636064eb
UD
275002011-10-30 Ulrich Drepper <drepper@gmail.com>
27501
27502 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27503 close_not_cancel_no_status here.
27504 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27505
9beb2334
UD
275062011-10-29 Ulrich Drepper <drepper@gmail.com>
27507
6ef76f3b
UD
27508 [BZ #13276]
27509 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27510 return value.
27511
0ffc4f3e 27512 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27513 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27514 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27515
cb95113e
UD
275162011-07-03 Andreas Jaeger <aj@suse.de>
27517
27518 [BZ #10709]
27519 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27520 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27521 * math/libm-test.inc (sin_test): Add test case.
27522
a1b560ff
UD
275232011-10-29 Ulrich Drepper <drepper@gmail.com>
27524
c9aaface
UD
27525 [BZ #13337]
27526 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27527 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27528
d272e7f1
UD
27529 * elf/chroot_canon.c (chroot_canon): Cleanups.
27530
1bc33071
UD
27531 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27532
1760874d
TJ
27533 [BZ #13335]
27534 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27535 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27536
51d91b18
UD
27537 * string/test-strchr.c: Make usable for strchrnul testing.
27538 * string/test-strchrnul.c: New file.
27539 * string/Makefile (strop-tests): Add strchrnul.
27540
a1b560ff 27541 * po/it.po: Update from translation team.
b611fb81 27542 * po/es.po: Likewise.
a1b560ff 27543
a5b81e1f
UD
275442011-10-28 Ulrich Drepper <drepper@gmail.com>
27545
fd52bc6d
UD
27546 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27547 the three constants needed as parameters. Drop the others.
27548 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27549 __m128i_strloadu_tolower.
52e4b9eb
UD
27550 Create and initialize variable zero and use it in all the places
27551 where _mm_setzero_si128 was used.
fd52bc6d 27552
a5b81e1f
UD
27553 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27554 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27555 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27556 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27557 anymore.
27558 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27559 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27560 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27561 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27562 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27563 __mpranred, __mptan.
27564 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27565 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27566 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27567 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27568 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27569 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27570 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27571 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27572 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27573
b4343346
AS
275742011-10-28 Andreas Schwab <schwab@redhat.com>
27575
0c92d8a8
AS
27576 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27577 redefine if SHARED.
27578 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27579
b4343346
AS
27580 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27581 wide char related routines to wcsmbs subdir.
27582
3871f58f
AS
275832011-10-27 Andreas Schwab <schwab@redhat.com>
27584
27585 [BZ #13344]
27586 * misc/sys/cdefs.h (__THROWNL): Define.
27587 * posix/unistd.h: Use __THREADNL instead of __THREAD
27588 for memory synchronization functions.
27589
94d44d9f
RM
275902011-10-26 Roland McGrath <roland@hack.frob.com>
27591
21b64b15 27592 [BZ #13349]
94d44d9f
RM
27593 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27594 doesn't exist.
27595 * manual/stdio.texi (Obstack Streams): Node removed.
27596
f6ce9294
AS
275972011-10-26 Andreas Schwab <schwab@redhat.com>
27598
80479147
AS
27599 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27600 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27601 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27602
f6ce9294
AS
27603 * math/math_private.h (math_force_eval): Allow non-addressable
27604 arguments.
27605 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27606
618280a1
UD
276072011-10-25 Ulrich Drepper <drepper@gmail.com>
27608
e0016b11
UD
27609 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27610 file is not needed.
27611
27612 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27613 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27614 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27615 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27616 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27617 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27618 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27619 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27620 Add AVX variants.
27621 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27622 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27623 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27624 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27625 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27626 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27627 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27628 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27629 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27630 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27631 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27632 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27633 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27634 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27635 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27636 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27637 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27638 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27639 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27640
27641 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27642 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27643
618280a1
UD
27644 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27645 place. Use VEX encoding when compiling for AVX.
27646
37822576
AS
276472011-10-25 Andreas Schwab <schwab@redhat.com>
27648
1f1e1947
AS
27649 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27650 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27651
37822576
AS
27652 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27653
31ea014d
UD
276542011-10-25 Ulrich Drepper <drepper@gmail.com>
27655
d7826aa1 27656 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27657 useless if() expression.
d7826aa1
UD
27658 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27659 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27660 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27661 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27662 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27663 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27664 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27665 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27666 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27667 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27668 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27669 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27670 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27671 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27672 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27673 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27674 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27675 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27676 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27677
31ea014d
UD
27678 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27679
16437fec
AS
276802011-10-25 Andreas Schwab <schwab@redhat.com>
27681
27682 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27683 condition.
27684 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27685
31d3cc00
UD
276862011-10-25 Ulrich Drepper <drepper@gmail.com>
27687
27688 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27689 .text section. Avoid duplicate constants.
27690 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27691 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27692 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27693 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27694 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27695 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27696 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27697 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27698 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27699 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27700 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27701 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27702 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27703 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27704 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27705 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27706 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27707 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27708 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27709 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27710 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27711 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27712 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27713 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27714 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27715 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27716 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27717 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27718 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27719 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27720 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27721 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27722 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27723 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27724 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27725 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27726 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27727 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27728 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27729 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27730 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27731 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27732 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27733 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27734 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27735
58985aa9
UD
277362011-10-24 Ulrich Drepper <drepper@gmail.com>
27737
202c9deb
UD
27738 * sysdeps/x86_64/dla.h: Move to ...
27739 * sysdeps/x86_64/fpu/dla.h: ...here.
27740 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27741 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27742
af968f62
UD
27743 * config.make.in: Add have-mfma4 entry.
27744 * configure.in: Substitute libc_cv_cc_fma4.
27745 * math/Makefile (dbl-only-routines): Add sincostab.
27746 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27747 Use __sincostab not sincos.
27748 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27749 name is a macro.
27750 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27752 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27753 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27754 using __copysign.
27755 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27756 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27757 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27758 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27759 and __inv.
27760 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27761 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27762 __copysign.
27763 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27764 define aliases when function name is a macro.
27765 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27766 sysdeps/ieee754/dbl-64/sincos.tbl.
27767 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27768 fma4-enabled routines.
27769 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27770 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27771 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27772 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27773 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27774 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27775 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27776 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27777 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27778 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27779 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27780 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27781 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27782 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27783 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27784 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27785 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27786 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27787 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27788 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27789 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27790 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27791 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27792 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27793 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27794 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27795 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27796 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27797 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27798 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27799
58985aa9
UD
27800 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27801 rename.
27802 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27803 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27804 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27805 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27806 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27807 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27808 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27809 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27810
a201fbcf
AS
278112011-10-24 Andreas Schwab <schwab@redhat.com>
27812
27813 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27814
fc2ee42a
LD
278152011-10-23 Ulrich Drepper <drepper@gmail.com>
27816
bb3129bd
UD
27817 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27818
0275fff8
UD
27819 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27820 prediction.
27821 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27822
2fa2ae85
UD
27823 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27824 Remove unused variable magic_bits.
27825 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27826
fc2ee42a
LD
27827 * string/strnlen.c: Define and use STRNLEN macro.
27828 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27829 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27830 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27831 * wcsmbs/wcslen.c: Define and use WCSLEN.
27832 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27833 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27834 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27835 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27836 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27837 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27838 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27839
ce7dd29f
LD
278402011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27841
27842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27843 strnlen-sse2-no-bsf.
27844 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27845 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27846 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27847 Add strnlen support.
27848 (USE_AS_STRNLEN): New macro.
27849 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27850 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27851 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27852 * sysdeps/x86_64/wcslen.S: New file.
27853
979c70a3
MZ
278542011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27855
27856 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27857 XMM-moves are used for copying on small sizes.
27858
2d09f82f
LD
278592011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27860
27861 * wcsmbs/Makefile (strop-tests): Add wcschr.
27862 * wcsmbs/test-wcschr.c: New file.
27863 * string/test-strchr.c: Update.
27864 Add wcschr support.
27865 (WIDE): New macro.
27866
619fccca
LD
278672011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27868
2d09f82f 27869 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27870 * wcsmbs/test-wcslen.c: New file.
27871 * string/test-strlen.c: Update.
27872 Add wcslen support.
27873 (WIDE): New macro.
27874
09f699ea
UD
278752011-10-23 Ulrich Drepper <drepper@gmail.com>
27876
27877 * po/it.po: Update from translation team.
27878
95584d3b
LD
278792011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27880
27881 * sysdeps/x86_64/wcscmp.S: Update.
27882 Fix wrong comparison semantics.
27883 wcscmp shall use signed comparison not unsigned.
27884 Don't use substraction to avoid overflow bug.
27885 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27886 * wcsmbc/wcscmp.c: Likewise.
27887 * string/test-strcmp.c: Likewise.
27888 Add new tests to check cases with negative values.
27889
c8b3296b
UD
278902011-10-23 Ulrich Drepper <drepper@gmail.com>
27891
27892 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27893 * sysdeps/x86_64/dla.h: ...here. New file.
27894 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27895 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27896 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27897 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27898 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27899 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27900 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27901 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27902 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27903
246ad57a
AS
279042011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27905
27906 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27907 __ynl_finite aliases.
27908
a1a87169
UD
279092011-10-22 Ulrich Drepper <drepper@gmail.com>
27910
0d355eb7
UD
27911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27912
a1a87169
UD
27913 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27914 define DLA_FMA.
27915 [DLA_FMA] (EMULV): Use DLA_FMA.
27916 [DLA_FMA] (MUL12): Use EMULV.
27917 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27918 that are not needed.
27919 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27920 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27921 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27922 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27923 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27924 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27925 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27926
ee2aafe0
AS
279272011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27928
27929 * math/s_nan.c: Undef __nan.
27930 * math/s_nanf.c: Undef __nanf.
27931 * math/s_nanl.c: Undef __nanl.
27932 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27933 "math_private.h".
27934
bc62c2fb
UD
279352011-10-22 Ulrich Drepper <drepper@gmail.com>
27936
77425c63
UD
27937 * math/s_catan.c: Add branch predictions.
27938 * math/s_catanf.c: Likewise.
27939 * math/s_catanh.c: Likewise.
27940 * math/s_catanhf.c: Likewise.
27941 * math/s_catanhl.c: Likewise.
27942 * math/s_catanl.c: Likewise.
27943 * math/s_cexp.c: Likewise.
27944 * math/s_cexpf.c: Likewise.
27945 * math/s_cexpl.c: Likewise.
27946 * math/s_clog.c: Likewise.
27947 * math/s_clog10.c: Likewise.
27948 * math/s_clog10f.c: Likewise.
27949 * math/s_clog10l.c: Likewise.
27950 * math/s_clogf.c: Likewise.
27951 * math/s_clogl.c: Likewise.
27952 * math/s_csqrt.c: Likewise.
27953 * math/s_csqrtf.c: Likewise.
27954 * math/s_csqrtl.c: Likewise.
27955 * math/s_ctanf.c: Likewise.
27956 * math/s_ctanh.c: Likewise.
27957 * math/s_ctanhf.c: Likewise.
27958 * math/s_ctanhl.c: Likewise.
27959 * math/s_ctanl.c: Likewise.
27960
bc62c2fb
UD
27961 * math/math_private.h: Define __nan, __nanf, __nanl.
27962 * math/s_cacosh.c: Include <math_private.h>.
27963 * math/s_cacoshl.c: Likewise.
27964 * math/s_casinh.c: Likewise.
27965 * math/s_casinhf.c: Likewise.
27966 * math/s_casinhl.c: Likewise.
27967 * math/s_ccos.c: Rely entire on ccosh.
27968 * math/s_ccosf.c: Rely entire on ccoshf.
27969 * math/s_ccosl.c: Rely entirely on ccoshl.
27970 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27971 Remove tests for FE_INVALID.
27972 * math/s_ccoshf.c: Likewise.
27973 * math/s_ccoshl.c: Likewise.
27974 * math/s_csin.c: Likewise.
27975 * math/s_csinf.c: Likewise.
27976 * math/s_csinh.c Likewise.
27977 * math/s_csinhf.c: Likewise.
27978 * math/s_csinhl.c: Likewise.
27979 * math/s_csinl.c: Likewise.
27980 * math/s_ctan.c: Likewise.
27981 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27982 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27983 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27984
8ec250a4
UD
279852011-10-21 Ulrich Drepper <drepper@gmail.com>
27986
c196fed8
UD
27987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27988 compilation problems.
27989
8ec250a4
UD
27990 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27991 __builtin_expect.
27992
8d4f46c6
UD
279932011-10-20 Ulrich Drepper <drepper@gmail.com>
27994
ed72b654
UD
27995 * sysdeps/i386/configure.in: Test for -mfma4 option.
27996 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27997 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27998 COMMON_CPUID_INDEX_80000001.
27999 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28000 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28001 use it if FMA3 is not supported.
28002 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28003
8d4f46c6
UD
28004 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28005 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28006
d45c60c2
AS
280072011-10-20 Andreas Schwab <schwab@redhat.com>
28008
28009 [BZ #12892]
28010 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28011 it would create a cycle with a link time dependency.
28012
d9a4d2ab
UD
280132011-10-19 Ulrich Drepper <drepper@gmail.com>
28014
855d1560
UD
28015 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28016 instruction.
28017 * string/Makefile (strop-tests): Add rawmemchr.
28018 * string/test-rawmemchr.c: New file.
28019
d9a4d2ab
UD
28020 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28021 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28022 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28023 when compiling str{,n}casecmp and when AVX is available. Hook up
28024 new optimized code in initializers.
28025
8f3b1ffe
AS
280262011-10-19 Andreas Schwab <schwab@redhat.com>
28027
28028 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28029 __feraiseexcept instead of feraiseexcept.
28030
d38f1dba
UD
280312011-10-18 Ulrich Drepper <drepper@gmail.com>
28032
d9a8d0ab
UD
28033 * math/math_private.h: Define defaults for libc_fetestexcept and
28034 libc_feupdateenv.
28035 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28036 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28037 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28038 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28039 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28040 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28041 libc_fetestexcept and libc_feupdateenv.
28042
4855e3dd
UD
28043 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28044 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28045 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28046 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28047 libc_feholdexcept_setround.
28048
581d30e3
UD
28049 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28050 Add s_nearbyint-c and s_nearbyintf-c.
28051 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28052 nearbyintf inlines.
28053 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28054 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28055 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28056 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28057
d38f1dba
UD
28058 * math/math_private.h: Define defaults for libc_fegetround,
28059 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28060 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28061 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28062 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28063 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28064 standard functions.
28065 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28066 Remove comments and hacks for old compiler versions.
28067 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28068 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28069 libc_feholdexceptl.
28070
caa6c9d8
AS
280712011-10-18 Andreas Schwab <schwab@redhat.com>
28072
28073 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
28074 (__feraiseexcept_renamed): Add __NTH.
28075 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
28076 namespace violations.
28077
97c066e6
UD
280782011-10-17 Ulrich Drepper <drepper@gmail.com>
28079
99ce7b04
UD
28080 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28081
1004d182
UD
28082 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28083
228a984d
UD
28084 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28085 recently added interfaces.
28086 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28087
c8553a6a
UD
28088 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28089 about macro parameter expansion.
28090
ed22dcf6
UD
28091 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28092 __NO_MATH_INLINES is defined. Cleanups.
28093
28094 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28095 and __floorf is target has SSE4.1.
28096 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28097 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28098 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28099 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28100
b171c137
UD
28101 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28102 name.
28103 (floorf): Likewise.
28104
97c066e6
UD
28105 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28106
629f62ef
AS
281072011-10-17 Andreas Schwab <schwab@redhat.com>
28108
49a43d80
AS
28109 * misc/sys/cdefs.h: Fix last change.
28110
629f62ef
AS
28111 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28112 database lookup.
28113
e453f6cd
UD
281142011-10-16 Ulrich Drepper <drepper@gmail.com>
28115
aa78043a
UD
28116 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28117
ad0f5cad
UD
28118 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28119 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28120 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28121 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28122 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28123 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28124 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28125 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28126 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28127 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28128 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28129 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28130 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28131 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28132 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28133 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28134 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28135 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28136 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28137 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28138 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28139 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28140
28141 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28142 ceil, ceilf, floor, floorf.
28143
28144 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28145 Perform IRELATIVE relocations last.
28146
e453f6cd
UD
28147 * elf/do-rel.h: Add another parameter nrelative, replacing the
28148 local variable with the same name. Change name of the function
28149 to end in Rel or Rela (uppercase).
28150 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28151 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28152 elf_dynamic_do_##reloc function.
28153
fd5bdc09
UD
281542011-10-15 Ulrich Drepper <drepper@gmail.com>
28155
79b195b5
UD
28156 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28157 is sufficient, at least on modern CPUs.
28158
d4a28569
UD
28159 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28160
b61099b5
UD
28161 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28162 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28163
bcf01e6d
UD
28164 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28165 __expl_finite.
28166 * math/bits/math-finite.h: Add entries for exp.
28167 * math/e_expl.c: Add __*_finite alias.
28168 * sysdeps/i386/fpu/e_exp.S: Likewise.
28169 * sysdeps/i386/fpu/e_expf.S: Likewise.
28170 * sysdeps/i386/fpu/e_expl.c: Likewise.
28171 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28172 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28173 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28174 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28175 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28176 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28177 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28178
ba1a0d59
UD
28179 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28180 is sufficient, at least on modern CPUs.
28181
fd5bdc09
UD
28182 * ctype/ctype-info.c (__ctype_init): Define.
28183 * include/ctype.h (__ctype_init): Declare.
28184 (__ctype_b_loc): The variable is always initialized.
28185 (__ctype_toupper_loc): Likewise.
28186 (__ctype_tolower_loc): Likewise.
28187 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28188 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28189
7872cfb0
AS
281902011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28191
b468825a
AS
28192 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28193
7872cfb0
AS
28194 * configure.in: Also look in $cxxmachine/include for C++ system
28195 headers.
28196
be13f7bf
LD
281972011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28198
28199 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28200 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28201 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28202 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28203 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28204 (USE_AS_WMEMCMP): New macro.
28205 Fixing indents.
28206 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28207 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28208 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28209 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28211 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28212 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28213 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28214 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28215 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28216 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28217 (USE_AS_WMEMCMP): New macro.
28218 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28219 * sysdeps/string/test-memcmp.c: Update.
28220 Fix simple_wmemcmp.
28221 Add new tests.
28222 * wcsmbs/wmemcmp.c: Update.
28223 (WMEMCMP): New macro.
28224 Fix overflow bug.
28225
556a2007
AJ
282262011-10-12 Andreas Jaeger <aj@suse.de>
28227
28228 [BZ #13268]
28229 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28230
538faaa7
UD
282312011-10-15 Ulrich Drepper <drepper@gmail.com>
28232
ab6737ff
UD
28233 * libio/iofwide.c (do_length): Avoid warning.
28234
538faaa7
UD
28235 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28236
396a21b1
UD
282372011-10-14 Ulrich Drepper <drepper@gmail.com>
28238
cdf2901f
UD
28239 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28240
38ad40ce
UD
28241 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28242 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28243 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28244 * sysdeps/i386/i686/fpu/e_log.S: New file.
28245 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28246 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28247
396a21b1
UD
28248 * ctype/ctype.h: Add support for inlined isXXX functions when
28249 compiling C++ code.
28250
6b1f68c9
AS
282512011-10-14 Andreas Schwab <schwab@redhat.com>
28252
349290c0
AS
28253 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28254
6b1f68c9
AS
28255 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28256
f2282d42
RM
282572011-10-13 Roland McGrath <roland@hack.frob.com>
28258
28259 [BZ #13291]
28260 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28261
5298ffa8
AS
282622011-10-13 Andreas Schwab <schwab@redhat.com>
28263
714fad23
AS
28264 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28265 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28266 feraiseexcept.
28267
81dcc7fb
AS
28268 * sysdeps/x86_64/memrchr.S: Check for zero size.
28269
5298ffa8
AS
28270 * string/stratcliff.c: Add memrchr tests.
28271
951fbcec
LD
282722011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28273
28274 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28275 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28276 rawmemchr-sse2 rawmemchr-sse2-bsf.
28277 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28278 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28279 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28280 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28281 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28282 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28283 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28284 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28285 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28286 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28287 * string/memrchr.c (MEMRCHR): New macro.
28288
0ac5ae23
UD
282892011-10-12 Ulrich Drepper <drepper@gmail.com>
28290
28291 Add integration with gcc's -ffinite-math-only and optimize wrapper
28292 functions in libm.
28293 * Versions.def: Define GLIBC_2.15 version for libm.
28294 * math/Makefile (headers): Add bits/math-finite.h.
28295 * math/bits/math-finite.h: New file.
28296 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28297 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28298 * math/e_acoshl.c: Add __*_finite alias.
28299 * math/e_acosl.c: Likewise.
28300 * math/e_asinl.c: Likewise.
28301 * math/e_atan2l.c: Likewise.
28302 * math/e_atanhl.c: Likewise.
28303 * math/e_coshl.c: Likewise.
28304 * math/e_exp10.c: Likewise.
28305 * math/e_exp10f.c: Likewise.
28306 * math/e_exp10l.c: Likewise.
28307 * math/e_exp2l.c: Likewise.
28308 * math/e_fmodl.c: Likewise.
28309 * math/e_gammal_r.c: Likewise.
28310 * math/e_hypotl.c: Likewise.
28311 * math/e_j0l.c: Likewise.
28312 * math/e_j1l.c: Likewise.
28313 * math/e_jnl.c: Likewise.
28314 * math/e_lgammal_r.c: Likewise.
28315 * math/e_log10l.c: Likewise.
28316 * math/e_log2l.c: Likewise.
28317 * math/e_logl.c: Likewise.
28318 * math/e_powl.c: Likewise.
28319 * math/e_sinhl.c: Likewise.
28320 * math/e_sqrtl.c: Likewise.
28321 * math/e_scalb.c: Completely rewritten and optimized.
28322 * math/e_scalbf.c: Likewise.
28323 * math/e_scalbl.c: Likewise.
28324 * math/w_acos.c: Likewise.
28325 * math/w_acosf.c: Likewise.
28326 * math/w_acosl.c: Likewise.
28327 * math/w_acosh.c: Likewise.
28328 * math/w_acoshf.c: Likewise.
28329 * math/w_acoshl.c: Likewise.
28330 * math/w_asin.c: Likewise.
28331 * math/w_asinf.c: Likewise.
28332 * math/w_asinl.c: Likewise.
28333 * math/w_atan2.c: Likewise.
28334 * math/w_atan2f.c: Likewise.
28335 * math/w_atan2l.c: Likewise.
28336 * math/w_atanh.c: Likewise.
28337 * math/w_atanhf.c: Likewise.
28338 * math/w_atanhl.c: Likewise.
28339 * math/w_exp10.c: Likewise.
28340 * math/w_exp10f.c: Likewise.
28341 * math/w_exp10l.c: Likewise.
28342 * math/w_fmod.c: Likewise.
28343 * math/w_fmodf.c: Likewise.
28344 * math/w_fmodl.c: Likewise.
28345 * math/w_j0.c: Likewise.
28346 * math/w_j0f.c: Likewise.
28347 * math/w_j0l.c: Likewise.
28348 * math/w_j1.c: Likewise.
28349 * math/w_j1f.c: Likewise.
28350 * math/w_j1l.c: Likewise.
28351 * math/w_jn.c: Likewise.
28352 * math/w_jnf.c: Likewise.
28353 * math/w_log.c: Likewise.
28354 * math/w_logf.c: Likewise.
28355 * math/w_logl.c: Likewise.
28356 * math/w_log10.c: Likewise.
28357 * math/w_log10f.c: Likewise.
28358 * math/w_log10l.c: Likewise.
28359 * math/w_log2.c: Likewise.
28360 * math/w_log2f.c: Likewise.
28361 * math/w_log2l.c: Likewise.
28362 * math/w_pow.c: Likewise.
28363 * math/w_powf.c: Likewise.
28364 * math/w_powl.c: Likewise.
28365 * math/w_remainder.c: Likewise.
28366 * math/w_remainderf.c: Likewise.
28367 * math/w_remainderl.c: Likewise.
28368 * math/w_scalb.c: Likewise.
28369 * math/w_scalbf.c: Likewise.
28370 * math/w_scalbl.c: Likewise.
28371 * math/w_sqrt.c: Likewise.
28372 * math/w_sqrtf.c: Likewise.
28373 * math/w_sqrtl.c: Likewise.
28374 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28375 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28376 used.
28377 * math/math_private.h: Declare __kernel_standard_f.
28378 * math/w_cosh.c: Remove cruft and optimize a bit.
28379 * math/w_coshf.c: Likewise.
28380 * math/w_coshl.c: Likewise.
28381 * math/w_exp2.c: Likewise.
28382 * math/w_exp2f.c: Likewise.
28383 * math/w_exp2l.c: Likewise.
28384 * math/w_hypot.c: Likewise.
28385 * math/w_hypotf.c: Likewise.
28386 * math/w_hypotl.c: Likewise.
28387 * math/w_lgamma.c: Likewise.
28388 * math/w_lgamma_r.c: Likewise.
28389 * math/w_lgammaf.c: Likewise.
28390 * math/w_lgammaf_r.c: Likewise.
28391 * math/w_lgammal.c: Likewise.
28392 * math/w_lgammal_r.c: Likewise.
28393 * math/w_sinh.c: Likewise.
28394 * math/w_sinhf.c: Likewise.
28395 * math/w_sinhl.c: Likewise.
28396 * math/w_tgamma.c: Likewise.
28397 * math/w_tgammaf.c: Likewise.
28398 * math/w_tgammal.c: Likewise.
28399 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28400 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28401 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28402 Minor optimizations. Pretty printing. Remove cruft.
28403 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28404 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28405 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28406 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28407 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28408 * sysdeps/i386/fpu/e_asin.S: Likewise.
28409 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28410 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28411 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28412 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28413 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28414 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28415 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28416 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28417 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28418 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28419 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28420 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28421 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28422 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28423 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28424 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28425 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28426 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28427 * sysdeps/i386/fpu/e_log.S: Likewise.
28428 * sysdeps/i386/fpu/e_log10.S: Likewise.
28429 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28430 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28431 * sysdeps/i386/fpu/e_log2.S: Likewise.
28432 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28433 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28434 * sysdeps/i386/fpu/e_logf.S: Likewise.
28435 * sysdeps/i386/fpu/e_logl.S: Likewise.
28436 * sysdeps/i386/fpu/e_pow.S: Likewise.
28437 * sysdeps/i386/fpu/e_powf.S: Likewise.
28438 * sysdeps/i386/fpu/e_powl.S: Likewise.
28439 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28440 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28441 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28442 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28443 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28444 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28445 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28446 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28447 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28448 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28449 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28450 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28451 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28452 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28453 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28454 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28455 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28456 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28457 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28458 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28459 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28461 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28462 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28463 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28464 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28465 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28466 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28467 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28468 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28469 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28470 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28471 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28472 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28473 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28474 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28475 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28476 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28477 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28478 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28479 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28480 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28481 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28482 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28483 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28484 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28485 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28486 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28487 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28488 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28489 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28490 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28491 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28492 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28493 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28494 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28495 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28496 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28497 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28498 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28499 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28500 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28501 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28502 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28503 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28504 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28505 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28506 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28507 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28508 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28509 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28510 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28511 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28512 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28513 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28514 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28515 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28516 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28517 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28518 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28519 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28520 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28521 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28522 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28523 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28524 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28525 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28526 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28527 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28528 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28529 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28530 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28531 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28532 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28533 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28534 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28535 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28536 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28537 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28538 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28539 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28540 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28541 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28542 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28543 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28544 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28545 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28546 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28547 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28548 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28549 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28550 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28551 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28552 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28553 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28554 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28555 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28556 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28557 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28558 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28559 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28560 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28561 (__isnanf): Likewise.
28562 (__isinf_ns): Likewise.
28563 (__isinf_nsf): Likewise.
28564 (__finite): Likewise.
28565 (__finitef): Likewise.
28566 (__ieee754_sqrt): Define as macro.
28567 (__ieee754_sqrtf): Define as macro.
28568 (__ieee754_sqrtl): Define as macro.
28569 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28570 inlined copy.
28571 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28572 __FINITE_MATH_ONLY__ consistent.
28573 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28574
12cc2fcd
AS
285752011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28576
a843a204
AS
28577 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28578 of rawmemchr.
28579
12cc2fcd
AS
28580 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28581
c853acd5
UD
285822011-10-09 Ulrich Drepper <drepper@gmail.com>
28583
28584 * po/ja.po: Update from translation team.
28585
c658d255
RM
285862011-10-08 Roland McGrath <roland@hack.frob.com>
28587
110946e4
RM
28588 * locale/programs/locarchive.c (prepare_address_space): New function.
28589 (create_archive, enlarge_archive, open_archive): Use it.
28590
50604220
RM
28591 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28592 inside [SHARED], where it is used.
28593
c658d255
RM
28594 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28595
28596 * nss/getent.c (netgroup_keys): Remove unused variable.
28597 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28598
6a621eb7
UD
285992011-10-08 Ulrich Drepper <drepper@gmail.com>
28600
7edb55ce
UD
28601 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28602 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28603 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28604 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28605 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28606 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28607 * math/Makefile (libm-calls): Add s_isinf_ns.
28608 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28609 * math/multc3.c: Likewise.
28610 * math/s_casin.c: Likewise.
28611 * math/s_casinf.c: Likewise.
28612 * math/s_casinl.c: Likewise.
28613 * math/s_ccos.c: Likewise.
28614 * math/s_ccosf.c: Likewise.
28615 * math/s_ccosl.c: Likewise.
28616 * math/s_ctan.c: Likewise.
28617 * math/s_ctanf.c: Likewise.
28618 * math/s_ctanh.c: Likewise.
28619 * math/s_ctanhf.c: Likewise.
28620 * math/s_ctanhl.c: Likewise.
28621 * math/s_ctanl.c: Likewise.
28622 * math/w_fmod.c: Likewise.
28623 * math/w_fmodf.c: Likewise.
28624 * math/w_fmodl.c: Likewise.
28625 * math/w_remainder.c: Likewise.
28626 * math/w_remainderf.c: Likewise.
28627 * math/w_remainderl.c: Likewise.
28628 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28629 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28630 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28631 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28632 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28633 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28634 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28635 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28636
187da0ae
UD
28637 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28638 of the number.
28639 * stdio-common/printf_fphex.c: Likewise.
28640 * stdio-common/printf_size.c: Likewise.
28641
9277c064
UD
28642 * math/e_exp10.c: Include math_private.h using <...> not "...".
28643 * math/e_exp10f.c: Likewise.
28644 * math/e_exp10l.c: Likewise.
28645 * math/e_exp2l.c: Likewise.
28646 * math/e_j0l.c: Likewise.
28647 * math/e_j1l.c: Likewise.
28648 * math/e_jnl.c: Likewise.
28649 * math/e_lgammal_r.c: Likewise.
28650 * math/e_rem_pio2l.c: Likewise.
28651 * math/e_scalb.c: Likewise.
28652 * math/e_scalbf.c: Likewise.
28653 * math/e_scalbl.c: Likewise.
28654 * math/k_cosl.c: Likewise.
28655 * math/k_sinl.c: Likewise.
28656 * math/k_tanl.c: Likewise.
28657 * math/s_cacoshf.c: Likewise.
28658 * math/s_catan.c: Likewise.
28659 * math/s_catanf.c: Likewise.
28660 * math/s_catanh.c: Likewise.
28661 * math/s_catanhf.c: Likewise.
28662 * math/s_catanhl.c: Likewise.
28663 * math/s_catanl.c: Likewise.
28664 * math/s_ccosh.c: Likewise.
28665 * math/s_ccoshf.c: Likewise.
28666 * math/s_ccoshl.c: Likewise.
28667 * math/s_cexp.c: Likewise.
28668 * math/s_cexpf.c: Likewise.
28669 * math/s_cexpl.c: Likewise.
28670 * math/s_clog.c: Likewise.
28671 * math/s_clog10.c: Likewise.
28672 * math/s_clog10f.c: Likewise.
28673 * math/s_clog10l.c: Likewise.
28674 * math/s_clogf.c: Likewise.
28675 * math/s_clogl.c: Likewise.
28676 * math/s_csin.c: Likewise.
28677 * math/s_csinf.c: Likewise.
28678 * math/s_csinh.c: Likewise.
28679 * math/s_csinhf.c: Likewise.
28680 * math/s_csinhl.c: Likewise.
28681 * math/s_csinl.c: Likewise.
28682 * math/s_csqrt.c: Likewise.
28683 * math/s_csqrtf.c: Likewise.
28684 * math/s_csqrtl.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/s_ldexp.c: Likewise.
28692 * math/s_ldexpf.c: Likewise.
28693 * math/s_ldexpl.c: Likewise.
28694 * math/s_significand.c: Likewise.
28695 * math/s_significandf.c: Likewise.
28696 * math/s_significandl.c: Likewise.
28697 * math/w_acos.c: Likewise.
28698 * math/w_acosf.c: Likewise.
28699 * math/w_acosh.c: Likewise.
28700 * math/w_acoshf.c: Likewise.
28701 * math/w_acoshl.c: Likewise.
28702 * math/w_acosl.c: Likewise.
28703 * math/w_asin.c: Likewise.
28704 * math/w_asinf.c: Likewise.
28705 * math/w_asinl.c: Likewise.
28706 * math/w_atan2.c: Likewise.
28707 * math/w_atan2f.c: Likewise.
28708 * math/w_atan2l.c: Likewise.
28709 * math/w_atanh.c: Likewise.
28710 * math/w_atanhf.c: Likewise.
28711 * math/w_atanhl.c: Likewise.
28712 * math/w_cosh.c: Likewise.
28713 * math/w_coshf.c: Likewise.
28714 * math/w_coshl.c: Likewise.
28715 * math/w_dremf.c: Likewise.
28716 * math/w_exp10.c: Likewise.
28717 * math/w_exp10f.c: Likewise.
28718 * math/w_exp10l.c: Likewise.
28719 * math/w_exp2.c: Likewise.
28720 * math/w_exp2f.c: Likewise.
28721 * math/w_fmod.c: Likewise.
28722 * math/w_fmodf.c: Likewise.
28723 * math/w_fmodl.c: Likewise.
28724 * math/w_hypot.c: Likewise.
28725 * math/w_hypotf.c: Likewise.
28726 * math/w_hypotl.c: Likewise.
28727 * math/w_j0.c: Likewise.
28728 * math/w_j0f.c: Likewise.
28729 * math/w_j0l.c: Likewise.
28730 * math/w_j1.c: Likewise.
28731 * math/w_j1f.c: Likewise.
28732 * math/w_j1l.c: Likewise.
28733 * math/w_jn.c: Likewise.
28734 * math/w_jnf.c: Likewise.
28735 * math/w_jnl.c: Likewise.
28736 * math/w_lgamma.c: Likewise.
28737 * math/w_lgamma_r.c: Likewise.
28738 * math/w_lgammaf.c: Likewise.
28739 * math/w_lgammaf_r.c: Likewise.
28740 * math/w_lgammal.c: Likewise.
28741 * math/w_lgammal_r.c: Likewise.
28742 * math/w_log.c: Likewise.
28743 * math/w_log10.c: Likewise.
28744 * math/w_log10f.c: Likewise.
28745 * math/w_log10l.c: Likewise.
28746 * math/w_log2.c: Likewise.
28747 * math/w_log2f.c: Likewise.
28748 * math/w_log2l.c: Likewise.
28749 * math/w_logf.c: Likewise.
28750 * math/w_logl.c: Likewise.
28751 * math/w_pow.c: Likewise.
28752 * math/w_powf.c: Likewise.
28753 * math/w_powl.c: Likewise.
28754 * math/w_remainder.c: Likewise.
28755 * math/w_remainderf.c: Likewise.
28756 * math/w_remainderl.c: Likewise.
28757 * math/w_scalb.c: Likewise.
28758 * math/w_scalbf.c: Likewise.
28759 * math/w_scalbl.c: Likewise.
28760 * math/w_sinh.c: Likewise.
28761 * math/w_sinhf.c: Likewise.
28762 * math/w_sinhl.c: Likewise.
28763 * math/w_sqrt.c: Likewise.
28764 * math/w_sqrtf.c: Likewise.
28765 * math/w_sqrtl.c: Likewise.
28766 * math/w_tgamma.c: Likewise.
28767 * math/w_tgammaf.c: Likewise.
28768 * math/w_tgammal.c: Likewise.
28769
6a621eb7
UD
28770 * po/ja.po: Update from translation team.
28771
bf582445
AJ
287722011-09-29 Andreas Jaeger <aj@suse.de>
28773
f9efbf3a
AJ
28774 [BZ #13179]
28775 * sunrpc/netname.c (netname2host): Fix logic.
28776
bf582445
AJ
28777 [BZ #6779]
28778 [BZ #6783]
28779 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28780 correctly.
28781 * math/w_remainder.c (__remainder): Likewise.
28782 * math/w_remainderf.c (__remainderf): Likewise.
28783 * math/libm-test.inc (remainder_test): Add test cases.
28784
48693bea
AK
287852011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28786
28787 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28788 sdiv_qrnnd.
28789
42622229
LD
287902011-10-07 Ulrich Drepper <drepper@gmail.com>
28791
28792 * string/test-memcmp.c: Avoid unncessary #defines.
28793 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28794
093ecf92
LD
287952011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28796
28797 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28798 Use new sse2 version for core i3 - i7 as it's faster
28799 than sse42 version.
28800 (bit_Prefer_PMINUB_for_stringop): New.
28801 * sysdeps/x86_64/rawmemchr.S: Update.
28802 Replace with faster SSE2 version.
28803 * sysdeps/x86_64/memrchr.S: New file.
28804 * sysdeps/x86_64/memchr.S: Update.
28805 Replace with faster SSE2 version.
28806
fde56e5c
MP
288072011-09-12 Marek Polacek <mpolacek@redhat.com>
28808
28809 * elf/dl-load.c (lose): Add cast to avoid warning.
28810
21fd49a9
UD
288112011-10-07 Ulrich Drepper <drepper@gmail.com>
28812
5a06e643
UD
28813 * po/ca.po: Update from translation team.
28814
684ae515
UD
28815 * inet/getnetgrent_r.c: Hook up nscd.
28816 * nscd/Makefile (routines): Add nscd_netgroup.
28817 (nscd-modules): Add netgroupcache.
28818 (CFLAGS-netgroupcache.c): Define.
28819 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28820 (cache_search): Add const to second parameter.
28821 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28822 INNETGR.
28823 (dbs): Add netgrdb entry.
28824 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28825 (verify_persistent_db): Handle netgrdb.
28826 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28827 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28828 GETFDNETGR.
28829 (netgroup_response_header): Define.
28830 (innetgroup_response_header): Define.
28831 (datahead): Add netgroup_response_header and innetgroup_response_header
28832 elements.
28833 * nscd/nscd.conf: Add entries for netgroup cache.
28834 * nscd/nscd.h (dbtype): Add netgrdb.
28835 (_PATH_NSCD_NETGROUP_DB): Define.
28836 (netgroup_iov_disabled): Declare.
28837 (xmalloc, xcalloc, xrealloc): Move declarations here.
28838 (cache_search): Adjust prototype.
28839 Add netgroup-related prototypes.
28840 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28841 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28842 (__nscd_innetgr): Declare.
28843 * nscd/selinux.c (perms): Use access_vector_t as element type and
28844 add netgroup-related initializers.
28845 * nscd/netgroupcache.c: New file.
28846 * nscd/nscd_netgroup.c: New file.
28847 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28848 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28849 For four parameters use innetgr.
28850 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28851 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28852 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28853 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28854
21fd49a9
UD
28855 * nscd/connections.c (register_traced_file): Don't register file
28856 for disabled databases.
28857
054c0457
UD
288582011-10-06 Ulrich Drepper <drepper@gmail.com>
28859
32b63198
UD
28860 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28861
054c0457
UD
28862 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28863 from tree and freeing node.
28864
64031225
JO
288652011-09-25 Jiri Olsa <jolsa@redhat.com>
28866
28867 * nss/nsswitch.c (__nss_database_lookup): Handle
28868 nss_parse_service_list out of memory case.
28869
0490345c
JO
288702011-09-15 Jiri Olsa <jolsa@redhat.com>
28871
28872 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28873 out of memory case.
28874
3a62d00d
AS
288752011-10-04 Andreas Schwab <schwab@redhat.com>
28876
28877 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28878 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28879 pass it down.
28880 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28881 elf_machine_rela, elf_machine_lazy_rel.
28882 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28883 (ELF_DYNAMIC_DO_REL): Likewise.
28884 (ELF_DYNAMIC_DO_RELA): Likewise.
28885 (ELF_DYNAMIC_RELOCATE): Likewise.
28886 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28887 to ELF_DYNAMIC_DO_REL.
28888 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28889 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28890 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28891 elf_machine_rela.
28892 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28893 skip_ifunc, don't call ifunc function if non-zero.
28894 (elf_machine_rela): Likewise.
28895 (elf_machine_lazy_rel): Likewise.
28896 (elf_machine_lazy_rela): Likewise.
28897 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28898 (elf_machine_lazy_rel): Likewise.
28899 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28900 Likewise.
28901 (elf_machine_lazy_rel): Likewise.
28902 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28903 Likewise.
28904 (elf_machine_lazy_rel): Likewise.
28905 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28906 (elf_machine_lazy_rel): Likewise.
28907 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28908 (elf_machine_lazy_rel): Likewise.
28909 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28910 (elf_machine_lazy_rel): Likewise.
28911 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28912 (elf_machine_lazy_rel): Likewise.
28913 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28914 (elf_machine_lazy_rel): Likewise.
28915 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28916 (elf_machine_lazy_rel): Likewise.
28917
68577918
UD
289182011-09-28 Ulrich Drepper <drepper@gmail.com>
28919
28920 * nss/nss_files/files-init.c (_nss_files_init): Use static
28921 initialization for all the *_traced_file variables.
28922
68822d74
AS
289232011-09-28 Andreas Schwab <schwab@redhat.com>
28924
28925 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28926
2056100b
RM
289272011-09-27 Roland McGrath <roland@hack.frob.com>
28928
28929 [BZ #13226]
28930 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28931
32c76b63
AS
289322011-09-27 Andreas Schwab <schwab@redhat.com>
28933
28934 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28935 Reread the line before reparsing it.
28936
bf972c9d
AS
289372011-09-26 Andreas Schwab <schwab@redhat.com>
28938
28939 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28940
e057a1b5
JM
289412011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28942 Maxim Kuvyrkov <maxim@codesourcery.com>
28943 Joseph Myers <joseph@codesourcery.com>
28944
28945 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28946 if needed for __stack_chk_guard.
28947
bc7e1c36
RM
289482011-09-19 Roland McGrath <roland@hack.frob.com>
28949
ecb1482f
RM
28950 * sysdeps/posix/spawni.c (script_execute): Always define it.
28951 It will be optimized away if unused.
28952 (maybe_script_execute): New function.
28953 (__spawni): Call it.
28954
bc7e1c36
RM
28955 * Makerules: Don't include tls.make.
28956 (config-tls): Always set to thread.
28957 * tls.make.c: File removed.
28958
1c3b002b
MF
289592011-09-19 Mike Frysinger <vapier@gentoo.org>
28960
28961 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28962 * config.make.in (CPPFLAGS-config): New substituted variable.
28963
2840865d
UD
289642011-09-15 Ulrich Drepper <drepper@gmail.com>
28965
88738eb6
UD
28966 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28967
cbf645a6 28968 [BZ #13192]
2840865d
UD
28969 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28970 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28971
b402e91a
RM
289722011-09-15 Roland McGrath <roland@hack.frob.com>
28973
28974 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28975 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28976 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28977 (CALL_FAIL): Likewise.
28978 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28979 (CALL_FAIL): Macro removed.
28980 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28981
4c1a1f71
UD
289822011-09-15 Ulrich Drepper <drepper@gmail.com>
28983
28984 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28985 for __FINITE_MATH_ONLY__ == 1.
28986
edc121be
AS
289872011-09-15 Andreas Schwab <schwab@redhat.com>
28988
28989 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28990 __ieee754_sqrt instead of sqrt.
28991 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28992 __ieee754_sqrtf instead of sqrtf.
28993 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28994 __floorf instead of floorf.
28995 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28996 __floorf, __truncf instead of floorf, truncf.
28997
cd205654
UD
289982011-09-14 Ulrich Drepper <drepper@gmail.com>
28999
ee4d0315
UD
29000 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29001
cd205654
UD
29002 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29003 __extern_always_inline.
29004 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29005 32-bit.
29006
48b67d71
AS
290072011-09-14 Andreas Schwab <schwab@redhat.com>
29008
29009 * elf/rtld.c (dl_main): Also relocate in dependency order when
29010 doing symbol dependency testing.
29011
1ae12c75
AS
290122011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29013
29014 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29015 Always define `refsym'.
29016
995a80df
AS
290172011-09-13 Andreas Schwab <schwab@redhat.com>
29018
e529793b
AS
29019 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29020 (__FD_ELT): Renamed from __FDELT.
29021 * misc/bits/select2.h (__FD_ELT): Likewise.
29022 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29023 __FD_MASK instead of __FDELT, __FDMASK.
29024 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29025 Likewise.
29026 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29027 Likewise.
29028
52d4fef8
AS
29029 * elf/Makefile (gen-ldd): Fix pattern.
29030
995a80df
AS
29031 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29032 (init_tls): Likewise.
29033
8682f8b0
UD
290342011-09-12 Ulrich Drepper <drepper@gmail.com>
29035
29036 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29037
de82006d
AS
290382011-09-12 Andreas Schwab <schwab@redhat.com>
29039
a7c8e6a1
AS
29040 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29041 `struct cmsghdr *' instead of `void *'.
29042 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29043 Likewise.
29044
0f31fe77
AS
290452011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29046
29047 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29048 if non-absolute.
29049 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29050 ldd_rewrite_script.
0f31fe77 29051
32b4c839
UD
290522011-09-11 Ulrich Drepper <drepper@gmail.com>
29053
83cd1420
UD
29054 * configure.in: Remove --with-tls option.
29055 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29056 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29057 out in case it is missing.
29058 * sysdeps/ia64/elf/configure.in: Likewise.
29059 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29060 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29061 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29062 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29063 * sysdeps/sh/elf/configure.in: Likewise.
29064 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29065 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29066 * sysdeps/x86_64/elf/configure.in: Likewise.
29067 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29068 * sysdeps/mach/hurd/tls.h: Likewise.
29069
633f745d
UD
29070 [BZ #13067]
29071 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29072
f318beb8
UD
29073 [BZ #13090]
29074 * configure.in: Fix use of AC_INIT.
29075
32b4c839
UD
29076 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29077
3ce1f295
UD
290782011-09-10 Ulrich Drepper <drepper@gmail.com>
29079
bb016596
UD
29080 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29081 __set_errno.
8e58439c
UD
29082 * malloc/hooks.c: Likewise.
29083
aebae053 29084 [BZ #11929]
02d46fc4
UD
29085 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29086 variables statically.
29087 (narenas): Initialize.
29088 (list_lock): Initialize.
bb016596
UD
29089 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29090 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
29091 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29092 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29093 Add initializers to main_arena and mp_.
29094 (malloc_state): Remove pagesize member. Change all users to use
29095 GLRO(dl_pagesize).
29096
29097 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29098 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29099 is always initialized.
29100
22a89187
UD
29101 * malloc/malloc.c: Removed unused configurations and dead code.
29102 * malloc/arena.c: Likewise.
29103 * malloc/hooks.c: Likewise.
02d46fc4 29104 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 29105
d063d164
UD
29106 * include/tls.h: Removed. USE___THREAD must always be defined.
29107 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29108 * elf/dl-libc.c: Likewise.
29109 * elf/dl-tsd.c: Likewise.
29110 * include/errno.h: Likewise.
29111 * include/netdb.h: Likewise.
29112 * include/resolv.h: Likewise.
29113 * inet/herrno-loc.c: Likewise.
29114 * inet/herrno.c: Likewise.
29115 * malloc/arena.c: Likewise.
29116 * malloc/hooks.c: Likewise.
29117 * malloc/malloc.c: Likewise.
29118 * resolv/res-state.c: Likewise.
29119 * resolv/res_libc.c: Likewise.
29120 * sysdeps/i386/dl-machine.h: Likewise.
29121 * sysdeps/ia64/dl-machine.h: Likewise.
29122 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29123 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29124 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29125 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29126 * sysdeps/sh/dl-machine.h: Likewise.
29127 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29128 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29129 * sysdeps/unix/i386/sysdep.S: Likewise.
29130 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29131 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29132 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29133 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29134 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29135 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29136 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29137 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29138 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29139 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29140 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29141 * sysdeps/x86_64/dl-machine.h: Likewise.
29142 * tls.make.c: Likewise.
29143
3ce1f295
UD
29144 * configure.in: Remove --with-__thread option. Make tests for
29145 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29146 tls_model attribute fail if no support is available. Remove
29147 USE_IN_LIBIO.
29148 * Makeconfig: Adjust for dropped configure option. All features are
29149 now mandatory.
29150 * Makerules: Likewise.
29151 * Versions.def: Likewise.
29152 * argp/argp-fmtstream.c: Likewise.
29153 * argp/argp-fmtstream.h: Likewise.
29154 * argp/argp-help.c: Likewise.
29155 * assert/assert.c: Likewise.
29156 * config.h.in: Likewise.
29157 * config.make.in: Likewise.
29158 * configure: Likewise.
29159 * configure.in: Likewise.
29160 * csu/Versions: Likewise.
29161 * csu/init.c: Likewise.
29162 * elf/tst-audit2.c: Likewise.
29163 * elf/tst-tls10.c: Likewise.
29164 * elf/tst-tls10.h: Likewise.
29165 * elf/tst-tls11.c: Likewise.
29166 * elf/tst-tls12.c: Likewise.
29167 * elf/tst-tls14.c: Likewise.
29168 * elf/tst-tlsmod11.c: Likewise.
29169 * elf/tst-tlsmod12.c: Likewise.
29170 * elf/tst-tlsmod13.c: Likewise.
29171 * elf/tst-tlsmod13a.c: Likewise.
29172 * elf/tst-tlsmod14a.c: Likewise.
29173 * elf/tst-tlsmod15b.c: Likewise.
29174 * elf/tst-tlsmod16a.c: Likewise.
29175 * elf/tst-tlsmod16b.c: Likewise.
29176 * elf/tst-tlsmod7.c: Likewise.
29177 * elf/tst-tlsmod8.c: Likewise.
29178 * elf/tst-tlsmod9.c: Likewise.
29179 * gmon/gmon.c: Likewise.
29180 * grp/fgetgrent_r.c: Likewise.
29181 * grp/putgrent.c: Likewise.
29182 * hurd/fopenport.c: Likewise.
29183 * include/libc-symbols.h: Likewise.
29184 * include/tls.h: Likewise.
29185 * intl/gettextP.h: Likewise.
29186 * intl/loadinfo.h: Likewise.
29187 * locale/global-locale.c: Likewise.
29188 * locale/localeinfo.h: Likewise.
29189 * mach/devstream.c: Likewise.
29190 * malloc/arena.c: Likewise.
29191 * malloc/set-freeres.c: Likewise.
29192 * misc/err.c: Likewise.
29193 * misc/getttyent.c: Likewise.
29194 * misc/mntent_r.c: Likewise.
29195 * posix/getopt.c: Likewise.
29196 * posix/wordexp.c: Likewise.
29197 * pwd/fgetpwent_r.c: Likewise.
29198 * resolv/Versions: Likewise.
29199 * resolv/res_hconf.c: Likewise.
29200 * shadow/fgetspent_r.c: Likewise.
29201 * shadow/putspent.c: Likewise.
29202 * stdio-common/printf_fphex.c: Likewise.
29203 * stdio-common/tmpfile.c: Likewise.
29204 * stdlib/abort.c: Likewise.
29205 * stdlib/fmtmsg.c: Likewise.
29206 * sunrpc/auth_unix.c: Likewise.
29207 * sunrpc/clnt_perr.c: Likewise.
29208 * sunrpc/clnt_tcp.c: Likewise.
29209 * sunrpc/clnt_udp.c: Likewise.
29210 * sunrpc/clnt_unix.c: Likewise.
29211 * sunrpc/openchild.c: Likewise.
29212 * sunrpc/svc_simple.c: Likewise.
29213 * sunrpc/svc_tcp.c: Likewise.
29214 * sunrpc/svc_udp.c: Likewise.
29215 * sunrpc/svc_unix.c: Likewise.
29216 * sunrpc/xdr.c: Likewise.
29217 * sunrpc/xdr_array.c: Likewise.
29218 * sunrpc/xdr_rec.c: Likewise.
29219 * sunrpc/xdr_ref.c: Likewise.
29220 * sunrpc/xdr_stdio.c: Likewise.
29221
1248c1c4
PB
292222011-09-09 Ulrich Drepper <drepper@gmail.com>
29223
29224 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29225
292262011-07-03 Andreas Jaeger <aj@suse.de>
29227
29228 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29229 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29230 regenerate with gen-libm-tests.pl.
29231
292322010-05-12 Petr Baudis <pasky@suse.cz>
29233
29234 [BZ #11589]
29235 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29236 around j0() zero points by switching to j1().
29237 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29238 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29239 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29240 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29241
f22e1074
UD
292422011-09-09 Ulrich Drepper <drepper@gmail.com>
29243
f19009c1
UD
29244 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29245 instead of 0.
29246 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29247 instead of 0.
f19009c1
UD
29248 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29249 Patch in part by Pavel Roskin <proski@gnu.org>.
29250
3f8cc204
UD
29251 [BZ #13138]
29252 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29253 realloc.
29254 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29255 Free memory block if necessary.
29256
f22e1074
UD
29257 [BZ #12847]
29258 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29259 be NULL. Don't lock in this case.
29260
0a2349f9
RM
292612011-09-09 Roland McGrath <roland@hack.frob.com>
29262
29263 * elf/elf.h (ELFOSABI_GNU): New macro.
29264 (ELFOSABI_LINUX): Define to that.
29265
f3cdd467
DZ
292662011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29267
29268 * string/strncat.c (strncat): Undef the symbol in case it has been
29269 defined in bits/string.h.
29270
74718d13
UD
292712011-09-09 Ulrich Drepper <drepper@gmail.com>
29272
633e9e0f
UD
29273 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29274
0a2349f9 29275 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29276 link map.
29277
f9924780
AJ
292782011-08-17 Andreas Jaeger <aj@suse.de>
29279
29280 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29281
7f5517aa
PP
292822011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29283 Ian Lance Taylor <iant@google.com>
29284
29285 * math/libm-test.inc (lround_test): New testcase.
29286 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29287
762011fe
UD
292882011-09-08 Ulrich Drepper <drepper@gmail.com>
29289
92963737
UD
29290 * Makefile: Remove support for automatic cvs check-ins.
29291 * Makerules: Likewise.
29292 * config.make.in: Likewise.
29293 * configure.in: Likewise.
29294 * intl/Makefile: Likewise.
29295 * locale/Makefile: Likewise.
29296 * po/Makefile: Likewise.
29297 * posix/Makefile: Likewise.
29298 * sysdeps/gnu/Makefile: Likewise.
29299 * sysdeps/mach/hurd/Makefile: Likewise.
29300 * sysdeps/sparc/sparc32/Makefile: Likewise.
29301
b0727fd8
JS
29302 [BZ #13118]
29303 * posix/Makefile (bug-regex32-ENV): Define.
29304 Patch by John Stanley <jpsinthemix@verizon.net>.
29305
a0f33f99
UD
29306 * misc/Makefile (headers): Add bits/select2.h.
29307 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29308 * misc/bits/select2.h: New file.
29309 * include/bits/select2.h: New file.
29310 * debug/Makefile (routines): Add fdelt_chk.
29311 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29312 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29313 FD_ISSET.
29314 * debug/fdelt_chk.c: New file.
29315
762011fe
UD
29316 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29317 * wcsmbs/test-wmemcmp.c: Likewise.
29318 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29319 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29320
293212011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29322
29323 * string/Makefile (strop-tests): Add memcmp.
29324 * string/test-wmemcmp.c: New file.
29325 * string/test-memcmp.c: Add wmemcmp support.
29326
7f513ec8
RM
293272011-09-08 Roland McGrath <roland@hack.frob.com>
29328
0442afb4
RM
29329 [BZ #13153]
29330 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29331 2011-07-19 change.
29332
7f513ec8
RM
29333 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29334 garbage value in a __mach_port_mod_refs call in the cases of the
29335 task-self and thread-self ports.
29336
a12b2239
ST
293372011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29338
29339 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29340
610f9ab4
AS
293412011-09-08 Andreas Schwab <schwab@redhat.com>
29342
7f513ec8 29343 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29344
48882a1a
LD
293452011-09-07 Ulrich Drepper <drepper@gmail.com>
29346
b49865be
UD
29347 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29348
fdc86bc9
UD
29349 * elf/dl-libc.c (dlerror_run): Pass back error code from
29350 dl_catch_error.
29351
c966526a
UD
29352 [BZ #13123]
29353 * elf/dl-load.c (lose): Free l_origin if it is valid.
29354
48882a1a
LD
29355 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29356 names.
29357 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29358 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29359 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29360 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29361 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29362 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29363
77a2a8b4
AZ
293642011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29365
29366 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29367 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29368 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29369 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29370 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29371 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29372 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29373 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29374 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29375 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29376
24f579d8
AM
293772011-08-15 Alan Modra <amodra@gmail.com>
29378
29379 [BZ #13092]
29380 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29381 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29382 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29383 ppc_mcount to static-only-routines.
29384 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29385 __mcount_internal.
29386 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29387 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29388
3d4837df
UD
293892011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29390
29391 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29392 for finite and infinity parameters.
29393
22700377
WS
293942011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29395
29396 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29397 and add nop instructions for throughput optimization.
29398 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29399
5025581e
WS
294002011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29401
29402 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29403 aligned copy for power7 with vector-scalar instructions.
29404 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29405
08a300c9
L
294062011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29407
29408 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29409 AVX check.
29410
59178ef9
AS
294112011-09-07 Andreas Schwab <schwab@redhat.com>
29412
29413 [BZ #13144]
29414 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29415 last change.
29416
e38ba7ab
UD
294172011-09-07 Ulrich Drepper <drepper@gmail.com>
29418
29419 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29420 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29421 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29422 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29423 clock_gettime.
29424
d53a73ac
UD
294252011-09-06 Ulrich Drepper <drepper@gmail.com>
29426
fc8bffcc
UD
29427 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29428 Forgot to demangle the pointer.
29429
ceaa0c5d
UD
29430 * sysdeps/i386/sysdep.h: Define atom_text_section.
29431 * sysdeps/x86_64/sysdep.h: Likewise.
29432 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29433 section with atom_text_section.
29434 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29435 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29436 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29437 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29438 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29439
a77d3c17
UD
29440 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29441 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29442 already be defined. Change to take two parameters and don't assign
29443 result to variable. Adjust all users.
29444 Define INTERNAL_GETTIME if not already defined.
29445 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29446 call.
29447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29448 HAVE_CLOCK_GETTIME_VSYSCALL.
29449 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29450
d53a73ac
UD
29451 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29452 gettimeofday vsyscall, just use time.
29453
a8f84144
AS
294542011-09-06 Andreas Schwab <schwab@redhat.com>
29455
29456 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29457 <errno.h>.
29458
ef606249
UD
294592011-09-06 Ulrich Drepper <drepper@gmail.com>
29460
29461 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29462 syscall on x86-64.
29463 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29464 syscall.
29465 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29466 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29467 syscall if possible.
29468
6585cb60
UD
294692011-09-05 Ulrich Drepper <drepper@gmail.com>
29470
29471 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29472 e_ident. Don't pass to find_mapsXX.
29473 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29474
a5f524e4
LD
294752011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29476
29477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29478 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29479 * sysdeps/x86_64/multiarch/strchr.S: Update.
29480 Check bit_slow_BSF bit.
29481 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29482 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29483 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29484
554881ef
UD
294852011-09-05 Ulrich Drepper <drepper@gmail.com>
29486
d96de963
UD
29487 [BZ #13134]
29488 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29489 before glibc 2.15.
29490 (tryshell): Define.
29491 (__spawni): Change last parameter to be flag. Test
29492 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29493 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29494 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29495 * posix/spawni.c: Likewise.
29496 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29497 * posix/spawnp.c: Likewise. Change normal version to use
29498 SPAWN_XFLAGS_USE_PATH.
29499 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29500 SPAWN_XFLAGS_TRY_SHELL.
29501
d48e5868
UD
29502 [BZ #13150]
29503 * posix/glob.h: Remove gcc 1.x support.
29504
554881ef
UD
29505 [BZ #13068]
29506 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29507
693fb948
LD
295082011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29509
29510 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29511 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29512 strrchr-sse2-bsf
29513 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29514 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29515 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29516 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29517 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29518 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29519
1b48c537
UD
295202011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29521
49d42c37
UD
29522 * sysdeps/x86_64/wcscmp.S: New file.
29523
1b48c537
UD
29524 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29525 wcscmp-c wcscmp-sse2
29526 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29527 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29528 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29529 * wcsmbs/wcscmp.c: Allow renaming.
29530
15c95c5d
DM
295312011-09-05 David S. Miller <davem@davemloft.net>
29532
29533 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29534 stack slot, rather than the struct return pointer slot.
29535 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29536 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29538 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29539
2f0ad8f3
UD
295402011-09-05 Ulrich Drepper <drepper@gmail.com>
29541
d88ae418
UD
29542 * po/ja.po: Update from translation team.
29543
2f0ad8f3
UD
29544 [BZ #13144]
29545 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29546 kernel in 64-bit binaries.
29547
5f4318d1
DM
295482011-09-01 David S. Miller <davem@davemloft.net>
29549
29550 * elf/elf.h (HWCAP_SPARC_*): Move to..
29551 * sysdeps/sparc/sysdep.h: this new file and add new values.
29552 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29553 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29554 _DL_HWCAP_COUNT to 24.
29555 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29556 entries.
29557 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29558 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29559 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29560 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29561 instead of magic constants.
29562 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29563
3ba57516
DM
295642011-08-31 David S. Miller <davem@davemloft.net>
29565
29566 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29567 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29568 Reimplement to do errno handling inline.
29569 (SYSCALL_ERROR_HANDLER): New macro.
29570 (__SYSCALL_STRING): Do not do errno handling in asm.
29571 (__CLONE_SYSCALL_STRING): Delete.
29572 (__INTERNAL_SYSCALL_STRING): Delete.
29573 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29574 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29575 (PSEUDO): Reimplement to do errno handling inline.
29576 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29577 (SYSCALL_ERROR_HANDLER): New macro.
29578 (__SYSCALL_STRING): Do not do errno handling in asm.
29579 (__CLONE_SYSCALL_STRING): Delete.
29580 (__INTERNAL_SYSCALL_STRING): Delete.
29581 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29582 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29583 i386.
29584 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29585 (inline_syscall*): Add 'err' argument.
29586 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29587 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29588 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29589 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29590
29591 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29592 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29593
2bc17433
AS
295942011-08-30 Andreas Schwab <schwab@redhat.com>
29595
29596 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29597
fbeb5f4d
JO
295982011-08-29 Jiri Olsa <jolsa@redhat.com>
29599
29600 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29601 directive.
29602
ad69cc26
DM
296032011-08-24 David S. Miller <davem@davemloft.net>
29604
29605 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29606
39dd69df
AS
296072011-08-24 Andreas Schwab <schwab@redhat.com>
29608
29609 * elf/Makefile: Add rules to build and run unload8 test.
29610 * elf/unload8.c: New file.
29611 * elf/unload8mod1.c: New file.
29612 * elf/unload8mod1x.c: New file.
29613 * elf/unload8mod2.c: New file.
29614 * elf/unload8mod3.c: New file.
29615
29616 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29617 it wasn't used.
29618
2c0b250a
DM
296192011-08-23 David S. Miller <davem@davemloft.net>
29620
29621 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29622 subtract stack bias.
29623 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29624 %sp not %fp in calculations.
29625 (_JMPBUF_UNWINDS_ADJ): Likewise.
29626
22044b48
DM
29627 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29628 (aio_suspend): Call it to force an exception region around the
29629 AIO_MISC_WAIT() invocation.
29630
2cae4995
AS
296312011-08-23 Andreas Schwab <schwab@redhat.com>
29632
29633 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29634 backslash.
29635
873a772e
AJ
296362011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29637
29638 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29639 protection macro.
29640 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29641 and <dl-machine.h>.
29642 (Elf64_FuncDesc): Remove.
29643
25ad0df1
DM
296442011-08-22 David S. Miller <davem@davemloft.net>
29645
29646 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29647 sigaltstack check, add missing cfi directives.
29648 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29649 missing cfi directives, and sigaltstack handling.
29650
e888bcbe
AS
296512011-08-16 Andreas Schwab <schwab@redhat.com>
29652
29653 [BZ #11724]
29654 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29655 object is seen twice.
29656 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29657
29658 * elf/Makefile (distribute): Add tst-initorder2.c.
29659 (tests): Add tst-initorder2.
29660 (modules-names): Add tst-initorder2a tst-initorder2b
29661 tst-initorder2c tst-initorder2d. Add rules to build them.
29662 ($(objpfx)tst-initorder2.out): New rule.
29663 * elf/tst-initorder2.c: New file.
29664 * elf/tst-initorder2.exp: New file.
29665
87162f46
AS
296662011-08-22 Andreas Schwab <schwab@redhat.com>
29667
70538b7f
AS
29668 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29669
f55ffe58
AS
29670 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29671 dependencies back to end of function.
29672
87162f46
AS
29673 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29674 $(elfobjdir)/ld.so.
29675
91b392a4
UD
296762011-08-21 Ulrich Drepper <drepper@gmail.com>
29677
29678 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29679 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29680 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29681 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29682 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29683 of __vdso_gettimeofday.
29684 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29685 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29686 attribute_hidden.
29687 (_libc_vdso_platform_setup): Remove initialization of
29688 __vdso_gettimeofday and __vdso_time.
29689
5c43483f
UD
296902011-08-20 Ulrich Drepper <drepper@gmail.com>
29691
775a77e7
UD
29692 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29693 and fgetc_unlocked.
29694 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29695 getc_unlocked.
89f447ed 29696
49c74ba9
UD
29697 * elf/dl-open.c (add_to_global): Report additions to the global scope
29698 for LD_DEBUG=scopes.
29699 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29700 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29701
5c43483f
UD
29702 [BZ #13114]
29703 * stdio-common/Makefile (tests): Add bug24.
29704 * stdio-common/bug24.c: New file.
29705
a101b025
AJ
297062011-08-19 Andreas Jaeger <aj@suse.de>
29707
29708 [BZ #13114]
29709 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29710 non-existant file when using close-on-exec mode.
29711
c88f1766
UD
297122011-08-20 Ulrich Drepper <drepper@gmail.com>
29713
0276a718
UD
29714 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29715 the very first instruction.
29716
c88f1766
UD
29717 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29718 the CFI state in the end.
29719 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29720 inclusion of dl-trampoline.h.
29721 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29722
51ccffa0
AS
297232011-08-19 Andreas Schwab <schwab@redhat.com>
29724
94d7165f
AS
29725 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29726 expectations for long double.
29727
51ccffa0
AS
29728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29729 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29730
fd708658 297312011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29732
29733 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29734 artificual limit depends upon the system page size.
29735
44f0a71e
UD
297362011-08-17 Ulrich Drepper <drepper@gmail.com>
29737
29738 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29739 * resolv/Makefile: Define CFLAGS-libresolv.
29740
8de79a24
AS
297412011-08-17 Andreas Schwab <schwab@redhat.com>
29742
29743 * nss/makedb.c (compute_tables): Make variables used in nested
29744 function static.
29745
27724598
UD
297462011-08-17 Ulrich Drepper <drepper@gmail.com>
29747
c5305d88
UD
29748 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29749 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29750 if buffer was too small.
29751
27724598
UD
29752 * elf/pldd.c (main): Attach to all threads in the process.
29753 Rewrite /proc handling to use *at functions.
29754
076fe015
UD
297552011-08-16 Ulrich Drepper <drepper@gmail.com>
29756
174baab3
UD
29757 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29758 specifies first scope to show.
29759 (dl_open_worker): Update callers. Move printing scope of new
29760 object to before the relocation.
44f0a71e 29761 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29762 * sysdeps/generic/ldsodefs.h: Update declaration.
29763
076fe015
UD
29764 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29765 string for the scope number.
29766
a60df2c3
UD
297672011-08-14 Ulrich Drepper <drepper@gmail.com>
29768
29769 * nscd/servicescache.c (cache_addserv): Make sure written is always
29770 initialized.
29771
5e4287d1
RM
297722011-08-14 Roland McGrath <roland@hack.frob.com>
29773
85ae0589
RM
29774 * sysdeps/i386/i486/bits/atomic.h
29775 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29776 statement expression, so as to suppress "set but not used" warning.
29777 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29778
69f63097
RM
29779 * string/strncat.c (STRNCAT): Use prototype definition.
29780
675456ef
RM
29781 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29782 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29783 -Iprograms here.
29784 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29785 (localedef-modules): Add localedef.
29786 (locale-modules): Add locale.
29787
5e4287d1
RM
29788 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29789 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29790 to avoid a warning.
29791
9c96ff23
DM
297922011-08-14 David S. Miller <davem@davemloft.net>
29793
29794 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29795 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29796
f9ddf089
UD
297972011-08-13 Ulrich Drepper <drepper@gmail.com>
29798
44f0a71e 29799 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29800 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29801 * elf/rtld.c (dl_main): Set l_name of vDSO.
29802 Call _dl_show_scope when DL_DEBUG_SCOPES.
29803 (process_dl_debug): Recognize scopes flag and also set it for all.
29804 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29805 Declare _dl_show_scope.
29806
1dc27704
UD
29807 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29808 (do_dlopen): Pass caller_dlopen to dl_open.
29809 (__libc_dlopen_mode): Initialize caller_dlopen.
29810
f9ddf089
UD
29811 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29812 of libc. Make tolower call locale-independent. Optimize a bit by
29813 using isdigit instead of isalnum.
29814 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29815
9ac533d3
UD
298162011-08-12 Ulrich Drepper <drepper@gmail.com>
29817
29818 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29819 was a dependency or dynamically loaded.
29820
89edf2e9
UD
298212011-08-11 Ulrich Drepper <drepper@gmail.com>
29822
8e999d29
UD
29823 * intl/l10nflist.c: Allow architecture-specific pop function.
29824 * sysdeps/x86_64/l10nflist.c: New file.
29825
89edf2e9
UD
29826 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29827 classification.
29828
14d96785
AS
298292011-08-10 Andreas Schwab <schwab@redhat.com>
29830
29831 * include/dirent.h: Add libc_hidden_proto for scandirat and
29832 scandirat64. Don't declare __scandirat64.
29833 * dirent/scandirat.c: Add libc_hidden_def.
29834 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29835 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29836
6761ac04
DM
298372011-08-10 David S. Miller <davem@davemloft.net>
29838
29839 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29840 enum.
29841 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29842 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29843 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29844
c55fbd1e
UD
298452011-08-09 Ulrich Drepper <drepper@gmail.com>
29846
29847 * Versions.def [libc]: Add GLIBC_2.15.
29848 * dirent/Makefile (routines): Add scandirat and scandirat64.
29849 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29850 GLIBC_2.15.
29851 * dirent/dirent.h: Declare scandirat and scandirat64.
29852 * dirent/scandirat.c: New file.
29853 * dirent/scandirat64.c: New file.
29854 * sysdeps/wordsize-64/scandirat.c: New file.
29855 * sysdeps/wordsize-64/scandirat64.c: New file.
29856 * dirent/opendir.c: Define opendirat.
29857 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29858 using scandirat.
29859 * dirent/scandir64.c: Adjust for scandir.c change.
29860 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29861 __scandirat64, and __scandir_cancel_handler.
29862 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29863 additional parameter and use openat instead of open (outside of ld.so).
29864 Add new __opendir as wrapper around __opendirat.
29865 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29866 here without requiring old scandirat implementation.
29867
879165f2
UD
298682011-08-08 Ulrich Drepper <drepper@gmail.com>
29869
29870 * dirent/scandir.c (cancel_handler): Renamed to
29871 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29872 defined. Adjust users.
29873 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29874 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29875
cb7e923b
UD
298762011-08-04 Ulrich Drepper <drepper@gmail.com>
29877
16292edd
UD
29878 * string/test-string.h (IMPL): Use __STRING to expand name and then
29879 stringify it.
29880
cb7e923b
UD
29881 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29882 of cleanups.
29883
cff82933
LD
298842011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29885
29886 * string/Makefile: Update.
29887 (strop-tests): Append strncat.
29888 * string/test-wcscmp.c: New file.
29889 New comprehensive test for wcscmp.
29890 * string/test-strcmp.c: Update.
29891 (WIDE): New define.
29892
9be9bfcc
AS
298932011-07-22 Andreas Schwab <schwab@redhat.com>
29894
29895 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29896 line.
29897
2e96f1c7
AS
298982011-07-26 Andreas Schwab <schwab@redhat.com>
29899
29900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29901 encoding to ACE if AI_IDN.
29902
85188888
JJ
299032011-08-01 Jakub Jelinek <jakub@redhat.com>
29904
29905 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29906 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29907
5fa16e9b
LD
299082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29909
29910 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29911 Fix overflow bug in strncat.
29912 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29913
29914 * string/test-strncat.c: Update.
29915 Add new tests for checking overflow bugs.
29916
299172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29918
29919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29920 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29921 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29922 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29923 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29924 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29925 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29926 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29927 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29928
29929 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29930 (USE_AS_STRCAT): Define.
29931 Add strcat and strncat support.
29932 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29933
8c1a459f
AS
299342011-07-25 Andreas Schwab <schwab@redhat.com>
29935
29936 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29937 __n bigger than INT_MAX+1.
29938 (__strncmp_g): Likewise.
29939
bba33c28
UD
299402011-07-23 Ulrich Drepper <drepper@gmail.com>
29941
798be72d
UD
29942 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29943 * libio/stido.h: Likewise.
29944
8accd4dc
UD
29945 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29946 (AF_NFC): Define.
29947 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29948 (AF_NFC): Define.
29949
cbff0d96
UD
29950 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29951 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29952 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29953 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29954 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29955
9191c04a
UD
29956 [BZ #13021]
29957 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29958 installed.
29959
bba33c28
UD
29960 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29961 typo.
29962 (_dl_x86_64_save_sse): Likewise.
29963
90f139dd
UD
299642011-07-22 Ulrich Drepper <drepper@gmail.com>
29965
1aae088a
UD
29966 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29967 OSXSAVE.
29968 (_dl_x86_64_save_sse): Likewise.
29969
8e2045f5
UD
29970 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29971
90f139dd
UD
29972 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29973
1d002f25
AS
299742011-07-21 Andreas Schwab <schwab@redhat.com>
29975
29976 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29977 change.
29978 (_dl_x86_64_save_sse): Use correct AVX check.
29979
21137f89
UD
299802011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29981
29982 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29983 bug in strncpy/strncat.
29984 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29985
a65c0b7a
UD
299862011-07-21 Ulrich Drepper <drepper@gmail.com>
29987
29988 * string/tester.c (test_strcat): Add tests for different alignments
29989 of source and destination.
29990 (test_strncat): Likewise.
29991
6986b98a
UD
299922011-07-20 Ulrich Drepper <drepper@gmail.com>
29993
90bb2039
UD
29994 [BZ #12852]
29995 * posix/glob.c (glob): Check passed in values before using them in
29996 expressions to avoid some overflows.
29997 (glob_in_dir): Likewise.
29998
5644ef54
UD
29999 [BZ #13007]
30000 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30001 check for AVX enablement so that we don't crash with old kernels and
30002 new hardware.
30003 * elf/tst-audit4.c: Add same checks here.
30004 * elf/tst-audit6.c: Likewise.
30005
30006 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 30007
bfc9dc9b
AS
300082011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30009
30010 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30011
702e64bb
UD
300122011-07-20 Ulrich Drepper <drepper@gmail.com>
30013
30014 * po/cs.po: Update from translation team.
30015 * po/bg.po: Likewise.
30016
295e904f
MP
300172011-07-12 Marek Polacek <mpolacek@redhat.com>
30018
30019 * misc/sys/cdefs.h: Add support for const attribute.
30020 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30021 to gnu_dev_{major,minor,makedev} functions.
30022
3ff94596
MP
300232011-07-20 Marek Polacek <mpolacek@redhat.com>
30024
30025 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30026
28b59fca
AS
300272011-07-20 Andreas Schwab <schwab@redhat.com>
30028
30029 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30030 strlen results.
30031
19df733e
AK
300322011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30033
30034 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30035 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30036 register in order to avoid conflicts with the soft frame pointer
30037 being held in r11 when necessary.
30038 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30039 (INTERNAL_VSYSCALL_NCS): Likewise.
30040
c8835729
MP
300412011-07-14 Marek Polacek <mpolacek@redhat.com>
30042
30043 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30044 * elf/dl-fini.c (_dl_fini): Adjust caller.
30045 * elf/dl-close.c (_dl_close_worker): Likewise.
30046 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30047
b902330c
MP
300482011-07-15 Marek Polacek <mpolacek@redhat.com>
30049
8991e135
MP
30050 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30051 "aux_cache->nlibs < 0".
30052
b902330c
MP
30053 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30054 in the reload-count case.
30055
99710781
LD
300562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30057
30058 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30059 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30060 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30061 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30062 * sysdeps/x86_64/multiarch/strcat.S: New file.
30063 * sysdeps/x86_64/multiarch/strncat.S: New file.
30064 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30065 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30066 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30067 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30068 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30069 (USE_AS_STRCAT): Define.
30070 Add strcat and strncat support.
30071 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30072 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30073 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30074 * string/strncat.c: Update.
30075 (USE_AS_STRNCAT): Define.
30076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30077 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30078 and i7.
30079 * sysdeps/x86_64/multiarch/init-arch.h
30080 (bit_Prefer_PMINUB_for_stringop): New.
30081 (index_Prefer_PMINUB_for_stringop): Likewise.
30082 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30083 bit_Prefer_PMINUB_for_stringop.
30084
7dc6bd90
UD
300852011-07-19 Ulrich Drepper <drepper@gmail.com>
30086
30087 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30088 buffer64.
30089 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30090 of casting of buffer.
30091 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30092 buffer32 and buffer64.
30093 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30094 writes instead of casting of buffer.
30095 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30096 buffer32.
30097 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30098 casting of buffer.
30099
e0e72284
AS
301002011-07-19 Andreas Schwab <schwab@redhat.com>
30101
30102 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30103
feb1eb0b
UD
301042011-07-19 Ulrich Drepper <drepper@gmail.com>
30105
30106 * nscd/nscd.c (termination_handler): Don't do anything for a database
30107 if it has not yet been initialized.
30108
298711ff
UD
301092011-07-18 Ulrich Drepper <drepper@gmail.com>
30110
30111 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30112
301132011-07-15 Marek Polacek <mpolacek@redhat.com>
30114
30115 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30116
f9d68389
UD
301172011-07-18 Ulrich Drepper <drepper@gmail.com>
30118
30119 * po/nl.po: Update from translation team.
30120 * po/sv.po: Likewise.
30121
db290cf5
RM
301222011-07-16 Roland McGrath <roland@hack.frob.com>
30123
30124 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30125 now disallowed by GCC.
5c550700 30126
fd5e21c7
RM
30127 * configure.in (use-default-link): Default to yes if a test -shared
30128 link meets our qualifications.
30129 * configure: Regenerated.
30130
5c550700
RM
30131 * config.make.in (output-format): New variable.
30132 * configure.in: Check for ld --print-output-format support.
30133 * configure: Regenerated.
30134 * Makerules ($(common-objpfx)format.lds)
30135 [$(output-format) != unknown]: Just use $(output-format),
30136 instead of the linker-script munging.
30137
9fa2c032
RM
301382011-07-14 Roland McGrath <roland@hack.frob.com>
30139
a6928d51
RM
30140 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30141 of $(common-objpfx)shlib.lds.
30142 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30143
661607b3
RM
30144 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30145 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30146
9fa2c032
RM
30147 * configure.in (-z relro check): Adjust test code to add a large
30148 writable data section after it.
30149 * configure: Regenerated.
30150
defe9061
RM
301512011-07-11 Roland McGrath <roland@hack.frob.com>
30152
30153 * configure.in (-z relro check): Fix test code to make the variable
30154 truly const.
30155 * configure: Regenerated.
30156
319b9ad4
UD
301572011-07-11 Ulrich Drepper <drepper@gmail.com>
30158
30159 * nscd/nscd.h (struct traced_file): Define.
30160 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30161 elements. Add traced_files.
30162 (inotify_fd): Declare.
30163 (register_traced_file): Declare.
30164 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30165 (inotify_fd): Export.
30166 (resolv_conf_descr): Remove.
30167 (nscd_init): Move inotify descriptor creation to main.
30168 Don't register files for notification here.
30169 (register_traced_file): New function.
30170 (invalidate_cache): Don't use reset_res to determine whether to call
30171 res_init, go through the list of registered files.
30172 (main_loop_poll): The inotify descriptors are now stored in the
30173 structures for the traced files.
30174 (main_loop_epoll): Likewise
30175 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30176 to __nss_disable_nscd.
30177 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30178 for a database anymore. Check the records for all the registered
30179 files instead.
30180 * nss/Makefile (libnss_files-routines): Add files-init.
30181 (libnss_db-routines): Add db-init.
30182 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30183 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30184 * nss/nss_db/db-init.c: New file.
30185 * nss/nss_files/files-init.c: New file.
30186 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30187 __nss_lookup_function.
30188 (__nss_lookup_function): Call nss_load_library.
30189 (nss_load_all_libraries): New function.
30190 (__nss_disable_nscd): Take parameter with callback function for files
30191 to register. Set is_nscd. Load all the DSOs for the NSS modules
30192 used for the cached services.
30193 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30194 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30195 options for features to all the files in nscd.
30196
30197 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30198
23bee3e8
RM
301992011-07-10 Roland McGrath <roland@hack.frob.com>
30200
30201 * csu/elf-init.c (__libc_csu_init): Comment typo.
30202
46a5b7f0
UD
302032011-07-09 Ulrich Drepper <drepper@gmail.com>
30204
30205 * po/pl.po: Update from translation team.
30206 * po/ja.po: Likewise.
30207 * po/ru.po: Likewise.
30208 * po/ko.po: Likewise.
30209 * po/fr.po: Likewise.
30210
d30cf5bb
RM
302112011-07-09 Roland McGrath <roland@hack.frob.com>
30212
113ddea4
RM
30213 * configure.in (.ctors/.dtors header and trailer check):
30214 Use an empirical test on a built program.
30215 * configure: Regenerated.
30216
574920b4
RM
30217 * configure.in (-z relro check): Use an empirical test on a built DSO.
30218 Detect, but do not require, on ia64.
30219 * configure: Regenerated.
30220
d30cf5bb
RM
30221 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30222 Update tests that use readelf to use $READELF instead.
30223 * configure: Regenerated.
30224
8538fdb3
UD
302252011-07-08 Ulrich Drepper <drepper@gmail.com>
30226
30227 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30228 if the result is not used.
30229
04d08991
AJ
302302011-07-05 Andreas Jaeger <aj@suse.de>
30231
30232 [BZ#9696]
30233 * stdlib/tst-strtod.c: Add testcase.
30234
de283087
AD
302352011-07-07 Ulrich Drepper <drepper@gmail.com>
30236
4e5f31c8 30237 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30238 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30239 The latter has a higher limit. Take additional parameter to pass to
30240 the new function.
30241 (__pathconf): Pass file to __statfs_link_max.
30242 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30243 __statfs_link_max.
30244 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30245 __statfs_link_max.
30246
de283087
AD
30247 [BZ #12868]
30248 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30249 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30250 Handle Lustre.
30251 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30252 (__statfs_filesize_max): Likewise.
30253 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30254
c75fa153
AJ
302552011-07-05 Andreas Jaeger <aj@suse.de>
30256
30257 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30258
1a544854
UD
302592011-07-06 Marek Polacek <mpolacek@redhat.com>
30260
30261 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30262 `status' variable.
30263 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30264 Likewise.
30265
6f0eec67
UD
302662011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30267
30268 * Makefile (strop-tests): Add strncat.
30269 * string/test-strncat.c: New file.
30270
aae30307
UD
302712011-06-30 Marek Polacek <mpolacek@redhat.com>
30272
30273 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30274
c0cfb5eb
UD
302752011-06-21 Andreas Jaeger <aj@suse.de>
30276
30277 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30278 Copy rule from iconvdata/Makefile.
30279
01636b21
UD
302802011-07-06 Ulrich Drepper <drepper@gmail.com>
30281
30282 [BZ #12922]
30283 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30284 but no long options are defined, just return 'W'.
30285
9895c8bc
UD
302862011-06-22 Marek Polacek <mpolacek@redhat.com>
30287
30288 [BZ #9696]
30289 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30290
5d4cf042
UD
302912011-07-06 Ulrich Drepper <drepper@gmail.com>
30292
30293 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30294 netgroups to read.
960e5535 30295 (innetgr): Likewise.
5d4cf042 30296
751eb97e
RM
302972011-07-05 Roland McGrath <roland@hack.frob.com>
30298
30299 * config.make.in (install_root): Default to $(DESTDIR).
30300
f15f1e45
UD
303012011-07-05 Ulrich Drepper <drepper@gmail.com>
30302
30303 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30304
4e34ac6a
RM
303052011-07-02 Roland McGrath <roland@hack.frob.com>
30306
5e9b6af4
RM
30307 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30308
84f9ea0f
RM
30309 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30310 containing directory rather than embedding absolute directory names.
30311
ea5ee9f7
RM
30312 * scripts/check-local-headers.sh: Rewritten using awk.
30313 Match by word, not by line. Print error messages for matches.
30314 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30315
1b74661a
RM
30316 * Makerules [shlib-lds-flags empty]:
30317 ($(common-objpfx)libc_pic.opts): New target.
30318 ($(common-objpfx)libc_pic.os.clean): New target.
30319 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30320
30321 * config.make.in (OBJCOPY): New variable.
30322 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30323 * configure: Regenerated.
30324
f781ef40
RM
30325 * config.make.in (use-default-link): New variable.
30326 * configure.in (use_default_link): Grok --with-default-link to set it.
30327 * configure: Regenerated.
30328 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30329 (shlib-lds, shlib-lds-flags): Define to empty.
30330
2d4fa81e
RM
30331 * Makerules (shlib-lds): New variable.
30332 (shlib-lds-flags): New variable.
30333 (build-shlib, build-moduile, build-module-asneeded): Use it.
30334 ($(common-objpfx)libc.so): Use $(shlib-lds).
30335 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30336 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30337
31fffa6b
RM
30338 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30339 DT_FLAGS/DT_FLAGS_1 with zero flags.
30340
4e34ac6a
RM
30341 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30342 linker script munging.
30343
fcfc776b
UD
303442011-07-02 Ulrich Drepper <drepper@gmail.com>
30345
30346 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30347 as 128-bit value.
30348 * crypt/sha512.c (sha512_process_block): Perform total addition using
30349 128-bit if possible.
30350 (__sha512_finish_ctx): Likewise.
30351 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30352 as 64-bit value.
30353 * crypt/sha256.c (SWAP64): Define.
30354 (sha256_process_block): Perform total addition using 64-bit if
30355 possible.
30356 (__sha256_finish_ctx): Likewise.
30357
99231d9a
UD
303582011-07-01 Ulrich Drepper <drepper@gmail.com>
30359
30360 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30361 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30362 * nscd/hstcache.c (cache_addhst): Likewise.
30363 * nscd/grpcache.c (cache_addgr): Likewise.
30364 * nscd/aicache.c (addhstaiX): Likewise
30365 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30366
445b4a53
TK
303672011-07-01 Thorsten Kukuk <kukuk@suse.de>
30368
30369 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30370 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30371 * nscd/hstcache.c (cache_addhst): Likewise.
30372 * nscd/grpcache.c (cache_addgr): Likewise.
30373 * nscd/aicache.c (addhstaiX): Likewise
30374
6d4d8e8e
AS
303752011-07-01 Andreas Schwab <schwab@redhat.com>
30376
30377 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30378 domain only when needed.
30379
89f654c5
AS
303802011-06-30 Andreas Schwab <schwab@redhat.com>
30381
30382 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30383 is always restored.
30384
cf3b23ff
UD
303852011-06-29 Ulrich Drepper <drepper@gmail.com>
30386
30387 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30388 are re-adding the entry.
30389 * nscd/servicescache.c (cache_addserv): Likewise.
30390
751626f9
AJ
303912011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30392
30393 * sysdeps/generic/dl-irel.h: fix protection against multiple
30394 inclusions.
30395 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30396
9113ea1f
UD
303972011-06-28 Ulrich Drepper <drepper@gmail.com>
30398
5c0b8d90
UD
30399 [BZ #12935]
30400 * malloc/memusage.sh: Fix quoting in message.
30401 * debug/xtrace.sh: Likewise.
30402
9113ea1f
UD
30403 * configure.in: Remove support for --experimental-malloc option, make
30404 it the default.
30405 * config.make.in: Likewise.
30406 * malloc/Makefile: Likewise.
30407
a4172181
AS
304082011-06-27 Andreas Schwab <schwab@redhat.com>
30409
30410 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30411 two-byte characters.
30412
78a7eee7
RM
304132011-06-27 Roland McGrath <roland@hack.frob.com>
30414
62bede13
RM
30415 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30416 AC_CACHE_CHECK invocation.
30417 * configure: Regenerated.
30418
78a7eee7
RM
30419 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30420
5ce33a62
UD
304212011-06-27 Ulrich Drepper <drepper@gmail.com>
30422
034807a9
UD
30423 [BZ #12350]
30424 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30425 bit from old_res_options.
30426
4902da17
UD
30427 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30428
5ce33a62
UD
30429 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30430 value type for setfct.
30431
c2344f56
L
304322011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30433
30434 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30435 __gettimeofday instead of gettimeofday.
30436
68468076
UD
304372011-06-26 Ulrich Drepper <drepper@gmail.com>
30438
30439 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30440
acb0d739
L
304412011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30442
30443 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30444
30445 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30446 info.
30447
8912479f
L
304482011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30449
30450 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30451 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30452 strcpy-sse2-unaligned strncpy-sse2-unaligned
30453 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30454 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30455 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30456 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30457 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30458 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30459 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30460 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30461 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30462 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30463 (STRCPY): Support SSE2 and SSSE3 versions.
30464
d5495a11
UD
304652011-06-24 Ulrich Drepper <drepper@gmail.com>
30466
30467 [BZ #12874]
30468 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30469 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30470 kernels which artificially limit size of requests.
30471
0b1cbaae
L
304722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30473
30474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30475 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30476 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30477 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30478 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30479 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30480 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30481 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30482 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30483 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30484 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30485 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30486 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30487 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30488 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30490 Enable unaligned load optimization for Intel Core i3, i5 and i7
30491 processors.
30492 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30493 Define.
30494 (index_Fast_Unaligned_Load): Define.
30495 (HAS_FAST_UNALIGNED_LOAD): Define.
30496
07f494a0
MP
304972011-06-23 Marek Polacek <mpolacek@redhat.com>
30498
30499 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30500
fa3fc0fe
UD
305012011-06-22 Ulrich Drepper <drepper@gmail.com>
30502
30503 [BZ #12907]
30504 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30505 until it is clear that the information is realy needed.
30506 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30507
e12df166
AS
305082011-06-22 Andreas Schwab <schwab@redhat.com>
30509
30510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30511
852eb34d
UD
305122011-06-22 Ulrich Drepper <drepper@gmail.com>
30513
84e2a551
UD
30514 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30515 /sys/devices/system/cpu/online if it is usable.
30516
852eb34d
UD
30517 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30518 reading the information from the /proc filesystem to once a second.
30519
6e502e19
UD
305202011-06-21 Andreas Jaeger <aj@suse.de>
30521
30522 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30523 NULL after inclusion of kernel headers.
30524
75d39ff2
UD
305252011-06-21 Ulrich Drepper <drepper@gmail.com>
30526
51f9aa6a
UD
30527 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30528 calls to internal_setent.
30529
c0244a9d
UD
30530 [BZ #12885]
30531 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30532 addresses using gethostbyname4_r ignore IPv4 addresses.
30533
c5e3c2ae
UD
30534 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30535 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30536
75d39ff2
UD
30537 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30538
42675c6f
DM
305392011-06-20 David S. Miller <davem@davemloft.net>
30540
30541 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30542 inclusions.
30543 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30544
30545 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30546 (elf_irel): Use it.
30547 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30548 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30549 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30550 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30551 * sysdeps/x86_64/dl-irel.h: Likewise.
30552
30553 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30554 * elf/dl-sym.c: Likewise.
30555
57912a71
UD
305562011-06-15 Ulrich Drepper <drepper@gmail.com>
30557
30558 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30559 need to dereference resplen2.
30560
ee22793d
AS
305612011-06-14 Andreas Schwab <schwab@redhat.com>
30562
30563 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30564
a9e836b0
UD
305652011-06-15 Ulrich Drepper <drepper@gmail.com>
30566
77fb9117
UD
30567 * Makeconfig: Define vardbdir and inst_vardbdir.
30568 * nss/Makefile: Add rules to install db-Makefile.
30569
40c1b22c
UD
30570 * nss/nss_db/db-XXX.c: Cleanup.
30571
9f2da732
UD
30572 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30573 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30574 GLIBC_PRIVATE.
30575 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30576 * nss/makedb.c: Implement -g option to specify that value strings
30577 are generated and should not be added to table iterated over for
30578 get*ent calls.
30579 * nss/nss_db/db-initgroups.c: New file.
30580
82e9a1f7
UD
30581 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30582 interface.
30583
c41af17e
UD
30584 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30585 (internal_getgrouplist): Adjust to name change.
30586 Update use_initgroups_entry if this is not the first call.
30587 * nss/databases.def: Add initgroups entry.
30588
a9e836b0
UD
30589 * nss/makedb.c (compute_tables): Check result of multiple hash table
30590 sizes to minimize maximum chain length.
30591
2666d441
UD
305922011-06-14 Ulrich Drepper <drepper@gmail.com>
30593
30594 * Versions.def: Add entry for libnss_db.
30595 * shlib-versions: Likewise.
30596 * nss/Makefile: Add rules to build libnss_db.
30597 * nss/Versions: Add libnss_db information. Organize libnss_files
30598 entries better.
30599 * nss/db-Makefile: Add gshadow support. Change rules for the new
30600 makedb progra. Some minor improvements to generate smaller files.
30601 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30602 here from...
30603 * nss/makedb.c: ...here.
30604 Improve database format to be smaller and require less memory at
30605 runtime.
30606 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30607 db anymore.
30608 * nss/nss_db/db-netgrp.c: Likewise.
30609 * nss/nss_db/db-open.c: Likewise.
30610 * nss/nss_files/flies-XXX.x: Adjust comments.
30611 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30612 * nss/nss_files/files-grp.c: Likewise.
30613 * nss/nss_files/files-hosts.c: Likewise.
30614 * nss/nss_files/files-network.c: Likewise.
30615 * nss/nss_files/files-proto.c: Likewise.
30616 * nss/nss_files/files-pwd.c: Likewise.
30617 * nss/nss_files/files-rpc.c: Likewise.
30618 * nss/nss_files/files-service.c: Likewise.
30619 * nss/nss_files/files-sgrp.c: Likewise.
30620 * nss/nss_files/files-spwd.c: Likewise.
30621 * nss/nss_db/db-alias.c: Removed.
30622 * nss/nss_db/dummy-db.h: Removed.
30623
9ee76b5a
UD
306242011-06-02 Ulrich Drepper <drepper@gmail.com>
30625
30626 * nss/makedb.c: Rewritten to not use database library.
30627 * nss/Makefile: Update to build new makedb program.
30628
c71ca1f8
AJ
306292011-06-14 Andreas Jaeger <aj@suse.de>
30630
30631 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30632 memset declaration.
30633
3154bfb8
UD
306342011-06-10 Andreas Schwab <schwab@redhat.com>
30635
30636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30637 tmpbuf.
30638
b350afab
RM
306392011-06-10 Roland McGrath <roland@hack.frob.com>
30640
decd4e50
RM
30641 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30642 * elf/Makefile ($(objpfx)ld.so): Likewise.
30643
5615eaf2
RM
30644 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30645 Don't list ld.so twice in dependencies.
30646
30647 * posix/bug-regex31.c: Include <stdlib.h>.
30648
30649 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30650
30651 * nis/nss_compat/compat-spwd.c
30652 (getspent_next_nss_netgr): Remove unused variable.
30653 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30654
30655 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30656 nonmembers" output to use the right array.
30657
30658 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30659
30660 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30661
30662 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30663 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30664 * catgets/gencat.c (read_input_file): Likewise.
30665 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30666
30667 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30668 variable definition inside #if's controlling its use.
30669
30670 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30671
30672 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30673
30674 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30675
30676 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30677 unreachable code.
30678
30679 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30680
b68e08db
RM
30681 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30682 * configure: Regenerated.
30683
b350afab
RM
30684 * Makerules: Revert last change.
30685 * elf/Makefile: Likewise.
30686
28368601
RM
306872011-06-09 Roland McGrath <roland@hack.frob.com>
30688
30689 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30690 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30691 (reloc-link): Likewise.
30692
11988f8f
UD
306932011-06-09 Ulrich Drepper <drepper@gmail.com>
30694
30695 * elf/Makefile: Add rules to build pldd.
30696 * elf/pldd.c: New file.
30697 * elf/pldd-xx.c: New file.
30698
e80fab37
UD
306992011-06-07 Ulrich Drepper <drepper@gmail.com>
30700
30701 * version.h: Update for 2.15 development version.
30702
9b849836
DM
307032011-06-07 David S. Miller <davem@davemloft.net>
30704
30705 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30706 ifuncs.
30707 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30708 elf_machine_lazy_rel): Likewise.
30709 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30710 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30711 elf_machine_lazy_rel): Likewise.
30712 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30713 dl_hwcap via passed in argument.
30714 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30715 Likewise.
30716
5a31b283
AK
307172011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30718
30719 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30720
069e52f8
RM
307212011-06-06 Roland McGrath <roland@hack.frob.com>
30722
30723 [BZ #12849]
30724 * manual/fdl-1.1.texi: New file, verbatim from:
30725 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30726 * manual/lgpl-2.1.texi: New file, verbatim from:
30727 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30728 * manual/Makefile (licenses): New variable, list those new file names.
30729 (texis): Use it.
30730 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30731
30732 * manual/fdl.texi: File removed.
30733 * manual/lesser.texi: File removed.
30734 * manual/libc.texinfo (Copying, Documentation License):
30735 Use new @include file names, put @appendix directive before @include.
30736
f16846a5
JJ
307372011-06-04 Jakub Jelinek <jakub@redhat.com>
30738
30739 [BZ #12841]
30740 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30741 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30742 (mq_open): Add __NTH.
30743
3d29045b
L
307442011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30745
30746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30747 Assume Intel Core i3/i5/i7 processor if AVX is available.
30748
8c297311
UD
307492011-05-31 Ulrich Drepper <drepper@gmail.com>
30750
30751 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30752 typo.
30753
c8fc0c91
UD
307542011-05-31 Andreas Schwab <schwab@redhat.com>
30755
30756 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30757 memory. Use alloca_account. Fix memory leak when retrying.
30758
5b27a807
UD
307592011-05-31 Ulrich Drepper <drepper@gmail.com>
30760
356f8bc6
UD
30761 * version.h (RELEASE): Bump for 2.14 release.
30762 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30763
5b27a807
UD
30764 * config.make.in (RANLIB): Remove entry.
30765
01f16ab0
UD
307662011-05-30 Ulrich Drepper <drepper@gmail.com>
30767
41fce8bd
UD
30768 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30769 (libc.pot): Work around missing support for .ksh extension in xgettext.
30770
4769ae77
UD
30771 [BZ #12684]
30772 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30773 if both request failed.
30774 (send_dg): In case of server errors clear resplen or *resplen2.
30775
6b1e7d19
UD
30776 [BZ #12454]
30777 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30778 when there are multiple maps.
30779 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30780 (_dl_fini): Remove test here.
30781
01f16ab0
UD
30782 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30783
b1ebd700
UD
307842011-05-29 Ulrich Drepper <drepper@gmail.com>
30785
7ae22829
UD
30786 [BZ #12350]
30787 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30788 bit from old_res_options.
30789 (gaih_inet): Likewise.
30790
553149f6 30791 [BZ #11099]
18a84741 30792 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30793 as signed.
30794
652ffab1
UD
30795 * resolv/res_init.c (res_setoptions): Make the code more compact.
30796
16985fd0
UD
30797 [BZ #11558]
30798 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30799 set RES_USEVC.
30800
0464f746
UD
30801 [BZ #11634]
30802 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30803
7d17596c
UD
30804 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30805
cf6bbbd7
UD
30806 [BZ #11781]
30807 * malloc/malloc.h: Declare malloc hook variables as volatile.
30808
13f1ab36
UD
30809 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30810 in last patch.
30811
b1ebd700
UD
30812 [BZ #11799]
30813 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30814 raise in the comment.
80e2212d
UD
30815 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30816 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30817 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30818
ce67228d
UD
308192011-05-28 Ulrich Drepper <drepper@gmail.com>
30820
8887a920
UD
30821 [BZ #12811]
30822 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30823 grow the buffers more if it already has to be sufficient.
30824 (build_wcs_upper_buffer): Likewise.
30825 * posix/regexec.c (check_matching): Likewise.
30826 (clean_state_log_if_needed): Likewise.
30827 (extend_buffers): Don't enlarge buffers beyond size of the input
30828 buffer.
30829 Patches mostly by Emil Wojak <emil@wojak.eu>.
30830 * posix/bug-regex32.c: New file.
30831 * posix/Makefile (tests): Add bug-regex32.
30832
4f031072
UD
30833 * locale/findlocale.c (_nl_find_locale): Return right away if
30834 _nl_explode_name failed.
30835 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30836
d0478f0c
UD
30837 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30838
de81b246
UD
30839 * debug/xtrace.sh: Unify messages.
30840 * malloc/memusage.sh: Likewise.
30841
c738465a
UD
30842 [BZ #12813]
30843 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30844 time symbol from vDSO. Substitute with vsyscall if not available.
30845 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30846 __vdso_time.
30847
f1f929d7
UD
30848 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30849 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30850 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30851 Add sendmmsg and internal_sendmmsg.
30852 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30853 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30854 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30855
ce67228d
UD
30856 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30857 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30858 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30859
e57420c6
UD
308602011-05-27 Ulrich Drepper <drepper@gmail.com>
30861
a8509ca5
UD
30862 [BZ #12813]
30863 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30864 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30865 available.
30866 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30867 __vdso_getcpu.
30868
e57420c6
UD
30869 [BZ #12814]
30870 * iconvdata/Makefile (tests): Add bug-iconv9.
30871 * iconvdata/bug-iconv9.c: New file.
30872
4d07db15
AS
308732011-05-27 Andreas Schwab <schwab@redhat.com>
30874
30875 [BZ #12814]
30876 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30877
ea486f69
JJ
308782011-05-25 Jakub Jelinek <jakub@redhat.com>
30879
30880 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30881 (struct user_regs_struct): Change intcs field back to cs.
30882
6f038433
UD
308832011-05-25 Ulrich Drepper <drepper@gmail.com>
30884
30885 * po/ja.po: Update from translation team.
30886
67f86a25
UD
308872011-05-23 Ulrich Drepper <drepper@gmail.com>
30888
30889 [BZ #12795]
30890 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30891 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30892
def7fbd6
AS
308932011-05-20 Andreas Schwab <schwab@redhat.com>
30894
30895 * stdlib/longlong.h: Update from GCC.
30896
f50ef8f1
AS
308972011-05-23 Andreas Schwab <schwab@redhat.com>
30898
30899 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30900 parameter name.
30901 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30902 Add parameter name.
30903 (__sysconf): Pass it down.
30904
de7ce8f1
UD
309052011-05-22 Ulrich Drepper <drepper@gmail.com>
30906
f2962a71
UD
30907 [BZ #12671]
30908 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30909 some situations.
30910 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30911 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30912 add in in __libc_use_alloca calls. Adjust callers.
30913 (glob): Use malloc in some situations.
30914
de7ce8f1
UD
30915 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30916 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30917 pltexit.
30918
aec84f53
UD
309192011-05-21 Ulrich Drepper <drepper@gmail.com>
30920
05bb4a68
UD
30921 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30922 and CLOCK_BOOTTIME_ALARM.
30923
7ea72f99
UD
30924 [BZ #12782]
30925 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30926 is returned.
30927
7e4afad5
UD
30928 * string/_strerror.c (__strerror_r): Print negative errors as signed
30929 numbers.
30930
8e211fec
UD
30931 [BZ #12777]
30932 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30933 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30934 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30935
f7d82dc9
UD
30936 * configure.in: Fix typo in redirection and correct removal of test
30937 files in two cases.
30938
cc9e536d
UD
30939 [BZ #12788]
30940 * locale/setlocale.c (new_composite_name): Fix test to check for
30941 identical name of all categories.
30942
aec84f53
UD
30943 [BZ #12792]
30944 * libio/filedoalloc.c (local_isatty): New function.
30945 (_IO_file_doallocate): Use local_isatty.
30946 * stdio-common/perror.c (perror): In case a new stream is used
30947 forward the stream error.
30948 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30949 error flag.
30950
78e64fdc
RT
309512011-05-20 Ulrich Drepper <drepper@gmail.com>
30952
34a9094f
UD
30953 [BZ #11869]
30954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30955 alloca.
30956 * include/alloca.h (extend_alloca_account): Define.
30957
78e64fdc
RT
30958 [BZ #11857]
30959 * posix/regex.h: Fix comments with documentation of user-accessible
30960 fields after compilation and describe correct free'ing of pattern
30961 after re_compile_pattern.
30962 Patch by Reuben Thomas <rrt@sc3d.org>.
30963
457bddfc
RA
309642011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30965
30966 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30967 and -mno-altivec to prevent the compiler from using Altivec and/or
30968 VSX instructions when the corresponding registers are not available.
30969
a4527b51
AS
309702011-05-19 Andreas Schwab <schwab@redhat.com>
30971
30972 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30973
ed690b2f
UD
309742011-05-19 Ulrich Drepper <drepper@gmail.com>
30975
30976 * libio/freopen.c (freopen): Use __dup2, not dup2.
30977 * libio/freopen64.c (freopen64): Likewise.
30978
8db73634
L
309792011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30980
30981 [BZ #12775]
30982 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30983 * math/Makefile (tests): Add test-powl.
30984 (CFLAGS-test-powl.c): Define.
30985 * math/test-powl.c: New file.
30986
0a197a9d
L
309872011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30988
30989 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30990
ee30c380
UD
309912011-05-17 Ulrich Drepper <drepper@gmail.com>
30992
30993 [BZ #11837]
30994 * iconvdata/gb18030.c: Update to GB18020-2005.
30995
6ce75379
UD
309962011-05-16 Ulrich Drepper <drepper@gmail.com>
30997
a4b89fd8
AR
30998 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30999 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31000 Patch by Aharon Robbins <arnold@skeeve.com>.
31001
ea389b12
UD
31002 [BZ #11892]
31003 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31004 on the stack.
31005
68a3f91f
UD
31006 [BZ #11895]
31007 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31008 through underflows.
31009
15cc7dd1
UD
31010 [BZ #12766]
31011 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31012 point to strings before performing equality test for error_one_per_line
31013 mode.
31014
f3799213
UD
31015 [BZ #11697]
31016 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31017
d79a9c94
UD
31018 [BZ #11820]
31019 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31020 (struct user_fpregs_struct): Avoid __uint*_t types.
31021
56e5eb46
UD
31022 [BZ #6420]
31023 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31024 symbol info. Use it instead of calling _dl_addr locally.
31025 (lock_and_info): New function.
31026 (tr_freehook): Call lock_and_info and pass symbol info as additional
31027 parameter to tr_where.
31028 (tr_mallochook): Likewise.
31029 (tr_reallochook): Likewise.
31030 (tr_memalignhook): Likewise.
31031
6ce75379
UD
31032 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31033 used and couldn't be at all thread-safe.
31034
f8a3b5bf
UD
310352011-05-15 Ulrich Drepper <drepper@gmail.com>
31036
94b7cc37
UD
31037 * libio/freopen.c (freopen): Don't close old file descriptor
31038 before the new one is opened. Instead dup the new file descriptor
31039 to the old one after the new stream is created.
31040 * libio/freopen64.c (freopen64): Likewise.
31041 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31042 * libio/fileops.c (_IO_new_file_close_it): Handle new
31043 _IO_FLAGS2_NOCLOSE flag.
31044 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31045 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31046 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31047 _IO_FLAGS2_NOCLOSE flag.
31048 * include/unistd.h: Add hidden_proto for dup3.
31049 Define __have_dup3.
31050 * io/dup3.c: Define hidden symbol.
31051 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31052
bd25564e
UD
31053 [BZ #7101]
31054 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31055 when an incomplete long option is used.
31056 * posix/tst-getopt_long1.c: New file.
31057 * posix/Makefile (tests): Add tst-getopt_long1.
31058
c84cfef4
UD
31059 [BZ #10138]
31060 * scripts/config.guess: Update from autoconf-2.68.
31061 * scripts/config.sub: Likewise.
31062
3b85df27
UD
31063 [BZ #10157]
31064 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31065 tests into ...
31066 (has_cpuclock): ...this. New function.
31067 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31068 macro here based on has_cpuclock code.
31069
15a856b1
UD
31070 [BZ #10149]
31071 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31072 First byte (not low byte) is now always NUL.
31073 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31074
05f399e6
UD
31075 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31076 Use non-cancelable interfaces.
31077
10a52685 31078 [BZ #9809]
94ecc67d
UD
31079 * locale/iso-639.def: Add entry for Sorani.
31080
f8a3b5bf
UD
31081 [BZ #11901]
31082 * include/stdlib.h: Move include protection to the right place.
31083 Define abort_msg_s. Declare __abort_msg with it.
31084 * stdlib/abort.c (__abort_msg): Adjust type.
31085 * assert/assert.c (__assert_fail_base): New function. Majority
31086 of code from __assert_fail. Allocate memory for __abort_msg with
31087 mmap.
31088 (__assert_fail): Now call __assert_fail_base.
31089 * assert/assert-perr.c: Remove bulk of implementation. Use
31090 __assert_fail_base.
31091 * include/assert.hL Declare __assert_fail_base.
31092 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31093 mmap.
31094 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31095
1af4e298
UD
310962011-05-14 Ulrich Drepper <drepper@gmail.com>
31097
f8a3b5bf 31098 [BZ #11952]
d26dfc60
MG
31099 [BZ #12453]
31100 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31101 until all modules are registered in the DTV.
31102 * elf/Makefile: Add rules to build and run tst-tls19.
31103 * elf/tst-tls19.c: New file.
31104 * elf/tst-tls19mod1.c: New file.
31105 * elf/tst-tls19mod2.c: New file.
31106 * elf/tst-tls19mod3.c: New file.
31107 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31108
2fc54d6f
UD
31109 [BZ #12083]
31110 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31111 correctly.
31112
98d76b46
UD
31113 [BZ #12601]
31114 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31115 two-byte sequence errors.
31116 * iconvdata/Makefile (tests): Add bug-iconv8.
31117 * iconvdata/bug-iconv8.c: New file.
31118
da3c19ef
UD
31119 [BZ #12626]
31120 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31121 buf2 definition.
31122
ca408c15
UD
31123 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31124
d6f67f7d
UD
31125 [BZ #12432]
31126 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31127 (dummy_getcfa): New function.
31128 (init): Get _Unwind_GetCFA address, use dummy if not found.
31129 (backtrace_helper): In recursion check, also check whether CFA changes.
31130 (__backtrace): Completely initialize arg.
31131
1af4e298 31132 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
31133 storing incomplete byte sequence in state object. Avoid testing for
31134 guaranteed too small input if we know there is enough data available.
1af4e298 31135
da62f81b
AS
311362011-05-11 Andreas Schwab <schwab@redhat.com>
31137
31138 * Makeconfig (+link-pie): Indent.
31139 * Rules (binaries-pie): Define if $(have-fpie) and
31140 $(build-shared).
31141 (binaries-shared): Also filter out $(binaries-pie).
31142 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31143 * nscd/Makefile (others-pie): Add nscd.
31144 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31145 ($(objpfx)nscd): Remove command override.
31146 * login/Makefile (others-pie): Add pt_chown.
31147 ($(objpfx)pt_chown): Remove command override.
31148 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31149 remove command overrides.
31150
fcabc0f8
UD
311512011-05-13 Ulrich Drepper <drepper@gmail.com>
31152
20030ae6
UD
31153 * libio/tst_putwc.c: Fix error messages.
31154
fcabc0f8
UD
31155 [BZ #12724]
31156 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31157 currently writing and seek to current position when not.
31158 * libio/Makefile (tests): Add bug-fclose1.
31159 * libio/bug-fclose1.c: New file.
31160
320a5dc0
PB
311612011-05-12 Ulrich Drepper <drepper@gmail.com>
31162
31163 [BZ #12511]
31164 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31165 don't set DF_1_NODELETE here.
31166 (do_lookup_x): When entering new entry test for copy relocation
31167 and if necessary set DF_1_NODELETE flag.
31168 * elf/tst-unique4.cc: New file.
31169 * elf/tst-unique4.h: New file.
31170 * elf/tst-unique4lib.cc: New file.
31171 * elf/Makefile: Add rules to build and run tst-unique4.
31172 Patch by Piotr Bury <pbury@goahead.com>.
31173
22836f52
UD
311742011-05-11 Ulrich Drepper <drepper@gmail.com>
31175
f574184a
UD
31176 [BZ #12052]
31177 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31178
e1fb097f
UD
31179 [BZ #12625]
31180 * misc/mntent_r.c (addmntent): Flush the stream after the output
31181
22836f52
UD
31182 [BZ #12393]
31183 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31184 (is_trusted_path_normalize): Skip initial colon. Append slash
31185 to empty buffer. Duplicate is_trusted_path code but allow
31186 constructed patch to be prefix.
31187 (is_dst): Allow $ORIGIN followed by /.
31188 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31189 Correct testing of result of is_trusted_path_normalize
31190 (decompose_rpath): Fix warning.
31191
7b3b0b2a
UD
311922011-05-10 Ulrich Drepper <drepper@gmail.com>
31193
31194 [BZ #11257]
31195 * grp/initgroups.c (internal_getgrouplist): When we found the service
31196 list through the initgroups entry in nsswitch.conf do not always
31197 continue on a successful lookup. Don't always use the
eac80ce2 31198 __nss_group_database value if it is set.
7b3b0b2a
UD
31199 * nss/nsswitch.conf (initgroups): Change action for successful db
31200 lookup to continue for compatibility.
31201
2a81eaa5
UD
312022011-05-09 Ulrich Drepper <drepper@gmail.com>
31203
be97a69e
UD
31204 [BZ #11532]
31205 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31206 and CP774 modules.
31207 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31208 and CP774 modules.
31209 * iconvdata/tst-tables.sh: Likewise.
31210 * iconvdata/cp770.c: New file.
31211 * iconvdata/cp771.c: New file.
31212 * iconvdata/cp772.c: New file.
31213 * iconvdata/cp773.c: New file.
31214 * iconvdata/cp774.c: New file.
31215 * iconvdata/testdata/CP770: New file.
31216 * iconvdata/testdata/CP770..UTF8: New file.
31217 * iconvdata/testdata/CP771: New file.
31218 * iconvdata/testdata/CP771..UTF8: New file.
31219 * iconvdata/testdata/CP772: New file.
31220 * iconvdata/testdata/CP772..UTF8: New file.
31221 * iconvdata/testdata/CP773: New file.
31222 * iconvdata/testdata/CP773..UTF8: New file.
31223 * iconvdata/testdata/CP774: New file.
31224 * iconvdata/testdata/CP774..UTF8: New file.
31225
31226 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31227 END CHARMAP line.
31228 * iconvdata/gen-8bit-gap.sh: Likewise.
31229 * iconvdata/gen-8bit.sh: Likewise.
31230
c1e9e399
UD
31231 * locale/iso-639.def: Add ary entry.
31232
24c55fb3 31233 [BZ #11258]
96b4b1b0
UD
31234 * locale/C-translit.h.in: Add U20A1 transliteration.
31235
bdc2f971
KB
31236 [BZ #12178]
31237 * locale/iso-639.def: Add wae entry.
31238 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31239
2952b117
UD
31240 [BZ #12545]
31241 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31242 for n.
31243
2a81eaa5
UD
31244 [BZ #12711]
31245 * locale/C-translit.h.in: Add entry for U20B9.
31246 Patch by pravin.d.s@gmail.com.
31247
28377d1b
UD
312482011-05-08 Ulrich Drepper <drepper@gmail.com>
31249
7fb90fb8
UD
31250 [BZ #12713]
31251 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31252 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31253 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31254 in rtld. Use *stat64.
7fb90fb8 31255 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31256 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31257 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31258 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31259 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31260 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31261 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31262 __fstatat64 macros.
7fb90fb8
UD
31263 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31264 * dirent/rewinddir.c: Add libc_hidden_def.
31265 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31266 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31267
28377d1b
UD
31268 * include/dirent.h (__alloc_dir): Add flags parameter.
31269 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31270 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31271 __alloc_dir.
31272 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31273 from fdopendir if O_CLOEXEC is already set.
31274
66bdbaa4
AM
312752011-03-15 Alan Modra <amodra@gmail.com>
31276
31277 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31278 l_tls_firstbyte_offset non-zero. Save padding offset in
31279 l_tls_firstbyte_offset for later use.
31280 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31281 freeing static tls block.
31282
95721191
JN
312832011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31284
31285 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31286 where #ifdef was intended. The intent is to prevent ARG_MAX from
31287 being defined by the kernel headers.
31288
f87dfb1f
UD
312892011-05-07 Ulrich Drepper <drepper@gmail.com>
31290
31291 [BZ #12734]
31292 * resolv/resolv.h: Define RES_NOTLDQUERY.
31293 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31294 no-tld-query and set RES_NOTLDQUERY.
31295 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31296 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31297 modern BIND to search name as TLD unless forbidden.
31298
47c3cd7a
UD
312992011-05-07 Petr Baudis <pasky@suse.cz>
31300 Ulrich Drepper <drepper@gmail.com>
31301
31302 [BZ #12393]
31303 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31304 (is_trusted_path): ...to here.
c1e9ea35 31305 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31306 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31307 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31308
8a35c912
PP
313092011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31310
31311 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31312 __BEGIN/__END_DECLS.
31313
acd41f47
UD
313142011-05-06 Ulrich Drepper <drepper@gmail.com>
31315
31316 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31317 NSS_STATUS_NOTFOUND if no record was found.
31318
597df647
AS
313192011-05-05 Andreas Schwab <schwab@redhat.com>
31320
31321 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31322 (headers-not-in-tirpc): Remove rpc/netdb.h
31323 * resolv/netdb.h: Revert last change.
31324
b9af1301
PP
313252011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31326
31327 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31328 circular dependency between libgcc.a and libc.a.
31329
4e34d5f5
AS
313302011-05-05 Andreas Schwab <schwab@redhat.com>
31331
31332 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31333 * nis/Makefile: Don't install rpcsvc/*.
31334 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31335 instead of <rpc/types.h>.
31336 (MAXHOSTNAMELEN): Define.
31337
00ee369c
AS
313382011-05-03 Andreas Schwab <schwab@redhat.com>
31339
31340 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31341
0b592a30
MB
313422011-04-28 Maciej Babinski <mbabinski@google.com>
31343
31344 [BZ #12714]
31345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31346 gethostbyname4_r when IPv6 results are possible.
31347
6e04cbbe
UD
313482011-05-02 Ulrich Drepper <drepper@gmail.com>
31349
31350 [BZ #12723]
31351 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31352 _PC_PIPE_BUF handling.
31353
e4ecafe0
BH
313542011-04-30 Bruno Haible <bruno@clisp.org>
31355
31356 [BZ #12717]
31357 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31358 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31359 to 'int'.
31360 * inet/getnameinfo.c (getnameinfo): Likewise.
31361
125ee683
UD
313622011-04-29 Ulrich Drepper <drepper@gmail.com>
31363
31364 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31365 to groups setting in database lookup.
31366 * nss/nsswitch.conf: Add initgroups entry.
31367
b722481a
EB
313682011-04-22 Ulrich Drepper <drepper@gmail.com>
31369
31370 [BZ #12685]
31371 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31372 mode string.
31373 Patch by Eric Blake <eblake@redhat.com>.
31374
4df46dbd
L
313752011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31376
31377 * sunrpc/Makefile (need-export-routines): Add svc_run.
31378 (routines): Remove svc_run.
31379 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31380 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31381 * sunrpc/svc_run.c (svc_run): Likewise.
31382 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31383
e84142d2
UD
313842011-04-21 Ulrich Drepper <drepper@gmail.com>
31385
31386 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31387 problem in reallocation in last patch.
31388
877175d8
UD
313892011-04-20 Ulrich Drepper <drepper@gmail.com>
31390
31391 * sunrpc/Makefile: Move inclusion of Rules.
31392
ab8eed78
UD
313932011-04-19 Ulrich Drepper <drepper@gmail.com>
31394
31395 * nss/nss_files/files-initgroups.c: New file.
31396 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31397 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31398 _nss_files_initgroups_dyn.
31399
e3d8f584
RS
314002011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31401
31402 * elf/elf.h (R_ARM_IRELATIVE): Define.
31403
af190f45
UD
314042011-04-19 Ulrich Drepper <drepper@gmail.com>
31405
31406 * po/ru.po: Update from translation team.
31407
53cf59ef
UD
314082011-04-17 Ulrich Drepper <drepper@gmail.com>
31409
31410 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31411 dependencies.
31412
4c559bcd
MF
314132011-02-06 Mike Frysinger <vapier@gentoo.org>
31414
31415 [BZ #12653]
31416 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31417 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31418 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31419 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31420 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31421
4420675c
AS
314222011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31423
31424 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31425 differing bytes.
31426 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31427 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31428 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31429
75ea32ab
UD
314302011-04-17 Ulrich Drepper <drepper@gmail.com>
31431
31432 [BZ #12420]
31433 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31434 storing it.
31435 * stdlib/bug-getcontext.c: New file.
31436 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31437
27390476
AK
314382011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31439
31440 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31441 instructions into .machine "z9-109".
31442 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31443 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31444
10442705
AK
314452011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31446
31447 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31448 between environment variables and auxiliary vector.
31449
7b57bfe5
UD
314502011-04-16 Ulrich Drepper <drepper@gmail.com>
31451
31452 * Makefile: Add rules to build linkobj/libc.so.
31453 * include/libc-symbols.h: Define libc_hidden_nolink.
31454 * include/rpc/auth.h: Mark functions which are to be hidden.
31455 * include/rpc/auth_des.h: Likewise.
31456 * include/rpc/auth_unix.h: Likewise.
31457 * include/rpc/clnt.h: Likewise.
31458 * include/rpc/des_crypt.h: Likewise.
31459 * include/rpc/key_prot.h: Likewise.
31460 * include/rpc/pmap_clnt.h: Likewise.
31461 * include/rpc/pmap_prot.h: Likewise.
31462 * include/rpc/pmap_rmt.h: Likewise.
31463 * include/rpc/rpc_msg.h: Likewise.
31464 * include/rpc/svc.h: Likewise.
31465 * include/rpc/svc_auth.h: Likewise.
31466 * include/rpc/xdr.h: Likewise.
31467 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31468 * nss/Makefile: Likewise.
31469 * sunrpc/Makefile: Don't install headers. Build library with normal
31470 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31471 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31472 for the compat linking library. Remove use of INTDEF/INTUSE.
31473 * sunrpc/auth_none.c: Likewise.
31474 * sunrpc/auth_unix.c: Likewise.
31475 * sunrpc/authdes_prot.c: Likewise.
31476 * sunrpc/authuxprot.c: Likewise.
31477 * sunrpc/clnt_gen.c: Likewise.
31478 * sunrpc/clnt_perr.c: Likewise.
31479 * sunrpc/clnt_raw.c: Likewise.
31480 * sunrpc/clnt_simp.c: Likewise.
31481 * sunrpc/clnt_tcp.c: Likewise.
31482 * sunrpc/clnt_udp.c: Likewise.
31483 * sunrpc/clnt_unix.c: Likewise.
31484 * sunrpc/des_crypt.c: Likewise.
31485 * sunrpc/des_soft.c: Likewise.
31486 * sunrpc/get_myaddr.c: Likewise.
31487 * sunrpc/key_call.c: Likewise.
31488 * sunrpc/key_prot.c: Likewise.
31489 * sunrpc/netname.c: Likewise.
31490 * sunrpc/pm_getmaps.c: Likewise.
31491 * sunrpc/pm_getport.c: Likewise.
31492 * sunrpc/pmap_clnt.c: Likewise.
31493 * sunrpc/pmap_prot.c: Likewise.
31494 * sunrpc/pmap_prot2.c: Likewise.
31495 * sunrpc/pmap_rmt.c: Likewise.
31496 * sunrpc/publickey.c: Likewise.
31497 * sunrpc/rpc_cmsg.c: Likewise.
31498 * sunrpc/rpc_common.c: Likewise.
31499 * sunrpc/rpc_dtable.c: Likewise.
31500 * sunrpc/rpc_prot.c: Likewise.
31501 * sunrpc/rpc_thread.c: Likewise.
31502 * sunrpc/rtime.c: Likewise.
31503 * sunrpc/svc.c: Likewise.
31504 * sunrpc/svc_auth.c: Likewise.
31505 * sunrpc/svc_authux.c: Likewise.
31506 * sunrpc/svc_raw.c: Likewise.
31507 * sunrpc/svc_run.c: Likewise.
31508 * sunrpc/svc_simple.c: Likewise.
31509 * sunrpc/svc_tcp.c: Likewise.
31510 * sunrpc/svc_udp.c: Likewise.
31511 * sunrpc/svc_unix.c: Likewise.
31512 * sunrpc/svcauth_des.c: Likewise.
31513 * sunrpc/xcrypt.c: Likewise.
31514 * sunrpc/xdr.c: Likewise.
31515 * sunrpc/xdr_array.c: Likewise.
31516 * sunrpc/xdr_float.c: Likewise.
31517 * sunrpc/xdr_intXX_t.c: Likewise.
31518 * sunrpc/xdr_mem.c: Likewise.
31519 * sunrpc/xdr_rec.c: Likewise.
31520 * sunrpc/xdr_ref.c: Likewise.
31521 * sunrpc/xdr_sizeof.c: Likewise.
31522 * sunrpc/xdr_stdio.c: Likewise.
31523
e6c61494
UD
315242011-04-10 Ulrich Drepper <drepper@gmail.com>
31525
31526 [BZ #12650]
31527 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31528 * sysdeps/ia64/dl-tls.h: Likewise.
31529 * sysdeps/powerpc/dl-tls.h: Likewise.
31530 * sysdeps/s390/dl-tls.h: Likewise.
31531 * sysdeps/sh/dl-tls.h: Likewise.
31532 * sysdeps/sparc/dl-tls.h: Likewise.
31533 * sysdeps/x86_64/dl-tls.h: Likewise.
31534 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31535
34fe483e
AS
315362011-03-14 Andreas Schwab <schwab@redhat.com>
31537
31538 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31539 rpath element also skip the following colon.
31540 (expand_dynamic_string_token): Add is_path parameter and pass
31541 down to DL_DST_REQUIRED and _dl_dst_substitute.
31542 (decompose_rpath): Call expand_dynamic_string_token with
31543 non-zero is_path. Ignore empty rpaths.
31544 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31545 with zero is_path.
31546
f12a32e6
AS
315472011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31548
31549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31550 Make cancelable.
31551
38a7d692
UD
315522011-04-09 Ulrich Drepper <drepper@gmail.com>
31553
31554 [BZ #12655]
31555 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31556 Patch by Filipe David Manana <fdmanana@apache.org>.
31557
e451d22b
AS
315582011-04-07 Andreas Schwab <schwab@redhat.com>
31559
31560 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31561 Maintain aligned stack.
31562 (CHECK_RSP): Remove unused macro.
31563
dedc7c7b
UD
315642011-04-03 Ulrich Drepper <drepper@gmail.com>
31565
31566 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31567 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31568
94521213
UD
315692011-04-02 Ulrich Drepper <drepper@gmail.com>
31570
31571 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31572
8cb700c0 31573 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31574
0354e355
L
315752011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31576
31577 [BZ #12518]
31578 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31579 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31580 * sysdeps/x86_64/memmove.c: New file.
31581 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31582 (memcpy): Renamed to ...
31583 (__new_memcpy): This.
31584 (memcpy): Provide GLIBC_2_14 memcpy.
31585 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31586 (memcpy): Provide GLIBC_2_2_5 memcpy.
31587
8593482f
UD
315882011-04-01 Ulrich Drepper <drepper@gmail.com>
31589
31590 [BZ #12631]
31591 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31592
81a5726b
AS
315932011-03-30 Andreas Schwab <schwab@redhat.com>
31594
31595 * misc/syncfs.c: New file.
31596 * misc/Makefile (routines): Add syncfs.
31597 * posix/unistd.h: Declare syncfs.
31598 * sysdeps/unix/syscalls.list: Add syncfs.
31599
00e5419f
AS
316002011-04-01 Andreas Schwab <schwab@redhat.com>
31601
31602 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31603 open_by_handle_at.
31604 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31605 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31606 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31607 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31609 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31610 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31611
748876bf
UD
316122011-04-01 Ulrich Drepper <drepper@gmail.com>
31613
658e451d
UD
31614 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31615 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31616 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31617 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31618 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31619 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31620 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31621
748876bf
UD
31622 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31623 sync_file_range.c with -fexceptions.
31624 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31625 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31626 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31627 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31628 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31629 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31630 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31631 sync_file_range as cancellation point
31632 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31633 now a wrapper around __call_sync_file_range with cancellation handling.
31634 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31635 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31636 function name to __call_sync_file_range.
31637 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31638 Add call_sync_file_range.
748876bf 31639
6e63d5e1
AS
316402011-04-01 Andreas Schwab <schwab@redhat.com>
31641
31642 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31643 bits/timex.h.
6e63d5e1 31644
46998f74
UD
316452011-04-01 Ulrich Drepper <drepper@gmail.com>
31646
4c1423ed
UD
31647 * iconv/iconv.h: Fix typo in comment.
31648 * io/fcntl.h: Likewise.
31649 * libio/stdio.h: Likewise.
31650 * posix/spawn.h: Likewise.
31651 * posix/unistd.h: Likewise.
31652 * stdlib/stdlib.h: Likewise.
31653 * time/time.h: Likewise.
31654 * wcsmbs/wchar.h: Likewise.
31655
158648c0
UD
31656 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31657 open_by_handle): Add.
31658 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31659 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31660 Augment a few comments.
31661 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31663 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31664 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31665 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31666 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31667 open_by_handle.
31668
46998f74
UD
31669 * io/fcntl.h (AT_EMPTY_PATH): Define.
31670
83fe108b
UD
316712011-03-30 Ulrich Drepper <drepper@gmail.com>
31672
31673 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31674 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31675 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31676 to...
31677 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31678 * Versions.def: Add GLIBC_2.14.
31679 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31680 Export.
83fe108b 31681
bb242059
UD
316822011-03-22 Ulrich Drepper <drepper@gmail.com>
31683
31684 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31685 round counter.
31686 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31687
c97a1282
L
316882011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31689
31690 [BZ #12597]
31691 * string/test-strncmp.c (do_page_test): New function.
31692 (check2): Likewise.
31693 (test_main): Call check2.
31694 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31695
2a115601
UD
316962011-03-20 Ulrich Drepper <drepper@gmail.com>
31697
31698 [BZ #12587]
31699 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31700 Handle cache information in CPU leaf 4.
31701 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31702
8126d904
UD
317032011-03-18 Ulrich Drepper <drepper@gmail.com>
31704
042c49c6 31705 [BZ #12583]
8126d904
UD
31706 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31707 character representation.
31708 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31709
ccfe366e
RA
317102011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31711
31712 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31713 END(__isnan) to END(__isnanf) to match function entry point/label
31714 EALIGN(__isnanf,...).
31715
c6e13027
JJ
317162011-03-10 Jakub Jelinek <jakub@redhat.com>
31717
31718 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31719
33f85a3f
UD
317202011-03-10 Ulrich Drepper <drepper@gmail.com>
31721
028478fa
UD
31722 [BZ #12510]
31723 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31724 copy from the symbol referenced in the relocation to initialize the
31725 used variable.
31726 Patch by Piotr Bury <pbury@goahead.com>.
31727 * elf/Makefile: Add rules to build and tst-unique3.
31728 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31729 * elf/tst-unique3.cc: New file.
31730 * elf/tst-unique3.h: New file.
31731 * elf/tst-unique3lib.cc: New file.
31732 * elf/tst-unique3lib2.cc: New file.
31733
33f85a3f
UD
31734 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31735
03592fc7
MF
317362011-03-10 Mike Frysinger <vapier@gentoo.org>
31737
31738 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31739 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31740 to _start.
03592fc7 31741
6a5ee102
UD
317422011-03-06 Ulrich Drepper <drepper@gmail.com>
31743
31744 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31745 to-be-loaded object along a path to loader is ld.so.
31746
7e4ba49c
HJ
317472011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31748 Ulrich Drepper <drepper@gmail.com>
31749
31750 * sysdeps/x86_64/memset.S: After aligning destination, code
31751 branches to different locations depending on the value of
31752 misalignment, when multiarch is enabled. Fix this.
31753
317542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31755
31756 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31757 Set _x86_64_preferred_memory_instruction for AMD processsors.
31758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31759 Set bit_Prefer_SSE_for_memop for AMD processors.
31760
13a804de
UD
317612011-03-04 Ulrich Drepper <drepper@gmail.com>
31762
31763 * libio/fmemopen.c (fmemopen): Optimize a bit.
31764
9d25c392
AS
317652011-03-03 Andreas Schwab <schwab@redhat.com>
31766
31767 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31768
a5543c6a
RM
317692011-03-03 Roland McGrath <roland@redhat.com>
31770
31771 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31772
012d35f7
DM
317732011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31774
7e4ba49c 31775 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31776 __bzero_ultra1 instead of __memset_ultra1.
31777
4bff6e01
AS
317782011-02-23 Andreas Schwab <schwab@redhat.com>
31779 Ulrich Drepper <drepper@gmail.com>
31780
31781 [BZ #12509]
31782 * include/link.h (struct link_map): Add l_orig_initfini.
31783 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31784 returning unsuccessfully.
31785 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31786 close of a file loaded at startup, restore the original l_initfini
31787 list.
31788 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31789 list, store the pointer.
31790 * elf/Makefile ($(objpfx)noload-mem): New rule.
31791 (noload-ENV): Define.
31792 (tests): Add $(objpfx)noload-mem.
31793 * elf/noload.c: Include <memcheck.h>.
31794 (main): Call mtrace. Close all opened handles.
31795
f2092faf
AS
317962011-02-17 Andreas Schwab <schwab@redhat.com>
31797
31798 [BZ #12454]
31799 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31800 dependencies are missing.
31801
6c8a2e88
ST
318022011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31803
f2092faf 31804 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31805 Hurd needs munmap.
31806 * sysdeps/mach/hurd/ifreq.h: New file.
31807
84a42118
PB
318082011-01-27 Petr Baudis <pasky@suse.cz>
31809 Ulrich Drepper <drepper@gmail.com>
31810
071f805e 31811 [BZ 12445]#
84a42118
PB
31812 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31813 to extend_alloca().
31814 * stdio-common/bug23.c: New file.
31815 * stdio-common/Makefile (tests): Add bug23.
31816
e23fe25b
AS
318172010-09-28 Andreas Schwab <schwab@redhat.com>
31818 Ulrich Drepper <drepper@gmail.com>
31819
31820 [BZ #12489]
31821 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31822 before performing relro protection. At old place add assertion
31823 to make sure nothing changed.
31824
d3f02e10
NS
318252011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31826 Glauber de Oliveira Costa <glommer@gmail.com>
31827
31828 * elf/elf.h: Add new ARM TLS relocs.
31829
d55fd7a5
RA
318302011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31831
31832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31833 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31834 cast from r3.
31835 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31836 'tests' variable.
31837 * sysdeps/wordsize-64/tst-writev.c: New file.
31838
2206397e
RA
318392011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31840
31841 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31842 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31843 insns in _dl_start to prevent a TOC reference before relocs are
31844 resolved.
31845
e9433893
UD
318462011-02-15 Ulrich Drepper <drepper@gmail.com>
31847
31848 [BZ #12469]
31849 * Makeconfig: Remove RANLIB definition.
31850 * Makerules: Don't use RANLIB.
31851 * aclocal.m4: Remove ranlib test.
31852 * configure.in: No need to check for ranlib.
31853 * elf/rtld-Rules: Don't use RANLIB.
31854
f75286c6
ST
318552011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31856
8e31c82d
ST
31857 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31858 protection macro.
31859 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31860 inclusion protection macro.
31861
f75286c6
ST
31862 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31863 SIGRTMIN and SIGRTMAX and print information in that case only when
31864 SIGRTMIN is defined.
31865
c1d0e639
JJ
318662011-02-11 Jakub Jelinek <jakub@redhat.com>
31867
31868 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31869 arginfo fn returning -1.
31870
31871 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31872 and thousands string is zero terminated.
31873
edf9294e
AS
318742011-02-03 Andreas Schwab <schwab@redhat.com>
31875
31876 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31877 sysdeps/unix/sysv/linux/bits/socket.h.
31878
2b7e92df
ST
318792011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31880
edf9294e
AS
31881 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31882 (__CPU_COUNT): Remove old macros.
31883 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31884 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31885 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31886 (__sched_cpualloc, __sched_cpufree): Add declarations.
31887
a4c7ea7b
UD
318882011-02-05 Ulrich Drepper <drepper@gmail.com>
31889
31890 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31891 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31892 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31893 (readdhstai): Return value of addhstaiX call.
31894 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31895 (addgrbyX): Return value returned by cache_addgr.
31896 (readdgrbyname): Return value returned by addgrbyX.
31897 (readdgrbygid): Likewise.
31898 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31899 (addpwbyX): Return value returned by cache_addpw.
31900 (readdpwbyname): Return value returned by addhstbyX.
31901 (readdpwbyuid): Likewise.
31902 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31903 (addservbyX): Return value returned by cache_addserv.
31904 (readdservbyname): Return value returned by addservbyX:
31905 (readdservbyport): Likewise.
31906 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31907 (addhstbyX): Return value returned by cache_addhst.
31908 (readdhstbyname): Return value returned by addhstbyX.
31909 (readdhstbyaddr): Likewise.
31910 (readdhstbynamev6): Likewise.
31911 (readdhstbyaddrv6): Likewise.
31912 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31913 (readdinitgroups): Return value returned by addinitgroupsX.
31914 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31915 (prune_cache): Keep track of timeout value of re-added entries.
31916 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31917 * nscd/nscd.h: Adjust prototypes of readd* functions.
31918
a0bf67cc
RM
319192011-02-04 Roland McGrath <roland@redhat.com>
31920
31921 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31922 (nis_stats): Likewise.
31923 * nis/nis_modify.c (nis_modify): Likewise.
31924 * nis/nis_remove.c (nis_remove): Likewise.
31925 * nis/nis_add.c (nis_add): Likewise.
31926
31927 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31928
31929 * posix/fnmatch_loop.c: Add some consts.
31930
31931 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31932
435b95eb
L
319332011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31934
31935 [BZ #12460]
31936 * config.make.in (config-cflags-novzeroupper): Define.
31937 * configure.in: Substitute libc_cv_cc_novzeroupper.
31938 * elf/Makefile (AVX-CFLAGS): Define.
31939 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31940 (CFLAGS-tst-auditmod4a.c): Likewise.
31941 (CFLAGS-tst-auditmod4b.c): Likewise.
31942 (CFLAGS-tst-auditmod6b.c): Likewise.
31943 (CFLAGS-tst-auditmod6c.c): Likewise.
31944 (CFLAGS-tst-auditmod7b.c): Likewise.
31945 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31946
8517b15e
UD
319472011-02-02 Ulrich Drepper <drepper@gmail.com>
31948
31949 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31950 function to the callback.
31951 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31952
10a656fe
AS
319532011-02-02 Andreas Schwab <schwab@redhat.com>
31954
31955 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31956 of errno.
31957
968dad0a
UD
319582011-01-19 Ulrich Drepper <drepper@gmail.com>
31959
9f94d2ea 31960 [BZ #11724]
968dad0a
UD
31961 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31962 of constructors.
31963 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31964 of destructors.
31965 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31966
31967 [BZ #11724]
31968 * elf/Makefile: Add rules to build and run new test.
31969 * elf/tst-initorder.c: New file.
31970 * elf/tst-initorder.exp: New file.
31971 * elf/tst-initordera1.c: New file.
31972 * elf/tst-initordera2.c: New file.
31973 * elf/tst-initordera3.c: New file.
31974 * elf/tst-initordera4.c: New file.
31975 * elf/tst-initorderb1.c: New file.
31976 * elf/tst-initorderb2.c: New file.
31977 * elf/tst-order-a1.c: New file.
31978 * elf/tst-order-a2.c: New file.
31979 * elf/tst-order-a3.c: New file.
31980 * elf/tst-order-a4.c: New file.
31981 * elf/tst-order-b1.c: New file.
31982 * elf/tst-order-b2.c: New file.
31983 * elf/tst-order-main.c: New file.
31984 New test case by George Gensure <werkt0@gmail.com>.
31985
86e92359
UD
319862010-10-01 Andreas Schwab <schwab@redhat.com>
31987
31988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31989 decoding ACE if AI_CANONIDN.
31990
5d5732b0
UD
319912011-01-18 Ulrich Drepper <drepper@gmail.com>
31992
31993 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31994
a77e8cbc
UD
319952011-01-17 Ulrich Drepper <drepper@gmail.com>
31996
6392473f
UD
31997 * version.h (RELEASE): Bump for 2.13 release.
31998 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31999
620a0529
UD
32000 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32001
18ba70a5
UD
32002 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32003 MADV_NOHUGEPAGE.
32465c3e
UD
32004 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32005 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32006 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32007 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32008 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32009 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32010
c0dafcf1
UD
32011 * posix/getconf.c: Update copyright year.
32012 * catgets/gencat.c: Likewise.
32013 * csu/version.c: Likewise.
32014 * debug/catchsegv.sh: Likewise.
32015 * debug/xtrace.sh: Likewise.
32016 * elf/ldconfig.c: Likewise.
32017 * elf/ldd.bash.in: Likewise.
32018 * elf/sprof.c (print_version): Likewise.
32019 * iconv/iconv_prog.c: Likewise.
32020 * iconv/iconvconfig.c: Likewise.
32021 * locale/programs/locale.c: Likewise.
32022 * locale/programs/localedef.c: Likewise.
32023 * malloc/memusage.sh: Likewise.
32024 * malloc/mtrace.pl: Likewise.
32025 * nscd/nscd.c (print_version): Likewise.
32026 * nss/getent.c: Likewise.
32027
a77e8cbc
UD
32028 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32029 PF_CAIF, and PF_ALG.
32030 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32031
77e8bddf
AS
320322011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32033
1f20b93a
AS
32034 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32035 (modules-names): Use them.
32036 (ifunc-test-modules, ifunc-pie-tests): Define.
32037 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32038 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32039 (test-extras): Likewise.
32040 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32041 $(compile-command.c).
32042 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32043 (all-built-dso): Define.
32044 (check-textrel.out, check-execstack.out): Depend on it.
32045
77e8bddf
AS
32046 * configure.in: Don't override --enable-multi-arch.
32047
bc425b33
UD
320482011-01-15 Ulrich Drepper <drepper@gmail.com>
32049
32050 [BZ #6812]
32051 * nscd/hstcache.c (tryagain): Define.
32052 (cache_addhst): Return tryagain not notfound for temporary errors.
32053 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32054 failed.
32055
794c3ad3
UD
320562011-01-14 Ulrich Drepper <drepper@gmail.com>
32057
70181fdd
UD
32058 [BZ #10563]
32059 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32060 to make the syscall.
32061 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32062
794c3ad3
UD
32063 [BZ #12378]
32064 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32065 and fall back to matching as normal character if the string ends before
32066 the matching ']' is found. This is what POSIX requires.
32067 * posix/testfnm.c: Adjust test result.
32068 * posix/globtest.sh: Adjust test result. Add new test.
32069 * posix/tst-fnmatch.input: Likewise.
32070 * posix/tst-fnmatch2.c: Add new test.
32071
68dc9497
AS
320722010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32073
32074 * elf/Makefile (check-execstack): Revert last change. Depend on
32075 check-execstack.h.
32076 (check-execstack.h): New target.
32077 (generated): Add check-execstack.h.
32078 * elf/check-execstack.c: Include "check-execstack.h".
32079 (main): Revert last change.
32080 (handle_file): Return zero if GNU_STACK is absent and
32081 DEFAULT_STACK_PERMS doesn't include PF_X.
32082
451f001b
UD
320832011-01-13 Ulrich Drepper <drepper@gmail.com>
32084
cfa28e56
UD
32085 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32086 in child fails because the descriptor is already closed.
8cf8ce17
UD
32087 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32088 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32089 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 32090
1086d70d
UD
32091 [BZ #12397]
32092 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32093 syscall.
32094
451f001b
UD
32095 [BZ #10484]
32096 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32097 temporary buffer used to handle multi lookups locally.
a85b5cb4 32098 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 32099
08769175
UD
321002011-01-12 Ulrich Drepper <drepper@gmail.com>
32101
32102 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32103 loader is ld.so.
32104
5e49c52e
UD
321052011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32106
32107 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32108 alignment for SSE2.
32109
60522a5f
UD
321102011-01-12 Ulrich Drepper <drepper@gmail.com>
32111
32112 [BZ #12394]
32113 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32114 characters. When rounding increased number of integer digits recompute
32115 number of groups.
32116 * stdio-common/tst-grouping.c: New file.
32117 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32118
f257bbd7
UD
321192011-01-09 Ulrich Drepper <drepper@gmail.com>
32120
32121 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32122 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32123
32124 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32125 void.
32126 * bits/select.h: Likewise.
32127
fa9c15cb
UD
321282011-01-08 Ulrich Drepper <drepper@gmail.com>
32129
32130 * po/ja.po: Update from translation team.
32131
16c2895f
DM
321322011-01-04 David S. Miller <davem@sunset.davemloft.net>
32133
32134 [BZ #11155]
32135 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32136 implementation just like for lxstat, fxstatat, et al.
32137
2543fef2
JM
321382010-12-27 Jim Meyering <meyering@redhat.com>
32139
32140 [BZ #12348]
32141 * posix/regexec.c (build_trtable): Return failure indication upon
32142 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32143
98727dbe
UD
321442010-12-25 Ulrich Drepper <drepper@gmail.com>
32145
5bd6dc5c
UD
32146 [BZ #12201]
32147 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32148 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32149 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32150 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32151
97983464
UD
32152 [BZ #12207]
32153 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32154
98727dbe
UD
32155 [BZ #12204]
32156 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32157 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32158
4a531bb0
L
321592010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32160
32161 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32162 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32163 script has SORT_BY_INIT_PRIORITY.
32164 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32165 NO_CTORS_DTORS_SECTIONS is defined.
32166 * elf/soinit.c: Likewise.
32167 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32168 NO_CTORS_DTORS_SECTIONS is defined.
32169 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32170 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32171 * sysdeps/sh/init-first.c: Likewise.
32172 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32173
07eb4b71
UD
321742010-12-24 Ulrich Drepper <drepper@gmail.com>
32175
32176 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32177 always use the slow path.
32178
30950a5f
RA
321792010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32180
32181 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32182 similar rule which adds the sysdep directories to the header search in
32183 order to pick up the correct platform stackinfo.h.
32184 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32185 perform test if it is, otherwise return successfully without testing.
32186 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32187 DEFAULT_STACK_PERMS define in stackinfo.h.
32188 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32189 defined in stackinfo.h.
32190 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32191 DEFAULT_STACK_PERMS defined in stackinfo.h.
32192 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32193 * sysdeps/ia64/stackinfo.h: Likewise.
32194 * sysdeps/s390/stackinfo.h: Likewise.
32195 * sysdeps/sh/stackinfo.h: Likewise.
32196 * sysdeps/sparc/stackinfo.h: Likewise.
32197 * sysdeps/x86_64/stackinfo.h: Likewise.
32198 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32199 PF_X for powerpc64. Retain PF_X for powerpc32.
32200
db753e2c
UD
322012010-12-19 Ulrich Drepper <drepper@gmail.com>
32202
14b697f7
UD
32203 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32204 accurately.
db753e2c
UD
32205 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32206 GETDENTS_64BIT_ALIGNED.
32207
28300719
UD
322082010-12-14 Ulrich Drepper <dreper@gmail.com>
32209
14b697f7 32210 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32211
4f197237
AS
322122010-12-10 Andreas Schwab <schwab@redhat.com>
32213
dbb0472f
AS
32214 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32215 _GNU_SOURCE.
32216
4f197237
AS
32217 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32218 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32219 Remove __restrict.
32220 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32221 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32222
fb88ac72
UD
322232010-12-09 Ulrich Drepper <drepper@gmail.com>
32224
32225 [BZ #11655]
32226 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32227 are initialized.
32228
42acbb92
JJ
322292010-12-09 Jakub Jelinek <jakub@redhat.com>
32230
32231 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32232
c038d98d
UD
322332010-12-03 Ulrich Drepper <drepper@gmail.com>
32234
32235 * po/it.po: Update from translation team.
32236
3a4a2499
L
322372010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32238
32239 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32240 unused codes.
32241
1e24cf6e
UD
322422010-11-30 Ulrich Drepper <drepper@gmail.com>
32243
32244 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32245
a7690819
AS
322462010-11-24 Andreas Schwab <schwab@redhat.com>
32247
32248 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32249 specially.
32250 (gaih_getanswer_slice): Likewise.
32251
3bf8d1b1
JJ
322522010-10-20 Jakub Jelinek <jakub@redhat.com>
32253
32254 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32255
6db52fbb
PB
322562010-05-31 Petr Baudis <pasky@suse.cz>
32257
32258 [BZ #11149]
32259 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32260 silently even in the chroot mode.
32261
eaca7569
UD
322622010-11-22 Ulrich Drepper <drepper@gmail.com>
32263
32264 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32265 last patch a bit. Pretty printing
32266
3056dcdb
UD
322672010-05-31 Petr Baudis <pasky@suse.cz>
32268
32269 [BZ #10085]
32270 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32271 initialization of skip_initgroups_dyn.
32272
cf7c9078
UD
322732010-11-19 Ulrich Drepper <drepper@gmail.com>
32274
32275 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32276 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32277
a1fb5e3e
UD
322782010-11-16 Ulrich Drepper <drepper@gmail.com>
32279
32280 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32281
3540d66b
AS
322822010-11-11 Andreas Schwab <schwab@redhat.com>
32283
32284 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32285 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32286 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32287 ($(objpfx)tst-fnmatch-mem): New rule.
32288 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32289 * posix/tst-fnmatch.c (main): Call mtrace.
32290
13b69574
L
322912010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32292
32293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32294 Support Intel processor model 6 and model 0x2c.
32295
da93d214
LM
322962010-11-10 Luis Machado <luisgpm@br.ibm.com>
32297
32298 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32299 signed comparison.
32300
8ca52c6e
L
323012010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32302
32303 [BZ #12205]
32304 * string/test-strncasecmp.c (check_result): New function.
32305 (do_one_test): Use it.
32306 (check1): New function.
32307 (test_main): Use it.
32308 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32309 Support strcasecmp and strncasecmp.
32310
69da074d
UD
323112010-11-08 Ulrich Drepper <drepper@gmail.com>
32312
32313 [BZ #12194]
32314 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32315 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32316
ff02d528
L
323172010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32318
32319 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32320 IFUNC support.
32321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32322 memset-x86-64.
32323 * sysdeps/x86_64/multiarch/bzero.S: New file.
32324 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32325 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32326 * sysdeps/x86_64/multiarch/memset.S: New file.
32327 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32329 Set bit_Prefer_SSE_for_memop for Intel processors.
32330 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32331 Define.
32332 (index_Prefer_SSE_for_memop): Define.
32333 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32334
344d0b54
LM
323352010-11-04 Luis Machado <luisgpm@br.ibm.com>
32336
32337 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32338 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32339
c0dde15b
UD
323402010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32341
32342 [BZ #12191]
32343 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32344 (__x86_64_raw_data_cache_size_half): Likewise.
32345 (__x86_64_raw_shared_cache_size): Likewise.
32346 (__x86_64_raw_shared_cache_size_half): Likewise.
32347
32348 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32349 (__x86_64_raw_data_cache_size_half): Likewise.
32350 (__x86_64_raw_shared_cache_size): Likewise.
32351 (__x86_64_raw_shared_cache_size_half): Likewise.
32352 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32353 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32354 and __x86_64_raw_shared_cache_size_half. Round
32355 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32356 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32357 to multiple of 256 bytes.
32358
0e516e0e
MS
323592010-11-03 Ulrich Drepper <drepper@gmail.com>
32360
32361 [BZ #12167]
32362 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32363 of inacessible symlinks. Verify result of symlink before returning it.
32364 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32365 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32366
0e012e87
ER
323672010-10-28 Erich Ritz <erichritz@gmail.com>
32368
32369 * math/math.h (isinf): Fix typo in comment.
32370
de0ff7bc
UD
323712010-11-01 Ulrich Drepper <drepper@gmail.com>
32372
32373 * po/da.po: Update from translation team.
32374
fa41c84d
UD
323752010-10-26 Ulrich Drepper <drepper@gmail.com>
32376
32377 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32378 is added to the list.
32379
f0967738
AK
323802010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32381 Ulrich Drepper <drepper@gmail.com>
32382
32383 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32384 the global list here. Move code to...
32385 (_dl_add_to_namespace_list): ...here. New function.
32386 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32387 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32388 * elf/dl-load.c (lose): Don't remove the element from the list.
32389 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32390 (_dl_map_object): Likewise.
32391
323922010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32393
32394 [BZ #12159]
32395 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32396 into all bytes of SSE register.
32397 Patch by Richard Li <richardpku@gmail.com>.
32398
f0967738 323992010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32400
32401 [BZ #12140]
32402 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32403 perturbing.
32404
d0b9e94f
MB
324052010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32406
32407 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32408 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32409 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32410 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32412 submachine.
32413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32414
8e9f92e9
AS
324152010-10-22 Andreas Schwab <schwab@redhat.com>
32416
32417 * include/dlfcn.h (__RTLD_SECURE): Define.
32418 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32419 mode & __RTLD_SECURE instead.
32420 (open_path): Rename preloaded parameter to secure.
32421 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32422 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32423 * elf/dl-deps.c (openaux): Likewise.
32424 * elf/rtld.c (struct map_args): Remove is_preloaded.
32425 (map_doit): Don't use it.
32426 (dl_main): Likewise.
32427 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32428 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32429
bc96fbda
AS
324302010-09-09 Andreas Schwab <schwab@redhat.com>
32431
32432 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32433 (sysd-rules-targets): Remove duplicates.
32434 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32435 rtld-%.$o dependency.
32436
22cd1c9b
AS
324372010-10-18 Andreas Schwab <schwab@redhat.com>
32438
32439 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32440 _dl_map_object do it.
32441
18edac48
UD
324422010-10-19 Ulrich Drepper <drepper@gmail.com>
32443
32444 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32445 fast fma builtins, define the macros in the C99 standard.
32446 (FP_FAST_FMAF): Likewise.
32447 (FP_FAST_FMAL): Likewise.
32448 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32449
32450 * bits/mathdef.h: Update copyright year.
32451 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32452
d2050124
MM
324532010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32454
32455 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32456 builtins, define the macros in the C99 standard.
32457 (FP_FAST_FMAF): Likewise.
32458 (FP_FAST_FMAL): Likewise.
32459 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32460 multiply/add.
32461 (FP_FAST_FMAF): Likewise.
32462
475facd1
JJ
324632010-10-15 Jakub Jelinek <jakub@redhat.com>
32464
32465 [BZ #3268]
32466 * math/libm-test.inc (fma_test): Some new testcases.
32467 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32468 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32469 y and infinite z. Do multiplication by C already in long double.
32470 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32472 y and infinite z. Do bitwise or of inexact bit into u.d.
32473 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32474 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32475 * sysdeps/i386/fpu/s_fma.S: Removed.
32476 * sysdeps/i386/fpu/s_fmal.S: Removed.
32477
7c08a05c
JJ
324782010-10-16 Jakub Jelinek <jakub@redhat.com>
32479
32480 [BZ #3268]
32481 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32482 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32483 computation is not scheduled after fetestexcept. Fix value
32484 of minimum denormal long double.
32485
f3f7372d
JJ
324862010-10-14 Jakub Jelinek <jakub@redhat.com>
32487
32488 [BZ #3268]
32489 * math/libm-test.inc (fma_test): Add some more tests.
32490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32491 correctly.
32492
14d43591
AS
324932010-10-15 Andreas Schwab <schwab@redhat.com>
32494
32495 * scripts/data/localplt-s390-linux-gnu.data: New file.
32496 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32497
5e908464
JJ
324982010-10-13 Jakub Jelinek <jakub@redhat.com>
32499
32500 [BZ #3268]
32501 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32502 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32503 instead of dbl-64.
32504 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32505 inlines.
32506 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32507 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32508 if one of x and y is very large and the other is subnormal.
32509 * sysdeps/s390/fpu/s_fmaf.c: New file.
32510 * sysdeps/s390/fpu/s_fma.c: New file.
32511 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32512 * sysdeps/powerpc/fpu/s_fma.S: New file.
32513 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32514 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32515 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32516
325172010-10-12 Jakub Jelinek <jakub@redhat.com>
32518
32519 [BZ #3268]
32520 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32521 fma tests.
32522 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32523 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32524 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32525 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32526 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32527 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32528 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32529
b833d51f
UD
325302010-10-12 Ulrich Drepper <drepper@redhat.com>
32531
32532 [BZ #12078]
32533 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32534 * posix/bug-regex31.input: Add test case.
32535
1751705d
UD
325362010-10-11 Ulrich Drepper <drepper@gmail.com>
32537
e9b9cbf5
UD
32538 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32539 * posix/bug-regex31.input: New file.
32540
32541 [BZ #12078]
32542 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32543 (parse_sub_exp): Fix last change, use postorder.
32544
ef06edbe
UD
32545 * posix/bug-regex31.c: New file.
32546 * posix/Makefile: Add rules to build and run bug-regex31.
32547
a129c80d
UD
32548 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32549
32550 [BZ #12078]
32551 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32552
b76b818e
UD
32553 [BZ #12108]
32554 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32555 to have entries in sys_siglist.
32556
1751705d
UD
32557 [BZ #12093]
32558 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32559 be NULL.
32560
9ff8d36f
JJ
325612010-10-07 Jakub Jelinek <jakub@redhat.com>
32562
32563 [BZ #3268]
32564 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32565 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32566 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32567 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32568 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32569 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32570 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32571 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32572 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32573 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32574 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32575 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32576 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32577 * math/ftestexcept.c (fetestexcept): Likewise.
32578 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32579 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32580 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32581 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32582 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32583 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32584 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32585
af325969
UD
325862010-10-11 Ulrich Drepper <drepper@gmail.com>
32587
c579b202 32588 [BZ #12107]
af325969
UD
32589 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32590 newline.
32591
67a67b95
UD
325922010-10-06 Ulrich Drepper <drepper@gmail.com>
32593
32594 * string/bug-strstr1.c: New file.
32595 * string/Makefile: Add rules to build and run bug-strstr1.
32596
5fb308bc
EB
325972010-10-05 Eric Blake <eblake@redhat.com>
32598
32599 [BZ #12092]
32600 * string/str-two-way.h (two_way_long_needle): Always clear memory
32601 when skipping input due to the shift table.
32602
45db99c7
UD
326032010-10-03 Ulrich Drepper <drepper@gmail.com>
32604
3b111893
UD
32605 [BZ #12005]
32606 * malloc/mcheck.c: Handle large requests.
32607
45db99c7
UD
32608 [BZ #12077]
32609 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32610 for strncmp and strncasecmp.
32611 * string/stratcliff.c: Add tests for strcmp and strncmp.
32612 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32613
cf7a1eb8
NI
326142010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32615
32616 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32617 __set_fpscr.
32618
6484ba5e
AJ
326192010-09-30 Andreas Jaeger <aj@suse.de>
32620
32621 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32622 (CGROUP_SUPER_MAGIC): Define.
32623 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32624 Handle btrfs and cgroup file systems.
32625 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32626 Likewise.
32627
91c42559
LM
326282010-09-27 Luis Machado <luisgpm@br.ibm.com>
32629
32630 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32631 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32632
87a97932
AK
326332010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32634
32635 [BZ #12067]
32636 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32637 trying to locate the ELF header.
32638
c21cc9bc
AS
326392010-09-27 Andreas Schwab <schwab@redhat.com>
32640
32641 [BZ #11611]
32642 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32643 Mask out sign-bit copies when constructing f_fsid.
32644
315970f6
PB
326452010-09-24 Petr Baudis <pasky@suse.cz>
32646
32647 * debug/stack_chk_fail_local.c: Add missing licence exception.
32648 * debug/warning-nop.c: Likewise.
32649
1ac7a2c7
JM
326502010-09-15 Joseph Myers <joseph@codesourcery.com>
32651
32652 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32653 implementing getdents64 using getdents syscall, set d_type if
32654 __ASSUME_GETDENTS32_D_TYPE.
32655
56801c50
AS
326562010-09-16 Andreas Schwab <schwab@redhat.com>
32657
32658 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32659 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32660
dda51327
UD
326612010-09-21 Ulrich Drepper <drepper@redhat.com>
32662
32663 [BZ #12037]
32664 * posix/unistd.h: Undo change of feature selection for ftruncate from
32665 2010-01-11.
32666
8ffcee4a
UD
326672010-09-20 Ulrich Drepper <drepper@redhat.com>
32668
a545ecd9 32669 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32670 detection.
32671
e24f0a8b
AS
326722010-09-20 Andreas Schwab <schwab@redhat.com>
32673
32674 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32675 fanotify_mark.
32676 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32677
7291c56f
AS
326782010-09-14 Andreas Schwab <schwab@redhat.com>
32679
32680 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32681 variables after CHECK_SP call.
32682 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32683
bc5fb037
AS
326842010-09-13 Andreas Schwab <schwab@redhat.com>
32685 Ulrich Drepper <drepper@redhat.com>
32686
32687 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32688 re-relocationg ld.so.
32689 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32690 _dl_init_paths call.
32691 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32692 here anymore.
32693
e66e7419
UD
326942010-09-14 Ulrich Drepper <drepper@redhat.com>
32695
32696 * resolv/res_init.c (__res_vinit): Count the default server we added.
32697
c044aa75
CLT
326982010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32699 Ulrich Drepper <drepper@redhat.com>
32700
32701 [BZ #11968]
32702 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32703 (____longjmp_chk): Use %ebx for saving value across system call.
32704 Add unwind info.
32705
32cf4069
AS
327062010-09-06 Andreas Schwab <schwab@redhat.com>
32707
32708 * manual/Makefile: Don't mix pattern rules with normal rules.
32709
817328ee
AS
327102010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32711
32712 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32713 operation.
32714 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32715 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32716 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32717 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32718 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32719 Likewise.
32720
29fddf61
UD
327212010-09-04 Ulrich Drepper <drepper@redhat.com>
32722
32723 [BZ #11979]
32724 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32725 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32726
0959ffc9
UD
327272010-09-02 Ulrich Drepper <drepper@redhat.com>
32728
32729 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32730 * sysdeps/x86_64/addmul_1.S: Likewise.
32731 * sysdeps/x86_64/lshift.S: Likewise.
32732 * sysdeps/x86_64/mul_1.S: Likewise.
32733 * sysdeps/x86_64/rshift.S: Likewise.
32734 * sysdeps/x86_64/sub_n.S: Likewise.
32735 * sysdeps/x86_64/submul_1.S: Likewise.
32736
ece29840
ST
327372010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32738
0959ffc9
UD
32739 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32740 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32741 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32742 * bits/sched.h [__need_schedparam]
ece29840 32743 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32744 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32745 (__defined_schedparam): Define to 1.
ece29840
ST
32746 (__sched_param): New structure, identical to sched_param.
32747 (__need_schedparam): Undefine.
32748
e53a31fe
MF
327492010-08-31 Mike Frysinger <vapier@gentoo.org>
32750
fdc0c10d
MF
32751 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32752 (epoll_create1): Declare.
32753
e53a31fe
MF
32754 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32755
a726d796
AS
327562010-08-31 Andreas Schwab <schwab@redhat.com>
32757
32758 [BZ #7066]
32759 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32760 shifting retval into place.
32761
2f3e3dc7
UD
327622010-09-01 Ulrich Drepper <drepper@redhat.com>
32763
f2933da9
UD
32764 * nis/rpcsvc/nis.h: Update copyright notice.
32765 * nis/rpcsvc/nis.x: Likewise.
32766 * nis/rpcsvc/nis_callback.h: Likewise.
32767 * nis/rpcsvc/nis_callback.x: Likewise.
32768 * nis/rpcsvc/nis_object.x: Likewise.
32769 * nis/rpcsvc/nis_tags.h: Likewise.
32770 * nis/rpcsvc/yp.h: Likewise.
32771 * nis/rpcsvc/yp.x: Likewise.
32772 * nis/rpcsvc/ypupd.h: Likewise.
32773 * nis/yp_xdr.c: Likewise.
32774 * nis/ypupdate_xdr.c: Likewise.
32775
2f3e3dc7
UD
32776 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32777 mainly the body of pmap_getport. Add parameters to specify timeouts.
32778 (pmap_getport): Use __libc_rpc_getport.
32779 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32780 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32781 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32782
f3dcc2f9
AS
327832010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32784
32785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32786 fanotify_mark.
32787
6d34eb5b
RM
327882010-08-27 Roland McGrath <roland@redhat.com>
32789
32790 * sysdeps/i386/i686/multiarch/Makefile
32791 (CFLAGS-varshift.c): New variable.
32792
9ea3de11
UD
327932010-08-27 Ulrich Drepper <drepper@redhat.com>
32794
c96d23fc
UD
32795 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32796 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32797
9ea3de11
UD
32798 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32799
32800 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32801
623aac7f
L
328022010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32803
32804 * sysdeps/x86_64/strlen.S: Unroll the loop.
32805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32806 strlen-sse2 strlen-sse2-bsf.
32807 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32808 __strlen_no_bsf if bit_Slow_BSF is set.
32809 (__strlen_sse42): Removed.
32810 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32811 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32812
8b2b7715
RM
328132010-08-25 Roland McGrath <roland@redhat.com>
32814
32815 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32816 * sysdeps/x86_64/multiarch/varshift.c: New file.
32817 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32818 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32819 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32820 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32821
e73015f2
L
328222010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32823
32824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32825 strlen-sse2 strlen-sse2-bsf.
32826 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32827 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32828 (__strlen_sse2): Removed.
32829 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32830 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32832 bit_Slow_BSF for Atom.
32833 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32834 (index_Slow_BSF): Define.
32835 (HAS_SLOW_BSF): Define.
32836
df24a73e
UD
328372010-08-25 Ulrich Drepper <drepper@redhat.com>
32838
32839 [BZ #10851]
32840 * resolv/res_init.c (__res_vinit): When no server address at all
32841 is given default to loopback.
32842
f2ac4868
RM
328432010-08-24 Roland McGrath <roland@redhat.com>
32844
09055553
RM
32845 * configure.in: Remove config-name.h generation.
32846 * configure: Regenerated.
32847 * config-name.in: File removed.
32848 * scripts/config-uname.sh: New file.
32849 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32850 ($(objdir)config-name.h): New target.
32851
f2ac4868
RM
32852 * sunrpc/rpc_parse.h: Avoid nested comment.
32853
73f27d5e
RH
328542010-08-24 Richard Henderson <rth@redhat.com>
32855 Ulrich Drepper <drepper@redhat.com>
32856 H.J. Lu <hongjiu.lu@intel.com>
32857
32858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32860 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32861 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32862 _mm_alignr_epi8 with _mm_loadu_si128.
32863 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32864 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32865 (__m128i_shift_right): Removed.
32866 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32867 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32868 * sysdeps/x86_64/multiarch/varshift.h: New file.
32869 * sysdeps/x86_64/multiarch/varshift.S: New file.
32870
84b9230c
MF
328712010-08-21 Mike Frysinger <vapier@gentoo.org>
32872
32873 * configure.in: Move assembler checks to before sysdep dir checking.
32874
9bbd0ddc
PB
328752010-08-20 Petr Baudis <pasky@suse.cz>
32876
32877 * LICENSES: Sync the sunrpc license.
32878
9da4bb31
UD
328792010-08-19 Ulrich Drepper <drepper@redhat.com>
32880
a7ab6ec8
UD
32881 * sunrpc/auth_des.c: Update copyright notice once again.
32882 * sunrpc/auth_none.c: Likewise.
32883 * sunrpc/auth_unix.c: Likewise.
32884 * sunrpc/authdes_prot.c: Likewise.
32885 * sunrpc/authuxprot.c: Likewise.
32886 * sunrpc/bindrsvprt.c: Likewise.
32887 * sunrpc/clnt_gen.c: Likewise.
32888 * sunrpc/clnt_perr.c: Likewise.
32889 * sunrpc/clnt_raw.c: Likewise.
32890 * sunrpc/clnt_simp.c: Likewise.
32891 * sunrpc/clnt_tcp.c: Likewise.
32892 * sunrpc/clnt_udp.c: Likewise.
32893 * sunrpc/clnt_unix.c: Likewise.
32894 * sunrpc/des_crypt.c: Likewise.
32895 * sunrpc/des_soft.c: Likewise.
32896 * sunrpc/get_myaddr.c: Likewise.
32897 * sunrpc/getrpcport.c: Likewise.
32898 * sunrpc/key_call.c: Likewise.
32899 * sunrpc/key_prot.c: Likewise.
32900 * sunrpc/openchild.c: Likewise.
32901 * sunrpc/pm_getmaps.c: Likewise.
32902 * sunrpc/pm_getport.c: Likewise.
32903 * sunrpc/pmap_clnt.c: Likewise.
32904 * sunrpc/pmap_prot.c: Likewise.
32905 * sunrpc/pmap_prot2.c: Likewise.
32906 * sunrpc/pmap_rmt.c: Likewise.
32907 * sunrpc/rpc/auth.h: Likewise.
32908 * sunrpc/rpc/auth_unix.h: Likewise.
32909 * sunrpc/rpc/clnt.h: Likewise.
32910 * sunrpc/rpc/des_crypt.h: Likewise.
32911 * sunrpc/rpc/key_prot.h: Likewise.
32912 * sunrpc/rpc/netdb.h: Likewise.
32913 * sunrpc/rpc/pmap_clnt.h: Likewise.
32914 * sunrpc/rpc/pmap_prot.h: Likewise.
32915 * sunrpc/rpc/pmap_rmt.h: Likewise.
32916 * sunrpc/rpc/rpc.h: Likewise.
32917 * sunrpc/rpc/rpc_des.h: Likewise.
32918 * sunrpc/rpc/rpc_msg.h: Likewise.
32919 * sunrpc/rpc/svc.h: Likewise.
32920 * sunrpc/rpc/svc_auth.h: Likewise.
32921 * sunrpc/rpc/types.h: Likewise.
32922 * sunrpc/rpc/xdr.h: Likewise.
32923 * sunrpc/rpc_clntout.c: Likewise.
32924 * sunrpc/rpc_cmsg.c: Likewise.
32925 * sunrpc/rpc_common.c: Likewise.
32926 * sunrpc/rpc_cout.c: Likewise.
32927 * sunrpc/rpc_dtable.c: Likewise.
32928 * sunrpc/rpc_hout.c: Likewise.
32929 * sunrpc/rpc_main.c: Likewise.
32930 * sunrpc/rpc_parse.c: Likewise.
32931 * sunrpc/rpc_parse.h: Likewise.
32932 * sunrpc/rpc_prot.c: Likewise.
32933 * sunrpc/rpc_sample.c: Likewise.
32934 * sunrpc/rpc_scan.c: Likewise.
32935 * sunrpc/rpc_scan.h: Likewise.
32936 * sunrpc/rpc_svcout.c: Likewise.
32937 * sunrpc/rpc_tblout.c: Likewise.
32938 * sunrpc/rpc_util.c: Likewise.
32939 * sunrpc/rpc_util.h: Likewise.
32940 * sunrpc/rpcinfo.c: Likewise.
32941 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32942 * sunrpc/rpcsvc/key_prot.x: Likewise.
32943 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32944 * sunrpc/rpcsvc/mount.x: Likewise.
32945 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32946 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32947 * sunrpc/rpcsvc/rex.x: Likewise.
32948 * sunrpc/rpcsvc/rstat.x: Likewise.
32949 * sunrpc/rpcsvc/rusers.x: Likewise.
32950 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32951 * sunrpc/rpcsvc/spray.x: Likewise.
32952 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32953 * sunrpc/rtime.c: Likewise.
32954 * sunrpc/svc.c: Likewise.
32955 * sunrpc/svc_auth.c: Likewise.
32956 * sunrpc/svc_authux.c: Likewise.
32957 * sunrpc/svc_raw.c: Likewise.
32958 * sunrpc/svc_run.c: Likewise.
32959 * sunrpc/svc_simple.c: Likewise.
32960 * sunrpc/svc_tcp.c: Likewise.
32961 * sunrpc/svc_udp.c: Likewise.
32962 * sunrpc/svc_unix.c: Likewise.
32963 * sunrpc/svcauth_des.c: Likewise.
32964 * sunrpc/xcrypt.c: Likewise.
32965 * sunrpc/xdr.c: Likewise.
32966 * sunrpc/xdr_array.c: Likewise.
32967 * sunrpc/xdr_float.c: Likewise.
32968 * sunrpc/xdr_mem.c: Likewise.
32969 * sunrpc/xdr_rec.c: Likewise.
32970 * sunrpc/xdr_ref.c: Likewise.
32971 * sunrpc/xdr_sizeof.c: Likewise.
32972 * sunrpc/xdr_stdio.c: Likewise.
32973
9da4bb31
UD
32974 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32975 handling.
32976
bdaa77bc
AS
329772010-08-19 Andreas Schwab <schwab@redhat.com>
32978
32979 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32980
fe2f79db
LM
329812010-08-19 Luis Machado <luisgpm@br.ibm.com>
32982
32983 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32984 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32985 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32986 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32987 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32988 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32989 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32990 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32991 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32992 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32993 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32994 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32995 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32996 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32997
b9b42ee0
AB
329982010-07-26 Anton Blanchard <anton@samba.org>
32999
33000 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33001 * malloc/arena.c (heap_trim): Likewise.
33002
1c06ba31
UD
330032010-08-16 Ulrich Drepper <drepper@redhat.com>
33004
33005 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33006 here. Not...
33007 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33008 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33009
f8392f40
L
330102010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33011
33012 * sysdeps/i386/elf/Makefile: New file.
33013
3162f12e
AS
330142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33015
33016 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33017 from fanotify_init.
33018 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33019 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33020
28c90b2c
UD
330212010-08-15 Ulrich Drepper <drepper@redhat.com>
33022
33023 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33024 of strncasecmp_l.
1feccb6c 33025 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 33026
ca6bb004
UD
330272010-08-14 Ulrich Drepper <drepper@redhat.com>
33028
e9f82e0d
UD
33029 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33030 strncase_l-nonascii.
33031 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33032 Add strncase_l-ssse3.
33033 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33034 * sysdeps/x86_64/strcmp.S: Likewise.
33035 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33036 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33037 * sysdeps/x86_64/strncase.S: New file.
33038 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33039 * sysdeps/x86_64/strncase_l.S: New file.
33040 * string/Makefile (strop-tests): Add strncasecmp.
33041 * string/test-strncasecmp.c: New file.
33042
33043 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33044 warning.
33045
ca6bb004
UD
33046 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33047 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33048
052fa7b3
AS
330492010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33050
33051 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33052
962dba78
UD
330532010-08-12 Ulrich Drepper <drepper@redhat.com>
33054
33055 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33056 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33057 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33058
bebff237
AM
330592010-05-01 Alan Modra <amodra@gmail.com>
33060
33061 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33062 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33063 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33064 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33065 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33066 tidying. Don't tail-call __sigjmp_save for static lib.
33067 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33068 save location.
33069 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33070 (CALL_MCOUNT): Add eh info, and nop after bl.
33071 (TAIL_CALL_SYSCALL_ERROR): New macro.
33072 (PSEUDO_RET): Use it.
33073 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33074 Correct save location of integer regs and cr.
33075 (_dl_profile_resolve): Correct cr save location. Delete nops
33076 after bl when SHARED. Reduce cfi size a little by better
33077 placement of cfi directives.
33078 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33079 make a stack frame. Instead use parm save area as a temp.
33080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33081 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33083 Don't make a stack frame for parent, use parm save area.
33084 Increase child stack frame to 112 bytes. Don't save unused reg,
33085 and adjust reg usage. Set up cfi on error recovery and
33086 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33088 (__makecontext): Add dummy nop after jump to exit.
33089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33090 Use correct parm save area and cr save, reduce stack frame.
33091 Correct cfi for possible PSEUDO_RET frame setup.
33092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33093 Branch to local label emitted by PSEUDO_RET rather than
33094 __syscall_error.
33095
02637374
AS
330962010-08-12 Andreas Schwab <schwab@redhat.com>
33097
33098 [BZ #11904]
33099 * locale/programs/locale.c (print_assignment): New function.
33100 (show_locale_vars): Use it.
33101
c3e2f19b
UD
331022010-08-11 Ulrich Drepper <drepper@redhat.com>
33103
3cdaa6ad
UD
33104 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33105 field.
33106 (struct statfs64): Likewise.
33107 (_STATFS_F_FLAGS): Define.
33108 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33109 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33110 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33111 (ST_VALID): Define locally.
33112 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33113 __statvfs_getflags, use the provided value.
33114 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33115 __ASSUME_STATFS_F_FLAGS.
33116
754f7da3
UD
33117 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33118
10b3bedc
UD
33119 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33120 Add sys/fanotify.h.
33121 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33122 fanotify_mask for GLIBC_2.13.
33123 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33124 fanotify_init and fanotify_mark.
33125 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33126 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33127
c08fb0d7
UD
33128 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33129 Add prlimit.
33130 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33131 prlimit64 for GLIBC_2.13.
33132 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33133 prlimit64.
33134 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33135 syscall.
33136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33137 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33138 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33139 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33140 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33141 add prlimit alias.
33142 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33143
15bac72b
UD
33144 [BZ #11903]
33145 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33146 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33147
c3e2f19b
UD
33148 * nss/Makefile: Add rules to build and run tst-nss-test1.
33149 * shlib-versions: Add entry for libnss_test1.
33150 * nss/nss_test1.c: New file.
33151 * nss/tst-nss-test1.c: New file.
33152
33153 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33154 (__nss_configure_lookup): Set appropriate entry in
33155 __nss_configure_lookup to true.
33156 * nss/nsswitch.h: Define enum with indeces of databases in
33157 databases and __nss_database_custom arrays. Declare
33158 __nss_database_custom.
33159 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33160 to avoid using nscd when custom rules are installed.
33161 * nss/getXXbyYY_r.c: Likewise.
33162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33163
33164 * nss/nss_files/files-parse.c: Whitespace fixes.
33165
f15ce4d8
UD
331662010-08-09 Ulrich Drepper <drepper@redhat.com>
33167
33168 [BZ #11883]
33169 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33170 * posix/fnmatch_loop.c: Likewise.
33171
d22e4cc9
AK
331722010-07-17 Andi Kleen <ak@linux.intel.com>
33173
33174 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33175 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33176 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33177 * Versions.def [GLIBC_2.13]: Add.
33178
805bc17d
UD
331792010-08-06 Ulrich Drepper <drepper@redhat.com>
33180
33181 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33182 Also fail if tpwd after pwuid call is NULL.
33183
5a42321d
ST
331842010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33185
33186 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33187 when converting to ms.
33188
fd3ebeda
ST
331892010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33190
33191 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33192 EOPNOTSUPP errors with ENOTTY.
33193 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33194 EOPNOTSUPP errors with ENOTTY.
33195
73507d3a
UD
331962010-07-31 Ulrich Drepper <drepper@redhat.com>
33197
33198 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33199 Add strcasecmp_l-ssse3.
33200 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33201 strcasecmp.
33202 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33203 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33204 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33205
fe36dd02
UD
332062010-07-30 Ulrich Drepper <drepper@redhat.com>
33207
66f6765a
UD
33208 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33209
42e08a54
UD
33210 * string/Makefile (strop-tests): Add strcasecmp.
33211 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33212 strcasecmp_l-nonascii.
33213 (gen-as-const-headers): Add locale-defines.sym.
33214 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33215 * sysdeps/x86_64/strcasecmp.S: New file.
33216 * sysdeps/x86_64/strcasecmp_l.S: New file.
33217 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33218 * sysdeps/x86_64/locale-defines.sym: New file.
33219 * string/test-strcasecmp.c: New file.
33220
fe36dd02
UD
33221 * string/test-strcasestr.c: Test both ends of the range of characters.
33222 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33223
48cbc0d6
RM
332242010-07-29 Roland McGrath <roland@redhat.com>
33225
76e6d6bc 33226 [BZ #11856]
48cbc0d6
RM
33227 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33228
880113d9
UD
332292010-07-27 Ulrich Drepper <drepper@redhat.com>
33230
33231 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33232 for ld.so.
33233
deb9cabb
AS
332342010-07-27 Andreas Schwab <schwab@redhat.com>
33235
33236 * manual/memory.texi (Malloc Tunable Parameters): Document
33237 M_PERTURB.
33238
1c7570ff
RM
332392010-07-26 Roland McGrath <roland@redhat.com>
33240
33241 [BZ #11840]
33242 * configure.in (-fgnu89-inline check): Set and substitute
33243 gnu89_inline, not libc_cv_gnu89_inline.
33244 * configure: Regenerated.
33245 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33246
24fb0f88
UD
332472010-07-26 Ulrich Drepper <drepper@redhat.com>
33248
33249 * string/test-strnlen.c: New file.
33250 * string/Makefile (strop-tests): Add strnlen.
33251 * string/tester.c (test_strnlen): Add a few more test cases.
33252 * string/tst-strlen.c: Better error reporting.
33253
33254 * sysdeps/x86_64/strnlen.S: New file.
33255
8e96b93a
UD
332562010-07-24 Ulrich Drepper <drepper@redhat.com>
33257
33258 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33259 lower-latency instructions.
33260
dbc676d4
UD
332612010-07-23 Ulrich Drepper <drepper@redhat.com>
33262
33263 * string/test-strcasestr.c: New file.
33264 * string/test-strstr.c: New file.
33265 * string/Makefile (strop-tests): Add strstr and strcasestr.
33266 * string/str-two-way.h: Don't undefine MAX.
33267 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33268
f6a31e0e
AS
332692010-07-21 Andreas Schwab <schwab@redhat.com>
33270
33271 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33272 strcasestr-nonascii.
33273 (CFLAGS-strcasestr-nonascii.c): Define.
33274 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33275 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33276 Remove unused attribute.
33277
5dbc3b6c
RM
332782010-07-20 Roland McGrath <roland@redhat.com>
33279
33280 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33281 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33282 ld.so.cache was broken. With it, there is no way to disable dsocaps
33283 like LD_HWCAP_MASK can disable hwcaps.
33284
23d101d8
EPM
332852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33286
33287 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33288
cc9f2e47
UD
332892010-07-16 Ulrich Drepper <drepper@redhat.com>
33290
33291 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33292 call in strcasestr.
33293 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33294 __strcasestr_sse42_nonascii.
33295 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33296 strcasestr-nonascii.c.
33297 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33298
77c1b069
LM
332992010-06-15 Luis Machado <luisgpm@br.ibm.com>
33300
33301 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33302 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33303 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33304 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33305
440566c3
UD
333062010-07-09 Ulrich Drepper <drepper@redhat.com>
33307
33308 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33309 fcntl.
33310
5be9d05d
AS
333112010-07-06 Andreas Schwab <schwab@redhat.com>
33312
c30b7ee2 33313 [BZ #11577]
5be9d05d
AS
33314 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33315 dl_signal_cerror.
33316
8a492a67
UD
333172010-07-06 Ulrich Drepper <drepper@redhat.com>
33318
33319 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33320 _PC_PIPE_BUF using F_GETPIPE_SZ.
33321
713df3d5
RM
333222010-07-05 Roland McGrath <roland@redhat.com>
33323
33324 * manual/arith.texi (Rounding Functions): Fix rint description
33325 implicit in round description.
33326
702e8f14
UD
333272010-07-02 Ulrich Drepper <drepper@redhat.com>
33328
33329 * elf/Makefile: Fix linking for a few tests to make recent linker
33330 happy.
33331
52ed8be9
AS
333322010-06-30 Andreas Schwab <schwab@redhat.com>
33333
33334 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33335 $(common-objpfx)libc_nonshared.a.
33336
f47c9a11
LM
333372010-06-21 Luis Machado <luisgpm@br.ibm.com>
33338
33339 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33340 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33341 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33342 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33343 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33344 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33345 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33346 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33361 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33362 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33363 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33364 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33365 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33366 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33367 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33368 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33369 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33370 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33371 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33372 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33387
6fb8cbcb
L
333882010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33389
33390 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33391 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33392 * string/memmove.c (memmove): Renamed to ...
33393 (MEMMOVE): ...this. Default to memmove.
33394 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33395 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33396 (END_CHK): Define.
33397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33398 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33399 mempcpy-ssse3-back memmove-ssse3-back.
33400 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33401 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33402 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33403 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33404 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33405 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33406 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33407 * sysdeps/x86_64/multiarch/memmove.c: New file.
33408 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33409 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33410 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33411 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33412 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33413 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33414 Define.
33415 (index_Fast_Copy_Backward): Define.
33416 (HAS_ARCH_FEATURE): Define.
33417 (HAS_FAST_REP_STRING): Define.
33418 (HAS_FAST_COPY_BACKWARD): Define.
33419
4e733bac 334202010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33421
33422 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33423 Restore proper fallback handling.
33424
63c4ed22
UD
334252010-06-19 Ulrich Drepper <drepper@redhat.com>
33426
ac2b484c
UD
33427 [BZ #11701]
33428 * posix/group_member.c (__group_member): Correct checking loop.
33429
63c4ed22
UD
33430 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33431 OOM in getpwuid_r correctly. Return error number when the caller
33432 should return, otherwise -1.
33433 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33434 call returning > 0 value.
33435 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33436
765ade4b
AS
334372010-06-07 Andreas Schwab <schwab@redhat.com>
33438
33439 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33440 libc_nonshared.a from targets in modules-names.
33441
80da2e09
KS
334422010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33443
33444 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33445 requires it.
33446
158db122
LM
334472010-06-10 Luis Machado <luisgpm@br.ibm.com>
33448
33449 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33450 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33451 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33452 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33453
caa78cf8
AS
334542010-06-02 Andreas Schwab <schwab@redhat.com>
33455
33456 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33457
b2ef2c01
UD
334582010-06-14 Ulrich Drepper <drepper@redhat.com>
33459
33460 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33461 and F_GETPIPE_SZ.
33462 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33463 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33465 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33466 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33467 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33468
fbd643b6
RM
334692010-06-14 Roland McGrath <roland@redhat.com>
33470
33471 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33472
f32f2869
JJ
334732010-06-07 Jakub Jelinek <jakub@redhat.com>
33474
33475 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33476 __REDIRECT followed by __THROW.
33477 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33478 * posix/getopt.h (getopt): Likewise.
33479
2a50c078
EPM
334802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33481
33482 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33483 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33484 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33485 in AT_FLAGS.
33486 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33487 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33488
eb5ad2eb
LM
334892010-05-28 Luis Machado <luisgpm@br.ibm.com>
33490
33491 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33492
3c88fe1e
L
334932010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33494
33495 [BZ #11640]
33496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33497 Properly check family and model.
33498
d2f73151
TY
334992010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33500
33501 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33502
ebd2e13d
LM
335032010-05-24 Luis Machado <luisgpm@br.ibm.com>
33504
33505 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33506
b32b8b45
UD
335072010-05-21 Ulrich Drepper <drepper@redhat.com>
33508
33509 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33510 symbol reference.
33511
9acbe24d
AS
335122010-05-19 Andreas Schwab <schwab@redhat.com>
33513
33514 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33515 symbol reference.
33516
f0ccf6ea
AS
335172010-05-21 Andreas Schwab <schwab@redhat.com>
33518
3d04ff3a
AS
33519 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33520 and internal_recvmmsg.
33521 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33522 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33523 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33524 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33525
f0ccf6ea
AS
33526 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33527 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33528 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33529
5b08ac57
AS
335302010-05-20 Andreas Schwab <schwab@redhat.com>
33531
33532 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33533
4828935d
LM
335342010-05-17 Luis Machado <luisgpm@br.ibm.com>
33535
33536 POWER7 optimizations.
33537 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33538 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33539
373d545e
UD
335402010-05-19 Ulrich Drepper <drepper@redhat.com>
33541
33542 * version.h: Update for 2.13 development version.
33543
21a2b1ae
AS
335442010-05-12 Andrew Stubbs <ams@codesourcery.com>
33545
33546 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33547 exceptions. Return 0.
33548
3f7dcb2b
RM
335492010-05-07 Roland McGrath <roland@redhat.com>
33550
33551 * elf/ldconfig.c (main): Add a const.
33552
5f24d53a 335532010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33554
a160f8d8
UD
33555 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33556 (args_options): Add no-idn option.
33557 (ahosts_keys_int): Add idn_flags to ai_flags.
33558 (parse_option): Handle 'i' option to clear idn_flags.
33559
5f24d53a
UD
33560 * malloc/malloc.c (_int_free): Possible race in the most recently
33561 added check. Only act on the data if no current modification
33562 happened.
265bb1ce
UD
33563
33564See ChangeLog.17 for earlier changes.