]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC floating point little-endian [5 of 15]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
32c301df
AM
12013-10-04 Alan Modra <amodra@gmail.com>
2
3 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4 Delete.
5 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
7 version of math_ldbl.h.
8
650ef4bd
AM
92013-10-04 Alan Modra <amodra@gmail.com>
10
11 [BZ #15734], [BZ #15735]
12 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13 all uses of ieee875 long double macros and unions. Simplify test
14 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15 ldbl_extract_mantissa value for ix,iy exponents. Properly
16 normalize after ldbl_extract_mantissa, and don't add hidden bit
17 already handled. Don't treat low word of ieee854 mantissa like
18 low word of IBM long double and mask off bit when testing for
19 zero.
20 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21 all uses of ieee875 long double macros and unions. Simplify tests
22 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24 two1022, instead use their values. Recognise that tests for large
25 "a" and small "b" are mutually exclusive. Rename vars. Comment.
26 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
27 Rewrite all uses of ieee875 long double macros and unions. Simplify
28 test for 0.0L and nan. Correct negation.
29 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30 ieee875 long double macros and unions. Correct output for large
31 magnitude x. Correct absolute value calculation.
32 (__erfcl): Likewise.
33 * math/libm-test.inc: Add tests for errors discovered in IBM long
34 double versions of fmodl, remainderl, erfl and erfcl.
35
765714ca
AM
362013-10-04 Alan Modra <amodra@gmail.com>
37
38 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
39 all uses of ieee854 long double macros and unions. Simplify tests
40 for long doubles that are fully specified by the high double.
41 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
42 Likewise.
43 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
44 Remove dead code too.
45 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46 (__ieee754_ynl): Likewise.
47 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
48 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
49 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
50 Remove dead code too.
51 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
52 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
53 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
54 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
55 Simplify.
56 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
57 Simplify.
58 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
59 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
60 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
61 Comment on variable precision.
62 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
63 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
64 Likewise.
65 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
66 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
67 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
69 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
70
4ebd120c
AM
712013-10-04 Alan Modra <amodra@gmail.com>
72
73 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
74 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
75 all uses of ieee854 long double macros and unions.
76 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
77 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
78 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
79 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
80 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
81 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
82 Likewise.
83 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
84 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
86 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
87 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
88 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
89 Simplify sign and nan test too.
90 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
91 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
92 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
93 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
94 Likewise.
95 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
96 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
97 Likewise.
98 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
99 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
100 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
101 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
102 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
103 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
104
1b6adf88
AM
1052013-10-04 Alan Modra <amodra@gmail.com>
106
107 * stdio-common/printf_size.c (__printf_size): Don't use
108 union ieee854_long_double in fpnum union.
109 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
110 signbit macro to retrieve sign from long double.
111 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
112 retrieve sign from long double.
113 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
114 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
115 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
116 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
117 * math/test-misc.c (main): Don't use union ieee854_long_double.
118
4cf69995
AM
1192013-10-04 Alan Modra <amodra@gmail.com>
120
121 [BZ #15680]
122 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
123 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
124 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
125 calculation. Remove unnecessary test for denormal exponent.
126 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
127 Correct handling of denormals. Avoid undefined shift behaviour.
128 Correct normalisation of low mantissa when low double is denormal.
129 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
130 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
131 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
132 Correct normalisation of low mantissa. Test for overflow of high
133 mantissa and normalise.
134 (ldbl_nearbyint): Use more readable constant for two52.
135 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
136 (__mpn_construct_long_double): Fix test for overflow of high
137 mantissa and correct normalisation. Avoid undefined shift.
138
9605ca6c
AM
1392013-10-04 Alan Modra <amodra@gmail.com>
140
141 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
142 (union ibm_extended_long_double): Define as an array of ieee754_double.
143 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
144 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
145 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
146 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
147 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
148 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
149 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
150 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
151 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
152 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
153 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
154
975569d0
JM
1552013-10-03 Joseph Myers <joseph@codesourcery.com>
156
d3d23756
JM
157 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
158 page size instead of calling getpagesize.
159
975569d0
JM
160 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
161 (LOCFILE_ALIGN_MASK): Likewise.
162 (LOCFILE_ALIGN_UP): Likewise.
163 (LOCFILE_ALIGNED_P): Likewise.
164 * locale/programs/ld-collate.c (collate_output): Use the new
165 macros instead of __alignof__ (int32_t).
166 * locale/weight.h (findidx): Likewise.
167
b1fe1f2b
OB
1682013-10-03 Ondřej Bílka <neleai@seznam.cz>
169
170 [BZ #431]
171 * manual/string.texi: Fix strncat and wcsncat.
172
5f855e35
BM
1732013-10-03 Brooks Moses <bmoses@google.com>
174
175 [BZ #15915]
176 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
177 * Makerules: ...here, and adjust associated comments.
178
3cef6009
WN
1792013-10-02 Will Newton <will.newton@linaro.org>
180
181 * malloc/Makefile: Add tst-pvalloc.
182 * malloc/tst-pvalloc.c: New file.
183
7815420b
WN
1842013-10-02 Will Newton <will.newton@linaro.org>
185
186 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
187 improve test coverage.
188
4868b204
WN
1892013-10-02 Will Newton <will.newton@linaro.org>
190
191 * malloc/Makefile: Add tst-posix_memalign.
192 * malloc/tst-posix_memalign.c: New file.
193
29c793b3
EB
1942013-10-01 Eric Blake <eblake@redhat.com>
195
196 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
197 Use __THROWNL rather than __THROW on static functions.
198
fd967522
PM
1992013-09-30 Petr Machata <pmachata@redhat.com>
200
201 * elf/elf.h (R_AARCH64_ABS16): New macro.
202 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
203 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
204 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
205 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
206 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
207 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
208 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
209 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
210 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
211 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
212 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
213 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
214 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
215 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
216 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
217 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
218 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
219 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
220 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
221 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
222 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
223 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
224 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
225 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
226 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
227 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
228 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
229 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
230 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
231 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
232 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
233 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
234 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
235 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
236 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
237 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
238 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
239 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
240 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
241 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
242 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
243 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
244 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
245 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
246 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
247 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
248 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
249 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
250 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
251 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
252 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
253 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
254 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
255 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
256 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
257 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
258 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
259 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
260 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
261 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
262 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
263 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
264 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
265 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
266 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
267 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
268 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
269 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
270 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
271 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
272 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
273 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
274 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
275 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
276 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
277 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
278 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
279 (R_AARCH64_TLSDESC_LDR): Likewise.
280 (R_AARCH64_TLSDESC_ADD): Likewise.
281 (R_AARCH64_TLSDESC_CALL): Likewise.
282
b2179107
AS
2832013-09-30 Andreas Schwab <schwab@suse.de>
284
285 [BZ #15048]
286 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
287 the nss database lookup.
288 * nscd/initgrcache.c (addinitgroupsX): Likewise.
289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
290
47f28d0a
MF
2912013-09-28 Mike Frysinger <vapier@gentoo.org>
292
293 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
294
2952013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
296
297 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
298 ${Bash-specific parameter/pattern/string} parameter expansion.
299 * sysdeps/unix/make-syscalls.sh: Likewise.
300
f4518a17
KK
3012013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
302
303 * sysdeps/sh/stackguard-macros.h: New file.
304
dc1a95c7
OB
3052013-09-26 Ondřej Bílka <neleai@seznam.cz>
306
307 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
308 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
309 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
310 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
311 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
312 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
313
5ebbff8f
AZ
3142013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
315
316 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
317 Fix thread ID register.
318
4fd2cf9f
JM
3192013-09-25 Joseph Myers <joseph@codesourcery.com>
320
321 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
322 [POSIX || UNIX98]: Require rather than permitting all symbols from
323 <time.h>.
324 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
325 element of struct sched_param.
326 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
327 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
328 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
329 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
330 constant.
331
12c22bc4
OL
3322013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
333
334 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
335 argument calculation.
336
a03d8ea7
JM
3372013-09-24 Joseph Myers <joseph@codesourcery.com>
338
339 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
340 Expect macro.
341 [POSIX] (pthread_attr_t): Do not require type.
342 [POSIX] (pthread_cond_t): Likewise.
343 [POSIX] (pthread_condattr_t): Likewise.
344 [POSIX] (pthread_key_t): Likewise.
345 [POSIX] (pthread_mutex_t): Likewise.
346 [POSIX] (pthread_mutexattr_t): Likewise.
347 [POSIX] (pthread_once_t): Likewise.
348 [POSIX] (pthread_t): Likewise.
349 [POSIX-based standards] (pthread_atfork): Expect function.
350
6055173a
JM
3512013-09-24 Joseph Myers <joseph@codesourcery.com>
352 Richard Sandiford <richard@codesourcery.com>
353
354 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
355 (swap_endianness_p): New extern variable.
356 (set_big_endian): New inline function.
357 (maybe_swap_uint32): Likewise.
358 (maybe_swap_uint32_array): Likewise.
359 (maybe_swap_uint32_obstack): Likewise.
360 * locale/programs/locfile.c: Include <stdbool.h>.
361 (swap_endianness_p): New variable.
362 (add_locale_uint32): Call maybe_swap_uint32.
363 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
364 (write_locale_data): Call maybe_swap_uint32_array.
365 * locale/programs/ld-collate.c (obstack_int32_grow): Call
366 maybe_swap_uint32.
367 (obstack_int32_grow_fast): Likewise.
368 (output_weightwc): Call maybe_swap_uint32_obstack.
369 (collate_output): Likewise.
370 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
371 (OPT_LITTLE_ENDIAN): Likewise.
372 (options): Add --little-endian and --big-endian options.
373 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
374 * locale/programs/locarchive.c: Include "locfile.h".
375 (GET): New macro.
376 (SET): Likewise.
377 (INC): Likewise.
378 (create_archive): Use the new macros to access fields of
379 structures directly mapped from or written to locale archives.
380 (oldlocrecentcmp): Likewise.
381 (enlarge_archive): Likewise.
382 (insert_name): Likewise.
383 (add_alias): Likewise.
384 (add_locale): Likewise.
385 (delete_locales_from_archive): Likewise.
386 (show_archive_content): Likewise.
387 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
388 locale data.
389
39bf0bb4
RM
3902013-09-24 Roland McGrath <roland@hack.frob.com>
391
392 * manual/freemanuals.texi: Updated from (newly) canonical copy at
393 http://www.gnu.org/doc/freemanuals.texi.
394 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
395
f02eed10
WN
3962013-09-24 Will Newton <will.newton@linaro.org>
397
398 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
399 macro.
400
a3a6c312
JM
4012013-09-23 Joseph Myers <joseph@codesourcery.com>
402
403 * locale/hashval.h (compute_hashval): Interpret bytes of key as
404 unsigned char.
405
107375ac
MR
4062013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
407
408 * manual/threads.texi (POSIX Threads): Fix a typo.
409
141f3a77
SP
4102013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
411
303e567a
SP
412 [BZ #14547]
413 * string/tst-strcoll-overflow.c: New test case.
414 * string/Makefile (xtests): Add tst-strcoll-overflow.
415 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
416 cache if string sizes may cause integer overflow.
417
141f3a77
SP
418 [BZ #14547]
419 * string/strcoll_l.c (coll_seq): New members rule, idx,
420 save_idx and back_us.
421 (get_next_seq_nocache): New function.
422 (do_compare_nocache): New function.
423 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
424 when malloc fails.
425
c61b4d41
CD
4262013-09-23 Carlos O'Donell <carlos@redhat.com>
427
0b1f8e35
CD
428 [BZ #15754]
429 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
430 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
431 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
432
c61b4d41
CD
433 [BZ #15754]
434 * elf/Makefile (tests): Add tst-ptrguard1.
435 (tests-static): Add tst-ptrguard1-static.
436 (tst-ptrguard1-ARGS): Define.
437 (tst-ptrguard1-static-ARGS): Define.
438 * elf/tst-ptrguard1.c: New file.
439 * elf/tst-ptrguard1-static.c: New file.
440 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
441 * sysdeps/i386/stackguard-macros.h: Likewise.
442 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
443 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
444 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
445 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
446 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
447 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
448
4492013-09-23 Hector Marco <hecmargi@upv.es>
450 Ismael Ripoll <iripoll@disca.upv.es>
451 Carlos O'Donell <carlos@redhat.com>
452
453 [BZ #15754]
454 * sysdeps/generic/stackguard-macros.h: Define
455 __pointer_chk_guard_local and POINTER_CHK_GUARD.
456 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
457 Define __pointer_chk_guard_local.
458 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
459 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
460
f5f4e7b4
VV
4612013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
462
463 [BZ #15859]
464 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
465
5bb43a43
AS
4662013-09-20 Andreas Schwab <schwab@linux-m68k.org>
467
468 * include/string.h (__ffs): Declare as hidden.
469 * string/ffs.c (__ffs): Define as hidden.
470 * sysdeps/i386/ffs.c (__ffs): Likewise.
471 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
472 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
473 * sysdeps/s390/ffs.c (__ffs): Likewise.
474 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
475
3ea5be54
AO
4762013-09-20 Alexandre Oliva <aoliva@redhat.com>
477
ffb89e53
AO
478 * NEWS: Mention malloc probes.
479
322dea08
AO
480 * malloc/arena.c (new_heap): New memory_heap_new probe.
481 (grow_heap): New memory_heap_more probe.
482 (shrink_heap): New memory_heap_less probe.
483 (heap_trim): New memory_heap_free probe.
484 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
485 (systrim): New memory_sbrk_less probe.
486 * manual/probes.texi: Document them.
487
655673f3
AO
488 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
489 * manual/probes.texi: Document it.
490
35fed6f1
AO
491 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
492 (__libc_realloc): Add memory_realloc_retry probe.
493 (__libc_memalign): Add memory_memalign_retry probe.
494 (__libc_valloc): Add memory_valloc_retry probe.
495 (__libc_pvalloc): Add memory_pvalloc_retry probe.
496 (__libc_calloc): Add memory_calloc_retry probe.
497 * manual/probes.texi: Document them.
498
6999d38c
AO
499 * malloc/arena.c (get_free_list): Add probe
500 memory_arena_reuse_free_list.
501 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
502 and memory_arena_reuse.
503 (arena_get2) [!PER_THREAD]: Likewise.
504 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
505 memory_arena_reuse_realloc.
506 * manual/probes.texi: Document them.
507
0653427f
AO
508 * malloc/malloc.c (__libc_free): Add
509 memory_mallopt_free_dyn_thresholds probe.
510 (__libc_mallopt): Add multiple memory_mallopt probes.
511 * manual/probes.texi: Document them.
512
3ea5be54
AO
513 * malloc/malloc.c: Include stap-probe.h.
514 (__libc_mallopt): Add memory_mallopt probe.
515 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
516 * manual/probes.texi: New.
517 * manual/Makefile (chapters): Add probes.
518 * manual/threads.texi: Set next node.
519
e35696c3 5202013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 521
e35696c3
CL
522 [BZ #15963, #13985]
523 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
524 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
525 Add `Chinese' to `nan' entry name.
526
4aafb73c
SP
5272013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
528
529 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
530 (POLYNOMIAL): Likewise.
531 (TAYLOR_SINCOS): Likewise.
532 (TAYLOR_SLOW): Likewise.
533 (__sin): Use TAYLOR_SINCOS.
534 (__cos): Likewise.
535 (slow): Use TAYLOR_SLOW.
536 (sloww): Likewise.
537 (bsloww): Likewise.
538 (csloww): Likewise.
539
d84f25c7
LD
5402013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
541
542 * stdlib/strtod_l.c: Fix buffer overrun.
543
5eea0404
SP
5442013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
545
7849ff93
SP
546 * benchtests/Makefile (bench): Add sincos.
547 * benchtests/bench-sincos.c: New file.
548
cfa3c886
SP
549 * math/libm-test.inc (cos_test_data): New test inputs.
550 (sin_test_data): Likewise.
551
b348e1e3
SP
552 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
553 macro.
554 (__sin): Use it.
555 (__cos): Likewise.
556 (slow1): Likewise.
557 (slow2): Likewise.
558 (sloww1): Likewise.
559 (sloww2): Likewise.
560 (bsloww1): Likewise.
561 (bsloww2): Likewise.
562 (cslow2): Likewise.
563 (csloww1): Likewise.
564 (csloww2): Likewise.
565
6cce25f8
SP
566 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
567 function.
568 (__sin): Use it.
569 (__cos): Likewise.
570
5eea0404
SP
571 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
572 gotos.
573 (__cos): Likewise.
574
9c21573c
MR
5752013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
576
577 * config.h.in (HAVE_MIPS_NAN2008): New macro.
578 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
579 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
580 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
581 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
582 * elf/cache.c (print_entry): Handle the new cache flags.
583
24d22e65
JM
5842013-09-18 Joseph Myers <joseph@codesourcery.com>
585 Aldy Hernandez <aldyh@redhat.com>
586
587 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
588 Change condition to [_SOFT_FLOAT].
589 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
590 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
591 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
592 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
593 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
594 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
595 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
596 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
597 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
598 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
599 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
600 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
601 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
602 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
603 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
604 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
605 declaration.
606
d13ef066
JM
6072013-09-18 Joseph Myers <joseph@codesourcery.com>
608
2e071de0
JM
609 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
610 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
611 (__longjmp): Use LOAD_GP to load saved GPRs.
612 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
613 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
614 (__sigsetjmp): Use SAVE_GP to save GPRs.
615
d13ef066
JM
616 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
617 Do not append -msoft-float.
618 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
619
97a0650b
SP
6202013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
621
622 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
623
11ca09e9
JM
6242013-09-17 Joseph Myers <joseph@codesourcery.com>
625
626 [BZ #15966]
627 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
628 (_FPU_GETCW): Use initial "__" on variable and field names but not
629 on macro parameter name.
630 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
631 parentheses around reference to macro parameter.
632
08ffcf34
RS
6332013-09-13 Richard Sandiford <richard@codesourcery.com>
634
635 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
636 prototype.
637 (ctype_startup): Use uint32_t in cast and sizeof for
638 ctype->charnames.
639
ae7080d3
JL
6402013-09-11 Jia Liu <proljc@gmail.com>
641
642 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
643 __daddr_t_defined.
644 [__FreeBSD__]: Likewise.
645
5905e7b3
OB
6462013-09-11 Ondřej Bílka <neleai@seznam.cz>
647
648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
649 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
650 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
651 (strchr): Remove __strchr_sse42 ifunc selection.
652 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
653 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
654
b987c776
WN
6552013-09-11 Will Newton <will.newton@linaro.org>
656
657 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
658 parameter to RES. Remove hardcoded 1000 value.
659 * benchtests/bench-skeleton.c (main): Pass RES parameter
660 to TIMING_INIT and multiply result by 1000.
661
ddf985af
AZ
6622013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
663
664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
665
ffdd3181
AS
6662013-09-11 Andreas Schwab <schwab@suse.de>
667
668 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
669 if not defined.
670 (O_TMPFILE) [__USE_GNU]: Define.
671 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
672 Define.
673
b73ed247
WN
6742013-09-11 Will Newton <will.newton@linaro.org>
675
676 [BZ #15857]
677 * malloc/malloc.c (__libc_memalign): Check the value of bytes
678 does not overflow.
679
55e17aad
WN
6802013-09-11 Will Newton <will.newton@linaro.org>
681
682 [BZ #15856]
683 * malloc/malloc.c (__libc_valloc): Check the value of bytes
684 does not overflow.
685
1159a193
WN
6862013-09-11 Will Newton <will.newton@linaro.org>
687
688 [BZ #15855]
689 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
690 does not overflow.
691
5905e7b3 6922013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
693
694 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
695 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
696 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
697 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
698 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
699
cdfc721b
AM
7002013-09-10 Allan McRae <allan@archlinux.org>
701
aa04af00
AM
702 [BZ #15748]
703 * manual/arith.texi (Parsing of Floats): Clarify
704 cross-reference.
705
cdfc721b
AM
706 [BZ #15849]
707 * manual/install.texi (Running make install): Mention
708 --enable-pt-chown.
709 * INSTALL: Regenerated.
710
95e7cf29
MR
7112013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
712
713 * csu/init-first.c (_init): Remove the !SHARED condition around
714 FPU control word initialization.
715 * elf/dl-support.c (_dl_fpu_control): New variable.
716 (_dl_aux_init) <AT_FPUCW>: Initialize it.
717 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
718 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
719 * math/test-fpucw-static.c: New file.
720 * math/test-fpucw-ieee.c: New file.
721 * math/test-fpucw-ieee-static.c: New file.
722 * math/Makefile (tests): Add `test-fpucw-ieee' and
723 `$(tests-static)'.
724 (tests-static): New variable.
725 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
726 dependency to...
727 [($(build-shared),yes)]
728 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
729 ... this.
730 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
731 New dependency.
732
83e43bf0
AM
7332013-09-09 Allan McRae <allan@archlinux.org>
734
a9f5ce09
AM
735 [BZ #15939]
736 * manual/string.texi (Collation Functions): Fix typo in
737 strcoll example.
738 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
739
34829bc2
AM
740 [BZ #15893]
741 * stdlib/isomac.c (get_null_defines): Fix memory leak.
742
3932737d
AM
743 [BZ #15892]
744 * libio/memstream.c (open_memstream): Fix memory leak.
745 * libio/wmemstream.c (open_wmemstream): Likewise.
746
83e43bf0
AM
747 [BZ #15895]
748 * nscd/netgroupcache.c: Fix nesting of ifdefs.
749
0c66b8e9
WN
7502013-09-09 Will Newton <will.newton@linaro.org>
751
752 * malloc/Makefile: Add tst-realloc to tests.
753 * malloc/tst-realloc.c: New file.
754
f6b00fd1
AM
7552013-09-09 Allan McRae <allan@archlinux.org>
756
757 [BZ #15844]
758 * COPYING: Update from GNU website to fix FSF address.
759 * COPYING.LIB: Likewise.
760
eec55e16
DM
7612013-09-06 David S. Miller <davem@davemloft.net>
762
763 * po/zh_TW.po: Update Chinese (traditional) translation from
764 translation project.
765
1ecbb381
RS
7662013-09-06 Richard Sandiford <richard@codesourcery.com>
767 Joseph Myers <joseph@codesourcery.com>
768
769 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
770 "localeinfo.h".
771 (obstack_chunk_alloc): New macro.
772 (obstack_chunk_free): Likewise.
773 (record_offset): New function.
774 (init_locale_data): Likewise.
775 (align_locale_data): Likewise.
776 (add_locale_empty): Likewise.
777 (add_locale_raw_data): Likewise.
778 (add_locale_raw_obstack): Likewise.
779 (add_locale_string): Likewise.
780 (add_locale_wstring): Likewise.
781 (add_locale_uint32): Likewise.
782 (add_locale_uint32_array): Likewise.
783 (add_locale_char): Likewise.
784 (start_locale_structure): Likewise.
785 (end_locale_structure): Likewise.
786 (start_locale_prelude): Likewise.
787 (end_locale_prelude): Likewise.
788 (write_locale_data): Take locale_file structure rather than an
789 iovec.
790 * locale/programs/locfile.h: Include "obstack.h".
791 (struct locale_file): Change to store locale file contents instead
792 of header.
793 (init_locale_data): New prototype.
794 (align_locale_data): Likewise.
795 (add_locale_empty): Likewise.
796 (add_locale_raw_data): Likewise.
797 (add_locale_raw_obstack): Likewise.
798 (add_locale_string): Likewise.
799 (add_locale_wstring): Likewise.
800 (add_locale_uint32): Likewise.
801 (add_locale_uint32_array): Likewise.
802 (add_locale_char): Likewise.
803 (start_locale_structure): Likewise.
804 (end_locale_structure): Likewise.
805 (start_locale_prelude): Likewise.
806 (end_locale_prelude): Likewise.
807 (write_locale_data): Update prototype.
808 * locale/programs/3level.h (struct TABLE): Remove result field.
809 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
810 Use new locale_file interface.
811 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
812 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
813 * locale/programs/ld-address.c (address_output): Use new
814 locale_file interface.
815 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
816 NO_ADD_LOCALE.
817 (collate_finish): Don't call collseq_table_finalize.
818 (collate_output): Use new locale_file interface.
819 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
820 in file.
821 (NO_FINALIZE): Change to NO_ADD_LOCALE.
822 (TABLE): Move defines earlier in file.
823 (ELEMENT): Likewise.
824 (DEFAULT): Likewise.
825 (wctrans_table_add): Move macro and inline function earlier in
826 file.
827 (struct wctype_table): Move type earlier in file.
828 (add_locale_wctype_table): New static prototype.
829 (struct locale_ctype_t): Use logical types instead of struct iovec
830 pointers for members.
831 (ctype_output): Use new locale_file interface.
832 (wctype_table_finalize): Change to add_locale_wctype_table. Use
833 new locale_file interface.
834 (allocate_arrays): Update for use of new locale_file interface.
835 * locale/programs/ld-identification.c (identification_output): Use
836 new locale_file interface.
837 * locale/programs/ld-measurement.c (measurement_output): Likewise.
838 * locale/programs/ld-messages.c (messages_output): Likewise.
839 * locale/programs/ld-monetary.c (monetary_output): Likewise.
840 * locale/programs/ld-name.c (name_output): Likewise.
841 * locale/programs/ld-numeric.c (numeric_output): Likewise.
842 * locale/programs/ld-paper.c (paper_output): Likewise.
843 * locale/programs/ld-telephone.c (telephone_output): Likewise.
844 * locale/programs/ld-time.c (time_output): Likewise.
845
e029e2e5
AZ
8462013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
847
848 * benchtests/Makefile: Add memrchr benchmark.
849 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
850 benchmark as memrchr.
851 * benchtests/bench-memrchr-ifunc.c: New file.
852 * benchtests/bench-memrchr.c: New file.
853
bbf6e8e4
WN
8542013-09-06 Will Newton <will.newton@linaro.org>
855
856 * benchtests/Makefile (string-bench): Add memcpy.
857
6c82a2f8
CD
8582013-09-05 Carlos O'Donell <carlos@redhat.com>
859 Cong Wang <amwang@redhat.com>
860
861 * sysdeps/unix/sysv/linux/bits/in.h
862 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
863 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
864 before __USE_KERNEL_IPV6_DEFS uses.
865 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
866 IPPROTO_BEETPH.
867 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
868 sockaddr_in6, or ipv6_mreq.
869
5430fc65
AZ
8702013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
871
872 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
873 memory access for final bytes in some large inputs.
874 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
875
4660856c
AZ
8762013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
877
878 * string/test-memrchr.c: New file.
879 * string/test-memrchr-ifunc.c: New file.
880 * string/Makefile: Add new memrchr testcase.
881
bb8ea713
MF
8822013-09-05 Mike Frysinger <vapier@gentoo.org>
883
884 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
885 fanotify_init returns EPERM.
886
b92a20b5
JM
8872013-09-04 Joseph Myers <joseph@codesourcery.com>
888
889 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
890 errors.
891 (top level): Treat second token from macro or constant entries for
892 allowed headers as allowed.
893 * include/complex.h: Condition internal declarations on
894 [!_ISOMAC].
895 * include/fenv.h: Condition include of <stdbool.h> and internal
896 declarations on [!_ISOMAC].
7447ccd9
CL
897
8982013-09-04 Chris Leonard <cjl@sugarlabs,.org>
899
3e181dda 900 [BZ #15923]
7447ccd9
CL
901 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
902
3f2e46a4
JM
9032013-09-04 Joseph Myers <joseph@codesourcery.com>
904
905 * configure.in (--enable-versioning): Remove configure option.
906 (libc_cv_asm_symver_directive): Remove configure test.
907 (libc_cv_ld_version_script_option): Likewise.
908 (VERSIONING): Remove variable and AC_SUBST.
909 (DO_VERSIONING): Remove AC_DEFINE.
910 * configure: Regenerated.
911 * config.h.in (DO_VERSIONING): Remove macro.
912 * Makerules [$(versioning) = yes]: Change conditionals to
913 [$(build-shared) = yes].
914 * config.make.in (versioning): Remove variable.
915 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
916 [$(build-shared) = yes].
917 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
918 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
919 * elf/Makefile [$(versioning) = yes]: Change conditionals to
920 [$(build-shared) = yes].
921 * extra-lib.mk [$(versioning) = yes]: Likewise.
922 * hurd/Makefile [$(versioning) = yes]: Likewise.
923 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
924 [SHARED].
925 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
926 [SHARED].
927 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
928 [SHARED && !NO_HIDDEN].
929 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
930 [SHARED].
931 [SHARED && DO_VERSIONING]: Likewise..
932 * libio/Makefile [$(versioning) = yes]: Change conditionals to
933 [$(build-shared) = yes].
934 * manual/install.texi (--disable-versioning): Remove
935 documentation.
936 * INSTALL: Regenerated.
937 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
938 to [SHARED].
939 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
940 [$(build-shared) = yes].
941 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
942 * sysdeps/i386/i686/multiarch/strstr-c.c
943 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
944 [SHARED && !NO_HIDDEN].
945 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
946 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
947 * sysdeps/powerpc/powerpc32/dl-machine.c
948 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
949 * sysdeps/powerpc/powerpc32/sysdep.h
950 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
951 to [SHARED && PIC && !NO_HIDDEN].
952 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
953 conditional to [SHARED].
954
44558701
WN
9552013-09-04 Will Newton <will.newton@linaro.org>
956
957 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
958 * benchtests/bench-string.h: Include bench-timing.h instead
959 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
960 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
961 call to HP_TIMING_DIFF_INIT.
962 * benchtests/bench-memccpy.c: Use bench-timing.h macros
963 instead of hp-timing.h macros.
964 * benchtests/bench-memchr.c: Likewise.
965 * benchtests/bench-memcmp.c: Likewise.
966 * benchtests/bench-memcpy.c: Likewise.
967 * benchtests/bench-memmem.c: Likewise.
968 * benchtests/bench-memmove.c: Likewise.
969 * benchtests/bench-memset.c: Likewise.
970 * benchtests/bench-rawmemchr.c: Likewise.
971 * benchtests/bench-strcasecmp.c: Likewise.
972 * benchtests/bench-strcasestr.c: Likewise.
973 * benchtests/bench-strcat.c: Likewise.
974 * benchtests/bench-strchr.c: Likewise.
975 * benchtests/bench-strcmp.c: Likewise.
976 * benchtests/bench-strcpy.c: Likewise.
977 * benchtests/bench-strcpy_chk.c: Likewise.
978 * benchtests/bench-strlen.c: Likewise.
979 * benchtests/bench-strncasecmp.c: Likewise.
980 * benchtests/bench-strncat.c: Likewise.
981 * benchtests/bench-strncmp.c: Likewise.
982 * benchtests/bench-strncpy.c: Likewise.
983 * benchtests/bench-strnlen.c: Likewise.
984 * benchtests/bench-strpbrk.c: Likewise.
985 * benchtests/bench-strrchr.c: Likewise.
986 * benchtests/bench-strspn.c: Likewise.
987 * benchtests/bench-strstr.c: Likewise.
988
cae16d66
WN
9892013-09-04 Will Newton <will.newton@linaro.org>
990
991 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
992
ffa3cd7f
JM
9932013-09-03 Joseph Myers <joseph@codesourcery.com>
994
995 [BZ #15427]
996 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
997 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
998 * math/libm-test.inc (lgamma_test_data): Add more tests.
999 * sysdeps/i386/fpu/libm-test-ulps: Update.
1000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1001
8f02859f
OB
10022013-09-03 Ondřej Bílka <neleai@seznam.cz>
1003
1004 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1005 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1006 Add ifunc.
1007 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1008 Add strcmp-sse2-unaligned
1009 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1010
18d43716
MF
10112013-09-02 Mike Frysinger <vapier@gentoo.org>
1012
1013 * Versions.def (libc): Add GLIBC_2.19.
1014
ac444012
MF
10152013-09-02 Mike Frysinger <vapier@gentoo.org>
1016
1017 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1018 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1019
b7835e32
JM
10202013-09-02 Joseph Myers <joseph@codesourcery.com>
1021
1022 [BZ #14155]
1023 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1024 intermediate calculations in recurrence.
1025 (__ieee754_ynf): Likewise.
1026 * math/libm-test.inc (jn_test_data): Do not allow spurious
1027 underflow exception. Add more tests.
1028 (yn_test_data): Add more tests.
1029 * sysdeps/i386/fpu/libm-test-ulps: Update.
1030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1031
8220f4f0
OB
10322013-09-02 Ondřej Bílka <neleai@seznam.cz>
1033
1034 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1035
f24a6d08
OB
10362013-08-30 Ondřej Bílka <neleai@seznam.cz>
1037
1038 * csu/init-first.c: Fix then/than typos.
1039 * locale/programs/ld-collate.c: Likewise.
1040 * locale/programs/linereader.h: Likewise.
1041 * manual/charset.texi: Likewise.
1042 * manual/filesys.texi: Likewise.
1043 * manual/stdio.texi: Likewise.
1044 * manual/string.texi: Likewise.
1045 * stdlib/fmtmsg.c: Likewise.
1046 * sysdeps/i386/stpncpy.S: Likewise.
1047 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1048 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1049 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1050 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1051
382466e0
OB
10522013-08-30 Ondřej Bílka <neleai@seznam.cz>
1053
1054 * elf/dl-open.c: Fix typos.
1055 * iconvdata/gbbig5.c: Likewise.
1056 * iconvdata/iso-2022-jp.c: Likewise.
1057 * iconv/gconv_int.h: Likewise.
1058 * iconv/loop.c: Likewise.
1059 * nis/rpcsvc/nis.h: Likewise.
1060 * resolv/ns_name.c: Likewise.
1061 * stdio-common/vfscanf.c: Likewise.
1062 * streams/stropts.h: Likewise.
1063 * sunrpc/rpc_thread.c: Likewise.
1064 * sysdeps/i386/strpbrk.S: Likewise.
1065 * sysdeps/ieee754/k_standard.c: Likewise.
1066 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1067 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1068 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1069 * sysdeps/mach/hurd/profil.c: Likewise.
1070 * sysdeps/s390/dl-procinfo.h: Likewise.
1071 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1072 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1073 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1074 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1075 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1076
0186c6e9
OB
10772013-08-30 Ondřej Bílka <neleai@seznam.cz>
1078
1079 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1080 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1081
d4e16af1
OB
10822013-08-29 Ondřej Bílka <neleai@seznam.cz>
1083
1084 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1085 aix specific files.
1086 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1087 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1088 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1089 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1090 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1091 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1092 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1093 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1094
88335980
TS
10952013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1096 Roland McGrath <roland@hack.frob.com>
1097
1098 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1099 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1100
ed479b02
ST
11012013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1102
1103 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1104 __executable_start symbol instead of _start.
1105
f1cc4c86
TS
11062013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1107
d821f07c
TS
1108 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1109 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1110 Move macros to...
1111 * sysdeps/gnu/ldsodefs.h: ... this new file.
1112
c54290cf
TS
1113 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1114 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1115 instead of ELFOSABI_LINUX.
1116
0007fc9b 1117 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
1118 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1119 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1120 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1121 Likewise.
1122 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1123 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1124 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1125 Likewise.
1126 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1127 (ibm_extended_long_double): Add ieee_nan member.
1128 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1129 (do_test): New function.
1130
f1cc4c86
TS
1131 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1132 TEST_TRUNC.
1133 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1134 functions, renamed from truncdfsf_test, trunctfsf_test,
1135 trunctfdf_test.
1136 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1137 functions.
1138 (do_test): Run all these.
1139
6f65e668
OB
11402013-08-29 Ondřej Bílka <neleai@seznam.cz>
1141
1142 * argp/argp-help.c: Fix typos.
1143 * argp/argp-parse.c: Likewise.
1144 * debug/backtracesyms.c: Likewise.
1145 * elf/elf.h: Likewise.
1146 * malloc/malloc.c: Likewise.
1147 * nis/nis_print.c: Likewise.
1148 * resolv/res_comp.c: Likewise.
1149 * stdlib/stdlib.h: Likewise.
1150 * sunrpc/clnt_tcp.c: Likewise.
1151 * sunrpc/clnt_udp.c: Likewise.
1152 * sunrpc/clnt_unix.c: Likewise.
1153 * sysdeps/unix/bsd/ptsname.c: Likewise.
1154 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1155 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
1156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1157 Likewise.
1158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1159 Likewise.
1160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1161 Likewise.
6f65e668
OB
1162 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1163
3a309239
SP
11642013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1165
1166 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1168
3b813b29
MF
11692013-08-27 Mike Frysinger <vapier@gentoo.org>
1170
1171 [BZ #15897]
1172 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1173 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1174 ($(objpfx)bug-dl-leaf): New rule.
1175 ($(objpfx)bug-dl-leaf.so): Likewise.
1176 ($(objpfx)bug-dl-leaf.out): Likewise.
1177 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1178 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1179 * dlfcn/bug-dl-leaf.c: New test.
1180 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1181 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1182 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1183 (dlclose): Likewise.
1184 (dlmopen): Likewise.
1185
8cc3269f
RM
11862013-08-27 Roland McGrath <roland@hack.frob.com>
1187
7f9d0034
RM
1188 * include/netdb.h [!_ISOMAC]:
1189 Don't include <tls.h>.
1190 (h_errno, __libc_h_errno): Move declaration and macros out of
1191 [_LIBC_REENTRANT].
1192
fb431262
RM
1193 * include/resolv.h [_RESOLV_H_]:
1194 Don't include <tls.h>.
1195 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1196 * resolv/res_libc.c: Don't include <tls.h>.
1197 (_res): Use __attribute__ ((nocommon)) in place of
1198 __attribute__ ((section (".bss"))).
1199
bd81123a
RM
1200 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1201 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1202
c4e42566
RM
1203 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1204
f890a59b
RM
1205 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1206 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1207
1208 * resolv/res_mkquery.c: Include <sys/time.h>.
1209
5d1f0a09
RM
1210 * inet/ifreq.c: Moved to ...
1211 * sysdeps/unix/ifreq.c: ... here.
1212 * inet/ifreq.c: New file, true stub version.
1213
6fcf28b3
RM
1214 * socket/sa_len.c: New file.
1215 * socket/Makefile (aux): Add it.
1216 * sysdeps/unix/sysv/linux/Makefile
1217 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1218 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1219 and #include <socket/sa_len.c>.
1220 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1221 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1222
e041fb8b
RM
1223 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1224 * bits/socket.h: ... here.
1225
8cc3269f
RM
1226 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1227 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1228 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1229
5d228a43
AS
12302013-08-27 Andreas Schwab <schwab@suse.de>
1231
45b8accc
AS
1232 [BZ #15736]
1233 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1234 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1235 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1236 * string/test-strcasecmp.c (test_main): Run tests in several
1237 locales.
1238 * string/test-strncasecmp.c (test_main): Likewise.
1239
5d228a43
AS
1240 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1241 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1242 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1243 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1244 (__strncasecmp_ssse3) [PIC]: Likewise.
1245
59d112a4
RM
12462013-08-26 Roland McGrath <roland@hack.frob.com>
1247
53234cc3
RM
1248 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1249
59d112a4
RM
1250 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1251 instead of explicitly declaring xdecrypt.
1252 * nis/nss_nis/nis-publickey.c: Likewise.
1253
595aba70
SP
12542013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1255
1256 [BZ #15890]
1257 * nscd/aicache.c: Include res_hconf.h.
1258 (addhstaiX): Initialize res_hconf.
1259
ffabd393
AS
12602013-08-26 Andreas Schwab <schwab@suse.de>
1261
1262 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1263 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1264
e0a69f5c
SP
12652013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1266
1267 * nscd/aicache.c (addhstaiX): Fix indentation.
1268
8c12f01d
MF
12692013-08-25 Mike Frysinger <vapier@gentoo.org>
1270
1271 * configure.ac: Quote $build_pt_chown test.
1272 * configure: Regenerated.
1273
8fe89494
JM
12742013-08-23 Joseph Myers <joseph@codesourcery.com>
1275
1276 [BZ #15532]
1277 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1278 * math/s_cexpf.c (__cexpf): Likewise.
1279 * math/s_cexpl.c (__cexpl): Likewise.
1280 * math/libm-test.inc (cexp_test_data): Correct expected return
1281 value for NaN + i0. Add another test.
1282
75b181d6
DM
12832013-08-22 David S. Miller <davem@davemloft.net>
1284
1285 * po/ca.po: Update Catalan translation from translation project.
936241e4 1286 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1287
acd06bb1
JM
12882013-08-21 Joseph Myers <joseph@codesourcery.com>
1289
1290 [BZ #15797]
1291 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1292 is infinite, not alongside NaN test.
1293 * math/s_fdimf.c (__fdimf): Likewise.
1294 * math/s_fdiml.c (__fdiml): Likewise.
1295 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1296 errno is unchanged.
1297
c0c3f78a
OB
12982013-08-21 Ondřej Bílka <neleai@seznam.cz>
1299
1300 * argp/argp-help.c: Fix typos.
1301 * crypt/speeds.c: Likewise.
1302 * csu/check_fds.c: Likewise.
1303 * elf/dl-load.c: Likewise.
1304 * elf/dl-open.c: Likewise.
1305 * elf/reldep3.c: Likewise.
1306 * elf/reldep.c: Likewise.
1307 * elf/sprof.c: Likewise.
1308 * iconv/iconv_charmap.c: Likewise.
1309 * iconv/skeleton.c: Likewise.
1310 * iconv/strtab.c: Likewise.
1311 * io/lockf64.c: Likewise.
1312 * libio/libioP.h: Likewise.
1313 * resolv/gai_notify.c: Likewise.
1314 * resolv/ns_name.c: Likewise.
1315 * resolv/ns_samedomain.c: Likewise.
1316 * resolv/res_send.c: Likewise.
1317 * stdlib/random.c: Likewise.
1318 * sunrpc/rpc/xdr.h: Likewise.
1319 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1320 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1321 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1322 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1323 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1324 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1325 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1326 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1327 * sysdeps/mach/hurd/check_fds.c: Likewise.
1328 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1329 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1330 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1331 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1332 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1333 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1334 * sysdeps/pthread/aio_notify.c: Likewise.
1335 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1336 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1337 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1338 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1339 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1340
46ed1038
LD
13412013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1342
1343 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1344 version if bit_Slow_SSE4_2 is set.
1345 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1346 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1347
d400dcac
AZ
13482013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1349
1350 [BZ #15867]
1351 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1352 trampoline stack frame information.
1353 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1354 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1355 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1356 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1357 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1358 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1359 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1360 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1361 sa_flags value.
1362 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1363 interrupting a syscall and set with option SA_SIGINFO.
1364
42c8fdd8
JM
13652013-08-20 Joseph Myers <joseph@codesourcery.com>
1366
c980f2f4
JM
1367 [BZ #15531]
1368 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1369 argument is infinite.
1370 * math/s_cprojf.c (__cprojf): Likewise.
1371 * math/s_cprojl.c (__cprojl): Likewise.
1372 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1373 * math/libm-test.inc (cproj_test_data): Add more tests.
1374
0716c4fc
JM
1375 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1376
42c8fdd8
JM
1377 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1378 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1379 size. Use __ffs to determine corresponding shift.
1380
b31469d0
JM
13812013-08-20 Joseph Myers <joseph@codesourcery.com>
1382 Roland McGrath <roland@hack.frob.com>
1383
1384 * Makefile (INSTALL): Remove trailing blank lines from output of
1385 makeinfo.
1386
4e39af6e
AK
13872013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1388
1389 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1390 Align 32 bit compat elf_greg to 8 bytes.
1391
f315524e
AA
13922013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1393
1394 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1395
1326ba1a
SP
13962013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1397
1398 * string/strcoll_l.c (coll_seq): New structure.
1399 (get_next_seq_cached): New function.
1400 (get_next_seq): New function.
1401 (do_compare): New function.
1402 (STRCOLL): Use GNU style definition. Simplify implementation
1403 by using get_next_seq, get_next_seq_cached and do_compare.
1404
91ce4085
FW
14052013-08-16 Florian Weimer <fweimer@redhat.com>
1406
1407 [BZ #14699]
1408 CVE-2013-4237
1409 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1410 member.
1411 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1412 member.
1413 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1414 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1415 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1416 conditional.
1417 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1418 GETDENTS_64BIT_ALIGNED.
1419 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1420 * manual/filesys.texi (Reading/Closing Directory): Document
1421 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1422 strongly.
1423 * manual/conf.texi (Limits for Files): Add portability note to
1424 NAME_MAX, PATH_MAX.
1425 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1426
ca0a6bc4
AS
14272013-08-13 Andreas Schwab <schwab@suse.de>
1428
1429 [BZ #15749]
1430 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1431 of fabs.
1432 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1433 LDBL_MAX_EXP >= 16384]: Add tests for it.
1434
6c1fd795
DM
14352013-08-12 David S. Miller <davem@davemloft.net>
1436
1437 * version.h (RELEASE): Set to "development".
1438 (VERSION): Set to "2.18.90".
1439 * NEWS: Add 2.19 section.
1440
31ad488d
DM
14412013-08-03 David S. Miller <davem@davemloft.net>
1442
1443 * po/ko.po: Update Korean translation from translation project.
1444
db24e684
DM
14452013-08-01 David S. Miller <davem@davemloft.net>
1446
1447 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1448 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1449 Bilka.
1450
f723285b
DM
14512013-07-30 David S. Miller <davem@davemloft.net>
1452
1453 * po/fr.po: Update French translation from translation project.
1454
3cbc52db
DM
14552013-07-28 David S. Miller <davem@davemloft.net>
1456
30bbc0cc
DM
1457 * po/cs.po: Update Czech translation from translation project.
1458
3cbc52db
DM
1459 * po/sv.po: Update Swedish translation from translation project.
1460
d492e6d0
DM
14612013-07-27 David S. Miller <davem@davemloft.net>
1462
f1a7f492
DM
1463 * po/eo.po: Update Esperanto translation from translation project.
1464
90e62a4a
DM
1465 * po/vi.po: Update Vietnamese translation from translation project.
1466
d492e6d0
DM
1467 * po/de.po: Update German translation from translation project.
1468
d4baa62d
DM
14692013-07-26 David S. Miller <davem@davemloft.net>
1470
641aa7b4
DM
1471 * po/bg.po: Update Bulgarian translation from translation project.
1472
d4baa62d
DM
1473 * po/nl.po: Update Dutch translation from translation project.
1474 * po/pl.po: Update Polish translation from translation project.
1475 * po/ru.po: Update Russian translation from translation project.
1476
61a9dcb9
DM
14772013-07-24 David S. Miller <davem@davemloft.net>
1478
1479 * po/libc.pot: Update.
1480
7b1f8b58
AZ
14812013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1482
1483 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1484 variable page size.
1485 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1486 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1487 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1488
a8fc7a03
AK
14892013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1490
1491 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1492
e4608715
CD
14932013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1494 Andreas Schwab <schwab@suse.de>
1495 Roland McGrath <roland@hack.frob.com>
1496 Joseph Myers <joseph@codesourcery.com>
1497 Carlos O'Donell <carlos@redhat.com>
1498
1499 [BZ #15755]
1500 * config.h.in: Define HAVE_PT_CHOWN.
1501 * config.make.in (build-pt-chown): New variable.
1502 * configure.in (--enable-pt_chown): New configure option.
1503 * configure: Regenerate.
1504 * login/Makefile: Include Makeconfig. Build pt_chown only if
1505 build-pt-chown is enabled.
1506 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1507 pt_chown to fix pty ownership.
1508 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1509 CLOSE_ALL_FDS.
1510 * manual/install.texi (Configuring and compiling): Mention
1511 --enable-pt_chown. Add @findex for grantpt.
1512 * INSTALL: Regenerate.
1513
da2d62df
DM
15142013-07-20 David S. Miller <davem@davemloft.net>
1515
1516 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1517 difference between 32-bit and 64-bit.
1518
d7e06450
CD
15192013-07-15 Carlos O'Donell <carlos@redhat.com>
1520
1521 [BZ #15711]
1522 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1523 Avoid system header dependency with -ffreestanding.
1524 ($(objpfx)bits/syscall%d): Likewise.
1525
f959cfd7
DM
15262013-07-13 David S. Miller <davem@davemloft.net>
1527
1528 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1529 underflows from atanl/atan2l due to bug 15319.
1530 (casinh_test_data): Likewise.
1531
c61f8513
DM
15322013-07-07 David S. Miller <davem@davemloft.net>
1533
1534 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1535
72c90ed0
JA
15362013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1537
1538 * sysdeps/i386/fpu/libm-test-ulps: Update.
1539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1540
52dfbe13
SP
15412013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1542
1543 * configure.in (--enable-lock-elision): Fix message text.
1544 * INSTALL: Regenerate.
1545 * configure: Regenerate.
1546
3f169543
AZ
15472013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1548
1549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1550
521c6785
AJ
15512013-07-03 Andreas Jaeger <aj@suse.de>
1552
1553 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1554 define.
1555 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1556 (ptrace_peeksiginfo_args): Add.
1557 (__ptrace_peeksiginfo_flags): Add.
1558 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1559 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1560 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1561
d2cc15cb
AM
15622013-07-03 Allan McRae <allan@archlinux.org>
1563
1564 * sysdeps/i386/fpu/libm-test-ulps: Update.
1565
3aaeeca7
DM
15662013-07-02 David S. Miller <davem@davemloft.net>
1567
1568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1569
5314ed1a
MT
15702013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1571
1572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1573
67338156
JM
15742013-07-02 Joseph Myers <joseph@codesourcery.com>
1575
1576 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1578
1717da59
AK
15792013-07-02 Andi Kleen <ak@linux.intel.com>
1580
1581 * config.h.in (ENABLE_LOCK_ELISION): Add.
1582 * configure.in (--enable-lock-elision): Add option.
1583 * manual/install.texi: Document --enable lock elision.
1584 * configure: Regenerate
1585 * INSTALL: Regenerate.
1586
1c81621c
L
15872013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1588
1589 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1590 SSE4.2 strcasecmp for libc.a.
1591 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1592
77f01ab5
JM
15932013-07-02 Joseph Myers <joseph@codesourcery.com>
1594
1595 [BZ #13304]
1596 * soft-fp/op-common.h (_FP_FMA): New macro.
1597 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1598 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1599 (_FP_MUL_MEAT_1_imm): ... here.
1600 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1601 (_FP_MUL_MEAT_1_wide): ... here.
1602 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1603 (_FP_MUL_MEAT_1_hard): ... here.
1604 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1605 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1606 (_FP_MUL_MEAT_2_wide): ... here.
1607 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1608 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1609 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1610 (_FP_MUL_MEAT_2_gmp): ... here.
1611 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1612 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1613 (_FP_MUL_MEAT_4_wide): ... here.
1614 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1615 (_FP_MUL_MEAT_4_gmp): ... here.
1616 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1617 (_FP_WFRACBITS_DW_S): Likewise.
1618 (_FP_WFRACXBITS_DW_S): Likewise.
1619 (_FP_HIGHBIT_DW_S): Likewise.
1620 (FP_FMA_S): Likewise.
1621 (_FP_FRAC_HIGH_DW_S): Likewise.
1622 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1623 (_FP_WFRACBITS_DW_D): Likewise.
1624 (_FP_WFRACXBITS_DW_D): Likewise.
1625 (_FP_HIGHBIT_DW_D): Likewise.
1626 (FP_FMA_D): Likewise.
1627 (_FP_FRAC_HIGH_DW_D): Likewise.
1628 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1629 (_FP_WFRACBITS_DW_E): Likewise.
1630 (_FP_WFRACXBITS_DW_E): Likewise.
1631 (_FP_HIGHBIT_DW_E): Likewise.
1632 (FP_FMA_E): Likewise.
1633 (_FP_FRAC_HIGH_DW_E): Likewise.
1634 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1635 (_FP_WFRACBITS_DW_Q): Likewise.
1636 (_FP_WFRACXBITS_DW_Q): Likewise.
1637 (_FP_HIGHBIT_DW_Q): Likewise.
1638 (FP_FMA_Q): Likewise.
1639 (_FP_FRAC_HIGH_DW_Q): Likewise.
1640 * soft-fp/fmasf4.c: New file.
1641 * soft-fp/fmadf4.c: Likewise.
1642 * soft-fp/fmatf4.c: Likewise.
1643
6308fd9a
LD
16442013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1645
1646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1647 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1648 Silvermont.
1649 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1650 macro.
1651 (index_Slow_SSE4_2): Likewise.
1652 (index_Prefer_PMINUB_for_stringop): Likewise.
1653 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1654 bit_Slow_SSE4_2 is set.
1655 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1656 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1657
89cd9569
RA
16582013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1659
1660 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1661 rtld_global._dl_hwcap2.
1662 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1663 POWER8.
1664 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1665 POWER8 feature descriptions defined in _dl_hwcap2.
1666 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1667 string handling for POWER8 feature bits.
1668 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1669 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1670 _dl_powerpc_cap_flags.
1671 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1672 * sysdeps/powerpc/rtld-global-offsets.sym
1673 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1674 _dl_hwcap2 in the rtld_global_ro structure.
1675
1ae8bfe0
RA
16762013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1677
1678 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1679 hardware capabilities in support of AT_HWCAP2.
1680 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1681 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1682 GLRO(dl_hwcap2).
1683 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1684 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1685 explicitly the unknown a_type display mechanism is used.
1686 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1687 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1688 struct member.
1689 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1690 to macro prototype for AT_HWCAP2 support.
1691 * sysdeps/i386/dl-procinfo.h: Likewise.
1692 * sysdeps/s390/dl-procinfo.h: Likewise.
1693 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1694 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1695 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1696 return -1 for unknown a_type display fallback.
1697 * sysdeps/sparc/dl-procinfo.h: Likewise.
1698 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1699 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1700
8fbec010
JM
17012013-06-28 Joseph Myers <joseph@codesourcery.com>
1702
1703 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1704 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1705
0432680e
PY
17062013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1707
1708 [BZ #12492]
1709 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1710 mprotect making __stack_prot writable.
1711
ce61a2ad
NF
17122013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1713 Joseph Myers <joseph@codesourcery.com>
1714
1715 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1716 as being properly aligned.
1717
f91f1c0f
MR
17182013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1719
3d0f5d0c
MR
1720 * dlfcn/modstatic5.c: New file.
1721 * dlfcn/tststatic5.c: New file.
1722 * dlfcn/Makefile (tests): Add tststatic5.
1723 (tests-static): Likewise.
1724 (modules-names): Add modstatic5.
1725 (tststatic5-ENV): New variable.
1726 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1727
f91f1c0f
MR
1728 [BZ #15022]
1729 * elf/dl-support.c (_dl_main_map): New variable.
1730 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1731 (_dl_nns, _dl_load_adds): Set to 1.
1732 (_dl_initial_searchlist): Refer to _dl_main_map.
1733 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1734 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1735 call to _dl_get_origin.
1736 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1737 around call_map.
1738 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1739 * dlfcn/modstatic3.c: New file.
1740 * dlfcn/tststatic3.c: New file.
1741 * dlfcn/tststatic4.c: New file.
1742 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1743 (tests-static): Likewise.
1744 (modules-names): Add modstatic3.
1745 (tststatic3-ENV, tststatic4-ENV): New variables.
1746 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1747 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1748
cbe7d24b
JM
17492013-06-26 Joseph Myers <joseph@codesourcery.com>
1750
1751 * configure.in (CC): Require GCC version 4.4 or later.
1752 * configure: Regenerated.
1753 * manual/install.texi (Tools for Compilation): Update GCC version
1754 requirement.
1755 * INSTALL: Regenerated.
1756
11b8a0e1
LD
17572013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1758
1759 [BZ #15674]
bb5bb87c
L
1760 * string/test-memcmp.c (check2): New.
1761 (main): Call check2.
1762
11b8a0e1
LD
1763 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1764
b0037103
MR
17652013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1766
1767 [BZ #15022]
1768 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1769 over to...
1770 (dl_open_worker) [!SHARED]: ... here.
1771
c18c701d
RA
17722013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1773
1774 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1775
1d17fa5f
RH
17762013-06-25 Richard Henderson <rth@redhat.com>
1777
1778 * locale/programs/locarchive.c: Include <libc-internal.h>
1779
8fcb833a
JM
17802013-06-25 Joseph Myers <joseph@codesourcery.com>
1781
1782 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1783 trailing whitespace removed.
1784
17db6e8d
MF
17852013-06-24 Mike Frysinger <vapier@gentoo.org>
1786
1787 [BZ #10283]
17db6e8d
MF
1788 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1789 * locale/programs/locarchive.c: Include libc-mmap.h.
1790 (prepare_address_space): Take two new outputs (the mmap base and len).
1791 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1792 values.
1793 (create_archive): Declare new mmap base and len values for
1794 prepare_address_space, and store the result in ah.
1795 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1796 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1797 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1798 Declare new mmap base and len values for
1799 prepare_address_space, and store the result in new_ah.
1800 (open_archive): Declare new mmap base and len values for
1801 prepare_address_space, and store the result in ah.
1802 (close_archive): If ah->mmap_base is not NULL, use that and
1803 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1804 * sysdeps/generic/libc-mmap.h: New file.
1805
d605071e
MF
18062013-06-24 Mike Frysinger <vapier@gentoo.org>
1807
1808 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1809 (ALIGN_UP): Likewise.
1810 (PTR_ALIGN_DOWN): Likewise.
1811 (PTR_ALIGN_UP): Likewise.
1812
2f063a6e
RA
18132013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1814
1815 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1816 entry mapped to PPC_PLATFORM_POWER8.
1817 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1818 POWER8.
1819 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1820 (_dl_string_platform): Add case for exporting platform position for
1821 POWER8.
1822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1823 search path to sysdeps/powerpc/powerpc32/power8 directory.
1824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1825 search path to sysdeps/powerpc/powerpc64/power8 directory.
1826 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1827 power7 directories.
1828 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1829 power7 directories.
1830
a31ee4b3
SP
18312013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1832
a74ca98f
SP
1833 * INSTALL: Regenerate.
1834
a31ee4b3
SP
1835 * nscd/connections.c (nscd_init): Fix comment.
1836
695c378f
JM
18372013-06-22 Joseph Myers <joseph@codesourcery.com>
1838
d8412221
JM
1839 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1840
695c378f
JM
1841 [BZ #15667]
1842 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1843 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1844
d1d54715
MR
18452013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1846
1847 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1848 DL_DST_REQ_STATIC.
1849 (DL_DST_REQ_STATIC): Remove macro.
1850
8fdda7af
JM
18512013-06-21 Joseph Myers <joseph@codesourcery.com>
1852
1853 [BZ #7006]
1854 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1855 with a shift of 0 bits.
1856
f3bc5e5a
MR
18572013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1858
1859 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1860 $(tststatic-ENV).
1861
be09e8c9
KK
18622013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1863
1864 [BZ #15655]
1865 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1866
85c2e611
AZ
18672013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1868
1869 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1870 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1871 accepts -fno-tree-loop-distribute-patterns.
1872 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1873 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1874 recursive call.
1875 * string/memset.c (memset): Likewise.
1876 * string/test-memmove.c (simple_memmove): Disable loop transformation
1877 to library calls.
1878 * string/test-memset.c (simple_memset): Likewise.
1879 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1880 * benchtests/bench-memset.c (simple_memset): Likewise.
1881 * configure: Regenerated.
1882
c91e0825
JM
18832013-06-20 Joseph Myers <joseph@codesourcery.com>
1884
b8c792af
JM
1885 * math/test-misc.c (main): Ignore fesetround failure when failures
1886 of subsequent rounding tests would be ignored.
1887
c91e0825
JM
1888 [BZ #15654]
1889 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1890 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1891 * math/fegetenv.c (__fegetenv): Return 0.
1892 * math/fegetexcept.c (fegetexcept): Return 0.
1893 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1894 FE_TONEAREST.
1895 * math/feholdexcpt.c (feholdexcept): Return 0.
1896 * math/fesetenv.c (__fesetenv): Return 0.
1897 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1898 argument FE_TONEAREST.
1899 * math/feupdateenv.c (__feupdateenv): Return 0.
1900 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1901
bfcacbde
RM
19022013-06-18 Roland McGrath <roland@hack.frob.com>
1903
1904 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1905 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1906 ($(objpfx)rtld-%.os rules): Use them.
1907
e55a9b25
AZ
19082013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1909
1910 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1911 fields.
1912
346d65b3
RM
19132013-06-17 Roland McGrath <roland@hack.frob.com>
1914
12086fb4
RM
1915 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1916 length of target pattern, then descending length of dependency pattern.
1917 * configure.in (AWK): Require gawk 3.1.2 or newer.
1918 * manual/install.texi (Tools for Compilation): Say that we do.
1919 * configure: Regenerated.
1920
346d65b3
RM
1921 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1922 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1923 * scripts/sysd-rules.awk: ... this new script.
1924 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1925 than a glob-style pattern.
1926
1a846317
JM
19272013-06-17 Joseph Myers <joseph@codesourcery.com>
1928
1929 * math/test-misc.c (main): Do not treat incorrectly rounded
1930 conversions as failure unless ROUNDING_TESTS passes.
1931
8fc75e6f
JM
19322013-06-15 Joseph Myers <joseph@codesourcery.com>
1933
3711a167
JM
1934 [BZ #15631]
1935 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1936 restore exception state around main square root computation, then
1937 check for inexactness explicitly.
1938
8fc75e6f
JM
1939 * math/libm-test.inc (fma_test_data): Add another test.
1940
61dd6208
SP
19412013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1942
adf23d2c
SP
1943 * manual/threads.texi (Non-POSIX Extensions): New document
1944 node. Document pthread_getattr_default_np and
1945 pthread_setattr_default_np.
1946
61dd6208
SP
1947 * Versions.def (libpthread): Add GLIBC_2.18.
1948 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1950 Likewise.
1951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1952 Likewise.
1953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1954 Likewise.
1955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1956 Likewise.
1957 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1958 Likewise.
1959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1960 Likewise.
1961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1962 Likewise.
1963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1964 Likewise.
1965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1966 Likewise.
1967
d086fc7b
LD
19682013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1969
1970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1971 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1972
747ef469
SP
19732013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1974 H.J. Lu <hjl.tools@gmail.com>
1975
1976 [BZ #15627]
1977 * sysdeps/x86_64/rtld-memset.c: Remove file.
1978 * sysdeps/x86_64/rtld-memset.S: New file.
1979
1b2feed2
JM
19802013-06-14 Joseph Myers <joseph@codesourcery.com>
1981
1982 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1983 (test_in_one_mode): Take arguments for whether the rounding mode
1984 is supported for each floating-point type.
1985 (do_test): Pass new arguments to test_in_one_mode using
1986 ROUNDING_TESTS.
1987
a58ad3f8
RM
19882013-06-13 Roland McGrath <roland@hack.frob.com>
1989
1990 * posix/tst-waitid.c (do_test): Distinguish different instances of
1991 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1992 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1993 before entering the kernel for waitpid.
1994
c204ab28
SP
19952013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1996
1997 * NEWS: Fix note on clock function precision. Text by Roland
1998 McGrath.
1999
f4a29fba
RM
20002013-06-13 Roland McGrath <roland@hack.frob.com>
2001
2002 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2003 it into place only when and if the sanity check passes.
2004
1f24b9ad
JM
20052013-06-13 Joseph Myers <joseph@codesourcery.com>
2006
2007 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2008 output for whether conversion result is exact. Take argument
2009 indicating whether type is IBM long double.
2010 (round_for_all): Change need_exact field to ibm_ld.
2011 * stdlib/tst-strtod-round.c (struct exactness): New type.
2012 (struct test): Change bool ld_ok field to struct exactness exact.
2013 (TEST): Update all definitions for change to field.
2014 (tests): Regenerate array contents.
2015 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2016 field value. Check for IBM long double here.
2017 (do_test): Update calls to test_in_one_mode.
2018
58206c68
SP
20192013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2020
2021 [BZ #12515]
2022 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2023 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2024
2d6f4c5b 20252013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
2026
2027 [BZ #15605]
2028 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2029 generated by the compiler on loop optimizations.
2030 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2031 general definitions.
2032
94f2c076
JM
20332013-06-12 Joseph Myers <joseph@codesourcery.com>
2034
2035 * math/bug-nextafter.c: Include <math-tests.h>.
2036 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2037 the relevant type.
2038 * math/bug-nexttoward.c: Include <math-tests.h>.
2039 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2040 the relevant type.
2041 * math/test-misc.c: Include <math-tests.h>.
2042 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2043 the relevant type.
2044
e0e50a0a
AJ
20452013-06-12 Andreas Jaeger <aj@suse.de>
2046
2047 * po/ia.po: Update Interlingua translation from translation
2048 project.
2049
25061094
SP
20502013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2051
2052 * include/fenv.h: Include stdbool.h.
2053 (struct rm_ctx): New structure.
2054 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2055 Define macro.
2056 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2057 (SET_RESTORE_ROUNDF): Likewise.
2058 (SET_RESTORE_ROUNDL): Likewise.
2059 (SET_RESTORE_ROUND_NOEX): Likewise.
2060 (SET_RESTORE_ROUND_NOEXF): Likewise.
2061 (SET_RESTORE_ROUND_NOEXL): Likewise.
2062 (SET_RESTORE_ROUND_53BIT): Likewise.
2063 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2064 (libc_feresetround_noexf_ctx): Likewise.
2065 (libc_feresetround_noexl_ctx): Likewise.
2066 (libc_feholdsetround_53bit_ctx): Likewise.
2067 (libc_feresetround_53bit_ctx): Likewise.
2068 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2069 (libc_feholdexcept_setround_sse_ctx): New function.
2070 (libc_fesetenv_sse_ctx): Likewise.
2071 (libc_feupdateenv_sse_ctx): Likewise.
2072 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2073 (libc_feholdexcept_setround_387_ctx): Likewise.
2074 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2075 (libc_feholdsetround_387_prec_ctx): Likewise.
2076 (libc_feholdsetround_387_ctx): Likewise.
2077 (libc_feholdsetround_387_53bit_ctx): Likewise.
2078 (libc_feholdsetround_sse_ctx): Likewise.
2079 (libc_feresetround_sse_ctx): Likewise.
2080 (libc_feresetround_387_ctx): Likewise.
2081 (libc_feupdateenv_387_ctx): Likewise.
2082 (libc_feholdexcept_setroundf_ctx): Define macro.
2083 (libc_fesetenvf_ctx): Likewise.
2084 (libc_feupdateenvf_ctx): Likewise.
2085 (libc_feholdsetroundf_ctx): Likewise.
2086 (libc_feresetroundf_ctx): Likewise.
2087 (libc_feholdexcept_setround_ctx): Likewise.
2088 (libc_fesetenv_ctx): Likewise.
2089 (libc_feupdateenv_ctx): Likewise.
2090 (libc_feholdsetround_ctx): Likewise.
2091 (libc_feresetround_ctx): Likewise.
2092 (libc_feholdexcept_setroundl_ctx): Likewise.
2093 (libc_feupdateenvl_ctx): Likewise.
2094 (libc_feholdsetroundl_ctx): Likewise.
2095 (libc_feresetroundl_ctx): Likewise.
2096 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2097 (libc_feresetround_53bit_ctx): Likewise.
2098
59b30555
SP
20992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2100
2101 * locale/iso-639.def: Convert to UTF-8.
2102
f1d73d30
JM
21032013-06-11 Joseph Myers <joseph@codesourcery.com>
2104
2105 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2106 (EXCEPTION_TESTS_double): Likewise.
2107 (EXCEPTION_TESTS_long_double): Likewise.
2108 (EXCEPTION_TESTS): Likewise.
2109 * math/libm-test.inc (test_exceptions): Only test exceptions if
2110 EXCEPTION_TESTS (FLOAT).
2111
94aca5e7
SP
21122013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2113
2114 * benchtests/Makefile (string-bench): Add strcpy_chk and
2115 stpcpy_chk.
2116 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2117 * benchtests/bench-stpcpy_chk.c: New file.
2118 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2119 * benchtests/bench-strcpy_chk.c: New file.
2120 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2121 code.
2122 (do_test): Likewise.
2123
fac0c5f2
RA
21242013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2125
2126 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2127 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2128 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2129 with tabs where appropriate.
2130 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2131 dl-procinfo.h.
2132 [PPC_PLATFORM_PPC440]: Likewise.
2133 [PPC_PLATFORM_PPC464]: Likewise.
2134 [PPC_PLATFORM_PPC476]: Likewise.
2135 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2136 ppc464, and ppc476 platform strings merging from ports/
2137 dl-procinfo.h.
2138
f22bc486
AS
21392013-06-11 Andreas Schwab <schwab@suse.de>
2140
2141 [BZ #14991]
2142 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2143 (from_ucs4_idx): Regenerate.
2144 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2145 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2146 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2147 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2148 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2149 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2150 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2151 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2152 from FROM_LOOP and TO_LOOP specific macros.
2153 (BODY): Handle combining characters.
2154 * iconvdata/BIG5HKSCS.irreversible: Update.
2155 * iconvdata/BIG5HKSCS.precomposed: New file.
2156 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2157 characters.
2158 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2159
c1f75dc3
SP
21602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2161
4eacded2
SP
2162 * include/sys/time.h: Fix indentation and add copyright header.
2163
fec799f8
SP
2164 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2165 (do_test): Likewise.
2166 * string/test-memchr.c (do_one_test): Likewise.
2167 (do_test): Likewise.
2168 * string/test-memcmp.c (do_one_test): Likewise.
2169 (do_test): Likewise.
2170 * string/test-memcpy.c (do_one_test): Likewise.
2171 (do_test): Likewise.
2172 * string/test-memmem.c (do_one_test): Likewise.
2173 (do_test): Likewise.
2174 (do_random_tests): Likewise.
2175 * string/test-memmove.c (do_one_test): Likewise.
2176 (do_test): Likewise.
2177 * string/test-memset.c (do_one_test): Likewise.
2178 (do_test): Likewise.
2179 * string/test-rawmemchr.c (do_one_test): Likewise.
2180 (do_test): Likewise.
2181 * string/test-strcasecmp.c (do_one_test): Likewise.
2182 (do_test): Likewise.
2183 * string/test-strcasestr.c (do_one_test): Likewise.
2184 (do_test): Likewise.
2185 * string/test-strcat.c (do_one_test): Likewise.
2186 (do_test): Likewise.
2187 * string/test-strchr.c (do_one_test): Likewise.
2188 (do_test): Likewise.
2189 * string/test-strcmp.c (do_one_test): Likewise.
2190 (do_test): Likewise.
2191 * string/test-strcpy.c (do_one_test): Likewise.
2192 (do_test): Likewise.
2193 * string/test-string.h: Likewise.
2194 (test_init): Likewise.
2195 * string/test-strlen.c (do_one_test): Likewise.
2196 (do_test): Likewise.
2197 * string/test-strncasecmp.c (do_one_test): Likewise.
2198 (do_test): Likewise.
2199 * string/test-strncat.c (do_one_test): Likewise.
2200 (do_test): Likewise.
2201 * string/test-strncmp.c (do_one_test): Likewise.
2202 (do_test_limit): Likewise.
2203 (do_test): Likewise.
2204 * string/test-strncpy.c (do_one_test): Likewise.
2205 (do_test): Likewise.
2206 * string/test-strnlen.c (do_one_test): Likewise.
2207 (do_test): Likewise.
2208 * string/test-strpbrk.c (do_one_test): Likewise.
2209 (do_test): Likewise.
2210 * string/test-strrchr.c (do_one_test): Likewise.
2211 (do_test): Likewise.
2212 * string/test-strspn.c (do_one_test): Likewise.
2213 (do_test): Likewise.
2214 * string/test-strstr.c (do_one_test): Likewise.
2215 (do_test): Likewise.
2216
97020474
SP
2217 * benchtests/Makefile (string-bench): Add string benchmarks.
2218 * benchtests/bench-bcopy-ifunc.c: New file.
2219 * benchtests/bench-bcopy.c: New file.
2220 * benchtests/bench-bzero-ifunc.c: New file.
2221 * benchtests/bench-bzero.c: New file.
2222 * benchtests/bench-memccpy-ifunc.c: New file.
2223 * benchtests/bench-memccpy.c: New file.
2224 * benchtests/bench-memchr-ifunc.c: New file.
2225 * benchtests/bench-memchr.c: New file.
2226 * benchtests/bench-memcmp-ifunc.c: New file.
2227 * benchtests/bench-memcmp.c: New file.
2228 * benchtests/bench-memmem-ifunc.c: New file.
2229 * benchtests/bench-memmem.c: New file.
2230 * benchtests/bench-memmove-ifunc.c: New file.
2231 * benchtests/bench-memmove.c: New file.
2232 * benchtests/bench-mempcpy-ifunc.c: New file.
2233 * benchtests/bench-mempcpy.c: New file.
2234 * benchtests/bench-memset-ifunc.c: New file.
2235 * benchtests/bench-memset.c: New file.
2236 * benchtests/bench-rawmemchr-ifunc.c: New file.
2237 * benchtests/bench-rawmemchr.c: New file.
2238 * benchtests/bench-stpcpy-ifunc.c: New file.
2239 * benchtests/bench-stpcpy.c: New file.
2240 * benchtests/bench-stpncpy-ifunc.c: New file.
2241 * benchtests/bench-stpncpy.c: New file.
2242 * benchtests/bench-strcasecmp-ifunc.c: New file.
2243 * benchtests/bench-strcasecmp.c: New file.
2244 * benchtests/bench-strcasestr-ifunc.c: New file.
2245 * benchtests/bench-strcasestr.c: New file.
2246 * benchtests/bench-strcat-ifunc.c: New file.
2247 * benchtests/bench-strcat.c: New file.
2248 * benchtests/bench-strchr-ifunc.c: New file.
2249 * benchtests/bench-strchr.c: New file.
2250 * benchtests/bench-strchrnul-ifunc.c: New file.
2251 * benchtests/bench-strchrnul.c: New file.
2252 * benchtests/bench-strcmp-ifunc.c: New file.
2253 * benchtests/bench-strcmp.c: New file.
2254 * benchtests/bench-strcpy-ifunc.c: New file.
2255 * benchtests/bench-strcpy.c: New file.
2256 * benchtests/bench-strcspn-ifunc.c: New file.
2257 * benchtests/bench-strcspn.c: New file.
2258 * benchtests/bench-strlen-ifunc.c: New file.
2259 * benchtests/bench-strlen.c: New file.
2260 * benchtests/bench-strncasecmp-ifunc.c: New file.
2261 * benchtests/bench-strncasecmp.c: New file.
2262 * benchtests/bench-strncat-ifunc.c: New file.
2263 * benchtests/bench-strncat.c: New file.
2264 * benchtests/bench-strncmp-ifunc.c: New file.
2265 * benchtests/bench-strncmp.c: New file.
2266 * benchtests/bench-strncpy-ifunc.c: New file.
2267 * benchtests/bench-strncpy.c: New file.
2268 * benchtests/bench-strnlen-ifunc.c: New file.
2269 * benchtests/bench-strnlen.c: New file.
2270 * benchtests/bench-strpbrk-ifunc.c: New file.
2271 * benchtests/bench-strpbrk.c: New file.
2272 * benchtests/bench-strrchr-ifunc.c: New file.
2273 * benchtests/bench-strrchr.c: New file.
2274 * benchtests/bench-strspn-ifunc.c: New file.
2275 * benchtests/bench-strspn.c: New file.
2276 * benchtests/bench-strstr-ifunc.c: New file.
2277 * benchtests/bench-strstr.c: New file.
2278
c1f75dc3
SP
2279 * benchtests/Makefile: Disable parallel execution of targets.
2280 (string-bench): Add memcpy.
2281 (benchset): New variable to store a list of benchmark sets.
2282 (bench-func): Renamed from bench.
2283 (bench-set): New target.
2284 (bench): Depend on bench-func and bench-set.
2285 * benchtests/README: Add section on benchmark sets.
2286 * benchtests/bench-memcpy-ifunc.c: New file.
2287 * benchtests/bench-memcpy.c: New file.
2288 * benchtests/bench-string.h: New file.
2289
50fd745b
AS
22902013-06-11 Andreas Schwab <schwab@suse.de>
2291
2292 [BZ #15577]
2293 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2294 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2295 values in the triple.
2296 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2297 terminator in the group key.
2298
3ee7e9fe
AJ
22992013-06-11 Andreas Jaeger <aj@suse.de>
2300
2301 * po/zh_TW.po: Update Chinese (traditional) translation from
2302 translation project.
2303
89fb6835
SP
23042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2305
2306 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2307 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2308 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2309 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2310 (clock_getcpuclockid): Likewise.
2311 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2312 Add weak_alias and libc_hidden_def.
2313 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2314 * rt/clock_gettime.c (clock_gettime): Rename to
2315 __clock_gettime. Add weak_alias and libc_hidden_def.
2316 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2317 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2318 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2319 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2320 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2321 Likewise.
2322 * rt/clock_settime.c (clock_settime): Rename to
2323 __clock_settime. Add weak_alias and libc_hidden_def.
2324 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2325
0efa6f8b
JM
23262013-06-10 Joseph Myers <joseph@codesourcery.com>
2327
b8c61b4b
JM
2328 * mach/err_boot.sub: Remove trailing whitespace.
2329 * mach/err_ipc.sub: Likewise.
2330 * mach/err_mach.sub: Likewise.
2331
0efa6f8b
JM
2332 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2333 (ROUNDING_TESTS_double): Likewise.
2334 (ROUNDING_TESTS_long_double): Likewise.
2335 (ROUNDING_TESTS): Likewise.
2336 * math/libm-test.inc: Include <math-tests.h>.
2337 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2338 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2339 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2340 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2341
50b818bf
SP
23422013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2343
2344 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2345 of assigning.
2346
60d2f8f3
JM
23472013-06-08 Joseph Myers <joseph@codesourcery.com>
2348
4902d2c3
JM
2349 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2350 otherwise empty TRANS lines.
2351 * sysdeps/gnu/errlist.c: Regenerated.
2352
60d2f8f3
JM
2353 * catgets/gencat.c (error_print): Use (void) in function
2354 definition.
2355 * crypt/crypt_util.c (__init_des): Likewise.
2356 * crypt/speeds.c (Stop): Likewise.
2357 (main): Likewise.
2358 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2359 * inet/ruserpass.c (token): Likewise.
2360 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2361 * intl/localealias.c (extend_alias_table): Likewise.
2362 * intl/plural-exp.c (init_germanic_plural): Likewise.
2363 * libio/fcloseall.c (__fcloseall): Likewise.
2364 * libio/genops.c (_IO_flush_all): Likewise.
2365 (_IO_flush_all_linebuffered): Likewise.
2366 (_IO_cleanup): Likewise.
2367 (_IO_iter_begin): Likewise.
2368 (_IO_iter_end): Likewise.
2369 (_IO_list_lock): Likewise.
2370 (_IO_list_unlock): Likewise.
2371 (_IO_list_resetlock): Likewise.
2372 * libio/getchar.c (getchar): Likewise.
2373 * libio/getchar_u.c (getchar_unlocked): Likewise.
2374 * libio/getwchar.c (getwchar): Likewise.
2375 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2376 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2377 * login/getpt.c (__getpt): Likewise.
2378 * login/tst-utmp.c (main): Likewise.
2379 * malloc/hooks.c (__malloc_check_init): Likewise.
2380 * malloc/malloc.c (__malloc_stats): Likewise.
2381 * malloc/mtrace.c (tr_break): Likewise.
2382 (mtrace): Likewise.
2383 (muntrace): Likewise.
2384 * misc/fstab.c (endfsent): Likewise.
2385 * misc/getclktck.c (__getclktck): Likewise.
2386 * misc/getdtsz.c (__getdtablesize): Likewise.
2387 * misc/gethostid.c (gethostid): Likewise.
2388 * misc/getpagesize.c (__getpagesize): Likewise.
2389 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2390 (__get_nprocs): Likewise.
2391 (__get_phys_pages): Likewise.
2392 (__get_avphys_pages): Likewise.
2393 * misc/getttyent.c (getttyent): Likewise.
2394 (setttyent): Likewise.
2395 (endttyent): Likewise.
2396 * misc/getusershell.c (getusershell): Likewise.
2397 (endusershell): Likewise.
2398 (setusershell): Likewise.
2399 (initshells): Likewise.
2400 * misc/hsearch.c (__hdestroy): Likewise.
2401 * misc/sync.c (sync): Likewise.
2402 * misc/syslog.c (closelog_internal): Likewise.
2403 (closelog): Likewise.
2404 * misc/ttyslot.c (ttyslot): Likewise.
2405 * misc/vhangup.c (vhangup): Likewise.
2406 * posix/fork.c (__fork): Likewise.
2407 * posix/getegid.c (__getegid): Likewise.
2408 * posix/geteuid.c (__geteuid): Likewise.
2409 * posix/getgid.c (__getgid): Likewise.
2410 * posix/getpid.c (__getpid): Likewise.
2411 * posix/getppid.c (__getppid): Likewise.
2412 * posix/getuid.c (__getuid): Likewise.
2413 * posix/pause.c (pause): Likewise.
2414 * posix/setpgrp.c (setpgrp): Likewise.
2415 * posix/setsid.c (__setsid): Likewise.
2416 * posix/test-vfork.c (noop): Likewise.
2417 * resolv/gethnamaddr.c (_endhtent): Likewise.
2418 (_gethtent): Likewise.
2419 (ht_endhostent): Likewise.
2420 (gethostent): Likewise.
2421 (dns_service): Likewise.
2422 * stdlib/drand48.c (drand48): Likewise.
2423 * stdlib/lrand48.c (lrand48): Likewise.
2424 * stdlib/mrand48.c (mrand48): Likewise.
2425 * stdlib/rand.c (rand): Likewise.
2426 * stdlib/random.c (__random): Likewise.
2427 * stdlib/setenv.c (clearenv): Likewise.
2428 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2429 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2430 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2431 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2432 (__get_nprocs): Likewise.
2433 (__get_phys_pages): Likewise.
2434 (__get_avphys_pages): Likewise.
2435 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2436 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2437 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2438 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2439 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2440 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2441 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2442 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2443 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2444 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2445 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2446 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2447 * sysdeps/posix/clock.c (clock): Likewise.
2448 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2449 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2450 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2451 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2452 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2453 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2454 (__get_nprocs_conf): Likewise.
2455 (__get_phys_pages): Likewise.
2456 (__get_avphys_pages): Likewise.
2457 * time/clock.c (clock): Likewise.
2458 * time/tzset.c (__tzname_max): Likewise.
2459
2e09a79a
JM
24602013-06-07 Joseph Myers <joseph@codesourcery.com>
2461
2462 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2463 (__bswap_32): Do not use "register".
2464 * crypt/crypt.c (_ufc_doit_r): Likewise.
2465 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2466 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2467 * gmon/gmon.c (__monstartup): Likewise.
2468 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2469 * hurd/hurdmalloc.c (more_memory): Likewise.
2470 (malloc): Likewise.
2471 (free): Likewise.
2472 (realloc): Likewise.
2473 (malloc_fork_prepare): Likewise.
2474 (malloc_fork_parent): Likewise.
2475 (malloc_fork_child): Likewise.
2476 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2477 (_svcauth_des): Likewise.
2478 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2479 * inet/inet_net.c (inet_network): Likewise.
2480 * inet/inet_netof.c (inet_netof): Likewise.
2481 * inet/rcmd.c (__validuser2_sa): Likewise.
2482 * io/fts.c (fts_open): Likewise.
2483 (fts_load): Likewise.
2484 (fts_close): Likewise.
2485 (fts_read): Likewise.
2486 (fts_children): Likewise.
2487 (fts_build): Likewise.
2488 (fts_stat): Likewise.
2489 (fts_sort): Likewise.
2490 (fts_alloc): Likewise.
2491 (fts_lfree): Likewise.
2492 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2493 (_IO_file_xsgetn): Likewise.
2494 (_IO_file_xsgetn_mmap): Likewise.
2495 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2496 (_IO_cookie_write): Likewise.
2497 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2498 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2499 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2500 * malloc/obstack.c (_obstack_begin): Likewise.
2501 (_obstack_begin_1): Likewise.
2502 (_obstack_newchunk): Likewise.
2503 (_obstack_allocated_p): Likewise.
2504 (obstack_free): Likewise.
2505 (_obstack_memory_used): Likewise.
2506 * misc/getttyent.c (getttynam): Likewise.
2507 (getttyent): Likewise.
2508 (skip): Likewise.
2509 (value): Likewise.
2510 * misc/getusershell.c (initshells): Likewise.
2511 * misc/syslog.c (__vsyslog_chk): Likewise.
2512 * misc/ttyslot.c (ttyslot): Likewise.
2513 * nis/nis_hash.c (__nis_hash): Likewise.
2514 * posix/fnmatch_loop.c (FCT): Likewise.
2515 * posix/getconf.c (print_all): Likewise.
2516 (main): Likewise.
2517 * posix/getopt.c (exchange): Likewise.
2518 * posix/glob.c (globfree): Likewise.
2519 (prefix_array): Likewise.
2520 (__glob_pattern_type): Likewise.
2521 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2522 (NS_GET32): Likewise.
2523 (NS_PUT16): Likewise.
2524 (NS_PUT32): Likewise.
2525 * resolv/gethnamaddr.c (getanswer): Likewise.
2526 (gethostbyname2): Likewise.
2527 (gethostbyaddr): Likewise.
2528 (_gethtent): Likewise.
2529 (_gethtbyname2): Likewise.
2530 (_gethtbyaddr): Likewise.
2531 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2532 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2533 * resolv/res_init.c (__res_vinit): Likewise.
2534 (net_mask): Likewise.
2535 * resolv/res_mkquery.c (outchar): Likewise.
2536 (PRINT): Likewise.
2537 * stdio-common/printf_fp.c (outchar): Likewise.
2538 (PRINT): Likewise.
2539 * stdio-common/printf_fphex.c (outchar): Likewise.
2540 (PRINT): Likewise.
2541 * stdio-common/printf_size.c (outchar): Likewise.
2542 (PRINT): Likewise.
2543 * stdio-common/test_rdwr.c (main): Likewise.
2544 * stdio-common/tfformat.c (matches): Likewise.
2545 * stdio-common/vfprintf.c (outchar): Likewise.
2546 (printf_unknown): Likewise.
2547 (buffered_vfprintf): Likewise.
2548 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2549 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2550 (ReadFile): Likewise.
2551 * stdlib/qsort.c (SWAP): Likewise.
2552 (_quicksort): Likewise.
2553 * stdlib/setenv.c (__add_to_environ): Likewise.
2554 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2555 * stdlib/strtol_l.c (__strtol_l): Likewise.
2556 * stdlib/tst-strtod.c (main): Likewise.
2557 * stdlib/tst-strtol.c (main): Likewise.
2558 * stdlib/tst-strtoll.c (main): Likewise.
2559 * string/bits/string2.h (__strcmp_cc): Likewise.
2560 (__strcmp_cg): Likewise.
2561 (__strcspn_c1): Likewise.
2562 (__strcspn_c2): Likewise.
2563 (__strcspn_c3): Likewise.
2564 (__strspn_c1): Likewise.
2565 (__strspn_c2): Likewise.
2566 (__strspn_c3): Likewise.
2567 (__strsep_1c): Likewise.
2568 (__strsep_2c): Likewise.
2569 (__strsep_3c): Likewise.
2570 * string/memccpy.c (__memccpy): Likewise.
2571 * string/stpcpy.c (__stpcpy): Likewise.
2572 * string/strcmp.c (strcmp): Likewise.
2573 * string/strrchr.c (strrchr): Likewise.
2574 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2575 Likewise.
2576 * sysdeps/mach/hurd/getcwd.c
2577 (_hurd_canonicalize_directory_name_internal): Likewise.
2578 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2579 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2580 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2581 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2582 Likewise, in both definitions.
2583 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2584 definitions.
2585 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2586 64] (__bswap_64): Likewise.
2587 * time/test_time.c (main): Likewise.
2588 * time/tzfile.c (__tzfile_read): Likewise.
2589 (__tzfile_compute): Likewise.
2590 * time/tzset.c (__tzset_parse_tz): Likewise.
2591 (tzset_internal): Likewise.
2592 (compute_change): Likewise.
2593 * wcsmbs/wcscat.c (__wcscat): Likewise.
2594 * wcsmbs/wcschr.c (wcschr): Likewise.
2595 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2596 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2597 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2598 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2599 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2600 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2601 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2602 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2603 * wcsmbs/wmemset.c (wmemset): Likewise.
2604
9e54314b
JM
26052013-06-06 Joseph Myers <joseph@codesourcery.com>
2606
2607 * scripts/config.guess: Update to version 2013-05-16.
2608 * scripts/config.sub: Update to version 2013-04-24.
2609 * scripts/install-sh: Update to version 2011-11-20.07.
2610 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2611 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2612
350635a5
OB
26132013-06-06 Ondřej Bílka <neleai@seznam.cz>
2614
2615 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2616 * elf/sln.c: Likewise.
2617 * hurd/hurd/ioctl.h: Likewise.
2618 * hurd/hurdmalloc.c: Likewise.
2619 * hurd/xattr.c: Likewise.
2620 * include/shlib-compat.h: Likewise.
2621 * inet/ruserpass.c: Likewise.
2622 * libio/iofgets_u.c: Likewise.
2623 * libio/iofgetws_u.c: Likewise.
2624 * locale/programs/ld-identification.c: Likewise.
2625 * locale/programs/ld-time.c: Likewise.
2626 * mach/msg-destroy.c: Likewise.
2627 * nss/nss_files/files-netgrp.c: Likewise.
2628 * resolv/res_data.c: Likewise.
2629 * soft-fp/op-1.h: Likewise.
2630 * soft-fp/op-2.h: Likewise.
2631 * soft-fp/op-4.h: Likewise.
2632 * soft-fp/op-common.h: Likewise.
2633 * stdio-common/printf_fphex.c: Likewise.
2634 * stdlib/strtod_l.c: Likewise.
2635 * sunrpc/rpc/clnt.h: Likewise.
2636 * sysdeps/generic/framestate.c: Likewise.
2637 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2638 * sysdeps/i386/bsd-setjmp.S: Likewise.
2639 * sysdeps/i386/__longjmp.S: Likewise.
2640 * sysdeps/i386/setjmp.S: Likewise.
2641 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2642 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2643 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2644 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2645 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2646 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2647 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2648 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2649 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2650 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2651 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2652 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2653 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2654 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2655 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2656 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2657 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2658 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2659 * sysdeps/ieee754/support.c: Likewise.
2660 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2661 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2662 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2663 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2664 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2665 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2666 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2667 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2668 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2669 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2670 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2671 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2672 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2673 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2674 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2675 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2676 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2678
44a988af
OB
26792013-06-05 Ondřej Bílka <neleai@seznam.cz>
2680
25506f09 2681 * posix/transbug.c: Remove executable mode.
44a988af 2682
9c84384c
JM
26832013-06-05 Joseph Myers <joseph@codesourcery.com>
2684
2685 * crypt/speeds.c: Remove trailing whitespace.
2686 * dlfcn/default.c: Likewise.
2687 * elf/ifuncdep2.c: Likewise.
2688 * elf/ifuncmain1.c: Likewise.
2689 * elf/ifuncmain1vis.c: Likewise.
2690 * elf/testobj.h: Likewise.
2691 * elf/tst-stackguard1.c: Likewise.
2692 * gmon/sys/gmon.h: Likewise.
2693 * hurd/hurdmsg.c: Likewise.
2694 * hurd/new-fd.c: Likewise.
2695 * hurd/ports-get.c: Likewise.
2696 * iconvdata/ibm1008_420.c: Likewise.
2697 * inet/tst-getni1.c: Likewise.
2698 * inet/tst-getni2.c: Likewise.
2699 * libio/ioungetc.c: Likewise.
2700 * libio/wfiledoalloc.c: Likewise.
2701 * manual/libm-err-tab.pl: Likewise.
2702 * math/w_dremf.c: Likewise.
2703 * misc/ftruncate.c: Likewise.
2704 * posix/bug-glob2.c: Likewise.
2705 * posix/tst-pcre.c: Likewise.
2706 * posix/wait4.c: Likewise.
2707 * resolv/README: Likewise.
2708 * resolv/res_debug.h: Likewise.
2709 * resolv/tst-inet_ntop.c: Likewise.
2710 * setjmp/bug269-setjmp.c: Likewise.
2711 * soft-fp/extended.h: Likewise.
2712 * soft-fp/op-1.h: Likewise.
2713 * soft-fp/op-2.h: Likewise.
2714 * soft-fp/op-4.h: Likewise.
2715 * soft-fp/op-8.h: Likewise.
2716 * soft-fp/testit.c: Likewise.
2717 * stdio-common/bug16.c: Likewise.
2718 * stdlib/random.c: Likewise.
2719 * sunrpc/rpcsvc/rquota.x: Likewise.
2720 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2721 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2722 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2723 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2724 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2725 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2726 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2727 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2728 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2729 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2730 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2731 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2732 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2733 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2734 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2735 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2736 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2737 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2738 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2739 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2740 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2741 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2742 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2743 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2744 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2745 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2746 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2747 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2748 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2749 * sysdeps/ieee754/s_lib_version.c: Likewise.
2750 * sysdeps/mach/hurd/check_fds.c: Likewise.
2751 * sysdeps/mach/hurd/getsockname.c: Likewise.
2752 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2753 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2754 * sysdeps/powerpc/bits/link.h: Likewise.
2755 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2756 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2757 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2758 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2759 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2760 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2761 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2762 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2763 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2764 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2765 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2766 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2767 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2768 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2769 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2770 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2771 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2772 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2773 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2774 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2775 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2776 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2777 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2778 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2779 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2780 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2781 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2782 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2783 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2784 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2785 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2786 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2787 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2788 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2789 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2790 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2791 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2792 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2793 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2794 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2795 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2796 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2797 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2798 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2799 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2800 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2801 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2802 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2803 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2804 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2805 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2806 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2807 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2808 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2809 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2810 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2811 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2812 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2813 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2814 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2815 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2816 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2817 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2818 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2819 * sysdeps/powerpc/sysdep.h: Likewise.
2820 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2821 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2822 * sysdeps/sh/dl-trampoline.S: Likewise.
2823 * sysdeps/sh/memset.S: Likewise.
2824 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2825 * sysdeps/sh/strlen.S: Likewise.
2826 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2827 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2828 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2829 * sysdeps/sparc/sparc32/rem.S: Likewise.
2830 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2831 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2832 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2833 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2834 * sysdeps/sparc/sparc32/urem.S: Likewise.
2835 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2836 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2837 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2838 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2839 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2840 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2841 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2842 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2843 * sysdeps/unix/bsd/times.c: Likewise.
2844 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2845 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2849 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2850 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2851 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2852 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2853 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2854 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2855 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2856 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2857 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2858 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2859 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2860 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2861 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2862 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2863 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2864 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2865 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2866 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2867 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2868 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2869 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2870 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2871 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2872 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2873 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2874 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2875 * sysdeps/x86_64/strcspn.S: Likewise.
2876
869378a5
RA
28772013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2878
2879 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2880 generated file. Regenerate properly from gen-translit.pl.
2881 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2882 locale/C-translit.h.
2883
840e2943
AS
28842013-06-05 Andreas Schwab <schwab@suse.de>
2885
2886 [BZ #15100]
2887 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2888 week as 6 instead of -1.
2889 * time/tst-strptime.c (day_tests): Add test case.
2890
4c60cb0c
SP
28912013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2892
2893 * sysdeps/generic/math_private.h
2894 (libc_feholdexcept_setround_53bit): Replace with
2895 libc_feholdsetround_53bit.
2896 (libc_feupdateenv_53bit): Replace with
2897 libc_feresetround_53bit.
2898 (SET_RESTORE_ROUND_53BIT): Adjust.
2899
d180203e
SP
29002013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2901
96df079a
SP
2902 * string/test-strchrnul.c: Add copyright header.
2903
d180203e
SP
2904 * posix/tst-getaddrinfo4.c: Increase test timeout.
2905
8b0ccb2d
CD
29062013-06-03 Carlos O'Donell <carlos@redhat.com>
2907
2908 [BZ #15536]
2909 * math/libm-test.inc (MAX_EXP): Remove
2910 (MIN_EXP): Define.
2911 (ulp): Use MIN_EXP - MANT_DIG.
2912 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2913
3b3c4d40
CD
29142013-05-31 Carlos O'Donell <carlos@redhat.com>
2915
2916 * po/be.po: Revert last change.
2917 * po/zh_CN.po: Likewise.
2918 * po/header.pot: Likewise.
2919
fab7ce3f
JM
29202013-05-31 Joseph Myers <joseph@codesourcery.com>
2921
2922 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2923 link-libc-deps to empty as target-specific variable.
2924 * Makerules (link-libc-args): New variable.
2925 (libc-for-link): Likewise.
2926 (link-libc-deps): Likewise.
2927 (lib%.so): Depend on $(link-libc-deps). Link with
2928 $(link-libc-args).
2929 (build-module): Link with $(link-libc-args).
2930 (build-module-asneeded): Likewise.
2931 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2932 list of objects.
2933 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2934 target-specific variable.
2935 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2936 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2937 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2938 libc.
2939 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2940 libc and ld.so.
2941 ($(objpfx)libpcprofile.so): Likewise.
2942 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2943 libc_nonshared.a.
2944 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2945 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2946 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2947 $(link-libc-deps).
2948 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2949 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2950 * login/Makefile ($(objpfx)libutil.so): Likewise.
2951 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2952 * math/Makefile ($(objpfx)libm.so): Likewise.
2953 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2954 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2955 variable instead of depending directly on libc.
2956 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2957 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2958 $(link-libc-deps).
2959 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2960 libc.
2961 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2962 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2963 ($(objpfx)libanl.so): Likewise.
2964 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2965 ld.so.
2966 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2967 $(link-libc-deps).
2968 * sysdeps/i386/fpu/Makefile: Remove file.
2969 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2970 ($(objpfx)libm.so): Remove dependency on ld.so.
2971
eca5920c
PF
29722013-05-30 Patsy Franklin <pfrankli@redhat.com>
2973
2974 [BZ # 15553]
2975 * nis/yp_xdr.c (XDRMAXNAME): Define.
2976 (XDRMAXRECORD): Define.
2977 (xdr_domainname): Use XDRMAXNAME.
2978 (xdr_mapname): Likewise.
2979 (xdr_peername): Likewise.
2980 (xdr_keydat): Use XDRMAXRECORD.
2981 (xdr_valdat): Likewise.
2982
29832013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2984
2985 [BZ #14256]
2986 * manual/errno.texi (ESTALE): Update to account for more than
2987 just NFS file systems.
2988 * sysdeps/gnu/errlist.c: Regenerated.
2989
b9375348
SP
29902013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2991
2992 [BZ #15465]
2993 * elf/Makefile (tests): Add tst-null-argv.
2994 (modules-names): Add tst-null-argv-lib.
2995 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2996 (tst-null-argv-ENV): Set environment for tst-null-argv.
2997 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2998 (RTLD_PROGNAME): New macro.
2999 * elf/tst-null-argv.c: New test case.
3000 * elf/tst-null-argv-lib.c: Library for test case.
3001 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3002 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3003 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3004 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3005 * elf/dl-init.c (call_init): Likewise.
3006 (_dl_init): Likewise.
3007 * elf/dl-load.c (print_search_path): Likewise.
3008 (_dl_map_object): Likewise.
3009 * elf/dl-lookup.c (do_lookup_x): Likewise.
3010 (add_dependency): Likewise.
3011 (_dl_lookup_symbol_x): Likewise.
3012 (_dl_debug_bindings): Likewise.
3013 * elf/dl-open.c (_dl_show_scope): Likewise.
3014 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3015 * elf/dl-version.c (match_symbol): Likewise.
3016 (_dl_check_map_versions): Likewise.
3017 * elf/rtld.c (dl_main): Likewise.
3018 (print_unresolved): Use RTLD_PROGNAME.
3019 (print_missing_version): Likewise.
3020 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3021 (elf_machine_rela): Likewise.
3022 * sysdeps/powerpc/powerpc32/dl-machine.c
3023 (__process_machine_rela): Likewise.
3024 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3025 Likewise.
3026 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3027 Likewise.
3028 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3029 Likewise.
3030 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3031 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3032 Likewise.
3033 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3034 Likewise.
3035 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3036
8a9f20c8
CD
30372013-05-28 Carlos O'Donell <carlos@redhat.com>
3038
3039 * po/be.po: Add descriptive title.
3040 * po/zh_CN.po: Likewise.
3041 * po/header.pot: Likewise.
3042
0e60d68e
MF
30432013-05-28 Mike Frysinger <vapier@gentoo.org>
3044
3045 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3046 error message.
3047 (enlarge_archive): Likewise.
3048
56b672e9
BN
30492013-05-28 Ben North <ben@redfrontdoor.org>
3050
3051 * manual/arith.texi (frexp): It is the magnitude of the return
3052 value which lies in [0.5, 1), not the return value itself.
3053
5e056687
AZ
30542013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3055
3056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3057
2b66ef5d
TS
30582013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3059
528c2405
TS
3060 * stdio-common/bug26.c (main): Correct fscanf template.
3061
07b4c13d
TS
3062 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3063 declare _dl_skip_args.
3064
ec9dd97c
TS
3065 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3066 Don't declare.
3067
2b66ef5d
TS
3068 * manual/platform.texi: Add missing @end deftypefun.
3069
4f8dfe27
JM
30702013-05-24 Joseph Myers <joseph@codesourcery.com>
3071
0323d086
JM
3072 [BZ #15529]
3073 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3074 bit of mantissa of 2^16382.
3075 * math/libm-test.inc (hypot_test_data): Add more tests.
3076
dd4259b9
JM
3077 * math/libm-test.inc: Add drem and pow10 to list of tested
3078 functions.
3079 (pow10_test): New function.
3080 (drem_test): Likewise.
3081 (drem_test_tonearest): Likewise.
3082 (drem_test_towardzero): Likewise.
3083 (drem_test_downward): Likewise.
3084 (drem_test_upward): Likewise.
3085 (main): Call the new functions.
3086
4f8dfe27
JM
3087 * math/libm-test.inc (finite_test_data): Remove.
3088 (finite_test): Run tests from isfinite_test_data.
3089 (gamma_test_data): Remove.
3090 (gamma_test): Run tests from lgamma_test_data.
3091 * sysdeps/i386/fpu/libm-test-ulps: Update.
3092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3093
d116b7c4
AZ
30942013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3095
3096 * manual/platform.texi: Add PowerPC PPR function set documentation.
3097 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3098 implementation.
3099
e96e3767
CD
31002013-05-24 Carlos O'Donell <carlos@redhat.com>
3101
3102 * math/libm-test.inc (MAX_EXP): Define.
3103 (ULPDIFF): Define.
3104 (ulp): New function.
3105 (check_float_internal): Use ULPDIFF.
3106 (cpow_test): Disable failing test.
3107 (check_ulp): Test ulp() implemetnation.
3108 (main): Call check_ulp before starting tests.
3109
b679a606
JM
31102013-05-24 Joseph Myers <joseph@codesourcery.com>
3111
e8bdba36
JM
3112 * math/gen-libm-test.pl (generate_testfile): Do not handle
3113 START_DATA and END_DATA.
3114 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3115 END_DATA.
3116 (acos_tonearest_test_data): Likewise.
3117 (acos_towardzero_test_data): Likewise.
3118 (acos_downward_test_data): Likewise.
3119 (acos_upward_test_data): Likewise.
3120 (acosh_test_data): Likewise.
3121 (asin_test_data): Likewise.
3122 (asin_tonearest_test_data): Likewise.
3123 (asin_towardzero_test_data): Likewise.
3124 (asin_downward_test_data): Likewise.
3125 (asin_upward_test_data): Likewise.
3126 (asinh_test_data): Likewise.
3127 (atan_test_data): Likewise.
3128 (atanh_test_data): Likewise.
3129 (atan2_test_data): Likewise.
3130 (cabs_test_data): Likewise.
3131 (cacos_test_data): Likewise.
3132 (cacosh_test_data): Likewise.
3133 (carg_test_data): Likewise.
3134 (casin_test_data): Likewise.
3135 (casinh_test_data): Likewise.
3136 (catan_test_data): Likewise.
3137 (catanh_test_data): Likewise.
3138 (cbrt_test_data): Likewise.
3139 (ccos_test_data): Likewise.
3140 (ccosh_test_data): Likewise.
3141 (ceil_test_data): Likewise.
3142 (cexp_test_data): Likewise.
3143 (cimag_test_data): Likewise.
3144 (clog_test_data): Likewise.
3145 (clog10_test_data): Likewise.
3146 (conj_test_data): Likewise.
3147 (copysign_test_data): Likewise.
3148 (cos_test_data): Likewise.
3149 (cos_tonearest_test_data): Likewise.
3150 (cos_towardzero_test_data): Likewise.
3151 (cos_downward_test_data): Likewise.
3152 (cos_upward_test_data): Likewise.
3153 (cosh_test_data): Likewise.
3154 (cosh_tonearest_test_data): Likewise.
3155 (cosh_towardzero_test_data): Likewise.
3156 (cosh_downward_test_data): Likewise.
3157 (cosh_upward_test_data): Likewise.
3158 (cpow_test_data): Likewise.
3159 (cproj_test_data): Likewise.
3160 (creal_test_data): Likewise.
3161 (csin_test_data): Likewise.
3162 (csinh_test_data): Likewise.
3163 (csqrt_test_data): Likewise.
3164 (ctan_test_data): Likewise.
3165 (ctan_tonearest_test_data): Likewise.
3166 (ctan_towardzero_test_data): Likewise.
3167 (ctan_downward_test_data): Likewise.
3168 (ctan_upward_test_data): Likewise.
3169 (ctanh_test_data): Likewise.
3170 (ctanh_tonearest_test_data): Likewise.
3171 (ctanh_towardzero_test_data): Likewise.
3172 (ctanh_downward_test_data): Likewise.
3173 (ctanh_upward_test_data): Likewise.
3174 (erf_test_data): Likewise.
3175 (erfc_test_data): Likewise.
3176 (exp_test_data): Likewise.
3177 (exp_tonearest_test_data): Likewise.
3178 (exp_towardzero_test_data): Likewise.
3179 (exp_downward_test_data): Likewise.
3180 (exp_upward_test_data): Likewise.
3181 (exp10_test_data): Likewise.
3182 (exp2_test_data): Likewise.
3183 (expm1_test_data): Likewise.
3184 (fabs_test_data): Likewise.
3185 (fdim_test_data): Likewise.
3186 (finite_test_data): Likewise.
3187 (floor_test_data): Likewise.
3188 (fma_test_data): Likewise.
3189 (fma_towardzero_test_data): Likewise.
3190 (fma_downward_test_data): Likewise.
3191 (fma_upward_test_data): Likewise.
3192 (fmax_test_data): Likewise.
3193 (fmin_test_data): Likewise.
3194 (fmod_test_data): Likewise.
3195 (fpclassify_test_data): Likewise.
3196 (frexp_test_data): Likewise.
3197 (gamma_test_data): Likewise.
3198 (hypot_test_data): Likewise.
3199 (ilogb_test_data): Likewise.
3200 (isfinite_test_data): Likewise.
3201 (isgreater_test_data): Likewise.
3202 (isgreaterequal_test_data): Likewise.
3203 (isinf_test_data): Likewise.
3204 (isless_test_data): Likewise.
3205 (islessequal_test_data): Likewise.
3206 (islessgreater_test_data): Likewise.
3207 (isnan_test_data): Likewise.
3208 (isnormal_test_data): Likewise.
3209 (issignaling_test_data): Likewise.
3210 (isunordered_test_data): Likewise.
3211 (j0_test_data): Likewise.
3212 (j1_test_data): Likewise.
3213 (jn_test_data): Likewise.
3214 (ldexp_test_data): Likewise.
3215 (lgamma_test_data): Likewise.
3216 (lrint_test_data): Likewise.
3217 (lrint_tonearest_test_data): Likewise.
3218 (lrint_towardzero_test_data): Likewise.
3219 (lrint_downward_test_data): Likewise.
3220 (lrint_upward_test_data): Likewise.
3221 (llrint_test_data): Likewise.
3222 (llrint_tonearest_test_data): Likewise.
3223 (llrint_towardzero_test_data): Likewise.
3224 (llrint_downward_test_data): Likewise.
3225 (llrint_upward_test_data): Likewise.
3226 (log_test_data): Likewise.
3227 (log10_test_data): Likewise.
3228 (log1p_test_data): Likewise.
3229 (log2_test_data): Likewise.
3230 (logb_test_data): Likewise.
3231 (logb_downward_test_data): Likewise.
3232 (lround_test_data): Likewise.
3233 (llround_test_data): Likewise.
3234 (modf_test_data): Likewise.
3235 (nearbyint_test_data): Likewise.
3236 (nextafter_test_data): Likewise.
3237 (nexttoward_test_data): Likewise.
3238 (pow_test_data): Likewise.
3239 (pow_tonearest_test_data): Likewise.
3240 (pow_towardzero_test_data): Likewise.
3241 (pow_downward_test_data): Likewise.
3242 (pow_upward_test_data): Likewise.
3243 (remainder_test_data): Likewise.
3244 (remainder_tonearest_test_data): Likewise.
3245 (remainder_towardzero_test_data): Likewise.
3246 (remainder_downward_test_data): Likewise.
3247 (remainder_upward_test_data): Likewise.
3248 (remquo_test_data): Likewise.
3249 (rint_test_data): Likewise.
3250 (rint_tonearest_test_data): Likewise.
3251 (rint_towardzero_test_data): Likewise.
3252 (rint_downward_test_data): Likewise.
3253 (rint_upward_test_data): Likewise.
3254 (round_test_data): Likewise.
3255 (scalb_test_data): Likewise.
3256 (scalbn_test_data): Likewise.
3257 (scalbln_test_data): Likewise.
3258 (signbit_test_data): Likewise.
3259 (sin_test_data): Likewise.
3260 (sin_tonearest_test_data): Likewise.
3261 (sin_towardzero_test_data): Likewise.
3262 (sin_downward_test_data): Likewise.
3263 (sin_upward_test_data): Likewise.
3264 (sincos_test_data): Likewise.
3265 (sinh_test_data): Likewise.
3266 (sinh_tonearest_test_data): Likewise.
3267 (sinh_towardzero_test_data): Likewise.
3268 (sinh_downward_test_data): Likewise.
3269 (sinh_upward_test_data): Likewise.
3270 (sqrt_test_data): Likewise.
3271 (tan_test_data): Likewise.
3272 (tan_tonearest_test_data): Likewise.
3273 (tan_towardzero_test_data): Likewise.
3274 (tan_downward_test_data): Likewise.
3275 (tan_upward_test_data): Likewise.
3276 (tanh_test_data): Likewise.
3277 (tgamma_test_data): Likewise.
3278 (trunc_test_data): Likewise.
3279 (y0_test_data): Likewise.
3280 (y1_test_data): Likewise.
3281 (yn_test_data): Likewise.
3282 (significand_test_data): Likewise.
3283
b679a606
JM
3284 * math/gen-libm-test.pl (@functions): Remove variable.
3285 (generate_testfile): Don't handle START and END lines.
3286 * math/libm-test.inc (START): New macro.
3287 (END): Likewise.
3288 (END_COMPLEX): Likewise.
3289 (acos_test): Use END macro without arguments.
3290 (acos_test_tonearest): Likewise.
3291 (acos_test_towardzero): Likewise.
3292 (acos_test_downward): Likewise.
3293 (acos_test_upward): Likewise.
3294 (acosh_test): Likewise.
3295 (asin_test): Likewise.
3296 (asin_test_tonearest): Likewise.
3297 (asin_test_towardzero): Likewise.
3298 (asin_test_downward): Likewise.
3299 (asin_test_upward): Likewise.
3300 (asinh_test): Likewise.
3301 (atan_test): Likewise.
3302 (atanh_test): Likewise.
3303 (atan2_test): Likewise.
3304 (cabs_test): Likewise.
3305 (cacos_test): Use END_COMPLEX macro without arguments.
3306 (cacosh_test): Likewise.
3307 (carg_test): Use END macro without arguments.
3308 (casin_test): Use END_COMPLEX macro without arguments.
3309 (casinh_test): Likewise.
3310 (catan_test): Likewise.
3311 (catanh_test): Likewise.
3312 (cbrt_test): Use END macro without arguments.
3313 (ccos_test): Use END_COMPLEX macro without arguments.
3314 (ccosh_test): Likewise.
3315 (ceil_test): Use END macro without arguments.
3316 (cexp_test): Use END_COMPLEX macro without arguments.
3317 (cimag_test): Use END macro without arguments.
3318 (clog_test): Use END_COMPLEX macro without arguments.
3319 (clog10_test): Likewise.
3320 (conj_test): Likewise.
3321 (copysign_test): Use END macro without arguments.
3322 (cos_test): Likewise.
3323 (cos_test_tonearest): Likewise.
3324 (cos_test_towardzero): Likewise.
3325 (cos_test_downward): Likewise.
3326 (cos_test_upward): Likewise.
3327 (cosh_test): Likewise.
3328 (cosh_test_tonearest): Likewise.
3329 (cosh_test_towardzero): Likewise.
3330 (cosh_test_downward): Likewise.
3331 (cosh_test_upward): Likewise.
3332 (cpow_test): Use END_COMPLEX macro without arguments.
3333 (cproj_test): Likewise.
3334 (creal_test): Use END macro without arguments.
3335 (csin_test): Use END_COMPLEX macro without arguments.
3336 (csinh_test): Likewise.
3337 (csqrt_test): Likewise.
3338 (ctan_test): Likewise.
3339 (ctan_test_tonearest): Likewise.
3340 (ctan_test_towardzero): Likewise.
3341 (ctan_test_downward): Likewise.
3342 (ctan_test_upward): Likewise.
3343 (ctanh_test): Likewise.
3344 (ctanh_test_tonearest): Likewise.
3345 (ctanh_test_towardzero): Likewise.
3346 (ctanh_test_downward): Likewise.
3347 (ctanh_test_upward): Likewise.
3348 (erf_test): Use END macro without arguments.
3349 (erfc_test): Likewise.
3350 (exp_test): Likewise.
3351 (exp_test_tonearest): Likewise.
3352 (exp_test_towardzero): Likewise.
3353 (exp_test_downward): Likewise.
3354 (exp_test_upward): Likewise.
3355 (exp10_test): Likewise.
3356 (exp2_test): Likewise.
3357 (expm1_test): Likewise.
3358 (fabs_test): Likewise.
3359 (fdim_test): Likewise.
3360 (finite_test): Likewise.
3361 (floor_test): Likewise.
3362 (fma_test): Likewise.
3363 (fma_test_towardzero): Likewise.
3364 (fma_test_downward): Likewise.
3365 (fma_test_upward): Likewise.
3366 (fmax_test): Likewise.
3367 (fmin_test): Likewise.
3368 (fmod_test): Likewise.
3369 (fpclassify_test): Likewise.
3370 (frexp_test): Likewise.
3371 (gamma_test): Likewise.
3372 (hypot_test): Likewise.
3373 (ilogb_test): Likewise.
3374 (isfinite_test): Likewise.
3375 (isgreater_test): Likewise.
3376 (isgreaterequal_test): Likewise.
3377 (isinf_test): Likewise.
3378 (isless_test): Likewise.
3379 (islessequal_test): Likewise.
3380 (islessgreater_test): Likewise.
3381 (isnan_test): Likewise.
3382 (isnormal_test): Likewise.
3383 (issignaling_test): Likewise.
3384 (isunordered_test): Likewise.
3385 (j0_test): Likewise.
3386 (j1_test): Likewise.
3387 (jn_test): Likewise.
3388 (ldexp_test): Likewise.
3389 (lgamma_test): Likewise.
3390 (lrint_test): Likewise.
3391 (lrint_test_tonearest): Likewise.
3392 (lrint_test_towardzero): Likewise.
3393 (lrint_test_downward): Likewise.
3394 (lrint_test_upward): Likewise.
3395 (llrint_test): Likewise.
3396 (llrint_test_tonearest): Likewise.
3397 (llrint_test_towardzero): Likewise.
3398 (llrint_test_downward): Likewise.
3399 (llrint_test_upward): Likewise.
3400 (log_test): Likewise.
3401 (log10_test): Likewise.
3402 (log1p_test): Likewise.
3403 (log2_test): Likewise.
3404 (logb_test): Likewise.
3405 (logb_test_downward): Likewise.
3406 (lround_test): Likewise.
3407 (llround_test): Likewise.
3408 (modf_test): Likewise.
3409 (nearbyint_test): Likewise.
3410 (nextafter_test): Likewise.
3411 (nexttoward_test): Likewise.
3412 (pow_test): Likewise.
3413 (pow_test_tonearest): Likewise.
3414 (pow_test_towardzero): Likewise.
3415 (pow_test_downward): Likewise.
3416 (pow_test_upward): Likewise.
3417 (remainder_test): Likewise.
3418 (remainder_test_tonearest): Likewise.
3419 (remainder_test_towardzero): Likewise.
3420 (remainder_test_downward): Likewise.
3421 (remainder_test_upward): Likewise.
3422 (remquo_test): Likewise.
3423 (rint_test): Likewise.
3424 (rint_test_tonearest): Likewise.
3425 (rint_test_towardzero): Likewise.
3426 (rint_test_downward): Likewise.
3427 (rint_test_upward): Likewise.
3428 (round_test): Likewise.
3429 (scalb_test): Likewise.
3430 (scalbn_test): Likewise.
3431 (scalbln_test): Likewise.
3432 (signbit_test): Likewise.
3433 (sin_test): Likewise.
3434 (sin_test_tonearest): Likewise.
3435 (sin_test_towardzero): Likewise.
3436 (sin_test_downward): Likewise.
3437 (sin_test_upward): Likewise.
3438 (sincos_test): Likewise.
3439 (sinh_test): Likewise.
3440 (sinh_test_tonearest): Likewise.
3441 (sinh_test_towardzero): Likewise.
3442 (sinh_test_downward): Likewise.
3443 (sinh_test_upward): Likewise.
3444 (sqrt_test): Likewise.
3445 (tan_test): Likewise.
3446 (tan_test_tonearest): Likewise.
3447 (tan_test_towardzero): Likewise.
3448 (tan_test_downward): Likewise.
3449 (tan_test_upward): Likewise.
3450 (tanh_test): Likewise.
3451 (tgamma_test): Likewise.
3452 (trunc_test): Likewise.
3453 (y0_test): Likewise.
3454 (y1_test): Likewise.
3455 (yn_test): Likewise.
3456 (significand_test): Likewise.
3457
bae143d2
OB
34582013-05-24 Ondřej Bílka <neleai@seznam.cz>
3459
3460 [BZ #15381]
3461 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3462
9323d39b
EM
34632013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3464
d4ea44a0 3465 [BZ #14894]
9323d39b
EM
3466 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3467 __ppc_mdoio and __ppc_mdoom.
3468 * manual/platform.texi: Document new functions __ppc_yield,
3469 __ppc_mdoio and __ppc_mdoom.
3470
13e23af7
CD
34712013-05-22 Carlos O'Donell <carlos@redhat.com>
3472
3473 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3474 (main): Mention "tls" pseudo-hwcap is legacy.
3475 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3476
351fe550
JM
34772013-05-22 Joseph Myers <joseph@codesourcery.com>
3478
3479 * math/gen-libm-test.pl (parse_args): Output only string of
3480 arguments as text for test name, not full call or descriptions of
3481 tests for extra outputs.
3482 (generate_testfile): Do not pass function name to parse_args.
3483 Generate this_func variable from START.
3484 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3485 field to arg_str.
3486 (struct test_ff_f_data): Likewise.
3487 (test_ff_f_data_nexttoward): Likewise.
3488 (struct test_fi_f_data): Likewise.
3489 (struct test_fl_f_data): Likewise.
3490 (struct test_if_f_data): Likewise.
3491 (struct test_fff_f_data): Likewise.
3492 (struct test_c_f_data): Likewise.
3493 (struct test_f_f1_data): Likewise. Remove field extra_name.
3494 (struct test_fF_f1_data): Likewise.
3495 (struct test_ffI_f1_data): Likewise.
3496 (struct test_c_c_data): Rename test_name field to arg_str.
3497 (struct test_cc_c_data): Likewise.
3498 (struct test_f_i_data): Likewise.
3499 (struct test_ff_i_data): Likewise.
3500 (struct test_f_l_data): Likewise.
3501 (struct test_f_L_data): Likewise.
3502 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3503 and extra2_name.
3504 (COMMON_TEST_SETUP): New macro.
3505 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3506 (COMMON_TEST_CLEANUP): Likewise.
3507 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3508 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3509 macros.
3510 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3511 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3512 macros.
3513 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3514 (RUN_TEST_fff_f): Take argument string. Call new setup and
3515 cleanup macros.
3516 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3517 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3518 macros.
3519 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3520 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3521 macros.
3522 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3523 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3524 cleanup macros.
3525 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3526 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3527 cleanup macros.
3528 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3529 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3530 cleanup macros.
3531 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3532 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3533 macros.
3534 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3535 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3536 macros.
3537 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3538 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3539 macros.
3540 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3541 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3542 cleanup macros.
3543 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3544 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3545 cleanup macros.
3546 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3547 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3548 macros.
3549 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3550 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3551 cleanup macros.
3552 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3553 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3554 macros.
3555 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3556 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3557 macros.
3558 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3559 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3560 cleanup macros.
3561 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3562
85118d4d
EBM
35632013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3564
3565 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3566 to _sifields.sigfault.
3567 (si_addr_lsb): Define new macro.
3568 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3569 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3570 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3571
7a44c18f
CD
35722013-05-03 Carlos O'Donell <carlos at redhat.com>
3573
3574 [BZ #15441]
3575 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3576 returns -1.
3577 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3578 null return -1.
3579 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3580 loading the domain.
3581
b50a7181
JM
35822013-05-22 Joseph Myers <joseph@codesourcery.com>
3583
3584 * math/gen-libm-test.pl (parse_args): Do not include expected
3585 result in test name.
3586 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3587 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3588 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3589 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3590 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3592
051063c8
SP
35932013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3594
3ce9e010
SP
3595 * benchtests/Makefile: Sort function entries.
3596
051063c8
SP
3597 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3598 tanh, asinh, acosh, atanh.
3599 * benchtests/acos-inputs: New file.
3600 * benchtests/acosh-inputs: New file.
3601 * benchtests/asin-inputs: New file.
3602 * benchtests/asinh-inputs: New file.
3603 * benchtests/atanh-inputs: New file.
3604 * benchtests/cosh-inputs: New file.
3605 * benchtests/log-inputs: New file.
3606 * benchtests/sinh-inputs: New file.
3607 * benchtests/tanh-inputs: New file.
3608
47c22455
DL
36092013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3610
3611 [BZ #15339]
3612 * posix/tst-getaddrinfo4.c: New test.
3613 * posix/Makefile (tests): Add it.
3614
3d04f5db
SP
36152013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3616
3617 [BZ #15339]
3618 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3619 when no services were used.
3620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3621 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3622
d5dd6189
AS
36232013-05-21 Andreas Schwab <schwab@suse.de>
3624
3625 [BZ #15014]
3626 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3627 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3628 successful.
3629 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3630 redundant variable declarations and reallocation of buffer when
3631 parsing as IPv6 address. Always set NSS status when called from
3632 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3633 buffer too small. Correct computation of needed size.
3634 * nss/Makefile (tests): Add test-digits-dots.
3635 * nss/test-digits-dots.c: New test.
3636
fef94eab
SP
36372013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3638
3639 * benchtests/Makefile: Remove instructions for adding
3640 benchmark tests.
3641 * benchtests/README: New file to explain how to execute and
3642 enhance the benchmark tests.
3643
e39adf43
AS
36442013-05-21 Andreas Schwab <schwab@suse.de>
3645
3646 [BZ #15493]
3647 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3648 * setjmp/tst-sigsetjmp.c: New test.
3649
b2b671b6
OB
36502013-05-20 Ondřej Bílka <neleai@seznam.cz>
3651
3652 * sysdeps/x86_64/memset.S (memset): New implementation.
3653 (__bzero): Likewise.
3654 (__memset_tail): New function.
3655
2d48b41c
OB
36562013-05-20 Ondřej Bílka <neleai@seznam.cz>
3657
3658 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3659 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3660 __memcpy_sse2_unaligned ifunc selection.
3661 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3662 Add memcpy-sse2-unaligned.S.
3663 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3664 Add: __memcpy_sse2_unaligned.
3665
f16cc3eb
JM
36662013-05-19 Joseph Myers <joseph@codesourcery.com>
3667
3e694268
JM
3668 [BZ #15490]
3669 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3670 math_force_eval before restoring floating-point envrionment.
3671 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3672 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3673 Likewise.
3674 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3675 <math_private.h>.
3676 (__nearbyintl): Use math_force_eval before restoring
3677 floating-point environment.
3678 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3679
db62a907
JM
3680 * math/gen-libm-test.pl (special_functions): Remove.
3681 (parse_args): Don't handle TEST_extra. Handle functions with no
3682 return value.
3683 * math/libm-test.inc (struct test_sincos_data): Replace with
3684 struct test_fFF_11_data.
3685 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3686 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3687 (sincos_test_data): Change element type to struct
3688 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3689 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3690 RUN_TEST_LOOP_sincos.
3691 * math/README.libm-test: Don't mention special handling of
3692 individual functions.
3693 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3694 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3695 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3696 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3697 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3699
f16cc3eb
JM
3700 * math/gen-libm-test.pl (get_variable): Remove function.
3701 (parse_args): Don't show pointer parameters to call in test
3702 names. Use "extra output N" in test names for extra outputs
3703 rather than naming variables.
3704
3779b5b6
JM
37052013-05-18 Joseph Myers <joseph@codesourcery.com>
3706
2ee094ff
JM
3707 [BZ #15488]
3708 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3709 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3710 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3711 double tests.
3712 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3713 disable.
3714 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3715 check_long_double.
3716
3779b5b6
JM
3717 * math/gen-libm-test.pl (@tests): Remove variable.
3718 ($count): Likewise.
3719 (new_test): Remove function.
3720 (show_exceptions): New function.
3721 (special_functions): Use show_exceptions instead of new_test.
3722 (parse_args): Likewise.
3723 (generate_testfile): Pass only function name in generated call to
3724 print_max_error or print_complex_max_error.
3725 (get_ulps): Do not handle complex tests specially.
3726 (output_test): Rename to ...
3727 (get_all_ulps_for_test): ... this. Return a string rather than
3728 printing to a file. Require ulps to be present.
3729 (output_ulps): Generate arrays rather than #defines.
3730 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3731 (struct ulp_data): New type.
3732 (BUILD_COMPLEX_ULP): Remove macro.
3733 (compare_ulp_data): New function.
3734 (find_ulps): Likewise.
3735 (find_test_ulps): Likewise.
3736 (find_function_ulps): Likewise.
3737 (find_complex_function_ulps): Likewise.
3738 (print_max_error): Determine allowed ulps using
3739 find_function_ulps.
3740 (print_complex_max_error): Determine allowed ulps using
3741 find_complex_function_ulps.
3742 (check_float_internal): Determine max ulps using find_test_ulps.
3743 (check_float): Do not take max_ulp parameter. Update call to
3744 check_float_internal.
3745 (check_complex): Likewise.
3746 (check_int): Do not take max_ulp parameter.
3747 (check_long): Likewise.
3748 (check_bool): Likewise.
3749 (check_longlong): Likewise.
3750 (struct test_f_f_data): Remove max_ulp field.
3751 (struct test_ff_f_data): Likewise.
3752 (struct test_ff_f_data_nexttoward): Likewise.
3753 (struct test_fi_f_data): Likewise.
3754 (struct test_fl_f_data): Likewise.
3755 (struct test_if_f_data): Likewise.
3756 (struct test_fff_f_data): Likewise.
3757 (struct test_c_f_data): Likewise.
3758 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3759 (struct test_fF_f1_data): Likewise.
3760 (struct test_ffI_f1_data): Likewise.
3761 (struct test_c_c_data): Remove max_ulp field.
3762 (struct test_cc_c_data): Likewise.
3763 (struct test_f_i_data): Likewise.
3764 (struct test_ff_i_data): Likewise.
3765 (struct test_f_l_data): Likewise.
3766 (struct test_f_L_data): Likewise.
3767 (struct test_sincos_data): Likewise.
3768 (RUN_TEST_f_f): Do not handle ulps.
3769 (RUN_TEST_LOOP_f_f): Likewise.
3770 (RUN_TEST_2_f): Likewise.
3771 (RUN_TEST_LOOP_2_f): Likewise.
3772 (RUN_TEST_fff_f): Likewise.
3773 (RUN_TEST_LOOP_fff_f): Likewise.
3774 (RUN_TEST_c_f): Likewise.
3775 (RUN_TEST_LOOP_c_f): Likewise.
3776 (RUN_TEST_f_f1): Likewise.
3777 (RUN_TEST_LOOP_f_f1): Likewise.
3778 (RUN_TEST_fF_f1): Likewise.
3779 (RUN_TEST_LOOP_fF_f1): Likewise.
3780 (RUN_TEST_fI_f1): Likewise.
3781 (RUN_TEST_LOOP_fI_f1): Likewise.
3782 (RUN_TEST_ffI_f1): Likewise.
3783 (RUN_TEST_LOOP_ffI_f1): Likewise.
3784 (RUN_TEST_c_c): Likewise.
3785 (RUN_TEST_LOOP_c_c): Likewise.
3786 (RUN_TEST_cc_c): Likewise.
3787 (RUN_TEST_LOOP_cc_c): Likewise.
3788 (RUN_TEST_f_i): Likewise.
3789 (RUN_TEST_LOOP_f_i): Likewise.
3790 (RUN_TEST_f_i_tg): Likewise.
3791 (RUN_TEST_LOOP_f_i_tg): Likewise.
3792 (RUN_TEST_ff_i_tg): Likewise.
3793 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3794 (RUN_TEST_f_b): Likewise.
3795 (RUN_TEST_LOOP_f_b): Likewise.
3796 (RUN_TEST_f_b_tg): Likewise.
3797 (RUN_TEST_LOOP_f_b_tg): Likewise.
3798 (RUN_TEST_f_l): Likewise.
3799 (RUN_TEST_LOOP_f_l): Likewise.
3800 (RUN_TEST_f_L): Likewise.
3801 (RUN_TEST_LOOP_f_L): Likewise.
3802 (RUN_TEST_sincos): Likewise.
3803 (RUN_TEST_LOOP_sincos): Likewise.
3804
8269107f
JM
38052013-05-17 Joseph Myers <joseph@codesourcery.com>
3806
bb38759d
JM
3807 [BZ #15480]
3808 [BZ #15485]
3809 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3810 main case of finite arguments, set rounding mode to FE_TONEAREST
3811 and discard exceptions.
3812 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3813 exceptions.
3814 (remainder_tonearest_test_data): New variable.
3815 (remainder_test_tonearest): New function.
3816 (remainder_towardzero_test_data): New variable.
3817 (remainder_test_towardzero): New function.
3818 (remainder_downward_test_data): New variable.
3819 (remainder_test_downward): New function.
3820 (remainder_upward_test_data): New variable.
3821 (remainder_test_upward): New function.
3822 (main): Call the new test functions.
3823
a00bdcf0
JM
3824 * math/libm-test.inc (struct test_f_f1_data): Remove field
3825 extra_init.
3826 (struct test_fF_f1_data): Likewise.
3827 (struct test_ffI_f1_data): Likewise.
3828 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3829 based on value of EXTRA_EXPECTED.
3830 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3831 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3832 EXTRA_VAR based on value of EXTRA_EXPECTED.
3833 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3834 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3835 EXTRA_VAR based on value of EXTRA_EXPECTED.
3836 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3837 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3838 EXTRA_VAR based on value of EXTRA_EXPECTED.
3839 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3840 * math/gen-libm-test.pl (parse_args): Don't output initializers
3841 for extra output values.
3842
de407f79
JM
3843 * math/libm-test.inc (check_int): Expect result to be exactly
3844 equal to expected value and do not handle ulps.
3845 (check_long): Likewise.
3846 (check_longlong): Likewise.
3847
8269107f
JM
3848 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3849 exceptions.
3850 (cimag_test_data): Likewise.
3851 (conj_test_data): Likewise.
3852 (copysign_test_data): Likewise.
3853 (cproj_test_data): Likewise.
3854 (creal_test_data): Likewise.
3855 (fabs_test_data): Likewise.
3856 (fdim_test_data): Likewise.
3857 (finite_test_data): Likewise.
3858 (floor_test_data): Likewise.
3859 (fmax_test_data): Likewise.
3860 (fmin_test_data): Likewise.
3861 (fmod_test_data): Likewise.
3862 (fpclassify_test_data): Likewise.
3863 (frexp_test_data): Likewise.
3864 (ilogb_test_data): Likewise.
3865 (isfinite_test_data): Likewise.
3866 (isgreater_test_data): Likewise.
3867 (isgreaterequal_test_data): Likewise.
3868 (isinf_test_data): Likewise.
3869 (isless_test_data): Likewise.
3870 (islessequal_test_data): Likewise.
3871 (islessgreater_test_data): Likewise.
3872 (isnan_test_data): Likewise.
3873 (isnormal_test_data): Likewise.
3874 (issignaling_test_data): Likewise.
3875 (isunordered_test_data): Likewise.
3876 (ldexp_test_data): Likewise.
3877 (lrint_test_data): Likewise.
3878 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3879 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3880 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3881 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3882 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3883 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3884 test input.
3885 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3886 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3887 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3888 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3889 that test input.
3890 (lrint_downward_test_data): Test for "inexact" exceptions.
3891 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3892 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3893 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3894 test input.
3895 (lrint_upward_test_data): Test for "inexact" exceptions.
3896 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3897 test input.
3898 (llrint_test_data): Test for "inexact" exceptions.
3899 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3900 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3901 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3902 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3903 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3904 (llrint_downward_test_data): Test for "inexact" exceptions.
3905 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3906 (llrint_upward_test_data): Test for "inexact" exceptions.
3907 (logb_test_data): Likewise.
3908 (logb_downward_test_data): Likewise.
3909 (nextafter_test_data): Likewise.
3910 (nexttoward_test_data): Likewise.
3911 (remainder_test_data): Likewise.
3912 (remquo_test_data): Likewise.
3913 (scalbn_test_data): Likewise.
3914 (scalbln_test_data): Likewise.
3915 (signbit_test_data): Likewise.
3916 (sqrt_test_data): Likewise.
3917 (significand_test_data): Likewise.
3918
48a18de1
SP
39192013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3920
3921 [BZ #15424]
3922 * benchtests/bench-modf.c (struct args): Mark arg0 as
3923 volatile.
3924 * scripts/bench.pl: Mark members of struct args as volatile.
3925
13d3b41a
AZ
39262013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3927
68191c1d 3928 [BZ # 15497]
13d3b41a
AZ
3929 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3930 negative infinity on POWER6 or lower.
3931 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3932
2848b105
MR
39332013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3934
3935 [BZ #15442]
3936 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3937 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3938 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3939 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3940 (_FP_SETQNAN): New macro.
3941 (_FP_SETQNAN_SEMIRAW): Likewise.
3942 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3943 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3944 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3945 (FP_EXTEND): Use _FP_FRAC_SNANP.
3946 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3947 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3948 into account.
3949 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3950 New macro.
3951 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3952 Likewise.
3953
323e5cb7
JM
39542013-05-16 Joseph Myers <joseph@codesourcery.com>
3955
c58b274f
JM
3956 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3957 with DIVIDE_BY_ZERO_EXCEPTION.
3958 (gamma_test_data): Likewise.
3959 (lgamma_test_data): Likewise.
3960 (log_test_data): Likewise.
3961 (log10_test_data): Likewise.
3962 (log2_test_data): Likewise.
3963 (tgamma_test_data): Likewise.
3964
0ab34904
JM
3965 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3966 (acos_test_tonearest): Likewise.
3967 (acos_test_towardzero): Likewise.
3968 (acos_test_downward): Likewise.
3969 (acos_test_upward): Likewise.
3970 (acosh_test): Likewise.
3971 (asin_test): Likewise.
3972 (asin_test_tonearest): Likewise.
3973 (asin_test_towardzero): Likewise.
3974 (asin_test_downward): Likewise.
3975 (asin_test_upward): Likewise.
3976 (asinh_test): Likewise.
3977 (atan_test): Likewise.
3978 (atanh_test): Likewise.
3979 (atan2_test): Likewise.
3980 (cabs_test): Likewise.
3981 (cacos_test): Likewise.
3982 (cacosh_test): Likewise.
3983 (casin_test): Likewise.
3984 (casinh_test): Likewise.
3985 (catan_test): Likewise.
3986 (catanh_test): Likewise.
3987 (cbrt_test): Likewise.
3988 (ccos_test): Likewise.
3989 (ccosh_test): Likewise.
3990 (cexp_test): Likewise.
3991 (clog_test): Likewise.
3992 (clog10_test): Likewise.
3993 (cos_test): Likewise.
3994 (cos_test_tonearest): Likewise.
3995 (cos_test_towardzero): Likewise.
3996 (cos_test_downward): Likewise.
3997 (cos_test_upward): Likewise.
3998 (cosh_test): Likewise.
3999 (cosh_test_tonearest): Likewise.
4000 (cosh_test_towardzero): Likewise.
4001 (cosh_test_downward): Likewise.
4002 (cosh_test_upward): Likewise.
4003 (cpow_test): Likewise.
4004 (csin_test): Likewise.
4005 (csinh_test): Likewise.
4006 (csqrt_test): Likewise.
4007 (ctan_test): Likewise.
4008 (ctan_test_tonearest): Likewise.
4009 (ctan_test_towardzero): Likewise.
4010 (ctan_test_downward): Likewise.
4011 (ctan_test_upward): Likewise.
4012 (ctanh_test): Likewise.
4013 (ctanh_test_tonearest): Likewise.
4014 (ctanh_test_towardzero): Likewise.
4015 (ctanh_test_downward): Likewise.
4016 (ctanh_test_upward): Likewise.
4017 (erf_test): Likewise.
4018 (erfc_test): Likewise.
4019 (exp_test): Likewise.
4020 (exp_test_tonearest): Likewise.
4021 (exp_test_towardzero): Likewise.
4022 (exp_test_downward): Likewise.
4023 (exp_test_upward): Likewise.
4024 (exp10_test): Likewise.
4025 (exp2_test): Likewise.
4026 (expm1_test): Likewise.
4027 (fmod_test): Likewise.
4028 (gamma_test): Likewise.
4029 (hypot_test): Likewise.
4030 (j0_test): Likewise.
4031 (j1_test): Likewise.
4032 (jn_test): Likewise.
4033 (lgamma_test): Likewise.
4034 (log_test): Likewise.
4035 (log10_test): Likewise.
4036 (log1p_test): Likewise.
4037 (log2_test): Likewise.
4038 (logb_test_downward): Likewise.
4039 (pow_test): Likewise.
4040 (pow_test_tonearest): Likewise.
4041 (pow_test_towardzero): Likewise.
4042 (pow_test_downward): Likewise.
4043 (pow_test_upward): Likewise.
4044 (remainder_test): Likewise.
4045 (remquo_test): Likewise.
4046 (sin_test): Likewise.
4047 (sin_test_tonearest): Likewise.
4048 (sin_test_towardzero): Likewise.
4049 (sin_test_downward): Likewise.
4050 (sin_test_upward): Likewise.
4051 (sincos_test): Likewise.
4052 (sinh_test): Likewise.
4053 (sinh_test_tonearest): Likewise.
4054 (sinh_test_towardzero): Likewise.
4055 (sinh_test_downward): Likewise.
4056 (sinh_test_upward): Likewise.
4057 (sqrt_test): Likewise.
4058 (tan_test): Likewise.
4059 (tan_test_tonearest): Likewise.
4060 (tan_test_towardzero): Likewise.
4061 (tan_test_downward): Likewise.
4062 (tan_test_upward): Likewise.
4063 (tanh_test): Likewise.
4064 (tgamma_test): Likewise.
4065 (y0_test): Likewise.
4066 (y1_test): Likewise.
4067 (yn_test): Likewise.
4068
323e5cb7
JM
4069 * math/gen-libm-test.pl (adjust_arg): Remove function.
4070 (special_function): Remove argument $in_func. Only handle
4071 generating output for tables of tests, not inside functions.
4072 (parse_args): Likewise.
4073 (generate_testfile): Remove variable $in_func. Update call to
4074 parse_args.
4075 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4076 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4077 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4078 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4079 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4080 (MAX_VALUE_INIT): Rename macro to max_value.
4081 (MIN_VALUE_INIT): Rename macro to min_value.
4082 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4083 (plus_zero): Remove variable.
4084 (minus_zero): Likewise.
4085 (plus_infty): Likewise.
4086 (minus_infty): Likewise.
4087 (qnan_value): Likewise.
4088 (max_value): Likewise.
4089 (min_value): Likewise.
4090 (min_subnorm_value): Likewise.
4091
e054f494
RA
40922013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4093
4094 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4095 uint64_t or uint32_t usage.
4096 * crypt/sha256-block.c: Likewise.
4097 * crypt/sha256-crypt.c: Likewise.
4098 * crypt/sha256.c: Likewise.
4099 * crypt/sha512-block.c: Likewise.
4100 * crypt/sha512-crypt.c: Likewise.
4101 * crypt/sha512.c: Likewise.
4102 * debug/backtrace-tst.c: Likewise.
4103 * debug/pcprofiledump.c: Likewise.
4104 * elf/cache.c: Likewise.
4105 * elf/dl-cache.c: Likewise.
4106 * elf/dl-misc.c: Likewise.
4107 * elf/dl-profile.c: Likewise.
4108 * elf/dl-support.c: Likewise.
4109 * elf/ldconfig.c: Likewise.
4110 * elf/sprof.c: Likewise.
4111 * iconv/dummy-repertoire.c: Likewise.
4112 * iconv/iconv_charmap.c: Likewise.
4113 * iconv/skeleton.c: Likewise.
4114 * iconvdata/8bit-generic.c: Likewise.
4115 * iconvdata/cp737.h: Likewise.
4116 * iconvdata/cp775.h: Likewise.
4117 * iconvdata/ibm1008.h: Likewise.
4118 * iconvdata/ibm1025.h: Likewise.
4119 * iconvdata/ibm1046.h: Likewise.
4120 * iconvdata/ibm1097.h: Likewise.
4121 * iconvdata/ibm1112.h: Likewise.
4122 * iconvdata/ibm1122.h: Likewise.
4123 * iconvdata/ibm1123.h: Likewise.
4124 * iconvdata/ibm1124.h: Likewise.
4125 * iconvdata/ibm1129.h: Likewise.
4126 * iconvdata/ibm1130.h: Likewise.
4127 * iconvdata/ibm1132.h: Likewise.
4128 * iconvdata/ibm1133.h: Likewise.
4129 * iconvdata/ibm1137.h: Likewise.
4130 * iconvdata/ibm1140.h: Likewise.
4131 * iconvdata/ibm1141.h: Likewise.
4132 * iconvdata/ibm1142.h: Likewise.
4133 * iconvdata/ibm1143.h: Likewise.
4134 * iconvdata/ibm1144.h: Likewise.
4135 * iconvdata/ibm1145.h: Likewise.
4136 * iconvdata/ibm1146.h: Likewise.
4137 * iconvdata/ibm1147.h: Likewise.
4138 * iconvdata/ibm1148.h: Likewise.
4139 * iconvdata/ibm1149.h: Likewise.
4140 * iconvdata/ibm1153.h: Likewise.
4141 * iconvdata/ibm1154.h: Likewise.
4142 * iconvdata/ibm1155.h: Likewise.
4143 * iconvdata/ibm1156.h: Likewise.
4144 * iconvdata/ibm1157.h: Likewise.
4145 * iconvdata/ibm1158.h: Likewise.
4146 * iconvdata/ibm1160.h: Likewise.
4147 * iconvdata/ibm1161.h: Likewise.
4148 * iconvdata/ibm1162.h: Likewise.
4149 * iconvdata/ibm1163.h: Likewise.
4150 * iconvdata/ibm1164.h: Likewise.
4151 * iconvdata/ibm1166.h: Likewise.
4152 * iconvdata/ibm1167.h: Likewise.
4153 * iconvdata/ibm12712.h: Likewise.
4154 * iconvdata/ibm1390.h: Likewise.
4155 * iconvdata/ibm1399.h: Likewise.
4156 * iconvdata/ibm16804.h: Likewise.
4157 * iconvdata/ibm4517.h: Likewise.
4158 * iconvdata/ibm4899.h: Likewise.
4159 * iconvdata/ibm4909.h: Likewise.
4160 * iconvdata/ibm4971.h: Likewise.
4161 * iconvdata/ibm5347.h: Likewise.
4162 * iconvdata/ibm803.h: Likewise.
4163 * iconvdata/ibm856.h: Likewise.
4164 * iconvdata/ibm901.h: Likewise.
4165 * iconvdata/ibm902.h: Likewise.
4166 * iconvdata/ibm9030.h: Likewise.
4167 * iconvdata/ibm9066.h: Likewise.
4168 * iconvdata/ibm921.h: Likewise.
4169 * iconvdata/ibm922.h: Likewise.
4170 * iconvdata/ibm9448.h: Likewise.
4171 * iconvdata/isiri-3342.h: Likewise.
4172 * iconvdata/jis0201.h: Likewise.
4173 * include/link.h: Likewise.
4174 * include/netdb.h: Likewise.
4175 * inet/check_native.c: Likewise.
4176 * inet/check_pf.c: Likewise.
4177 * inet/getipv4sourcefilter.c: Likewise.
4178 * inet/getnameinfo.c: Likewise.
4179 * inet/getsourcefilter.c: Likewise.
4180 * inet/htonl.c: Likewise.
4181 * inet/setipv4sourcefilter.c: Likewise.
4182 * inet/setsourcefilter.c: Likewise.
4183 * inet/test-inet6_opt.c: Likewise.
4184 * inet/tst-network.c: Likewise.
4185 * locale/C-collate.c: Likewise.
4186 * locale/C-ctype.c: Likewise.
4187 * locale/C-time.c: Likewise.
4188 * locale/C-translit.h: Likewise.
4189 * locale/loadarchive.c: Likewise.
4190 * locale/programs/3level.h: Likewise.
4191 * locale/programs/charmap.c: Likewise.
4192 * locale/programs/charmap.h: Likewise.
4193 * locale/programs/ld-address.c: Likewise.
4194 * locale/programs/ld-collate.c: Likewise.
4195 * locale/programs/ld-ctype.c: Likewise.
4196 * locale/programs/ld-identification.c: Likewise.
4197 * locale/programs/ld-measurement.c: Likewise.
4198 * locale/programs/ld-messages.c: Likewise.
4199 * locale/programs/ld-monetary.c: Likewise.
4200 * locale/programs/ld-name.c: Likewise.
4201 * locale/programs/ld-numeric.c: Likewise.
4202 * locale/programs/ld-paper.c: Likewise.
4203 * locale/programs/ld-telephone.c: Likewise.
4204 * locale/programs/ld-time.c: Likewise.
4205 * locale/programs/linereader.c: Likewise.
4206 * locale/programs/locale.c: Likewise.
4207 * locale/programs/locarchive.c: Likewise.
4208 * locale/programs/locfile.h: Likewise.
4209 * locale/programs/repertoire.c: Likewise.
4210 * locale/programs/simple-hash.c: Likewise.
4211 * locale/programs/simple-hash.h: Likewise.
4212 * malloc/memusage.c: Likewise.
4213 * malloc/memusagestat.c: Likewise.
4214 * nis/nis_defaults.c: Likewise.
4215 * nis/nis_hash.c: Likewise.
4216 * nis/nis_print.c: Likewise.
4217 * nis/nis_xdr.c: Likewise.
4218 * nscd/connections.c: Likewise.
4219 * nscd/hstcache.c: Likewise.
4220 * nscd/nscd_gethst_r.c: Likewise.
4221 * nscd/nscd_getserv_r.c: Likewise.
4222 * nscd/nscd_helper.c: Likewise.
4223 * nscd/servicescache.c: Likewise.
4224 * nss/makedb.c: Likewise.
4225 * nss/nss_db/db-XXX.c: Likewise.
4226 * nss/nss_db/db-initgroups.c: Likewise.
4227 * nss/nss_db/db-netgrp.c: Likewise.
4228 * nss/nss_files/files-network.c: Likewise.
4229 * nss/nss_files/files-parse.c: Likewise.
4230 * posix/bug-regex5.c: Likewise.
4231 * posix/fnmatch_loop.c: Likewise.
4232 * posix/regcomp.c: Likewise.
4233 * posix/regexec.c: Likewise.
4234 * posix/tst-rfc3484-2.c: Likewise.
4235 * posix/tst-rfc3484-3.c: Likewise.
4236 * posix/tst-rfc3484.c: Likewise.
4237 * resolv/nss_dns/dns-canon.c: Likewise.
4238 * resolv/nss_dns/dns-network.c: Likewise.
4239 * resolv/res_init.c: Likewise.
4240 * resolv/res_mkquery.c: Likewise.
4241 * resolv/tst-aton.c: Likewise.
4242 * stdlib/cxa_atexit.c: Likewise.
4243 * stdlib/cxa_finalize.c: Likewise.
4244 * stdlib/gen-fpioconst.c: Likewise.
4245 * stdlib/strtol_l.c: Likewise.
4246 * string/tst-endian.c: Likewise.
4247 * sunrpc/auth_des.c: Likewise.
4248 * sunrpc/clnt_udp.c: Likewise.
4249 * sunrpc/rtime.c: Likewise.
4250 * sunrpc/svcauth_des.c: Likewise.
4251 * sunrpc/xdr.c: Likewise.
4252 * sunrpc/xdr_intXX_t.c: Likewise.
4253 * sunrpc/xdr_rec.c: Likewise.
4254 * sysdeps/generic/ldconfig.h: Likewise.
4255 * sysdeps/generic/ldsodefs.h: Likewise.
4256 * sysdeps/generic/memusage.h: Likewise.
4257 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4258 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4259 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4260 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4261 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4262 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4263 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4264 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4265 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4267 * sysdeps/posix/getaddrinfo.c: Likewise.
4268 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4269 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4270 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4271 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4272 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4273 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4274 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4275 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4276 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4277 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4278 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4279 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4280 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4281 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4282 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4283 * sysdeps/x86_64/dl-tls.h: Likewise.
4284 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4285 * time/alt_digit.c: Likewise.
4286 * time/era.c: Likewise.
4287 * wcsmbs/tst-c16c32-1.c: Likewise.
4288
8c75f674
JM
42892013-05-16 Joseph Myers <joseph@codesourcery.com>
4290
4291 * math/libm-test.inc (struct test_sincos_data): New type.
4292 (RUN_TEST_LOOP_sincos): New macro.
4293 (sincos_test_data): New variable.
4294 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4295
e6e49e59
RH
42962013-05-16 Richard Henderson <rth@redhat.com>
4297
4298 * math/atest-exp2.c (LIMB64): New macro.
4299 (CONSTSZ): New macro.
4300 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4301 (hexdig): Move ...
4302 (print_mpn_fp): ... to function scope.
4303 (read_mpn_hex): Remove.
4304 (get_log2): Remove.
4305 (exp2_mpn): Use mp_log2.
4306 (main): Use mp_exp1.
4307
15c7c18d
JM
43082013-05-16 Joseph Myers <joseph@codesourcery.com>
4309
105a07df
JM
4310 * math/libm-test.inc: Remove comment about not testing "inexact"
4311 exceptions.
4312 (INEXACT_EXCEPTION): New macro.
4313 (NO_INEXACT_EXCEPTION): Likewise.
4314 (INVALID_EXCEPTION_OK): Update value.
4315 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4316 (OVERFLOW_EXCEPTION_OK): Likewise.
4317 (UNDERFLOW_EXCEPTION_OK): Likewise.
4318 (IGNORE_ZERO_INF_SIGN): Likewise.
4319 (ERRNO_UNCHANGED): Likewise.
4320 (ERRNO_EDOM): Likewise.
4321 (ERRNO_ERANGE): Likewise.
4322 (test_exceptions): Handle testing "inexact" exceptions.
4323 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4324 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4325 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4326 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4327 INEXACT_EXCEPTION.
4328 (rint_towardzero_test_data): Likewise.
4329 (rint_downward_test_data): Likewise.
4330 (rint_upward_test_data): Likewise.
4331
e9eee333
JM
4332 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4333 with OVERFLOW_EXCEPTION.
4334 (exp10_test_data): Likewise.
4335 (exp2_test_data): Likewise.
4336 (expm1_test_data): Likewise.
4337 (lgamma_test_data): Likewise.
4338 (pow_test_data): Likewise.
4339 (tgamma_test_data): Likewise.
4340 (yn_test_data): Remove duplicate test of overflow.
4341
1c38ff73
JM
4342 * math/libm-test.inc (struct test_cc_c_data): New type.
4343 (RUN_TEST_LOOP_cc_c): New macro.
4344 (cpow_test_data): New variable.
4345 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4346
15c7c18d
JM
4347 * math/libm-test.inc (struct test_f_L_data): New type.
4348 (RUN_TEST_LOOP_f_L): New macro.
4349 (llrint_test_data): New variable.
4350 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4351 (llrint_tonearest_test_data): New variable.
4352 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4353 (llrint_towardzero_test_data): New variable.
4354 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4355 (llrint_downward_test_data): New variable.
4356 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4357 (llrint_upward_test_data): New variable.
4358 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4359 (llround_test_data): New variable.
4360 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4361
f137ff13
PC
43622013-05-13 Peter Collingbourne <pcc@google.com>
4363
4364 * math/atest-exp2.c (get_log2): Remove const attribute.
4365
3608cb24
JM
43662013-05-15 Joseph Myers <joseph@codesourcery.com>
4367
4368 * math/libm-test.inc (struct test_f_l_data): New type.
4369 (RUN_TEST_LOOP_f_l): New macro.
4370 (lrint_test_data): New variable.
4371 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4372 (lrint_tonearest_test_data): New variable.
4373 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4374 (lrint_towardzero_test_data): New variable.
4375 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4376 (lrint_downward_test_data): New variable.
4377 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4378 (lrint_upward_test_data): New variable.
4379 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4380 (lround_test_data): New variable.
4381 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4382
39b1f617
PC
43832013-05-15 Peter Collingbourne <pcc@google.com>
4384
1deff3dc
PC
4385 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4386 (EXTRACT_WORDS64) Use where appropriate.
4387 (INSERT_WORDS64) Likewise.
4388
791f3ba0
PC
4389 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4390 constraints with x constraints.
4391 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4392
39b1f617
PC
4393 * malloc/obstack.c (_obstack_compat): Add initializer.
4394
12fba011
EM
43952013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4396
4397 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4398 si_trapno and add si_addr_lsb to _sifields.sigfault.
4399 (si_trapno): Remove macro.
4400 (si_addr_lsb): Define new macro.
4401 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4402
d369f531
JM
44032013-05-15 Joseph Myers <joseph@codesourcery.com>
4404
b861c6c4
JM
4405 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4406 instead of TEST_f_l.
4407 (llrint_test_tonearest): Likewise.
4408 (llrint_test_towardzero): Likewise.
4409 (llrint_test_downward): Likewise.
4410 (llrint_test_upward): Likewise.
4411 (llround_test): Likewise.
4412
7abeee12
JM
4413 * math/libm-test.inc (struct test_f_i_data): Add comment.
4414 (RUN_TEST_LOOP_f_b): New macro.
4415 (RUN_TEST_LOOP_f_b_tg): Likewise.
4416 (finite_test_data): New variable.
4417 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4418 (isfinite_test_data): New variable.
4419 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4420 (isinf_test_data): New variable.
4421 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4422 (isnan_test_data): New variable.
4423 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4424 (isnormal_test_data): New variable.
4425 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4426 (issignaling_test_data): New variable.
4427 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4428 (signbit_test_data): New variable.
4429 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4430
cbe8c4d3
JM
4431 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4432 with INVALID_EXCEPTION.
4433 (acosh_test_data): Likewise.
4434 (asin_test_data): Likewise.
4435 (atanh_test_data): Likewise.
4436 (fmod_test_data): Likewise.
4437 (log_test_data): Likewise.
4438 (log10_test_data): Likewise.
4439 (log2_test_data): Likewise.
4440 (pow_test_data): Likewise.
4441 (sqrt_test_data): Likewise.
4442 (y0_test_data): Likewise.
4443 (y1_test_data): Likewise.
4444 (yn_test_data): Likewise.
4445
5575c0e5
JM
4446 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4447 function contents.
4448
d369f531
JM
4449 * math/libm-test.inc (struct test_ff_i_data): New type.
4450 (RUN_TEST_LOOP_ff_i_tg): New macro.
4451 (isgreater_test_data): New variable.
4452 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4453 (isgreaterequal_test_data): New variable.
4454 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4455 (isless_test_data): New variable.
4456 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4457 (islessequal_test_data): New variable.
4458 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4459 (islessgreater_test_data): New variable.
4460 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4461 (isunordered_test_data): New variable.
4462 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4463
781fd748
DM
44642013-05-14 David S. Miller <davem@davemloft.net>
4465
4466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4467
87aa21df
JM
44682013-05-14 Joseph Myers <joseph@codesourcery.com>
4469
5e908270
JM
4470 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4471
f71172e5
JM
4472 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4473 extra_test to int.
4474 (struct test_f_i_data): Change type of max_ulp to int.
4475
8cfa635a
JM
4476 * math/libm-test.inc (test_ffI_f1_data): New type.
4477 (RUN_TEST_LOOP_ffI_f1): New macro.
4478 (remquo_test_data): New variable.
4479 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4480
2bcb36b2
JM
4481 * setjmp/tst-setjmp-fp.c: New file.
4482 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4483 (link-libm): New variable.
4484 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4485
acbd839a
JM
4486 * math/libm-test.inc (struct test_f_i_data): New type.
4487 (RUN_TEST_LOOP_f_i): New macro.
4488 (RUN_TEST_LOOP_f_i_tg): Likewise.
4489 (fpclassify_test_data): New variable.
4490 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4491 (ilogb_test_data): New variable.
4492 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4493
e414d745
JM
4494 * math/libm-test.inc (scalbln_test): Correct function name in END
4495 call.
4496
d9c2a0fd
JM
4497 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4498 (RUN_TEST_LOOP_fI_f1): New macro.
4499 (frexp_test_data): New variable.
4500 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4501
9dc9095d
JM
4502 * math/libm-test.inc (struct test_fF_f1_data): New type.
4503 (RUN_TEST_LOOP_fF_f1): New macro.
4504 (modf_test_data): New variable.
4505 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4506
87aa21df
JM
4507 * math/libm-test.inc (struct test_f_f1_data): New type.
4508 (RUN_TEST_LOOP_f_f1): New macro.
4509 (gamma_test_data): New variable.
4510 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4511 (lgamma_test_data): New variable.
4512 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4513
141af660
CD
45142013-05-13 Carlos O'Donell <carlos@redhat.com>
4515
4516 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4517 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4518 (main): Comment "tls" pseudo-hwcap.
4519
6d33265c
JM
45202013-05-13 Joseph Myers <joseph@codesourcery.com>
4521
68fc074c
JM
4522 * math/libm-test.inc (struct test_fl_f_data): New type.
4523 (RUN_TEST_LOOP_fl_f): New variable.
4524 (scalbln_test_data): New variable.
4525 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4526
243216e1
JM
4527 * math/libm-test.inc (struct test_fi_f_data): New type.
4528 (RUN_TEST_LOOP_fi_f): New macro.
4529 (ldexp_test_data): New variable.
4530 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4531 (scalbn_test_data): New variable.
4532 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4533
6a1992e2
JM
4534 * math/libm-test.inc (struct test_c_f_data): New type.
4535 (RUN_TEST_LOOP_c_f): New macro.
4536 (cabs_test_data): New variable.
4537 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4538 (carg_test_data): New variable.
4539 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4540 (cimag_test_data): New variable.
4541 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4542 (creal_test_data): New variable.
4543 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4544
0e400df5
JM
4545 * math/libm-test.inc (struct test_if_f_data): New type.
4546 (RUN_TEST_LOOP_if_f): New macro.
4547 (jn_test_data): New variable.
4548 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4549 (yn_test_data): New variable.
4550 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4551
6d33265c
JM
4552 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4553
f98ece5f
AZ
45542013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4555
4556 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4557 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4558
0f7d347b
SP
45592013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4560
43fe811b
SP
4561 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4562 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4563 (bench-deps): Add bench-timing.h.
4564 * benchtests-bench-skeleton.c: Include bench-timing.h.
4565 (main): Use TIMING_* macros instead of clock_gettime.
4566 * benchtests/bench-timing.h: New file.
4567
0f7d347b
SP
4568 [BZ #14582]
4569 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4570 Renamed from _LIB_VERSION.
4571 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4572
601a3a5f
JM
45732013-05-12 Joseph Myers <joseph@codesourcery.com>
4574
4f184d30
JM
4575 * math/libm-test.inc (struct test_fff_f_data): New type.
4576 (RUN_TEST_LOOP_fff_f): New macro.
4577 (fma_test_data): New variable.
4578 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4579 (fma_towardzero_test_data): New variable.
4580 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4581 (fma_downward_test_data): New variable.
4582 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4583 (fma_upward_test_data): New variable.
4584 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4585
08198877
JM
4586 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4587 (struct test_c_c_data): New type.
4588 (RUN_TEST_LOOP_c_c): New macro.
4589 (cacos_test_data): New variable.
4590 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4591 (cacosh_test_data): New variable.
4592 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4593 (casin_test_data): New variable.
4594 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4595 (casinh_test_data): New variable.
4596 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4597 (catan_test_data): New variable.
4598 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4599 (catanh_test_data): New variable.
4600 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4601 (ccos_test_data): New variable.
4602 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4603 (ccosh_test_data): New variable.
4604 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4605 (cexp_test_data): New variable.
4606 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4607 (clog_test_data): New variable.
4608 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4609 (clog10_test_data): New variable.
4610 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4611 (conj_test_data): New variable.
4612 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4613 (cproj_test_data): New variable.
4614 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4615 (csin_test_data): New variable.
4616 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4617 (csinh_test_data): New variable.
4618 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4619 (csqrt_test_data): New variable.
4620 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4621 (ctan_test_data): New variable.
4622 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4623 (ctan_tonearest_test_data): New variable.
4624 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4625 (ctan_towardzero_test_data): New variable.
4626 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4627 (ctan_downward_test_data): New variable.
4628 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4629 (ctan_upward_test_data): New variable.
4630 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4631 (ctanh_test_data): New variable.
4632 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4633 (ctanh_tonearest_test_data): New variable.
4634 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4635 (ctanh_towardzero_test_data): New variable.
4636 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4637 (ctanh_downward_test_data): New variable.
4638 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4639 (ctanh_upward_test_data): New variable.
4640 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4641 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4642 of BUILD_COMPLEX.
4643
601a3a5f
JM
4644 * math/libm-test.inc (struct test_ff_f_data): New type.
4645 (struct test_ff_f_data_nexttoward): Likewise.
4646 (RUN_TEST_LOOP_2_f): New macro.
4647 (RUN_TEST_LOOP_ff_f): Likewise.
4648 (atan2_test_data): New variable.
4649 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4650 (copysign_test_data): New variable.
4651 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4652 (fdim_test_data): New variable.
4653 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4654 (fmax_test_data): New variable.
4655 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4656 (fmin_test_data): New variable.
4657 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4658 (fmod_test_data): New variable.
4659 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4660 (hypot_test_data): New variable.
4661 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4662 (nextafter_test_data): New variable.
4663 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4664 (nexttoward_test_data): New variable.
4665 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4666 (pow_test_data): New variable.
4667 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4668 (pow_tonearest_test_data): New variable.
4669 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4670 (pow_towardzero_test_data): New variable.
4671 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4672 (pow_downward_test_data): New variable.
4673 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4674 (pow_upward_test_data): New variable.
4675 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4676 (remainder_test_data): New variable.
4677 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4678 (scalb_test_data): New variable.
4679 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4680 * sysdeps/i386/fpu/libm-test-ulps: Update.
4681
74c57478
JM
46822013-05-11 Joseph Myers <joseph@codesourcery.com>
4683
8329e4da
JM
4684 * math/libm-test.inc (fma_test): Use max_value instead of local
4685 variable fltmax.
4686 (nextafter_test): Likewise.
4687
74c57478
JM
4688 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4689 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4690 (acos_downward_test_data): New variable.
4691 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4692 (acos_upward_test_data): New variable.
4693 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4694 (acosh_test_data): New variable.
4695 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4696 (asin_test_data): New variable.
4697 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4698 (asin_tonearest_test_data): New variable.
4699 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4700 (asin_towardzero_test_data): New variable.
4701 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4702 (asin_downward_test_data): New variable.
4703 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4704 (asin_upward_test_data): New variable.
4705 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4706 (asinh_test_data): New variable.
4707 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4708 (atan_test_data): New variable.
4709 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4710 (atanh_test_data): New variable.
4711 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4712 (cbrt_test_data): New variable.
4713 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4714 (ceil_test_data): New variable.
4715 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4716 (cos_test_data): New variable.
4717 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4718 (cos_tonearest_test_data): New variable.
4719 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4720 (cos_towardzero_test_data): New variable.
4721 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4722 (cos_downward_test_data): New variable.
4723 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4724 (cos_upward_test_data): New variable.
4725 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4726 (cosh_test_data): New variable.
4727 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4728 (cosh_tonearest_test_data): New variable.
4729 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4730 (cosh_towardzero_test_data): New variable.
4731 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4732 (cosh_downward_test_data): New variable.
4733 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4734 (cosh_upward_test_data): New variable.
4735 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4736 (erf_test_data): New variable.
4737 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4738 (erfc_test_data): New variable.
4739 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4740 (exp_test_data): New variable.
4741 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4742 (exp_tonearest_test_data): New variable.
4743 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4744 (exp_towardzero_test_data): New variable.
4745 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4746 (exp_downward_test_data): New variable.
4747 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4748 (exp_upward_test_data): New variable.
4749 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4750 (exp10_test_data): New variable.
4751 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4752 (exp2_test_data): New variable.
4753 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4754 (expm1_test_data): New variable.
4755 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4756 (fabs_test_data): New variable.
4757 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4758 (floor_test_data): New variable.
4759 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4760 (j0_test_data): New variable.
4761 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4762 (j1_test_data): New variable.
4763 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4764 (log_test_data): New variable.
4765 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4766 (log10_test_data): New variable.
4767 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4768 (log1p_test_data): New variable.
4769 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4770 (log2_test_data): New variable.
4771 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4772 (logb_test_data): New variable.
4773 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4774 (logb_downward_test_data): New variable.
4775 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4776 (nearbyint_test_data): New variable.
4777 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4778 (rint_test_data): New variable.
4779 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4780 (rint_tonearest_test_data): New variable.
4781 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4782 (rint_towardzero_test_data): New variable.
4783 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4784 (rint_downward_test_data): New variable.
4785 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4786 (rint_upward_test_data): New variable.
4787 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4788 (round_test_data): New variable.
4789 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4790 (sin_test_data): New variable.
4791 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4792 (sin_tonearest_test_data): New variable.
4793 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4794 (sin_towardzero_test_data): New variable.
4795 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4796 (sin_downward_test_data): New variable.
4797 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4798 (sin_upward_test_data): New variable.
4799 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4800 (sinh_test_data): New variable.
4801 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4802 (sinh_tonearest_test_data): New variable.
4803 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4804 (sinh_towardzero_test_data): New variable.
4805 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4806 (sinh_downward_test_data): New variable.
4807 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4808 (sinh_upward_test_data): New variable.
4809 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4810 (sqrt_test_data): New variable.
4811 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4812 (tan_test_data): New variable.
4813 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4814 (tan_tonearest_test_data): New variable.
4815 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4816 (tan_towardzero_test_data): New variable.
4817 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4818 (tan_downward_test_data): New variable.
4819 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4820 (tan_upward_test_data): New variable.
4821 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4822 (tanh_test_data): New variable.
4823 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4824 (tgamma_test_data): New variable.
4825 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4826 (trunc_test_data): New variable.
4827 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4828 (y0_test_data): New variable.
4829 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4830 (y1_test_data): New variable.
4831 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4832 (significand_test_data): New variable.
4833 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4834
7187d844
CG
48352013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4836
4837 [BZ #12387]
4838 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4839
f63fae73
PT
48402013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4841
4842 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4843
8a67a4b3
AJ
48442013-05-10 Andreas Jaeger <aj@suse.de>
4845
4846 [BZ #15448]
4847 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4848 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4849
51df539d
JM
48502013-05-10 Joseph Myers <joseph@codesourcery.com>
4851
4852 * math/gen-libm-test.pl (adjust_arg): New function.
4853 (special_functions): Handle generating output in both functions
4854 and arrays.
4855 (parse_args): Likewise.
4856 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4857 $in_func argument to parse_args.
4858 * math/libm-test.inc (struct test_f_f_data): New type.
4859 (IF_ROUND_INIT_): New macro.
4860 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4861 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4862 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4863 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4864 (ROUND_RESTORE_): Likewise.
4865 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4866 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4867 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4868 (ROUND_RESTORE_FE_UPWARD): Likewise.
4869 (RUN_TEST_LOOP_f_f): New macro.
4870 (acos_test_data): New variable.
4871 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4872 (acos_tonearest_test_data): New variable.
4873 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4874
5c637fe5
SP
48752013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4876
4877 * benchtests/bench-skeleton.c (startup): Fix coding style.
4878
ab2b9461
JM
48792013-05-10 Joseph Myers <joseph@codesourcery.com>
4880
4881 [BZ #6809]
4882 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4883 negative infinity argument.
4884 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4885 negative infinity argument.
4886 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4887 negative infinity argument.
4888 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4889 domain errors.
4890
4c0fe6fe
FW
48912013-05-10 Florian Weimer <fweimer@redhat.com>
4892
4893 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4894 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4895 * iconv/iconv_prog.c (main): Likewise.
4896 * locale/programs/charmap-dir.c (charmap_readdir)
4897 (fopen_uncompressed): Likewise.
4898 * locale/programs/locfile.c (siblings_uncached)
4899 (write_locale_data): Use lstat64 instead of lstat.
4900 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4901 stat.
4902
a3375d29
AJ
49032013-05-10 Andreas Jaeger <aj@suse.de>
4904
4905 [BZ #15395]
4906 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4907 localization.
4908 Include <locale.h>.
4909
36129722
CD
49102013-05-09 Carlos O'Donell <carlos@redhat.com>
4911
4912 * elf/dl-close.c (_dl_close_worker): Add comments.
4913
faa7f811
JM
49142013-05-09 Joseph Myers <joseph@codesourcery.com>
4915
ed41ffef
JM
4916 [BZ #15359]
4917 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4918 high part of pi/2.
4919 (__ieee754_rem_pio2l): Update comments.
4920
d0213cd0
JM
4921 [BZ #15429]
4922 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4923 high part of pi/2.
4924 (__ieee754_rem_pio2l): Update comments.
4925
0d3e777a
JM
4926 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4927 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4928
24f56066
JM
4929 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4930 M_PI_4l.
4931
faa7f811
JM
4932 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4933 (M_PI_34_LOG10El): Likewise.
4934 (M_PI2_LOG10El): Likewise.
4935 (M_PI4_LOG10El): Likewise.
4936 (M_PI_LOG10El): Likewise.
4937
e9a5e0fd
AZ
49382013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4939
4940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4941
d8cd06db
JM
49422013-05-08 Joseph Myers <joseph@codesourcery.com>
4943
a0d9f9d7
JM
4944 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4945 (MINUS_ZERO_INIT): Likewise.
4946 (PLUS_INFTY_INIT): Likewise.
4947 (MINUS_INFTY_INIT): Likewise.
4948 (QNAN_VALUE_INIT): Likewise.
4949 (MAX_VALUE_INIT): Likewise.
4950 (MIN_VALUE_INIT): Likewise.
4951 (MIN_SUBNORM_VALUE_INIT): Likewise.
4952 (plus_zero): Initialize with PLUS_ZERO_INIT.
4953 (minus_zero): Initialize with MINUS_ZERO_INIT.
4954 (plus_infty): Initialize with PLUS_INFTY_INIT.
4955 (minus_infty): Initialize with MINUS_INFTY_INIT.
4956 (qnan_value): Initialize with QNAN_VALUE_INIT.
4957 (max_value): Initialize with MAX_VALUE_INIT.
4958 (min_value): Initialize with MIN_VALUE_INIT.
4959 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4960
ae08db3b
JM
4961 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4962 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4963 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4964 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4965
f44bf14a
JM
4966 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4967 (RUN_TEST_2_f): Likewise.
4968 (RUN_TEST_ff_f): Likewise.
4969 (RUN_TEST_fi_f): Likewise.
4970 (RUN_TEST_fl_f): Likewise.
4971 (RUN_TEST_fff_f): Likewise.
4972 (RUN_TEST_c_f): Likewise.
4973 (RUN_TEST_f_f1): Likewise.
4974 (RUN_TEST_fF_f1): Likewise.
4975 (RUN_TEST_fI_f1): Likewise.
4976 (RUN_TEST_ffI_f1): Likewise.
4977 (RUN_TEST_c_c): Likewise.
4978 (RUN_TEST_cc_c): Likewise.
4979 (RUN_TEST_f_i): Likewise.
4980 (RUN_TEST_f_i_tg): Likewise.
4981 (RUN_TEST_ff_i_tg): Likewise.
4982 (RUN_TEST_f_b): Likewise.
4983 (RUN_TEST_f_b_tg): Likewise.
4984 (RUN_TEST_f_l): Likewise.
4985 (RUN_TEST_f_L): Likewise.
4986 (RUN_TEST_sincos): Likewise.
4987 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4988 whether to show exceptions. Do not include ");\n" in return
4989 value.
4990 (special_functions): Output call to RUN_TEST_sincos instead of
4991 check_float calls. Update calls to new_test.
4992 (parse_args): Output call to single RUN_TEST_* macro instead of
4993 check_* calls and other assignments. Update calls to new_test.
4994
d8cd06db
JM
4995 [BZ #2546]
4996 [BZ #2560]
4997 [BZ #5159]
4998 [BZ #15426]
4999 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5000 input to result for tgamma overflow.
5001 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5002 (gamma_coeff): New variable.
5003 (NCOEFF): New macro.
5004 (gamma_positive): New function.
5005 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5006 underflow here. Use gamma_positive instead of exp (lgamma) for
5007 other arguments.
5008 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5009 (gamma_coeff): New variable.
5010 (NCOEFF): New macro.
5011 (gammaf_positive): New function.
5012 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5013 underflow here. Use gamma_positive instead of exp (lgamma) for
5014 other arguments.
5015 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5016 (gamma_coeff): New variable.
5017 (NCOEFF): New macro.
5018 (gammal_positive): New function.
5019 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5020 underflow here. Use gamma_positive instead of exp (lgamma) for
5021 other arguments.
5022 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5023 (gamma_coeff): New variable.
5024 (NCOEFF): New macro.
5025 (gammal_positive): New function.
5026 (__ieee754_gammal_r): Handle positive infinity, overflow and
5027 underflow here. Handle NaN the same as positive infinity. Remove
5028 check x < 0xffffffff for negative integers. Use gamma_positive
5029 instead of exp (lgamma) for other arguments.
5030 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5031 (gamma_coeff): New variable.
5032 (NCOEFF): New macro.
5033 (gammal_positive): New function.
5034 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5035 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5036 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5037 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5038 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5039 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5040 * sysdeps/generic/math_private.h (__gamma_productf): New
5041 prototype.
5042 (__gamma_product): Likewise.
5043 (__gamma_productl): Likewise.
5044 * math/Makefile (libm-calls): Add gamma_product.
5045 * math/libm-test.inc (tgamma_test): Add more tests.
5046 * sysdeps/i386/fpu/libm-test-ulps: Update.
5047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5048
bb7cf681
OB
50492013-05-08 Ondřej Bílka <neleai@seznam.cz>
5050
5051 * benchtests/bench-skeleton.c (main): Preheat CPU.
5052
ba853947
AJ
50532013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5054
5055 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5056
8347c74c
RM
50572013-05-07 Roland McGrath <roland@hack.frob.com>
5058
5059 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5060 and _dl_skip_args_internal.
5061
e8dd4791
CD
50622013-05-07 Carlos O'Donell <carlos@redhat.com>
5063
5064 * manual/message.texi (Message Translation): Talk about users.
5065 Message to key mapping impacts design.
5066
c7405830
RM
50672013-05-06 Roland McGrath <roland@hack.frob.com>
5068
a9173057
RM
5069 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5070
976e2f03
RM
5071 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5072
9723ffc5
RM
5073 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5074 * sysdeps/wordsize-64/glob64.c: ... here.
5075
962e6658
RM
5076 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5077 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5078 New macros.
5079
ee586a6d
RM
5080 * debug/getlogin_r_chk.c: Moved to ...
5081 * login/getlogin_r_chk.c: ... here.
5082 * debug/Makefile (routines): Move getlogin_r_chk to ...
5083 * login/Makefile (routines): ... here.
5084 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5085 * login/Versions (libc: GLIBC_2.4): ... here.
5086
355f9165
RM
5087 * io/poll.c (__poll): Renamed from poll.
5088 Add libc_hidden_def.
5089 (poll): Define as weak alias.
5090
bd9ffde6
RM
5091 * debug/ptsname_r_chk.c: Moved to ...
5092 * login/ptsname_r_chk.c: ... here.
5093 * debug/Makefile (routines): Move ptsname_r_chk to ...
5094 * login/Makefile (routines): ... here.
5095 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5096 * login/Versions (libc: GLIBC_2.4): ... here.
5097
8fb16a04
RM
5098 * posix/getlogin.c: Moved to ...
5099 * login/getlogin.c: ... here.
5100 * posix/getlogin_r.c: Moved to ...
5101 * login/getlogin_r.c: ... here.
5102 * posix/getlogin_r.c: Moved to ...
5103 * login/getlogin_r.c: ... here.
5104 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5105 * login/Makefile (routines): ... here.
5106 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5107 * login/Versions (libc: GLIBC_2.0): ... here.
5108
b99b892f
RM
5109 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5110 (setrlimit): Define as weak alias.
5111
c7405830
RM
5112 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5113 Call __ names for open, ftruncate, and close.
5114 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5115 (truncate): Define as weak alias.
5116
5bf96de5
JM
51172013-05-06 Joseph Myers <joseph@codesourcery.com>
5118
9ea3513c
JM
5119 * math/gen-libm-test.pl (parse_args): Initialize x before each
5120 test of frexp, modf and remquo.
5121
5bf96de5
JM
5122 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5123 test signgam value.
5124
16e616a7
AZ
51252013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5126
5127 [BZ #15418]
5128 [BZ #15419]
5129 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5130 internal tests.
5131 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5132
d5e82754
RM
51332013-05-06 Roland McGrath <roland@hack.frob.com>
5134
5135 * elf/dl-writev.h: New file.
5136 * elf/dl-misc.c: Include it.
5137 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5138 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5139
a7548d41
JM
51402013-05-04 Joseph Myers <joseph@codesourcery.com>
5141
b7dab1e4
JM
5142 * math/libm-test.inc (noXFails): Remove variable.
5143 (noXPasses): Likewise.
5144 (BUILD_COMPLEX_INT): Remove macro.
5145 (print_screen): Remove xfail argument.
5146 (print_screen_max_error): Likewise.
5147 (update_stats): Likewise.
5148 (print_max_error): Likewise. Update calls to other affected
5149 functions.
5150 (print_complex_max_error): Likewise.
5151 (test_single_exception): Update calls to print_screen.
5152 (test_single_errno): Likewise.
5153 (check_float_internal): Remove xfail argument. Update calls to
5154 other affected functions.
5155 (check_float): Likewise.
5156 (check_complex): Likewise.
5157 (check_int): Likewise.
5158 (check_long): Likewise.
5159 (check_bool): Likewise.
5160 (check_longlong): Likewise.
5161 (main): Don't print noXFails and noXPasses.
5162 * math/gen-libm-test.pl (top level): Don't mention expected
5163 failure handling in comment.
5164 (new_test): Don't handle expected failures.
5165 (parse_args): Don't mention expected failure handling in comment.
5166 (generate_testfile): Don't handle expected failures.
5167 (parse_ulps): Likewise.
5168 (print_ulps_file): Likewise.
5169 (get_failure): Remove function.
5170 (output_test): Don't handle expected failures.
5171 * make/README.libm-test: Don't mention expected failure handling.
5172
a7548d41
JM
5173 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5174 (minus_zero): Likewise.
5175 (plus_infty): Likewise.
5176 (minus_infty): Likewise.
5177 (qnan_value): Likewise.
5178 (max_value): Likewise.
5179 (min_value): Likewise.
5180 (min_subnorm_value): Likewise.
5181 (initialize): Do not initialize those variables dynamically.
5182
60bfd54c
RM
51832013-05-03 Roland McGrath <roland@hack.frob.com>
5184
cc0e6ed8
RM
5185 * io/open.c (__open_2): Moved to ...
5186 * io/open_2.c: ... this new file.
5187 * io/open64.c (__open64_2): Moved to ...
5188 * io/open64_2.c: ... this new file.
5189 * io/openat.c (__openat_2): Moved to ...
5190 * io/openat_2.c: ... this new file.
5191 * io/openat64.c (__openat64_2): Moved to ...
5192 * io/openat64_2.c: ... this new file.
5193 * io/Makefile (routines): Add them.
5194 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5195 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5196 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5197 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5198 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5199 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5200 (__openat64): Add hidden_ver.
5201 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5202 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5203
60bfd54c
RM
5204 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5205 Separately conditionalize setting of GLRO(dl_sysinfo) so
5206 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5207 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5208
83e7640f
AZ
52092013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5210
5211 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5212 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5213 definition.
5214 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5215 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5216 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5217 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5218 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5219
d5dc2af3
JM
52202013-05-03 Joseph Myers <joseph@codesourcery.com>
5221
c31a5b1e
JM
5222 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5223 test signgam value.
5224
d5dc2af3
JM
5225 * math/libm-test.inc (hypot_test): Do not use
5226 IGNORE_ZERO_INF_SIGN.
5227
164fd39d
AJ
52282013-05-03 Andreas Jaeger <aj@suse.de>
5229
5230 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5231 Linux 3.9.
5232 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5233 (PF_MAX): Adjust for VSOCK change.
5234
8237f48c
AZ
52352013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5236
5237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5238
9df02941
CD
52392013-05-02 Carlos O'Donell <carlos@redhat.com>
5240
5241 [BZ #15264]
5242 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5243 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5244 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5245
d422395e
DM
52462013-05-02 David S. Miller <davem@davemloft.net>
5247
5248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5249
a07c5731
OB
52502013-05-01 Ondřej Bílka <neleai@seznam.cz>
5251
5252 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5253
1324e37f
RM
52542013-05-01 Roland McGrath <roland@hack.frob.com>
5255
5256 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5257
0695940b
RS
52582013-05-01 Richard Smith <richard@metafoo.co.uk>
5259
bb5f27ad 5260 [BZ #14952]
0695940b
RS
5261 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5262 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5263 Use __attribute__ ((__gnu_inline__)).
5264 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5265 Don't use __attribute__ ((__gnu_inline__)).
5266
10de07f5
JM
52672013-05-01 Joseph Myers <joseph@codesourcery.com>
5268
5269 [BZ #15423]
5270 * math/s_catan.c (__catan): Handle small real or imaginary part of
5271 input specially to avoid spurious underflow.
5272 * math/s_catanf.c (__catanf): Likewise.
5273 * math/s_catanh.c (__catanh): Likewise.
5274 * math/s_catanhf.c (__catanhf): Likewise.
5275 * math/s_catanhl.c (__catanhl): Likewise.
5276 * math/s_catanl.c (__catanl): Likewise.
5277 * math/libm-test.inc (catan_test): Add more tests.
5278 (catanh_test): Likewise.
5279 * sysdeps/i386/fpu/libm-test-ulps: Update.
5280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5281
cb4d5414
AZ
52822013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5283
5284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5285
caf84319
JM
52862013-04-30 Joseph Myers <joseph@codesourcery.com>
5287
5288 [BZ #15416]
5289 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5290 accurately for denominator in atan2.
5291 * math/s_catanf.c (__catanf): Likewise.
5292 * math/s_catanh.c (__catanh): Likewise.
5293 * math/s_catanhf.c (__catanhf): Likewise.
5294 * math/s_catanhl.c (__catanhl): Likewise.
5295 * math/s_catanl.c (__catanl): Likewise.
5296 * math/libm-test.inc (catan_test): Add more tests.
5297 (catanh_test): Likewise.
5298 * sysdeps/i386/fpu/libm-test-ulps: Update.
5299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5300
d569c6ee
SP
53012013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5302
6dbe713d
SP
5303 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5304
f0ee064b
SP
5305 * benchtests/Makefile (bench): Remove slow benchmarks.
5306 * benchtests/atan-inputs: Add slow benchmark inputs.
5307 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5308 (BENCH_FUNC): Accept variant offset.
5309 (VARIANT): Define.
5310 * benchtests/bench-skeleton.c (main): Run benchmark for each
5311 variant.
5312 * benchtests/cos-inputs: Add slow benchmark inputs.
5313 * benchtests/exp-inputs: Likewise.
5314 * benchtests/pow-inputs: Likewise.
5315 * benchtests/sin-inputs: Likewise.
5316 * benchtests/slowatan-inputs: Remove.
5317 * benchtests/slowatan.c: Remove.
5318 * benchtests/slowcos-inputs: Remove.
5319 * benchtests/slowcos.c: Remove.
5320 * benchtests/slowexp-inputs: Remove.
5321 * benchtests/slowexp.c: Remove.
5322 * benchtests/slowpow-inputs: Remove.
5323 * benchtests/slowpow.c: Remove.
5324 * benchtests/slowsin-inputs: Remove.
5325 * benchtests/slowsin.c: Remove.
5326 * benchtests/slowtan-inputs: Remove.
5327 * benchtests/slowtan.c: Remove.
5328 * benchtests/tan-inputs: Add slow benchmark inputs.
5329 * scripts/bench.pl: Parse comments and directives.
5330
d569c6ee
SP
5331 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5332 in CPPFLAGS.
5333 ($(objpfx)bench-%.c): Remove *-ITER.
5334 * benchtests/bench-modf.c: Remove definition of ITER.
5335 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5336 (main): Loop for DURATION seconds instead of fixed number of
5337 iterations.
5338 * scripts/bench.pl: Don't expect iterations in parameters.
5339
a6a242fe
RM
53402013-04-29 Roland McGrath <roland@hack.frob.com>
5341
5342 * io/fchdir.c (__fchdir): Renamed from fchdir.
5343 (fchdir): Define as weak alias.
5344
f2da7793
JM
53452013-04-29 Joseph Myers <joseph@codesourcery.com>
5346
5347 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5348 (ERRNO_EDOM): Likewise.
5349 (ERRNO_ERANGE): Likewise.
5350 (noErrnoTests): New variable.
5351 (init_max_error): Set errno to 0.
5352 (test_single_errno): New function.
5353 (test_errno): Likewise.
5354 (check_float_internal): Call test_errno. Set errno to 0.
5355 (check_complex): Refer to errno tests in comment.
5356 (check_int): Call test_errno. Set errno to 0.
5357 (check_long): Likewise.
5358 (check_bool): Likewise.
5359 (check_longlong): Likewise.
5360 (cos_test): Use ERRNO_* flags for errno tests instead of
5361 check_int.
5362 (expm1_test): Likewise.
5363 (fmod_test): Likewise.
5364 (ilogb_test): Likewise.
5365 (lgamma_test): Likewise.
5366 (pow_test): Likewise.
5367 (remainder_test): Likewise.
5368 (sin_test): Likewise.
5369 (tan_test): Likewise.
5370 (yn_test): Likewise.
5371 (initialize): Set errno to 0.
5372 (main): Print number of errno tests.
5373 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5374
b1a36ceb
AJ
53752013-04-29 Andreas Jaeger <aj@suse.de>
5376
c3ed8088
AJ
5377 [BZ #15084]
5378 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5379 and RES_USEVC.
5380
f1a24198
AJ
5381 [BZ #15085]
5382 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5383 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5384 unimplemented.
5385
9ce3b2cb
AJ
5386 [BZ #15380]
5387 * stdlib/random.c (__initstate): Return NULL if
5388 __initstate fails.
5389
f1a24198 5390 [BZ #15086]
b1a36ceb
AJ
5391 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5392 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5393 RES_SNGLKUPREOP.
5394
7e7b6f36
AZ
53952013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5396
5397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5398
4d14f449
JM
53992013-04-29 Joseph Myers <joseph@codesourcery.com>
5400
5401 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5402 of individual tests.
5403 (casin_test): Likewise.
5404 (casinh_test): Likewise.
5405
5b4217d7
JM
54062013-04-27 Joseph Myers <joseph@codesourcery.com>
5407
5408 [BZ #15409]
5409 * math/s_catan.c (__catan): Handle arguments with large real or
5410 imaginary part separately without squaring.
5411 * math/s_catanf.c (__catanf): Likewise.
5412 * math/s_catanh.c (__catanh): Likewise.
5413 * math/s_catanhf.c (__catanhf): Likewise.
5414 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5415 and redefine.
5416 (__catanhl): Handle arguments with large real or imaginary part
5417 separately without squaring.
5418 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5419 and redefine.
5420 (__catanl): Handle arguments with large real or imaginary part
5421 separately without squaring.
5422 * math/libm-test.inc (catan_test): Add more tests.
5423 (catanh_test): Likewise.
5424 * sysdeps/i386/fpu/libm-test-ulps: Update.
5425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5426
4220c3ef
AJ
54272013-04-27 Andreas Jaeger <aj@suse.de>
5428
5429 [BZ #15007]
5430 * stdlib/stdlib.h: Update guards for qecvt.
5431 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5432 <stdlib.h>.
5433
4721b2d1
AM
54342013-04-27 Allan McRae <allan@archlinux.org>
5435
5436 * sysdeps/i386/fpu/libm-test-ulps: Update.
5437
f0302940
JM
54382013-04-26 Joseph Myers <joseph@codesourcery.com>
5439
9457fd95
JM
5440 [BZ #15406]
5441 * math/s_catan.c: Include <float.h>.
5442 (__catan): Ensure underflow exception occurs for underflowed
5443 result.
5444 * math/s_catanf.c: Include <float.h>.
5445 (__catanf): Ensure underflow exception occurs for underflowed
5446 result.
5447 * math/s_catanh.c: Include <float.h>.
5448 (__catanh): Ensure underflow exception occurs for underflowed
5449 result.
5450 * math/s_catanhf.c: Include <float.h>.
5451 (__catanhf): Ensure underflow exception occurs for underflowed
5452 result.
5453 * math/s_catanhl.c: Include <float.h>.
5454 (__catanhl): Ensure underflow exception occurs for underflowed
5455 result.
5456 * math/s_catanl.c: Include <float.h>.
5457 (__catanl): Ensure underflow exception occurs for underflowed
5458 result.
5459 * math/libm-test.inc (catan_test): Add more tests.
5460 (catanh_test): Likewise.
5461
f0302940
JM
5462 [BZ #15405]
5463 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5464 underflowed result.
5465 * math/s_ccoshf.c (__ccoshf): Likewise.
5466 * math/s_ccoshl.c (__ccoshl): Likewise.
5467 * math/s_csin.c (__csin): Likewise.
5468 * math/s_csinf.c (__csinf): Likewise.
5469 * math/s_csinh.c (__csinh): Likewise.
5470 * math/s_csinhf.c (__csinhf): Likewise.
5471 * math/s_csinhl.c (__csinhl): Likewise.
5472 * math/s_csinl.c (__csinl): Likewise.
5473 * math/libm-test.inc (ccos_test): Add more tests.
5474 (ccosh_test): Likewise.
5475 (csin_test): Likewise.
5476 (csinh_test): Likewise.
5477
aa630f59
AZ
54782013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5479
5480 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5481 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5482 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5483 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5484 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5485 powerpc/power5+/fpu folders.
5486 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5487
5488
1b835983
MT
54892013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5490
5491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5492
73709b26
JM
54932013-04-25 Joseph Myers <joseph@codesourcery.com>
5494
5495 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5496 additions to variable.
5497 [$(config-machine) = x86_64] (modules-names): Likewise.
5498 ($(objpfx)tst-audit3): Remove dependency.
5499 ($(objpfx)tst-audit3.out): Likewise.
5500 ($(objpfx)tst-audit4): Likewise.
5501 ($(objpfx)tst-audit4.out): Likewise.
5502 ($(objpfx)tst-audit5): Likewise.
5503 ($(objpfx)tst-audit5.out): Likewise.
5504 ($(objpfx)tst-audit6): Likewise.
5505 ($(objpfx)tst-audit6.out): Likewise.
5506 ($(objpfx)tst-audit7): Likewise.
5507 ($(objpfx)tst-audit7.out): Likewise.
5508 (tst-audit3-ENV): Remove variable.
5509 (tst-audit4-ENV): Likewise.
5510 (tst-audit5-ENV): Likewise.
5511 (tst-audit6-ENV): Likewise.
5512 (tst-audit7-ENV): Likewise.
5513 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5514 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5515 addition to variable.
5516 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5517 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5518 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5519 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5520 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5521 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5522 tst-audit3, tst-audit4 and tst-audit5.
5523 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5524 tst-audit6 and tst-audit7.
5525 [$(subdir) = elf] (modules-names): Add audit modules for those
5526 tests.
5527 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5528 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5529 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5530 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5531 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5532 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5533 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5534 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5535 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5536 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5537 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5538 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5539 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5540 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5541 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5542 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5543 Likewise.
5544 [$(subdir) = elf && $(config-cflags-avx) = yes]
5545 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5546 [$(subdir) = elf && $(config-cflags-avx) = yes]
5547 (CFLAGS-tst-auditmod4a.c): Likewise.
5548 [$(subdir) = elf && $(config-cflags-avx) = yes]
5549 (CFLAGS-tst-auditmod4b.c): Likewise.
5550 [$(subdir) = elf && $(config-cflags-avx) = yes]
5551 (CFLAGS-tst-auditmod6b.c): Likewise.
5552 [$(subdir) = elf && $(config-cflags-avx) = yes]
5553 (CFLAGS-tst-auditmod6c.c): Likewise.
5554 [$(subdir) = elf && $(config-cflags-avx) = yes]
5555 (CFLAGS-tst-auditmod7b.c): Likewise.
5556 * elf/tst-audit3.c: Move to ...
5557 * sysdeps/x86_64/tst-audit3.c: ... here.
5558 * elf/tst-audit4.c: Move to ...
5559 * sysdeps/x86_64/tst-audit4.c: ... here.
5560 * elf/tst-audit5.c: Move to ...
5561 * sysdeps/x86_64/tst-audit5.c: ... here.
5562 * elf/tst-audit6.c: Move to ...
5563 * sysdeps/x86_64/tst-audit6.c: ... here.
5564 * elf/tst-audit7.c: Move to ...
5565 * sysdeps/x86_64/tst-audit7.c: ... here.
5566 * elf/tst-auditmod3a.c: Move to ...
5567 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5568 * elf/tst-auditmod3b.c: Move to ...
5569 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5570 * elf/tst-auditmod4a.c: Move to ...
5571 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5572 * elf/tst-auditmod4b.c: Move to ...
5573 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5574 * elf/tst-auditmod5a.c: Move to ...
5575 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5576 * elf/tst-auditmod5b.c: Move to ...
5577 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5578 * elf/tst-auditmod6a.c: Move to ...
5579 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5580 * elf/tst-auditmod6b.c: Move to ...
5581 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5582 * elf/tst-auditmod6c.c: Move to ...
5583 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5584 * elf/tst-auditmod7a.c: Move to ...
5585 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5586 * elf/tst-auditmod7b.c: Move to ...
5587 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5588
1ef74943
PP
55892013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5590
5591 [BZ #15366]
5592 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5593 define unconditionally.
5594 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5595 define unconditionally.
5596 (INT8_C, INT16_C, etc.): Likewise.
5597
93fd48c5
MR
55982013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5599
ae9552cf
MR
5600 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5601 __ehdr_start with hidden visibility.
5602
93fd48c5
MR
5603 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5604
418601aa
CD
56052013-04-24 Carlos O'Donell <carlos@redhat.com>
5606
5607 * math/libm-test.inc (cos_test): Use accurate hex constants.
5608 (sincost_test): Likewise.
5609
2f38fbfe
JM
56102013-04-24 Joseph Myers <joseph@codesourcery.com>
5611
5e221800
JM
5612 * math/libm-test.inc (catan_test): Add more tests.
5613 (catanh_test): Likewise.
5614
77f143fd
JM
5615 * math/s_catanf.c (__catanf): Use suffixed floating-point
5616 constants.
5617 * math/s_catanhf.c (__catanhf): Likewise.
5618 * math/s_catanhl.c (__catanhl): Likewise.
5619 * math/s_catanl.c (__catanl): Likewise.
5620
2f38fbfe
JM
5621 [BZ #15394]
5622 * math/s_catan.c (__catan): Calculate imaginary part of result
5623 with log1p not log unless computing log of number close to 0.
5624 * math/s_catanf.c (__catanf): Likewise.
5625 * math/s_catanl.c (__catanl): Likewise.
5626 * math/s_catanh.c (__catanh): Calculate real part of result with
5627 log1p not log unless computing log of number close to 0.
5628 * math/s_catanhf.c (__catanhf): Likewise.
5629 * math/s_catanhl.c (__catanhl): Likewise.
5630 * math/libm-test.inc (catan_test): Add more tests.
5631 (catanh_test): Likewise.
5632 * sysdeps/i386/fpu/libm-test-ulps: Update.
5633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5634
45d69176
SP
56352013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5636
5637 * benchtests/Makefile: Mention files in which fast and slow
5638 paths of math functions are implemented.
5639
87f51853
RM
56402013-04-23 Roland McGrath <roland@hack.frob.com>
5641
5642 * sysdeps/posix/timespec_get.c: New file.
5643
3c026539
AZ
56442013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5645
5646 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5647 POWER.
5648 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5649 for POWER.
5650 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5651 powerpc/power5/fpu folders.
5652 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5653 * benchtests/Makefile: Add modf testcase.
5654 * benchtests/bench-modf.c: New file: Benchmark test for mo
5655
ff491d14
SP
56562013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5657
5658 [BZ #14888]
5659 * time/Makefile (tests): Add tst-strptime-whitespace.
5660 * time/strptime_l.c (get_number): Use ISSPACE.
5661 (__strptime_internal): Likewise.
5662 * time/tst-strptime-whitespace.c: New test case.
5663
7ed3f4e8
AS
56642013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5665
5666 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5667 member.
5668 (_nss_files_init): Set it here.
5669
5c95f7b6
HC
56702013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5671
5672 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5673 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5674 unsigned.
5675
d34c9158
JBG
56762013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5677
5678 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5679
2169712d
SP
56802013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5681
5682 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5683 size just once.
5684
29c5de99
DM
56852013-04-21 David S. Miller <davem@davemloft.net>
5686
5687 * po/ru.po: Update Russion translation from translation project.
5688
ccdad15d
AC
56892013-04-17 Adam Conrad <adconrad@0c3.net>
5690
5691 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5692 and setfsgid.
5693
0f122b8d
CD
56942013-04-17 Carlos O'Donell <carlos@redhat.com>
5695
5c5b07da 5696 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5697 * configure: Regenerate.
5c5b07da 5698 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5699 Add example to error message.
5700 * sysdeps/i386/configure: Regenerate.
5701
037714dd
SP
57022013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5703
5704 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5705 slowtan.
5706 * benchtests/cos-inputs: New file.
5707 * benchtests/slowcos-inputs: New file.
5708 * benchtests/slowcos.c: New file.
5709 * benchtests/slowtan-inputs: New file.
5710 * benchtests/slowtan.c: New file.
5711 * benchtests/tan-inputs: New file.
5712
e913141d
RM
57132013-04-16 Roland McGrath <roland@hack.frob.com>
5714
5715 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5716 considered kosher.
5717
a2964074
SP
57182013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5719
4856bcd2
SP
5720 * benchtests/Makefile: Include cppflags-iterator.mk to add
5721 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5722
a2964074
SP
5723 * Makefile.in (bench-clean): New target.
5724 * benchtests/Makefile (bench-clean): Likewise.
5725
9fbf9aca
DH
57262013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5727
5728 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5729
207d1e2a
TS
57302013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5731
5732 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5733
306dfba9
AS
57342013-04-15 Andreas Schwab <schwab@suse.de>
5735
5736 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5737 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5738 * nscd/pwdcache.c (cache_addpw): Likewise.
5739 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5740 more than recsize.
5741
206a6699
SP
57422013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5743
5744 * benchtests/Makefile (bench): Write all output to
5745 bench-out.tmp together.
5746
0582f6b3
AS
57472013-04-15 Andreas Schwab <schwab@suse.de>
5748
5749 * nscd/nscd.c (main): Don't fork again after closing files.
5750
acb4325f
SP
57512013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5752
5cb26d0a
SP
5753 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5754
acb4325f
SP
5755 * benchtests/Rules (bench-deps): Collect dependencies into a
5756 single variable. Add Makefile to dependencies.
5757 ($(objpfx)bench-%.c): Depend on bench-deps.
5758
47792506
RM
57592013-04-12 Roland McGrath <roland@hack.frob.com>
5760 Xavier Roche <roche+kml2@exalead.com>
5761
5762 [BZ #15361]
5763 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5764 just that it's a file descriptor.
5765 * manual/llio.texi (Synchronizing AIO Operations): Update description
5766 for EBADF error from aio_fsync.
5767
8fc1bee5
SP
57682013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5769
5770 * Rules (bench): Move target definition...
5771 * benchtests/Makefile: ... here.
5772
aba5e333
CD
57732013-04-11 Carlos O'Donell <carlos@redhat.com>
5774
5775 * math/libm-test.inc (cos_test): Fix PI/2 test.
5776 (sincos_test): Likewise.
5777 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5778 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5779
273cdee8
AS
57802013-04-11 Andreas Schwab <schwab@suse.de>
5781
6ecec3b6
AS
5782 [BZ #13988]
5783 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5784 accept exponent character only when digits were seen.
5785 * stdio-common/Makefile (tests): Add bug26.
5786 * stdio-common/bug26.c: New file.
5787
273cdee8
AS
5788 [BZ #14293]
5789 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5790 non-freeable.
5791
8da491f5
SP
57922013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5793
01dc6df9
SP
5794 * Makeconfig (rtld-prefix): Define built linker prefix.
5795 * Rules (run-bench): Use it.
5796 * math/Makefile (run-regen-ulps): Likewise.
5797
8da491f5
SP
5798 * Rules (bench): Remove eval.
5799
abe7f530
SP
58002013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5801 Roland McGrath <roland@hack.frob.com>
5802 Ondrej Bilka <neleai@seznam.cz>
5803
5804 [BZ #15346]
5805 * time/getdate.c: Include ctype.h and alloca.h.
5806 (__getdate_r): Trim leading and trailing spaces of input.
5807 * time/tst-getdate.c (tests): Add tests with leading and
5808 trailing spaces.
5809
61c23e62
RM
58102013-04-08 Roland McGrath <roland@hack.frob.com>
5811
5812 [BZ #14280]
5813 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5814 when computing value.
5815
7208a313
CD
58162013-04-06 Carlos O'Donell <carlos@redhat.com>
5817
085b2d41
CD
5818 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5819 Use testrun.sh to run libm tests.
5820
7208a313
CD
5821 [BZ #15309]
5822 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5823
872c0acd
MM
58242013-04-06 Marko Myllynen <myllynen@redhat.com>
5825
5826 [BZ #15264]
5827 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5828
26510bdd
CD
58292013-04-06 Carlos O'Donell <carlos@redhat.com>
5830
5831 * Makefile.in (regen-ulps): New target.
5832 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5833 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5834 [ifneq (no,$(PERL)] (regen-ulps): New target.
5835 [ifeq (no,$(PERL)] (regen-ulps): New target.
5836 * math/libm-test.inc (ulps_file_name): Define.
5837 (output_dir): New variable.
5838 (options): Add "output-dir" option.
5839 (parse_opt): Handle 'o' case.
5840 (main): If output_dir is non-NULL use it as a prefix
5841 otherwise use "".
5842 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5843
a01f19c8
CD
58442013-04-06 Carlos O'Donell <carlos@redhat.com>
5845
5846 [BZ #10060, #10062]
5847 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5848 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5849 fail configure if __sync_val_compare_and_swap is not inlined.
5850 * sysdeps/i386/configure: Regenerate.
5851 * configure.in: Build for i686 when configured for i386.
5852 * configure: Regenerate.
5853 * README: Remove i386 reference.
5854
b7a329a5
CD
58552013-04-06 Carlos O'Donell <carlos@redhat.com>
5856
5857 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5858 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5859
bf0f50df
TS
58602013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5861
ee091edf
TS
5862 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5863 (lmsnanval): New variables.
5864 (F): Add conversion tests.
5865 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5866 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5867
a8b792d6
TS
5868 * stdio-common/tstdiomisc.c (F): Properly collect individual
5869 tests' results.
5870
a1cbf437
TS
5871 [BZ #14686, #15336]
5872 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5873 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5874 Instead, use input NaN values or generate a qNaN by arithmetic
5875 operation. Also fix bugs to comply with the standard.
5876 * math/libm-test.inc (remainder_test): Add more tests.
5877
8b43a0c9
TS
5878 [BZ #15335, #15342]
5879 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5880 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5881 input NaN values or generate a qNaN by arithmetic operation.
5882
d91da4ce
TS
5883 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5884 unreachable code.
5885
bf0f50df
TS
5886 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5887 definitions.
5888
05e166c8
JM
58892013-04-03 Joseph Myers <joseph@codesourcery.com>
5890
5891 [BZ #14478]
5892 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5893 underflowed result.
5894 * math/s_cexpf.c (__cexpf): Likewise.
5895 * math/s_cexpl.c (__cexpl): Likewise.
5896 * math/libm-test.inc (cexp_test): Add more tests.
5897
1cef1b19
AS
58982013-04-03 Andreas Schwab <schwab@suse.de>
5899
5900 [BZ #15330]
5901 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5902 order arrays from heap if bigger than alloca cutoff.
5903
74d87055
TS
59042013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5905
5906 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5907 (SNAN_TESTS_double): Refer to GCC PR56831.
5908 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5909 GCC PR56828.
5910
d755bba4
SP
59112013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5912
90d5d5bb
SP
5913 * Rules (bench): Move bench.out after the run is complete.
5914
73e0cd5d
SP
5915 * Rules (bench): Echo currently running benchmark.
5916
64aabd4b
SP
5917 * benchtests/Makefile (bench): Add atan and slowatan.
5918 * benchtests/atan-inputs: New file.
5919 * benchtests/slowatan-inputs: New file.
5920 * benchtests/slowatan.c: New file.
5921
c871eccd
SP
5922 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5923 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5924 its value.
5925
d755bba4
SP
5926 [BZ #15305]
5927 * sysdeps/unix/sysv/linux/kernel-features.h
5928 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5929 __ASSUME_XFS_RESTRICTED_CHOWN.
5930 * sysdeps/unix/sysv/linux/pathconf.c
5931 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5932 Save and restore errno.
5933
52ce4860
JM
59342013-04-02 Joseph Myers <joseph@codesourcery.com>
5935
5936 [BZ #15327]
5937 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5938 arguments using __kernel_casinh.
5939 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5940 arguments using __kernel_casinhf.
5941 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5942 arguments using __kernel_casinhl.
5943 * math/libm-test.inc (cacosh_test): Add more tests.
5944 * sysdeps/i386/fpu/libm-test-ulps: Update.
5945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5946
81f311c2
SP
59472013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5948
e7906a47
SP
5949 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5950 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5951
92e3664b
SP
5952 * bench/Makefile (bench): Add sin and slowsin.
5953 * benchtests/sin-inputs: New file.
5954 * benchtests/slowsin-inputs: New file.
5955 * benchtests/slowsin.c: New file.
5956
81f311c2
SP
5957 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5958 (bench): Add slowexp and slowpow.
5959 (exp-ITER): Increase iterations.
5960 (pow-ITER): Likewise.
5961 * benchtests/exp-inputs: Change input.
5962 * benchtests/pow-inputs: Likewise.
5963 * benchtests/slowexp-inputs: New file.
5964 * benchtests/slowexp.c: New file.
5965 * benchtests/slowpow-inputs: New file.
5966 * benchtests/slowpow.c: New file.
5967
ab0f1aa9
AZ
59682013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5969
5970 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5971 instructions.
5972 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5973 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5974 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5975 * benchtests/Makefile: Add rint benchtest.
5976 * benchtests/rint-inputs: Input for rint benchtest.
5977
57267616
TS
59782013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5979
5980 * Versions.def (libm): Add GLIBC_2.18.
5981 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5982 hidden libm prototypes.
5983 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5984 * math/Makefile (libm-calls): Add s_issignaling.
5985 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5986 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5987 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5988 declaration.
5989 * math/math.h [__USE_GNU] (issignaling): New macro.
5990 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5991 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5992 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5993 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5994 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5995 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5996 * manual/arith.texi (issignaling): New section.
5997 * manual/libm-err-tab.pl (@all_functions): Update comment.
5998 * math/gen-libm-test.pl (parse_args): Apply special handling for
5999 issignaling.
6000 * math/libm-test.inc (print_float, issignaling_test): New
6001 functions.
6002 (check_float_internal): Add issignaling checks.
6003 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6004 default definition.
6005 * sysdeps/powerpc/math-tests.h: New file.
6006 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6007 tests.
6008 * math/test-snan.c (TEST_FUNC): Likewise.
6009
6142896d
DM
60102013-03-30 David S. Miller <davem@davemloft.net>
6011
6012 * po/de.po: Update from translation team.
6013
ccc8cadf
JM
60142013-03-30 Joseph Myers <joseph@codesourcery.com>
6015
6016 [BZ #10357]
6017 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6018 imaginary part less than 1.0 and real part less than 0.5
6019 specially.
6020 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6021 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6022 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6023 (cacos_test): Add more tests.
6024 (casin_test): Likewise.
6025 (casinh_test): Likewise.
6026 * sysdeps/i386/fpu/libm-test-ulps: Update.
6027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6028
0f6a8d4b
SP
60292013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6030
0d1029de
SP
6031 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6032 ONE with its value.
6033
c2d94018
SP
6034 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6035 (__pow_mp): Replace ONE and MONE with their values.
6036 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6037 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6038 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6039 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6040 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6041 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6042
27ec37f1
SP
6043 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6044
a64d7e0e
SP
6045 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6046 (__pow_mp): Replace ZERO and MZERO with their values.
6047 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6048 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6049 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6050 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6051 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6052 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6053 (__sqr): Likewise.
6054
d26dd3eb
SP
6055 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6056
0f6a8d4b
SP
6057 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6058
e57b0c61
RM
60592013-03-28 Roland McGrath <roland@hack.frob.com>
6060
6061 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6062 Declare with __attribute__ ((weak)).
6063 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6064 Call __call_tls_dtors only if it's not NULL.
6065
356b3480
RM
60662013-03-28 Roland McGrath <roland@hack.frob.com>
6067
288f7d79
RM
6068 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6069 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6070 magic __ehdr_start linker symbol if it's defined.
6071 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6072 them up here if it was already done.
6073
dc0a0263
RM
6074 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6075 (_dl_aux_init): Use const in cast when setting it.
6076 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6077 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6078 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6079
3d3436ae
RM
6080 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6081 Declare them here.
6082 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6083 * csu/libc-tls.c: Nor here.
6084 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6085
356b3480
RM
6086 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6087 (__libc_message): Never call vsyslog.
6088
b0f1246a
AM
60892013-03-28 Alan Modra <amodra@gmail.com>
6090
6091 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6092 Define as empty.
6093 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6094 Likewise.
6095
fbbe2b9a
AZ
60962013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6097
6098 [BZ #15214]
6099 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6100 underflow.
6101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6102
1728ab37
SP
61032013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6104
7a86be6e
SP
6105 [BZ #15304]
6106 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6107 Don't add gid passed as argument.
6108
1728ab37
SP
6109 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6110
3a7182a1
JM
61112013-03-27 Joseph Myers <joseph@codesourcery.com>
6112
6113 [BZ #15307]
6114 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6115 imaginary part between 1.0 and 1.5 and real part less than 0.5
6116 specially.
6117 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6118 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6119 * math/libm-test.inc (cacos_test): Add more tests.
6120 (casin_test): Likewise.
6121 (casinh_test): Likewise.
6122 * sysdeps/i386/fpu/libm-test-ulps: Update.
6123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6124
6f2e90e7
SP
61252013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6126
5739f705
SP
6127 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6128 constants.
6129 (norm): Likewise.
6130 (denorm): Likewise.
6131 (__dbl_mp): Likewise.
6132 (add_magnitudes): Likewise.
6133 (sub_magnitudes): Likewise.
6134 (__add): Likewise.
6135 (__sub): Likewise.
6136 (__mul): Likewise.
6137 (__sqr): Likewise.
6138 (__inv): Likewise.
6139 (__dvd): Likewise.
6140
e375e83d
SP
6141 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6142 commented code.
6143 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6144 (__dubcos): Likewise.
6145 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6146 (__ieee754_acos): Likewise.
6147 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6148 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6149 (__exp1): Likewise.
6150 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6151 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6152 (log1): Likewise.
6153 (my_log2): Likewise.
6154 (checkint): Likewise.
6155 * sysdeps/ieee754/dbl-64/e_remainder.c
6156 (__ieee754_remainder): Likewise.
6157 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6158 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6159 (bsloww): Likewise.
6160 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6161
6f2e90e7
SP
6162 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6163 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6164 MANTISSA_STORE_T to store computations on mantissa. Use
6165 macros for rounding and division.
6166 (denorm): Likewise.
6167 (__dbl_mp): Likewise.
6168 (add_magnitudes): Likewise.
6169 (sub_magnitudes): Likewise.
6170 (__mul): Likewise.
6171 (__sqr): Likewise.
6172 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6173 powers of two in terms of TWOPOW macro.
6174 (mp_no): Make type of mantissa as MANTISSA_T.
6175 [!RADIXI]: Define RADIXI.
6176 [!TWO52]: Define TWO52.
6177 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6178
fce14d4e
AZ
61792013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6180
6181 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6182 llroundl symbol when building for PPC32.
6183
9ad027fb
MW
61842013-03-24 Mark H Weaver <mhw@netris.org>
6185
6186 * manual/arith.texi (Normalization Functions): Fix prototypes for
6187 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6188
e42a38dd
AZ
61892013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6190
6191 [BZ #13889]
6192 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6193 high value to check if expl overflow.
6194 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6195 to check for underflow and overflow.
6196 * math/libm-test.inc: Add exp test.
6197
2e0fb521
DL
61982013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6199
6200 [BZ #11120]
6201 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6202 with NOT_IN_libc.
6203
b5784d95
AZ
62042013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6205
6206 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6207 symbol.
6208
5aa4a1a1
TS
62092013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6210
bdef0be7
TS
6211 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6212 wrap blocks consisting of several statements.
6213
5aa4a1a1
TS
6214 * sysdeps/generic/math-tests.h: New file.
6215 * sysdeps/i386/fpu/math-tests.h: Likewise.
6216 * math/test-snan.c: Include it.
6217 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6218
98c48fe5
JM
62192013-03-21 Joseph Myers <joseph@codesourcery.com>
6220
6221 [BZ #15285]
6222 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6223 (__ieee754_j0l): Do not improve calculations using cos of twice
6224 input for inputs above LDBL_MAX / 2.0L.
6225 (__ieee754_y0l): Likewise.
6226 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6227 (__ieee754_j1l): Do not improve calculations using cos of twice
6228 input for inputs above LDBL_MAX / 2.0L.
6229 (__ieee754_y1l): Likewise.
6230 * math/libm-test.inc (j0_test): Add another test.
6231 (j1_test): Likewise.
6232 (y0_test): Likewise.
6233 (y1_test): Likewise.
6234 * sysdeps/i386/fpu/libm-test-ulps: Update.
6235
3775a8bc
SP
62362013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6237
6238 * Rules ($(objpfx)bench-%.c): Include code from a C source
6239 file.
6240
0a1b2ae6
JM
62412013-03-21 Joseph Myers <joseph@codesourcery.com>
6242
6243 [BZ #15287]
6244 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6245 imaginary part 1.0 and real part less than 0.5 specially.
6246 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6247 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6248 * math/libm-test.inc (cacos_test): Add more tests.
6249 (casin_test): Likewise.
6250 (casinh_test): Likewise.
6251 * sysdeps/i386/fpu/libm-test-ulps: Update.
6252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6253
b33d4ce4
SP
62542013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6255
6256 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6257 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6258
bef0b507
JM
62592013-03-20 Joseph Myers <joseph@codesourcery.com>
6260
6261 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6262 * config.make.in (config-cflags-sse4): Remove variable.
6263 (config-cflags-avx): Likewise.
6264 (config-cflags-sse2avx): Likewise.
6265 (config-cflags-novzeroupper): Likewise.
6266 (config-asflags-i686): Likewise.
6267 (have-mfma4): Likewise.
6268 (have-as-vis3): Likewise.
6269 (MIG): Likewise.
6270 * configure.in (MIG): Do not AC_SUBST.
6271 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6272 (libc_cv_cc_sse4): Do not AC_SUBST.
6273 (libc_cv_cc_avx): Likewise.
6274 (libc_cv_cc_sse2avx): Likewise.
6275 (libc_cv_cc_novzeroupper): Likewise.
6276 (libc_cv_cc_fma4): Likewise.
6277 (libc_cv_as_i686): Likewise.
6278 (libc_cv_sparc_as_vis3): Likewise.
6279 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6280 LIBC_CONFIG_VAR.
6281 (config-asflags-i686): Likewise.
6282 (config-cflags-avx): Likewise.
6283 (config-cflags-sse2avx): Likewise.
6284 (have-mfma4): Likewise.
6285 (config-cflags-novzeroupper): Likewise.
6286 * sysdeps/mach/configure.in (MIG): Likewise.
6287 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6288 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6289 LIBC_CONFIG_VAR.
6290 (config-cflags-avx): Likewise.
6291 (config-cflags-sse2avx): Likewise.
6292 (have-mfma4): Likewise.
6293 (config-cflags-novzeroupper): Likewise.
6294 * configure: Regenerated.
6295 * sysdeps/i386/configure: Likewise.
6296 * sysdeps/mach/configure: Likewise.
6297 * sysdeps/sparc/configure: Likewise.
6298 * sysdeps/x86_64/configure: Likewise.
6299
912cc4b3
RM
63002013-03-20 Roland McGrath <roland@hack.frob.com>
6301
6302 [BZ #14812]
6303 * locale/programs/localedef.c (options): Put N_ translation marker
6304 on argument names, not just descriptions.
6305
04eed2b0
MS
63062013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6307
6308 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6309
a065ceff
OB
63102013-03-20 Ondřej Bílka <neleai@seznam.cz>
6311
9bb2a810 6312 [BZ #14176]
a065ceff
OB
6313 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6314
a600e5ce
RM
63152013-03-19 Roland McGrath <roland@hack.frob.com>
6316
6317 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6318 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6319 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6320 [!BEFORE_ABORT] (before_abort): New function.
6321 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6322 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6323 (writev_for_fatal): New function.
6324 (WRITEV_FOR_FATAL): New macro; call that.
6325 (backtrace_and_maps): New function.
6326 (BEFORE_ABORT): New macro; call that.
6327 (struct str_list): Type removed.
6328 (__libc_message, __libc_fatal): Functions removed.
6329 Include <sysdeps/posix/libc_fatal.c> instead.
6330
6b18bea6
JM
63312013-03-19 Joseph Myers <joseph@codesourcery.com>
6332
6333 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6334 constants.
6335 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6336 double constants.
6337
aaa8cb4b
AS
63382013-03-19 Andreas Schwab <schwab@suse.de>
6339
44673770
AS
6340 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6341 * sysdeps/gnu/configure: Regenerate.
6342
aaa8cb4b
AS
6343 * configure.in: Substitute libc_cv_rtlddir.
6344 * configure: Regenerate.
6345 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6346 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6347 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6348 * elf/Makefile (install-others, CFLAGS-interp.c)
6349 (ldso_install, common-ldd-rewrite): Likewise.
6350 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6351 $(inst_slibdir)/$(rtld-installed-name).
6352 * scripts/rellns-sh: Add -p option.
6353 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6354 for source.
6355
d3cfc668
SP
63562013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6357
6358 * manual/nptl.texi: Renamed to ...
6359 * manual/threads.texi: ... this.
6360 * manual/Makefile (chapters): Update.
6361
0e2b9cdd
RM
63622013-03-18 Roland McGrath <roland@hack.frob.com>
6363
6364 [BZ #14812]
6365 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6366 on argument names, not just descriptions.
0e2b9cdd
RM
6367 * malloc/memusagestat.c (options): Likewise.
6368 * nss/getent.c (options): Likewise.
63270c24
RM
6369
63702013-03-18 Benno Schulenberg <bensberg@justemail.net>
6371
6372 [BZ #14812]
6373 * iconv/iconv_prog.c (options): Put N_ translation marker
6374 on argument names, not just descriptions.
6375 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6376
b2e1393c
OB
63772013-03-18 Ondrej Bilka <neleai@seznam.cz>
6378
6379 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6380 implementation which is faster on all x86_64 architectures.
6381 Tested on AMD, Intel Nehalem, SNB, IVB.
6382 * sysdeps/x86_64/strnlen.S: Likewise.
6383
6384 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6385 Remove all multiarch strlen and strnlen versions.
6386 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6387 Remove strlen and strnlen related parts.
6388
6389 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6390 Inline strlen part.
6391 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6392
6393 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6394 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6395 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6396 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6397 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6398 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6399
ec4ff04d
CD
64002013-03-17 Carlos O'Donell <carlos@redhat.com>
6401
6402 * manual/memory.texi (Malloc Tunable Parameters):
6403 Sort parameters alphabetically. Add comments for missing entries.
6404
cd18e90a
DM
64052013-03-17 David S. Miller <davem@davemloft.net>
6406
6407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6408
2a185d32
JM
64092013-03-16 Joseph Myers <joseph@codesourcery.com>
6410
d2f9799e
JM
6411 [BZ #15283]
6412 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6413 for arguments at most half maximum finite value.
6414 * math/libm-test.inc (j0_test): Add more tests.
6415 (j1_test): Likewise.
6416 (y0_test): Likewise.
6417 (y1_test): Likewise.
6418 * sysdeps/i386/fpu/libm-test-ulps: Update.
6419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6420
2a185d32
JM
6421 [BZ #14155]
6422 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6423 1 / x and functions P and Q for arguments above 0x1p256L.
6424 (__ieee754_y0l): Likewise.
6425 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6426 (__ieee754_y1l): Likewise.
6427 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6428 (j1_test): Likewise.
6429 (y0_test): Likewise.
6430 (y1_test): Likewise.
6431
6cbec759
TS
64322013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6433
6434 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6435 variable.
6436
bc16e260
RM
64372013-03-15 Roland McGrath <roland@hack.frob.com>
6438
aefc9b8c
RM
6439 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6440 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6441 zero since it's initialized to EXEC_PAGESIZE.
6442
bc16e260
RM
6443 * sysdeps/unix/sysv/linux/ldsodefs.h
6444 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6445 * sysdeps/generic/ldsodefs.h: ... here.
6446
a57da955
TS
64472013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6448
af00a34d
TS
6449 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6450
495ded2c
TS
6451 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6452 math/test-snan.c.
6453 * math/test-snan.c: Renamed from
6454 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6455 * math/Makefile (tests): Add test-snan.
6456 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6457 test-powerpc-snan.
6458
777b0332
TS
6459 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6460 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6461 functions.
6462 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6463 __builtin_nan family of functions.
6464 * math/libm-test.inc (initialize): Initialize qnan_value with
6465 __builtin_nan family of functions.
6466 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6467 Remove variables.
6468 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6469 Remove functions.
6470 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6471 storage class. Initialize qNaN_var and sNaN_var with
6472 __builtin_nan and __builtin_nans families of functions,
6473 respectively.
6474
64d063b8
TS
6475 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6476 (sqrt_test): Remove duplicate test with qNaN input.
6477 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6478 (round_test, signbit_test, significand_test): Note missing +/-Inf
6479 as well as qNaN tests.
6480
67e971f1
TS
6481 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6482 qNaN_var. Fix a few strings, too.
6483 * math/libm-test.inc (nan_value): Rename to qnan_value.
6484 * math/gen-libm-test.pl (%beautify): Adjust to that.
6485 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6486 * math/test-misc.c (main): Likewise.
6487 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6488 to __qnan_bytes, and __qnan_union, respectively.
6489 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6490 Likewise.
6491 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6492 and lqnanval, respectively.
6493 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6494 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6495 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6496 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6497
64487e12
TS
6498 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6499 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6500 doubles.
6501
e015e27b
TS
6502 * math/test-misc.c (main): Fix copy'n'pastos.
6503 * misc/tst-efgcvt.c (special): Likewise.
6504
a57da955
TS
6505 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6506 Remove declarations.
6507
1e380345
SP
65082013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6509
6510 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6511 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6512 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6513 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6514
ef26eece
AZ
65152013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6516
6517 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6518 macro to return vdso values correctly in IFUNC implementations.
6519 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6520 Optimization by using IFUNC.
6521
8cfdb7e0
SP
65222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6523 Richard Henderson <rth@redhat.com>
6524 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6525
6526 * Makefile.in (bench): New target.
6527 * NEWS: Mention the benchmark framework.
6528 * Rules (bench): Likewise.
6529 (binaries-bench): Generate binaries for functions to
6530 benchmark.
6531 * benchtests/Makefile: New makefile for benchmark tests.
6532 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6533 programs.
6534 * benchtests/exp-inputs: New input file for EXP function.
6535 * benchtests/pow-inputs: New input file for POW function.
6536 * scripts/bench.pl: New script to generate source files for
6537 benchmark programs.
6538
bcda9880
SP
65392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6540
d22ca8cd
SP
6541 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6542 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6543 computations on mantissa. Use macros for rounding and
6544 division.
6545 (denorm): Likewise.
6546 (__dbl_mp): Likewise.
6547 (add_magnitudes): Likewise.
6548 (sub_magnitudes): Likewise.
6549 (__mul): Likewise.
6550 (__sqr): Likewise.
6551 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6552 powers of two in terms of TWOPOW macro.
6553 (mp_no): Make type of mantissa as MANTISSA_T.
6554 [!RADIXI]: Define RADIXI.
6555 [!TWO52]: Define TWO52.
6556 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6557
bcda9880
SP
6558 * manual/nptl.texi (cindex): Modify threads to pthreads.
6559
06d5adfb
JM
65602013-03-15 Joseph Myers <joseph@codesourcery.com>
6561
6562 * sysdeps/x86_64/preconfigure: Regenerated.
6563
41c7328e
JM
65642013-03-14 Joseph Myers <joseph@codesourcery.com>
6565
6566 [BZ #14155]
6567 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6568 0x1p28 and above.
6569 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6570 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6571 0x1p28 and above.
6572 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6573 * math/libm-test.inc (j0_test): Do not allow one spurious
6574 underflow exception.
6575 (y1_test): Likewise.
6576
e25cfa60
SP
65772013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6578
0409959c
SP
6579 * manual/Makefile (chapters): Add nptl.
6580 * manual/debug.texi (Debugging Support): Add link to Threads
6581 chapter.
6582 * manual/nptl.texi: New file.
6583
e25cfa60
SP
6584 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6585
58a1335e
PB
65862013-03-14 Petr Baudis <pasky@ucw.cz>
6587
6588 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6589 for non-NULL pointer before the memory validity test. Pointed
6590 out by Holger Brunck <holger.brunck@keymile.com>.
6591
9dc7c64f
AS
65922013-03-13 Andreas Schwab <schwab@suse.de>
6593
6594 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6595 instead of .os.
6596
54206aa6
JM
65972013-03-13 Joseph Myers <joseph@codesourcery.com>
6598
6599 * timezone/zic.c: Update from tzcode 2013b.
6600
e98cdb38
CD
66012013-03-12 Carlos O'Donell <carlos@redhat.com>
6602
6603 * manual/install.texi (Configuring and compiling):
6604 Mention i686 and i586.
6605 * INSTALL: Regenerate.
6606
9967e003
RM
66072013-03-12 Roland McGrath <roland@hack.frob.com>
6608
6609 * sysdeps/init_array/elf-init.c: New file.
6610 * csu/elf-init.c
6611 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6612 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6613
6614 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6615 __gmon_start__ as global, but as static with a .preinit_array pointer.
6616 * sysdeps/init_array/gmon-start.c: New file. Use that.
6617 * sysdeps/init_array/crti.S: New file, empty except for comments.
6618 * sysdeps/init_array/crtn.S: Likewise.
6619
e6b5a293 66202013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6621
6622 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6623 definining bcopy.
80f844c9
OB
6624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6625 Remove Prefer_SSE_for_memop.
6626 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6627 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6628 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6630 memset-x86-64.
80f844c9 6631 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6632 Remove bzero, memset ifunc support.
80f844c9
OB
6633 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6634 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6635 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6636 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6637
fb6b0fcb
AS
66382013-03-11 Andreas Schwab <schwab@suse.de>
6639
6640 [BZ #15234]
6641 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6642 by SHLIB_COMPAT.
6643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6644 (GLIBC_2.16): Remove pthread_atfork.
6645
3e6bd4b1
PP
66462013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6647
6648 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6649 (ptestcases.h): Likewise.
6650
222d7f00
RM
66512013-03-08 Roland McGrath <roland@hack.frob.com>
6652
6653 * Makeconfig ($(common-objpfx)config.status): Depend on
6654 sysdeps/*/preconfigure{,.in} too.
6655
1ba4f030
JM
66562013-03-08 Joseph Myers <joseph@codesourcery.com>
6657
a222d91a
JM
6658 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6659 (__free_hook): Use void * instead of __malloc_ptr_t.
6660 (__malloc_hook): Likewise.
6661 (__realloc_hook): Likewise.
6662 (__memalign_hook): Likewise.
6663 (__after_morecore_hook): Likewise.
6664 * malloc/arena.c (save_malloc_hook): Likewise.
6665 (save_free_hook): Likewise.
6666 * malloc/hooks.c (malloc_hook_ini): Likewise.
6667 (realloc_hook_ini): Likewise.
6668 (memalign_hook_ini): Likewise.
6669 * malloc/malloc.c (malloc_hook_ini): Likewise.
6670 (realloc_hook_ini): Likewise.
6671 (memalign_hook_ini): Likewise.
6672 (__free_hook): Likewise.
6673 (__malloc_hook): Likewise.
6674 (__realloc_hook): Likewise.
6675 (__memalign_hook): Likewise.
6676 (__libc_malloc): Likewise.
6677 (__libc_free): Likewise.
6678 (__libc_realloc): Likewise.
6679 (__libc_memalign): Likewise.
6680 (__libc_valloc): Likewise.
6681 (__libc_pvalloc): Likewise.
6682 (__libc_calloc): Likewise.
6683 (__posix_memalign): Likewise.
6684 * malloc/morecore.c (__sbrk): Likewise.
6685 (__default_morecore): Likewise.
6686
5cc45e10
JM
6687 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6688
dd54b864
JM
6689 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6690 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6691 __malloc_ptrdiff_t.
6692
1ba4f030
JM
6693 * malloc/malloc.h (__malloc_size_t): Remove macro.
6694 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6695 __malloc_size_t.
6696 (old_memalign_hook): Likewise.
6697 (old_realloc_hook): Likewise.
6698 (struct hdr): Likewise.
6699 (flood): Likewise.
6700 (mallochook): Likewise.
6701 (memalignhook): Likewise.
6702 (reallochook): Likewise.
6703 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6704 (tr_old_realloc_hook): Likewise.
6705 (tr_old_memalign_hook): Likewise.
6706 (tr_mallochook): Likewise.
6707 (tr_reallochook): Likewise.
6708 (tr_memalignhook): Likewise.
6709
edf66e57
AZ
67102013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6711
6712 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6713 default_ldbl_pack and using as default implementation.
6714 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6715 implementation.
6716 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6717 redundant definition.
6718 (ldbl_insert_mantissa): Likewise.
6719 (ldbl_canonicalize): Likewise.
6720 (ldbl_nearbyint): Likewise.
6721 (ldbl_pack): Rename to ldbl_pack_ppc.
6722 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6723 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6724 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6725
6d9145d8
SP
67262013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6727
6728 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6729 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6730 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6731 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6733 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6734 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6735 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6736
4dd4e157
AJ
67372013-03-07 Andreas Jaeger <aj@suse.de>
6738
6739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6740 bits/mman-linux.h.
6741
adbb8027
SP
67422013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6743
ce544b5b
SP
6744 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6745 Include mpa.h and declare __MPEXP.
6746 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6747 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6748 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6749 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6750 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6751 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6752 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6753
4cc149fd
SP
6754 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6755 (__slowpow): Use long double EXPL and LOGL functions to
6756 compute POW.
6757 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6758 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6759 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6760 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6761 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6762 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6763
e6ebd4a7
SP
6764 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6765 intermediate variable to calculate exponent.
6766 (__sqr): Likewise.
6767 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6768 Likewise.
6769 (__sqr): Likewise.
6770
82a9811d
SP
6771 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6772 [!NO__SQR]: Define __sqr.
6773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6774 and NO__SQR. Remove all code except __mul and __sqr. Include
6775 sysdeps/ieee754/dbl-64/mpa.c.
6776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6777
adbb8027
SP
6778 [BZ #12723]
6779 * posix/Makefile (tests): Add tst-pathconf.
6780 * posix/tst-pathconf.c: New test case.
6781 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6782 _PC_PIPE_BUF.
6783 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6784
39120df9
PF
67852013-03-06 Patsy Franklin <pfrankli@redhat.com>
6786
6787 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6788
67525cb8
AJ
67892013-03-06 Andreas Jaeger <aj@suse.de>
6790
664a9ce4
AJ
6791 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6792 definition via __MAP_ANONYMOUS.
6793
8e39047d
AJ
6794 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6795 it's not part of Linux headers.
6796
67525cb8
AJ
6797 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6798 (MAP_HUGE_MASK): Define.
6799
6800 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6801 Define.
6802 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6803 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6804 Define.
6805 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6806 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6807 Define.
6808 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6809 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6810 Define.
6811 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6812
6813 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6814 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6815 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6816 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6817 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6818 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6819
6820 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6821 Handle f2fs.
6822
6823 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6824 Handle f2fs and efivarfs.
6825
6826 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6827 f2fs.
6828
6829 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6830 (EFIVARFS_MAGIC): Add.
6831 (F2FS_LINK_MAX): Add.
6832
e1b42695
PP
68332013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6834
6835 * stdio-common/vfprintf.c: Replace __builtin_expect with
6836 __glibc_unlikely.
6837
2d67d91a
JM
68382013-03-06 Joseph Myers <joseph@codesourcery.com>
6839
6840 [BZ #13550]
6841 * sysdeps/generic/bp-sym.h: Remove file.
6842 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6843 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6844 <bp-sym.h> and <bp-asm.h>.
6845 (__longjmp): Don't use BP_SYM.
6846 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6847 and <bp-asm.h>.
6848 (memcpy): Don't use BP_SYM.
6849 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6850 <bp-sym.h> and <bp-asm.h>.
6851 (memcpy): Don't use BP_SYM.
6852 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6853 <bp-asm.h>.
6854 (memcpy): Don't use BP_SYM.
6855 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6856 <bp-asm.h>.
6857 (memset): Don't use BP_SYM.
6858 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6859 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6860 (__bzero): Don't use BP_SYM.
6861 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6862 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6863 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6864 <bp-sym.h> and <bp-asm.h>.
6865 (memcmp): Don't use BP_SYM. Remove comment about bounded
6866 pointers.
6867 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6868 <bp-sym.h> and <bp-asm.h>.
6869 (memcpy): Don't use BP_SYM.
6870 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6871 <bp-sym.h> and <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/strncmp.S: Don't include
6879 <bp-sym.h> and <bp-asm.h>.
6880 (strncmp): Don't use BP_SYM. Remove comment about bounded
6881 pointers.
6882 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6883 <bp-sym.h> and <bp-asm.h>.
6884 (memcpy): Don't use BP_SYM.
6885 * sysdeps/powerpc/powerpc64/power6/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/power7/memchr.S: Don't include
6894 <bp-sym.h> and <bp-asm.h>.
6895 (__memchr): Don't use BP_SYM.
6896 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6897 <bp-sym.h> and <bp-asm.h>.
6898 (memcmp): Don't use BP_SYM. Remove comment about bounded
6899 pointers.
6900 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6901 <bp-sym.h> and <bp-asm.h>.
6902 (memcpy): Don't use BP_SYM.
6903 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6904 <bp-sym.h> and <bp-asm.h>.
6905 (__mempcpy): Don't use BP_SYM.
6906 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6907 <bp-sym.h> and <bp-asm.h>.
6908 (__memrchr): Don't use BP_SYM.
6909 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6910 <bp-sym.h> and <bp-asm.h>.
6911 (memset): Don't use BP_SYM.
6912 (__bzero): Likewise.
6913 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6914 <bp-sym.h> and <bp-asm.h>.
6915 (__rawmemchr): Don't use BP_SYM.
6916 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6917 <bp-sym.h> and <bp-asm.h>.
6918 (__STRCMP): Don't use BP_SYM.
6919 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6920 <bp-sym.h> and <bp-asm.h>.
6921 (strchr): Don't use BP_SYM.
6922 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6923 <bp-sym.h> and <bp-asm.h>.
6924 (__strchrnul): Don't use BP_SYM.
6925 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6926 <bp-sym.h> and <bp-asm.h>.
6927 (strlen): Don't use BP_SYM.
6928 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6929 <bp-sym.h> and <bp-asm.h>.
6930 (strncmp): Don't use BP_SYM. Remove comment about bounded
6931 pointers.
6932 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6933 <bp-sym.h> and <bp-asm.h>.
6934 (__strnlen): Don't use BP_SYM.
6935 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6936 <bp-sym.h> and <bp-asm.h>.
6937 (__GI__setjmp): Don't use BP_SYM.
6938 (_setjmp): Likewise.
6939 (__sigsetjmp): Likewise.
6940 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6941 (L(start_addresses)): Don't use BP_SYM.
6942 (_start): Likewise.
6943 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6944 <bp-asm.h>.
6945 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6946 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6947 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6948 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6949 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6950 <bp-asm.h>.
6951 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6952 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6953 about bounded pointers.
6954 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6955 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6956 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6957 <bp-asm.h>.
6958 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6959 about bounded pointers. Remove GKM FIXME comments.
6960 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6961 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6962 <bp-asm.h>.
6963 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6964 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6965 Remove GKM FIXME comments.
6966 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6967 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6968 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6969 <bp-asm.h>.
6970 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6971 about bounded pointers. Remove GKM FIXME comment.
6972 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6973 and <bp-asm.h>.
6974 (strncmp): Don't use BP_SYM. Remove comment about bounded
6975 pointers.
6976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6977 <bp-sym.h> and <bp-asm.h>.
6978 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6980 <bp-sym.h> and <bp-asm.h>.
6981 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6982 comment.
6983
cdcf361f
PP
69842013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6985
6986 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6987 call free(NULL).
6988
3c4a2b15
DM
69892013-03-05 David S. Miller <davem@davemloft.net>
6990
6991 * po/es.po: Update from translation team.
6992
cdcf361f 69932013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6994
6995 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6996 <bits/mman-linux.h>.
6997 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6998 is fine.
6999 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7000 <bits/mman-linux.h> to end of file.
7001 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7002 is fine.
7003 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7004 <bits/mman-linux.h> to end of file.
7005 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7006 is fine.
7007 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7008 <bits/mman-linux.h> to end of file.
7009
7010 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7011 (MCL_CURRENT, MCL_FUTURE): Define here.
7012
5f67c04f
AK
70132013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7014
8a4473cc 7015 [BZ #15232]
5f67c04f
AK
7016 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7017 attribute_hidden.
7018 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7019
c3e94a95
AK
70202013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7021
7022 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7023 fourth parameter needed for rt_sigprocmask syscall.
7024 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7025 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7026 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7027 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7028 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7029 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7030
cfb6382a
JM
70312013-03-04 Joseph Myers <joseph@codesourcery.com>
7032
7033 [BZ #13550]
7034 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7035 comment about bounded pointers.
7036 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7037 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7038
539d8e01
AJ
70392013-03-04 Andreas Jaeger <aj@suse.de>
7040
7041 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7042 common definitions.
7043
7044 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7045 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7046 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7047 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7048 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
7049 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7050
2e167a70 70512013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
7052
7053 [BZ #15055]
7054 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7055 __ieee754_sqrl instead of __sqrl.
7056
68508633
JM
70572013-03-01 Joseph Myers <joseph@codesourcery.com>
7058
7059 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7060 * sysdeps/powerpc/fpu_control.h: ... here.
7061 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7062 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7063 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7064 * sysdeps/powerpc/bits/mathinline.h: ... here.
7065
7775448e
RM
70662013-03-01 Roland McGrath <roland@hack.frob.com>
7067
7068 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7069 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7070 to just [NEED_DL_SYSINFO_DSO].
7071 * elf/dl-support.c: Likewise.
7072 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7073 * elf/rtld.c (dl_main): Likewise.
7074 * elf/setup-vdso.h (setup_vdso): Likewise.
7075 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7076 * sysdeps/unix/sysv/linux/dl-sysdep.c
7077 (_dl_discover_osversion): Likewise.
7078
4e9b5995
CD
70792013-03-01 Carlos O'Donell <carlos@redhat.com>
7080
7081 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7082 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7083
e23872c8
SP
70842013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7085
e5c74c63
SP
7086 * NEWS: Mention libm performance improvements and non-x86 PI
7087 futex support.
7088
e23872c8
SP
7089 * csu/libc-start.c (__pthread_initialize_minimal): Change
7090 function arguments.
7091 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7092
b5510883
JM
70932013-02-28 Joseph Myers <joseph@codesourcery.com>
7094
7095 [BZ #13550]
7096 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7097 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7098 <bp-sym.h> and <bp-asm.h>.
7099 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7100 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7101 and <bp-asm.h>.
7102 (memcpy): Don't use BP_SYM.
7103 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7104 <bp-asm.h>.
7105 (__mpn_add_n): Don't use BP_SYM.
7106 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7107 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7108 and <bp-asm.h>.
7109 (__mpn_addmul_1): Don't use BP_SYM.
7110 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7111 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7112 <bp-sym.h>.
7113 (_setjmp): Don't use BP_SYM.
7114 (__novmx_setjmp): Likewise.
7115 (__GI__setjmp): Likewise.
7116 (__vmx_setjmp): Likewise.
7117 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7118 <bp-sym.h>.
7119 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7120 (__bzero): Don't use BP_SYM.
7121 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7122 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7123 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7124 <bp-sym.h> and <bp-asm.h>.
7125 (memcpy): Don't use BP_SYM.
7126 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7127 <bp-sym.h> and <bp-asm.h>.
7128 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7129 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7130 <bp-sym.h> and <bp-asm.h>.
7131 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7132 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7133 <bp-asm.h>.
7134 (__mpn_lshift): Don't use BP_SYM.
7135 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7136 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7137 <bp-asm.h>.
7138 (memset): Don't use BP_SYM.
7139 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7140 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7141 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7142 <bp-asm.h>.
7143 (__mpn_mul_1): Don't use BP_SYM.
7144 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7145 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7146 <bp-sym.h> and <bp-asm.h>.
7147 (memcmp): Don't use BP_SYM.
7148 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7149 <bp-sym.h> and <bp-asm.h>.
7150 (memcpy): Don't use BP_SYM.
7151 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7152 <bp-sym.h> and <bp-asm.h>.
7153 (memset): Don't use BP_SYM.
7154 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7155 <bp-sym.h> and <bp-asm.h>.
7156 (strncmp): Don't use BP_SYM.
7157 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7158 <bp-sym.h> and <bp-asm.h>.
7159 (memcpy): Don't use BP_SYM.
7160 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7161 <bp-sym.h> and <bp-asm.h>.
7162 (memset): Don't use BP_SYM.
7163 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7164 <bp-sym.h> and <bp-asm.h>.
7165 (__memchr): Don't use BP_SYM.
7166 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7167 <bp-sym.h> and <bp-asm.h>.
7168 (memcmp): Don't use BP_SYM.
7169 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7170 <bp-sym.h> and <bp-asm.h>.
7171 (memcpy): Don't use BP_SYM.
7172 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7173 <bp-sym.h> and <bp-asm.h>.
7174 (__mempcpy): Don't use BP_SYM.
7175 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7176 <bp-sym.h> and <bp-asm.h>.
7177 (__memrchr): Don't use BP_SYM.
7178 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7179 <bp-sym.h> and <bp-asm.h>.
7180 (memset): Don't use BP_SYM.
7181 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7182 <bp-sym.h> and <bp-asm.h>.
7183 (__rawmemchr): Don't use BP_SYM.
7184 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7185 <bp-sym.h> and <bp-asm.h>.
7186 (__STRCMP): Don't use BP_SYM.
7187 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7188 <bp-sym.h> and <bp-asm.h>.
7189 (strchr): Don't use BP_SYM.
7190 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7191 <bp-sym.h> and <bp-asm.h>.
7192 (__strchrnul): Don't use BP_SYM.
7193 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7194 <bp-sym.h> and <bp-asm.h>.
7195 (strlen): Don't use BP_SYM.
7196 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7197 <bp-sym.h> and <bp-asm.h>.
7198 (strncmp): Don't use BP_SYM.
7199 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7200 <bp-sym.h> and <bp-asm.h>.
7201 (__strnlen): Don't use BP_SYM.
7202 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7203 <bp-asm.h>.
7204 (__mpn_rshift): Don't use BP_SYM.
7205 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7206 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7207 <bp-sym.h> and <bp-asm.h>.
7208 (__sigsetjmp): Don't use BP_SYM.
7209 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7210 (L(start_addresses)): Don't use BP_SYM.
7211 (_start): Likewise.
7212 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7213 <bp-asm.h>.
7214 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7215 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7216 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7217 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7218 <bp-asm.h>.
7219 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7220 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7221 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7222 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7223 <bp-asm.h>.
7224 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7225 comments.
7226 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7227 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7228 <bp-asm.h>.
7229 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7230 FIXME comments.
7231 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7232 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7233 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7234 <bp-asm.h>.
7235 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7236 comment.
7237 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7238 and <bp-asm.h>.
7239 (strncmp): Don't use BP_SYM,
7240 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7241 <bp-asm.h>.
7242 (__mpn_sub_n): Don't use BP_SYM.
7243 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7244 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7245 and <bp-asm.h>.
7246 (__mpn_submul_1): Don't use BP_SYM.
7247 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7249 <bp-sym.h> and <bp-asm.h>.
7250 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7252 <bp-sym.h> and <bp-asm.h>.
7253 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7254 comment.
7255
8d19fe64
SP
72562013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7257
7258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7259 Use ZK to minimize writes to Z.
7260 (sub_magnitudes): Simplify code a bit.
7261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7262 Use ZK to minimize writes to Z.
7263 (sub_magnitudes): Simplify code a bit.
7264
85bd816a
RM
72652013-02-27 Roland McGrath <roland@hack.frob.com>
7266
7267 * csu/gmon-start.c: Add special exception to license text.
7268
b5977bf2
RH
72692013-02-27 Richard Henderson <rth@redhat.com>
7270
7271 * scripts/config.guess: Update from config.git.
7272 * scripts/config.sub: Likewise.
7273
11d6e2f2
SP
72742013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7275
09c14ed2
SP
7276 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7277
a688864e
SP
7278 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7279
6295157a
SP
7280 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7281
b8de2202
SP
7282 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7283
11d6e2f2
SP
7284 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7285
7e80ddb8
RM
72862013-02-26 Roland McGrath <roland@hack.frob.com>
7287
7288 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7289 [$(build-shared = yes].
7e80ddb8 7290
7da6d9ed
SP
72912013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7292
45f05884
SP
7293 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7294 (__mul): Reduce iterations for calculating mantissa.
7295
2236d359
SP
7296 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7297 MPTWO.
7298 (__mpranred): Likewise.
7299
7da6d9ed
SP
7300 [BZ #15160]
7301 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7302 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7303
b7688c42
PE
73042013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7305
7306 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7307 Define __attribute__.
7308
53a5c423
SP
73092013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7310
7311 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7312 unused.
7313 * posix/regex_internal.h (__attribute): Remove.
7314 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7315 (re_string_context_at): Likewise.
7316 (bitset_not): Use __attribute__ and mark function as possibly
7317 unused.
7318 (bitset_merge): Likewise.
7319 (bitset_mask): Likewise.
7320 (re_string_char_size_at): Likewise.
7321 (re_string_wchar_at): Likewise.
7322 (re_string_elem_size_at): Likewise.
7323
60f5a8b5
SP
73242013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7325
2a983a2e
SP
7326 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7327 code.
7328 (cc32): Likewise.
7329
e69804d1
SP
7330 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7331 (__acr): Likewise.
7332 (__cpy): Likewise.
7333 (norm): Likewise.
7334 (denorm): Likewise.
7335 (__dbl_mp): Likewise.
7336 (add_magnitudes): Likewise.
7337 (sub_magnitudes): Likewise.
7338 (__mul): Likewise.
7339 (__inv): Likewise.
7340
2f22a1e8
SP
7341 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7342 style.
7343
8930ddc7
SP
7344 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7345 style.
7346
dc60cb11
SP
7347 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7348 code.
7349
60f5a8b5
SP
7350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7351 up changes with default code.
7352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7353 Likewise.
7354
b4d1fd33
AM
73552013-02-24 Allan McRae <allan@archlinux.org>
7356
faf6f8bc
AM
7357 * manual/socket.texi (The Internet Namespace): Order menu items
7358 to match that in the file.
7359
b4d1fd33
AM
7360 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7361 node listing of the info page menu.
7362
2366713d
JM
73632013-02-21 Joseph Myers <joseph@codesourcery.com>
7364
7365 [BZ #13550]
7366 * sysdeps/i386/bp-asm.h: Remove file.
7367 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7368 (PARMS): Do not use macros from bp-asm.h.
7369 (S1): Likewise.
7370 (S2): Likewise.
7371 (SIZE): Likewise.
7372 (__mpn_add_n): Do not use BP_SYM
7373 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7374 "bp-asm.h".
7375 (PARMS): Do not use macros from bp-asm.h.
7376 (S1): Likewise.
7377 (SIZE): Likewise.
7378 (__mpn_addmul_1): Do not use BP_SYM
7379 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7380 "bp-asm.h".
7381 (PARMS): Do not use macros from bp-asm.h.
7382 (SIGMSK): Likewise.
7383 (_setjmp): Likewise. Do not use BP_SYM.
7384 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7385 "bp-asm.h".
7386 (PARMS): Do not use macros from bp-asm.h.
7387 (SIGMSK): Likewise.
7388 (setjmp): Likewise. Do not use BP_SYM.
7389 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7390 "bp-asm.h".
7391 (PARMS): Do not use macros from bp-asm.h.
7392 (__frexp): Do not use BP_SYM.
7393 (frexp): Likewise.
7394 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7395 "bp-asm.h".
7396 (PARMS): Do not use macros from bp-asm.h.
7397 (__frexpf): Do not use BP_SYM.
7398 (frexpf): Likewise.
7399 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7400 "bp-asm.h".
7401 (PARMS): Do not use macros from bp-asm.h.
7402 (__frexpl): Do not use BP_SYM.
7403 (frexpl): Likewise.
7404 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7405 "bp-asm.h".
7406 (PARMS): Do not use macros from bp-asm.h.
7407 (__remquo): Do not use BP_SYM.
7408 (remquo): Likewise.
7409 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7410 "bp-asm.h".
7411 (PARMS): Do not use macros from bp-asm.h.
7412 (__remquof): Do not use BP_SYM.
7413 (remquof): Likewise.
7414 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7415 "bp-asm.h".
7416 (PARMS): Do not use macros from bp-asm.h.
7417 (__remquol): Do not use BP_SYM.
7418 (remquol): Likewise.
7419 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7420 "bp-asm.h".
7421 (PARMS): Do not use macros from bp-asm.h.
7422 (DEST): Likewise.
7423 (SRC): Likewise.
7424 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7425 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7426 "bp-asm.h".
7427 (PARMS): Do not use macros from bp-asm.h.
7428 (strlen): Do not use BP_SYM.
7429 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7430 "bp-asm.h".
7431 (PARMS): Do not use macros from bp-asm.h.
7432 (S1): Likewise.
7433 (S2): Likewise.
7434 (SIZE): Likewise.
7435 (__mpn_add_n): Do not use BP_SYM.
7436 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7437 "bp-asm.h".
7438 (PARMS): Do not use macros from bp-asm.h.
7439 (S1): Likewise.
7440 (SIZE): Likewise.
7441 (__mpn_addmul_1): Do not use BP_SYM.
7442 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7443 weak_alias.
7444 (bzero): Likewise.
7445 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7446 "bp-asm.h".
7447 (PARMS): Do not use macros from bp-asm.h.
7448 (S): Likewise.
7449 (SIZE): Likewise.
7450 (__mpn_lshift): Do not use BP_SYM.
7451 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7452 "bp-asm.h".
7453 (PARMS): Do not use macros from bp-asm.h.
7454 (DEST): Likewise.
7455 (SRC): Likewise.
7456 (LEN): Likewise.
7457 (memcpy): Likewise. Do not use BP_SYM.
7458 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7459 libc_hidden_def and weak_alias.
7460 (mempcpy): Do not use BP_SYM in weak_alias.
7461 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7462 "bp-asm.h".
7463 (PARMS): Do not use macros from bp-asm.h.
7464 (DEST): Likewise.
7465 (LEN): Likewise.
7466 [!BZERO_P] (CHR): Likewise.
7467 (memset): Likewise. Do not use BP_SYM.
7468 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7469 "bp-asm.h".
7470 (PARMS): Do not use macros from bp-asm.h.
7471 (S1): Likewise.
7472 (SIZE): Likewise.
7473 (__mpn_mul_1): Do not use BP_SYM.
7474 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7475 "bp-asm.h".
7476 (PARMS): Do not use macros from bp-asm.h.
7477 (S): Likewise.
7478 (SIZE): Likewise.
7479 (__mpn_rshift): Do not use BP_SYM.
7480 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7481 "bp-asm.h".
7482 (PARMS): Do not use macros from bp-asm.h.
7483 (STR): Likewise.
7484 (CHR): Likewise.
7485 (strchr): Likewise. Do not use BP_SYM.
7486 (index): Do not use BP_SYM in weak_alias.
7487 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7488 "bp-asm.h".
7489 (PARMS): Do not use macros from bp-asm.h.
7490 (DEST): Likewise.
7491 (SRC): Likewise.
7492 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7493 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7494 "bp-asm.h".
7495 (PARMS): Do not use macros from bp-asm.h.
7496 (strlen): Do not use BP_SYM.
7497 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7498 "bp-asm.h".
7499 (PARMS): Do not use macros from bp-asm.h.
7500 (S1): Likewise.
7501 (S2): Likewise.
7502 (SIZE): Likewise.
7503 (__mpn_sub_n): Do not use BP_SYM.
7504 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7505 "bp-asm.h".
7506 (PARMS): Do not use macros from bp-asm.h.
7507 (S1): Likewise.
7508 (SIZE): Likewise.
7509 (__mpn_submul_1): Do not use BP_SYM.
7510 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7511 "bp-asm.h".
7512 (PARMS): Do not use macros from bp-asm.h.
7513 (S1): Likewise.
7514 (S2): Likewise.
7515 (SIZE): Likewise.
7516 (__mpn_add_n): Do not use BP_SYM.
7517 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7518 weak_alias.
7519 (bzero): Likewise.
7520 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7521 "bp-asm.h".
7522 (PARMS): Do not use macros from bp-asm.h.
7523 (BLK2): Likewise.
7524 (LEN): Likewise.
7525 (memcmp): Do not use BP_SYM.
7526 (bcmp): Do not use BP_SYM in weak_alias.
7527 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7528 "bp-asm.h".
7529 (PARMS): Do not use macros from bp-asm.h.
7530 (DEST): Likewise.
7531 (SRC): Likewise.
7532 (LEN): Likewise.
7533 (memcpy): Likewise. Do not use BP_SYM.
7534 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7535 "bp-asm.h".
7536 (PARMS): Do not use macros from bp-asm.h.
7537 (DEST): Likewise.
7538 (SRC): Likewise.
7539 (LEN): Likewise.
7540 (memmove): Likewise. Do not use BP_SYM.
7541 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7542 "bp-asm.h".
7543 (PARMS): Do not use macros from bp-asm.h.
7544 (DEST): Likewise.
7545 (SRC): Likewise.
7546 (LEN): Likewise.
7547 (__mempcpy): Likewise. Do not use BP_SYM.
7548 (mempcpy): Do not use BP_SYM in weak_alias.
7549 * sysdeps/i386/i686/memset.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 (LEN): Likewise.
7554 [!BZERO_P] (CHR): Likewise.
7555 (memset): Likewise. Do not use BP_SYM.
7556 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7557 "bp-asm.h".
7558 (PARMS): Do not use macros from bp-asm.h.
7559 (STR2): Likewise.
7560 (strcmp): Do not use BP_SYM.
7561 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7562 "bp-asm.h".
7563 (PARMS): Do not use macros from bp-asm.h.
7564 (STR): Likewise.
7565 (DELIM): Likewise.
7566 [USE_AS_STRTOK_R] (SAVE): Likewise.
7567 (FUNCTION): Likewise. Do not use BP_SYM.
7568 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7569 aliases.
7570 (strtok_r): Likewise.
7571 (__GI___strtok_r): Likewise.
7572 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7573 (PARMS): Do not use macros from bp-asm.h.
7574 (S): Likewise.
7575 (SIZE): Likewise.
7576 (__mpn_lshift): Do not use BP_SYM.
7577 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7578 (PARMS): Do not use macros from bp-asm.h.
7579 (STR): Likewise.
7580 (CHR): Likewise.
7581 (__memchr): Do not use BP_SYM.
7582 (memchr): Do not use BP_SYM in weak_alias.
7583 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7584 (PARMS): Do not use macros from bp-asm.h.
7585 (BLK2): Likewise.
7586 (LEN): Likewise.
7587 (memcmp): Do not use BP_SYM.
7588 (bcmp): Do not use BP_SYM in weak_alias.
7589 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7590 (PARMS): Do not use macros from bp-asm.h.
7591 (S1): Likewise.
7592 (SIZE): Likewise.
7593 (__mpn_mul_1): Do not use BP_SYM.
7594 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7595 "bp-asm.h".
7596 (PARMS): Do not use macros from bp-asm.h.
7597 (STR): Likewise.
7598 (CHR): Likewise.
7599 (__rawmemchr): Do not use BP_SYM.
7600 (rawmemchr): Do not use BP_SYM in weak_alias.
7601 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7602 (PARMS): Do not use macros from bp-asm.h.
7603 (S): Likewise.
7604 (SIZE): Likewise.
7605 (__mpn_rshift): Do not use BP_SYM.
7606 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7607 (PARMS): Do not use macros from bp-asm.h.
7608 (SIGMSK): Likewise.
7609 (__sigsetjmp): Likewise. Do not use BP_SYM.
7610 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7611 (_start): Do not use BP_SYM.
7612 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7613 (PARMS): Do not use macros from bp-asm.h.
7614 (DEST): Likewise.
7615 (SRC): Likewise.
7616 (__stpcpy): Likewise. Do not use BP_SYM.
7617 (stpcpy): Do not use BP_SYM in weak_alias.
7618 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7619 "bp-asm.h".
7620 (PARMS): Do not use macros from bp-asm.h.
7621 (DEST): Likewise.
7622 (SRC): Likewise.
7623 (LEN): Likewise.
7624 (__stpncpy): Likewise. Do not use BP_SYM.
7625 (stpncpy): Do not use BP_SYM in weak_alias.
7626 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7627 (PARMS): Do not use macros from bp-asm.h.
7628 (STR): Likewise.
7629 (CHR): Likewise.
7630 (strchr): Likewise. Do not use BP_SYM.
7631 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7632 "bp-asm.h".
7633 (PARMS): Do not use macros from bp-asm.h.
7634 (STR): Likewise.
7635 (CHR): Likewise.
7636 (__strchrnul): Likewise. Do not use BP_SYM.
7637 (strchrnul): Do not use BP_SYM in weak_alias.
7638 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7639 "bp-asm.h".
7640 (PARMS): Do not use macros from bp-asm.h.
7641 (STOP): Likewise.
7642 (strcspn): Do not use BP_SYM.
7643 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7644 "bp-asm.h".
7645 (PARMS): Do not use macros from bp-asm.h.
7646 (STR): Likewise.
7647 (STOP): Likewise.
7648 (strpbrk): Likewise. Do not use BP_SYM.
7649 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7650 "bp-asm.h".
7651 (PARMS): Do not use macros from bp-asm.h.
7652 (STR): Likewise.
7653 (CHR): Likewise.
7654 (strrchr): Likewise. Do not use BP_SYM.
7655 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7656 (PARMS): Do not use macros from bp-asm.h.
7657 (SKIP): Likewise.
7658 (strspn): Do not use BP_SYM.
7659 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7660 (PARMS): Do not use macros from bp-asm.h.
7661 (STR): Likewise.
7662 (DELIM): Likewise.
7663 (SAVE): Likewise.
7664 (FUNCTION): Likewise. Do not use BP_SYM.
7665 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7666 aliases.
7667 (strtok_r): Likewise.
7668 (__GI___strtok_r): Likewise.
7669 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7670 (PARMS): Do not use macros from bp-asm.h.
7671 (S1): Likewise.
7672 (S2): Likewise.
7673 (SIZE): Likewise.
7674 (__mpn_sub_n): Do not use BP_SYM.
7675 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7676 "bp-asm.h".
7677 (PARMS): Do not use macros from bp-asm.h.
7678 (S1): Likewise.
7679 (SIZE): Likewise.
7680 (__mpn_submul_1): Do not use BP_SYM.
7681 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7682 <bp-sym.h>.
7683 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7684 and <bp-asm.h>.
7685 (PARMS): Do not use macros from bp-asm.h.
7686 (FLAGS): Likewise.
7687 (PTID): Likewise.
7688 (TLS): Likewise.
7689 (CTID): Likewise.
7690 (__clone): Do not use BP_SYM.
7691 (clone): Do not use BP_SYM in weak_alias.
7692 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7693 and <bp-asm.h>.
7694 (PARMS): Do not use macros from bp-asm.h.
7695 (LEN): Likewise.
7696 (__mmap64): Do not use BP_SYM.
7697 (mmap64): Do not use BP_SYM in weak_alias.
7698 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7699 <bp-sym.h> and <bp-asm.h>.
7700 (PARMS): Do not use macros from bp-asm.h.
7701 (__posix_fadvise64_l64): Do not use BP_SYM.
7702 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7703 (PARMS): Do not use macros from bp-asm.h.
7704 (NSOPS): Likewise.
7705 (semtimedop): Do not use BP_SYM.
7706 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7707 and <bp-asm.h>.
7708
582a3cff
AM
77092013-02-21 Allan McRae <allan@archlinux.org>
7710
7711 * manual/message.texi (Charset conversion in gettext):
7712 Move @end statement to beginning of line.
7713
bab8a695
SP
77142013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7715
80945231
SP
7716 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7717 static.
7718 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7719 Likewise.
7720
bab8a695
SP
7721 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7722 (denorm): Likewise.
7723 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7724 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7725
e21d7aa7
AK
77262013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7727
7728 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7729 tail-call to the resolved function if pltexit isn't needed.
7730
4c7a4263
SP
77312013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7732
7733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7734 or Y being zero as being unlikely.
7735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7736 Likewise.
7737
41f49342
CD
77382013-02-20 Carlos O'Donell <carlos@redhat.com>
7739
7740 * manual/nss.texi (System Databases and Name Service Switch):
7741 Remove frobnicate @pxref.
7742
50022a93
TS
77432013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7744
7745 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7746 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7747
08cbd996
PM
77482013-02-20 Petr Machata <pmachata@redhat.com>
7749
7750 * elf/elf.h (R_ARM_TARGET1): New macro.
7751 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7752 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7753 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7754 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7755 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7756 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7757 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7758 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7759 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7760 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7761 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7762 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7763 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7764 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7765 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7766 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7767 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7768 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7769 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7770 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7771 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7772 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7773 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7774 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7775 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7776 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7777 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7778 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7779 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7780 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7781 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7782 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7783 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7784 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7785 (R_ARM_THM_GOT_BREL12): Likewise.
7786 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7787 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7788 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7789 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7790 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7791 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7792 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7793 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7794 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7795
c7b275d6
TS
77962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7797
7798 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7799 __attribute_used__ to __attribute__ ((unused)).
7800
20cd7fb3
SP
78012013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7802
7803 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7804 powerpc mpa.c.
7805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7806 comment formatting.
7807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7808
92945b52
JM
78092013-02-19 Joseph Myers <joseph@codesourcery.com>
7810
7811 [BZ #13550]
7812 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7813 Remove macro.
7814 (ENTER): Remove both macro definitions.
7815 (LEAVE): Likewise.
7816 (CHECK_BOUNDS_LOW): Likewise.
7817 (CHECK_BOUNDS_HIGH): Likewise.
7818 (CHECK_BOUNDS_BOTH): Likewise.
7819 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7820 (RETURN_BOUNDED_POINTER): Likewise.
7821 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7822 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7823 (POP_ERRNO_LOCATION_RETURN): Likewise.
7824 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7825 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7826 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7827 macros.
7828 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7829 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7830 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7831 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7832 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7833 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7834 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7835 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7836 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7837 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7838 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7839 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7840 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7841 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7842 removed macros.
7843 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7844 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7845 macros.
7846 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7847 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7848 * sysdeps/i386/i586/memset.S (memset): Likewise.
7849 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7850 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7851 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7852 macros.
7853 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7854 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7855 Change uses of L(2) to L(out).
7856 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7857 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7858 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7859 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7860 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7861 removed macros.
7862 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7863 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7864 macros.
7865 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7866 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7867 (RETURN): Do not use macro LEAVE.
7868 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7869 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7870 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7871 * sysdeps/i386/i686/memset.S (memset): Likewise.
7872 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7873 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7874 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7875 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7876 Likewise.
7877 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7878 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7879 L(1_2) and L(1_3) into L(1).
7880 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7881 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7882 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7883 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7884 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7885 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7886 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7887 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7888 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7889 macros.
7890 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7891 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7892 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7893 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7894 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7895 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7896 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7897 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7898 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7899 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7900 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7901 * sysdeps/i386/strspn.S (strspn): Likewise.
7902 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7903 conditional code.
7904 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7905 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7906 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7907 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7908 L(1_3) into L(1_1).
7909 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7910 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7911 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7912 macros.
7913 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7914
2389741a
JJ
79152013-02-19 Jakub Jelinek <jakub@redhat.com>
7916
7917 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7918 macro.
7919
2016b3cd
SP
79202013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7921
e4f22324
SP
7922 * math/atest-exp.c (exp_mpn): Remove ROUND.
7923 * math/atest-exp2.c (exp_mpn): Likewise.
7924 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7925
2016b3cd
SP
7926 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7927 * stdlib/tst-tls-atexit-lib.c: Likewise.
7928 * stdlib/tst-tls-atexit.c: Likewise.
7929
4be9b544
MF
79302013-02-18 Mike Frysinger <vapier@gentoo.org>
7931
7932 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7933 and __attribute_alloc_size__.
7934
2f62b9ee
MF
79352013-02-18 Mike Frysinger <vapier@gentoo.org>
7936
7937 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7938 __attribute_alloc_size__.
7939 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7940 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7941
6ff444c4
MF
79422013-02-18 Mike Frysinger <vapier@gentoo.org>
7943
7944 * include/programs/xmalloc.h: New file.
7945 * catgets/gencat.c: Include it.
7946 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7947 * elf/pldd.c: Likewise.
7948 * iconv/iconv_charmap.c: Likewise.
7949 * iconv/iconvconfig.c: Likewise.
7950 * iconv/strtab.c: Likewise.
7951 * locale/programs/locale.c: Likewise.
7952 * locale/programs/localedef.h: Likewise.
7953 * locale/programs/simple-hash.c: Likewise.
7954 * nscd/nscd.h: Likewise.
7955 * nss/makedb.c: Likewise.
7956 * sysdeps/generic/ldconfig.h: Likewise.
7957
be179c8a
SP
79582013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7959
ba384f6e
SP
7960 * Versions.def: Add GLIBC_2.18.
7961 * include/link.h (struct link_map): New member l_tls_dtor_count.
7962 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7963 (__call_tls_dtors): Likewise.
7964 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7965 __cxa_thread_atexit_impl.
7966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7967 Likewise.
7968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7969 Likewise.
7970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7971 Likewise.
7972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7973 Likewise.
7974 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7976 Likewise.
7977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7978 Likewise.
7979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7981 Likewise.
7982 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7983 (tests): Add test case tst-tls-atexit.
7984 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7985 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7986 (GLIBC_PRIVATE): Add __call_tls_dtors.
7987 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7988 for libstdc++.
7989 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7990 * stdlib/tst-tls-atexit.c: New test case.
7991 * stdlib/tst-tls-atexit-lib.c: New test case.
7992
ffaa74cf 7993 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7994
be179c8a
SP
7995 * elf/Versions (ld): Add _dl_find_dso_for_object.
7996 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7997 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7998 (dl_open_worker): Use _dl_find_dso_for_object.
7999 * elf/dl-sym.c (do_sym): Likewise.
8000 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8001
f78b5caa
AK
80022013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8003
8004 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8005 Syntactic changes only.
8006 (_dl_runtime_profile): Do a tail-call to the resolved function.
8007
29691210
JM
80082013-02-17 Joseph Myers <joseph@codesourcery.com>
8009
8010 [BZ #13550]
8011 * sysdeps/x86_64/bp-asm.h: Remove file.
8012 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8013 <bp-sym.h> and <bp-asm.h>.
8014 (__clone): Do not use BP_SYM.
8015 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8016 <bp-sym.h> and <bp-asm.h>.
8017 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8018 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8019 "bp-asm.h".
8020 (_setjmp): Do not use BP_SYM.
8021 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8022 "bp-asm.h".
8023 (setjmp): Do not use BP_SYM.
8024 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8025 libc_hidden_def.
8026 (mempcpy): Do not use BP_SYM in weak_alias.
8027 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8028 "bp-asm.h".
8029 (strchr): Do not use BP_SYM.
8030 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8031 "bp-asm.h".
8032 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8033 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8034 (_start): Do not use BP_SYM.
8035 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8036 "bp-asm.h".
8037 (strcat): Do not use BP_SYM.
8038 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8039 "bp-asm.h".
8040 (STRCMP): Do not use BP_SYM.
8041 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8042 "bp-asm.h".
8043 (STRCPY): Do not use BP_SYM.
8044 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8045 "bp-asm.h".
8046 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8047 "bp-asm.h".
8048 (FUNCTION): Do not use BP_SYM.
8049 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8050 weak_alias.
8051 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8052
f238fd19
AJ
80532013-02-17 Andreas Jaeger <aj@suse.de>
8054
8055 * time/Versions: Sort entries.
8056 * string/Versions: Likewise.
8057 * resolv/Versions: Likewise.
8058 * posix/Versions: Likewise.
8059 * iconv/Versions: Likewise.
8060 * elf/Versions: Likewise.
8061 * wcsmbs/Versions: Likewise.
8062
bd07f23c 80632013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 8064
22af19f9
SP
8065 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8066 loop termination condition.
8067
4709fe76
SP
8068 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8069 variable to calculate EZ.
8070 (__sqr): Likewise.
2d0e0f29
SP
8071
8072 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8073 the lower precision input.
8074
daaa7713
JM
80752013-02-15 Joseph Myers <joseph@codesourcery.com>
8076
8077 [BZ #13550]
8078 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8079 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8080 (run-via-rtld-prefix): Do not handle %-bp tests.
8081 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8082 (all-object-suffixes): Remove .ob.
8083 (bppfx): Remove variable.
8084 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8085 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8086 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8087 [$(build-bounded) = yes] (libtype.ob): Likewise.
8088 * Makerules (elide-routines.ob): Remove variable.
8089 (do-tests-clean): Do not handle *-bp.out.
8090 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8091 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8092 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8093 (tests): Do not include $(tests-bp.out).
8094 (xtests): Do not include $(xtests-bp.out).
8095 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8096 [$(build-bounded) = yes] ($(addprefix
8097 $(objpfx),$(binaries-bounded))): Remove rule.
8098 ($(objpfx)%-bp.out): Remove rule.
8099 * config.make.in (build-bounded): Remove variable.
8100 * crypt/Makefile [$(build-bounded) = yes]
8101 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8102 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8103 append to variable.
8104 [$(build-bounded) = yes] (install-lib): Likewise.
8105 [$(build-bounded) = yes] (generated): Likewise.
8106 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8107 Remove rule.
8108 * intl/Makefile [$(build-bounded) = yes]
8109 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8110 * math/Makefile [$(build-bounded) = yes]
8111 ($(tests:%=$(objpfx)%-bp): Likewise.
8112 * misc/Makefile [$(build-bounded) = yes]
8113 ($(objpfx)tst-tsearch-bp): Likewise.
8114 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8115 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8116 Remove dependency.
8117 * string/Makefile (o-objects.ob): Remove variable.
8118 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8119 (CFLAGS-.ob): Remove variable.
8120 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8121 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8122 both definitions of variable.
8123 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8124 (ASFLAGS-.ob): Remove variable.
8125
e97ed6dd
JM
81262013-02-14 Joseph Myers <joseph@codesourcery.com>
8127
2bdd4ca6
JM
8128 [BZ #13550]
8129 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8130 Remove __BOUNDED_POINTERS__ from condition.
8131 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8132 * string/bits/string2.h [!__NO_STRING_INLINES &&
8133 !__BOUNDED_POINTERS__]: Likewise.
8134 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8135 Likewise.
8136 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8137 Remove conditional code.
8138 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8139 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8140 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8141 condition.
8142
e97ed6dd
JM
8143 [BZ #13550]
8144 * csu/libc-start.c: Do not include <bp-sym.h>.
8145 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8146 * elf/dl-open.c: Do not include <bp-sym.h>.
8147 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8148 * math/fegetenv.c: Do not include <bp-sym.h>.
8149 (fegetenv): Do not use BP_SYM in versioned symbols.
8150 * nptl/sysdeps/pthread/bits/libc-lockP.h
8151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8152 <bp-sym.h>.
8153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8154 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8156 (__pthread_mutex_destroy): Likewise.
8157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8158 (__pthread_mutex_lock): Likewise.
8159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8160 (__pthread_mutex_trylock): Likewise.
8161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8162 (__pthread_mutex_unlock): Likewise.
8163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8164 (__pthread_mutexattr_init): Likewise.
8165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8166 (__pthread_mutexattr_destroy): Likewise.
8167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8168 (__pthread_mutexattr_settype): Likewise.
8169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8170 (__pthread_rwlock_init): Likewise.
8171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8172 (__pthread_rwlock_destroy): Likewise.
8173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8174 (__pthread_rwlock_rdlock): Likewise.
8175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8176 (__pthread_rwlock_tryrdlock): Likewise.
8177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8178 (__pthread_rwlock_wrlock): Likewise.
8179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8180 (__pthread_rwlock_trywrlock): Likewise.
8181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8182 (__pthread_rwlock_unlock): Likewise.
8183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8184 (__pthread_key_create): Likewise.
8185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8186 (__pthread_setspecific): Likewise.
8187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8188 (__pthread_getspecific): Likewise.
8189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8190 Likewise.
8191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8192 (_pthread_cleanup_push_defer): Likewise.
8193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8194 (_pthread_cleanup_pop_restore): Likewise.
8195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8196 (pthread_setcancelstate): Likewise.
8197 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8198 <bp-sym.h>.
8199 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8200 (memchr): Do not use BP_SYM in weak_alias.
8201 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8202 (fegetenv): Do not use BP_SYM in versioned symbols.
8203 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8204 (fesetenv): Do not use BP_SYM in versioned symbols.
8205 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8206 (feupdateenv): Do not use BP_SYM in versioned symbols.
8207 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8208 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8209 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8210 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8211 (open64): Do not use BP_SYM in weak_alias.
8212 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8213 (fegetenv): Do not use BP_SYM in versioned symbols.
8214 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8215 (fesetenv): Do not use BP_SYM in versioned symbols.
8216 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8217 (feupdateenv): Do not use BP_SYM in versioned symbols.
8218 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8219 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8220 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8221 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8222 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8223 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8224 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8225 <bp-sym.h>.
8226 (__libc_start_main): Do not use BP_SYM.
8227
d6752ccd
SP
82282013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8229
cb57ce60
SP
8230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8231 redundant return line.
8232 (norm): Likewise.
8233 (denorm): Likewise.
8234 (dbl_mp): Likewise.
8235 (sub_magnitudes): Likewise.
8236 (__add): Likewise.
8237 (__sub): Likewise.
8238 (__mul): Likewise.
8239 (__inv): Likewise.
8240 (__dvd): Likewise.
8241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8242 (norm): Likewise.
8243 (denorm): Likewise.
8244 (dbl_mp): Likewise.
8245 (sub_magnitudes): Likewise.
8246 (__add): Likewise.
8247 (__sub): Likewise.
8248 (__mul): Likewise.
8249 (__inv): Likewise.
8250 (__dvd): Likewise.
8251
f414520d
SP
8252 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8253 instead of __mul.
8254 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8255 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8256 (cc32): Likewise.
8257
d6752ccd
SP
8258 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8259 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8260 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8261 of __mul for squares.
8262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8263 function
8264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8265 Likewise.
8266 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8267 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8268
70d9946a
JM
82692013-02-13 Joseph Myers <joseph@codesourcery.com>
8270
8271 [BZ #13550]
8272 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8273 code.
8274 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8275 prototype or function definition. Rename ubp_* variables and
8276 parameters. Remove argv definitions conditional on
8277 [__BOUNDED_POINTERS__].
8278 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8279 * elf/dl-runtime.c (_dl_fixup): Likewise.
8280 * include/set-hooks.h (RUN_HOOK): Likewise.
8281 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8282 definition.
8283 * string/strcpy.c (strcpy): Do not use __unbounded.
8284 * sysdeps/generic/frame.h (struct layout): Likewise.
8285 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8286 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8287 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8288 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8289 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8290 (__backtrace): Likewise.
8291 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8292 use __ptrvalue.
8293 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8294 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8295 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8296 Likewise.
8297 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8298 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8299 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8300 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8301 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8302 Do not use __unbounded.
8303 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8304 Rename __unboundedrlimits parameter to rlimits in prototype.
8305 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8306 Do not use __unbounded.
8307 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8308 not use __ptrvalue.
8309 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8310 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8311 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8312 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8313 __ptrvalue or __unbounded.
8314 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8315 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8316 use __unbounded.
8317 (__new_msgctl): Do not use __ptrvalue.
8318 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8319 __unbounded.
8320 (__libc_msgrcv): Do not use __ptrvalue.
8321 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8322 startup_info): Do not use __unbounded.
8323 (__libc_start_main): Likewise. Rename ubp_* variables and
8324 parameters. Remove argv definitions conditional on
8325 [__BOUNDED_POINTERS__].
8326 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8327 __ptrvalue.
8328 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8329 use __unbounded.
8330 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8331 or __ptrvalue.
8332 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8333 use __unbounded.
8334 (__new_shmctl): Do not use __ptrvalue.
8335 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8336 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8337 Likewise.
8338 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8339 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8340 (__libc_sigaction): Likewise.
8341 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8342 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8343 Likewise.
8344 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8345
cc7834d6
OB
83462013-02-13 Ondřej Bílka <neleai@seznam.cz>
8347
ffb1ec7b 8348 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8349
8350 * string/mempcpy.c: Implement by calling memcpy.
8351
bdf02814
SP
83522013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8353
c2af38aa
SP
8354 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8355
4e92d59e
SP
8356 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8357 evaluation.
8358
909279a5
SP
8359 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8360 values in the mantissa.
8361
bdf02814
SP
8362 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8363 minimize writes to Z.
8364 (sub_magnitudes): Simplify code a bit.
8365
cd525923
RM
83662013-02-12 Roland McGrath <roland@hack.frob.com>
8367
8368 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8369 from the message. The linker prefixes all warnings with that already.
8370
7e2f0d2d
AS
83712013-02-12 Andreas Schwab <schwab@suse.de>
8372
a445af0b
AS
8373 [BZ #15078]
8374 * posix/regexec.c (extend_buffers): Add parameter min_len.
8375 (check_matching): Pass minimum needed length.
8376 (clean_state_log_if_needed): Likewise.
8377 (get_subexp): Likewise.
8378 * posix/Makefile (tests): Add bug-regex34.
8379 (bug-regex34-ENV): Define.
8380 * posix/bug-regex34.c: New file.
8381
7e2f0d2d
AS
8382 [BZ #11561]
8383 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8384 elements compare against the byte sequence of it, not its name.
8385 * posix/Makefile (tests): Add bug-regex35.
8386 (bug-regex35-ENV): Define.
8387 * posix/bug-regex35.c: New file.
8388
a175b684
TV
83892013-02-11 Tom de Vries <tom@codesourcery.com>
8390
8391 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8392 comment.
8393 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8394 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8395 (CHECK_EOL): Add undef.
8396
310998fe 83972013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8398
8399 * bits/stdlib-bsearch.h: New file.
8400 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8401 * stdlib/stdlib.h: Likewise.
41eda41d 8402
8ded91fb
RM
84032013-02-11 Roland McGrath <roland@hack.frob.com>
8404
8405 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8406 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8407 declaration.
8408 * manual/search.texi (Array Search Function): Add missing const in
8409 lfind prototype.
8410 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8411 declaration to use rlim_t.
8412 (Basic Scheduling Functions): Remove erroneous const from
8413 sched_getparam prototype. Remove erroneous * from
8414 sched_get_priority_max and sched_get_priority_min prototypes.
8415 (Resource Usage): Fix summary @comment on vtimes to refer to
8416 sys/vtimes.h rather than vtimes.h.
8417 Add missing *s in vtimes prototype.
8418 (Limits on Resources): Fix ulimit prototype to return long int.
8419 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8420 prototypes to use long int rather than double.
8421 (BSD Random): Fix initstate and setstate to use char *, not void *.
8422 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8423 prototype to make second argument 'struct aiocb64 *const[]'.
8424 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8425 (Status of AIO Operations): Remove erroneous const in aio_return and
8426 aio_return64 prototypes.
8427 (Synchronizing I/O): Fix sync prototype to return void.
8428 * manual/startup.texi (Suboptions): Remove an erroneous const in
8429 getsubopt prototype.
8430 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8431 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8432 use size_t rather than int.
8433 (Scanning All Users): Likewise for getpwent_r.
8434 (Setting Groups): Add missing const to setgroups prototype.
8435 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8436 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8437 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8438 'const void *' rather than 'const char *'.
8439 (Host Address Functions): Likewise for inet_ntop.
8440 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8441 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8442 ssize_t for return value.
8443 (Sending Data): Likewise for send, sendto, sendmsg.
8444 (Socket Option Functions): Add a missing const in setsockopt prototype.
8445 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8446 use wchar_t for the argument.
8447 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8448 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8449 take no arguments.
8450 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8451 double/float/long double for second argument.
8452 Fix return types of significand, significandf, significandl.
8453 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8454 argument in fchmod prototype.
8455 (File Owner): Use uid_t and gid_t in fchown prototype.
8456 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8457 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8458 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8459 use 'const struct dirent **' as argument types to CMP function pointer
8460 argument.
8461 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8462 (File Times): Fix summary magic @comment for struct utimbuf and utime
8463 to refer to utime.h, not time.h.
8464 * manual/string.texi (Argz Functions): Add missing const in
8465 argz_extract and argz_next prototypes.
8466 (Finding Tokens in a String): Likewise for basename.
8467 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8468 (Copying and Concatenation): Fix typo in wmemmove prototype.
8469 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8470 (Signal Stack): Remove erroneous const in sigstack prototype.
8471 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8472 prototype.
8473 (Simple Calendar Time): Likewise for stime.
8474 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8475 prototype.
8476 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8477 say sys/sysctl.h instead.
8478 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8479 and vsyslog prototypes.
8480
fe77fe6d
TV
84812013-02-11 Tom de Vries <tom@codesourcery.com>
8482
8483 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8484 Remove.
8485
3a09b620
RM
84862013-02-11 Roland McGrath <roland@hack.frob.com>
8487
8488 * misc/sys/mman.h: Fix typo in mremap comment.
8489
550a0b89
RM
84902013-02-08 Roland McGrath <roland@hack.frob.com>
8491
8492 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8493 the '\0' terminator.
8494
a2da1673
JM
84952013-02-08 Joseph Myers <joseph@codesourcery.com>
8496
8497 [BZ #13550]
8498 * debug/segfault.c: Don't include <bp-checks.h>.
8499 * sysdeps/generic/bp-checks.h: Remove file.
8500 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8501 (__GETDENTS): Don't use CHECK_N.
8502 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8503 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8504 (__getgroups): Don't use CHECK_N.
8505 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8506 (setgroups): Don't use CHECK_N.
8507 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8508 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8509 (__libc_msgrcv): Don't use CHECK_N.
8510 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8511 (__libc_msgsnd): Don't use CHECK_N.
8512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8513 <bp-checks.h>.
8514 (__libc_pread): Don't use CHECK_N.
8515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8516 include <bp-checks.h>.
8517 (__libc_pread64): Don't use CHECK_N.
8518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8519 include <bp-checks.h>.
8520 (__libc_pwrite): Don't use CHECK_N.
8521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8522 include <bp-checks.h>.
8523 (__libc_pwrite64): Don't use CHECK_N.
8524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8525 <bp-checks.h>.
8526 (__libc_pread): Don't use CHECK_N.
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8528 include <bp-checks.h>.
8529 (__libc_pread64): Don't use CHECK_N.
8530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8531 include <bp-checks.h>.
8532 (__libc_pwrite): Don't use CHECK_N.
8533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8534 include <bp-checks.h>.
8535 (__libc_pwrite64): Don't use CHECK_N.
8536 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8537 (do_pread): Don't use CHECK_N.
8538 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8539 (do_pread64): Don't use CHECK_N.
8540 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8541 (do_pwrite): Don't use CHECK_N.
8542 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8543 (do_pwrite64): Don't use CHECK_N.
8544 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8545 (__libc_readv): Don't use CHECK_N.
8546 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8547 (semop): Don't use CHECK_N.
8548 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8549 <bp-checks.h>.
8550 (semtimedop): Don't use CHECK_N.
8551 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8552 (__libc_pread): Don't use CHECK_N.
8553 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8554 <bp-checks.h>.
8555 (__libc_pread64): Don't use CHECK_N.
8556 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8557 <bp-checks.h>.
8558 (__libc_pwrite): Don't use CHECK_N.
8559 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8560 <bp-checks.h>.
8561 (__libc_pwrite64): Don't use CHECK_N.
8562 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8563 <bp-checks.h>.
8564 (__libc_msgrcv): Don't use CHECK_N.
8565 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8566 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8567 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8568 (__libc_writev): Don't use CHECK_N.
8569
b84660a8
RM
85702013-02-08 Roland McGrath <roland@hack.frob.com>
8571
7f3e75f8
RM
8572 * string/strcpy.c: Removed unused variable.
8573
b84660a8
RM
8574 * Makeconfig (+sysdep-includes): Define with := rather than =.
8575 Use an existing include/ subdir of each sysdeps dir before it.
8576
471514d3
CD
85772013-02-08 Carlos O'Donell <carlos@redhat.com>
8578
8579 * nscd/connection.c (register_traced_file): Comment function.
8580 [HAVE_INOTIFY] (union __inev): Define.
8581 [HAVE_INOTIFY] (inotify_check_files): New function.
8582 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8583 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8584 clear_db_cache.
8585 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8586
b2d3c3be
CD
85872013-02-08 Carlos O'Donell <carlos@redhat.com>
8588
8589 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8590 loaded if not already and that a failure is permanent.
8591
b39949d2
CD
85922013-02-08 Carlos O'Donell <carlos@redhat.com>
8593
ddacd1db 8594 [BZ #15006]
b39949d2
CD
8595 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8596 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8597
b2c9eff4
JM
85982013-02-08 Joseph Myers <joseph@codesourcery.com>
8599
f3aae3f3
JM
8600 [BZ #13550]
8601 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8602 (CHECK_1_NULL_OK): Likewise.
8603 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8604 (__fxstat): Do not use CHECK_1.
8605 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8606 <bp-checks.h>.
8607 (___fxstat64): Do not use CHECK_1.
8608 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8609 <bp-checks.h>.
8610 (__fxstatat): Do not use CHECK_1.
8611 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8612 <bp-checks.h>.
8613 (__fxstatat64): Do not use CHECK_1.
8614 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8615 <bp-checks.h>.
8616 (__fxstat): Do not use CHECK_1.
8617 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8618 <bp-checks.h>.
8619 (__fxstatat): Do not use CHECK_1.
8620 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8621 <bp-checks.h>.
8622 (__getresgid): Do not use CHECK_1.
8623 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8624 <bp-checks.h>.
8625 (__getresuid): Do not use CHECK_1.
8626 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8627 <bp-checks.h>.
8628 (__lxstat): Do not use CHECK_1.
8629 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8630 <bp-checks.h>.
8631 (__old_msgctl): Do not use CHECK_1.
8632 (__new_msgctl): Likewise.
8633 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8634 <bp-checks.h>.
8635 (__new_setrlimit): Do not use CHECK_1.
8636 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8637 <bp-checks.h>.
8638 (__old_shmctl): Do not use CHECK_1.
8639 (__new_shmctl): Likewise.
8640 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8641 <bp-checks.h>.
8642 (__xstat): Do not use CHECK_1.
8643 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8644 (__lxstat): Do not use CHECK_1.
8645 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8646 <bp-checks.h>.
8647 (___lxstat64): Do not use CHECK_1.
8648 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8649 (__old_msgctl): Do not use CHECK_1.
8650 (__new_msgctl): Likewise.
8651 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8652 <bp-checks.h>.
8653 (__gettimeofday): Do not use CHECK_1.
8654 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8655 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8656 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8657 <bp-checks.h>.
8658 (__gettimeofday): Do not use CHECK_1.
8659 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8660 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8661 (__new_shmctl): Do not use CHECK_1.
8662 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8663 <bp-checks.h>.
8664 (do_sigtimedwait): Do not use CHECK_1.
8665 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8666 <bp-checks.h>.
8667 (do_sigwaitinfo): Do not use CHECK_1.
8668 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8669 <bp-checks.h>.
8670 (msgctl): Do not use CHECK_1.
8671 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8672 <bp-checks.h>.
8673 (shmctl): Do not use CHECK_1.
8674 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8675 (ustat): Do not use CHECK_1.
8676 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8677 <bp-checks.h>.
8678 (__fxstat): Do not use CHECK_1.
8679 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8680 <bp-checks.h>.
8681 (__fxstatat): Do not use CHECK_1.
8682 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8683 <bp-checks.h>.
8684 (__lxstat): Do not use CHECK_1.
8685 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8686 <bp-checks.h>.
8687 (__xstat): Do not use CHECK_1.
8688 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8689 (__xstat): Do not use CHECK_1.
8690 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8691 (___xstat64): Do not use CHECK_1.
8692
b2c9eff4
JM
8693 [BZ #13550]
8694 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8695 definitions.
8696 (CHECK_BOUNDS_HIGH): Likewise.
8697 * string/strcpy.c: Do not include <bp-checks.h>.
8698 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8699
f1d70dad
RM
87002013-02-07 Roland McGrath <roland@hack.frob.com>
8701
8702 * nscd/nscd-client.h (__nscd_drop_map_ref):
8703 Add __attribute__ ((unused)).
8704 * nis/nss-nisplus.h (niserr2nss): Likewise.
8705
8706 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8707 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8708
8709 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8710 Remove inline keyword.
8711 * include/rounding-mode.h (round_away): Likewise.
8712 * libio/wfileops.c (adjust_wide_data): Likewise.
8713 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8714 (__m128i_strloadu_tolower): Likewise.
8715 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8716 (__m128i_strloadu_tolower): Likewise.
8717 * time/mktime.c (ydhms_diff): Likewise.
8718 * locale/elem-hash.h (elem_hash): Likewise.
8719 * locale/setlocale.c (setdata): Likewise.
8720 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8721 (re_string_wchar_at): Likewise.
8722 (bitset_not, bitset_merge, bitset_mask): Likewise.
8723 [!(__GNUC__ > 3)] (inline): Remove macro.
8724 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8725 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8726 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8727 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8728 * string/memcmp.c (memcmp_bytes): Likewise.
8729 * locale/programs/locarchive.c (compute_hashval): Likewise.
8730 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8731 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8732 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8733 * nss/getent.c (print_rpc, print_protocols): Likewise.
8734 (print_passwd, print_group, print_aliases): Likewise.
8735 * nis/nss-nisplus.h (niserr2nss): Likewise.
8736 * nscd/connections.c (restart_p): Likewise.
8737 Change return type to bool.
8738
eab55bfb
RM
87392013-02-05 Roland McGrath <roland@hack.frob.com>
8740
7bd642f5
RM
8741 * Makeconfig (all-Depend-files): Add existing
8742 $(sorted-subdirs:=/Depend) files.
8743 (all-subdirs): Remove nss.
8744 * sysdeps/unix/inet/Subdirs: Add it here instead.
8745 * hesiod/Depend: New file.
8746
573c29b2
RM
8747 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8748 instead of calling alloca.
8749
b2e25af0
RM
8750 * io/lseek.c (__lseek): Rename to __libc_lseek.
8751 Define __lseek as an alias.
8752
eab55bfb
RM
8753 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8754
9a0d1941
CD
87552013-02-04 Carlos O'Donell <carlos@redhat.com>
8756
8757 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8758 else clause and remove check for non-standard endianness.
8759
b83bbec4
DM
87602013-02-04 David S. Miller <davem@davemloft.net>
8761
8762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8763
6277fdab
JM
87642013-02-04 Joseph Myers <joseph@codesourcery.com>
8765
8766 [BZ #13550]
8767 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8768 (__ubp_memchr): Remove prototype.
8769 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8770 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8771 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8772 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8773 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8774 Remove alias.
8775 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8776 (__ubp_memchr): Likewise.
8777 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8778 (__ubp_memchr): Likewise.
8779 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8780 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8781 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8782 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8783 CHECK_STRING.
8784 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8785 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8786 (__getcwd): Do not use CHECK_STRING.
8787 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8788 <bp-checks.h>.
8789 (__real_chown): Do not use CHECK_STRING.
8790 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8791 <bp-checks.h>.
8792 (fchownat): Do not use CHECK_STRING.
8793 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8794 CHECK_STRING.
8795 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8796 <bp-checks.h>.
8797 (__lchown): Do not use CHECK_STRING.
8798 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8799 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8800 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8801 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8803 include <bp-checks.h>.
8804 (truncate64): Do not use CHECK_STRING.
8805 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8806 <bp-checks.h>.
8807 (__real_chown): Do not use CHECK_STRING.
8808 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8809 <bp-checks.h>.
8810 (__lchown): Do not use CHECK_STRING.
8811 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8812 <bp-checks.h>.
8813 (__chown): Do not use CHECK_STRING.
8814 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8815 <bp-checks.h>.
8816 (truncate64): Do not use CHECK_STRING.
8817 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8818 Likewise.
8819 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8820 (__xmknod): Do not use CHECK_STRING.
8821 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8822 <bp-checks.h>.
8823 (__xmknodat): Do not use CHECK_STRING.
8824 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8825 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8826
903ae060
AS
88272013-02-04 Andreas Schwab <schwab@suse.de>
8828
8829 [BZ #14142]
8830 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8831 * include/netdb.h: Likewise for h_errno.
8832 * elf/tst-stackguard1.c: Include <tls.h>.
8833
542f9466
JK
88342013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8835
8836 * elf/link.h (struct link_map): Extend the l_addr comment.
8837 * include/link.h (struct link_map): Likewise.
8838
e782a927
JM
88392013-02-01 Joseph Myers <joseph@codesourcery.com>
8840
8841 [BZ #13550]
8842 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8843 (BOUNDED_1): Remove macro.
8844 * debug/backtrace.c: Don't include <bp-checks.h>.
8845 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8846 (__backtrace): Likewise.
8847 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8848 <bp-checks.h>.
8849 (__backtrace): Don't use BOUNDED_1.
8850 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8851 <bp-checks.h>.
8852 (__backtrace): Don't use BOUNDED_1.
8853 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8854 (__backtrace): Don't use BOUNDED_1.
8855 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8856 (shmat): Don't use BOUNDED_N.
8857
8cf28c5e
JM
88582013-01-31 Joseph Myers <joseph@codesourcery.com>
8859
3a7ac8a0
JM
8860 [BZ #13550]
8861 * sysdeps/generic/bp-start.h: Remove file.
8862 * csu/libc-start.c: Don't include <bp-start.h>.
8863 (LIBC_START_MAIN): Set up __environ directly instead of using
8864 INIT_ARGV_and_ENVIRON.
8865 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8866 <bp-start.h>.
8867
f3499f95
JM
8868 [BZ #13550]
8869 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8870 definitions.
8871 (CHECK_FCNTL): Likewise.
8872 (CHECK_N_PAGES): Likewise.
8873
32a45bea
JM
8874 [BZ #13550]
8875 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8876 definitions.
8877 (CHECK_SIGSET_NULL_OK): Likewise.
8878 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8879 <bp-checks.h>.
8880 (sigpending): Don't use CHECK_SIGSET.
8881 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8882 <bp-checks.h>.
8883 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8884 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8885 <bp-checks.h>.
8886 (do_sigsuspend): Don't use CHECK_SIGSET.
8887 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8888 use CHECK_SIGSET.
8889 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8890 (do_sigwait): Don't use CHECK_SIGSET.
8891 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8892 use CHECK_SIGSET.
8893 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8894 include <bp-checks.h>.
8895 (sigpending): Don't use CHECK_SIGSET.
8896 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8897 include <bp-checks.h>.
8898 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8899 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8900 <bp-checks.h>.
8901 (sigpending): Don't use CHECK_SIGSET.
8902 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8903 <bp-checks.h>.
8904 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8905
2e8a5c8c
JM
8906 [BZ #13550]
8907 * sysdeps/generic/bp-semctl.h: Remove file.
8908 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8909 <bp-checks.h> and <bp-semctl.h>.
8910 (__old_semctl): Don't use CHECK_SEMCTL.
8911 (__new_semctl): Likewise.
8912 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8913 and <bp-semctl.h>.
8914 (__old_semctl): Don't use CHECK_SEMCTL.
8915 (__new_semctl): Likewise.
8916 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8917 <bp-checks.h> and <bp-semctl.h>.
8918 (__old_semctl): Don't use CHECK_SEMCTL.
8919 (__new_semctl): Likewise.
8920 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8921 <bp-checks.h> and <bp-semctl.h>.
8922 (semctl): Don't use CHECK_SEMCTL.
8923
c2d54929
JM
8924 [BZ #13550]
8925 * Makerules (elide-bp-thunks): Remove variable.
8926 (elide-routines.oS): Don't use $(elide-bp-thunks).
8927 (elide-routines.os): Likewise.
8928 (elide-routines.o): Likewise.
8929 (elide-routines.op): Likewise.
8930 (elide-routines.og): Likewise.
8931 (objects): Don't use $(bp-thunks).
8932 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8933 include.
8934 (common-generated): Do not add s-proto-bp.d.
8935 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8936 (int): Likewise.
8937 (typ): Likewise.
8938 Do not generate makefile rules for bounded-pointer thunks.
8939 * sysdeps/generic/bp-thunks.h: Remove file.
8940 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8941 * sysdeps/unix/s-proto-bp.S: Likewise.
8942
8cf28c5e
JM
8943 [BZ #15062]
8944 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8945 parts of result separately when argument is not close to line from
8946 -i to i and one part of argument is small.
8947 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8948 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8949 * math/libm-test.inc (cacos_test): Add more tests.
8950 (casin_test): Likewise.
8951 (casinh_test): Likewise.
8952 * sysdeps/i386/fpu/libm-test-ulps: Update.
8953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8954
c4e33b8d
DM
89552013-01-31 David S. Miller <davem@davemloft.net>
8956
8957 * po/de.po: Update from translation team.
8958
3b60b421
MK
89592013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8960
8961 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8962
bb931195
TS
89632013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8964
b5a5da23
TS
8965 * configure.in (_AC_PROG_CC_C89): New definition.
8966 * configure: Regenerate.
8967
bb931195
TS
8968 * configure.in (AC_PROG_CPP): New definition.
8969 * configure: Regenerate.
8970
8c53a12c
JM
89712013-01-23 Joseph Myers <joseph@codesourcery.com>
8972
8973 * debug/tst-backtrace.h: New file.
8974 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8975 (ret): Remove variable.
8976 (x): Likewise.
8977 (FAIL): Remove macro.
8978 (NO_INLINE): Likewise.
8979 (fn1): Use match function instead of strstr.
8980 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8981 (ret): Remove variable.
8982 (x): Likewise.
8983 (FAIL): Remove macro.
8984 (NO_INLINE): Likewise.
8985 (fn): Use match function instead of strstr.
8986 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8987 (ret): Remove variable.
8988 (x): Likewise.
8989 (FAIL): Remove macro.
8990 (NO_INLINE): Likewise.
8991 (handle_signal): Use match function instead of strstr.
8992 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8993 (ret): Remove variable.
8994 (x): Likewise.
8995 (FAIL): Remove macro.
8996 (NO_INLINE): Likewise.
8997 (handle_signal): Use match function instead of strstr.
8998
4858fa2a
RM
89992013-01-23 Roland McGrath <roland@hack.frob.com>
9000
9001 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9002
bae8e7f5
DM
90032013-01-23 David S. Miller <davem@davemloft.net>
9004
9005 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9006 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9007 argument of CAS if possible.
9008 * sysdeps/sparc/sparc64/bits/atomic.h
9009 (__arch_compare_and_exchange_val_32_acq): Likewise.
9010 (__arch_compare_and_exchange_val_64_acq): Likewise.
9011
9cbbc4ae
PT
90122013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9013
9014 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9015 * sysdeps/posix/ulimit.c: ... this.
92a601b8 9016 Include <limits.h>.
67b3f58c 9017 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 9018
5655a0b5
AC
90192013-01-23 Adam Conrad <adconrad@0c3.net>
9020
9021 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9022 (LDFLAGS-tst-array5): Likewise.
9023
052aff95
JM
90242013-01-23 Joseph Myers <joseph@codesourcery.com>
9025
9026 [BZ #15036]
9027 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9028 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9029 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9030 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9031
7c1e01aa
DM
90322013-01-21 David S. Miller <davem@davemloft.net>
9033
9034 * sysdeps/sparc/backtrace.c: New file.
9035 * sysdeps/sparc/sparc32/backtrace.h: New file.
9036 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9037 * sysdeps/sparc/sparc64/backtrace.h: New file.
9038 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9039 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9040 -funwind-tables.
9041
ab087e0a
AS
90422013-01-21 Andreas Schwab <schwab@suse.de>
9043
9044 [BZ #15020]
9045 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9046 closed its stdout.
9047
ed689c2f
AS
90482013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9049
9050 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9051 "mpa2.h".
9052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9053
31d470ac
JM
90542013-01-18 Joseph Myers <joseph@codesourcery.com>
9055 Mark Mitchell <mark@codesourcery.com>
9056 Tom de Vries <tom@codesourcery.com>
9057 Paul Pluzhnikov <ppluzhnikov@google.com>
9058
9059 * debug/tst-backtrace2.c: New file.
9060 * debug/tst-backtrace3.c: Likewise.
9061 * debug/tst-backtrace4.c: Likewise.
9062 * debug/tst-backtrace5.c: Likewise.
9063 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9064 (CFLAGS-tst-backtrace3.c): Likewise.
9065 (CFLAGS-tst-backtrace4.c): Likewise.
9066 (CFLAGS-tst-backtrace5.c): Likewise.
9067 (LDFLAGS-tst-backtrace2): Likewise.
9068 (LDFLAGS-tst-backtrace3): Likewise.
9069 (LDFLAGS-tst-backtrace4): Likewise.
9070 (LDFLAGS-tst-backtrace5): Likewise.
9071 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9072 tst-backtrace4 and tst-backtrace5.
9073
90567f30 90742013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
9075 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9076
9077 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9078 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9079 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9080 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9082 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9083 "+r" and remove output regs list as redundant. Add explicit inline
9084 asm to specify register of return val to work around compiler codegen
9085 bug. Remove (int) cast on return value. Add return type parameter to
9086 use in macro so that this macro does not truncate return value for
9087 64-bit values.
9088 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9089 pass to INTERNAL_VSYSCALL_NCS.
9090 (INLINE_VSYSCALL): Add 'long int' as return type to
9091 INTERNAL_VSYSCALL_NCS macro invocation.
9092 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9093 INTERNAL_VSYSCALL_NCS macro invocation.
9094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9095
d3b9ea61
SP
90962013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9097
0b57daeb
SP
9098 [BZ #14496]
9099 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9100 Fix application of SIMD FP exception mask.
9101
caa99d06
SP
9102 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9103 mp_no from a power of two.
9104 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9105 __mpexp_twomm1. Use __pow_mp.
9106
d3b9ea61
SP
9107 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9108 multiplication.
9109
1dbaee3c
DM
91102013-01-17 David S. Miller <davem@davemloft.net>
9111
9112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9113
728d7b43
JM
91142013-01-17 Joseph Myers <joseph@codesourcery.com>
9115
9116 [BZ #15023]
9117 * include/complex.h: Condition contents on [!_COMPLEX_H].
9118 (__kernel_casinhf): New prototype.
9119 (__kernel_casinh): Likewise.
9120 (__kernel_casinhl): Likewise.
9121 * math/Makefile (libm_calls): Add k_casinh.
9122 * math/k_casinh.c: New file.
9123 * math/k_casinhf.c: Likewise.
9124 * math/k_casinhl.c: Likewise.
9125 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9126 finite nonzero arguments.
9127 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9128 finite nonzero arguments.
9129 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9130 finite nonzero arguments.
9131 * math/s_casinh.c: Do not include <float.h>.
9132 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9133 * math/s_casinhf.c: Do not include <float.h>.
9134 (__casinhf): Move code for finite nonzero arguments to
9135 k_casinhf.c.
9136 * math/s_casinhl.c: Do not include <float.h>.
9137 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9138 redefine.
9139 (__casinhl): Move code for finite nonzero arguments to
9140 k_casinhl.c.
9141 * math/libm-test.inc (cacos_test): Add more tests.
9142 * sysdeps/i386/fpu/libm-test-ulps: Update.
9143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9144
2a26ef3a
PT
91452013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9146
9147 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9148 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9149 [!HAVE_MREMAP]: Remove [defined linux] case.
9150 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9151
a897655d
SP
91522013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9153
9154 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9155
881ebe89 91562013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
9157
9158 * elf/elf.h (R_386_SIZE32): New relocation.
9159 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9160 R_386_SIZE32.
9161 (elf_machine_rela): Likewise.
9162 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9163 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9164
59981e9b
JM
91652013-01-17 Joseph Myers <joseph@codesourcery.com>
9166
9167 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9168 (FP_FAST_FMA): Do not define.
9169 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9170 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9171 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9172 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9173 !_SOFT_FLOAT]: Likewise.
9174 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9175 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9176 value.
9177 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9178 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9179 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9180 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9181 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9182 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9183 file.
9184
cfa8054f
AS
91852013-01-16 Andreas Schwab <schwab@suse.de>
9186
9187 [BZ #14327]
9188 * include/stdlib.h (__mktemp): Add declaration.
9189 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9190 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9191
dd930cc5
SP
91922013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9193
881ebe89
SP
9194 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9195 definitions.
9196 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9197 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9198 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9199 definitions here.
9200 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9201 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9202 definitions.
9203 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9204 and ONE.
9205 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9206 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9207 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9208 definitions.
9209 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9210 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9211 definitions.
9212 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9213
dd930cc5
SP
9214 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9215
c19a9f89
DM
92162013-01-15 David S. Miller <davem@davemloft.net>
9217
1aa61767
DM
9218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9219 trunc{,f} to libm-sysdep_routes.
9220 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9222 file.
9223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9225 file.
9226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9227 file.
9228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9230 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9231 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9232 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9233 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9234 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9235 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9236
c42d5e98
DM
9237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9238 nearbyint{,f} to libm-sysdep_routes.
9239 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9241 New file.
9242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9243 file.
9244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9245 New file.
9246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9247 file.
9248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9250 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9251 file.
9252 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9253 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9254 file.
9255 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9256 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9257 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9258
c19a9f89
DM
9259 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9260 libc_feholdexcept and libc_fesetenv.
9261
357679d2
MF
92622013-01-15 Mike Frysinger <vapier@gentoo.org>
9263
9264 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9265
65a82e3d
DM
92662013-01-14 David S. Miller <davem@davemloft.net>
9267
8b954ab9
DM
9268 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9269 (SPARC_ASM_VIS2_IFUNC): Likewise.
9270 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9272 use of 'siam' instruction.
9273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9274 Likewise.
9275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9276 Likewise.
9277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9278 Likewise.
9279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9280 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9284 file.
9285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9286 file.
9287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9288 file.
9289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9290 file.
9291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9292 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9294 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9296 new VIS2 routines.
9297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9300 Likewise.
9301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9302 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9304 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9306 routines to libm-sysdep_routines.
9307 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9308
65a82e3d
DM
9309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9310 fdim/fdimf to libm-sysdep_routines.
9311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9312 file.
9313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9315 file.
9316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9319 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9320 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9321 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9322 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9323
e34ab705
SP
93242013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9325
2a91b573
SP
9326 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9327 to optimize copies.
9328
1066a534
SP
9329 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9330 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9332
e34ab705
SP
9333 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9334 local variable MPTWO.
9335 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9336 Likewise.
9337
aba5e596
MF
93382013-01-13 Mike Frysinger <vapier@gentoo.org>
9339
9340 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9341 GLOB_NOESCAPE.
9342
e557e9e5
MF
93432013-01-13 Mike Frysinger <vapier@gentoo.org>
9344
9345 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9346
0428cec9
MF
93472013-01-13 Mike Frysinger <vapier@gentoo.org>
9348
9349 * manual/pattern.texi (glob_t): Document gl_flags.
9350 (glob64_t): Likewise.
9351
8794a964
DM
93522013-01-11 David S. Miller <davem@davemloft.net>
9353
66438c3f
RM
9354 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9355 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9356 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9357 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9358 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9359 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9360 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9361 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9362 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9363 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9364 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9365 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9366 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9367
4ae4244d
DM
9368 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9369 sparc V9 rather than using V8 code.
9370 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9371 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9372
8794a964
DM
9373 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9374 Move to...
9375 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9376 Here.
9377
6270516e
RM
93782013-01-11 Roland McGrath <roland@hack.frob.com>
9379
9380 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9381 not in the main loop.
9382 * configure: Regenerated.
9383
6a57d931
JM
93842013-01-11 Joseph Myers <joseph@codesourcery.com>
9385
9386 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9387 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9388 to just #else.
9389 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9390 [!__GLIBC_HAVE_LONG_LONG] case.
9391 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9392 condition to just #else.
9393 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9394 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9395 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9396 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9397 unconditional.
9398 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9399 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9400 #elif condition to just #else.
9401 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9402 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9403 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9404 #elif condition to just #else.
9405
0e8529e9
SE
94062013-01-11 Steve Ellcey <sellcey@mips.com>
9407
9408 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9409 (EF_MIPS_ARCH_64): Fix value.
9410 (EF_MIPS_ARCH_32R2): New.
9411 (EF_MIPS_ARCH_64R2): New.
9412
740b3dbe
L
94132013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9414
9415 * Makeconfig (+link-pie-before-libc): New.
9416 (+link-pie-after-libc): Likewise.
9417 (+link-pie-tests): Likewise.
9418 (+link-pie): Rewritten.
9419 (link-before-libc): Remove $(config-LDFLAGS).
9420 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9421 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9422 (config-LDFLAGS): Renamed to ...
9423 (rtld-LDFLAGS): This.
9424 (rtld-tests-LDFLAGS): New macro.
9425 (link-libc-rpath-link): Likewise.
9426 (link-libc-tests-rpath-link): Likewise.
9427 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9428 (link-libc): Prepand $(link-libc-rpath-link).
9429 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9430 (test-program-prefix): New macro.
9431 (test-via-rtld-prefix): Likewise.
9432 (test-program-cmd): Likewise.
9433 (host-test-program-cmd): Likewise.
9434 * Makefile ($(common-objpfx)testrun.sh): Replace
9435 $(run-program-prefix) with $(test-program-prefix).
9436 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9437 $(rtld-LDFLAGS).
9438 ($(common-objpfx)shlib.lds): Likewise.
9439 (build-module-helper): Likewise.
9440 ($(common-objpfx)format.lds): Likewise.
9441 * Rules (binaries-pie-tests): New.
9442 (binaries-pie-notests): Likewise.
9443 (binaries-pie): Rewritten.
9444 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9445 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9446 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9447 (make-test-out): Replace $(host-built-program-cmd) with
9448 $(host-test-program-cmd).
9449 * config.make.in (build-hardcoded-path-in-tests): New variable.
9450 * configure.in (--enable-hardcoded-path-in-tests): New configure
9451 option.
9452 (hardcoded_path_in_tests): New AC_SUBST.
9453 * configure: Regenerated.
9454 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9455 $(built-program-cmd) with $(test-program-cmd).
9456 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9457 (test_program_cmd): This.
9458 * elf/Makefile ($(objpfx)order.out): Run test with
9459 $(test-program-prefix).
9460 ($(objpfx)order2.out): Likewise.
9461 ($(objpfx)tst-initorder.out): Likewise.
9462 ($(objpfx)tst-initorder2.out): Likewise.
9463 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9464 $(test-program-cmd).
9465 ($(objpfx)tst-array1-static.out): Likewise.
9466 ($(objpfx)tst-array2.out): Likewise.
9467 ($(objpfx)tst-array3.out): Likewise.
9468 ($(objpfx)tst-array4.out): Likewise.
9469 ($(objpfx)tst-array5.out): Likewise.
9470 ($(objpfx)tst-array5-static.out): Likewise.
9471 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9472 $(test-program-cmd).
9473 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9474 $(run-program-prefix) with $(test-program-prefix).
9475 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9476 (test_program_prefix): This.
9477 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9478 $(run-program-prefix) with $(test-program-prefix).
9479 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9480 (test_program_prefix): This.
9481 * iconvdata/tst-tables.sh: Likewise.
9482 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9483 $(run-program-prefix) with $(test-program-prefix).
9484 ($(objpfx)tst-translit.out): Likewise.
9485 ($(objpfx)tst-gettext2.out): Likewise.
9486 ($(objpfx)tst-gettext4.out): Likewise.
9487 ($(objpfx)tst-gettext6.out): Likewise.
9488 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9489 (test_program_prefix): This.
9490 * intl/tst-gettext2.sh: Likewise.
9491 * intl/tst-gettext4.sh Likewise.
9492 * intl/tst-gettext6.sh: Likewise.
9493 * intl/tst-translit.sh: Likewise.
9494 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9495 with $(test-program-cmd).
9496 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9497 $(run-program-prefix) with $(test-program-prefix).
9498 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9499 (test_program_prefix): This.
9500 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9501 $(run-program-prefix) with $(test-program-prefix).
9502 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9503 (test_program_prefix): This.
9504 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9505 * posix/Makefile ($(objpfx)globtest.out): Replace
9506 $(run-via-rtld-prefix) and $(test-wrapper) with
9507 $(test-program-prefix) and $(test-via-rtld-prefix).
9508 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9509 $(test-program-prefix).
9510 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9511 $(host-test-program-cmd).
9512 (tst-spawn-ARGS): Likewise.
9513 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9514 $(test-program-prefix).
9515 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9516 (test_via_rtld_prefix): This.
9517 (test_wrapper): Renamed to ...
9518 (test_program_prefix): This.
9519 (run_program_prefix): Replaced by test_program_prefix.
9520 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9521 (test_program_prefix): This.
9522 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9523 with $(host-test-program-cmd).
9524 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9525 $(run-program-prefix) with $(test-program-prefix).
9526 ($(objpfx)tst-printf.out): Likewise.
9527 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9528 $(test-program-cmd).
9529 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9530 (test_program_prefix): This.
9531 * stdio-common/tst-unbputc.sh: Likewise.
9532 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9533 $(run-program-prefix) with $(test-program-prefix).
9534 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9535 (test_program_prefix): This.
9536 * string/Makefile ($(objpfx)tst-svc.out): Replace
9537 $(built-program-cmd) with $(test-program-cmd).
9538
c6fe55cf
AJ
95392013-01-11 Andreas Jaeger <aj@suse.de>
9540
9541 [BZ #15003]
9542 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9543 value. Sync with Linux 3.7.
9544
9e6919c8
DM
95452013-01-10 David S. Miller <davem@davemloft.net>
9546
9547 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9548 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9549 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9550
1c9f1a02
RM
95512013-01-10 Roland McGrath <roland@hack.frob.com>
9552
9553 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9554 never set.
9555 * configure: Regenerated.
9556
b9de2dde
DM
95572013-01-10 David S. Miller <davem@davemloft.net>
9558
9559 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9560 sparc V9 rather than using V8 code.
9561 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9562 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9563
e7f68ef4
RM
95642013-01-10 Roland McGrath <roland@hack.frob.com>
9565
9566 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9567 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9568 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9569 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9570 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9571 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9572 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9573 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9574 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9575 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9576 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9577 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9578 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9579 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9580 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9581 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9582 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9583 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9584 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9585 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9586 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9587 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9588 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9589 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9590 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9591 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9592 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9593
5a47cc9c
DM
95942013-01-10 David S. Miller <davem@davemloft.net>
9595
9596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9597
4cf8f209
L
95982013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9599
9600 * posix/Makefile (tests-static): New variable.
9601 (tests): Add $(tests-static).
9602 (tst-exec-static-ARGS): New variable.
9603 (tst-spawn-static-ARGS): Likewise.
9604 * posix/tst-exec-static.c: New file.
9605 * posix/tst-spawn-static.c: Likewise.
9606 * posix/tst-exec.c: Support run directly.
9607 * posix/tst-spawn.c: Likewise.
9608
fed0faa1
JM
96092013-01-10 Joseph Myers <joseph@codesourcery.com>
9610
828beb13
JM
9611 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9612 long.
9613 * math/bits/mathcalls.h (llrint): Likewise.
9614 (llround): Likewise.
9615 * stdlib/stdlib.h (struct drand48_data): Likewise.
9616 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9617 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9618 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9619 Likewise.
9620 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9621 Likewise.
9622 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9623 (elf_greg_t): Likewise.
9624 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9625 (__jmp_buf): Likewise.
9626 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9627 definitions.
9628 (llrint): Likewise, for all definitions.
9629 (llrintl): Likewise.
9630
fed0faa1
JM
9631 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9632 Remove [__GNUC__] condition.
9633 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9634 condition to just [__USE_ISOC99].
9635 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9636
1a20cb20
L
96372013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9638
9639 [BZ #14200]
9640 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9641 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9642 defined.
9643 (_POSIX_V6_ILP32_OFF32): Likewise.
9644 (_XBS5_ILP32_OFF32): Likewise.
9645 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9646 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9647
751b85f7
SP
96482013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9649
7490eb81
SP
9650 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9651
751b85f7
SP
9652 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9653 doubles __mpexp_twomm1. Adjust usage.
9654 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9655 Remove.
9656
988197f0
AS
96572013-01-10 Andreas Schwab <schwab@suse.de>
9658
9659 [BZ #14964]
9660 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9661 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9662
e83d7298
DM
96632013-01-09 David S. Miller <davem@davemloft.net>
9664
034ed64b 9665 [BZ #15003]
e83d7298
DM
9666 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9667 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9668 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9669 TCP_FASTOPEN): Define.
9670 (tcp_repair_opt): New structure.
9671 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9672 enum values.
9673 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9674 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9675 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9676 (tcp_cookie_transactions): New structure.
9677
d5e0b9bd
AB
96782013-01-09 Anton Blanchard <anton@samba.org>
9679
9680 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9681 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9682 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9683 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9684
0c07e3ea
JM
96852013-01-09 Joseph Myers <joseph@codesourcery.com>
9686
9687 * include/features.h (__USE_ANSI): Remove.
9688
232f7002
RM
96892013-01-09 Roland McGrath <roland@hack.frob.com>
9690
ad98e30c
RM
9691 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9692
232f7002
RM
9693 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9694
950c99ca
SP
96952013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9696
b5792741
SP
9697 * sysdeps/s390/fpu/libm-test-ulps: Update.
9698
47cf2278
SP
9699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9700
950c99ca
SP
9701 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9702 (__acr): Likewise.
9703 (__cpy): Likewise.
9704 (norm): Likewise.
9705 (denorm): Likewise.
9706 (__mp_dbl): Likewise.
9707 (__dbl_mp): Likewise.
9708 (add_magnitudes): Likewise.
9709 (sub_magnitudes): Likewise.
9710 (__add): Likewise.
9711 (__sub): Likewise.
9712 (__mul): Likewise.
9713 (__inv): Likewise.
9714 (__dvd): Likewise.
9715 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9716 (__acr): Likewise.
9717 (__cpy): Likewise.
9718 (norm): Likewise.
9719 (denorm): Likewise.
9720 (__mp_dbl): Likewise.
9721 (__dbl_mp): Likewise.
9722 (add_magnitudes): Likewise.
9723 (sub_magnitudes): Likewise.
9724 (__add): Likewise.
9725 (__sub): Likewise.
9726 (__mul): Likewise.
9727 (__inv): Likewise.
9728 (__dvd): Likewise.
9729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9730 (__acr): Likewise.
9731 (__cpy): Likewise.
9732 (norm): Likewise.
9733 (denorm): Likewise.
9734 (__mp_dbl): Likewise.
9735 (__dbl_mp): Likewise.
9736 (add_magnitudes): Likewise.
9737 (sub_magnitudes): Likewise.
9738 (__add): Likewise.
9739 (__sub): Likewise.
9740 (__mul): Likewise.
9741 (__inv): Likewise.
9742 (__dvd): Likewise.
9743
eede9df9
JM
97442013-01-08 Joseph Myers <joseph@codesourcery.com>
9745
9746 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9747 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9748 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9749 2 && __USE_EXTERN_INLINES]: Likewise.
9750
c40ea3d9
AJ
97512013-01-08 Andreas Jaeger <aj@suse.de>
9752
9753 [BZ# 14985]
9754 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9755 Remove.
9756 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9757 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9758
2ccdea26
AB
97592013-01-07 Anton Blanchard <anton@samba.org>
9760
9761 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9762 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9763 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9764 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9765 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9766 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9767 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9768 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9769 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9770 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9771 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9772 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9773 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9774 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9775 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9776 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9777 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9778 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9779 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9780 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9781 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9782 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9783 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9784 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9785 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9786 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9787 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9788 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9789 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9790 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9791 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9793 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9794 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9795 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9796 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9797 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9798 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9799 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9800 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9801 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9802 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9803 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9804
a9708fed
JM
98052013-01-07 Joseph Myers <joseph@codesourcery.com>
9806
375607b9
JM
9807 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9808 (__MALLOC_PMT): Likewise.
9809 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9810 [__GNUC__], only on [_LIBC].
9811 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9812 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9813 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9814 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9815 forward declaration.
9816 (realloc_hook_ini): Likewise.
9817 (memalign_hook_ini): Likewise.
9818 (__libc_memalign): Do not use __MALLOC_PMT in variable
9819 declaration.
9820 (__libc_valloc): Likewise.
9821 (__libc_pvalloc): Likewise.
9822 (__libc_calloc): Likewise.
9823 (__posix_memalign): Likewise.
9824
a9708fed
JM
9825 [BZ #14996]
9826 * math/s_casinh.c: Include <float.h>.
9827 (__casinh): Do not do computation with squaring and square root
9828 for large arguments.
9829 * math/s_casinhf.c: Include <float.h>.
9830 (__casinhf): Do not do computation with squaring and square root
9831 for large arguments.
9832 * math/s_casinhl.c: Include <float.h>.
9833 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9834 (__casinhl): Do not do computation with squaring and square root
9835 for large arguments.
9836 * math/libm-test.inc (casin_test): Add more tests.
9837 (casinh_test): Likewise.
9838 * sysdeps/i386/fpu/libm-test-ulps: Update.
9839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9840
afec409a
L
98412013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9842
9843 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9844 (__x86_64_raw_data_cache_size): Likewise.
9845 (__x86_64_data_cache_size_half): Likewise.
9846 (__x86_64_raw_data_cache_size_half): Likewise.
9847 (__x86_64_shared_cache_size): Likewise.
9848 (__x86_64_raw_shared_cache_size): Likewise.
9849 (__x86_64_shared_cache_size_half): Likewise.
9850 (__x86_64_raw_shared_cache_size_half): Likewise.
9851 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9852 to ...
9853 (__x86_data_cache_size): This.
9854 (__x86_64_raw_data_cache_size): Renamed to ...
9855 (__x86_raw_data_cache_size): This.
9856 (__x86_64_data_cache_size_half): Renamed to ...
9857 (__x86_data_cache_size_half): This.
9858 (__x86_64_raw_data_cache_size_half): Renamed to ...
9859 (__x86_raw_data_cache_size_half): This.
9860 (__x86_64_shared_cache_size): Renamed to ...
9861 (__x86_shared_cache_size): This.
9862 (__x86_64_raw_shared_cache_size): Renamed to ...
9863 (__x86_raw_shared_cache_size): This.
9864 (__x86_64_shared_cache_size_half): Renamed to ...
9865 (__x86_shared_cache_size_half): This.
9866 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9867 (__x86_raw_shared_cache_size_half): This.
9868 * sysdeps/x86_64/memcpy.S: Updated.
9869 * sysdeps/x86_64/memset.S: Likewise.
9870 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9871 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9872 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9873
0b3986d0
DM
98742013-01-04 David S. Miller <davem@davemloft.net>
9875
9876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9877
e47686e9
AS
98782013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9879
d643bac1
AS
9880 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9881 1 to avoid redefinition warning.
9882 (__USE_GNU): Don't define.
9883 (init_signaling_nan): Protoize.
9884
e47686e9
AS
9885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9886
b18decba
SP
98872013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9888
fffb407f
SP
9889 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9891 (__cpymn): Likewise.
9892 (norm): Remove commented code.
9893 (denorm): Likewise.
9894 (__mp_dbl): Likewise.
9895 (__inv): Likewise.
9896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9897 (__cpymn): Likewise.
9898 (norm): Remove commented code.
9899 (denorm): Likewise.
9900 (__mp_dbl): Likewise.
9901 (__inv): Likewise.
9902
b18decba
SP
9903 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9904 mp_no value for 1.0 and 2.0.
9905 (norm): Use RADIXI instead of radixi.d.
9906 (denorm): Likewise.
9907 (__mul): Use 0.0 instead of zero.d.
9908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9909 mp_no value for 1.0 and 2.0.
9910 (norm): Use RADIXI instead of radixi.d.
9911 (denorm): Likewise.
9912 (__mul): Use 0.0 instead of zero.d.
9913
cdc1c96f
JM
99142013-01-04 Joseph Myers <joseph@codesourcery.com>
9915
9916 [BZ #14994]
9917 * math/s_casinh.c (__casinh): Reduce finite argument to first
9918 quadrant then set signs of results at the end.
9919 * math/s_casinhf.c (__casinhf): Likewise.
9920 * math/s_casinhl.c (__casinhl): Likewise.
9921 * math/libm-test.inc (casin_test): Add more tests.
9922 (casinh_test): Likewise.
9923 * sysdeps/i386/fpu/libm-test-ulps: Update.
9924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9925
302913e1
SP
99262013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9927
6420d207
SP
9928 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9929
a9e48ab4
SP
9930 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9931
b7837264
SP
9932 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9933 declarations.
9934 (denorm): Likewise.
9935 (__mp_dbl): Likewise.
9936 (__inv): Likewise.
9937
f8af25d2
SP
9938 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9939 and adjust the header comment.
9940
302913e1
SP
9941 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9942 variable name from declaration.
9943
5d7dd1ca
L
99442013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9945
9946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9947 Initialize COMMON_CPUID_INDEX_7 element.
9948 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9949 (CPUID_RTM): Likewise.
9950 (HAS_RTM): Likewise.
9951 (COMMON_CPUID_INDEX_7): New enum.
9952
2f5f40f4
AS
99532013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9954
9955 [BZ #14981]
9956 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9957 size is zero, record memory as freed.
9958
4056f4a0
AJ
99592013-01-03 Andreas Jaeger <aj@suse.de>
9960
9961 * po/ia.po: Add new Interlingua translation.
9962
ab15736f 99632012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9964
9965 * locale/programs/localedef.c: Fix description of '--posix' flag.
9966
568035b7
JM
99672013-01-02 Joseph Myers <joseph@codesourcery.com>
9968
e6898b8d
JM
9969 * NEWS: Update dates in second copyright notice.
9970 * README: Update copyright dates in example.
9971 * manual/libc.texinfo: Update copyright dates.
9972 * scripts/test-installation.pl: Update copyright date in --version
9973 output.
9974
0e2f9562
JM
9975 * hurd/ctty-input.c: Fix copyright notice formatting.
9976 * hurd/ctty-output.c: Likewise.
9977 * hurd/dtable.c: Likewise.
9978 * hurd/hurd-raise.c: Likewise.
9979 * hurd/hurdprio.c: Likewise.
9980 * hurd/msgportdemux.c: Likewise.
9981 * misc/sys/file.h: Likewise.
9982 * misc/sys/ioctl.h: Likewise.
9983 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9984 * sysdeps/mach/hurd/chdir.c: Likewise.
9985 * sysdeps/mach/hurd/fchdir.c: Likewise.
9986 * sysdeps/mach/hurd/rename.c: Likewise.
9987 * sysdeps/mach/hurd/rmdir.c: Likewise.
9988 * sysdeps/mach/hurd/seekdir.c: Likewise.
9989 * sysdeps/mach/hurd/setsid.c: Likewise.
9990 * sysdeps/posix/wait3.c: Likewise.
9991
568035b7
JM
9992 * All files with FSF copyright notices: Update copyright dates
9993 using scripts/update-copyrights.
9994 * intl/plural.c: Regenerated.
9995 * locale/programs/charmap-kw.h: Likewise.
9996 * locale/programs/locfile-kw.h: Likewise.
9997
da08f647
SP
99982013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9999
0f5477af
SP
10000 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10001 four values.
10002
44e0d4c2
SP
10003 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10004 calculation loop and add branch prediction.
10005
4d55b4e5
SP
10006 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10007 check access beyond bounds of m1np.
10008
da08f647
SP
10009 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10010 MPTWO.
10011 (__inv): Remove local variable MPTWO to use the global
10012 constant.
10013 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10014 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10015 variable MPTWO.
10016 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10017 MP3HALFS static const.
10018
8e051029
DM
100192013-01-01 David S. Miller <davem@davemloft.net>
10020
10021 * po/ca.po: Update from translation team.
10022
f4cf5f2d
JM
100232013-01-01 Joseph Myers <joseph@codesourcery.com>
10024
10025 * scripts/update-copyrights: New file.
10026 * Makeconfig: Reformat copyright notice.
10027 * ctype/ctype.h: Likewise.
10028 * debug/swprintf_chk.c: Likewise.
10029 * elf/dl-cache.c: Likewise.
10030 * elf/dl-debug.c: Likewise.
10031 * elf/dl-object.c: Likewise.
10032 * grp/initgroups.c: Likewise.
10033 * hurd/Makefile: Likewise.
10034 * hurd/hurd/signal.h: Likewise.
10035 * hurd/hurdfault.c: Likewise.
10036 * hurd/hurdioctl.c: Likewise.
10037 * hurd/hurdlookup.c: Likewise.
10038 * hurd/intr-msg.c: Likewise.
10039 * iconv/gconv_open.c: Likewise.
10040 * libio/swprintf.c: Likewise.
10041 * locale/lc-ctype.c: Likewise.
10042 * locale/nl_langinfo.c: Likewise.
10043 * mach/Machrules: Likewise.
10044 * mach/Makefile: Likewise.
10045 * malloc/obstack.h: Likewise.
10046 * manual/Makefile: Likewise.
10047 * manual/tsort.awk: Likewise.
10048 * misc/bits/stab.def: Likewise.
10049 * nis/nis_print_group_entry.c: Likewise.
10050 * nis/nis_table.c: Likewise.
10051 * nis/nss_compat/compat-pwd.c: Likewise.
10052 * nis/nss_compat/compat-spwd.c: Likewise.
10053 * po/Makefile: Likewise.
10054 * posix/fnmatch.c: Likewise.
10055 * posix/regex.h: Likewise.
10056 * resolv/Makefile: Likewise.
10057 * resolv/nss_dns/dns-network.c: Likewise.
10058 * resolv/res_hconf.c: Likewise.
10059 * scripts/gen-sorted.awk: Likewise.
10060 * soft-fp/soft-fp.h: Likewise.
10061 * stdio-common/printf.h: Likewise.
10062 * stdlib/monetary.h: Likewise.
10063 * stdlib/random.c: Likewise.
10064 * stdlib/random_r.c: Likewise.
10065 * sysdeps/generic/Makefile: Likewise.
10066 * sysdeps/gnu/Makefile: Likewise.
10067 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10068 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10069 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10070 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10071 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10072 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10073 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10074 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10075 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10076 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10077 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10079 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10090 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10091 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10092 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10093 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10094 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10095 * sysdeps/mach/hurd/errnos.awk: Likewise.
10096 * sysdeps/mach/hurd/fork.c: Likewise.
10097 * sysdeps/mach/hurd/getcwd.c: Likewise.
10098 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10099 * sysdeps/mach/hurd/mmap.c: Likewise.
10100 * sysdeps/mach/hurd/utimes.c: Likewise.
10101 * sysdeps/mach/hurd/xmknod.c: Likewise.
10102 * sysdeps/posix/profil.c: Likewise.
10103 * sysdeps/posix/readdir_r.c: Likewise.
10104 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10105 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10106 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10107 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10108 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10109 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10110 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10111 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10112 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10113 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10114 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10115 * sysdeps/pthread/lio_listio.c: Likewise.
10116 * sysdeps/sparc/dl-procinfo.h: Likewise.
10117 * sysdeps/unix/i386/sysdep.S: Likewise.
10118 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10119 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10120 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10121 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10123 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10124 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10125 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10126 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10127 * sysdeps/wordsize-32/divdi3.c: Likewise.
10128 * time/sys/time.h: Likewise.
10129 * wcsmbs/Makefile: Likewise.
10130
0549fbba
DM
101312013-01-01 David S. Miller <davem@davemloft.net>
10132
a141f1a7
DM
10133 * po/fr.po: Update from translation team.
10134
0549fbba
DM
10135 * catgets/gencat.c: Update copyright year.
10136 * csu/version.c: Likewise.
10137 * debug/catchsegv.sh: Likewise.
10138 * debug/pcprofiledump.c: Likewise.
10139 * debug/xtrace.sh: Likewise.
10140 * elf/ldconfig.c: Likewise.
10141 * elf/ldd.bash.in: Likewise.
10142 * elf/pldd.c: Likewise.
10143 * elf/sotruss.ksh: Likewise.
10144 * elf/sprof.c: Likewise.
10145 * iconv/iconv_prog.c: Likewise.
10146 * iconv/iconvconfig.c: Likewise.
10147 * locale/programs/locale.c: Likewise.
10148 * locale/programs/localedef.c: Likewise.
10149 * login/programs/pt_chown.c: Likewise.
10150 * malloc/memusage.sh: Likewise.
10151 * malloc/memusagestat.c: Likewise.
10152 * malloc/mtrace.pl: Likewise.
10153 * nscd/nscd.c: Likewise.
10154 * nss/getent.c: Likewise.
10155 * nss/makedb.c: Likewise.
10156 * posix/getconf.c: Likewise.
10157
18ea052c
SP
101582012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10159
10160 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10161 numbers.
10162
9c89fca6
MF
101632012-12-30 Mike Frysinger <vapier@gentoo.org>
10164
10165 * math/bits/mathcalls.h (modf): Use __nonnull.
10166
085ec079
SP
101672012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10168
10169 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10170 (split): Use macro CN instead of the bare value.
10171 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10172 could be used.
10173 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10174 instead of the bare value.
10175 (power1): Likewise.
10176
6d9f97e1
SP
101772012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10178
d63f73be
SP
10179 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10180 __ATAN_TWOM.
10181 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10182
6d9f97e1
SP
10183 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10184 their values.
10185 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10186 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10187 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10188 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10189
4c4febf5
AJ
101902012-12-28 Andreas Jaeger <aj@suse.de>
10191
af5843ef
AJ
10192 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10193 values are from Linux 3.7.
10194
4c4febf5
AJ
10195 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10196 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10197
99136f82
SP
101982012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10199
2f216c3c 10200 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10201 TRUE case.
10202
99136f82
SP
10203 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10204 (norm): Likewise.
10205 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10206 variables with preprocessor constants.
10207 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10208 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10209 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10210
7fffbdff
BH
102112012-12-27 Bruno Haible <bruno@clisp.org>
10212
10213 [BZ #14317]
10214 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10215 only if needed.
10216
b76eb5f0
SP
102172012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10218
31a7fe5c
SP
10219 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10220 and use variable directly.
10221 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10222
b76eb5f0
SP
10223 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10224 MPONE.
10225 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10226 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10227 variable MPONE.
10228 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10229 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10230 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10231 include directive. Remove local variable MPONE.
10232 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10233 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10234 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10235
2c8bfe7d
DM
102362012-12-25 David S. Miller <davem@davemloft.net>
10237
10238 * version.h (RELEASE): Set to "development".
10239 (VERSION): Set to "2.17.90".
10240 * NEWS: Add 2.18 section.
10241
147d03b0
DM
102422012-12-21 David S. Miller <davem@davemloft.net>
10243
10244 * po/hr.po: Update from translation team.
10245
a8ebb2b9
AK
102462012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10247
10248 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10249
95b4f1b6
SE
102502012-12-19 Steve Ellcey <sellcey@mips.com>
10251
b2d94007 10252 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10253
cedb2a90
MS
102542012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10255
10256 * manual/contrib.texi (Contributors): Spelling correction.
10257
bbf527d6
DM
102582012-12-15 David S. Miller <davem@davemloft.net>
10259
10260 * po/ru.po: Update from translation team.
10261
bc38c906
DM
102622012-12-13 David S. Miller <davem@davemloft.net>
10263
85429b1a
DM
10264 * NEWS: Mention IFUNC testsuite enhancements.
10265
d283e353
DM
10266 * po/pl.po: Update from translation team.
10267 * po/bg.po: Likewise.
10268
bc38c906
DM
10269 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10270 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10271
a181b0d7
DM
102722012-12-11 David S. Miller <davem@davemloft.net>
10273
4641d57e
DM
10274 * po/sv.po: Update from translation team.
10275
f7bc6495
DM
10276 * po/vi.po: Update from translation team.
10277
6fc9048f
DM
10278 * po/cs.po: Update from translation team.
10279
a181b0d7
DM
10280 * po/de.po: Update from translation team.
10281 * po/eo.po: Likewise.
10282 * po/nl.po: Likewise.
10283
f70bfe80
SP
102842012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10285
3c8b4190
SP
10286 [BZ #14246]
10287 * manual/argp.texi (Argp Helper Functions): Move node to follow
10288 Argp Parsing State.
10289
f70bfe80
SP
10290 [BZ #14872]
10291 * manual/conf.texi (Limits on File System Capacity): Mention if
10292 terminating null is included in the max size.
10293
188f0adf
AJ
102942012-12-10 Andreas Jaeger <aj@suse.de>
10295
10296 * po/cs.po: Update from translation team.
10297
56e7d3ad
SP
102982012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10299
10300 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10301 void pointer and cast to uintptr_t.
10302 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10303 path.
10304 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10305 * sysdeps/s390/s390-64/memset.S: Likewise.
10306
76f2d2ea 103072012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10308
10309 [BZ #14833]
10310 * menual/message.texi (Message Translation): Fix typos.
10311 (Helper programs for gettext): Likewise.
10312
67cbf9a2
AS
103132012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10314
10315 [BZ #14898]
10316 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10317 Change to -1.
10318
682d0e9a
DM
103192012-12-07 David S. Miller <davem@davemloft.net>
10320
10321 * po/libc.pot: Update.
10322
573cd484
RH
103232012-12-07 Richard Henderson <rth@redhat.com>
10324
7e9da188 10325 [BZ #10114]
573cd484
RH
10326 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10327 normal/normal case to before the switch.
10328 (_FP_DIV): Likewise.
10329
e933a943
MF
103302012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10331 Mike Frysinger <vapier@gentoo.org>
10332
10333 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10334 check for __NR_fadvise64_64.
10335
82123268
CM
103362012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10337
10338 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10339 0, not just to plain "0" as a statement.
10340 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10341 with cw.
10342
d9814526
JM
103432012-12-06 Joseph Myers <joseph@codesourcery.com>
10344
10345 * NEWS: Use sourceware.org in Bugzilla URL.
10346
7728c574
SP
103472012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10348
f16946dd
SP
10349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10350 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10351
5704bbcb
SP
10352 * stdio-common/tst-put-error.c (do_test): Add newline to the
10353 padded test to ensure flush.
10354
17aa0516
JL
103552012-12-05 Jeff Law <law@redhat.com>
10356
10357 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10358
363313b5
JM
103592012-12-05 Joseph Myers <joseph@codesourcery.com>
10360
effbd42a
JM
10361 * README: Don't refer to ports add-on as distributed separately.
10362 Mention AArch64 in list of systems supported in the ports add-on.
10363
87600365
JM
10364 * LICENSES: Add more non-FSF copyright and license notices.
10365
a0d7066a
JM
10366 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10367 ((unused)).
10368
66ca5a5b
JM
10369 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10370
363313b5
JM
10371 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10372 10000 as width of padded output.
10373
b37984ad
JM
103742012-12-04 Joseph Myers <joseph@codesourcery.com>
10375
9003570a
JM
10376 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10377
b37984ad
JM
10378 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10379 variable LX with __attribute__ ((unused)).
10380 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10381 Likewise.
10382 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10383 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10384 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10385 with __attribute__ ((unused)).
10386
c8df52ec
DM
103872012-12-04 David S. Miller <davem@abraco.davemloft.net>
10388
10389 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10390
b3b099af
JM
103912012-12-04 Joseph Myers <joseph@codesourcery.com>
10392
c33aa6e3
JM
10393 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10394 (CFLAGS-nldbl-acos.c): New variable.
10395 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10396 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10397 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10398 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10399 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10400 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10401 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10402 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10403 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10404 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10405 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10406 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10407 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10408 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10409 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10410 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10411 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10412 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10413 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10414 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10415 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10416 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10417 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10418 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10419 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10420 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10421 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10422 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10423 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10424 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10425 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10426 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10427 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10428 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10429 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10430 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10431 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10432 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10433 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10434 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10435 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10436 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10437 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10438 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10439 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10440 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10441 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10442 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10443 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10444 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10445 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10446 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10447 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10448 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10449 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10450 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10451 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10452 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10453 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10454 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10455 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10456 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10457 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10458 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10459 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10460 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10461 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10462 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10463 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10464 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10465 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10466 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10467 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10468 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10469 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10470 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10471 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10472 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10473 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10474 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10475 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10476 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10477 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10478 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10479 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10480 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10481 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10482 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10483 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10484 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10485 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10486 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10487 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10488 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10489 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10490 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10491 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10492
20f0018d
JM
10493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10494 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10495
b3b099af
JM
10496 [BZ #14914]
10497 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10498 whole low double instead of just low 47 bits when splitting values
10499 into two parts.
10500
029264d1
AM
105012012-12-03 Allan McRae <allan@archlinux.org>
10502
10503 * manual/stdio.texi (Predefined Printf Handlers): Remove
10504 @hsep and @vsep usage.
10505
c9d6789e
MF
105062012-12-03 Mike Frysinger <vapier@gentoo.org>
10507
10508 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10509 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10510
4b7634a5
JL
105112012-12-03 Jeff Law <law@redhat.com>
10512
10513 * time/sys/time.h (settimeofday): Do not mark TV argument
10514 as __nonnull.
10515
eb6cbd24
MF
105162012-12-01 Mike Frysinger <vapier@gentoo.org>
10517
10518 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10519 when currently writing and seek to current position when not.
10520 * libio/Makefile (tests): Remove bug-fclose1.
10521 * libio/bug-fclose1.c: Delete.
10522
f638872a
JM
105232012-12-01 Joseph Myers <joseph@codesourcery.com>
10524
10525 * manual/arith.texi (feenableexcept): Fix typo.
10526 (fedisableexcept): Likewise.
10527
48085d14
RM
105282012-11-30 Roland McGrath <roland@hack.frob.com>
10529
10530 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10531 second, differently-typed declaration, rather than a cast.
10532
1a538b9f
SP
105332012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10534
10535 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10536 * include/rpc/svc.h: ... here.
10537
d07f2ff1 105382012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10539
10540 [BZ #13013]
10541 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10542 depending n and resplen2 to catch cases where answer
10543 equals answerp2.
10544
c93ec1f0
CD
105452012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10546
10547 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10548 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10549
37db69de
MF
105502012-11-29 Mike Frysinger <vapier@gentoo.org>
10551
10552 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10553
e10c4e4f
RM
105542012-11-29 Roland McGrath <roland@hack.frob.com>
10555
10556 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10557
2af1b328
JL
105582012-11-28 Jeff Law <law@redhat.com>
10559
10560 [BZ #13761]
10561 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10562 dataset_temporary. Track alloca usage into alloca_used.
10563 If dataset is large allocate and release it via malloc/free.
10564
111db5b1
FW
105652012-06-04 Florian Weimer <fweimer@redhat.com>
10566
f06cc227 10567 [BZ #14197]
111db5b1
FW
10568 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10569
dd694abd
DM
105702012-11-28 David S. Miller <davem@davemloft.net>
10571
10572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10573
9984dd01
JM
105742012-11-28 Joseph Myers <joseph@codesourcery.com>
10575
10576 [BZ #14803]
10577 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10578 of pi/2 rounded to nearest to 64 bits.
10579 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10580 nearest to 64 bits.
10581 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10582 bits.
10583
14bc93a9
JL
105842012-11-28 Jeff Law <law@redhat.com>
10585 Martin Osvald <mosvald@redhat.com>
10586
10587 [BZ #14889]
10588 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10589 * sunrpc/svc.c: Include time.h.
10590 (__svc_accept_failed): New function.
10591 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10592 any reason other than EINTR, call __svc_accept_failed.
10593 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10594 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10595
e3c6aa3a
AS
105962012-11-28 Andreas Schwab <schwab@suse.de>
10597
10598 * scripts/abilist.awk: Also handle indirect functions in .opd
10599 section.
10600
1bead169
JM
106012012-11-28 Joseph Myers <joseph@codesourcery.com>
10602
10603 [BZ #13881]
10604 * sysdeps/x86/fpu/powl_helper.c: New file.
10605 * sysdeps/x86/fpu/Makefile: Likewise.
10606 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10607 (p3): New object.
10608 (__ieee754_powl): Use __powl_helper for finite arguments except
10609 integer exponents below 8.
10610 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10611 (p3): New object.
10612 (__ieee754_powl): Use __powl_helper for finite arguments except
10613 integer exponents below 8.
10614 * math/libm-test.inc (pow_test): Add more tests and enable some
10615 previously disabled tests.
10616 * sysdeps/i386/fpu/libm-test-ulps: Update.
10617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10618
0817d63d
SP
106192012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10620 Carlos O'Donell <carlos_odonell@mentor.com>
10621
10622 * nss/makedb.c (is_prime): Assert that input is odd and greater
10623 than 4. Note that fact in a comment too.
10624 (next_prime): Add 4 to input.
10625
de2fd463
SP
106262012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10627
10628 [BZ #11741]
10629 * libio/Makefile (tests): Add test case tst-fwrite-error.
10630 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10631 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10632 * libio/tst-fwrite-error.c: New test case.
10633
c515fb51
L
106342012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10635
10636 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10637 before casting to void *.
10638 * include/libc-internal.h (__pointer_type): New macro.
10639 (__integer_if_pointer_type_sub): Likewise.
10640 (__integer_if_pointer_type): Likewise.
10641 (cast_to_integer): Likewise.
10642 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10643 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10644 before casting to atomic64_t.
10645 (atomic_exchange_acq): Likewise.
10646 (__arch_exchange_and_add_body): Likewise.
10647 (__arch_add_body): Likewise.
10648 (atomic_add_negative): Likewise.
10649 (atomic_add_zero): Likewise.
10650
4cf77aa9
JM
106512012-11-26 Joseph Myers <joseph@codesourcery.com>
10652
10653 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10654 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10655 (add_fdes): Likewise.
10656 (linear_search_fdes): Likewise.
10657 (binary_search_unencoded_fdes): Likewise.
10658
d260b3b4
AS
106592012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10660
10661 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10662
67060746
AC
106632012-11-24 Adam Conrad <adconrad@0c3.net>
10664
10665 * configure.in: Autodetect C++ header directories.
10666 * configure: Regenerated.
10667
800938a1
MF
106682012-11-23 Mike Frysinger <vapier@gentoo.org>
10669
10670 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10671
4e6e34e6
AS
106722012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10673
10674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10675
7c7feb47
JM
106762012-11-22 Joseph Myers <joseph@codesourcery.com>
10677
7184dcdf
JM
10678 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10679 LDBL_MANT_DIG == 106]: Disable some tests.
10680 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10681 Likewise.
10682 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10683 Likewise.
10684
0a42601f
JM
10685 [BZ #14871]
10686 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10687 input for small inputs. Return +/- pi/2 for large inputs.
10688 * math/libm-test.inc (atan_test): Add more tests.
10689
79c9b9fe
JM
10690 * sysdeps/generic/unwind-dw2-fde-glibc.c
10691 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10692 __attribute__ ((unused)).
10693
c60d3bf2
JM
10694 [BZ #14645]
10695 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10696 x * y if x and y are nonzero and z is zero.
10697
ef1e0867
JM
10698 [BZ #14811]
10699 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10700 nonzero exponents with absolute value below 0x1p-117 to +/-
10701 0x1p-117.
10702
1468ded3
JM
10703 [BZ #14869]
10704 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10705 up arguments below 2**-450, not just those below 2**-500.
10706 * math/libm-test.inc (hypot_test): Add another test.
10707
8e27e3cc
JM
10708 [BZ #14868]
10709 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10710 Return a+b for ratio over 2**120, not 2**60.
10711 * math/libm-test.inc (hypot_test): Add another test.
10712
c9c0279b
JM
10713 * math/libm-test.inc (clog_test): Use
10714 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10715 (clog10_test): Likewise.
10716
7c7feb47
JM
10717 [BZ #6778]
10718 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10719
fff1530e
AS
107202012-11-22 Andreas Schwab <schwab@suse.de>
10721
10722 * sysdeps/i386/fpu/libm-test-ulps: Update.
10723
94558d30
PT
107242012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10725
10726 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10727 printf output with newline.
10728
7e1be741
L
107292012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10730
6bfea974
L
10731 [BZ #14865]
10732 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10733 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10734 -z nodlopen, -z initfirst and -z execstack support.
10735 * configure: Regenerated.
10736
7e1be741
L
10737 * elf/elf.h (DF_1_NODIRECT): New macro.
10738 (DF_1_IGNMULDEF): Likewise.
10739 (DF_1_NOKSYMS): Likewise.
10740 (DF_1_NOHDR): Likewise.
10741 (DF_1_EDITED): Likewise.
10742 (DF_1_NORELOC): Likewise.
10743 (DF_1_SYMINTPOSE): Likewise.
10744 (DF_1_GLOBAUDIT): Likewise.
10745 (DF_1_SINGLETON): Likewise.
10746 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10747 DT_1_SUPPORTED_MASK bits.
10748 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10749
105ce2ce
CD
107502012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10751
10752 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10753
123be9de
TS
107542012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10755
d072f3f7
TS
10756 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10757 macro.
10758
123be9de
TS
10759 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10760 (sendmmsg): Move declarations...
10761 * socket/sys/socket.h: ... here.
10762 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10763 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10764 include it from...
10765 * socket/recvmmsg.c: ... this new file.
10766 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10767 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10768 definition of __sendmmsg hidden.
10769 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10770 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10771 Move ENOSYS stub into and include it from...
10772 * socket/sendmmsg.c: ... this new file.
10773 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10774 (sysdep_routines): Move recvmmsg and sendmmsg...
10775 * socket/Makefile (routines): ... here.
10776 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10777 (GLIBC_PRIVATE): Add __sendmmsg.
10778 * include/sys/socket.h (__sendmmsg): Add declarations.
10779 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10780 sendmmsg.
10781
cf9a5d18
JM
107822012-11-20 Joseph Myers <joseph@codesourcery.com>
10783
10784 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10785 variable I1 with __attribute__ ((unused)).
10786 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10787
ecd4caf9
JM
107882012-11-19 Joseph Myers <joseph@codesourcery.com>
10789
be14d48f
JM
10790 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10791 DUMMY variables with __attribute__ ((unused)).
10792
ecd4caf9
JM
10793 * bits/byteswap.h: Include <bits/types.h>.
10794 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10795
986cab95
PT
107962012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10797
10798 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10799 string_t. Do not manually set errno.
10800 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10801 length with __strnlen. Make sure to both set errno and return it on
10802 failure.
10803
6d33cc9d
DM
108042012-11-19 David S. Miller <davem@davemloft.net>
10805
10806 With help from Joseph Myers.
10807 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10808 very large arguments properly.
10809 * math/libm-test.inc (atan_test): New tests.
10810 (atan2_test): New tests.
10811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10813
ee663277
JM
108142012-11-19 Joseph Myers <joseph@codesourcery.com>
10815
877f2d8e
JM
10816 [BZ #14856]
10817 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10818 Define to 3.
10819
116fc08a
JM
10820 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10821 [POSIX] (EADDRNOTAVAIL): Likewise.
10822 [POSIX] (EAFNOSUPPORT): Likewise.
10823 [POSIX] (EALREADY): Likewise.
10824 [POSIX] (ECONNABORTED): Likewise.
10825 [POSIX] (ECONNREFUSED): Likewise.
10826 [POSIX] (ECONNRESET): Likewise.
10827 [POSIX] (EDESTADDRREQ): Likewise.
10828 [POSIX] (EDQUOT): Likewise.
10829 [POSIX] (EHOSTUNREACH): Likewise.
10830 [POSIX] (EIDRM): Likewise.
10831 [POSIX] (EISCONN): Likewise.
10832 [POSIX] (ELOOP): Likewise.
10833 [POSIX] (EMULTIHOP): Likewise.
10834 [POSIX] (ENETDOWN): Likewise.
10835 [POSIX] (ENETUNREACH): Likewise.
10836 [POSIX] (ENOBUFS): Likewise.
10837 [POSIX] (ENODATA): Likewise.
10838 [POSIX] (ENOLINK): Likewise.
10839 [POSIX] (ENOMSG): Likewise.
10840 [POSIX] (ENOPROTOOPT): Likewise.
10841 [POSIX] (ENOSR): Likewise.
10842 [POSIX] (ENOSTR): Likewise.
10843 [POSIX] (ENOTCONN): Likewise.
10844 [POSIX] (ENOTSOCK): Likewise.
10845 [POSIX] (EOPNOTSUPP): Likewise.
10846 [POSIX] (EOVERFLOW): Likewise.
10847 [POSIX] (EPROTO): Likewise.
10848 [POSIX] (EPROTONOSUPPORT): Likewise.
10849 [POSIX] (EPROTOTYPE): Likewise.
10850 [POSIX] (ESTALE): Likewise.
10851 [POSIX] (ETIME): Likewise.
10852 [POSIX] (ETXTBSY): Likewise.
10853 [POSIX] (EWOULDBLOCK): Likewise.
10854 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10855 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10856 [POSIX] (SEEK_CUR): Likewise.
10857 [POSIX] (SEEK_END): Likewise.
10858 [POSIX || UNIX98] (mode_t): Do not require.
10859 [POSIX] (off_t): Likewise.
10860 [POSIX] (pid_t): Likewise.
10861 [POSIX] (sys/stat.h): Do not allow header.
10862 [POSIX] (unistd.h): Likewise.
10863 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10864 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10865 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10866 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10867 require.
10868 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10869 sigevent): Specify elements.
10870 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10871 entry.
10872 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10873 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10874
a483863f
JM
10875 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10876 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10877 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10878 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10879 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10880 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10881 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10882 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10883 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10884 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10885 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10886 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10887 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10888 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10889 Likewise.
10890 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10891 Likewise.
10892 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10893 Likewise.
10894 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10895 Likewise.
10896 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10897 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10898 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10899 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10900 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10901 Specify lower bound on value.
10902 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10903 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10904 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10905 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10906 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10907 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10908 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10909 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10910 value.
10911 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10912 as optional.
10913 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10914 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10915 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10916 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10917 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10918 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10919 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10920 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10921 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10922 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10923 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10924 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10925 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10926 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10927 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10928 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10929 entry.
10930 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10931 optional.
10932 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10933 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10934 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10935 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10936 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10937 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10938 Likewise.
10939 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10940 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10941 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10942 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10943 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10944 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10945 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10946 as optional.
10947 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10948 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10949 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10950 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10951 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10952 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10953 specify as optional.
10954 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10955 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10956 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10957 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10958 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10959 [XPG3] (NL_LANGMAX): Likewise.
10960 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10961 [POSIX || XPG3] (NL_NMAX): Likewise.
10962 [POSIX || XPG3] (NL_SETMAX): Likewise.
10963 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10964 [XPG3] (NZERO): Likewise.
10965 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10966 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10967 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10968 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10969 (REG_ERANGE): Expect.
10970 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10971 optional-constant.
10972 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10973 Use (void) in prototype.
10974 [POSIX] (*_t): Allow.
10975 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10976 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10977 (WRDE_BADVAL): Expect.
10978
5ba924e3
JM
10979 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10980 expect.
10981 [XPG3 || XPG4] (O_RSYNC): Likewise.
10982 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10983 Likewise.
10984 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10985 [XPG3 || XPG4] (sigqueue): Likewise.
10986 [XPG3 || XPG4] (sigtimedwait): Likewise.
10987 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10988 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10989 [XPG3 || XPG4] (vsnprintf): Likewise.
10990 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10991 Likewise.
10992 [XPG3 || XPG4] (blksize_t): Likewise.
10993 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10994 Likewise.
10995 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10996 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10997 [XPG3 || XPG4] (struct itimerspec): Likewise.
10998 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10999 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11000 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11001 [XPG3 || XPG4] (clockid_t): Likewise.
11002 [XPG3 || XPG4] (timer_t): Likewise.
11003 [XPG3 || XPG4] (clock_getres): Likewise.
11004 [XPG3 || XPG4] (clock_gettime): Likewise.
11005 [XPG3 || XPG4] (clock_settime): Likewise.
11006 [XPG3 || XPG4] (nanosleep): Likewise.
11007 [XPG3 || XPG4] (timer_create): Likewise.
11008 [XPG3 || XPG4] (timer_delete): Likewise.
11009 [XPG3 || XPG4] (timer_gettime): Likewise.
11010 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11011 [XPG3 || XPG4] (timer_settime): Likewise.
11012 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11013 [XPG3 || XPG4] (getlogin_r): Likewise.
11014 [XPG3 || XPG4] (pread): Likewise.
11015 [XPG3 || XPG4] (pthread_atfork): Likewise.
11016 [XPG3 || XPG4] (pwrite): Likewise.
11017
ee663277
JM
11018 [BZ #14835]
11019 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11020 <bits/siginfo.h>.
11021
942caa16
PT
110222012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11023
e19af380
PT
11024 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11025 finalizing MALLSTREAM.
11026
942caa16
PT
11027 * sysdeps/mach/hurd/syncfs.c: New file.
11028
cfde9b46
SP
110292012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11030
11031 [BZ #14719]
11032 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11033 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11034 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11035 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11036 (_nss_dns_gethostbyname4_r): Likewise.
11037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11038 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11039
f6da27e5
PH
110402012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11041
11042 [BZ #13763]
11043 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11044
6665d4a2
SM
110452012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11046
1f51ee92
SM
11047 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11048 * elf/cache.c (print_entry): Print ",AArch64" for
11049 FLAG_AARCH64_LIB64
11050
6665d4a2
SM
11051 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11052 * elf/cache.c (print_entry): Print ",hard-float" for
11053 FLAG_ARM_LIBHF.
11054
05b227bd
DM
110552012-11-18 David S. Miller <davem@davemloft.net>
11056
11057 With help from Joseph Myers.
11058 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11059 cutoff to 2**-13.
11060 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11061 cutoff to 2**-25.
11062 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11063 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11064 small.
11065 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11066 * math/libm-test.inc (y0_test): New tests.
11067 (y1_test): New tests.
11068 * sysdeps/i386/fpu/libm-test-ulps: Update.
11069 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11071
786b0b67
AS
110722012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11073
11074 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11075 64-bit targets.
11076 * configure: Regenerated.
11077
8e18b86d
DM
110782012-11-17 David S. Miller <davem@davemloft.net>
11079
11080 [BZ #14811]
11081 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11082 nonzero exponents with absolute value below 0x1p-128 to +/-
11083 0x1p-128.
11084
531f1ae0
JM
110852012-11-17 Joseph Myers <joseph@codesourcery.com>
11086
12df29e2
JM
11087 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11088
150dc1a0
JM
11089 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11090
531f1ae0
JM
11091 * posix/getconf-speclist.c: New file.
11092 * posix/posix-envs.def: Likewise.
11093 * posix/confstr.c (START_ENV_GROUP): New macro.
11094 (END_ENV_GROUP): Likewise.
11095 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11096 (KNOWN_PRESENT_ENV_STRING): Likewise.
11097 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11098 (UNKNOWN_ENVIRONMENT): Likewise.
11099 (confstr): Include posix-envs.def instead of handling
11100 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11101 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11102 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11103 (END_ENV_GROUP): Likewise.
11104 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11105 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11106 (UNKNOWN_ENVIRONMENT): Likewise.
11107 (__sysconf): Include posix-envs.def instead of handling associated
11108 cases directly here.
11109 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11110 preprocessing getconf-speclist.c rather than running getconf or
11111 generating empty file.
11112
a93f9cbc
PT
111132012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11114
11115 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11116
d64d9f87
AL
111172012-11-16 Andrej Lajovic <natrij@gmail.com>
11118
11119 [BZ #14672]
11120 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11121
447885eb
DM
111222012-11-16 David S. Miller <davem@davemloft.net>
11123
11124 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11125 smaller than LDBL_EPSILON/2.0L, just return xm1.
11126
bcbf9830
L
111272012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11128
11129 * elf/tst-array1.c (init): Set constructor priority to 1000.
11130 (fini): Set destructor priority to 1000.
11131 * elf/tst-array2dep.c: Likewise.
11132
2b766585
SP
111332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11134
11135 [BZ #11741]
11136 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11137 (_IO_new_file_xsputn): Also return EOF if none of the input
11138 data was written when overflow failed.
11139 * libio/iopadn.c (_IO_padn): Likewise.
11140 * libio/iowpadn.c (_IO_wpadn): Likewise.
11141 * stdio-common/tst-put-error.c: Add copyright notice.
11142 (do_test): Add case for printing padded string.
11143 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11144 _IO_padn returned error.
11145 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11146 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11147 return EOF.
11148
b1848fde
SP
111492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11150
11151 * libio/libioP.h: Add comment note that the references to C++
11152 bits are now obsolete.
11153
2fd89785
MS
111542012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11155
11156 * math/libm-test.inc (check_complex): Use asprintf.
11157
e3ea5409
JM
111582012-11-14 Joseph Myers <joseph@codesourcery.com>
11159
11160 * debug/pcprofiledump.c (print_version): Update copyright year.
11161 * malloc/memusagestat.c (print_version): Likewise.
11162
2e64d265
L
111632012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11164
11165 [BZ #14831]
11166 * elf/Makefile (tests): Add tst-audit8.
11167 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11168 ($(objpfx)tst-audit8.out): New target.
11169 (tst-audit8-ENV): New variable.
11170 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11171 audit if l_reloc_result is NULL.
11172 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11173 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11174 * elf/tst-audit8.c: New file.
11175
c485e4d2
MS
111762012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11177
11178 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11179 * misc/Makefile (CFLAGS-select.c): Define.
11180 * posix/Makefile (CFLAGS-pause.c): Define.
11181
3a0d900a
DM
111822012-11-13 David S. Miller <davem@davemloft.net>
11183
11184 * crypt/Makefile: Move test targets after toplevel Rules
11185 inclusion. Grab any necessary sysdep routines when linking.
11186 * crypt/md5.c (md5_process_block): Remove define, we will always
11187 name it __md5_process_block.
11188 (md5_finish_ctx): Update md5_process_block call.
11189 (md5_stream): Likewise.
11190 (md5_process_bytes): Likewise.
11191 (md5_process_block): Rename to __md5_process_block and move to ...
11192 * crypt/md5-block.c: ... here.
11193 * crypt/sha256.c (sha256_process_block): Move to ...
11194 * crypt/sha256-block.c: ... here.
11195 * crypt/sha512.c (sha512_process_block): Move to ...
11196 * crypt/sha512-block.c: ... here.
11197 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11198 path.
11199 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11200 * sysdeps/sparc/sparc64/multiarch/Makefile
11201 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11202 crypt subdir.
11203 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11204 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11205 multiarch changes.
11206 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11207 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11208 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11209 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11210 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11211 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11212 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11213 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11214 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11215 file.
11216 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11217 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11218 file.
11219 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11220
8ca89318
JM
112212012-11-13 Joseph Myers <joseph@codesourcery.com>
11222
e27d476a
JM
11223 * timezone/tzselect.ksh: Update from tzcode git revision
11224 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11225 * timezone/zdump.c: Likewise.
11226 * timezone/zic.c: Likewise.
11227 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11228 in TZVERSION setting, not $(PKGVERSION).
11229 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11230 REPORT_BUGS_TO settings.
11231
8ca89318
JM
11232 [BZ #14838]
11233 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11234 macro.
11235
47594329
MS
112362012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11237
11238 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11239 detection to immediately after _FP_ROUND().
11240 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11241 bits are 0.
11242
640ac3f1
DM
112432012-11-11 David S. Miller <davem@davemloft.net>
11244
11245 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11246 inttypes.h
11247 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11248 __close rather than their public counterparts.
11249
3d2577bb
JM
112502012-11-10 Joseph Myers <joseph@codesourcery.com>
11251
11252 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11253 file.
11254 [UNIX98] (sem_timedwait): Do not expect.
11255 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11256 [XPG4 || UNIX98] (sockatmark): Do not expect.
11257 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11258 (clock_getcpuclockid): Do not expect.
11259 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11260 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11261 Do not expect.
11262 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11263 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11264 [UNIX98] (vwscanf): Likewise.
11265 [UNIX98] (vswscanf): Likewise.
11266
fb1ae1ee
JM
112672012-11-09 Joseph Myers <joseph@codesourcery.com>
11268
9ec6f8bd
JM
11269 * timezone/version.h: Remove file.
11270 * timezone/README: Do not refer to version.h.
11271 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11272 $(objpfx)version.h.
11273 ($(objpfx)zdump.o): Likewise.
c3f81911 11274 ($(objpfx)version.h): New target.
9ec6f8bd 11275
0aa8f8a1
JM
11276 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11277 2012i.
11278 * timezone/README: Don't mention modification to tzselect.ksh.
11279 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11280 work on unmodified tzselect.ksh. Substitute version numbers in
11281 tzselect.ksh.
11282
4e87147f
JM
11283 * Makefile (format-me): Remove.
11284 (INSTALL): Adjust indentation. Use commands directly instead of
11285 using $(format-me).
11286
8b748aed
JM
11287 * aclocal.m4 (ACX_PKGVERSION): New macro.
11288 (ACX_BUGURL): Likewise.
11289 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11290 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11291 (REPORT_BUGS_TO): Likewise.
11292 * configure: Regenerated.
11293 * config.h.in (PKGVERSION): New macro.
11294 (REPORT_BUGS_TO): Likewise.
11295 * config.make.in (PKGVERSION): New variable.
11296 (PKGVERSION_TEXI): Likewise.
11297 (REPORT_BUGS_TO): Likewise.
11298 (REPORT_BUGS_TEXI): Likewise.
11299 * Makefile (format-me): Use -I$(common-objpfx)manual.
11300 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11301 ($(common-objpfx)manual/%): New target.
11302 (manual/%): Remove target.
11303 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11304 (print_version): Use PKGVERSION.
11305 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11306 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11307 and REPORT_BUGS_TO.
11308 ($(objpfx)xtrace): Likewise.
11309 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11310 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11311 (print_version): Use PKGVERSION.
11312 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11313 (do_version): Use PKGVERSION.
11314 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11315 REPORT_BUGS_TO.
11316 (common-ldd-rewrite): Likewise.
11317 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11318 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11319 (print_version): Use PKGVERSION.
11320 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11321 * elf/pldd.c (argp_program_bug_address): Remove variable.
11322 (more_help): New function.
11323 (argp): Use more_help.
11324 (print_version): Use PKGVERSION.
11325 * elf/sln.c (main): Use PKGVERSION.
11326 (usage): Use REPORT_BUGS_TO.
11327 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11328 (top level): Use PKGVERSION.
11329 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11330 (print_version): Use PKGVERSION.
11331 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11332 (print_version): Use PKGVERSION.
11333 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11334 (print_version): Use PKGVERSION.
11335 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11336 (print_version): Use PKGVERSION.
11337 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11338 (print_version): Use PKGVERSION.
11339 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11340 (print_version): Use PKGVERSION.
11341 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11342 and BUGURL.
11343 ($(objpfx)memusage): Likewise.
11344 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11345 (do_version): Use PKGVERSION.
11346 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11347 (print_version): Use PKGVERSION.
11348 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11349 ($PKGVERSION): New variable.
11350 ($REPORT_BUGS_TO): Likewise.
11351 (usage): Use $REPORT_BUGS_TO.
11352 (top level): Use $PKGVERSION.
11353 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11354 ($(objpfx)pkgvers.texi): New rule.
11355 ($(objpfx)stamp-pkgvers): Likewise.
11356 * manual/install.texi: Include pkgvers.texi.
11357 (--with-pkgversion): Document new configure option.
11358 (--with-bugurl): Likewise.
11359 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11360 than necessarily for this particular distribution. Use
11361 REPORT_BUGS_TO for where to report bugs.
11362 * INSTALL: Regenerated.
11363 * manual/libc.texinfo: Include pkgvers.texi.
11364 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11365 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11366 (print_version): Use PKGVERSION.
11367 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11368 (print_version): Use PKGVERSION.
11369 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11370 (print_version): Use PKGVERSION.
11371 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11372 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11373 macro.
11374 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11375 (print_version): Use PKGVERSION.
11376 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11377 (print_version): Use PKGVERSION.
11378 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11379 and PKGVERSION.
11380
92e4b6a9
JM
11381 * timezone/checktab.awk: Update from tzcode 2012i.
11382 * timezone/ialloc.c: Likewise.
11383 * timezone/private.h: Likewise.
11384 * timezone/scheck.c: Likewise.
11385 * timezone/tzfile.h: Likewise.
11386 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11387 (TZVERSION): Hardcode tzcode version number.
11388 * timezone/zdump.c: Update from tzcode 2012i.
11389 * timezone/zic.c: Likewise.
11390 * timezone/version.h: New file.
11391 * timezone/README: Describe version.h. Update upstream location.
11392
9bde902c
JM
11393 [BZ #14824]
11394 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11395 (mktemp): Enable declaration.
11396 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11397 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11398 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11399 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11400 Likewise.
11401 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11402 Likewise.
11403 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11404 Likewise.
11405 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11406 Likewise.
11407 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11408 Likewise.
11409 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11410 Likewise.
11411
fb1ae1ee
JM
11412 [BZ #14821]
11413 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11414 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11415 for copies of such integer values.
11416 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11417 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11418
2c1adbcb
AJ
114192012-11-09 Andreas Jaeger <aj@suse.de>
11420
11421 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11422 definitions and declarations that are provided by
11423 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11424
d0f8457e
AK
114252012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11426
3a235abb 11427 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11428 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11429 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11430 definition.
11431
57241e26
MS
114322012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11433
11434 * elf/elf.h: Update comment before AArch64 relocations.
11435
60e8270d
DM
114362012-11-07 David S. Miller <davem@davemloft.net>
11437
11438 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11439 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11440 (__start_context): Declare.
11441 (__makecontext_ret): Delete.
11442 (__makecontext): Hook up __start_context instead of
11443 __makecontext_ret.
11444 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11445 (sysdep_routines): Add __start_context when in stdlib.
11446
0fbb0fbc
JM
114472012-11-07 Joseph Myers <joseph@codesourcery.com>
11448
11449 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11450 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11451 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11452 hardcoded "nm".
11453 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11454 (READELF): New variable. Use it instead of hardcoded "readelf".
11455
eb48db7e
L
114562012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11457
11458 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11459 * sysdeps/x86/Makefile: Here.
11460 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11461 * sysdeps/x86/tst-xmmymm.sh: This.
11462
05bcf62a
JM
114632012-11-07 Joseph Myers <joseph@codesourcery.com>
11464
c4b6cf53
JM
11465 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11466 expectations.
11467 [UNIX98] (pthread_barrier_t): Do not expect.
11468 [UNIX98] (pthread_barrierattr_t): Likewise.
11469 [UNIX98] (pthread_spinlock_t): Likewise.
11470 [UNIX98] (pthread_barrier_destroy): Likewise.
11471 [UNIX98] (pthread_barrier_init): Likewise.
11472 [UNIX98] (pthread_barrier_wait): Likewise.
11473 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11474 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11475 [UNIX98] (pthread_barrierattr_init): Likewise.
11476 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11477 [UNIX98] (pthread_getcpuclockid): Likewise.
11478 [UNIX98] (pthread_mutex_timedlock): Likewise.
11479 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11480 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11481 [UNIX98] (pthread_sigmask): Likewise.
11482 [UNIX98] (pthread_spin_destroy): Likewise.
11483 [UNIX98] (pthread_spin_init): Likewise.
11484 [UNIX98] (pthread_spin_lock): Likewise.
11485 [UNIX98] (pthread_spin_trylock): Likewise.
11486 [UNIX98] (pthread_spin_unlock): Likewise.
11487 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11488 Do not expect.
11489 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11490 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11491 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11492 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11493 [XPG3 || XPG4] (pthread_key_t): Likewise.
11494 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11495 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11496 [XPG3 || XPG4] (pthread_once_t): Likewise.
11497 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11498 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11499 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11500 [XPG3 || XPG4] (pthread_t): Likewise.
11501
cbe6e120
JM
11502 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11503 not expect.
11504 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11505
1b126443
JM
11506 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11507 Change function return type to int.
11508
b961a573
JM
11509 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11510 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11511 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11512 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11513 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11514 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11515 [!POSIX] (posix_madvise): Likewise.
11516 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11517 && !UNIX98].
11518 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11519 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11520 (mode_t): Likewise.
11521 (posix_mem_offset): Likewise.
11522 (posix_typed_mem_get_info): Likewise.
11523 (posix_typed_mem_open): Likewise.
11524
9e188909
JM
11525 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11526 Change condition to [XOPEN2K8].
11527
05bcf62a
JM
11528 * conform/conformtest.pl: Preprocess allow-header data with -x c
11529 instead of from stdin.
11530 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11531 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11532 [C99-based standards] (cerfc): Likewise.
11533 [C99-based standards] (cexp2): Likewise.
11534 [C99-based standards] (cexpm1): Likewise.
11535 [C99-based standards] (clog10): Likewise.
11536 [C99-based standards] (clog1p): Likewise.
11537 [C99-based standards] (clog2): Likewise.
11538 [C99-based standards] (clgamma): Likewise.
11539 [C99-based standards] (ctgamma): Likewise.
11540 [C99-based standards] (cerff): Likewise.
11541 [C99-based standards] (cerfcf): Likewise.
11542 [C99-based standards] (cexp2f): Likewise.
11543 [C99-based standards] (cexpm1f): Likewise.
11544 [C99-based standards] (clog10f): Likewise.
11545 [C99-based standards] (clog1pf): Likewise.
11546 [C99-based standards] (clog2f): Likewise.
11547 [C99-based standards] (clgammaf): Likewise.
11548 [C99-based standards] (ctgammaf): Likewise.
11549 [C99-based standards] (cerfl): Likewise.
11550 [C99-based standards] (cerfcl): Likewise.
11551 [C99-based standards] (cexp2l): Likewise.
11552 [C99-based standards] (cexpm1l): Likewise.
11553 [C99-based standards] (clog10l): Likewise.
11554 [C99-based standards] (clog1pl): Likewise.
11555 [C99-based standards] (clog2l): Likewise.
11556 [C99-based standards] (clgammal): Likewise.
11557 [C99-based standards] (ctgammal): Likewise.
11558 * conform/data/inttypes.h-data [C99-based standards]: Include
11559 stdint.h-data. Remove all expectations for stdint.h contents.
11560 [C99-based standards] (PRI*): Do not allow.
11561 [C99-based standards] (SCN*): Likewise.
11562 [C99-based standards] (*_t): Likewise.
11563 [C99-based-standards] (PRId8): Expect macro.
11564 [C99-based-standards] (PRIi8): Likewise.
11565 [C99-based-standards] (PRIo8): Likewise.
11566 [C99-based-standards] (PRIu8): Likewise.
11567 [C99-based-standards] (PRIx8): Likewise.
11568 [C99-based-standards] (PRIX8): Likewise.
11569 [C99-based-standards] (SCNd8): Likewise.
11570 [C99-based-standards] (SCNi8): Likewise.
11571 [C99-based-standards] (SCNo8): Likewise.
11572 [C99-based-standards] (SCNu8): Likewise.
11573 [C99-based-standards] (SCNx8): Likewise.
11574 [C99-based-standards] (PRIdLEAST8): Likewise.
11575 [C99-based-standards] (PRIiLEAST8): Likewise.
11576 [C99-based-standards] (PRIoLEAST8): Likewise.
11577 [C99-based-standards] (PRIuLEAST8): Likewise.
11578 [C99-based-standards] (PRIxLEAST8): Likewise.
11579 [C99-based-standards] (PRIXLEAST8): Likewise.
11580 [C99-based-standards] (SCNdLEAST8): Likewise.
11581 [C99-based-standards] (SCNiLEAST8): Likewise.
11582 [C99-based-standards] (SCNoLEAST8): Likewise.
11583 [C99-based-standards] (SCNuLEAST8): Likewise.
11584 [C99-based-standards] (SCNxLEAST8): Likewise.
11585 [C99-based-standards] (PRIdFAST8): Likewise.
11586 [C99-based-standards] (PRIiFAST8): Likewise.
11587 [C99-based-standards] (PRIoFAST8): Likewise.
11588 [C99-based-standards] (PRIuFAST8): Likewise.
11589 [C99-based-standards] (PRIxFAST8): Likewise.
11590 [C99-based-standards] (PRIXFAST8): Likewise.
11591 [C99-based-standards] (SCNdFAST8): Likewise.
11592 [C99-based-standards] (SCNiFAST8): Likewise.
11593 [C99-based-standards] (SCNoFAST8): Likewise.
11594 [C99-based-standards] (SCNuFAST8): Likewise.
11595 [C99-based-standards] (SCNxFAST8): Likewise.
11596 [C99-based-standards] (PRId16): Likewise.
11597 [C99-based-standards] (PRIi16): Likewise.
11598 [C99-based-standards] (PRIo16): Likewise.
11599 [C99-based-standards] (PRIu16): Likewise.
11600 [C99-based-standards] (PRIx16): Likewise.
11601 [C99-based-standards] (PRIX16): Likewise.
11602 [C99-based-standards] (SCNd16): Likewise.
11603 [C99-based-standards] (SCNi16): Likewise.
11604 [C99-based-standards] (SCNo16): Likewise.
11605 [C99-based-standards] (SCNu16): Likewise.
11606 [C99-based-standards] (SCNx16): Likewise.
11607 [C99-based-standards] (PRIdLEAST16): Likewise.
11608 [C99-based-standards] (PRIiLEAST16): Likewise.
11609 [C99-based-standards] (PRIoLEAST16): Likewise.
11610 [C99-based-standards] (PRIuLEAST16): Likewise.
11611 [C99-based-standards] (PRIxLEAST16): Likewise.
11612 [C99-based-standards] (PRIXLEAST16): Likewise.
11613 [C99-based-standards] (SCNdLEAST16): Likewise.
11614 [C99-based-standards] (SCNiLEAST16): Likewise.
11615 [C99-based-standards] (SCNoLEAST16): Likewise.
11616 [C99-based-standards] (SCNuLEAST16): Likewise.
11617 [C99-based-standards] (SCNxLEAST16): Likewise.
11618 [C99-based-standards] (PRIdFAST16): Likewise.
11619 [C99-based-standards] (PRIiFAST16): Likewise.
11620 [C99-based-standards] (PRIoFAST16): Likewise.
11621 [C99-based-standards] (PRIuFAST16): Likewise.
11622 [C99-based-standards] (PRIxFAST16): Likewise.
11623 [C99-based-standards] (PRIXFAST16): Likewise.
11624 [C99-based-standards] (SCNdFAST16): Likewise.
11625 [C99-based-standards] (SCNiFAST16): Likewise.
11626 [C99-based-standards] (SCNoFAST16): Likewise.
11627 [C99-based-standards] (SCNuFAST16): Likewise.
11628 [C99-based-standards] (SCNxFAST16): Likewise.
11629 [C99-based-standards] (PRId32): Likewise.
11630 [C99-based-standards] (PRIi32): Likewise.
11631 [C99-based-standards] (PRIo32): Likewise.
11632 [C99-based-standards] (PRIu32): Likewise.
11633 [C99-based-standards] (PRIx32): Likewise.
11634 [C99-based-standards] (PRIX32): Likewise.
11635 [C99-based-standards] (SCNd32): Likewise.
11636 [C99-based-standards] (SCNi32): Likewise.
11637 [C99-based-standards] (SCNo32): Likewise.
11638 [C99-based-standards] (SCNu32): Likewise.
11639 [C99-based-standards] (SCNx32): Likewise.
11640 [C99-based-standards] (PRIdLEAST32): Likewise.
11641 [C99-based-standards] (PRIiLEAST32): Likewise.
11642 [C99-based-standards] (PRIoLEAST32): Likewise.
11643 [C99-based-standards] (PRIuLEAST32): Likewise.
11644 [C99-based-standards] (PRIxLEAST32): Likewise.
11645 [C99-based-standards] (PRIXLEAST32): Likewise.
11646 [C99-based-standards] (SCNdLEAST32): Likewise.
11647 [C99-based-standards] (SCNiLEAST32): Likewise.
11648 [C99-based-standards] (SCNoLEAST32): Likewise.
11649 [C99-based-standards] (SCNuLEAST32): Likewise.
11650 [C99-based-standards] (SCNxLEAST32): Likewise.
11651 [C99-based-standards] (PRIdFAST32): Likewise.
11652 [C99-based-standards] (PRIiFAST32): Likewise.
11653 [C99-based-standards] (PRIoFAST32): Likewise.
11654 [C99-based-standards] (PRIuFAST32): Likewise.
11655 [C99-based-standards] (PRIxFAST32): Likewise.
11656 [C99-based-standards] (PRIXFAST32): Likewise.
11657 [C99-based-standards] (SCNdFAST32): Likewise.
11658 [C99-based-standards] (SCNiFAST32): Likewise.
11659 [C99-based-standards] (SCNoFAST32): Likewise.
11660 [C99-based-standards] (SCNuFAST32): Likewise.
11661 [C99-based-standards] (SCNxFAST32): Likewise.
11662 [C99-based-standards] (PRId64): Likewise.
11663 [C99-based-standards] (PRIi64): Likewise.
11664 [C99-based-standards] (PRIo64): Likewise.
11665 [C99-based-standards] (PRIu64): Likewise.
11666 [C99-based-standards] (PRIx64): Likewise.
11667 [C99-based-standards] (PRIX64): Likewise.
11668 [C99-based-standards] (SCNd64): Likewise.
11669 [C99-based-standards] (SCNi64): Likewise.
11670 [C99-based-standards] (SCNo64): Likewise.
11671 [C99-based-standards] (SCNu64): Likewise.
11672 [C99-based-standards] (SCNx64): Likewise.
11673 [C99-based-standards] (PRIdLEAST64): Likewise.
11674 [C99-based-standards] (PRIiLEAST64): Likewise.
11675 [C99-based-standards] (PRIoLEAST64): Likewise.
11676 [C99-based-standards] (PRIuLEAST64): Likewise.
11677 [C99-based-standards] (PRIxLEAST64): Likewise.
11678 [C99-based-standards] (PRIXLEAST64): Likewise.
11679 [C99-based-standards] (SCNdLEAST64): Likewise.
11680 [C99-based-standards] (SCNiLEAST64): Likewise.
11681 [C99-based-standards] (SCNoLEAST64): Likewise.
11682 [C99-based-standards] (SCNuLEAST64): Likewise.
11683 [C99-based-standards] (SCNxLEAST64): Likewise.
11684 [C99-based-standards] (PRIdFAST64): Likewise.
11685 [C99-based-standards] (PRIiFAST64): Likewise.
11686 [C99-based-standards] (PRIoFAST64): Likewise.
11687 [C99-based-standards] (PRIuFAST64): Likewise.
11688 [C99-based-standards] (PRIxFAST64): Likewise.
11689 [C99-based-standards] (PRIXFAST64): Likewise.
11690 [C99-based-standards] (SCNdFAST64): Likewise.
11691 [C99-based-standards] (SCNiFAST64): Likewise.
11692 [C99-based-standards] (SCNoFAST64): Likewise.
11693 [C99-based-standards] (SCNuFAST64): Likewise.
11694 [C99-based-standards] (SCNxFAST64): Likewise.
11695 [C99-based-standards] (PRIdMAX): Likewise.
11696 [C99-based-standards] (PRIiMAX): Likewise.
11697 [C99-based-standards] (PRIoMAX): Likewise.
11698 [C99-based-standards] (PRIuMAX): Likewise.
11699 [C99-based-standards] (PRIxMAX): Likewise.
11700 [C99-based-standards] (PRIXMAX): Likewise.
11701 [C99-based-standards] (SCNdMAX): Likewise.
11702 [C99-based-standards] (SCNiMAX): Likewise.
11703 [C99-based-standards] (SCNoMAX): Likewise.
11704 [C99-based-standards] (SCNuMAX): Likewise.
11705 [C99-based-standards] (SCNxMAX): Likewise.
11706 [C99-based-standards] (PRIdPTR): Likewise.
11707 [C99-based-standards] (PRIiPTR): Likewise.
11708 [C99-based-standards] (PRIoPTR): Likewise.
11709 [C99-based-standards] (PRIuPTR): Likewise.
11710 [C99-based-standards] (PRIxPTR): Likewise.
11711 [C99-based-standards] (PRIXPTR): Likewise.
11712 [C99-based-standards] (SCNdPTR): Likewise.
11713 [C99-based-standards] (SCNiPTR): Likewise.
11714 [C99-based-standards] (SCNoPTR): Likewise.
11715 [C99-based-standards] (SCNuPTR): Likewise.
11716 [C99-based-standards] (SCNxPTR): Likewise.
11717 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11718 allow.
11719 * conform/data/stdint.h-data: Update comments to clarify
11720 requirements.
11721 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11722 type.
11723 [C99-based standards] (INT8_MAX): Likewise.
11724 [C99-based standards] (INT16_MIN): Likewise.
11725 [C99-based standards] (INT16_MAX): Likewise.
11726 [C99-based standards] (INT32_MIN): Likewise.
11727 [C99-based standards] (INT32_MAX): Likewise.
11728 [C99-based standards] (INT64_MIN): Likewise.
11729 [C99-based standards] (INT64_MAX): Likewise.
11730 [C99-based standards] (UINT8_MAX): Likewise.
11731 [C99-based standards] (UINT16_MAX): Likewise.
11732 [C99-based standards] (UINT32_MAX): Likewise.
11733 [C99-based standards] (UINT64_MAX): Likewise.
11734 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11735 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11736 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11737 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11738 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11739 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11740 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11741 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11742 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11743 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11744 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11745 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11746 [C99-based standards] (INT_FAST8_MIN): Likewise.
11747 [C99-based standards] (INT_FAST8_MAX): Likewise.
11748 [C99-based standards] (INT_FAST16_MIN): Likewise.
11749 [C99-based standards] (INT_FAST16_MAX): Likewise.
11750 [C99-based standards] (INT_FAST32_MIN): Likewise.
11751 [C99-based standards] (INT_FAST32_MAX): Likewise.
11752 [C99-based standards] (INT_FAST64_MIN): Likewise.
11753 [C99-based standards] (INT_FAST64_MAX): Likewise.
11754 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11755 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11756 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11757 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11758 [C99-based standards] (INTPTR_MIN): Likewise.
11759 [C99-based standards] (INTPTR_MAX): Likewise.
11760 [C99-based standards] (UINTPTR_MAX): Likewise.
11761 [C99-based standards] (INTMAX_MIN): Likewise.
11762 [C99-based standards] (INTMAX_MAX): Likewise.
11763 [C99-based standards] (UINTMAX_MAX): Likewise.
11764 [C99-based standards] (PTRDIFF_MIN): Likewise.
11765 [C99-based standards] (PTRDIFF_MAX): Likewise.
11766 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11767 [C99-based standards] (SIZE_MAX): Likewise.
11768 [C99-based standards] (WCHAR_MAX): Likewise.
11769 [C99-based standards] (WINT_MAX): Likewise.
11770 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11771 constraint on value.
11772 [C99-based standards] (WCHAR_MIN): Likewise.
11773 [C99-based standards] (WINT_MIN): Likewise.
11774 [C99-based standards] (*_t): Allow.
11775 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11776 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11777 Include math.h-data and complex.h-data. Remove all expectations
11778 of math.h and complex.h contents.
11779 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11780 at end of line.
11781 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11782 (struct tm): Expect tag.
11783 [C99-based-standards] (wcstof): Expect function.
11784 [C99-based-standards] (wcstold): Likewise.
11785 [C99-based-standards] (wcstoll): Likewise.
11786 [C99-based-standards] (wcstoull): Likewise.
11787 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11788 macro-int-constant. Specify type.
11789 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11790 constraint on value.
11791 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11792 Specify type.
11793 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11794 Specify value.
11795 [ISO C standards]: Do not allow headers.
11796 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11797 wcs[abcdefghijklmnopqrstuvwxyz]*.
11798 [ISO C standards] (*_t): Do not allow.
11799 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11800 Expect function.
11801 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11802 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11803 Specify type.
11804 [ISO C standards]: Do not allow headers.
11805 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11806 is[abcdefghijklmnopqrstuvwxyz]*.
11807 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11808 to[abcdefghijklmnopqrstuvwxyz]*.
11809 [ISO C standards] (*_t): Do not allow.
11810 * conform/data/stdalign.h-data: New file.
11811 * conform/data/stdbool.h-data: Likewise.
11812 * conform/data/stdnoreturn.h-data: Likewise.
11813
7514feb8
RM
118142012-11-07 Roland McGrath <roland@hack.frob.com>
11815
11816 [BZ #14815]
11817 * manual/filesys.texi (Directory Entries): Typo fix.
11818 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11819
19b2ecfc
MS
118202012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11821
11822 * elf/elf.h (EM_AARCH64): New macro.
11823 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11824 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11825 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11826 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11827 (R_AARCH64_TLSDESC): Likewise.
11828 (NT_ARM_TLS): Likewise.
11829 (NT_ARM_HW_BREAK): Likewise.
11830 (NT_ARM_HW_WATCH): Likewise.
11831
60e235ee
JM
118322012-11-07 Joseph Myers <joseph@codesourcery.com>
11833
11834 [BZ #14811]
11835 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11836 (__ieee754_powl): Saturate nonzero exponents with absolute value
11837 below 0x1p-79 to +/- 0x1p-79.
11838 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11839 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11840 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11841 nonzero exponents with absolute value below 0x1p-32 to +/-
11842 0x1p-32.
11843 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11844 (__ieee754_powl): Saturate nonzero exponents with absolute value
11845 below 0x1p-79 to +/- 0x1p-79.
11846 * math/libm-test.inc (pow_test): Add more tests.
11847
0ab234b7
AK
118482012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11849
11850 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11851 _dl_s390_cap_flags with kernel. Increase string length.
11852 (_dl_s390_platforms): Add z196 and zEC12.
11853
45832f74
JM
118542012-11-07 Joseph Myers <joseph@codesourcery.com>
11855
11856 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11857 Change XOPEN21K to XOPEN2K.
11858
19218757
MK
118592012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11860
11861 * string/memmove.c: Use memcpy when possible.
11862
c5f45721
AJ
118632012-11-06 Andreas Jaeger <aj@suse.de>
11864
11865 * po/eo.po: Update from translation team.
11866
82477c28
JM
118672012-11-06 Joseph Myers <joseph@codesourcery.com>
11868
11869 [BZ #14793]
11870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11871 exponent and small x and y exponents, scale x or y up. Increase
11872 by 2 the exponent used in scaling up.
11873 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11874 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11875 * math/libm-test.inc (fma_test): Add more tests.
11876 (fma_test_towardzero): Likewise.
11877 (fma_test_downward): Likewise.
11878 (fma_test_upward): Likewise.
11879
99252c8c
JM
118802012-11-05 Joseph Myers <joseph@codesourcery.com>
11881
acfa885f
JM
11882 [BZ #14805]
11883 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11884 fenv_t *.
11885
99252c8c
JM
11886 [BZ #14801]
11887 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11888 namespace for names of struct fields.
11889 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11890 fenv_t fields.
11891 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11892 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11893
d6d98dea
ST
118942012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11895
11896 [BZ #3665]
11897 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11898
e10bb107
TS
118992012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11900
11901 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11902 PTR_DEMANGLE.
11903
11904 [BZ #5246]
11905 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11906 PTR_DEMANGLE.
11907
a0c2940d
JM
119082012-11-04 Joseph Myers <joseph@codesourcery.com>
11909
11910 [BZ #14797]
11911 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11912 definitely overflow as x * y not x * y + z.
11913 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11914 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11915 * math/libm-test.inc (fma_test): Add more tests.
11916 (fma_test_towardzero): Likewise.
11917 (fma_test_downward): Likewise.
11918 (fma_test_upward): Likewise.
11919
b830319d
TS
119202012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11921
11922 [BZ #157]
11923
11924 * include/stub-tag.h: Remove file.
11925 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11926 '#include' of it.
11927 * manual/maint.texi (Porting): Don't reference it.
11928 * Makerules ($(objpfx)stubs): Likewise.
11929 * dirent/closedir.c: Don't include <stub-tag.h>.
11930 * dirent/dirfd.c: Likewise.
11931 * dirent/fdopendir.c: Likewise.
11932 * dirent/getdents.c: Likewise.
11933 * dirent/getdents64.c: Likewise.
11934 * dirent/opendir.c: Likewise.
11935 * dirent/readdir.c: Likewise.
11936 * dirent/readdir64.c: Likewise.
11937 * dirent/readdir64_r.c: Likewise.
11938 * dirent/readdir_r.c: Likewise.
11939 * dirent/rewinddir.c: Likewise.
11940 * dirent/seekdir.c: Likewise.
11941 * dirent/telldir.c: Likewise.
11942 * gmon/profil.c: Likewise.
11943 * grp/setgroups.c: Likewise.
11944 * inet/if_index.c: Likewise.
11945 * io/access.c: Likewise.
11946 * io/chdir.c: Likewise.
11947 * io/chmod.c: Likewise.
11948 * io/chown.c: Likewise.
11949 * io/close.c: Likewise.
11950 * io/dup.c: Likewise.
11951 * io/dup2.c: Likewise.
11952 * io/dup3.c: Likewise.
11953 * io/euidaccess.c: Likewise.
11954 * io/faccessat.c: Likewise.
11955 * io/fchdir.c: Likewise.
11956 * io/fchmod.c: Likewise.
11957 * io/fchmodat.c: Likewise.
11958 * io/fchown.c: Likewise.
11959 * io/fchownat.c: Likewise.
11960 * io/fcntl.c: Likewise.
11961 * io/flock.c: Likewise.
11962 * io/fstatfs.c: Likewise.
11963 * io/fstatfs64.c: Likewise.
11964 * io/fstatvfs.c: Likewise.
11965 * io/fstatvfs64.c: Likewise.
11966 * io/futimens.c: Likewise.
11967 * io/fxstat.c: Likewise.
11968 * io/fxstat64.c: Likewise.
11969 * io/fxstatat.c: Likewise.
11970 * io/fxstatat64.c: Likewise.
11971 * io/getcwd.c: Likewise.
11972 * io/isatty.c: Likewise.
11973 * io/lchmod.c: Likewise.
11974 * io/lchown.c: Likewise.
11975 * io/link.c: Likewise.
11976 * io/linkat.c: Likewise.
11977 * io/lseek.c: Likewise.
11978 * io/lseek64.c: Likewise.
11979 * io/lxstat64.c: Likewise.
11980 * io/mkdir.c: Likewise.
11981 * io/mkdirat.c: Likewise.
11982 * io/mkfifo.c: Likewise.
11983 * io/mkfifoat.c: Likewise.
11984 * io/open.c: Likewise.
11985 * io/open64.c: Likewise.
11986 * io/openat.c: Likewise.
11987 * io/openat64.c: Likewise.
11988 * io/pipe.c: Likewise.
11989 * io/pipe2.c: Likewise.
11990 * io/poll.c: Likewise.
11991 * io/posix_fadvise.c: Likewise.
11992 * io/posix_fadvise64.c: Likewise.
11993 * io/posix_fallocate.c: Likewise.
11994 * io/posix_fallocate64.c: Likewise.
11995 * io/read.c: Likewise.
11996 * io/readlink.c: Likewise.
11997 * io/readlinkat.c: Likewise.
11998 * io/rmdir.c: Likewise.
11999 * io/sendfile.c: Likewise.
12000 * io/sendfile64.c: Likewise.
12001 * io/statfs.c: Likewise.
12002 * io/statfs64.c: Likewise.
12003 * io/statvfs.c: Likewise.
12004 * io/statvfs64.c: Likewise.
12005 * io/symlink.c: Likewise.
12006 * io/symlinkat.c: Likewise.
12007 * io/ttyname.c: Likewise.
12008 * io/ttyname_r.c: Likewise.
12009 * io/umask.c: Likewise.
12010 * io/unlink.c: Likewise.
12011 * io/unlinkat.c: Likewise.
12012 * io/utime.c: Likewise.
12013 * io/utimensat.c: Likewise.
12014 * io/write.c: Likewise.
12015 * io/xmknod.c: Likewise.
12016 * io/xmknodat.c: Likewise.
12017 * io/xstat.c: Likewise.
12018 * io/xstat64.c: Likewise.
12019 * login/getpt.c: Likewise.
12020 * login/grantpt.c: Likewise.
12021 * login/unlockpt.c: Likewise.
12022 * math/e_acoshl.c: Likewise.
12023 * math/e_acosl.c: Likewise.
12024 * math/e_asinl.c: Likewise.
12025 * math/e_atan2l.c: Likewise.
12026 * math/e_atanhl.c: Likewise.
12027 * math/e_coshl.c: Likewise.
12028 * math/e_expl.c: Likewise.
12029 * math/e_fmodl.c: Likewise.
12030 * math/e_gammal_r.c: Likewise.
12031 * math/e_hypotl.c: Likewise.
12032 * math/e_j0l.c: Likewise.
12033 * math/e_j1l.c: Likewise.
12034 * math/e_jnl.c: Likewise.
12035 * math/e_lgammal_r.c: Likewise.
12036 * math/e_log10l.c: Likewise.
12037 * math/e_log2l.c: Likewise.
12038 * math/e_logl.c: Likewise.
12039 * math/e_powl.c: Likewise.
12040 * math/e_rem_pio2l.c: Likewise.
12041 * math/e_sinhl.c: Likewise.
12042 * math/e_sqrtl.c: Likewise.
12043 * math/fclrexcpt.c: Likewise.
12044 * math/fedisblxcpt.c: Likewise.
12045 * math/feenablxcpt.c: Likewise.
12046 * math/fegetenv.c: Likewise.
12047 * math/fegetexcept.c: Likewise.
12048 * math/fegetround.c: Likewise.
12049 * math/feholdexcpt.c: Likewise.
12050 * math/fesetenv.c: Likewise.
12051 * math/fesetround.c: Likewise.
12052 * math/feupdateenv.c: Likewise.
12053 * math/fgetexcptflg.c: Likewise.
12054 * math/fraiseexcpt.c: Likewise.
12055 * math/fsetexcptflg.c: Likewise.
12056 * math/ftestexcept.c: Likewise.
12057 * math/k_cosl.c: Likewise.
12058 * math/k_rem_pio2l.c: Likewise.
12059 * math/k_sinl.c: Likewise.
12060 * math/k_tanl.c: Likewise.
12061 * math/s_asinhl.c: Likewise.
12062 * math/s_atanl.c: Likewise.
12063 * math/s_cbrtl.c: Likewise.
12064 * math/s_erfl.c: Likewise.
12065 * math/s_expm1l.c: Likewise.
12066 * math/s_log1pl.c: Likewise.
12067 * math/s_tanhl.c: Likewise.
12068 * misc/acct.c: Likewise.
12069 * misc/brk.c: Likewise.
12070 * misc/chflags.c: Likewise.
12071 * misc/chroot.c: Likewise.
12072 * misc/fchflags.c: Likewise.
12073 * misc/fgetxattr.c: Likewise.
12074 * misc/flistxattr.c: Likewise.
12075 * misc/fremovexattr.c: Likewise.
12076 * misc/fsetxattr.c: Likewise.
12077 * misc/fsync.c: Likewise.
12078 * misc/ftruncate.c: Likewise.
12079 * misc/futimes.c: Likewise.
12080 * misc/futimesat.c: Likewise.
12081 * misc/getdomain.c: Likewise.
12082 * misc/getdtsz.c: Likewise.
12083 * misc/gethostid.c: Likewise.
12084 * misc/gethostname.c: Likewise.
12085 * misc/getloadavg.c: Likewise.
12086 * misc/getpagesize.c: Likewise.
12087 * misc/getsysstats.c: Likewise.
12088 * misc/getxattr.c: Likewise.
12089 * misc/gtty.c: Likewise.
12090 * misc/ioctl.c: Likewise.
12091 * misc/lgetxattr.c: Likewise.
12092 * misc/listxattr.c: Likewise.
12093 * misc/llistxattr.c: Likewise.
12094 * misc/lremovexattr.c: Likewise.
12095 * misc/lsetxattr.c: Likewise.
12096 * misc/lutimes.c: Likewise.
12097 * misc/madvise.c: Likewise.
12098 * misc/mincore.c: Likewise.
12099 * misc/mlock.c: Likewise.
12100 * misc/mlockall.c: Likewise.
12101 * misc/mmap.c: Likewise.
12102 * misc/mprotect.c: Likewise.
12103 * misc/msync.c: Likewise.
12104 * misc/munlock.c: Likewise.
12105 * misc/munlockall.c: Likewise.
12106 * misc/munmap.c: Likewise.
12107 * misc/preadv.c: Likewise.
12108 * misc/preadv64.c: Likewise.
12109 * misc/ptrace.c: Likewise.
12110 * misc/pwritev.c: Likewise.
12111 * misc/pwritev64.c: Likewise.
12112 * misc/readv.c: Likewise.
12113 * misc/reboot.c: Likewise.
12114 * misc/remap_file_pages.c: Likewise.
12115 * misc/removexattr.c: Likewise.
12116 * misc/revoke.c: Likewise.
12117 * misc/select.c: Likewise.
12118 * misc/setdomain.c: Likewise.
12119 * misc/setegid.c: Likewise.
12120 * misc/seteuid.c: Likewise.
12121 * misc/sethostid.c: Likewise.
12122 * misc/sethostname.c: Likewise.
12123 * misc/setregid.c: Likewise.
12124 * misc/setreuid.c: Likewise.
12125 * misc/setxattr.c: Likewise.
12126 * misc/sstk.c: Likewise.
12127 * misc/stty.c: Likewise.
12128 * misc/swapoff.c: Likewise.
12129 * misc/swapon.c: Likewise.
12130 * misc/sync.c: Likewise.
12131 * misc/syncfs.c: Likewise.
12132 * misc/syscall.c: Likewise.
12133 * misc/truncate.c: Likewise.
12134 * misc/ualarm.c: Likewise.
12135 * misc/usleep.c: Likewise.
12136 * misc/ustat.c: Likewise.
12137 * misc/utimes.c: Likewise.
12138 * misc/vhangup.c: Likewise.
12139 * misc/writev.c: Likewise.
12140 * posix/_exit.c: Likewise.
12141 * posix/alarm.c: Likewise.
12142 * posix/execve.c: Likewise.
12143 * posix/fexecve.c: Likewise.
12144 * posix/fork.c: Likewise.
12145 * posix/fpathconf.c: Likewise.
12146 * posix/getaddrinfo.c: Likewise.
12147 * posix/getegid.c: Likewise.
12148 * posix/geteuid.c: Likewise.
12149 * posix/getgid.c: Likewise.
12150 * posix/getgroups.c: Likewise.
12151 * posix/getlogin.c: Likewise.
12152 * posix/getlogin_r.c: Likewise.
12153 * posix/getpgid.c: Likewise.
12154 * posix/getpid.c: Likewise.
12155 * posix/getppid.c: Likewise.
12156 * posix/getresgid.c: Likewise.
12157 * posix/getresuid.c: Likewise.
12158 * posix/getsid.c: Likewise.
12159 * posix/getuid.c: Likewise.
12160 * posix/glob64.c: Likewise.
12161 * posix/nanosleep.c: Likewise.
12162 * posix/pathconf.c: Likewise.
12163 * posix/pause.c: Likewise.
12164 * posix/posix_madvise.c: Likewise.
12165 * posix/pread.c: Likewise.
12166 * posix/pread64.c: Likewise.
12167 * posix/pwrite.c: Likewise.
12168 * posix/pwrite64.c: Likewise.
12169 * posix/sched_getaffinity.c: Likewise.
12170 * posix/sched_getp.c: Likewise.
12171 * posix/sched_gets.c: Likewise.
12172 * posix/sched_primax.c: Likewise.
12173 * posix/sched_primin.c: Likewise.
12174 * posix/sched_rr_gi.c: Likewise.
12175 * posix/sched_setaffinity.c: Likewise.
12176 * posix/sched_setp.c: Likewise.
12177 * posix/sched_sets.c: Likewise.
12178 * posix/sched_yield.c: Likewise.
12179 * posix/setgid.c: Likewise.
12180 * posix/setlogin.c: Likewise.
12181 * posix/setpgid.c: Likewise.
12182 * posix/setresgid.c: Likewise.
12183 * posix/setresuid.c: Likewise.
12184 * posix/setsid.c: Likewise.
12185 * posix/setuid.c: Likewise.
12186 * posix/sleep.c: Likewise.
12187 * posix/spawni.c: Likewise.
12188 * posix/sysconf.c: Likewise.
12189 * posix/times.c: Likewise.
12190 * posix/wait.c: Likewise.
12191 * posix/wait3.c: Likewise.
12192 * posix/wait4.c: Likewise.
12193 * posix/waitpid.c: Likewise.
12194 * resolv/gai_sigqueue.c: Likewise.
12195 * resource/getpriority.c: Likewise.
12196 * resource/getrlimit.c: Likewise.
12197 * resource/getrusage.c: Likewise.
12198 * resource/nice.c: Likewise.
12199 * resource/setpriority.c: Likewise.
12200 * resource/setrlimit.c: Likewise.
12201 * resource/ulimit.c: Likewise.
12202 * rt/aio_cancel.c: Likewise.
12203 * rt/aio_fsync.c: Likewise.
12204 * rt/aio_read.c: Likewise.
12205 * rt/aio_sigqueue.c: Likewise.
12206 * rt/aio_suspend.c: Likewise.
12207 * rt/aio_write.c: Likewise.
12208 * rt/clock_getres.c: Likewise.
12209 * rt/clock_gettime.c: Likewise.
12210 * rt/clock_nanosleep.c: Likewise.
12211 * rt/clock_settime.c: Likewise.
12212 * rt/lio_listio.c: Likewise.
12213 * rt/mq_close.c: Likewise.
12214 * rt/mq_getattr.c: Likewise.
12215 * rt/mq_notify.c: Likewise.
12216 * rt/mq_open.c: Likewise.
12217 * rt/mq_receive.c: Likewise.
12218 * rt/mq_send.c: Likewise.
12219 * rt/mq_setattr.c: Likewise.
12220 * rt/mq_timedreceive.c: Likewise.
12221 * rt/mq_timedsend.c: Likewise.
12222 * rt/mq_unlink.c: Likewise.
12223 * rt/shm_open.c: Likewise.
12224 * rt/shm_unlink.c: Likewise.
12225 * rt/timer_create.c: Likewise.
12226 * rt/timer_delete.c: Likewise.
12227 * rt/timer_getoverr.c: Likewise.
12228 * rt/timer_gettime.c: Likewise.
12229 * rt/timer_settime.c: Likewise.
12230 * setjmp/__longjmp.c: Likewise.
12231 * setjmp/setjmp.c: Likewise.
12232 * signal/kill.c: Likewise.
12233 * signal/killpg.c: Likewise.
12234 * signal/raise.c: Likewise.
12235 * signal/sigaction.c: Likewise.
12236 * signal/sigaltstack.c: Likewise.
12237 * signal/sigblock.c: Likewise.
12238 * signal/sigignore.c: Likewise.
12239 * signal/sigintr.c: Likewise.
12240 * signal/signal.c: Likewise.
12241 * signal/sigpause.c: Likewise.
12242 * signal/sigpending.c: Likewise.
12243 * signal/sigqueue.c: Likewise.
12244 * signal/sigreturn.c: Likewise.
12245 * signal/sigset.c: Likewise.
12246 * signal/sigsetmask.c: Likewise.
12247 * signal/sigstack.c: Likewise.
12248 * signal/sigsuspend.c: Likewise.
12249 * signal/sigtimedwait.c: Likewise.
12250 * signal/sigvec.c: Likewise.
12251 * signal/sigwait.c: Likewise.
12252 * signal/sigwaitinfo.c: Likewise.
12253 * signal/sysv_signal.c: Likewise.
12254 * socket/accept.c: Likewise.
12255 * socket/accept4.c: Likewise.
12256 * socket/bind.c: Likewise.
12257 * socket/connect.c: Likewise.
12258 * socket/getpeername.c: Likewise.
12259 * socket/getsockname.c: Likewise.
12260 * socket/getsockopt.c: Likewise.
12261 * socket/isfdtype.c: Likewise.
12262 * socket/listen.c: Likewise.
12263 * socket/recv.c: Likewise.
12264 * socket/recvfrom.c: Likewise.
12265 * socket/recvmsg.c: Likewise.
12266 * socket/send.c: Likewise.
12267 * socket/sendmsg.c: Likewise.
12268 * socket/sendto.c: Likewise.
12269 * socket/setsockopt.c: Likewise.
12270 * socket/shutdown.c: Likewise.
12271 * socket/sockatmark.c: Likewise.
12272 * socket/socket.c: Likewise.
12273 * socket/socketpair.c: Likewise.
12274 * stdio-common/ctermid.c: Likewise.
12275 * stdio-common/cuserid.c: Likewise.
12276 * stdio-common/remove.c: Likewise.
12277 * stdio-common/rename.c: Likewise.
12278 * stdio-common/renameat.c: Likewise.
12279 * stdio-common/tempname.c: Likewise.
12280 * stdlib/getcontext.c: Likewise.
12281 * stdlib/makecontext.c: Likewise.
12282 * stdlib/setcontext.c: Likewise.
12283 * stdlib/swapcontext.c: Likewise.
12284 * stdlib/system.c: Likewise.
12285 * streams/fattach.c: Likewise.
12286 * streams/fdetach.c: Likewise.
12287 * streams/getmsg.c: Likewise.
12288 * streams/getpmsg.c: Likewise.
12289 * streams/putmsg.c: Likewise.
12290 * streams/putpmsg.c: Likewise.
12291 * sysdeps/unix/bsd/getpt.c: Likewise.
12292 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12293 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12294 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12296 Likewise.
12297 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12298 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12299 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12300 * sysvipc/msgctl.c: Likewise.
12301 * sysvipc/msgget.c: Likewise.
12302 * sysvipc/msgrcv.c: Likewise.
12303 * sysvipc/msgsnd.c: Likewise.
12304 * sysvipc/semctl.c: Likewise.
12305 * sysvipc/semget.c: Likewise.
12306 * sysvipc/semop.c: Likewise.
12307 * sysvipc/semtimedop.c: Likewise.
12308 * sysvipc/shmat.c: Likewise.
12309 * sysvipc/shmctl.c: Likewise.
12310 * sysvipc/shmdt.c: Likewise.
12311 * sysvipc/shmget.c: Likewise.
12312 * termios/tcdrain.c: Likewise.
12313 * termios/tcflow.c: Likewise.
12314 * termios/tcflush.c: Likewise.
12315 * termios/tcgetattr.c: Likewise.
12316 * termios/tcgetpgrp.c: Likewise.
12317 * termios/tcsendbrk.c: Likewise.
12318 * termios/tcsetattr.c: Likewise.
12319 * termios/tcsetpgrp.c: Likewise.
12320 * time/adjtime.c: Likewise.
12321 * time/clock.c: Likewise.
12322 * time/getitimer.c: Likewise.
12323 * time/gettimeofday.c: Likewise.
12324 * time/setitimer.c: Likewise.
12325 * time/settimeofday.c: Likewise.
12326 * time/stime.c: Likewise.
12327 * time/time.c: Likewise.
12328
123292012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12330
a20492cf
PT
12331 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12332 /usr/old/bin.
12333
72e182e3
PT
12334 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12335 instead of spaces.
12336 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12337
fbeafede
JM
123382012-11-03 Joseph Myers <joseph@codesourcery.com>
12339
5b5b04d6
JM
12340 [BZ #14796]
12341 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12342 FE_TONEAREST before applying Dekker multiplication and Knuth
12343 addition. Clear inexact exceptions and check for exact zero
12344 results afterwards.
12345 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12346 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12347 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12348 * math/libm-test.inc (fma_test): Add more tests.
12349 (fma_test_towardzero): Likewise.
12350 (fma_test_downward): Likewise.
12351 (fma_test_upward): Likewise.
12352 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12353 function.
12354 (libc_fesetround): New macro.
12355 (libc_fesetroundf): Likewise.
12356 (libc_fesetroundl): Likewise.
12357 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12358 function.
12359 (libc_fesetround_387): Likewise.
12360 (libc_fesetroundf): New macro.
12361 (libc_fesetround): Likewise.
12362 (libc_fesetroundl): Likewise.
12363 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12364 function.
12365 (libc_fesetroundf): New macro.
12366 (libc_fesetround): Likewise.
12367 (libc_fesetroundl): Likewise.
12368 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12369 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12370 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12371 libm_hidden_ver.
12372 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12373 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12374 libm_hidden_def.
12375 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12376 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12377 libm_hidden_ver.
12378 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12379 libm_hidden_def.
12380
fbeafede
JM
12381 [BZ #3439]
12382 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12383 integer constant usable in #if and use that to give value to enum
12384 constant.
12385 (FE_DIVBYZERO): Likewise.
12386 (FE_UNDERFLOW): Likewise.
12387 (FE_OVERFLOW): Likewise.
12388 (FE_INVALID): Likewise.
12389 (FE_INVALID_SNAN): Likewise.
12390 (FE_INVALID_ISI): Likewise.
12391 (FE_INVALID_IDI): Likewise.
12392 (FE_INVALID_ZDZ): Likewise.
12393 (FE_INVALID_IMZ): Likewise.
12394 (FE_INVALID_COMPARE): Likewise.
12395 (FE_INVALID_SOFTWARE): Likewise.
12396 (FE_INVALID_SQRT): Likewise.
12397 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12398 (FE_TONEAREST): Likewise.
12399 (FE_TOWARDZERO): Likewise.
12400 (FE_UPWARD): Likewise.
12401 (FE_DOWNWARD): Likewise.
12402 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12403 (FE_DIVBYZERO): Likewise.
12404 (FE_OVERFLOW): Likewise.
12405 (FE_UNDERFLOW): Likewise.
12406 (FE_INEXACT): Likewise.
12407 (FE_TONEAREST): Likewise.
12408 (FE_DOWNWARD): Likewise.
12409 (FE_UPWARD): Likewise.
12410 (FE_TOWARDZERO): Likewise.
12411 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12412 (FE_UNDERFLOW): Likewise.
12413 (FE_OVERFLOW): Likewise.
12414 (FE_DIVBYZERO): Likewise.
12415 (FE_INVALID): Likewise.
12416 (FE_TONEAREST): Likewise.
12417 (FE_TOWARDZERO): Likewise.
12418 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12419 (FE_OVERFLOW): Likewise.
12420 (FE_UNDERFLOW): Likewise.
12421 (FE_DIVBYZERO): Likewise.
12422 (FE_INEXACT): Likewise.
12423 (FE_TONEAREST): Likewise.
12424 (FE_TOWARDZERO): Likewise.
12425 (FE_UPWARD): Likewise.
12426 (FE_DOWNWARD): Likewise.
12427 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12428 (FE_DIVBYZERO): Likewise.
12429 (FE_OVERFLOW): Likewise.
12430 (FE_UNDERFLOW): Likewise.
12431 (FE_INEXACT): Likewise.
12432 (FE_TONEAREST): Likewise.
12433 (FE_DOWNWARD): Likewise.
12434 (FE_UPWARD): Likewise.
12435 (FE_TOWARDZERO): Likewise.
12436
105ca950
CM
124372012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12438
12439 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12440
a542b389
AS
124412012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12442
12443 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12444 commands. Quote $PWD.
12445 (blacklist_exports): Don't use remove_newlines. Replace "declare
12446 -x" by "export".
12447 (remove_newlines): Remove.
12448
f62c8abc
L
124492012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12450
12451 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12452 * stdlib/stdlib.h (atof): Moved to ...
12453 * include/bits/stdlib-float.h: Here. New file.
12454 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12455 * stdlib/bits/stdlib-float.h: New file.
12456 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12457 -mno-sse -mno-mmx.
12458 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12459 <xmmintrin.h>.
12460
0155d5b2
JM
124612012-11-02 Joseph Myers <joseph@codesourcery.com>
12462
a68d0680
JM
12463 * conform/conformtest.pl (@headers): Add fenv.h.
12464 * conform/data/fenv.h-data: New file.
12465 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12466 include of <math/fenv.h>.
12467
caf7f573
JM
12468 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12469 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12470 && !UNIX98]. Enables tests for XOPEN2K8.
12471 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12472 POSIX2008]: Likewise.
12473
6c073ad6
JM
12474 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12475 (struct rusage): Do not expect type or its members.
12476
0155d5b2
JM
12477 [BZ #3439]
12478 * math/math.h (FP_NAN): Define macro to integer constant usable in
12479 #if and use that to give value to enum constant.
12480 (FP_INFINITE): Likewise.
12481 (FP_ZERO): Likewise.
12482 (FP_SUBNORMAL): Likewise.
12483 (FP_NORMAL): Likewise.
12484
b5dcacb4
AS
124852012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12486
12487 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12488 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12489 arguments.
12490
f7934be8
RM
124912012-11-02 Roland McGrath <roland@hack.frob.com>
12492
12493 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12494 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12495 autoconf-time if not.
12496 * configure.in: Remove AC_PREREQ.
12497
d7d08bde
TMQMF
124982012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12499
12500 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12501 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12502 of the internal implementation.
12503
dcdae19a
JM
125042012-11-02 Joseph Myers <joseph@codesourcery.com>
12505
12506 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12507 except include of <misc/sys/syslog.h>.
12508
d6cffd3e
AS
125092012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12510
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12512 function returns with a NULL context exit with zero.
12513
b3563932
TMQMF
125142012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12515
12516 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12517
b288a93d
L
125182012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12519
12520 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12521 (run_program_cmd): This.
12522 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12523 (tst_langinfo): New variable. Use it.
12524
a2421a68
SAS
125252012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12526
12527 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12528 floating point opcodes.
12529
6f796e1b
TS
125302012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12531
7402596b
TS
12532 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12533 variable.
12534
d0d4f868
TS
12535 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12536
6f796e1b
TS
12537 * sysdeps/mach/hurd/powerpc: Remove directory.
12538 * sysdeps/mach/powerpc: Likewise.
12539
4da224a2
AS
125402012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12541
12542 * scripts/check-local-headers.sh: Ignore c++ headers.
12543
341dd673
TS
125442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12545
12546 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12547 __libc_cleanup_region_start argument.
12548
473611b2
JM
125492012-11-01 Joseph Myers <joseph@codesourcery.com>
12550
12551 [BZ #14784]
12552 [BZ #14785]
12553 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12554 x * y using scaling, not as x * y + z.
12555 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12556 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12557 * math/libm-test.inc (fma_test): Add more tests.
12558 (fma_test_towardzero): Likewise.
12559 (fma_test_downward): Likewise.
12560 (fma_test_upward): Likewise.
12561
4078da3d
TS
125622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12563
12564 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12565
903252aa
JM
125662012-10-31 Joseph Myers <joseph@codesourcery.com>
12567
12568 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12569 New variable.
12570
cbc818d0
TS
125712012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12572
12573 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12574
5a03cb1e
AS
125752012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12576
12577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12578 Fix sort order.
12579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12580 Likewise.
12581
90aff2ff
TMQMF
125822012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12583
12584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12585 Fix the order of the list for glibc 2.17.
12586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12587 Likewise.
12588
1818fcb7
AS
125892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12590
12591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12592
ef82f4da
JM
125932012-10-31 Joseph Myers <joseph@codesourcery.com>
12594
16a0e2ec
JM
12595 [BZ #14610]
12596 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12597 for low part of x being zero before using __atanl (y).
12598 * math/libm-test.inc (atan2_test): Add another test.
12599
0eb69512
JM
12600 * manual/install.texi (Configuring and compiling): Document
12601 general use of test-wrapper and test-wrapper-env.
12602 * INSTALL: Regenerated.
12603
ef82f4da
JM
12604 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12605 (__fma): Do not extract and scale down low bits on after-rounding
12606 systems when result rounded to normal precision would have normal
12607 exponent.
12608 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12609 (__fmal): Do not extract and scale down low bits on after-rounding
12610 systems when result rounded to normal precision would have normal
12611 exponent.
12612 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12613 (__fmal): Do not extract and scale down low bits on after-rounding
12614 systems when result rounded to normal precision would have normal
12615 exponent.
12616 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12617 macro.
12618 (fma_test): Add more tests.
12619 (fma_test_towardzero): Likewise.
12620 (fma_test_downward): Likewise.
12621 (fma_test_upward): Likewise.
12622
954ef0d9
L
126232012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12624
12625 * sysdeps/i386/tininess.h: Renamed to ...
12626 * sysdeps/x86/tininess.h: This.
12627 * sysdeps/x86_64/tininess.h: Removed.
12628
df61ffb2
JM
126292012-10-30 Joseph Myers <joseph@codesourcery.com>
12630
12631 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12632 input. Use $(build-program-cmd).
12633 ($(objpfx)tst-array1-static.out): Likewise.
12634 ($(objpfx)tst-array2.out): Likewise.
12635 ($(objpfx)tst-array3.out): Likewise.
12636 ($(objpfx)tst-array4.out): Likewise.
12637 ($(objpfx)tst-array5.out): Likewise.
12638 ($(objpfx)tst-array5-static.out): Likewise.
12639
01767843
CM
126402012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12641
47cc1490
CM
12642 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12643 if defined.
12644
01767843
CM
12645 * nss/nsswitch.h (nss_interface_function): Provide new
12646 macro for use with NSS functions.
12647 * grp/initgroups.c: Use new macro.
12648 * nss/getXXbyYY.c: Likewise.
12649 * nss/getXXbyYY_r.c: Likewise.
12650 * nss/getXXent.c: Likewise.
12651 * nss/getXXent_r.c: Likewise.
12652 * sysdeps/posix/getaddrinfo.c: Likewise.
12653
8321aa97
AJ
126542012-10-30 Andreas Jaeger <aj@suse.de>
12655
12656 * po/ru.po: Update Russion translation from translation project.
12657
2a27fd6d
JM
126582012-10-30 Joseph Myers <joseph@codesourcery.com>
12659
8627a232
JM
12660 [BZ #14152]
12661 [BZ #14783]
12662 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12663 result and shift together with sticky bit instead of replicating
12664 round-to-nearest rounding.
12665 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12666 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12667 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12668 missing underflow exceptions.
12669 (fma_test_towardzero): Add more tests.
12670 (fma_test_downward): Likewise.
12671 (fma_test_upward): Likewise.
12672
2a27fd6d
JM
12673 [BZ #14047]
12674 * sysdeps/generic/tininess.h: New file.
12675 * sysdeps/i386/tininess.h: Likewise.
12676 * sysdeps/sh/tininess.h: Likewise.
12677 * sysdeps/x86_64/tininess.h: Likewise.
12678 * stdlib/tst-strtod-underflow.c: Likewise.
12679 * stdlib/tst-tininess.c: Likewise.
12680 * stdlib/strtod_l.c: Include <tininess.h>.
12681 (round_and_return): Do not set errno for exact underflow cases.
12682 Force an underflow exception when setting errno for underflow.
12683 Determine underflow based on rounding to normal precision if
12684 TININESS_AFTER_ROUNDING.
12685 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12686 ERANGE for exact underflow cases.
12687 * stdlib/Makefile (tests): Add tst-tininess and
12688 tst-strtod-underflow.
12689 ($(objpfx)tst-tininess): Use $(link-libm).
12690 ($(objpfx)tst-strtod-underflow): Likewise.
12691
e7170363
AJ
126922012-10-30 Andreas Jaeger <aj@suse.de>
12693
e5088dc6
AJ
12694 [BZ#14767]
12695 * elf/Makefile (tests): Remove conditional for have-initfini-array
12696 since this is now always required and the variable does not exist
12697 anymore.
12698 (tests-static): Likewise.
12699 (modules-names): Likewise.
12700
e7170363 12701 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12702
12703 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12704 merged with constructor/destructor.
12705 (init_array): Likewise.
12706 * elf/tst-array2dep.c (fini_array): Likewise.
12707 (init_array): Likewise.
12708
60457d8a
MF
127092012-10-29 Mike Frysinger <vapier@gentoo.org>
12710
12711 * manual/message.texi: Delete @cartouche tags.
12712
8bece752
PT
127132012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12714
94ce799f
PT
12715 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12716 EOPNOTSUPP.
12717 * sysdeps/mach/hurd/fsync.c: Likewise.
12718
8bece752
PT
12719 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12720 [_POSIX_REALTIME_SIGNALS]: Change condition to
12721 [_POSIX_REALTIME_SIGNALS > 0].
12722
86ebe6b1
AJ
127232012-10-27 Andreas Jaeger <aj@suse.de>
12724
12725 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12726 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12727 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12728 [__WORDSIZE != 64]: Likewise.
12729
54399c08
L
127302012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12731
12732 * iconvdata/tst-table.sh: Remove ${SHELL}.
12733 * iconvdata/tst-tables.sh: Likewise.
12734
e2211bed
DM
127352012-10-25 David S. Miller <davem@davemloft.net>
12736
12737 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12738 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12739 of strtoull.
12740
f303f97c
DM
12741 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12742 ifunc-impl-list.c
12743 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12744 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12745 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12746 file.
12747
1e9d84cd
RM
127482012-10-25 Roland McGrath <roland@hack.frob.com>
12749
12750 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12751 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12752 __getdirentries.
12753
df381762
JM
127542012-10-25 Joseph Myers <joseph@codesourcery.com>
12755 Jim Blandy <jimb@codesourcery.com>
12756
12757 * scripts/cross-test-ssh.sh: New file.
12758 * manual/install.texi (Configuring and compiling): Document use of
12759 cross-test-ssh.sh.
12760 * INSTALL: Regenerated.
12761
bff64913
PT
127622012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12763
12764 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12765 EOPNOTSUPP.
12766
25fe8932
JM
127672012-10-25 Joseph Myers <joseph@codesourcery.com>
12768
12769 * Makeconfig (run-program-prefix): Fix comment.
12770
cc1290d0
JM
127712012-10-24 Joseph Myers <joseph@codesourcery.com>
12772 Jim Blandy <jimb@codesourcery.com>
12773
12774 * Makeconfig (test-wrapper): New variable,
12775 (test-wrapper-env): Likewise.
12776 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12777 (run-built-tests): Define to yes.
12778 (run-program-prefix): Use $(test-wrapper).
12779 (built-program-cmd): Likewise.
12780 * Rules (make-test-out): Use $(test-wrapper-env) and
12781 $(host-built-program-cmd).
12782 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12783 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12784 tst-pathopt.sh.
12785 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12786 $(test-wrapper-env) to tst-rtld-load-self.sh.
12787 ($(objpfx)order2.out): Use $(test-wrapper).
12788 ($(objpfx)tst-initorder.out): Likewise.
12789 ($(objpfx)tst-initorder2.out): Likewise.
12790 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12791 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12792 (test_wrapper_env): New variable. Use it to run ld.so.
12793 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12794 Use it to run ld.so.
12795 (test_wrapper_env): Likewise.
12796 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12797 $(test-wrapper) to run-iconv-test.sh.
12798 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12799 (ICONV): Use $test_wrapper.
12800 * posix/Makefile ($(objpfx)globtest.out): Pass
12801 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12802 globtest.sh, not $(run-program-prefix).
12803 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12804 (test_wrapper): Likewise.
12805 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12806 set together with run_via_rtld_prefix.
12807 (run_program_prefix): Define in terms of test_wrapper and
12808 run_via_rtld_prefix.
12809
6e6249d0
RM
128102012-10-24 Roland McGrath <roland@hack.frob.com>
12811
12812 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12813 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12814 Targets removed.
12815
12816 [BZ #14743]
12817 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12818 Declare __clock_getres, __clock_gettime, __clock_settime,
12819 __clock_nanosleep, and __clock_getcpuclockid.
12820 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12821 Remove librt_hidden_def (clock_gettime).
12822 * sysdeps/unix/clock_gettime.c: Likewise.
12823 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12824 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12825 * rt/clock_getres.c: Define __clock_getres as an alias.
12826 * sysdeps/posix/clock_getres.c: Likewise.
12827 * rt/clock_settime.c: Define __clock_settime as an alias.
12828 * sysdeps/unix/clock_settime.c: Likewise.
12829 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12830 * sysdeps/unix/clock_nanosleep.c: Likewise.
12831 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12832 * rt/clock-compat.c: New file.
12833 * rt/Makefile (librt-routines): Add clock-compat and move
12834 $(clock-routines) to ...
12835 (routines): ... here, new variable.
12836 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12837 Don't add get_clockfreq here.
12838 * rt/Versions (libc: GLIBC_2.17): New version set.
12839 Add clock_* symbols here.
12840 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12841 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12842 (GLIBC_2.17): Add clock_* symbols.
12843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12845 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12847 Likewise.
12848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12849 Likewise.
12850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12854 * NEWS: Mention the move.
12855
12856 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12857 Use __open, __read, __close rather than their public counterparts.
12858 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12859 (__get_clockfreq_via_cpuinfo): Likewise.
12860 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12861 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12862
12863 * config.h.in (HAVE_IFUNC): New #undef.
12864 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12865 was successful.
12866 * configure: Regenerated.
12867
0cae3f4b
MF
128682012-10-24 Mike Frysinger <vapier@gentoo.org>
12869
12870 * configure.in: Move READELF check to start of file.
12871 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12872 libc_cv_asm_gnu_indirect_function in the process.
12873 * configure: Regenerated.
12874
8175a253
MF
128752012-10-24 Mike Frysinger <vapier@gentoo.org>
12876
12877 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12878 send the output to /dev/null.
12879 (libc_cv_cc_with_libunwind): Likewise.
12880 (libc_cv_as_noexecstack): Likewise.
12881 * configure: Regenerate.
12882
0708a7d1
JM
128832012-10-24 Joseph Myers <joseph@codesourcery.com>
12884
10b40d85
JM
12885 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12886
0708a7d1
JM
12887 * posix/globtest.sh (TMPDIR): Do not set.
12888 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12889 (testout): Likewise.
12890
9fddec1a
AJ
128912012-10-24 Andreas Jaeger <aj@suse.de>
12892
3a8db22f
AJ
12893 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12894 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12895 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12896 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12897 posix_fadvise64, posix_fallocate64.
12898
9fddec1a
AJ
12899 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12900 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12901 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12902 Likewise.
12903 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12904 Likewise.
12905 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12906
12907 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12908 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12909 <bits/fcntl-linux.h>.
12910 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12911
12912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12913 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12914 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12915 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12916 [__WORDSIZE != 64]: Likewise.
12917
ebfd1bbd
JM
129182012-10-23 Joseph Myers <joseph@codesourcery.com>
12919
03ac099f
JM
12920 * Makeconfig (run-built-tests): New variable.
12921 * Rules [$(cross-compiling) = yes]: Change condition to
12922 [$(run-built-tests) = no].
12923 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12924 to [$(run-built-tests) = yes].
12925 * elf/Makefile [$(cross-compiling) = no]: Likewise
12926 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12927 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12928 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12929 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12930 * io/Makefile [$(cross-compiling) = no]: Likewise.
12931 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12932 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12933 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12934 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12935 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12936 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12937 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12938 * string/Makefile [$(cross-compiling) = no]: Likewise.
12939
ebfd1bbd
JM
12940 * posix/Makefile ($(objpfx)globtest.out): Pass
12941 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12942 $(rtld-installed-name).
12943 * posix/globtest.sh (elf_objpfx): Remove variable.
12944 (rtld_installed_name): Likewise.
12945 (library_path): Likewise.
12946 (run_program_prefix): New variable. Use for running globtest
12947 binary.
12948
166bca24
JB
129492012-10-23 Jim Blandy <jimb@codesourcery.com>
12950 Joseph Myers <joseph@codesourcery.com>
12951
12952 * Makeconfig (host-built-program-cmd): New variable.
12953 * elf/Makefile (tst-stackguard1-ARGS): Use
12954 $(host-built-program-cmd).
12955 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12956 (tst-spawn-ARGS): Likewise.
12957 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12958
88866099
JM
129592012-10-23 Joseph Myers <joseph@codesourcery.com>
12960 Jim Blandy <jimb@codesourcery.com>
12961
12962 * Makeconfig (run-via-rtld-prefix): New variable.
12963 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12964 (built-program-cmd): Likewise.
12965
b4b4c296
AJ
129662012-10-22 Andreas Jaeger <aj@suse.de>
12967
12968 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12969 __O_RSYNC if it exists, otherwise to O_SYNC.
12970
6fb54a22
JB
129712012-10-22 Jim Blandy <jimb@codesourcery.com>
12972 Joseph Myers <joseph@codesourcery.com>
12973
12974 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12975 /dev/null.
12976 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12977 from /dev/null
12978 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12979 /dev/null.
12980
481b90b9
AJ
129812012-10-22 Andreas Jaeger <aj@suse.de>
12982
2a0e2669
AJ
12983 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12984 Define always.
12985 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12986
76e38f9a
AJ
12987 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12988 bits/fcntl-linux.h.
12989
7cd37b43
AJ
12990 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12991 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12992
481b90b9
AJ
12993 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12994 to __O_LARGEFILE.
12995 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12996 to __O_LARGEFILE.
12997
aba75984
JB
129982012-10-21 Jim Blandy <jimb@codesourcery.com>
12999 Joseph Myers <joseph@codesourcery.com>
13000
13001 * config.make.in (NM): New variable.
13002
88d4247f
AJ
130032012-10-21 Andreas Jaeger <aj@suse.de>
13004
13005 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13006 definitions and declarations that are provided by
13007 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13008
f2eed205
L
130092012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13010
13011 [BZ #14683]
13012 * elf/Makefile (tests-static): Add tst-leaks1-static.
13013 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13014 ($(objpfx)tst-leaks1-static): New rule.
13015 ($(objpfx)tst-leaks1-static-mem): Likewise.
13016 (tst-leaks1-static-ENV): New macro.
13017 * elf/dl-open.c (dl_open_worker): Check the main application
13018 only if SHARED is defined.
13019 * elf/tst-leaks1-static.c: New file.
13020
335e6931
AJ
130212012-10-20 Andreas Jaeger <aj@suse.de>
13022
13023 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13024 generic values for Linux.
13025 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13026 and declarations that are provided by <bits/fcntl-linux.h> and
13027 include <bits/fcntl-linux.h>.
13028 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13029 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13030
ac5c94d3
RM
130312012-10-20 Roland McGrath <roland@hack.frob.com>
13032
13033 * io/fcntl.h: Move include of <bits/types.h> to the top and
13034 include it unconditionally.
13035
de54b33a
L
130362012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13037
228cfb01
L
13038 * wcsmbs/Makefile (tests-ifunc): New variable.
13039 (tests): Add $(tests-ifunc).
13040 * wcsmbs/test-wcschr-ifunc.c: New file.
13041 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13042 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13043 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13044 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13045 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13046
69f07e5f
L
13047 * string/Makefile (tests-ifunc): New variable.
13048 (tests): Add $(tests-ifunc).
13049 * string/test-memccpy.c (TEST_NAME): New macro.
13050 * string/test-memchr.c (TEST_NAME): Likewise.
13051 * string/test-memcmp.c (TEST_NAME): Likewise.
13052 * string/test-memcpy.c (TEST_NAME): Likewise.
13053 * string/test-memmem.c (TEST_NAME): Likewise.
13054 * string/test-memmove.c (TEST_NAME): Likewise.
13055 * string/test-memset.c (TEST_NAME): Likewise.
13056 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13057 * string/test-stpcpy.c (TEST_NAME): Likewise.
13058 * string/test-stpncpy.c (TEST_NAME): Likewise.
13059 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13060 * string/test-strcasestr.c (TEST_NAME): Likewise.
13061 * string/test-strcat.c (TEST_NAME): Likewise.
13062 * string/test-strchr.c (TEST_NAME): Likewise.
13063 * string/test-strcmp.c(TEST_NAME): Likewise.
13064 * string/test-strcpy.c (TEST_NAME): Likewise.
13065 * string/test-strcspn.c (TEST_NAME): Likewise.
13066 * string/test-strlen.c (TEST_NAME): Likewise.
13067 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13068 * string/test-strncmp.c (TEST_NAME): Likewise.
13069 * string/test-strncpy.c (TEST_NAME): Likewise.
13070 * string/test-strnlen.c (TEST_NAME): Likewise.
13071 * string/test-strpbrk.c (TEST_NAME): Likewise.
13072 * string/test-strrchr.c (TEST_NAME): Likewise.
13073 * string/test-strspn.c (TEST_NAME): Likewise.
13074 * string/test-strstr.c (TEST_NAME): Likewise.
13075 * string/test-bcopy-ifunc.c: New file.
13076 * string/test-bzero-ifunc.c: Likewise.
13077 * string/test-memccpy-ifunc.c: Likewise.
13078 * string/test-memchr-ifunc.c: Likewise.
13079 * string/test-memcmp-ifunc.c: Likewise.
13080 * string/test-memcpy-ifunc.c: Likewise.
13081 * string/test-memmem-ifunc.c: Likewise.
13082 * string/test-memmove-ifunc.c: Likewise.
13083 * string/test-mempcpy-ifunc.c: Likewise.
13084 * string/test-memset-ifunc.c: Likewise.
13085 * string/test-rawmemchr-ifunc.c: Likewise.
13086 * string/test-stpcpy-ifunc.c: Likewise.
13087 * string/test-stpncpy-ifunc.c: Likewise.
13088 * string/test-strcasecmp-ifunc.c: Likewise.
13089 * string/test-strcasestr-ifunc.c: Likewise.
13090 * string/test-strcat-ifunc.c: Likewise.
13091 * string/test-strchr-ifunc.c: Likewise.
13092 * string/test-strchrnul-ifunc.c: Likewise.
13093 * string/test-strcmp-ifunc.c: Likewise.
13094 * string/test-strcpy-ifunc.c: Likewise.
13095 * string/test-strcspn-ifunc.c: Likewise.
13096 * string/test-strlen-ifunc.c: Likewise.
13097 * string/test-strncasecmp-ifunc.c: Likewise.
13098 * string/test-strncat-ifunc.c: Likewise.
13099 * string/test-strncmp-ifunc.c: Likewise.
13100 * string/test-strncpy-ifunc.c: Likewise.
13101 * string/test-strnlen-ifunc.c: Likewise.
13102 * string/test-strpbrk-ifunc.c: Likewise.
13103 * string/test-strrchr-ifunc.c: Likewise.
13104 * string/test-strspn-ifunc.c: Likewise.
13105 * string/test-strstr-ifunc.c: Likewise.
13106
de54b33a
L
13107 * debug/Makefile (tests-ifunc): New variable.
13108 (tests): Add $(tests-ifunc).
13109 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13110 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13111 * debug/test-stpcpy_chk-ifunc.c: New file.
13112 * debug/test-strcpy_chk-ifunc.c: Likewise.
13113
88481c16
SP
131142012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13115
13116 [BZ #13601]
13117 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13118 header is not read in.
13119
135948bd
JM
131202012-10-19 Joseph Myers <joseph@codesourcery.com>
13121
89f1c388
JM
13122 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13123 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13124 directly. Pass built executable to script as
13125 $(built-program-cmd).
13126 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13127 $testprogram without using LD_LIBRARY_PATH and $ldso.
13128
e40a0d21
JM
13129 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13130 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13131 $(rtld-installed-name).
13132 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13133 (rtld_installed_name): Likewise.
13134 (library_path): Likewise.
13135 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13136 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13137 $(run-program-prefix) to tst-tables.sh.
13138 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13139 it to run tst-table-from and tst-table-to.
13140 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13141 Pass it to tst-table.sh.
13142 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13143 $(run-program-prefix) to tst-gettext.sh.
13144 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13145 tst-translit.sh.
13146 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13147 tst-gettext2.sh.
13148 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13149 to run tst-gettext.
13150 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13151 to run tst-gettext2.
13152 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13153 to run tst-translit.
13154 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13155 $(run-program-prefix) to tst-mtrace.sh.
13156 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13157 to run tst-mtrace.
13158 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13159 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13160 $(rtld-installed-name).
13161 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13162 (rtld_installed_name): Likewise.
13163 (run_program_prefix): New variable. Use it to run wordexp-test.
13164
728e272a
JM
13165 * Makeconfig (ARCH): Remove all definitions.
13166 (machine): Likewise.
13167 [ARCH]: Remove conditional code.
13168 [!objdir]: Give error.
13169 [!objdir] (objpfx): Remove.
13170 [!objdir] (common-objpfx): Likewise.
13171 [!objdir] (common-objdir): Likewise.
13172 * configure.in (config_makefile): Remove. Hardcode Makefile in
13173 AC_CONFIG_FILES call.
13174 * configure: Regenerated.
13175
d528cdcf
JM
13176 [BZ #13888]
13177 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13178 or TMPDIR.
13179 (testout): Likewise.
13180
135948bd
JM
13181 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13182 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13183 $(rtld-installed-name).
13184 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13185 (rtld_installed_name): Likwise.
13186 (runit): Remove function.
13187 (run_getconf): New variable, Use it for running getconf binary.
13188
38c78296
L
131892012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13190
13191 [BZ #14716]
13192 * string/test-memmem.c (check_result): New function.
13193 (do_one_test): Use it.
13194 (check1): New function.
13195 (test_main): Use it.
13196
d077f65f
MT
131972012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13198
13199 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13200
ced52c71
JM
132012012-10-18 Joseph Myers <joseph@codesourcery.com>
13202
13203 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13204 (_G_LSEEK64): Likewise.
13205 (_G_MMAP64): Likewise.
13206 (_G_FSTAT64): Likewise.
13207 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13208 (_G_LSEEK64): Likewise.
13209 (_G_MMAP64): Likewise.
13210 (_G_FSTAT64): Likewise.
13211 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13212 unconditional. Call __mmap64 directly.
13213 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13214 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13215 __lseek64 directly.
13216 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13217 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13218 __mmap64 directly.
13219 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13220 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13221 __lseek64 directly.
13222 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13223 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13224 __lseek64 directly.
13225 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13226 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13227 __lseek64 directly.
13228 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13229 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13230 __fxstat64 directly.
13231 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13232 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13233 unconditional.
13234 (freopen64) [!_G_OPEN64]: Remove conditional code.
13235 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13236 unconditional.
13237 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13238 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13239 unconditional.
13240 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13241 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13242 unconditional.
13243 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13244 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13245 unconditional.
13246 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13247 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13248 unconditional.
13249 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13250 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13251 unconditional.
13252 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13253 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13254 unconditional.
13255 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13256
b741de23
SP
132572012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13258
13259 [BZ #12140]
13260 * manual/memory.texi (Malloc Tunable Parameters): Add note
13261 about free list pointers overwriting some perturb bytes.
13262 Wording suggested by Roland McGrath.
13263
f9b9d9c9
JM
132642012-10-17 Joseph Myers <joseph@codesourcery.com>
13265
13266 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13267 (lgamma_test): Likewise.
13268 (tgamma_test): Likewise.
13269
172a631a
FW
132702012-10-16 Florian Weimer <fweimer@redhat.com>
13271
13272 [BZ #14700]
13273 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13274 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13275
e9f37252
MK
132762012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13277
13278 * NEWS: Mention BZ #14716.
13279 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13280 when removing AVAILABLE1_USES_J macro.
13281
d394eb74
L
132822012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13283
13284 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13285 (__bswap_64): __uint64_t for unsigned 64-bit int.
13286
ca38dc17
AS
132872012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13288
13289 * include/string.h (memmem): Declare libc hidden alias.
13290 * string/memmem.c (memmem): Define libc hidden alias.
13291 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13292 __read, __close instead of open, read, close.
13293
9a387d1f
L
132942012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13295
ac49ecaf
L
13296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13297 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13298 global and hidden.
13299 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13300 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13301 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13302 Likewise.
13303 (__rawmemchr_sse2): Likewise.
13304 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13305 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13306 (__strchr_sse2): Likewise.
13307 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13308 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13309 (__strcasecmp_sse2): Likewise.
13310 (__strncasecmp_sse2): Likewise.
13311 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13312 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13313 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13314 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13315 (__strrchr_sse2): Likewise.
13316 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13317 ifunc-impl-list.c.
13318 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13319 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13320 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13321 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13322 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13323 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13324 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13325 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13326 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13327 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13328 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13329 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13330 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13331 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13332 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13333 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13334 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13335 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13336 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13337 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13338 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13339 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13340 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13341 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13342 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13343 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13344 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13345 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13346 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13347 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13348
b090e8ea
L
13349 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13350 global and hidden.
13351 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13352 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13353 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13354 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13355 Likewise.
13356 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13357 Likewise.
13358 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13359 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13360 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13361 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13362 ifunc-impl-list.c.
13363 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13364 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13365 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13366 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13367 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13368 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13369 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13370 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13371 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13372 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13373 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13374 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13375 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13376 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13377 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13378 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13379 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13380 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13381 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13382 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13383 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13384 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13385 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13386 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13387 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13388 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13389 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13390 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13391 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13392 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13393 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13394 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13395 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13396 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13397 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13398 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13399 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13400 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13401 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13402 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13403 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13404
11dd4af6
L
13405 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13406 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13407 * include/ifunc-impl-list.h: New file.
13408 * misc/ifunc-impl-list.c: Likewise.
13409 * misc/Makefile (routines): Add ifunc-impl-list.
13410 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13411 * string/test-string.h: Include <ifunc-impl-list.h>.
13412 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13413 impl_array): New variables.
13414 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13415 are defined.
13416 (test_init): Call __libc_ifunc_impl_list to initialize
13417 func_list if TEST_IFUNC and TEST_NAME are defined.
13418
9a387d1f
L
13419 * string/Makefile (strop-tests): Add bcopy and bzero.
13420 * string/test-bcopy.c: New file.
13421 * string/test-bzero.c: Likewise.
13422 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13423 defined.
13424 * string/test-memset.c: Support bzero test if TEST_BZERO is
13425 defined.
13426 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13427 __libc_memmove.
13428 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13429 __libc_memset.
13430 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13431 of memset.
13432
472371b9
JM
134332012-10-10 Joseph Myers <joseph@codesourcery.com>
13434
1e4a9536
JM
13435 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13436 * configure: Regenerated.
13437
d173d12e
JM
13438 * Makeconfig (+link-static-before-libc): Don't include
13439 $(link-static-libc).
13440
472371b9
JM
13441 * libio/libio.h (_IO_pos_t): Remove.
13442
89a3ad0b
AO
134432012-10-10 Alexandre Oliva <aoliva@redhat.com>
13444
13445 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13446 McGrath.
13447
e7451425
AO
134482012-10-10 Alexandre Oliva <aoliva@redhat.com>
13449
13450 * crypt/crypt-entry.c: Include fips-private.h.
13451 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13452 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13453 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13454 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13455
4ba74a35
AO
134562012-10-10 Alexandre Oliva <aoliva@redhat.com>
13457
13458 * crypt/crypt-private.h: Include stdbool.h.
13459 (_ufc_setup_salt_r): Return bool.
13460 * crypt/crypt-entry.c: Include errno.h.
13461 (__crypt_r): Return NULL with EINVAL for bad salt.
13462 * crypt/crypt_util.c (bad_for_salt): New.
13463 (_ufc_setup_salt_r): Check that salt is long enough and within
13464 the specified alphabet.
13465 * crypt/badsalttest.c: New file.
13466 * crypt/Makefile (tests): Add it.
13467 ($(objpfx)badsalttest): New.
13468
f96f1242
MK
134692012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13470
13471 * NEWS: Add entry for BZ #14602.
13472
0e8e0c1c
JM
134732012-10-09 Joseph Myers <joseph@codesourcery.com>
13474
13475 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13476 type-generic.
13477 * math/libm-test.inc: Update comment listing what functions and
13478 macros are tested.
13479 (isgreater_test): New function.
13480 (isgreaterequal_test): Likewise.
13481 (isless_test): Likewise.
13482 (islessequal_test): Likewise.
13483 (islessgreater_test): Likewise.
13484 (isunordered_test): Likewise.
13485 (main): Call the new functions.
13486
273edc5e
RM
134872012-10-09 Roland McGrath <roland@hack.frob.com>
13488
b8493de0
RM
13489 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13490 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13491 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13492 * sysdeps/i386/configure: Regenerated.
13493 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13494 * sysdeps/mach/configure: Regenerated.
13495 * sysdeps/mach/hurd/configure: Regenerated.
13496 * sysdeps/powerpc/configure: Regenerated.
13497 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13498 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13499 * sysdeps/s390/s390-32/configure: Regenerated.
13500 * sysdeps/s390/s390-64/configure: Regenerated.
13501 * sysdeps/sh/configure: Regenerated.
13502 * sysdeps/sparc/configure: Regenerated.
13503 * sysdeps/unix/sysv/linux/configure: Regenerated.
13504 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13505 * sysdeps/x86_64/configure: Regenerated.
13506
273edc5e
RM
13507 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13508 defined. Don't check if MAP is NULL.
13509
c8450f70
JM
135102012-10-09 Joseph Myers <joseph@codesourcery.com>
13511
13512 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13513 (_G_stat64): Likewise.
13514 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13515 (_G_stat64): Likewise.
13516 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13517 instead of struct _G_stat64.
13518 * libio/fileops.c (mmap_remap_check): Likewise.
13519 (decide_maybe_mmap): Likewise.
13520 (_IO_new_file_seekoff): Likewise.
13521 (_IO_file_stat): Likewise.
13522 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13523 _G_off64_t.
13524 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13525 instead of struct _G_stat64.
13526 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13527
57e605ba
MK
135282012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13529
13530 [BZ #14602]
13531 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13532 Replace with ...
13533 (CHECK_EOL): New macro.
13534 (two_way_short_needle): Check beginning of haystack for EOL. Use
13535 CHECK_EOL.
13536 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13537 Replace with CHECK_EOL.
13538 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13539 Replace with CHECK_EOL.
13540
ef1bb361
JM
135412012-10-08 Joseph Myers <joseph@codesourcery.com>
13542
13543 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13544 type-generic.
13545 * math/libm-test.inc: Update comment listing what functions and
13546 macros are tested.
13547 (finite_test): New function.
13548 (isinf_test): Likewise.
13549 (isnan_test): Likewise.
13550 (fpclassify_test): Test subnormal input.
13551 (isfinite_test): Likewise.
13552 (isnormal_test): Likewise.
13553 (main): Call the new functions.
13554
55f11534
JN
135552012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13556
13557 [BZ #14660]
13558 * Makerules (%.dynsym): Force C locale when running
13559 $(OBJDUMP) --dynamic-syms.
13560
1ab29350
AS
135612012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13562
13563 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13564 <stdint.h>.
13565
f1ecb7ef
DM
135662012-10-06 David S. Miller <davem@davemloft.net>
13567
13568 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13569 upper 32-bits of the length value in %o2 since we use branch-on-register
13570 tests which consider the entire 64-bit register.
13571
5d41d91a
L
135722012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13573
13574 * string/test-strstr.c (check2): Add a test for page boundary.
13575
3baddb72
DM
135762012-10-05 David S. Miller <davem@davemloft.net>
13577
13578 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13579 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13580 file.
13581 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13582 sysdep_routines.
13583 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13584 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13585 and bzero when HWCAP_SPARC_CRYPTO is present.
13586
9cee5585
L
135872012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13588
d7e0dab9
L
13589 [BZ #14602]
13590 * string/test-strstr.c (check2): New function.
13591 (test_main): Call check2.
13592
03759f47
L
13593 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13594 and bug-strchr1.
13595 * string/bug-strcasestr1.c (do_test): Moved to ...
13596 * string/test-strcasestr.c (check1): Here. New function.
13597 (do_one_test): Break out result checking code into ...
13598 (check_result): This. New function.
13599 (do_one_test): Call check_result.
13600 (test_main): Call check1.
13601 * string/bug-strchr1.c (do_test): Moved to ...
13602 * string/test-strchr.c (check1): Here. New function.
13603 (do_one_test): Break out result checking code into ...
13604 (check_result): This. New function.
13605 (do_one_test): Call check_result.
13606 (test_main): Call check1.
13607 * string/bug-strstr1.c (main): Moved to ...
046f153e 13608 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13609 (do_one_test): Break out result checking code into ...
13610 (check_result): This. New function.
13611 (do_one_test): Call check_result.
13612 (test_main): Call check1.
13613 * string/bug-strcasestr1.c: Removed.
13614 * string/bug-strchr1.c: Likewise.
13615 * string/bug-strstr1.c: Likewise.
13616
53cea63e
L
13617 * elf/Makefile (dl-routines): Add hwcaps.
13618 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13619 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13620 (_dl_important_hwcaps): Moved to ...
13621 * elf/dl-hwcaps.c: Here. New file.
13622 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13623
9cee5585 13624 [BZ #14557]
bb859b06
L
13625 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13626 if IS_IN_rtld isn't defined.
13627
9cee5585
L
13628 * elf/dl-support.c (_dl_sysinfo_map): New.
13629 Include "get-dynamic-info.h" and "setup-vdso.h".
13630 (_dl_non_dynamic_init): Call setup_vdso.
13631 * elf/dynamic-link.h: Don't include <assert.h>.
13632 (elf_get_dynamic_info): Moved to ...
13633 * elf/get-dynamic-info.h: Here. New file.
13634 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13635 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13636 * elf/setup-vdso.h: Here. New file.
13637 * elf/rtld.c: Include "setup-vdso.h".
13638 (dl_main): Call setup_vdso.
13639
23c31b76
JM
136402012-10-05 Joseph Myers <joseph@codesourcery.com>
13641
28234b07
JM
13642 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13643 creal in comment listing functions tested. List finite, isinf,
13644 isnan, isless, islessequal, isgreater, isgreaterequal,
13645 islessgreater, isunordered, lgamma_r and pow10 as functions and
13646 macros not tested. Mention which functions not tested are aliases
13647 for other functions. Fix typo. Note that signs of NaNs are not
13648 tested.
13649
23c31b76
JM
13650 * scripts/config.guess: Update from config.git.
13651 * scripts/config.sub: Likewise.
13652
9043e228
RM
136532012-10-04 Roland McGrath <roland@hack.frob.com>
13654
13655 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13656 * misc/madvise.c (madvise): Renamed to __madvise.
13657 Make madvise a weak alias.
13658 * include/sys/mman.h: Declare __madvise.
13659 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13660 * sysdeps/unix/syscalls.list
13661 (madvise): Make __madvise the strong name, and madvise a weak alias.
13662 * sysdeps/unix/sysv/linux/syscalls.list
13663 (madvise, mmap): Remove redundant entries.
13664 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13665 * malloc/malloc.c (mtrim): Likewise.
13666 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13667
f57f8055
RM
136682012-10-03 Roland McGrath <roland@hack.frob.com>
13669
13670 * sysdeps/mach/hurd/dl-cache.c: File removed.
13671 * config.h.in (USE_LDCONFIG): New #undef.
13672 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13673 * configure: Regenerated.
13674 * elf/Makefile (dl-routines): Add dl-cache only under
13675 [$(use-ldconfig) = yes].
13676 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13677 cache on [USE_LDCONFIG].
13678 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13679 [USE_LDCONFIG].
13680 * elf/rtld.c (dl_main): Likewise.
13681
5bb0c10a
PT
136822012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13683
13684 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13685 _SC_LEVEL4_CACHE_LINESIZE.
13686
010188c6
RM
136872012-10-03 Roland McGrath <roland@hack.frob.com>
13688
13689 * sysdeps/unix/bsd/confstr.h: File removed.
13690
b6c5ec07
AO
136912012-10-02 Alexandre Oliva <aoliva@redhat.com>
13692
13693 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13694 sys/sdt-config.h.
13695
408223d4
RM
136962012-10-02 Roland McGrath <roland@hack.frob.com>
13697
13698 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13699 Make 'mapoff' field ElfW(Off) rather than off_t.
13700
bb9510dc
DL
137012012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13702
fc997c6e
DL
13703 * nscd/Makefile: Remove nscd-cflags and all its users.
13704 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13705 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13706
bb9510dc
DL
13707 [BZ #10631]
13708 * malloc.c (malloc_printerr): Clarify error message.
13709
05699367
L
137102012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13711
13712 [BZ #14648]
13713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13714 Set bit_FMA_Usable if FMA is supported.
13715 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13716 macro.
13717 (bit_FMA4_Usable): Updated.
13718 (index_FMA_Usable): New macro.
13719 (CPUID_FMA): Likewise
13720 (HAS_FMA): Defined with bit_FMA_Usable.
13721
51367701
RM
137222012-10-01 Roland McGrath <roland@hack.frob.com>
13723
13724 * bits/types.h (__swblk_t): Type removed.
13725 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13726 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13727 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13728 (__SWBLK_T_TYPE): Likewise.
13729 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13730 (__SWBLK_T_TYPE): Likewise.
13731 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13732 (__SWBLK_T_TYPE): Likewise.
13733 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13734 (__SWBLK_T_TYPE): Likewise.
13735
4d57bf63 137362012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13737 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13738
13739 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13740 (xdr_mapname): Use YPMAXMAP as maxsize.
13741 (xdr_peername): Use YPMAXPEER as maxsize.
13742 (xdr_keydat): Use YPAXRECORD as maxsize.
13743 (xdr_valdat): Use YPMAXRECORD as maxsize.
13744
93c65d43
RM
137452012-10-01 Roland McGrath <roland@hack.frob.com>
13746
497a03d6
RM
13747 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13748
93c65d43
RM
13749 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13750 * csu/init-first.c: ... here.
13751 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13752 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13753 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13754 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13755 * sysdeps/i386/init-first.c: File removed.
13756 * sysdeps/sh/init-first.c: File removed.
13757
bec749fd
JM
137582012-10-01 Joseph Myers <joseph@codesourcery.com>
13759
13760 [BZ #14645]
13761 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13762 if x * y might underflow to zero and z is zero.
13763 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13764 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13765 * math/libm-test.inc (min_subnorm_value): New variable.
13766 (fma_test): Add more tests.
13767 (fma_test_towardzero): Likewise.
13768 (fma_test_downward): Likewise
13769 (fma_test_upward): Likewise.
13770 (initialize): Set min_subnorm_value.
13771
8ec5b013
JM
137722012-09-29 Joseph Myers <joseph@codesourcery.com>
13773
13774 [BZ #14638]
13775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13776 0 + 0.
13777 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13778 mode for addition resulting in exact zero.
13779 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13780 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13781 exact 0 + 0.
13782 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13783 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13784 * math/libm-test.inc (fma_test): Add more tests.
13785 (fma_test_towardzero): New function.
13786 (fma_test_downward): Likewise.
13787 (fma_test_upward): Likewise.
13788 (main): Call the new functions.
13789
b1fa802e
DM
137902012-09-28 David S. Miller <davem@davemloft.net>
13791
13792 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13793
d3b9fd9e
RM
137942012-09-28 Roland McGrath <roland@hack.frob.com>
13795
ea4d37b3
RM
13796 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13797 instead of SIGALRM.
13798
ac51c949
RM
13799 * sysdeps/gnu/_G_config.h: Moved to ...
13800 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13801 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13802 * sysdeps/generic/_G_config.h: ... here.
13803
28c195f7
RM
13804 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13805
848917f9
RM
13806 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13807
6bacf05b
RM
13808 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13809 Conditionalize target on [libnss_test1.so-version].
13810
91363dbb
RM
13811 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13812
cc87f7d8
RM
13813 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13814 (elfobjdir): Move out of conditionals.
13815
b1c608fe
RM
13816 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13817 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13818 (__nss_lookup_function): Conditionalize label remove_from_tree on
13819 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13820
1d9a6d96
DM
138212012-09-28 David S. Miller <davem@davemloft.net>
13822
13823 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13824 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13825 file.
13826 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13827 sysdep_routines.
13828 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13829 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13830 when HWCAP_SPARC_CRYPTO is present.
13831
72581615
PT
138322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13833
13834 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13835
715a900c
JL
138362012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13837
13838 [BZ #6530]
13839 * stdio-common/vfprintf.c (process_string_arg): Revert
13840 2000-07-22 change.
13841
138422011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13843
13844 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13845 for testcase.
13846 * stdio-common/tst-sprintf.c: Include <locale.h>
13847 (main): Test sprintf's handling of incomplete multibyte
13848 characters.
13849
9bac1d86
L
138502012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13851
13852 * elf/dl-runtime.c (VERSYMIDX): Removed.
13853 * elf/dl-version.c (VERSYMIDX): Likewise.
13854 * elf/do-rel.h (VERSYMIDX): Likewise.
13855 (VALIDX): Likewise.
13856 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13857 * elf/rtld.c (VALIDX): Likewise.
13858 (ADDRIDX): Likewise.
9bac1d86
L
13859 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13860 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13861 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13862 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13863 (VALIDX): Likewise.
13864 (ADDRIDX): Likewise.
9bac1d86 13865
b31606c0
PT
138662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13867
13868 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13869
11541177
JL
138702012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13871
13872 [BZ #11438]
13873 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13874 to global scope.
13875 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13876 addresses are in the same scope as 192.0.2/24.
13877 * posix/gai.conf: Document new scope table defaults.
13878
adb26fae
SP
138792012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13880
13881 [BZ #5298]
13882 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13883 for ftell. Compute offsets from write pointers instead.
13884 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13885
4573c6b0
SP
138862012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13887
13888 [BZ #14543]
13889 * libio/Makefile (tests): New test case tst-fseek.
13890 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13891 combination works in wide mode.
13892 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13893 state when the external buffer state changes.
13894
aa9bbfe6
DM
138952012-09-27 David S. Miller <davem@davemloft.net>
13896
13897 [BZ #14376]
13898 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13899 pass reloc->r_addend in as the 'high' argument to
13900 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13901
784421e7
DM
13902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13903
c39bc8b8
PT
139042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13905
13906 * rt/tst-aio2.c: Include <pthread.h>.
13907 * rt/tst-aio3.c: Likewise.
13908
1ccc2399
SE
139092012-09-27 Steve Ellcey <sellcey@mips.com>
13910
13911 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13912
31ed4153
L
139132012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13914
25f5f885
L
13915 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13916 contents on [SHARED].
31ed4153 13917
b7bfe116
MP
139182012-09-26 Marek Polacek <polacek@redhat.com>
13919
13920 [BZ #14530]
13921 [BZ #13741]
13922 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13923 for C++ and GCC <4.3 as well as for non GCC compilers.
13924
43c4edba
MT
139252012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13926
13927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13928
6a1bf82f
RM
139292012-09-25 Roland McGrath <roland@hack.frob.com>
13930
13931 * Makefile.in (all, install): Declare with .PHONY.
13932 Reported by Michael Hope <michael.hope@linaro.org>.
13933
8ad11b9a
TMQMF
139342012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13935
13936 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13937 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13938 system header.
13939 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13940 Likewise.
13941 (sydep_routines): Add the new and the internal functions.
13942 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13943 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13945 (GLIBC_2.17): Add the new function.
13946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13947 (GLIBC_2.17): Likewise.
13948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13949 (GLIBC_2.17): Likewise.
13950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13951 (GLIBC_2.17): Likewise.
13952 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13953
7e2fca8d
AM
139542012-09-25 Alan Modra <amodra@gmail.com>
13955
13956 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13957 Add release barrier before setting once_control to say
13958 initialisation is done. Add hints on lwarx. Use macro in
13959 place of isync.
13960 (clear_once_control): Add release barrier.
13961
b87c4b24
JM
139622012-09-25 Joseph Myers <joseph@codesourcery.com>
13963
d032e0d2
JM
13964 [BZ #13629]
13965 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13966 specially.
13967 * math/s_clog10.c (__clog10): Likewise.
13968 * math/s_clog10f.c (__clog10f): Likewise.
13969 * math/s_clog10l.c (__clog10l): Likewise.
13970 * math/s_clogf.c (__clogf): Likewise.
13971 * math/s_clogl.c (__clogl): Likewise.
13972 * math/Makefile (libm-calls): Add x2y2m1.
13973 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13974 (__x2y2m1): Likewise.
13975 (__x2y2m1l): Likewise.
13976 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13977 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13978 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13979 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13980 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13981 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13982 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13983 * sysdeps/i386/fpu/libm-test-ulps: Update.
13984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13985
b87c4b24
JM
13986 [BZ #14621]
13987 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13988 int as type of variable DEPTH.
13989 (glob): Use size_t instead of int as type of variables NEWCOUNT
13990 and OLD_PATHC.
13991
6d3bf199
LD
139922012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13993
22bf5c17
LD
13994 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13995 Add s_sincosf-sse2.
13996 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13997 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13998 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13999 macros for using routine as __sincosf_ia32.
14000 Use macro for function declaration and weak_alias.
14001 * sysdeps/i386/fpu/libm-test-ulps: Update.
14002
14003 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14005
14006 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
14007 subnormal argument.
14008 * math/s_cexpf.c (__cexpf): Likewise.
14009 * math/s_csinf.c (__csinf): Likewise.
14010 * math/s_csinhf.c (__csinhf): Likewise.
14011 * math/s_ctanf.c (__ctanf): Likewise.
14012 * math/s_ctanhf.c (__ctanhf): Likewise.
14013 * math/s_ccosh.c (__ccoshf): Likewise.
14014 * math/s_cexp.c (__cexpl): Likewise.
14015 * math/s_csin.c (__csin): Likewise.
14016 * math/s_csinh.c (__csinh): Likewise.
14017 * math/s_ctan.c (__ctan): Likewise.
14018 * math/s_ctanh.c (ctanh): Likewise.
14019 * math/s_ccoshl.c (__ccoshl): Likewise.
14020 * math/s_cexpl.c (__cexpl): Likewise.
14021 * math/s_csinl.c (__csinl): Likewise.
14022 * math/s_csinhl.c (__csinhl): Likewise.
14023 * math/s_ctanl.c (__ctanl): Likewise.
14024 * math/s_ctanhl.c (__ctanhl): Likewise.
14025
203e5603
JM
140262012-09-25 Joseph Myers <joseph@codesourcery.com>
14027
14028 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14029 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14030 (_IO_off_t): Define to __off_t, not _G_off_t.
14031 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14032 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14033 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14034 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14035 type of __dummy and __dummy2 fields.
14036 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14037 (_G_ssize_t): Likewise.
14038 (_G_off_t): Likewise.
14039 (_G_pid_t): Likewise.
14040 (_G_uid_t): Likewise.
14041 (_G_wchar_t): Likewise.
14042 (_G_wint_t): Likewise.
14043 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14044 (_G_ssize_t): Likewise.
14045 (_G_off_t): Likewise.
14046 (_G_pid_t): Likewise.
14047 (_G_uid_t): Likewise.
14048 (_G_wchar_t): Likewise.
14049 (_G_wint_t): Likewise.
14050 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14051 (_G_ssize_t): Likewise.
14052 (_G_off_t): Likewise.
14053 (_G_pid_t): Likewise.
14054 (_G_uid_t): Likewise.
14055 (_G_wchar_t): Likewise.
14056 (_G_wint_t): Likewise.
14057
9fab36eb
SP
140582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14059
14060 * malloc/arena.c: Include malloc-sysdep.h.
14061 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14062 is sufficient to shrink the heap or an unmap is needed.
14063 * sysdeps/generic/malloc-sysdep.h: New file. Define
14064 new function check_may_shrink_heap.
14065 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14066 new function check_may_shrink_heap.
14067
2b4f00d1
SP
140682012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14069
14070 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14071 comments.
14072
9a9028b1
DL
140732012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14074
57c69bef
DL
14075 * catgets/test-gencat.sh: Add "set -e".
14076 * elf/tst-pathopt.sh: Likewise.
14077 * grp/tst_fgetgrent.sh: Likewise.
14078 * iconvdata/run-iconv-test.sh: Likewise.
14079 * intl/tst-gettext.sh: Likewise.
14080 * intl/tst-gettext2.sh: Likewise.
14081 * intl/tst-gettext4.sh: Likewise.
14082 * intl/tst-gettext6.sh: Likewise.
14083 * intl/tst-translit.sh: Likewise.
14084 * io/ftwtest-sh: Likewise.
14085 * libio/test-freopen.sh: Likewise.
14086 * malloc/tst-mtrace.sh: Likewise.
14087 * posix/globtest.sh: Likewise.
14088 * posix/tst-getconf.sh: Likewise.
14089 * posix/wordexp-tst.sh: Likewise.
14090 * stdio-common/tst-printf.sh: Likewise.
14091 * stdio-common/tst-unbputc.sh: Likewise.
14092 * stdlib/tst-fmtmsg.sh: Likewise.
14093 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14094 * catgets/Makefile: Do not specify -e option when running
14095 testsuite shell scripts.
14096 * elf/Makefile: Likewise.
14097 * grp/Makefile: Likewise.
14098 * iconvdata/Makefile: Likewise.
14099 * intl/Makefile: Likewise.
14100 * io/Makefile: Likewise.
14101 * libio/Makefile: Likewise.
14102 * malloc/Makefile: Likewise.
14103 * posix/Makefile: Likewise.
14104 * stdio-common/Makefile: Likewise.
14105 * stdlib/Makefile: Likewise.
14106 * sysdeps/x86_64/Makefile: Likewise.
14107
9a9028b1
DL
14108 * io/ftwtest-sh: Add copyright header.
14109 * posix/globtest.sh: Likewise.
14110 * posix/tst-getconf.sh: Likewise.
14111 * posix/wordexp-tst.sh: Likewise.
14112 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14113
ced6f16e
L
141142012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14115
94b32c39
L
14116 [BZ #13679]
14117 * Makeconfig (+link): Defined as $(+link-static) if
14118 $(build-shared) isn't yes.
14119 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14120 isn't yes.
14121 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14122
189e935b
L
14123 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14124
ced6f16e
L
14125 [BZ #14562]
14126 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14127 new chunk size with MALLOC_ALIGN_MASK.
14128
a9f8e53a
JM
141292012-09-24 Joseph Myers <joseph@codesourcery.com>
14130
14131 [BZ #5044]
14132 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14133 <rounding-mode.h>.
14134 (__printf_fphex): Determine rounding using get_rounding_mode and
14135 round_away.
14136 * stdio-common/tst-printf-round.c (struct hex_test): New
14137 structure.
14138 (hex_tests): New variable.
14139 (test_hex_in_one_mode): New function.
14140 (do_test): Also run tests for hex float output.
14141
43153109
JM
141422012-09-21 Joseph Myers <joseph@codesourcery.com>
14143
14144 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14145 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14146 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14147 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14148 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14149 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14150 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14151 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14152
8a26625d
JM
141532012-09-20 Joseph Myers <joseph@codesourcery.com>
14154
14155 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14156 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14157 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14158 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14159
f3fd569c
DL
141602012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14161
14162 [BZ #14579]
14163 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14164 mode only.
14165 * elf/tst-rtld-load-self.sh: New test.
14166 * elf/Makefile: Run it.
14167
63bbedd4
JM
141682012-09-18 Joseph Myers <joseph@codesourcery.com>
14169
14170 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14171 (tst-writev-ENV): Remove.
14172 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14173
626f8b6a
CM
141742012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14175
14176 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14177
b7aaa4d6
JM
141782012-09-17 Joseph Myers <joseph@codesourcery.com>
14179
14180 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14181 unconditional.
14182 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14183 Likewise.
14184 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14185 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14186 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14187 Likewise.
14188
65513990
L
141892012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14190
14191 [BZ #14587]
14192 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14193 * config.make.in (have-cpp-asm-debuginfo): Removed.
14194 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14195 * configure: Regenerated.
14196
784761be
JM
141972012-09-14 Joseph Myers <joseph@codesourcery.com>
14198
14199 [BZ #5044]
14200 * stdio-common/printf_fp.c: Include <stdbool.h> and
14201 <rounding-mode.h>.
14202 (___printf_fp): Determine rounding using get_rounding_mode and
14203 round_away.
14204 * stdio-common/tst-printf-round.c: New file.
14205 * stdio-common/Makefile (tests): Add tst-printf-round.
14206 (link-libm): New variable.
14207 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14208
9503345f
L
142092012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14210
14211 [BZ #14576]
14212 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14213 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14214 Likewise.
14215 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14216 Likewise.
14217
ad35fc00
JM
142182012-09-13 Joseph Myers <joseph@codesourcery.com>
14219
14220 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14221 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14222 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14223 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14224
6c9b0f68
JM
142252012-09-12 Joseph Myers <joseph@codesourcery.com>
14226
14227 [BZ #14518]
14228 * include/rounding-mode.h: New file.
14229 * sysdeps/generic/get-rounding-mode.h: Likewise.
14230 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14231 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14232 (MAX_VALUE): New macro.
14233 (MIN_VALUE): Likewise.
14234 (overflow_value): New function.
14235 (underflow_value): Likewise.
14236 (round_and_return): Use overflow_value and underflow_value to
14237 determine return values in overflow and underflow cases. Use
14238 round_away to determine rounding depending on rounding mode.
14239 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14240 determine return values in overflow and underflow cases.
14241 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14242 (struct test_results): New structure.
14243 (struct test): Use struct test_results to store expected results
14244 for all rounding modes.
14245 (TEST): Include expected results for all rounding modes.
14246 (test_in_one_mode): New function.
14247 (do_test): Use test_in_one_mode to compute and check results.
14248 Check results for all rounding modes.
14249 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14250 $(link-libm).
14251
19fcedd5
AM
142522012-12-09 Allan McRae <allan@archlinux.org>
14253
1e9d84cd 14254 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14255
8bbfd2f1
JM
142562012-09-11 Joseph Myers <joseph@codesourcery.com>
14257
14258 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14259 (_G_int32_t): Likewise.
14260 (_G_uint16_t): Likewise.
14261 (_G_uint32_t): Likewise.
14262 (_G_HAVE_BOOL): Likewise.
14263 (_G_HAVE_ATEXIT): Likewise.
14264 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14265 (_G_HAVE_IO_FILE_OPEN): Likewise.
14266 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14267 (_G_int32_t): Likewise.
14268 (_G_uint16_t): Likewise.
14269 (_G_uint32_t): Likewise.
14270 (_G_HAVE_BOOL): Likewise.
14271 (_G_HAVE_ATEXIT): Likewise.
14272 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14273 (_G_HAVE_IO_FILE_OPEN): Likewise.
14274 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14275 (_G_int32_t): Likewise.
14276 (_G_uint16_t): Likewise.
14277 (_G_uint32_t): Likewise.
14278 (_G_HAVE_BOOL): Likewise.
14279 (_G_HAVE_ATEXIT): Likewise.
14280 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14281 (_G_HAVE_IO_FILE_OPEN): Likewise.
14282
b1dc5912
L
142832012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14284
14285 * csu/libc-tls.c: Update copyright years.
14286
0e886ef9
JM
142872012-09-10 Joseph Myers <joseph@codesourcery.com>
14288
28361c5e
JM
14289 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14290 [!_G_USING_THUNKS]: Remove conditional code.
14291 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14292 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14293
0e886ef9
JM
14294 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14295 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14296 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14297 (_G_VTABLE_LABEL_PREFIX): Likewise.
14298 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14299 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14300 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14301 (_G_VTABLE_LABEL_PREFIX): Likewise.
14302 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14303 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14304 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14305 (_G_VTABLE_LABEL_PREFIX): Likewise.
14306 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14307
bcba7aa2
L
143082012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14309
14310 * libio/Makefile: Include ../Makeconfig before tests.
14311 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14312 only if $(build-shared) is yes.
14313
06585ee8
L
14314 * iconv/gconv_db.c: Update copyright years.
14315
80ccd52c
LD
143162012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14317
14318 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14319 unwind info if defined PIC. Fix special cases description.
14320 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14321
14322 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14323 DP_HI_MASK entry.
14324 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14325
691bc9c1
L
143262012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14327
3d9b46b3
L
14328 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14329
de2139a9
L
14330 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14331 is NULL.
14332
5ca78dd0
L
14333 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14334 (LDLIBS-tst-chk4): This.
14335 (LDFLAGS-tst-chk5): Renamed to ...
14336 (LDLIBS-tst-chk5): This.
14337 (LDFLAGS-tst-chk6): Renamed to ...
14338 (LDLIBS-tst-chk6): This.
14339 (LDFLAGS-tst-lfschk4): Renamed to ...
14340 (LDLIBS-tst-lfschk4): This.
14341 (LDFLAGS-tst-lfschk5): Renamed to ...
14342 (LDLIBS-tst-lfschk5): This.
14343 (LDFLAGS-tst-lfschk6): Renamed to ...
14344 (LDLIBS-tst-lfschk6): This.
14345
691bc9c1
L
14346 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14347 on $(common-objpfx)soversions.mk.
14348
65cafb1c
JM
143492012-09-07 Joseph Myers <joseph@codesourcery.com>
14350
14351 [BZ #10014]
14352 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14353 example host name.
14354
c78ab094
SP
143552012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14356
14357 * malloc/arena.c (arena_get_retry): New function that gets
14358 another arena for the caller to try its request on.
14359 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14360 current arena cannot fulfill the request.
14361 (__libc_memalign): Likewise.
14362 (__libc_memalign): Likewise.
14363 (__libc_pvalloc): Likewise.
14364 (__libc_calloc): Likewise.
14365
01f49f59
JT
143662012-09-05 John Tobey <john.tobey@gmail.com>
14367
14368 [BZ #13542]
14369 * manual/arith.texi (Operations on Complex): Fix description
14370 of carg branch cut.
14371
4c23fed5
JM
143722012-09-06 Joseph Myers <joseph@codesourcery.com>
14373
1d3c8572
JM
14374 [BZ #10014]
14375 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14376 host name.
14377
4c23fed5
JM
14378 [BZ #10038]
14379 * manual/memory.texi (Memory): Make order of menu items match
14380 order of sections.
14381
04570aaa
L
143822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14383
14384 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14385 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14386 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14387
b80af2f4
L
143882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14389
14390 * csu/libc-tls.c (static_dtv): Renamed to ...
14391 (_dl_static_dtv): This. Make it global.
14392 (_dl_initial_dtv): Removed.
14393 (__libc_setup_tls): Updated.
14394 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14395 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14396 DL_INITIAL_DTV.
14397
2abe9f15
PM
143982012-09-06 Petr Machata <pmachata@redhat.com>
14399
14400 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14401 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14402 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14403 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14404
0948c3af
L
144052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14406
14407 [BZ #14545]
14408 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14409 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14410 freeing dtv[-1].
14411
a5055ad1
L
144122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14413
14414 [BZ #14544]
14415 * Makeconfig (link-static-before-libc): Replace $(+prector)
14416 with $(+prectorT).
14417 (link-static-after-libc): Replace $(+postctor) with
14418 $(+postctorT).
14419 (link-bounded): Replace $(+prector)/$(+postctor) with
14420 $(+prectorT)/$(+postctorT).
14421 (+prectorT): New macro.
14422 (+postctorT): Likewise.
14423
ed8c2ecd
JM
144242012-09-06 Joseph Myers <joseph@codesourcery.com>
14425
14426 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14427 (round_str): Handle values above the maximum for IBM long double
14428 as inexact.
14429 * stdlib/tst-strtod-round.c (tests): Regenerated.
14430
14c996c8
AK
144312012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14432
14433 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14434 assembler flag.
14435 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14436 zarch_nohighgprs around the zarch optimized routines.
14437 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14438 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14439 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14440 for zarch.
14441
430d6ce6
DM
144422012-09-05 David S. Miller <davem@davemloft.net>
14443
14444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14445
ff04dda4
DM
14446 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14447 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14448 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14449 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14450 entries.
14451
24d4e01b
AO
144522012-09-05 Alexandre Oliva <aoliva@redhat.com>
14453
14454 * malloc/arena.c: Fold copyright years.
14455 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14456
61d58174
AO
144572012-09-05 Alexandre Oliva <aoliva@redhat.com>
14458
14459 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14460
20196a5e
AO
144612012-09-05 Alexandre Oliva <aoliva@redhat.com>
14462
14463 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14464
5c447383
AO
144652012-09-05 Alexandre Oliva <aoliva@redhat.com>
14466
14467 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14468 change internal state upon failure.
14469
fad64255
AO
144702012-09-05 Alexandre Oliva <aoliva@redhat.com>
14471
14472 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14473 * malloc/memusage.c (mmap): Likewise.
14474 (mmap64, mremap): Likewise. Adjust name in comment.
14475
1ffb8c90
SP
144762012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14477
14478 * libio/fileops.c: Fix typos in comments.
14479 * libio/oldfileops.c: Likewise.
14480 * libio/wfileops.c: Likewise.
14481
6ef9cc37
SP
144822012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14483
14484 [BZ #1349]
14485 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14486 (tst-malloc-usable-ENV): Set environment for test case.
14487 * malloc/hooks.c (malloc_check_get_size): New function to get
14488 requested size.
14489 * malloc/malloc.c (musable): Use malloc_check_get_size.
14490 * malloc/tst-malloc-usable.c: New test case.
14491
4d038ae3
AS
144922012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14493
14494 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14495
c4e85184
AM
144962012-09-05 Allan McRae <allan@archlinux.org>
14497
b9dafc56 14498 [BZ #13966]
c4e85184
AM
14499 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14500 determine header location.
14501 * configure: Regenerated.
14502
e1343020
AS
145032012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14504
14505 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14506 float format.
14507 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14508 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14509 format.
e1343020
AS
14510 (test): Regenerate.
14511
0a9f1987
DM
145122012-09-04 David S. Miller <davem@davemloft.net>
14513
14514 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14515 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14516 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14517
29237804
FW
145182012-09-04 Florian Weimer <fweimer@redhat.com>
14519
14520 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14521 failures.
14522
edb3cb88
FW
14523 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14524
60160d83
JM
145252012-09-04 Joseph Myers <joseph@codesourcery.com>
14526
14527 [BZ #9914]
14528 * libio/iogetdelim.c: Include <limits.h>.
14529 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14530 + len + 1 would overflow.
14531
bcd6c8dc
AJ
145322012-09-03 Andreas Jaeger <aj@suse.de>
14533
14534 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14535 * sysdeps/i386/fpu/libm-test-ulps: Update.
14536
4ffffbd2
LD
145372012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14538
14539 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14540 Add s_sinf-sse2, s_conf-sse2.
14541
14542 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14543 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14544 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14545 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14546
14547 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14548 for using routine as __sinf_ia32.
14549 Use macro for function declaration and weak_alias.
14550 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14551 for using routine as __cosf_ia32.
14552 Use macro for function declaration and weak_alias.
14553
14554 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14555 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14556
14557 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14558 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14559 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14560
14561 * math/libm-test.inc (cos_test): Add more test cases.
14562 (sin_test): Likewise.
14563 (sincos_test): Likewise.
14564
511fa286
AK
145652012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14566
14567 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14568 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14569 hidden.
14570 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14571
5f30cfec
L
145722012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14573
14574 [BZ #14538]
14575 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14576 first element of the GOT.
14577 (elf_machine_load_address): Return the difference between
14578 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14579
0786794f
AM
145802012-09-01 Allan McRae <allan@archlinux.org>
14581
5f30cfec
L
14582 [BZ #13412]
14583 * configure.in (AWK): Require gawk version 3.0 or later.
14584 * configure: Regenerated.
0786794f 14585
26889eac
JM
145862012-09-01 Joseph Myers <joseph@codesourcery.com>
14587
14588 * sysdeps/unix/sysv/linux/kernel-features.h
14589 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14590 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14591 [__NR_clock_getres]: Make code unconditional.
14592 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14593 (clock_getcpuclockid): Remove code left unreachable by removal of
14594 conditionals.
14595 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14596 code unconditional.
14597 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14598 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14599 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14600 Make code unconditional.
14601 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14602 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14603 * sysdeps/unix/sysv/linux/clock_settime.c
14604 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14605 conditional code.
14606 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14607 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14608
d22e28b0
L
146092012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14610
14611 [BZ #14476]
14612 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14613 scripts/test-installation.pl.
14614
14615 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14616 and $ld_so_version if it is set.
14617
050af9c4
SP
146182012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14619
14620 [BZ #14516]
14621 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14622 failure if reading from procfs failed.
14623 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14624
ad845c0b
JM
146252012-08-27 Joseph Myers <joseph@codesourcery.com>
14626
14627 * sysdeps/unix/sysv/linux/kernel-features.h
14628 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14629 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14630 Remove conditional code.
14631 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14632 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14633 Remove conditional code.
14634 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14635 * sysdeps/unix/sysv/linux/i386/fxstat.c
14636 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14637 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14638 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14639 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14640 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14641 * sysdeps/unix/sysv/linux/i386/lxstat.c
14642 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14643 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14644 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14645 Remove conditional code.
14646 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14647 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14648 Remove conditional code.
14649 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14650 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14651 <kernel-features.h>.
14652 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14653 Remove.
14654 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14655 Remove conditional code.
14656 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14657 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14658 Remove conditional.
14659
5dbf56af
MF
146602012-08-27 Mike Frysinger <vapier@gentoo.org>
14661
14662 [BZ #5400]
14663 * NEWS: Add fixed bug number.
14664
d6e70f43
JM
146652012-08-27 Joseph Myers <joseph@codesourcery.com>
14666
7efb4737
JM
14667 [BZ #14519]
14668 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14669 underflowing exponent in case of negative sign.
14670 * stdlib/tst-strtod-round-data: Add more tests.
14671 * stdlib/tst-strtod-round.c (tests): Regenerated.
14672
af92131a
JM
14673 [BZ #3479]
14674 * stdlib/strtod_l.c (NDIG): Remove.
14675 (HEXNDIG): Likewise.
14676 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14677 smallest representable value.
14678 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14679 lie within an exact representation of 1/2 ulp of the result.
14680 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14681 unconditionally.
14682 (TENS_P9_IDX): Define unconditionally.
14683 (TENS_P9_SIZE): Likewise.
14684 (TENS_P10_IDX): Likewise.
14685 (TENS_P10_SIZE): Likewise.
14686 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14687 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14688 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14689 entries for 10^2^13 and 10^2^14.
14690 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14691 (TENS_P13_IDX): Define.
14692 (TENS_P13_SIZE): Likewise.
14693 (TENS_P14_IDX): Likewise.
14694 (TENS_P14_SIZE): Likewise.
14695 (_fpioconst_pow10): Change array size to
14696 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14697 unconditional.
14698 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14699 1024]: Add entries for 10^2^13 and 10^2^14.
14700 [LAST_POW10 > _LAST_POW10]: Remove #error.
14701 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14702 (_fpioconst_pow10): Change array size to
14703 FPIOCONST_POW10_ARRAY_SIZE.
14704 * stdlib/gen-fpioconst.c: New file.
14705 * stdlib/gen-tst-strtod-round.c: Likewise.
14706 * stdlib/tst-strtod-round-data: Likewise.
14707 * stdlib/tst-strtod-round.c: Likewise.
14708 * stdlib/Makefile (tests): Add tst-strtod-round.
14709
d6e70f43
JM
14710 [BZ #14459]
14711 * stdlib/strtod_l.c: Include <stdint.h>.
14712 (NDEBUG): Do not define.
14713 (round_and_return): Change EXPONENT parameter to type intmax_t.
14714 Rearrange calculations to avoid internal overflow possibilities.
14715 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14716 Rearrange calculations to avoid internal overflow possibilities.
14717 Assert that number fits inside MPNSIZE limbs.
14718 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14719 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14720 calculations and add assertions to avoid internal overflow
14721 possibilities. Add casts to avoid signed/unsigned operations.
14722 * stdlib/tst-strtod-overflow.c: New file.
14723 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14724
1f529f7d
MP
147252012-08-25 Marek Polacek <polacek@redhat.com>
14726
14727 * time/time.h: Fix some typos in comments.
14728
59a629f1
RM
147292012-08-23 Roland McGrath <roland@hack.frob.com>
14730
14731 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14732 * posix/tst-rfc3484-2.c: Likewise.
14733 * posix/tst-rfc3484-3.c: Likewise.
14734
d3bafbc9
SM
147352012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14736
14737 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14738 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14739
4efcc022
JM
147402012-08-23 Joseph Myers <joseph@codesourcery.com>
14741
14742 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14743 #include of fxstatat64.c.
14744
3cc3ef96
RM
147452012-08-22 Roland McGrath <roland@hack.frob.com>
14746
f04e2132
RM
14747 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14748 * shadow/getspent_r.c: Likewise.
14749 * shadow/getspnam.c: Likewise.
14750 * shadow/getspnam_r.c: Likewise.
14751 * gshadow/getsgent.c: Likewise.
14752 * gshadow/getsgent_r.c: Likewise.
14753 * gshadow/getsgnam.c: Likewise.
14754 * gshadow/getsgnam_r.c: Likewise.
14755 * inet/getnetbyad.c: Likewise.
14756 * inet/getnetbyad_r.c: Likewise.
14757 * inet/getnetbynm.c: Likewise.
14758 * inet/getnetbynm_r.c: Likewise.
14759 * inet/getnetent.c: Likewise.
14760 * inet/getnetent_r.c: Likewise.
14761 * inet/getproto.c: Likewise.
14762 * inet/getproto_r.c: Likewise.
14763 * inet/getprtent.c: Likewise.
14764 * inet/getprtent_r.c: Likewise.
14765 * inet/getprtname.c: Likewise.
14766 * inet/getprtname_r.c: Likewise.
14767 * inet/getrpcbyname.c: Likewise.
14768 * inet/getrpcbyname_r.c: Likewise.
14769 * inet/getrpcbynumber.c: Likewise.
14770 * inet/getrpcbynumber_r.c: Likewise.
14771 * inet/getrpcent.c: Likewise.
14772 * inet/getrpcent_r.c: Likewise.
14773 * inet/getaliasent.c: Likewise.
14774 * inet/getaliasent_r.c: Likewise.
14775 * inet/getaliasname.c: Likewise.
14776 * inet/getaliasname_r.c: Likewise.
14777 * nscd/getgrgid_r.c: Likewise.
14778 * nscd/getgrnam_r.c: Likewise.
14779 * nscd/gethstbyad_r.c: Likewise.
14780 * nscd/gethstbynm3_r.c: Likewise.
14781 * nscd/getpwnam_r.c: Likewise.
14782 * nscd/getpwuid_r.c: Likewise.
14783 * nscd/getsrvbynm_r.c: Likewise.
14784 * nscd/getsrvbypt_r.c: Likewise.
14785 * nscd/gai.c: Likewise.
14786
c53d909c
RM
14787 * configure.in (build_nscd): New substituted variable, set
14788 by --disable-build-nscd and defaults to $use_nscd.
14789 * configure: Regenerated.
14790 * config.make.in (build-nscd): New substituted variable.
14791 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14792 Change conditional to require [$(build-nscd) = yes] as well.
14793 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14794
3cc3ef96
RM
14795 [BZ# 13696]
14796 * configure.in (use_nscd): New substituted variable, set by
14797 --disable-nscd. If enabled, define USE_NSCD.
14798 * configure: Regenerated.
14799 * config.h.in: Add USE_NSCD.
14800 * config.make.in (use-nscd): New substituted variable.
14801 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14802 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14803 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14804 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14805 (CFLAGS-getgrnam_r.c): Likewise.
14806 (CFLAGS-initgroups.c): Likewise.
14807 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14808 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14809 Variables removed.
14810 * inet/getnetgrent_r.c
14811 (nscd_setnetgrent): New function, broken out of ...
14812 (setnetgrent): ... here. Call it.
14813 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14814 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14815 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14816 * nscd/Makefile (routines, aux): Move definitions after include of
14817 Makeconfig. Conditionalize on [$(use-nscd) != no].
14818 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14819 Conditionalize on [USE_NSCD].
14820 (is_nscd, nscd_init_cb): Likewise.
14821 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14822 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14823 * nss/nss_db/db-init.c: Likewise.
14824 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14825 [USE_NSCD].
14826 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14827 (make_request): Use it.
14828 (cache_valid_p): New function.
14829 (__check_pf): Use it.
14830 * NEWS: Add item for --disable-nscd.
14831
07e51550
DL
148322012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14833
14834 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14835 to support sed >= 4.2.1-20-ga9bf076.
14836 * configure: Regenerated.
14837
35a5b08b
RM
148382012-08-22 Roland McGrath <roland@hack.frob.com>
14839
14840 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14841 Conditionalize whole body on [IREL].
14842
8479f23a
JL
148432012-08-22 Jeff Law <law@redhat.com>
14844
14845 [BZ #14505]
14846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14847 if the family is PF_UNSPEC.
14848
48da0b21
MF
148492012-08-22 Mike Frysinger <vapier@gentoo.org>
14850
14851 * Makerules (lib-version): Rename from V.
14852 (install-lib-nosubdir): Change V to lib-version.
14853
15d0da8c
WS
148542012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14855
14856 [BZ #14252]
14857 * powerpc32/power6/wcschr.c: New file.
14858 * powerpc32/power6/wcscpy.c: New file.
14859 * powerpc32/power6/wcsrchr.c: New file.
14860 * powerpc64/power6/wcschr.c: New file.
14861 * powerpc64/power6/wcscpy.c: New file.
14862 * powerpc64/power6/wcsrchr.c: New file.
14863
bcca0895
MK
148642012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14865
14866 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14867 (two_way_short_needle): Use it.
5a4aaa33
RM
14868 * string/strstr.c (AVAILABLE1_USES_J): Define.
14869 * string/strcasestr.c: Likewise.
99677e57
MK
14870
14871 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14872 array references.
14873 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14874
400726de
MK
14875 [BZ #11607]
14876 * NEWS: Add an entry.
14877 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14878 define their defaults.
14879 (two_way_short_needle): Detect end-of-string on-the-fly.
14880 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14881 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14882 * string/bug-strcasestr1.c: New test.
14883 * string/Makefile: Run it.
14884
20a71f2c
MK
148852012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14886
14887 [BZ #11607]
14888 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14889 the first character.
14890
21ad0558
RM
148912012-08-21 Roland McGrath <roland@hack.frob.com>
14892
14893 * csu/elf-init.c (__libc_csu_irel): Function removed.
14894 * csu/libc-start.c (apply_irel): New function.
14895 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14896
0e1d9911
JM
148972012-08-21 Joseph Myers <joseph@codesourcery.com>
14898
14899 * sysdeps/unix/sysv/linux/kernel-features.h
14900 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14901 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14902 <kernel-features.h>.
14903 [__NR_fadvise64_64]: Make code unconditional.
14904 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14905 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14906 !__NR_fadvise64_64)]: Likewise.
14907 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14908 !__NR_fadvise64_64))]: Likewise.
14909 [__NR_fadvise64]: Make code unconditional.
14910 [!__NR_fadvise64]: Remove conditional code.
14911 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14912 <kernel-features.h>.
14913 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14914 unconditional.
14915 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14916 conditional code.
14917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14918 not include <kernel-features.h>.
14919 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14920 unconditional.
14921 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14922 conditional code.
14923 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14924 include <kernel-features.h>.
14925 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14926 unconditional.
14927 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14928 conditional code.
14929
14a50c9d
WS
149302012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14931
14932 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14933 slight instruction rearrangements per scrollpipe analysis.
14934 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14935
c0f4faf0
RM
149362012-08-20 Roland McGrath <roland@hack.frob.com>
14937
696da859
RM
14938 * manual/syslog.texi (syslog; vsyslog, closelog):
14939 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14940 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14941
c0f4faf0
RM
14942 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14943 DSOCAPS to match condition on defining it.
14944
348363b2
JM
149452012-08-20 Joseph Myers <joseph@codesourcery.com>
14946
a35cbf28
JM
14947 * sysdeps/unix/sysv/linux/kernel-features.h
14948 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14950 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14951 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14953 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14954 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14956 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14957 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14958
445f7ecd
JM
14959 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14960 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14961
348363b2
JM
14962 * sysdeps/unix/sysv/linux/kernel-features.h
14963 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14964 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14965 unconditional.
14966 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14967 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14968 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14969 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14970 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14971 Make code unconditional.
14972 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14973 (__mmap64) [!__NR_mmap2]: Likewise.
14974 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14975 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14976 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14977 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14978 [__NR_mmap2]: Make code unconditional.
14979 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14980 (__mmap64) [!__NR_mmap2]: Likewise.
14981
bc5bc0e5
AK
149822012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14983
14984 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14985
88d506de
AJ
149862012-08-18 Andreas Jaeger <aj@suse.de>
14987
14988 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14989
493387d2
MF
149902012-08-18 Mike Frysinger <vapier@gentoo.org>
14991
14992 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14993 * include/unistd.h (__have_sock_cloexec): Likewise.
14994 (__have_pipe2): Likewise.
14995 (__have_dup3): Likewise.
14996
a277af22
MF
149972012-08-18 Mike Frysinger <vapier@gentoo.org>
14998
14999 [BZ #9685]
15000 * include/unistd.h (__have_pipe2): Change define into an extern int.
15001 (__have_dup3): Likewise.
15002 * socket/have_sock_cloexec.c: Include fcntl.h.
15003 (__have_pipe2): New variable.
15004 (__have_dup3): Likewise.
15005
fdab8fd3
MF
150062012-08-17 Mike Frysinger <vapier@gentoo.org>
15007
15008 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15009
31035e80
MP
150102012-08-17 Marek Polacek <polacek@redhat.com>
15011
15012 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15013 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15014
3bd9e993
RM
150152012-08-17 Roland McGrath <roland@hack.frob.com>
15016
c91c505f
RM
15017 * configure.in: Add AC_SUBST for sysheaders.
15018 * configure: Regenerated.
15019 * config.make.in (sysheaders): New substituted variable.
15020
7c6f9d53
RM
15021 * sysdeps/unix/mkfifo.c: Moved ...
15022 * sysdeps/posix/mkfifo.c: ... here.
15023 * sysdeps/unix/mkfifoat.c: Moved ...
15024 * sysdeps/posix/mkfifoat.c: ... here.
15025
15026 * sysdeps/unix/utime.c: Moved ...
15027 * sysdeps/posix/utime.c: ... here.
15028
15029 * sysdeps/unix/time.c: Moved ...
15030 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
15031 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15032 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
15033
15034 * sysdeps/unix/nice.c: Moved ...
15035 * sysdeps/posix/nice.c: ... here.
15036
15037 * sysdeps/unix/alarm.c: Moved ...
15038 * sysdeps/posix/alarm.c: ... here.
15039
3bd9e993
RM
15040 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15041
d1f09384
JL
150422012-08-17 Jeff Law <law@redhat.com>
15043
15044 * intl/Makefile (codeset_mo): New variable.
15045 ($(codeset_mo)): New target.
15046 (tst-codeset.out): Depend on that. Remove explicit rule.
15047 (tst-gettext3.out, tst-gettext5.out): Likewise.
15048 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15049 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15050 * intl/tst-codeset.sh: Remove.
15051 * intl/tst-gettext3.sh: Likewise.
15052 * intl/tst-gettext5.sh: Likewise.
15053
2ae1ae5c
RM
150542012-08-17 Roland McGrath <roland@hack.frob.com>
15055
c31fdb83
RM
15056 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15057 * sysdeps/unix/syscalls.list: ... here.
15058
a0844057
RM
15059 * sysdeps/posix/getaddrinfo.c
15060 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15061 (gaiconf_init, gaiconf_reload): Use them.
15062 [!_STATBUF_ST_NSEC]
15063 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15064 Define using time_t rather than struct timespec.
15065
750c1f2a
RM
15066 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15067 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15068 Macros removed.
15069 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15070 [!NO_THREADS].
15071 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15072 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15073 Likewise.
15074
2ae1ae5c
RM
15075 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15076 __libc_cleanup_push argument.
15077
e66a42f5
RM
15078 * bits/param.h: New file.
15079 * misc/sys/param.h: New file.
15080 * include/sys/param.h: New file.
15081 * misc/Makefile (headers): Add bits/param.h.
15082 * sysdeps/generic/sys/param.h: File removed.
15083 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15084 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15085 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 15086 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 15087
b7c08a66
RM
15088 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15089 last change.
15090
b2e1c562
RM
15091 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15092 [_IO_MTSAFE_IO].
15093 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15094 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15095 New macros.
15096
c75ccd4c
RM
15097 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15098 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15099 rather than -D_IO_MTSAFE_IO conditionally.
15100 * stdio-common/Makefile (CPPFLAGS): Likewise.
15101 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15102 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15103 Use $(libio-mtsafe).
15104 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15105 of -D_IO_MTSAFE_IO.
15106 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15107 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15108 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15109 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15110 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15111 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15112 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15113 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15114 (CFLAGS-fread_u_chk.c): Likewise.
15115 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15116 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15117 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15118 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15119 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15120 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15121 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15122 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15123 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15124
15125 * libio/Makefile: Test [$(libc-reentrant) = yes]
15126 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15127
15128 * Makeconfig
15129 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15130 * sysdeps/pthread/configure: File removed.
15131 * sysdeps/pthread/Makeconfig: New file.
15132 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15133 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15134
d9195db8
GB
151352012-08-16 Gary Benson <gbenson@redhat.com>
15136
15137 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15138 unmapping the first object in a namespace.
15139
86466cd9
RM
151402012-08-16 Roland McGrath <roland@hack.frob.com>
15141
15142 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15143 (__internal_setnetgrent): ... this. Add internal_function to
15144 definition. Add libc_hidden_def.
15145 (setnetgrent): Update caller.
15146 (internal_endnetgrent): Renamed to ...
15147 (__internal_endnetgrent): ... this. Add internal_function to
15148 definition. Add libc_hidden_def.
15149 (endnetgrent): Update caller.
15150 (internal_getnetgrent_r): Renamed to ...
15151 (__internal_getnetgrent_r): ... this. Add internal_function to
15152 definition. Add libc_hidden_def.
15153 (__getnetgrent_r): Update caller.
15154 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15155
c3c8283c
JM
151562012-08-16 Joseph Myers <joseph@codesourcery.com>
15157
15158 * stdlib/longlong.h: Update from GCC.
15159
db1ee0a8
RM
151602012-08-16 Roland McGrath <roland@hack.frob.com>
15161
15162 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15163 on _QL, which is set by umul_ppmm but never used.
15164 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15165 variables, which are set by GMP macros but never used.
15166 * stdio-common/_itowa.c (_itowa): Likewise.
15167 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15168 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15169
30f69637
CD
151702012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15171
15172 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15173 struct La_sh_regs is not constant.
15174 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15175 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15176 and struct La_sparc64_regs are not constant.
15177
93a78ac4
JM
151782012-08-16 Joseph Myers <joseph@codesourcery.com>
15179
15180 * sysdeps/unix/sysv/linux/kernel-features.h
15181 (__ASSUME_POSIX_TIMERS): Remove.
15182 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15183 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15184 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15185 Make code unconditional.
15186 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15187 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15188 Make code unconditional.
15189 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15190 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15191 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15192 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15193 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15194 Make code unconditional.
15195 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15196 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15197 (__libc_missing_posix_timers): Remove.
15198
dd924cd7
RM
151992012-08-15 Roland McGrath <roland@hack.frob.com>
15200
4b4f2771
RM
15201 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15202 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15203
601c888b
RM
15204 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15205
176790a7
RM
15206 * elf/dl-sym.c: Include <stdlib.h>.
15207
329bc018
RM
15208 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15209 constants, which avoids warnings in 32-bit builds.
15210
e04e272d
RM
15211 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15212 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15213
952bf94a
RM
15214 * misc/lseek.c: File moved to ...
15215 * io/lseek.c: ... here.
15216
7c99b50a
RM
15217 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15218
dd924cd7
RM
15219 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15220 shifting LEN more than 31 bits at once.
15221
b3f479a8
LD
152222012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15223
15224 [BZ #14195]
8c4ae0d4
RM
15225 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15226 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15227 * string/test-strncasecmp.c (check1): Renamed to...
15228 (bz12205): ...this.
15229 (bz14195): Add new testcase for two empty input strings and N > 0.
15230 (test_main): Call new testcase, adapt for renamed function.
15231
9c55864e
AJ
152322012-08-15 Andreas Jaeger <aj@suse.de>
15233
15234 [BZ #14090]
15235 * crypt/md5test2.c: New test, based on test supplied by Serge
15236 Belyshev <belyshev@depni.sinp.msu.ru>.
15237 * crypt/Makefile (xtests): Add md5test-giant..
15238 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15239
02dcb6c5
PE
152402012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15241
15242 [BZ #14090]
15243 * crypt/md5.c (md5_process_block): Don't assume the buffer
15244 length is less than 2**32.
15245 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15246 length is less than 2**64.
15247
a3f95dcc
RM
152482012-08-15 Roland McGrath <roland@hack.frob.com>
15249
be75d758
RM
15250 * string/str-two-way.h: Include <sys/param.h>.
15251 (MAX): Macro removed.
15252
7312ca90
RM
15253 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15254 Move #define and #undef of memmove to just before and after
15255 including <string.h>.
15256
9a0a5486
RM
15257 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15258 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15259 and after including <string.h>. Move declarations of
15260 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15261 to before #include "string/memmove.c".
15262
67cc348d
RM
15263 * include/dirent.h: Declare __getdirentries.
15264
a3f95dcc
RM
15265 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15266 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15267
ca98e171
MF
152682012-08-14 Mike Frysinger <vapier@gentoo.org>
15269
15270 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15271 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15272 * sysdeps/i386/configure: Regenerated.
15273 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15274 STABS_CURRENT_FILE, and STABS_FUN.
15275 (END): Remove call to STABS_FUN_END.
15276 (STABS_CURRENT_FILE1): Delete.
15277 (STABS_CURRENT_FILE): Likewise.
15278 (STABS_FUN): Likewise.
15279 (STABS_FUN_END): Likewise.
15280 (STABS_FUN2): Likewise.
15281 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15282 * sysdeps/x86_64/configure: Regenerated.
15283
5908bf46
RM
152842012-08-14 Roland McGrath <roland@hack.frob.com>
15285
15286 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15287 * elf/dl-lookup.c: Likewise.
5908bf46 15288
f2c05b9e
JM
152892012-08-14 Joseph Myers <joseph@codesourcery.com>
15290
15291 * sysdeps/unix/sysv/linux/kernel-features.h
15292 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15293 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15294 unconditionally.
15295 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15296 unconditionally.
15297 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15298 condition on __ASSUME_CLONE_THREAD_FLAGS.
15299
e11f5155
AJ
153002012-08-14 Andreas Jaeger <aj@suse.de>
15301
15302 * sysdeps/i386/fpu/libm-test-ulps: Update.
15303
51a9ba86
MK
153042012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15305
2fdd4f78
AJ
15306 * include/atomic.h (atomic_exchange_and_add): Split into ...
15307 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15308 New atomic macros.
51a9ba86 15309
ba6cba9e
MT
153102012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15311
15312 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15313
42443a47
JL
153142012-08-13 Jeff Law <law@redhat.com>
15315
15316 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15317 null byte in the output string.
15318
121dce05
JM
153192012-08-10 Joseph Myers <joseph@codesourcery.com>
15320
15321 * sysdeps/unix/sysv/linux/kernel-features.h
15322 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15323 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15324 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15325 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15326 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15327 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15328 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15329
bf51f568
JL
153302012-08-09 Jeff Law <law@redhat.com>
15331
15332 [BZ #13939]
15333 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15334 When avoid_arena is set, don't retry in the that arena. Pick the
15335 next one, whatever it might be.
15336 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15337 (arena_lock): Pass in new parameter to arena_get2.
15338 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15339 arena_get2.
15340 (__libc_malloc): Unify retrying after main arena failure with
15341 __libc_memalign version.
15342 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15343
f85fa270
L
153442012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15345
15346 [BZ #14166]
15347 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15348 to __redirect_strstr.
15349 (__strstr_sse42): Use typeof __redirect_strstr.
15350 (__strstr_ia32): Likewise.
15351 (__libc_strstr): New prototype.
15352 (strstr): Renamed to ...
15353 (__libc_strstr): This.
15354 (strstr): New strong alias of __libc_strstr.
15355 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15356 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15357 __redirect_time.
15358 Include <time.h>.
15359 (__libc_time): New prototype.
15360 (time_ifunc): Replace time with __libc_time.
15361 (time): New strong alias and hidden definition of __libc_time.
15362 (__GI_time): Remove strong alias.
15363 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15364 Include <stddef.h>.
15365 (memmove): Redefined to __redirect_memmove.
15366 (__memmove_sse2): Use typeof __redirect_memmove.
15367 (__memmove_ssse3): Likewise.
15368 (__memmove_ssse3_back): Likewise.
15369 (__libc_memmove): New prototype.
15370 (memmove): Renamed to ...
15371 (__libc_memmove): This.
15372 (memmove): New strong alias of __libc_memmove.
15373
33b4a91e
MS
153742012-08-08 Mark Salter <msalter@redhat.com>
15375
15376 * elf/elf.h
15377 (R_MN10300_TLS_GD): Define.
15378 (R_MN10300_TLS_LD): Likewise.
15379 (R_MN10300_TLS_LDO): Likewise.
15380 (R_MN10300_TLS_GOTIE): Likewise.
15381 (R_MN10300_TLS_IE): Likewise.
15382 (R_MN10300_TLS_LE): Likewise.
15383 (R_MN10300_TLS_DTPMOD): Likewise.
15384 (R_MN10300_TLS_DTPOFF): Likewise.
15385 (R_MN10300_TLS_TPOFF): Likewise.
15386 (R_MN10300_SYM_DIFF): Likewise.
15387 (R_MN10300_ALIGN): Likewise.
15388 (R_MN10300_NUM): Update.
15389
b36137f1
JM
153902012-08-08 Joseph Myers <joseph@codesourcery.com>
15391
15392 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15393 Remove.
15394
cdd915fd
RM
153952012-08-08 Roland McGrath <roland@hack.frob.com>
15396
a2433aac
RM
15397 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15398
cdd915fd
RM
15399 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15400 sysdeps/unix -> sysdeps/posix move.
15401 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15402
bf9b740a
AM
154032012-08-07 Allan McRae <allan@archlinux.org>
15404
15405 [BZ #14303]
15406 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15407 (SUNOS_CPP): Likewise.
15408 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15409 not found.
15410 (open_input): Call CPP using execvp.
15411
93df14ee
JM
154122012-08-07 Joseph Myers <joseph@codesourcery.com>
15413
15414 * sysdeps/unix/sysv/linux/kernel-features.h
15415 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15416 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15417 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15418 (__ASSUME_WAITID_SYSCALL): Likewise.
15419 * sysdeps/unix/sysv/linux/dl-execstack.c
15420 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15421 code unconditional.
15422 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15423 conditional code.
15424 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15425 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15426 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15427 code.
15428 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15429 unconditional.
15430 [__ASSUME_WAITID_SYSCALL]: Likewise.
15431 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15432
d34689de
RM
154332012-08-07 Roland McGrath <roland@hack.frob.com>
15434
a281decc
RM
15435 * sysdeps/unix/closedir.c: Renamed to ...
15436 * sysdeps/posix/closedir.c: ... here.
15437 * sysdeps/unix/dirfd.c: Renamed to ...
15438 * sysdeps/posix/dirfd.c: ... here.
15439 * sysdeps/unix/dirstream.h: Renamed to ...
15440 * sysdeps/posix/dirstream.h: ... here.
15441 * sysdeps/unix/fdopendir.c: Renamed to ...
15442 * sysdeps/posix/fdopendir.c: ... here.
15443 * sysdeps/unix/opendir.c: Renamed to ...
15444 * sysdeps/posix/opendir.c: ... here.
15445 * sysdeps/unix/readdir.c: Renamed to ...
15446 * sysdeps/posix/readdir.c: ... here.
15447 * sysdeps/unix/readdir_r.c: Renamed to ...
15448 * sysdeps/posix/readdir_r.c: ... here.
15449 * sysdeps/unix/rewinddir.c: Renamed to ...
15450 * sysdeps/posix/rewinddir.c: ... here.
15451 * sysdeps/unix/seekdir.c: Renamed to ...
15452 * sysdeps/posix/seekdir.c: ... here.
15453 * sysdeps/unix/telldir.c: Renamed to ...
15454 * sysdeps/posix/telldir.c: ... here.
15455 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15456 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15457 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15458 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15459
22895b47
RM
15460 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15461 * bits/fcntl.h: ... here.
15462
707a53b6
RM
15463 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15464 not 0.
15465 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15466 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15467 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15468 (struct flock): Move l_start, l_len to the beginning.
15469 Use __pid_t for l_pid.
15470 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15471 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15472 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15473 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15474 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15475 [__USE_LARGEFILE64] (struct flock64): New type.
15476 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15477
f0bd3e25
RM
15478 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15479 * bits/dirent.h: ... here.
15480
d34689de
RM
15481 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15482 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15483
6dad2c06
JM
154842012-08-07 Joseph Myers <joseph@codesourcery.com>
15485
15486 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15487 Change from 2.6.0 to 2.6.16.
15488 * sysdeps/unix/sysv/linux/configure: Regenerated.
15489 * sysdeps/unix/sysv/linux/kernel-features.h
15490 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15491 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15492 version.
15493 (__ASSUME_UTIMES): Likewise.
15494 (__ASSUME_CLONE_STOPPED): Remove.
15495 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15496 architectures, not kernel version.
15497 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15498 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15499 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15500 (__ASSUME_WAITID_SYSCALL): Likewise.
15501 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15502 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15503 * README: State 2.6.16 as minimum Linux kernel version. Do not
15504 refer to older versions.
15505
03af9520
RM
155062012-08-06 Roland McGrath <roland@hack.frob.com>
15507
8e49df1d
RM
15508 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15509 Define alphasort64 as an alias.
15510 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15511 Define versionsort64 as an alias.
15512 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15513 Define scandir64 as an alias.
15514 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15515 Define scandirat64 as an alias.
15516 * dirent/alphasort64.c (alphasort64):
15517 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15518 * dirent/versionsort64.c: Likewise.
15519 * dirent/scandir64.c: Likewise.
15520 * dirent/scandirat64.c: Likewise.
15521 * sysdeps/wordsize-64/alphasort.c: File removed.
15522 * sysdeps/wordsize-64/alphasort64.c: File removed.
15523 * sysdeps/wordsize-64/scandir.c: File removed.
15524 * sysdeps/wordsize-64/scandir64.c: File removed.
15525 * sysdeps/wordsize-64/scandirat.c: File removed.
15526 * sysdeps/wordsize-64/scandirat64.c: File removed.
15527 * sysdeps/wordsize-64/versionsort.c: File removed.
15528 * sysdeps/wordsize-64/versionsort64.c: File removed.
15529 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15530 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15531 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15532 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15533 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15534 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15535 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15536 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15537
15538 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15539 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15540 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15541 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15542 [defined __arch64__ || defined __sparcv9]
15543 (__INO_T_MATCHES_INO64_T): New macro.
15544 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15545 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15546 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15547 * sysdeps/unix/sysv/linux/bits/dirent.h
15548 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15549 (_DIRENT_MATCHES_DIRENT64): New macro.
15550
03af9520
RM
15551 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15552 Define lockf64 as an alias.
15553 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15554 Define fseeko64 as an alias.
15555 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15556 Define ftello64 as an alias.
15557 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15558 Define _IO_fgetpos64 and fgetpos64 as aliases.
15559 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15560 Define _IO_fsetpos64 and fsetpos64 as aliases.
15561 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15562 Conditionalize body on this.
15563 * libio/fseeko64.c: Likewise.
15564 * libio/ftello64.c: Likewise.
15565 * libio/iofgetpos64.c: Likewise.
15566 * libio/iofsetpos64.c: Likewise.
15567 * sysdeps/wordsize-64/lockf.c: File removed.
15568 * sysdeps/wordsize-64/lockf64.c: File removed.
15569 * sysdeps/wordsize-64/fseeko.c: File removed.
15570 * sysdeps/wordsize-64/fseeko64.c: File removed.
15571 * sysdeps/wordsize-64/ftello.c: File removed.
15572 * sysdeps/wordsize-64/ftello64.c: File removed.
15573 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15574 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15575 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15576 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15577 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15578 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15579 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15580 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15581 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15582 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15583 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15584 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15585 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15586 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15587
15588 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15589 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15590 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15591 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15592 [defined __arch64__ || defined __sparcv9]
15593 (__OFF_T_MATCHES_OFF64_T): New macro.
15594 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15595 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15596 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15597 (__OFF_T_MATCHES_OFF64_T): New macro.
15598
c5757acd
L
155992012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15600
15601 * stdlib/secure-getenv.c (__secure_getenv): Replace
15602 GLIBC_2_16 with GLIBC_2_17.
15603
3a31811e
L
156042012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15605
15606 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15607 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15608
faa2bccb
DM
156092012-08-03 David S. Miller <davem@davemloft.net>
15610
15611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15612
85fe1997
JM
156132012-08-03 Joseph Myers <joseph@codesourcery.com>
15614
15615 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15616 Remove.
15617 (__ASSUME_CORRECT_SI_PID): Likewise.
15618 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15619 (__ASSUME_TMPFS_NAME): Likewise.
15620 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15621 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15622 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15623 (HAVE_AUX_SECURE): Make definition unconditional.
15624 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15625 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15626
4f75b7a0
RM
156272012-08-03 Roland McGrath <roland@hack.frob.com>
15628
15629 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15630 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15631 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15632 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15633 __eloop_threshold instead of SYMLOOP_MAX.
15634
15635 * sysdeps/generic/eloop-threshold.h: New file.
15636 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15637 of MAXSYMLINKS.
15638 * elf/chroot_canon.c (chroot_canon): Likewise.
15639
7aab07e4
JM
156402012-08-03 Joseph Myers <joseph@codesourcery.com>
15641
15642 [BZ #13717]
15643 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15644 Change to 2.6.0 everywhere.
15645 * sysdeps/unix/sysv/linux/configure: Regenerated.
15646 * sysdeps/unix/sysv/linux/kernel-features.h
15647 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15648 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15649 kernel versions.
15650 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15651 (__ASSUME_FUTEX_REQUEUE): Remove.
15652 (__ASSUME_STATFS64): Define unconditionally.
15653 (__ASSUME_AT_SECURE): Likewise.
15654 (__ASSUME_CORRECT_SI_PID): Likewise.
15655 (__ASSUME_TGKILL): Define without depending on kernel version for
15656 i386.
15657 (__ASSUME_UTIMES): Likewise.
15658 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15659 kernel version.
15660 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15661 (__ASSUME_TMPFS_NAME): Likewise.
15662 * README: Update reference to Linux kernel versions.
15663
b67e9372
MP
156642012-08-02 Marek Polacek <polacek@redhat.com>
15665
1f529f7d 15666 [BZ# 14150]
b67e9372
MP
15667 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15668 libc_cv_asm_type_prefix with %.
15669 * configure: Regenerated.
d2441631
RM
15670 * include/libc-symbols.h: Remove comment about
15671 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15672 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15673 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15674 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15675 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15676 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15677 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15678 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15679 * elf/tst-unique2mod1.c: Likewise.
15680 * elf/tst-unique1mod2.c: Likewise.
15681 * elf/tst-unique1mod1.c: Likewise.
15682 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15683 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15684 Replace ASM_TYPE_DIRECTIVE with .type.
15685 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15686 * sysdeps/i386/sysdep.h: Likewise.
15687 * sysdeps/x86_64/sysdep.h: Likewise.
15688 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15690 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15691 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15692 * sysdeps/powerpc/powerpc32/sysdep.h:
15693 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15694 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15695 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15696 * sysdeps/i386/fpu/e_powf.S: Likewise.
15697 * sysdeps/i386/fpu/e_expl.S: Likewise.
15698 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15699 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15700 * sysdeps/i386/fpu/e_pow.S: Likewise.
15701 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15702 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15703 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15704 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15705 * sysdeps/i386/fpu/e_log2.S: Likewise.
15706 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15707 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15708 * sysdeps/i386/fpu/e_powl.S: Likewise.
15709 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15710 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15711 * sysdeps/i386/fpu/e_logl.S: Likewise.
15712 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15713 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15714 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15715 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15716 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15717 * sysdeps/i386/fpu/e_log.S: Likewise.
15718 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15719 * sysdeps/i386/fpu/e_logf.S: Likewise.
15720 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15721 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15722 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15723 * sysdeps/i386/fpu/e_log10.S: Likewise.
15724 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15725 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15726 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15727 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15728 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15729 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15730 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15731 * sysdeps/i386/i686/strtok.S: Likewise.
15732 * sysdeps/i386/i386-mcount.S: Likewise.
15733 * sysdeps/i386/strtok.S: Likewise.
15734 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15735 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15736 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15737 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15738 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15739 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15740 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15741 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15742 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15743 * sysdeps/x86_64/_mcount.S: Likewise.
15744 * sysdeps/x86_64/strtok.S: Likewise.
15745 * sysdeps/sh/_mcount.S: Likewise.
15746
2747bf9a
RM
157472012-08-01 Roland McGrath <roland@hack.frob.com>
15748
15749 * libio/iofopen.c: Include <fcntl.h>.
15750 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15751 (_IO_fopen64, fopen64): Define as aliases.
15752 * libio/iofopen64.c: Include <fcntl.h>.
15753 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15754 Conditionalize body on this.
15755 * sysdeps/wordsize-64/iofopen.c: File removed.
15756 * sysdeps/wordsize-64/iofopen64.c: File removed.
15757
3fb791b8
MP
157582012-08-01 Marek Polacek <polacek@redhat.com>
15759
15760 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15761 Use dlfcn directly instead of a variable.
15762 (binfmt-subdir): Do not define.
15763 (dlfcn): Likewise.
15764
a9f1039f
JM
157652012-08-01 Joseph Myers <joseph@codesourcery.com>
15766
23bddc06
JM
15767 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15768 Remove all definitions.
15769 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15770 <kernel-features.h>.
15771 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15772 (miss_F_GETOWN_EX): Remove all definitions.
15773 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15774 macro definition.
15775 [!__ASSUME_FCNTL64]: Remove conditional code.
15776 [__ASSUME_FCNTL64]: Make code unconditional.
15777 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15778 <kernel-features.h>.
15779 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15780 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15781 (lockf64) [__NR_fcntl64]: Make code unconditional.
15782 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15783
a9f1039f
JM
15784 * sysdeps/unix/sysv/linux/kernel-features.h
15785 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15786 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15787 Make code unconditional.
15788 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15789 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15791 [__NR_vfork]: Make code unconditional.
15792 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15793 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15795 [__NR_vfork]: Make code unconditional.
15796 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15797 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15798
09c0ee5f
RM
157992012-08-01 Roland McGrath <roland@hack.frob.com>
15800
48aec5b9
RM
15801 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15802 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15803
cd97c966
RM
15804 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15805 Define mkstemp64 as an alias.
3f55550c
RM
15806 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15807 Define mkstemps64 as an alias.
cd97c966
RM
15808 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15809 Define mkostemp64 as an alias.
b8625cfc
RM
15810 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15811 Define mkostemps64 as an alias.
cd97c966
RM
15812 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15813 Conditionalize body on this.
15814 * misc/mkostemp64.c: Likewise.
b8625cfc 15815 * misc/mkostemps64.c: Likewise.
3f55550c 15816 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15817 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15818 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15819 * sysdeps/wordsize-64/mkostemp.c: File removed.
15820 * sysdeps/wordsize-64/mkstemp.c: File removed.
15821 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15822 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15823 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15824 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15825
09c0ee5f
RM
15826 [BZ #14138]
15827 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15828 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15829 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15830 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15831
15832 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15833 compat_symbol macros from <shlib-compat.h> rather than the underlying
15834 default_symbol_version and symbol_version macros, so that DEFAULT
15835 lines in shlib-versions are respected.
15836 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15837
7e66ee51
FW
158382012-08-01 Florian Weimer <fweimer@redhat.com>
15839
15840 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15841 Declare with warn_unused_result.
15842 (setgid, setregid, setegid, setresgid): Likewise.
15843 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15844 Likewise.
15845 * WUR-REPORT: Remove set*id functions.
15846
d2a54255
PT
158472012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15848
15849 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15850
7ecdb005
RM
158512012-07-31 Roland McGrath <roland@hack.frob.com>
15852
b4180a5e 15853 [BZ #10191]
789bd351
RM
15854 * include/sys/socket.h (__libc_accept, __libc_accept4):
15855 Add attribute_hidden.
15856 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15857
40ce302d
RM
15858 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15859 use of PTR_MANGLE.
15860 * inet/getnetgrent_r.c (setup): Likewise.
15861
7ecdb005
RM
15862 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15863
e2eabb2c
DM
158642012-07-31 David S. Miller <davem@davemloft.net>
15865
15866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15867
d0419dbf
JM
158682012-07-31 Joseph Myers <joseph@codesourcery.com>
15869
15870 [BZ #13629]
15871 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15872 value between 1.0 and 2.0 and smaller part has absolute value less
15873 than 1.0.
15874 * math/s_clog10.c (__clog10): Likewise.
15875 * math/s_clog10f.c (__clog10f): Likewise.
15876 * math/s_clog10l.c (__clog10l): Likewise.
15877 * math/s_clogf.c (__clogf): Likewise.
15878 * math/s_clogl.c (__clogl): Likewise.
15879 * math/libm-test.inc (clog_test): Add more tests.
15880 (clog10_test): Likewise.
15881 * sysdeps/i386/fpu/libm-test-ulps: Update.
15882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15883
2bc13872
FW
158842012-07-31 Florian Weimer <fweimer@redhat.com>
15885
15886 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15887 Exit with zero in case no suitable GID is found, and write a
15888 message to standard error.
15889
bea9b193
RM
158902012-07-30 Roland McGrath <roland@hack.frob.com>
15891
15892 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15893 rather than to 1.
15894 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15895 (MAXPATHLEN): Removed.
15896 (NOGROUP, NODEV): New macros.
15897 (setbit, clrbit, isset, isclr): New macros.
15898 (howmany, roundup, powerof2): New macros.
15899 (DEV_BSIZE): New macro.
15900
15901 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15902 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15903
15904 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15905 definition on [!__NO_LONG_DOUBLE_MATH].
15906
15907 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15908 PTR_MANGLE and PTR_DEMANGLE.
15909
15910 * socket/accept4.c (accept4): Rename to __libc_accept4.
15911 Define accept4 as a weak alias.
15912
15913 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15914 on [_DIRENT_HAVE_D_TYPE].
15915 * io/ftw.c (ftw_dir): Likewise.
15916
15917 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15918
15919 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15920
15921 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15922 Use the BSD numbers rather than the arbitrary ones we had.
15923 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15924 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15925 (SIGXCPU, SIGXFSZ): New macros.
15926 (_NSIG): Now 32.
15927
15928 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15929 initializer on [_LIBC_REENTRANT].
15930
15931 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15932 definitions inside [_POSIX_MAPPED_FILES].
15933
15934 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15935
15936 * dirent/opendir.c: Include <fcntl.h>.
15937
15938 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15939 (__libc_getspecific): Likewise.
15940 (__libc_key_create): Likewise.
15941
15942 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15943 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15944 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15945 (tmpfile64): Define as alias.
15946 * sysdeps/wordsize-64/tmpfile.c: File removed.
15947 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15948 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15949 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15950
15951 * stdio-common/vfscanf.c: Include <stdbool.h>.
15952 * nss/makedb.c: Likewise.
15953 * stdio-common/_i18n_number.h: Likewise.
15954 * argp/argp-help.c: Likewise.
15955 * posix/wordexp.c: Likewise.
15956 * sysdeps/posix/spawni.c: Likewise.
15957 * nss/nss_files/files-initgroups.c: Likewise.
15958 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15959 * nss/nss_files/files-initgroups.c: Likewise.
15960 * nss/nss_db/db-netgrp.c: Likewise.
15961 * nss/nss_db/db-initgroups.c: Likewise.
15962 * io/fchmodat.c: Include <sys/stat.h>.
15963
15964 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15965 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15966
15967 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15968 [HAVE_MMAP].
15969
15970 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15971 Add multiple inclusion protection.
15972
e5abc686
DM
159732012-07-27 David S. Miller <davem@davemloft.net>
15974
15975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15976
815e6fa3
GB
159772012-07-27 Gary Benson <gbenson@redhat.com>
15978
15979 [BZ #14298]
15980 * elf/rtld.c: Include <stap-probe.h>.
15981 (dl_main): Added static probes "init_start" and "init_complete".
15982 * elf/dl-load.c: Include <stap-probe.h>.
15983 (lose): Take new parameter "nsid".
15984 Added static probe "map_failed".
15985 (_dl_map_object_from_fd): Pass namespace id to lose.
15986 Added static probe "map_start".
15987 (open_verify): Pass namespace id to lose.
15988 * elf/dl-open.c: Include <stap-probe.h>.
15989 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15990 and "reloc_complete".
15991 * elf/dl-close.c: Include <stap-probe.h>.
15992 (_dl_close_worker): Added static probes "unmap_start" and
15993 "unmap_complete".
15994 * elf/rtld-debugger-interface.txt: New file documenting the above.
15995
9f98c16c
RM
159962012-07-26 Roland McGrath <roland@hack.frob.com>
15997
15998 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15999 rather than a string variable.
16000 * sunrpc/rpc_main.c (h_output): Likewise.
16001 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16002
f3c22df3
PT
160032012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16004
16005 * inet/check_native.c: New file.
16006
3129cfc6
JM
160072012-07-26 Joseph Myers <joseph@codesourcery.com>
16008
da865e95
JM
16009 [BZ #13629]
16010 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16011 if larger part has absolute value 1.0.
16012 * math/s_clog10.c (__clog10): Likewise.
16013 * math/s_clog10f.c (__clog10f): Likewise.
16014 * math/s_clog10l.c (__clog10l): Likewise.
16015 * math/s_clogf.c (__clogf): Likewise.
16016 * math/s_clogl.c (__clogl): Likewise.
16017 * math/libm-test.inc (clog_test): Add more tests.
16018 (clog10_test): Likewise.
16019 * sysdeps/i386/fpu/libm-test-ulps: Update.
16020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16021
3129cfc6
JM
16022 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16023 (pltexit): Likewise.
16024 (La_regs): Likewise.
16025 (La_retval): Likewise.
16026 (int_retval): Likewise.
16027 Update #error for removed macros to refer only to definitions in
16028 tst-audit.h.
16029 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16030 macro.
16031 (pltexit): Likewise.
16032 (La_regs): Likewise.
16033 (La_retval): Likewise.
16034 (int_retval): Likewise.
16035 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16036 macro.
16037 (pltexit): Likewise.
16038 (La_regs): Likewise.
16039 (La_retval): Likewise.
16040 (int_retval): Likewise.
16041 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16042 macro.
16043 (pltexit): Likewise.
16044 (La_regs): Likewise.
16045 (La_retval): Likewise.
16046 (int_retval): Likewise.
16047 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16048 macro.
16049 (pltexit): Likewise.
16050 (La_regs): Likewise.
16051 (La_retval): Likewise.
16052 (int_retval): Likewise.
16053 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16054 macro.
16055 (pltexit): Likewise.
16056 (La_regs): Likewise.
16057 (La_retval): Likewise.
16058 (int_retval): Likewise.
16059 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16060 macro.
16061 (pltexit): Likewise.
16062 (La_regs): Likewise.
16063 (La_retval): Likewise.
16064 (int_retval): Likewise.
16065 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16066 macro definitions in tst-audit.h.
16067 * sysdeps/i386/tst-audit.h: New file.
16068 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16069 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16070 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16071 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16072 * sysdeps/sh/tst-audit.h: Likewise.
16073 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16074 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16075 * sysdeps/x86_64/tst-audit.h: Likewise.
16076
bfc07087
AJ
160772012-07-26 Andreas Jaeger <aj@suse.de>
16078
b1b2aaf8
AJ
16079 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16080 ptrace.
16081
16082 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16083 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16084 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16085 PTRACE_O_MASK.
16086 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16087 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16088 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16089
bfc07087
AJ
16090 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16091 value.
16092
16093 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16094 _sigsys.
16095 (si_call_addr, si_syscall, si_arch): Define new macro.
16096 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16097 _sigsys.
16098 (si_call_addr, si_syscall, si_arch): Define new marcro.
16099 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16100 _sigsys.
16101 (si_call_addr, si_syscall, si_arch): Define new macro.
16102 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16103 _sigsys.
16104 (si_call_addr, si_syscall, si_arch): Define new macro.
16105
89b4b02f
JM
161062012-07-25 Joseph Myers <joseph@codesourcery.com>
16107
16108 [BZ #13717]
16109 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16110 Change to 2.4.21 where previously 2.4.1.
16111 * sysdeps/unix/sysv/linux/configure: Regenerated.
16112 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16113 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16114 Linux kernel version.
16115 (__ASSUME_STD_AUXV): Remove.
16116 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16117 kernel version.
16118 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16119 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16120 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16121 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16122 (__ASSUME_NETLINK_SUPPORT): Likewise.
16123 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16124 (__no_netlink_support): Remove conditional definition.
16125 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16126 Remove.
16127 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16128 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16129 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16130 (if_nameindex_ioctl): Remove.
16131 (if_nameindex_netlink): Do not handle __no_netlink_support.
16132 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16133 code.
16134 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16135 Remove conditional code.
16136 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16137 code.
16138 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16139 unconditional.
16140 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16141 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16142 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16143 Remove.
16144 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16145 [!__ASSUME_STD_AUXV]: Remove conditional code.
16146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16147 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16148 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16150 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16151 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16152 code.
16153 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16155 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16156 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16157 conditional code.
16158 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16160 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16161 code.
16162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16163 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16164 conditional code.
16165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16166 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16167 code unconditional.
16168 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16169 conditional code.
16170 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16171 unconditional.
16172 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16173 conditional code.
16174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16175 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16176 unconditional.
16177 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16178 conditional code.
16179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16180 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16181 code unconditional.
16182 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16183 conditional code.
16184 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16185 unconditional.
16186 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16187 conditional code.
16188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16189 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16190 code unconditional.
16191 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16192 conditional code.
16193 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16194 unconditional.
16195 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16196 conditional code.
16197
842a39cd
AS
161982012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16199
16200 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16201 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16202 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16203 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16204 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16205 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16206 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16207 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16208 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16209 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16210 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16211 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16212 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16213 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16214 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16215 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16216 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16217 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16218 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16219 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16220 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16221 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16222 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16223
84b3fd84
FW
162242012-07-25 Florian Weimer <fweimer@redhat.com>
16225
16226 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16227 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16228 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16229 Introduce __libc_secure_getenv.
0c7936d5
FW
16230 * stdlib/Versions (2.17): Add secure_getenv
16231 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16232 * stdlib/secure-getenv.c: Rename __secure_getenv to
16233 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16234 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16235 * stdlib/tst-secure-getenv.c: New.
16236 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16237 * manual/startup.texi (Environment Access): Document
16238 secure_getenv.
84b3fd84
FW
16239 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16240 __libc_secure_getenv.
16241 * inet/ruserpass.c (ruserpass): Likewise.
16242 * malloc/mtrace.c (mtrace): Likewise.
16243 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16244 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16245 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16246 * sysdeps/posix/tempname.c: Likewise. Evaluate
16247 HAVE_SECURE_GETENV.
16248 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16249 __secure_getenv to __libc_secure_getenv.
84b3fd84 16250 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16252 Likewise.
16253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16254 Likewise.
16255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16257 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16262
56e49b71
JM
162632012-07-25 Joseph Myers <joseph@codesourcery.com>
16264
16265 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16266 (struct La_i86_retval): Likewise.
16267 (struct La_x86_64_regs): Likewise.
16268 (struct La_x86_64_retval): Likewise.
16269 (struct La_x32_regs): Likewise.
16270 (struct La_x32_retval): Likewise.
16271 (struct La_ppc32_regs): Likewise.
16272 (struct La_ppc32_retval): Likewise.
16273 (struct La_ppc64_regs): Likewise.
16274 (struct La_ppc64_retval): Likewise.
16275 (struct La_sh_regs): Likewise.
16276 (struct La_sh_retval): Likewise.
16277 (struct La_s390_32_regs): Likewise.
16278 (struct La_s390_32_retval): Likewise.
16279 (struct La_s390_64_regs): Likewise.
16280 (struct La_s390_64_retval): Likewise.
16281 (struct La_sparc32_regs): Likewise.
16282 (struct La_sparc32_retval): Likewise.
16283 (struct La_sparc64_regs): Likewise.
16284 (struct La_sparc64_retval): Likewise.
16285 (struct audit_ifaces): Remove architecture-specific pltenter and
16286 pltexit members.
16287 * sysdeps/i386/ldsodefs.h: New file.
16288 * sysdeps/powerpc/ldsodefs.h: Likewise.
16289 * sysdeps/s390/ldsodefs.h: Likewise.
16290 * sysdeps/sh/ldsodefs.h: Likewise.
16291 * sysdeps/sparc/ldsodefs.h: Likewise.
16292 * sysdeps/x86_64/ldsodefs.h: Likewise.
16293
354691b7
MP
162942012-07-25 Marek Polacek <polacek@redhat.com>
16295
16296 [BZ #6808]
16297 * math/libm-test.inc (yn_test): Add another test.
16298 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16299 to ERANGE when the result is +-Inf.
16300 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16301 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16302 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16303 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16304
bf9e2071
JM
163052012-07-24 Joseph Myers <joseph@codesourcery.com>
16306
16307 * conform/data/time.h-data (NULL): Use macro-constant. Require
16308 equal to 0.
16309 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16310 clock_t.
16311 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16312
57633811
TS
163132012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16314
16315 * configure.in <sysdeps resolving>: Correct printing
16316 Implies_before.
16317 * configure: Regenerate.
16318
c23c33b0
TS
163192012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16320
16321 * math/w_ilogb.c: Include <limits.h>.
16322 * math/w_ilogbl.c: Likewise.
16323
b5982523
JM
163242012-07-20 Joseph Myers <joseph@codesourcery.com>
16325
16326 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16327 va_copy. Document allowing for unavailable va_copy only as
16328 pre-C99 compatibility.
16329 * manual/string.texi (Copying and Concatenation): Use va_copy
16330 instead of __va_copy in concat example.
16331
ac4ea442
PT
163322012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16333
16334 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16335 (__sendto): Use create_address_port. Initialize APORT and deallocate
16336 it if not null.
16337
f98eafbd
PT
16338 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16339 with O_NOLINK passed to __file_name_lookup.
16340
898c7aab
PT
16341 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16342 with O_NOLINK passed to __file_name_lookup.
16343
0ced335a
PT
16344 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16345 negative N or less than NGIDS.
16346
b3404dbd
PT
16347 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16348 type to string_t. Set ERANGE as errno and return it if NAME is not big
16349 enough. Use memcpy instead of strncpy.
16350
0f48659e
JM
163512012-07-20 Joseph Myers <joseph@codesourcery.com>
16352
16353 * elf/Makefile (check-data): Remove.
16354 (localplt.data): New vpath directive.
16355 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16356 instead of $(check-data).
16357 * scripts/data/localplt-generic.data: Move to ...
16358 * sysdeps/generic/localplt.data: ... here.
16359 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16360 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16361 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16363 ... here.
16364 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16366 ... here.
16367 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16369 ... here.
16370 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16372 ... here.
16373 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16375 ... here.
16376 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16378 ... here.
16379
d37cbdaa
AZ
163802012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16381
16382 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16383 PPC32 and PPC64 files.
16384 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16385 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16386
46f85fc2
AK
163872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16388
16389 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16390 __makecontext_ret to ...
16391 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16392 ... here and call exit if uc_link is NULL. New file.
16393 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16394 __makecontext_ret.S.
16395 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16396 __makecontext_ret to ...
16397 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16398 ... here and call exit if uc_link is NULL. New file.
16399 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16400 __makecontext_ret.S.
16401
08f43f9b
AK
164022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16403
16404 * elf/elf.h (R_390_IRELATIVE): New definition.
16405 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16406 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16407 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16408 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16409 (elf_machine_lazy_rel): Likewise.
16410 * sysdeps/s390/dl-irel.h: New file.
16411 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16412 * sysdeps/s390/s390-64/memset.S: New asm code.
16413 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16414 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16415 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16416 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16417 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16418 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16419 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16420 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16421 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16422 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16423 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16424 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16425 * sysdeps/s390/s390-32/memset.S: New asm code.
16426 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16427
3b05db33
MP
164282012-07-17 Marek Polacek <polacek@redhat.com>
16429
16430 [BZ #14349]
16431 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16432 * sysdeps/s390/s390-64/configure.in: Likewise.
16433 * sysdeps/sparc/configure.in: Likewise.
16434 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16435 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16436 * sysdeps/i386/configure.in: Likewise.
16437 * sysdeps/x86_64/configure.in: Likewise.
16438 * sysdeps/sh/configure.in: Likewise.
16439 * sysdeps/s390/s390-32/configure: Regenerated.
16440 * sysdeps/s390/s390-64/configure: Likewise.
16441 * sysdeps/x86_64/configure: Likewise.
16442 * sysdeps/sh/configure: Likewise.
16443 * sysdeps/powerpc/powerpc64/configure: Likewise.
16444 * sysdeps/powerpc/powerpc32/configure: Likewise.
16445 * sysdeps/sparc/configure: Likwise.
16446 * sysdeps/i386/configure: Likewise.
16447
a66877c6
MP
16448 * elf/dl-open.c: Comment fixes.
16449
cfc82fd8
JM
164502012-07-17 Joseph Myers <joseph@codesourcery.com>
16451
bd29910a
JM
16452 * Makefile [CXX] (check-data): Remove.
16453 [CXX] (c++-types.data): New vpath directive.
16454 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16455 vpath. Do not allow for C++ type data being missing.
16456 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16457 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16458 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16459 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16460 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16461 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16462 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16464 ... here.
16465 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16467 ... here.
16468 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16470 ... here.
16471 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16473 ... here.
16474 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16476 ... here.
16477 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16479 ... here.
16480 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16482 ... here.
16483 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16485
cfc82fd8
JM
16486 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16487 definitions to architecture-specific files.
16488 (TLS_IE): Likewise.
16489 (TLS_LD): Likewise.
16490 (TLS_GD): Likewise.
16491 * sysdeps/i386/tls-macros.h: New file.
16492 * sysdeps/powerpc/tls-macros.h: Likewise.
16493 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16494 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16495 * sysdeps/sh/tls-macros.h: Likewise.
16496 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16497 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16498 * sysdeps/x86_64/tls-macros.h: Likewise.
16499
f7db3170
TS
165002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16501
07cbfc23
TS
16502 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16503 zero value for regular exit case.
16504
f7db3170
TS
16505 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16506 (__start_context): Preserve zero value for regular exit case.
16507
dc97c227
TS
165082012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16509 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16510
16511 * manual/setjmp.texi (setcontext): Clarify normal process
16512 termination when uc_link is the null pointer.
16513 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16514 exit call.
16515
d0cd7d02
AS
165162012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16517
16518 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16519 preprocessor. Test for each exception mask separately.
16520
dd318934
AJ
165212012-07-16 Andreas Jaeger <aj@suse.de>
16522
16523 * po/ru.po: Update from translation team.
16524
8048311a
JM
165252012-07-15 Joseph Myers <joseph@codesourcery.com>
16526
16527 * conform/data/string.h-data (NULL): Use macro-constant. Require
16528 equal to 0.
16529 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16530 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16531 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16532 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16533 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16534
b637d46e
AJ
165352012-07-13 Andreas Jaeger <aj@suse.de>
16536
16537 * po/fr.po: Update from translation team.
16538
541428fe
MP
165392012-07-12 Marek Polacek <polacek@redhat.com>
16540
16541 [BZ #14173]
16542 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16543 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16544 loop condition.
16545
ec332e94
JM
165462012-07-12 Joseph Myers <joseph@codesourcery.com>
16547
16548 [BZ #13717]
16549 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16550 Change to 2.4.1 where previously 2.4.0.
16551 * sysdeps/unix/sysv/linux/configure: Regenerated.
16552 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16553 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16554 version.
16555 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16556 (__ASSUME_AT_CLKTCK): Remove.
16557 (__ASSUME_AT_PAGESIZE): Likewise.
16558 (__ASSUME_AT_XID): Likewise.
16559 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16560 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16561 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16562 unconditionally.
16563 (HAVE_AUX_PAGESIZE): Likewise.
16564 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16565 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16566 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16567
7b6e99be
JB
165682012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16569
16570 [BZ #14307]
16571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16572 the temporary buffer used to invoke __gethostbyname2_r,
16573 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16574 host_data / struct gaih_addrtuple.
16575 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16576 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16577 header file nss/nsswitch.h.
16578 * nss/nsswitch.h (global scope): Add definition of implementation
16579 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16580 resolv/nss_dns/dns-host.c).
16581
608404eb
AJ
165822012-07-11 Andreas Jaeger <aj@suse.de>
16583
16584 * po/fr.po: Update from translation team.
16585
71220aca
AJ
16586 * po/sv.po: Update from translation team
16587 * po/fr.po: Another update from translation team.
16588
28cfe843
AZ
165892012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16590
16591 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16592 for subnormals or multiply small sinh result by itself.
16593 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16595
6b90f981
DM
165962012-07-11 David S. Miller <davem@davemloft.net>
16597
16598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16599
c6825772
AS
166002012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16601
16602 [BZ #14347]
16603 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16604 (INTERNAL_MARK): Shift it here.
16605
7b8e0d49
MP
166062012-07-10 Marek Polacek <polacek@redhat.com>
16607
16608 [BZ #14151]
16609 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16610 libc_cv_asm_global_directive with .globl.
16611 * configure: Regenerated.
16612 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16613 with .globl.
16614 * sysdeps/i386/configure: Regenerated.
16615 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16616 with .globl.
16617 * sysdeps/x86_64/configure: Regenerated.
16618 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16619 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16620 * elf/tst-unique2mod2.c: Likewise.
16621 * elf/tst-unique2mod1.c: Likewise.
16622 * elf/tst-unique1mod2.c: Likewise.
16623 * elf/tst-unique1mod1.c: Likewise.
16624 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16625 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16626 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16627 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16628 * sysdeps/mach/sysdep.h: Likewise.
16629 * sysdeps/i386/sysdep.h: Likewise.
16630 * sysdeps/i386/i386-mcount.S: Likewise.
16631 * sysdeps/x86_64/_mcount.S: Likewise.
16632 * sysdeps/x86_64/sysdep.h: Likewise.
16633 * sysdeps/sh/_mcount.S: Likewise.
16634 * sysdeps/sh/sysdep.h: Likewise.
16635 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16636 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16637 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16638 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16639 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16640 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16641 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16642 * locale/localeinfo.h: Likewise.
16643 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16644 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16645
6c55cda3
RM
166462012-07-09 Roland McGrath <roland@hack.frob.com>
16647
16648 [BZ #14336]
16649 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16650 system".
16651 * manual/message.texi (The Uniforum approach): Likewise.
16652 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16653 (glibc iconv Implementation): Likewise.
16654
638a572e
JM
166552012-07-09 Joseph Myers <joseph@codesourcery.com>
16656
16657 [BZ #14337]
16658 * math/s_clog.c (__clog): Avoid scaling a value down where that
16659 could result in underflow.
16660 * math/s_clog10.c (__clog10): Likewise.
16661 * math/s_clog10f.c (__clog10f): Likewise.
16662 * math/s_clog10l.c (__clog10l): Likewise.
16663 * math/s_clogf.c (__clogf): Likewise.
16664 * math/s_clogl.c (__clogl): Likewise.
16665 * math/libm-test.inc (clog_test): Add more tests.
16666 (clog10_test): Likewise.
16667 * sysdeps/i386/fpu/libm-test-ulps: Update.
16668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16669
261f4859
AS
166702012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16671
0abaf3e4
AS
16672 [BZ #14283]
16673 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16674 by 7 not 8 to examine high bit of fractional part.
16675
261f4859
AS
16676 [BZ #14042]
16677 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16678 for call to __mcount_internal.
16679 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16680 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16681 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16682
f17ac40d
JM
166832012-07-06 Joseph Myers <joseph@codesourcery.com>
16684
9ad63c23
JM
16685 [BZ #14154]
16686 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16687 approximation for values within 0x1p-13f of an odd multiple of
16688 pi/4.
16689 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16690 exception. Add more tests.
16691 * sysdeps/i386/fpu/libm-test-ulps: Update.
16692
f17ac40d
JM
16693 [BZ #6778]
16694 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16695 inputs and return -1 for them. Do not check for +Inf in case not
16696 reachable for +Inf.
16697 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16698 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16699 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16700 and return -1 for them. Do not check for +Inf in case not
16701 reachable for +Inf.
16702 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16703 define.
16704 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16705 and return -1 for them. Do not check for +Inf in case not
16706 reachable for +Inf.
16707 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16708 spurious underflow.
16709 * sysdeps/i386/fpu/libm-test-ulps: Update.
16710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16711
fb21f89b
MF
167122012-07-06 Mike Frysinger <vapier@gentoo.org>
16713
16714 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16715
cdfe2c5e
JM
167162012-07-05 Joseph Myers <joseph@codesourcery.com>
16717
16718 [BZ #14157]
16719 [BZ #14331]
16720 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16721 could result in spurious underflow. Scale down values above
16722 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16723 * math/s_csqrtf.c (__csqrtf): Likewise.
16724 * math/s_csqrtl.c (__csqrtl): Likewise.
16725 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16726 spurious underflow.
16727 * sysdeps/i386/fpu/libm-test-ulps: Update.
16728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16729
70d35b67
AS
167302012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16731
704bc459
AS
16732 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16733 xopen-msg.sed.
16734 * catgets/xopen-msg.awk: New file.
16735 * catgets/xopen-msg.sed: Removed.
16736
70d35b67
AS
16737 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16738 po2text.sed.
16739 * intl/po2test.awk: New file.
16740 * intl/po2test.sed: Removed.
16741
ca61cf32
JM
167422012-07-04 Joseph Myers <joseph@codesourcery.com>
16743
16744 [BZ #14328]
16745 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16746 or multiply small sinh result by itself.
16747 * math/s_ctanf.c (__ctanf): Likewise.
16748 * math/s_ctanh.c (__ctanh): Likewise.
16749 * math/s_ctanhf.c (__ctanhf): Likewise.
16750 * math/s_ctanhl.c (__ctanhl): Likewise.
16751 * math/s_ctanl.c (__ctanl): Likewise.
16752 * math/libm-test.inc (ctan_test_tonearest): New function.
16753 (ctan_test_towardzero): Likewise.
16754 (ctan_test_downward): Likewise.
16755 (ctan_test_upward): Likewise.
16756 (ctanh_test_tonearest): Likewise.
16757 (ctanh_test_towardzero): Likewise.
16758 (ctanh_test_downward): Likewise.
16759 (ctanh_test_upward): Likewise.
16760 (main): Call these new functions.
16761 * sysdeps/i386/fpu/libm-test-ulps: Update.
16762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16763
ca48a46a
MF
167642012-07-03 Mike Frysinger <vapier@gentoo.org>
16765
16766 * .gitignore: Delete /ports entry.
16767
9d63d37d
AJ
167682012-07-03 Andreas Jaeger <aj@suse.de>
16769
16770 * po/bg.po: Update from translation team.
16771 * po/cs.po: Likewise.
16772 * po/de.po: Likewise.
16773 * po/hr.po: Likewise.
16774 * po/nl.pl: Likewise.
16775 * po/pl.po: Likewise.
16776 * po/vi.po: Likewise.
16777
370ca3d2
JM
167782012-07-03 Joseph Myers <joseph@codesourcery.com>
16779
95f5a9a8
JM
16780 * Makeconfig [!+link] (+link-before-libc): New variable.
16781 [!+link] (+link-after-libc): Likewise.
16782 [!+link] (+link-tests): Likewise.
16783 [!+link] (+link): Define in terms of $(+link-before-libc) and
16784 $(+link-after-libc).
16785 [!+link-static] (+link-static-before-libc): New variable.
16786 [!+link-static] (+link-static-after-libc): Likewise.
16787 [!+link-static] (+link-static-tests): Likewise.
16788 [!+link-static] (+link-static): Define in terms of
16789 $(+link-static-before-libc) and $(+link-static-after-libc).
16790 [build-shared] (link-libc-before-gnulib): New variable.
16791 [build-shared] (link-libc-tests): Likewise.
16792 [build-shared] (link-libc): Define in terms of
16793 $(link-libc-before-gnulib).
16794 [!build-shared] (link-libc-tests): New variable.
16795 (link-libc-static-tests): New variable.
16796 [!gnulib] (gnulib-arch): New variable.
16797 [!gnulib] (gnulib-tests): Likewise.
16798 [!gnulib] (static-gnulib-arch): Likewise.
16799 [!gnulib] (static-gnulib-tests): Likewise.
16800 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16801 Define with "=" instead of ":=".
16802 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16803 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16804 * Rules (binaries-all-notests): New variable.
16805 (binaries-all-tests): Likewise.
16806 (binaries-static-notests): Likewise.
16807 (binaries-static-tests): Likewise.
16808 (binaries-all): Define using $(binaries-all-notests) and
16809 $(binaries-all-tests).
16810 (binaries-static): Define using $(binaries-static-notests) and
16811 $(binaries-static-tests).
16812 (binaries-shared-tests): New variable.
16813 (binaries-shared-notests): Likewise.
16814 (binaries-shared): Remove variable.
16815 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16816 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16817 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16818 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16819 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16820 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16821 * elf/Makefile (sln-modules): New variable.
16822 (extra-objs): Add $(sln-modules:=.o).
16823 (ldconfig-modules): Add static-stubs.
16824 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16825 * elf/static-stubs.c: New file.
16826
7a845b2c
JM
16827 [BZ #14283]
16828 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16829 by 7 not 8 to examine high bit of fractional part. Use volatile
16830 variables when splitting into final array of floats if
16831 __FLT_EVAL_METHOD__ != 0.
16832 * math/libm-test.inc (cos_test): Add another test.
16833 (sin_test): Likewise.
16834 * sysdeps/i386/fpu/libm-test-ulps: Update.
16835
e2283f38
JM
16836 [BZ #14273]
16837 * math/libm-test.inc (cosh_test): Add more tests.
16838
370ca3d2
JM
16839 * version.h (RELEASE): Set to "development".
16840 (VERSION): Set to "2.16.90".
16841
ee9247c3
CD
168422012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16843
16844 * NEWS: Update copyright. Remove last-updated date.
16845 Mention math library bug fixes and timezone data changes.
16846 * README: Mention GNU/Hurd, x32, and HPPA support status.
16847
4648c381
TS
168482012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16849
16850 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16851
aac78a43
AJ
168522012-06-27 Andreas Jaeger <aj@suse.de>
16853
16854 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16855
ed3dbfad
AJ
168562012-06-25 Andreas Jaeger <aj@suse.de>
16857
16858 * sysdeps/s390/fpu/libm-test-ulps: Update.
16859
4d0ee855
AS
168602012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16861 Thomas Schwinge <thomas@codesourcery.com>
16862
16863 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16864 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16865 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16866 fanotify_mark.
16867
af1bce34
TS
168682012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16869
a9fa33ba
TS
16870 * sysdeps/mach/start.c: Remove file.
16871 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16872 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16873 * sysdeps/sh/init-first.c: Likewise.
16874
58f902b8
TS
16875 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16876 registers for frame unwinding purposes, add CFI directives.
16877 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16878 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16879 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16880 Likewise.
16881
1518f58b
TS
16882 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16883 __fortify_fail returning.
16884 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16885
db9b5059
TS
16886 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16887 sysdeps/sh/____longjmp_chk.S.
16888 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16889 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16890 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16891 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16892
967705fe
TS
16893 * sysdeps/sh/abort-instr.h: New file.
16894 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16895 process in case exit returns.
16896
a9def8c4
TS
16897 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16898 initialize the GOT register before use.
16899
2a649725
TS
16900 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16901 calculation of ARGC > 4.
16902
af1bce34
TS
16903 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16904 meaningful names to some local labels.
16905
d230f50a
KK
169062012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16907 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16908
16909 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16910 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16911 (__arch_compare_and_exchange_val_16_acq): Likewise.
16912 (__arch_compare_and_exchange_val_32_acq): Likewise.
16913 (atomic_exchange_and_add): Fix gUSA sequence.
16914 (atomic_add): Likewise.
16915 (atomic_add_negative): Likewise.
16916 (atomic_add_zero): Likewise.
16917 (atomic_bit_test_set): Likewise.
16918
0479b305
AS
169192012-06-22 Andreas Schwab <schwab@redhat.com>
16920
16921 [BZ #13579]
16922 * include/link.h (struct link_map): Add l_free_initfini.
16923 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16924 l_initfini.
16925 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16926 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16927 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16928 set.
16929
0e3933b9
CD
169302012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16931
16932 * configure.in: Use AC_LANG_SOURCE.
16933 * configure: Regenerate.
16934
4248b1b1
RM
169352012-06-22 Roland McGrath <roland@hack.frob.com>
16936
16937 * configure.in (libc_cv_localstatedir): New substituted variable.
16938 * configure: Regenerated.
16939 * config.make.in (localstatedir): New variable, substituted from
16940 libc_cv_localstatedir.
16941 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16942 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16943 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16944 * sysdeps/gnu/configure: Regenerated.
16945
006dd861
JL
169462012-06-21 Jeff Law <law@redhat.com>
16947
16948 [BZ #14277]
16949 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16950 free. Simplify list management for _LIBC case.
16951
79662d42
JM
169522012-06-21 Joseph Myers <joseph@codesourcery.com>
16953
b7abb4bf
JM
16954 [BZ #14273]
16955 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16956 Clear sign bit of 64-bit integer value before comparing against
16957 overflow value.
16958
79662d42
JM
16959 * sysdeps/mach/configure: Regenerated.
16960
1f150908
L
169612012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16962
16963 [BZ #14278]
16964 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16965
28363bbf
JL
169662012-06-21 Jeff Law <law@redhat.com>
16967
16968 [BZ #13882]
16969 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16970 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16971 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16972 * elf/dl-open.c (dl_open_worker): Likewise.
16973
09615db4
CD
169742012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16975
16976 * scripts/list-sources.sh: Scan PORTS for translations.
16977 * po/libc.pot: Regenerated.
16978
2174c6dd
AJ
169792012-06-21 Andreas Jaeger <aj@suse.de>
16980
16981 [BZ #12194]
16982 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16983 warning.
16984 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16985 * bits/byteswap-16.h (__bswap_16): Likewise.
16986 * bits/byteswap.h (__bswap_constant_16): Likewise.
16987
3ee947b1
L
169882012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16989
16990 [BZ #14117]
a2f34833
L
16991 * sysdeps/i386/fpu_control.h: Removed.
16992 * sysdeps/x86_64/fpu_control.h: Moved to ...
16993 * sysdeps/x86/fpu_control.h: Here.
16994
3ee947b1
L
16995 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16996 (_FPU_SETCW): Likewise.
16997
ed1825f8
L
169982012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16999
25f1282a
L
17000 [BZ #14117]
17001 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17002 * sysdeps/x86/fpu/bits/mathinline.h: This.
17003 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17004
ed1825f8
L
17005 [BZ #14050]
17006 [BZ #14117]
17007 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17008 functions if __x86_64__ is defined.
17009
36d54b74
CLT
170102012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17011
17012 * string/endian.h: Add !__ASSEMBLER__ condition for including
17013 conversion interfaces.
17014
10285c21
JM
170152012-06-15 Joseph Myers <joseph@codesourcery.com>
17016
17017 [BZ #14241]
17018 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17019 of ABS(x) in calculating zero to negative powers other than odd
17020 integers.
17021 * math/libm-test.inc (pow_test): Add more tests.
17022
06c5abbd
AJ
170232012-06-15 Andreas Jaeger <aj@suse.de>
17024
17025 * manual/contrib.texi (Contributors): Update entry of Liubov
17026 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17027 Machado Filho.
17028
a3aeac40
CH
170292012-06-15 Cyril Hrubis <metan@ucw.cz>
17030
17031 * string/string.h: Add __wur to GNU version of strerror_r.
17032
49bdf4c1
L
170332012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17034
17035 [BZ #14229]
17036 * string/Makefile (tests): Add tst-strtok_r.
17037 * string/tst-strtok_r.c: New file.
17038 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17039 RAX_LP/RDX_LP on SAVE_PTR.
17040
834f9b8d
RM
170412012-06-14 Roland McGrath <roland@hack.frob.com>
17042
17043 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17044
75fa1921
JM
170452012-06-14 Joseph Myers <joseph@codesourcery.com>
17046
17047 * libm_test.inc (csqrt_test): Allow more spurious underflow
17048 exceptions.
17049 (j0_test): Likewise.
17050 (j1_test): Likewise.
17051 (y0_test): Likewise.
17052 (y1_test): Likewise.
17053
771766df
CD
170542012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17055
17056 * po/Makefile (libc.pot): Use UTF-8 charset.
17057
ceb9e56b
PP
170582012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17059
17060 [BZ #14210]
17061 Suppress sign-conversion warning from FD_SET.
17062 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17063 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17064 not unsigned long int.
17065 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17066
ddb28975
L
170672012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17068
17069 [BZ #14050]
17070 [BZ #14117]
17071 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17072 __extern_always_inline instead of __extern_inline.
17073 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17074 (__signbit): Likewise.
17075 (__signbitl): Support C++ namespace.
17076 (lrintf): New inline function.
17077 (lrint): Likewise.
17078 (llrintf): Likewise.
17079 (llrint): Likewise.
17080 (fmaxf): Likewise.
17081 (fmax): Likewise.
17082 (fminf): Likewise.
17083 (fmin): Likewise.
17084 (rint): Likewise.
17085 (rintf): Likewise.
17086 (ceil): Likewise.
17087 (ceilf): Likewise.
17088 (floor): Likewise.
17089 (floorf): Likewise.
17090 (nearbyint): Likewise.
17091 (nearbyintf): Likewise.
17092
d7b4fb26
TS
170932012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17094
17095 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17096 non-default versions.
17097
eb55f5c2
RM
170982012-06-11 Roland McGrath <roland@hack.frob.com>
17099
17100 [BZ #14218]
17101 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17102
366af02c
TS
171032012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17104
99ff6e5c
TS
17105 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17106 (FE_UPWARD, FE_DOWNWARD): Don't define.
17107 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17108 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17109
366af02c
TS
17110 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17111 reading it.
17112 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17113 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17114
793ea851
KK
171152012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17116
17117 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17118 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17119 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17120 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17121
a728a38f
L
171222012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17123
17124 [BZ #14117]
c08010c7
L
17125 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17126 * sysdeps/i386/fpu/Implies: New file.
17127 * sysdeps/x86_64/fpu/Implies: Likewise.
17128 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17129 * sysdeps/x86/fpu/bits/fenv.h: This.
17130
a728a38f
L
17131 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17132 __SSE_MATH__.
17133
6e230d11
SP
171342012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17135
17136 [BZ #14134]
17137 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17138 character 0xffff that matches the last element of the
17139 conversion table.
17140
1b671feb
AZ
171412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17142
17143 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17144 fmodl commit.
17145
6043738b
AZ
171462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17147
17148 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17149 values higher than 25.6283.
17150
34ae0b32
AZ
171512012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17152
17153 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17154 subnormal exponent extraction and add some __builtin_expect.
17155 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17156 Fix for subnormal mantissa calculation.
17157
1214ec8f
MF
171582012-06-04 Mike Frysinger <vapier@gentoo.org>
17159
17160 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17161 cpu2 is -1 and errno is not ENOSYS.
17162
f3d1f93c
L
171632012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17164
17165 [BZ #14117]
0e4a3cd7
L
17166 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17167 * sysdeps/x86/bits/string.h: This.
17168 * sysdeps/x86_64/bits/string.h: Removed.
17169
6704c645
L
17170 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17171 if not compiling for x86-64, but compiling for >= i486.
17172
48495318
L
17173 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17174 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17175
14adcbfc
L
17176 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17177 New macro from Linux kernel 3.4.0.
17178 (FP_XSTATE_MAGIC2): Likewise.
17179 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17180 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17181 (struct _fpx_sw_bytes): New struct.
17182 (struct _xsave_hdr): Likewise.
17183 (struct _ymmh_state): Likewise.
17184 (struct _xstate): Likewise.
17185
68e408ab
L
17186 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17187 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17188 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17189 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17190 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17191 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17192
f3d1f93c
L
17193 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17194 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17195 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17196 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17197 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17198 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17199
d9dc34cd
TMQMF
172002012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17201
17202 [BZ #13743]
17203 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17204 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17205 (sysdep_headers): Include sys/platform/ppc.h.
17206 * sysdeps/powerpc/test-gettimebase.c: Test for
17207 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17208 * manual/Makefile (appendices): Include platform.texi.
17209 * manual/contrib.texi (Contributors): Update @node pointers.
17210 * manual/maint.texi (Maintenance): Likewise.
17211 (Platform): New node.
17212 * manual/platform.texi: New file. Document the new features.
17213
4af3879c
SP
172142012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17215 Jakub Jelinek <jakub@redhat.com>
17216
17217 [BZ #14188]
17218 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17219 where __builtin_expect is unavailable.
17220
2fd6ff13
DM
172212012-06-03 David S. Miller <davem@davemloft.net>
17222
17223 * stdlib/longlong.h: Updated from GCC.
17224
173f7220
AS
172252012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17226
17227 [BZ #14042]
17228 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17229 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17230 __mcount_internal.
17231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17232 (GLIBC_2.16): Likewise.
17233
f34a1c6f
L
172342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17235
17236 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17237
88a4576f
JM
172382012-06-01 Joseph Myers <joseph@codesourcery.com>
17239
ea32bcdd
JM
17240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17241 (default-abi): New variable.
17242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17243 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17244 variable.
17245 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17246 Likewise.
17247 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17248 Likewise.
17249 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17250 Likewise.
17251
88a4576f
JM
17252 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17253 definition. Document in comment.
17254
402fe938
DM
172552012-06-01 David S. Miller <davem@davemloft.net>
17256
17257 * stdlib/longlong.h: Updated from GCC.
17258
3553723f
L
172592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17260
17261 [BZ #14117]
3bd872c4
L
17262 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17263 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17264 sys/debugreg.h sys/io.h here.
17265 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17266 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17267 sys/io.h.
17268 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17269 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17270 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17271 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17272 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17273 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17274
3553723f
L
17275 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17276 Define only if __x86_64__ is defined.
17277
4842e4fe
JM
172782012-06-01 Joseph Myers <joseph@codesourcery.com>
17279
c5bfe3d5
JM
17280 [BZ #14048]
17281 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17282 Use int64_t for variable i.
17283 * math/libm-test.inc (fmod_test): Add more tests.
17284
4842e4fe
JM
17285 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17286 z computation is not scheduled after fetestexcept.
17287 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17288 Use math_force_eval instead of asm to ensure calculation scheduled
17289 before exception test.
17290 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17291 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17292
efb73488
AJ
172932012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17294
17295 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17296 computation is not scheduled after fetestexcept.
17297
29bcce7c
L
172982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17299
17300 [BZ #14117]
17301 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17302 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17303
73a68f94
AZ
173042012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17305
17306 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17307 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17308
67b6df78
L
173092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17310
edf2933a 17311 [BZ #14117]
ebc64a18
L
17312 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17313 <bits/wordsize.h>.
17314 (__WCHAR_MIN): Support __WORDSIZE == 64.
17315 (__WCHAR_MAX): Likewise.
17316
edf2933a
L
17317 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17318 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17319
57c6cf40
L
17320 [BZ #14183]
17321 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17322 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17323
67b6df78 17324 [BZ #14117]
8eb6281e
L
17325 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17326 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17327
aac639f4
L
17328 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17329 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17330
67b6df78
L
17331 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17332 Defined to 1 if __x86_64__ isn't defined.
17333 (_STAT_VER_LINUX_OLD): New.
17334 (st_atime): Remove duplicate.
17335 (st_mtime): Likewise.
17336 (st_ctime): Likewise.
17337
1c2cfe81
DM
173382012-05-31 David S. Miller <davem@davemloft.net>
17339
17340 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17341 entries.
17342
5be8418c
AS
173432012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17344
e7725326
AS
17345 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17346 gen-libm-test.pl.
17347
5be8418c
AS
17348 [BZ #14132]
17349 * elf/dl-reloc.c: Include <_itoa.h>.
17350 (_dl_reloc_bad_type): Remove use of INTUSE.
17351 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17352 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17353 * stdio-common/psiginfo.c (psiginfo): Likewise.
17354 * stdio-common/psignal.c (psignal): Likewise.
17355 * string/strsignal.c (strsignal): Likewise.
17356 * include/signal.h (_sys_siglist): Declare hidden proto.
17357 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17358 INTVARDEF with libc_hidden_data_def.
17359 * stdio-common/itoa-udigits.c: Likewise.
17360 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17361 (_itoa_lower_digits_internal): Remove declaration.
17362 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17363 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17364 (_sys_sigabbrev_internal): Remove aliases.
17365 (_sys_siglist): Define hidden alias.
17366
507352f1
MT
173672012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17368
17369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17370 bits/sysctl.h.
17371
42bbb1c3
L
173722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17373
17374 [BZ #14117]
6bd784b6
L
17375 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17376 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17377
8bca20f0
L
17378 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17379 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17380 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17381 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17382 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17383 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17384
f9e890a9
L
17385 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17386 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17387 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17388
471101a1
L
17389 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17390 with __addr.
17391 (insw): Likewise.
17392 (insl): Likewise.
17393 (outsb): Likewise.
17394 (outsw): Likewise.
17395 (outsl): Likewise.
17396
6451c862
L
17397 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17398 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17399 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17400
a254b8c9
L
17401 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17402 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17403 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17404 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17405 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17406 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17407
b8dfdd92
L
17408 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17409 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17410
578cd270
L
17411 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17412 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17413
de662f5f
L
17414 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17415 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17416 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17417
25653439
L
17418 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17419 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17420 to ...
17421 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17422
6bad24a0
L
17423 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17424 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17425 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17426
42bbb1c3
L
17427 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17428 for x86-64.
17429 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17430
2d10d547
JM
174312012-05-31 Joseph Myers <joseph@codesourcery.com>
17432
17433 * math/math.h (M_El): Use two more decimal places.
17434 (M_LOG2El): Likewise.
17435 (M_LOG10El): Likewise.
17436 (M_LN2l): Likewise.
17437 (M_LN10l): Likewise.
17438 (M_PIl): Likewise.
17439 (M_PI_2l): Likewise.
17440 (M_PI_4l): Likewise.
17441 (M_1_PIl): Likewise.
17442 (M_2_PIl): Likewise.
17443 (M_2_SQRTPIl): Likewise.
17444 (M_SQRT2l): Likewise.
17445 (M_SQRT1_2l): Likewise.
17446
f230c29b
DM
174472012-05-31 David S. Miller <davem@davemloft.net>
17448
17449 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17450 values between float registers.
17451 * sysdeps/sparc/sparc64/memset.S: Likewise.
17452 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17453
fed806c3
MF
174542012-05-31 Mike Frysinger <vapier@gentoo.org>
17455
17456 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17457 -D_FORTIFY_SOURCE=1.
17458 (CPPFLAGS-tst-longjmp_chk.c): Define.
17459 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17460 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17461 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17462 CFLAGS-tst-wchar-h.c.
17463
30917259
MP
174642012-05-31 Marek Polacek <polacek@redhat.com>
17465
17466 [BZ #14132]
17467 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17468 __endmntent_internal): Remove declaration.
17469 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17470 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17471 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17472
1c58d5dc
DM
174732012-05-30 David S. Miller <davem@davemloft.net>
17474
17475 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17476 (___Q_simulate_exceptions): Use real FP ops rather than writing
17477 into the %fsr.
17478 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17479 Likewise.
17480
7dc00e0d
L
174812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17482
17483 [BZ #14117]
0bd53985
L
17484 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17485 * sysdeps/x86/bits/xtitypes.h: This.
17486
3a257e66
L
17487 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17488 * sysdeps/x86/bits/wordsize.h: This.
17489
62f62904
L
17490 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17491 * sysdeps/x86/bits/huge_vall.h: This.
17492
404fe9d9
L
17493 * sysdeps/i386/bits/select.h: Removed.
17494 * sysdeps/x86_64/bits/select.h: Renamed to ...
17495 * sysdeps/x86/bits/select.h: This.
17496
d48d0446
L
17497 * sysdeps/i386/bits/setjmp.h: Removed.
17498 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17499 * sysdeps/x86/bits/setjmp.h: This.
17500
7dc00e0d
L
17501 * sysdeps/i386/bits/mathdef.h: Removed.
17502 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17503 * sysdeps/x86/bits/mathdef.h: This.
17504
03277f8f
AS
175052012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17506
17507 [BZ #14132]
17508 * include/sys/socket.h (__connect_internal)
17509 (__libc_sa_len_internal): Remove declaration.
17510 (__connect, __libc_sa_len): Declare hidden_proto.
17511 (SA_LEN): Remove use of INTUSE.
17512 * socket/connect.c: Add libc_hidden_def.
17513 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17514 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17515 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17516 alias.
17517 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17518 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17519 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17520 of adding _internal alias.
17521
13764867
L
175222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17523
17524 [BZ #14117]
6bd97696
L
17525 * sysdeps/i386/bits/link.h: Removed.
17526 * sysdeps/i386/bits/linkmap.h: Likewise.
17527 * sysdeps/x86_64/bits/link.h: Renamed to ...
17528 * sysdeps/x86/bits/link.h: This.
17529 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17530 * sysdeps/x86/bits/linkmap.h: This.
17531
f726f0bb
L
17532 * sysdeps/i386/bits/endian.h: Removed.
17533 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17534 * sysdeps/x86/bits/endian.h: This.
17535
13764867
L
17536 * sysdeps/i386/bits/byteswap.h: Removed.
17537 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17538 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17539 * sysdeps/x86/bits/byteswap.h: This.
17540 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17541 * sysdeps/x86/bits/byteswap-16.h: This.
17542 * sysdeps/i386/Implies: Add x86.
17543 * sysdeps/x86_64/Implies: Likewise.
17544
ae251b0b
DM
175452012-05-30 David S. Miller <davem@davemloft.net>
17546
17547 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17548 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17549 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17550 (FP_TRAPPING_EXCEPTIONS): Define.
17551 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17552 (FP_TRAPPING_EXCEPTIONS): Define.
17553 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17554 subnormals only when inexact has been signalled or underflow
17555 exceptions are enabled.
17556 (_FP_PACK_CANONICAL): Likewise.
17557
d5c90867
L
175582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17559
17560 [BZ #14183]
17561 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17562 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17563
63f1549e
RH
175642012-05-30 Richard Henderson <rth@twiddle.net>
17565
8d8f2279
RH
17566 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17567 with #ifndef NOT_IN_libc.
17568
63f1549e
RH
17569 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17570 marked to avoid plt entry.
17571
0ab0291b
L
175722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17573
17574 [BZ #14112]
17575 * Makeconfig (default-abi): New macro.
17576 (abi-includes): Likewise.
17577 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17578 $(abi-$(default-abi)-lib-soname) for soname if defined.
17579 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17580 abi-variants.
17581 * Makefile (installed-stubs): Likewise.
17582 * include/stubs-biarch.h: Removed.
17583 * scripts/lib-names.awk: Only handle one library at a time.
17584 * scripts/soversions.awk: Remove WORDSIZE support.
17585 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17586 entries.
17587 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17588 Removed.
17589 (syscall-list-default-condition): Likewise.
17590 (syscall-list-default-condition): Likewise.
17591 (syscall-list-includes): Likewise.
17592 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17593 syscall-list-* with abi-*. Handle undefined abi-variants.
17594 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17595 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17596 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17597 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17598 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17599 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17600 Removed.
17601 (syscall-list-32-options): Likewise.
17602 (syscall-list-32-condition): Likewise.
17603 (syscall-list-64-options): Likewise.
17604 (syscall-list-64-condition): Likewise.
17605 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17606 macro.
17607 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17608 Renamed to ...
17609 (abi-*): This.
17610 (abi-64-ld-soname): New macro.
17611 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17612 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17613 Renamed to ...
17614 (abi-*): This.
17615 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17616 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17617
4da0431d
JM
176182012-05-30 Joseph Myers <joseph@codesourcery.com>
17619
3a85279c
JM
17620 * sysdeps/unix/sysv/linux/kernel-features.h
17621 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17622 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17623 include <kernel-features.h>.
17624 [!__NR_ftruncate64]: Remove conditional code.
17625 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17626 [__NR_ftruncate64]: Make code unconditional.
17627 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17628 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17629 include <kernel-features.h>.
17630 [!__NR_ftruncate64]: Remove conditional code.
17631 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17632 [__NR_ftruncate64]: Make code unconditional.
17633 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17635 include <kernel-features.h>.
17636 [!__NR_ftruncate64]: Remove conditional code.
17637 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17638 [__NR_ftruncate64]: Make code unconditional.
17639 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17641 include <kernel-features.h>.
17642 [!__NR_ftruncate64]: Remove conditional code.
17643 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17644 [__NR_ftruncate64]: Make code unconditional.
17645 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17646
4da0431d
JM
17647 * configure.in (libc_cv_fpie): Weaken to a compile test using
17648 LIBC_TRY_CC_OPTION.
17649 * configure: Regenerated.
17650
11ef492c
AK
176512012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17652
17653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17657 Refreshed.
17658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17664 Refreshed.
17665
d66ef399
DM
176662012-05-27 David S. Miller <davem@davemloft.net>
17667
17668 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17669 (___Q_zero): New.
17670 (__Q_simulate_exceptions): Return void. Change to simulate
17671 exceptions by writing into the %fsr.
17672 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17673 (__Qp_handle_exceptions): Likewise.
17674 (numbers): Delete.
17675 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17676 __Qp_handle_exceptions.
17677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17678 __Qp_handle_exceptions.
17679 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17680 as unused and give dummy FP_RND_NEAREST initializer.
17681 (FP_INHIBIT_RESULTS): Define.
17682 (___Q_simulate_exceptions): Update declaration.
17683 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17684 formatting.
17685 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17686 as unused and give dummy FP_RND_NEAREST initializer.
17687 (__Qp_handle_exceptions): Update declaration.
17688 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17689 formatting.
17690
04fb54b5
TS
176912012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17692
17693 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17694 the temporary FPU control word.
17695 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17696 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17697 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17698 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17699 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17700 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17701 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17702 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17703 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17704 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17705 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17706
3f99608f
KK
177072012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17708
17709 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17710 fields.
17711
65a4de4e
CLT
177122012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17713
17714 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17715 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17716 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17717 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17718 Likewise.
17719 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17720 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17721 Likewise.
17722
15749d40
UD
177232012-05-27 Ulrich Drepper <drepper@gmail.com>
17724
17725 * po/h.po: Update from translation team.
17726
25dbcb27
AS
177272012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17728
3d3f8e55
AS
17729 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17730
25dbcb27
AS
17731 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17732 handling of denormals.
17733 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17734 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17735 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17736 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17737 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17738 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17739 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17740 Likewise.
17741
7ad47a80 177422012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17743
17744 [BZ #14152]
17745 * math/libm-test.inc (fma_test): Don't always expect underflow
17746 exception.
17747
9c6ea9fa
SP
177482012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17749
17750 [BZ #12416]
17751 * elf/tst-execstack.c: Include stackinfo.h.
17752 (do_test): Adjust test case to ensure that pthread_getattr_np
17753 behaviour remains the same after marking stack executable.
17754
a8239222
JM
177552012-05-25 Joseph Myers <joseph@codesourcery.com>
17756
17757 * sysdeps/unix/sysv/linux/kernel-features.h
17758 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17759 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17760 kernel-features.h.
17761 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17762 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17763 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17764 kernel-features.h.
17765 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17766 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17767
918b5606
L
177682012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17769
17770 * configure.in: Define the default includes to being none.
17771 * configure: Regenerated.
17772
3a097cc7
RM
177732012-05-25 Roland McGrath <roland@hack.frob.com>
17774
8422c9a5
RM
17775 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17776 * sysdeps/x86_64/setjmp.S: Likewise.
17777 * sysdeps/i386/bsd-setjmp.S: Likewise.
17778 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17779 * sysdeps/i386/setjmp.S: Likewise.
17780 * sysdeps/i386/__longjmp.S: Likewise.
17781 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17782 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17783
3a097cc7
RM
17784 * include/stap-probe.h: New file.
17785 * configure.in: Handle --enable-systemtap.
17786 * configure: Regenerated.
17787 * config.h.in (USE_STAP_PROBE): New #undef.
17788 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17789 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17790 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17791
21708942
JM
177922012-05-25 Joseph Myers <joseph@codesourcery.com>
17793
17794 [BZ #13717]
17795 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17796 to 2.4.0 where earlier.
17797 * sysdeps/unix/sysv/linux/configure: Regenerated.
17798 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17799 <kernel-features.h>.
17800 [__ASSUME_32BITUIDS]: Make code unconditional.
17801 [!__ASSUME_32BITUIDS]: Remove conditional code.
17802 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17803 <kernel-features.h>.
17804 [__ASSUME_32BITUIDS]: Make code unconditional.
17805 [!__ASSUME_32BITUIDS]: Remove conditional code.
17806 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17807 [__ASSUME_32BITUIDS]: Make code unconditional.
17808 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17809 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17810 <kernel-features.h>.
17811 [__ASSUME_32BITUIDS]: Make code unconditional.
17812 [!__ASSUME_32BITUIDS]: Remove conditional code.
17813 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
17822 <kernel-features.h>.
17823 [__ASSUME_32BITUIDS]: Make code unconditional.
17824 [!__ASSUME_32BITUIDS]: Remove conditional code.
17825 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17826 <kernel-features.h>.
17827 [__ASSUME_32BITUIDS]: Make code unconditional.
17828 [!__ASSUME_32BITUIDS]: Remove conditional code.
17829 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17830 <kernel-features.h>.
17831 [__ASSUME_32BITUIDS]: Make code unconditional.
17832 [!__ASSUME_32BITUIDS]: Remove conditional code.
17833 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17834 <kernel-features.h>.
17835 [__ASSUME_32BITUIDS]: Make code unconditional.
17836 [!__ASSUME_32BITUIDS]: Remove conditional code.
17837 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17838 <kernel-features.h>.
17839 [__ASSUME_32BITUIDS]: Make code unconditional.
17840 [!__ASSUME_32BITUIDS]: Remove conditional code.
17841 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17842 <kernel-features.h>.
17843 [__ASSUME_32BITUIDS]: Make code unconditional.
17844 [!__ASSUME_32BITUIDS]: Remove conditional code.
17845 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17846 <kernel-features.h>.
17847 [__ASSUME_32BITUIDS]: Make code unconditional.
17848 [!__ASSUME_32BITUIDS]: Remove conditional code.
17849 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17850 <kernel-features.h>.
17851 [__NR_setresgid] (__setresgid): Do not declare.
17852 [__ASSUME_32BITUIDS]: Make code unconditional.
17853 [!__ASSUME_32BITUIDS]: Remove conditional code.
17854 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17855 <kernel-features.h>.
17856 [__NR_setresuid] (__setresuid): Do not declare.
17857 [__ASSUME_32BITUIDS]: Make code unconditional.
17858 [!__ASSUME_32BITUIDS]: Remove conditional code.
17859 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17860 <kernel-features.h>.
17861 [__ASSUME_32BITUIDS]: Make code unconditional.
17862 [!__ASSUME_32BITUIDS]: Remove conditional code.
17863 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17864 <kernel-features.h>.
17865 [__ASSUME_32BITUIDS]: Make code unconditional.
17866 [!__ASSUME_32BITUIDS]: Remove conditional code.
17867 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17868 <kernel-features.h>.
17869 [__ASSUME_32BITUIDS]: Make code unconditional.
17870 [!__ASSUME_32BITUIDS]: Remove conditional code.
17871 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17872 <kernel-features.h>.
17873 [__ASSUME_32BITUIDS]: Make code unconditional.
17874 [!__ASSUME_32BITUIDS]: Remove conditional code.
17875 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17876 <kernel-features.h>.
17877 [__ASSUME_32BITUIDS]: Make code unconditional.
17878 [!__ASSUME_32BITUIDS]: Remove conditional code.
17879 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17880 <kernel-features.h>.
17881 [__ASSUME_32BITUIDS]: Make code unconditional.
17882 [!__ASSUME_32BITUIDS]: Remove conditional code.
17883 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17884 <kernel-features.h>.
17885 [__ASSUME_32BITUIDS]: Make code unconditional.
17886 [!__ASSUME_32BITUIDS]: Remove conditional code.
17887 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17888 <kernel-features.h>.
17889 [__ASSUME_32BITUIDS]: Make code unconditional.
17890 [!__ASSUME_32BITUIDS]: Remove conditional code.
17891 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17892 <kernel-features.h>.
17893 [__ASSUME_32BITUIDS]: Make code unconditional.
17894 [!__ASSUME_32BITUIDS]: Remove conditional code.
17895 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17896 <kernel-features.h>.
17897 [__ASSUME_32BITUIDS]: Make code unconditional.
17898 [!__ASSUME_32BITUIDS]: Remove conditional code.
17899 * sysdeps/unix/sysv/linux/kernel-features.h
17900 (__ASSUME_SETRESUID_SYSCALL): Remove.
17901 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17902 (__ASSUME_32BITUIDS): Likewise.
17903 (__ASSUME_LDT_WORKS): Likewise.
17904 (__ASSUME_O_DIRECTORY): Likewise.
17905 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17906 architecture but not kernel version.
17907 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17908 (__ASSUME_MMAP2_SYSCALL): Likewise.
17909 (__ASSUME_STAT64_SYSCALL): Likewise.
17910 (__ASSUME_IPC64): Likewise.
17911 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17912 <kernel-features.h>.
17913 [__ASSUME_32BITUIDS]: Make code unconditional.
17914 [!__ASSUME_32BITUIDS]: Remove conditional code.
17915 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17916 <kernel-features.h>.
17917 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17918 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17919 132096]: Remove conditional code.
17920 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17921 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17922 <kernel-features.h>.
17923 [__ASSUME_32BITUIDS]: Make code unconditional.
17924 [!__ASSUME_32BITUIDS]: Remove conditional code.
17925 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17926 <kernel-features.h>.
17927 [__ASSUME_32BITUIDS]: Make code unconditional.
17928 [!__ASSUME_32BITUIDS]: Remove conditional code.
17929 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17930 <kernel-features.h>.
17931 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17932 unconditional.
17933 (__setresgid): Do not declare.
17934 [__ASSUME_32BITUIDS]: Make code unconditional.
17935 [!__ASSUME_32BITUIDS]: Remove conditional code.
17936 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17937 <kernel-features.h>.
17938 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17939 unconditional.
17940 (__setresuid): Do not declare.
17941 [__ASSUME_32BITUIDS]: Make code unconditional.
17942 [!__ASSUME_32BITUIDS]: Remove conditional code.
17943 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17944 <kernel-features.h>.
17945 [__ASSUME_32BITUIDS]: Make code unconditional.
17946 [!__ASSUME_32BITUIDS]: Remove conditional code.
17947 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17948 <kernel-features.h>.
17949 [__ASSUME_32BITUIDS]: Make code unconditional.
17950 [!__ASSUME_32BITUIDS]: Remove conditional code.
17951
a386f1cc
RH
179522012-05-25 Richard Henderson <rth@twiddle.net>
17953
17954 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17955 dl_hwcap to ifunc resolver.
17956 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17957 elf_ifunc_invoke.
17958 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17959 dl_hwcap to ifunc resolver.
17960 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17961
b6550497
JM
179622012-05-24 Joseph Myers <joseph@codesourcery.com>
17963
17964 [BZ #14153]
17965 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17966 for |x| <= 2**-26, not 2**-57.
17967 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17968 exception.
17969
b0bc23a1
JL
179702012-05-24 Jeff Law <law@redhat.com>
17971
17972 * stdio-common/Makefile (tests): Add bug25.
17973 * stdio-common/bug25.c: New test.
17974
347c92e9
L
179752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17976
17977 [BZ #13576]
17978 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17979 multiple of MALLOC_ALIGNMENT in size.
17980 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17981
6bcc8b3f
JM
179822012-05-24 Joseph Myers <joseph@codesourcery.com>
17983
17984 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17985 Require >= 256.
17986 (FILENAME_MAX): Use macro-int-constant.
17987 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17988 (_IOFBF): Use macro-int-constant.
17989 (_IOLBF): Likewise.
17990 (_IONBF): Likewise.
17991 (SEEK_CUR): Likewise.
17992 (SEEK_END): Likewise.
17993 (SEEK_SET): Likewise.
17994 (TMP_MAX): Likewise.
17995 (EOF): Use macro-int-constant. Require < 0.
17996 (NULL): Use macro-constant. Require == 0.
17997 (stdin): Require type to be FILE *.
17998 (stdout): Likewise.
17999 (stderr): Likewise.
18000 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18001 macro-int-constant.
18002 (EXIT_SUCCESS): Likewise.
18003 (NULL): Use macro-constant. Require == 0.
18004 (RAND_MAX): Use macro-int-constant.
18005 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18006 [C99-based standards] (strtof): Require function.
18007 [C99-based standards] (strtold): Likewise.
18008 [C99-based standards] (strtoll): Likewise.
18009 [C99-based standards] (strtoull): Likewise.
18010 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18011 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18012 [ISO || ISO99 || ISO11] (math.h): Likewise.
18013 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18014 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18015 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18016
d18ea0c5
AS
180172012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18018
18019 [BZ #14132]
56d25bb8
AS
18020 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18021 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18022 * intl/dgettext.c (DCGETTEXT): Likewise.
18023 * intl/gettext.c (DCGETTEXT): Likewise.
18024 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18025 * posix/regex_internal.h (gettext): Likewise.
18026 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18027 Remove declaration.
18028 * include/argz.h (__argz_count_internal)
18029 (__argz_stringify_internal): Remove declaration.
18030 (__argz_count, __argz_stringify): Declare hidden proto.
18031 * intl/dcgettext.c: Remove use of INTDEF.
18032 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18033 * string/argz-stringify.c: Likewise.
18034 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18035 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18036 Declare hidden proto.
d18ea0c5
AS
18037 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18038 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18039 Declare hidden proto.
18040 * include/stdio.h (__asprintf_internal): Don't declare.
18041 (__asprintf): Don't define as macro. Declare hidden proto.
18042 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18043 (__fsetlocking): Declare hidden proto.
18044 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18045 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18046 hidden proto.
18047 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18048 (_IO_setlinebuf): Remove use of INTUSE.
18049 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18050 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18051 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18052 Remove declaration.
18053 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18054 (_IO_do_flush): Remove use of INTUSE.
18055 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18056 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18057 (_IO_adjust_column, _IO_least_wmarker)
18058 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18059 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18060 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18061 (_IO_default_doallocate, _IO_wdefault_doallocate)
18062 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18063 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18064 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18065 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18066 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18067 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18068 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18069 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18070 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18071 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18072 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18073 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18074 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18075 proto.
18076 (_IO_flush_all_internal, _IO_adjust_column_internal)
18077 (_IO_default_uflow_internal, _IO_default_finish_internal)
18078 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18079 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18080 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18081 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18082 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18083 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18084 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18085 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18086 (_IO_file_close_internal, _IO_file_close_it_internal)
18087 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18088 (_IO_file_init_internal, _IO_file_attach_internal)
18089 (_IO_file_fopen_internal, _IO_file_read_internal)
18090 (_IO_file_sync_internal, _IO_file_seek_internal)
18091 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18092 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18093 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18094 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18095 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18096 (_IO_list_all_internal, _IO_link_in_internal)
18097 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18098 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18099 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18100 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18101 (_IO_do_write_internal, _IO_padn_internal)
18102 (_IO_getline_info_internal, _IO_getline_internal)
18103 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18104 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18105 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18106 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18107 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18108 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18109 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18110 with libc_hidden_ver, remove use of INTUSE.
18111 * libio/genops.c: Likewise.
18112 * libio/freopen.c: Likewise.
18113 * libio/freopen64.c: Likewise.
18114 * libio/iofclose.c: Likewise.
18115 * libio/iofdopen.c: Likewise.
18116 * libio/iofflush.c: Likewise.
18117 * libio/iofflush_u.c: Likewise.
18118 * libio/iofgets.c: Likewise.
18119 * libio/iofgets_u.c: Likewise.
18120 * libio/iofopen.c: Likewise.
18121 * libio/iofopncook.c: Likewise.
18122 * libio/iofread.c: Likewise.
18123 * libio/iofread_u.c: Likewise.
18124 * libio/ioftell.c: Likewise.
18125 * libio/iofwrite.c: Likewise.
18126 * libio/iogetline.c: Likewise.
18127 * libio/iogets.c: Likewise.
18128 * libio/iogetwline.c: Likewise.
18129 * libio/iopadn.c: Likewise.
18130 * libio/iopopen.c: Likewise.
18131 * libio/ioseekoff.c: Likewise.
18132 * libio/ioseekpos.c: Likewise.
18133 * libio/iosetbuffer.c: Likewise.
18134 * libio/iosetvbuf.c: Likewise.
18135 * libio/ioungetc.c: Likewise.
18136 * libio/ioungetwc.c: Likewise.
18137 * libio/iovdprintf.c: Likewise.
18138 * libio/iovsprintf.c: Likewise.
18139 * libio/iovsscanf.c: Likewise.
18140 * libio/memstream.c: Likewise.
18141 * libio/obprintf.c: Likewise.
18142 * libio/oldfileops.c: Likewise.
18143 * libio/oldiofclose.c: Likewise.
18144 * libio/oldiofdopen.c: Likewise.
18145 * libio/oldiofopen.c: Likewise.
18146 * libio/oldiopopen.c: Likewise.
18147 * libio/oldstdfiles.c: Likewise.
18148 * libio/putc.c: Likewise.
18149 * libio/setbuf.c: Likewise.
18150 * libio/setlinebuf.c: Likewise.
18151 * libio/stdfiles.c: Likewise.
18152 * libio/strops.c: Likewise.
18153 * libio/vasprintf.c: Likewise.
18154 * libio/vscanf.c: Likewise.
18155 * libio/vsnprintf.c: Likewise.
18156 * libio/vswprintf.c: Likewise.
18157 * libio/wfiledoalloc.c: Likewise.
18158 * libio/wfileops.c: Likewise.
18159 * libio/wgenops.c: Likewise.
18160 * libio/wmemstream.c: Likewise.
18161 * libio/wstrops.c: Likewise.
18162 * libio/__fpurge.c: Likewise.
18163 * libio/__fsetlocking.c: Likewise.
18164 * assert/assert.c: Likewise.
18165 * debug/fgets_chk.c: Likewise.
18166 * debug/fgets_u_chk.c: Likewise.
18167 * debug/fread_chk.c: Likewise.
18168 * debug/fread_u_chk.c: Likewise.
18169 * debug/gets_chk.c: Likewise.
18170 * debug/obprintf_chk.c: Likewise.
18171 * debug/vasprintf_chk.c: Likewise.
18172 * debug/vdprintf_chk.c: Likewise.
18173 * debug/vsnprintf_chk.c: Likewise.
18174 * debug/vsprintf_chk.c: Likewise.
18175 * malloc/mtrace.c: Likewise.
18176 * misc/error.c: Likewise.
18177 * misc/syslog.c: Likewise.
18178 * stdio-common/asprintf.c: Likewise.
18179 * stdio-common/fxprintf.c: Likewise.
18180 * stdio-common/getw.c: Likewise.
18181 * stdio-common/isoc99_fscanf.c: Likewise.
18182 * stdio-common/isoc99_scanf.c: Likewise.
18183 * stdio-common/isoc99_vfscanf.c: Likewise.
18184 * stdio-common/isoc99_vscanf.c: Likewise.
18185 * stdio-common/isoc99_vsscanf.c: Likewise.
18186 * stdio-common/printf-prs.c: Likewise.
18187 * stdio-common/printf_fp.c: Likewise.
18188 * stdio-common/printf_fphex.c: Likewise.
18189 * stdio-common/printf_size.c: Likewise.
18190 * stdio-common/putw.c: Likewise.
18191 * stdio-common/scanf.c: Likewise.
18192 * stdio-common/sprintf.c: Likewise.
18193 * stdio-common/tmpfile.c: Likewise.
18194 * stdio-common/vfprintf.c: Likewise.
18195 * stdio-common/vfscanf.c: Likewise.
18196 * stdlib/strfmon_l.c: Likewise.
18197 * sunrpc/openchild.c: Likewise.
18198 * sunrpc/xdr_stdio.c: Likewise.
18199 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18200 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18201
d6c33fda
RM
182022012-05-24 Roland McGrath <roland@hack.frob.com>
18203
c1487492
RM
18204 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18205
18206 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18207 in the third column, to generate for the shared library an IFUNC
18208 that uses _dl_vdso_vsym.
18209 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18210 * Makeconfig (object-suffixes-noshared): New variable.
18211
18212 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18213 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18214 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18215 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18216
d6c33fda
RM
18217 [BZ #14132]
18218 * include/sys/time.h (__gettimeofday): Remove macro.
18219 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18220 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18221 Remove INTDEF.
18222 (__gettimeofday): Add libc_hidden_def.
18223 (gettimeofday): Add libc_hidden_weak.
18224 * sysdeps/mach/gettimeofday.c: Likewise.
18225 * sysdeps/posix/gettimeofday.c: Likewise.
18226 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18227 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18228 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18229 (__gettimeofday_internal): Remove strong_alias.
18230 (__gettimeofday): Add libc_hidden_def.
18231 (gettimeofday): Add libc_hidden_weak.
18232 * sysdeps/unix/syscalls.list (gettimeofday):
18233 Remove __gettimeofday_internal alias.
18234
b5a2bbe6
L
182352012-05-24 Daniel Jacobowitz <drow@false.org>
18236 H.J. Lu <hongjiu.lu@intel.com>
18237
18238 [BZ #12495]
18239 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18240 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18241 (largebin_index_32_big): New.
18242 (largebin_index): Use it for 16-byte alignment.
18243 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18244 correction with front_misalign.
18245
cfba4fda
L
182462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18247
7f907421
L
18248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18250 Likewise.
18251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18252 Likewise.
18253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18254 Likewise.
18255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18256 Likewise.
18257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18258 Likewise.
18259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18260 Likewise.
18261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18262 Likewise.
18263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18264 Likewise.
18265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18266 Likewise.
18267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18268 Likewise.
18269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18270 Likewise.
18271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18272 Likewise.
18273
cfba4fda
L
18274 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18275 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18276
80bad0cc
JM
182772012-05-24 Joseph Myers <joseph@codesourcery.com>
18278
7a25eb06
JM
18279 [BZ #10846]
18280 [BZ #14036]
18281 * math/libm-test.inc (exp_test): Add test from bug 14036.
18282 (pow_test): Add test from bug 10846.
18283
795405f9
JM
18284 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18285 and other flags.
18286 (special_function): Do not include flags in test name.
18287 (parse_args): Likewise.
18288 * sysdeps/i386/fpu/libm-test-ulps: Update.
18289 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18290 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18291 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18293
80bad0cc
JM
18294 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18295 exceptions.
18296 * math/libm-test.inc ("Philosophy"): Update comment about
18297 exception testing.
18298 (UNDERFLOW_EXCEPTION): New macro.
18299 (UNDERFLOW_EXCEPTION_OK): Likewise.
18300 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18301 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18302 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18303 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18304 (INVALID_EXCEPTION_OK): Update value.
18305 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18306 (OVERFLOW_EXCEPTION_OK): Likewise.
18307 (IGNORE_ZERO_INF_SIGN): Likewise.
18308 (test_exceptions): Handle underflow exceptions.
18309 (acos_test): Update for underflow exception expectations.
18310 (cexp_test): Likewise.
18311 (clog_test): Likewise.
18312 (clog10_test): Likewise.
18313 (csqrt_test): Likewise.
18314 (ctan_test): Likewise.
18315 (ctanh_test): Likewise.
18316 (exp_test): Likewise.
18317 (exp10_test): Likewise.
18318 (exp2_test): Likewise.
18319 (expm1_test): Likewise.
18320 (fma_test): Likewise.
18321 (j0_test): Likewise.
18322 (jn_test): Likewise.
18323 (nexttoward_test): Likewise.
18324 (pow_test): Likewise.
18325 (scalbn_test): Likewise.
18326 (scalbln_test): Likewise.
18327 (tan_test): Likewise.
18328 (y1_test): Likewise.
18329 * sysdeps/i386/fpu/libm-test-ulps: Update.
18330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18331
9e0e3d0b
DM
183322012-05-23 David S. Miller <davem@davemloft.net>
18333
18334 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18335 (__libc_sigaction): Remove unused local variables.
18336
ccd0a08f
L
183372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18338
18339 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18340
62bdf9a6
PE
183412012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18342
f8591f80
PE
18343 mktime: avoid signed integer overflow
18344 * time/mktime.c (__mktime_internal): Do not mishandle the case
18345 where diff == INT_MIN.
18346
94c7d826
PE
18347 mktime: simplify computation of average
18348 * time/mktime.c (ranged_convert): Use new time_t_avg function
18349 instead of rolling our own (probably-slower) code.
18350
ce73d683
PE
18351 mktime: do not assume signed right shift propagates sign bit
18352 * time/mktime.c (isdst_differ): New static function.
18353 (__mktime_internal): No need to normalize tm_isdst now.
18354 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18355 tm_isdst values.
18356
72a22e59
PE
18357 mktime: merge another wrapv change from gnulib
18358 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18359 from some compilers.
18360
68605433
PE
18361 mktime: remove incorrect attempt at unusual arithmetics
18362 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18363 The code didn't really work on such machines anyway.
18364 (TYPE_MINIMUM): Assume two's complement.
18365 (twos_complement_arithmetic): Verify that long_int and time_t
18366 are two's complement (or unsigned, in the latter case).
18367
03cf7fe3
PE
18368 mktime: check signed shifts on long_int and time_t, too
18369 * time/mktime.c (SHR): Check that shifts work as desired
18370 on the types long_int and time_t too, as SHR is used on
18371 such types.
18372
f04dfbc2
PE
18373 mktime: do not assume 'long' is wide enough
18374 * time/mktime.c (verify): Move decl up.
18375 (long_int): New type.
18376 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18377 to remove assumption in the code that 'long' is wide enough to
18378 store year values. This assumption is not true on x32 and on
18379 some non-glibc platforms.
18380
62bdf9a6
PE
18381 mktime: merge wrapv change from gnulib
18382 * time/mktime.c (WRAPV): New macro.
18383 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18384 (guess_time_tm, __mktime_internal): Do not assume that signed
18385 integer overflow wraps around; modern compilers generate code
18386 where this assumption is no longer valid.
18387
5e292e4f
L
183882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18389
18390 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18391 Replace "jmp L(pseudo_end)" with "ret".
18392 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18393 Likewise.
18394
8caf8c87
AJ
183952012-05-23 Andreas Jaeger <aj@suse.de>
18396
18397 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18398 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18399
1a09dc56
AJ
184002012-05-23 Andreas Jaeger <aj@suse.de>
18401 Maximilian Attems <max@stro.at>
18402
18403 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18404 New macros.
18405
1c87aba0
L
184062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18407
18408 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18409 code so that pseudo_end is just ret and the stack pointer is
18410 correct also for static library in error case.
18411
40e45bd5
JM
184122012-05-23 Joseph Myers <joseph@codesourcery.com>
18413
c2670533
JM
18414 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18415 move to syscalls.list.
18416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18420
40e45bd5
JM
18421 * manual/install.texi (Running make install): Do not mention Linux
18422 kernel version for which pt_chown is not needed.
18423 (Linux): Do not mention problems with nscd with 2.0 kernels.
18424 * INSTALL: Regenerated.
18425
be08eda5
AJ
184262012-05-23 Andreas Jaeger <aj@suse.de>
18427
18428 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18429 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18430 macro.
18431 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18432 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18433 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18434 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18435 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18436 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18437 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18438 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18439 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18440 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18441 * sysdeps/unix/sysv/linux/bits/in.h
18442 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18443
a6a056bb
RM
184442012-05-22 Roland McGrath <roland@hack.frob.com>
18445
18446 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18447 (PREPARE_VERSION): Just use assert instead, it will be elided
18448 under [NDEBUG] anyway.
18449
c9009328
L
184502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18451
18452 * sysdeps/unix/sysv/linux/Makefile: Include
18453 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18454 (sysdep_routines): Remove sysctl.
c9009328
L
18455 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18456 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18457 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18458 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18459 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18460
73338355
AJ
184612012-05-22 Andreas Jaeger <aj@suse.de>
18462
18463 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18464 that pseudo_end is just ret and the stack pointer is correct also
18465 for static library in error case.
18466
d44638b0
PP
184672012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18468
18469 [BZ #14122]
18470 * nss/nsswitch.c (defconfig_entries): New variable.
18471 (__nss_database_lookup): Don't leak defconfig entries.
18472 (nss_parse_service_list): Don't leak on error paths.
18473 (free_database_entries): New function.
18474 (free_defconfig): New function.
18475 (free_mem): Move common code to free_database_entries.
18476
31a39bd8
L
184772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18478
da0331a8
L
18479 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18480 Add arch_prctl.
18481 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18482
31a39bd8
L
18483 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18484 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18485 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18486 New macro.
18487 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18488 (INTERNAL_SYSCALL_TYPES): Likewise.
18489 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18490 (LOAD_REGS_TYPES_[1-6]): Likewise.
18491 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18492 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18493
45470df3
AZ
184942012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18495
18496 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18497 copysignl for GLIBC_2_0.
18498 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18499 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18500 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18501 logbl for GLIBC_2_0.
18502 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18503 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18504
98a61bcb
L
185052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18506
a4f6e481
L
18507 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18508 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18509
f63d5db6
L
18510 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18511 Use "neg %eax".
18512
98a61bcb
L
18513 * time/mktime.c: Update copyright years.
18514
95770f14
PE
185152012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18516
6226efbd
PE
18517 mktime: merge comment-quoting-style change from gnulib
18518 * time/mktime.c: Quote 'like this' in comments.
18519 The GNU coding standards suggest that we no longer quote `like this',
18520 as "`" and "'" are typically rendered asymmetrically nowadays.
18521 The typical gnulib style is to quote 'like this' when quoting
18522 code, and "like this" when quoting English.
18523
b99e4f78
PE
18524 * time/mktime.c (compile-command): Add "-I.".
18525
643e01e6
PE
18526 mktime: merge mktime-internal.h change from gnulib
18527 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18528
2554247d
PE
18529 mktime: merge time_r change from gnulib
18530 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18531
826dd0ab
PE
18532 mktime: merge DEBUG change from gnulib
18533 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18534 case system <time.h> has a #define.
18535
bd83aabe
PE
18536 mktime: merge <sys/types.h> change from gnulib
18537 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18538 since <time.t> is now guaranteed to define time_t.
18539
95770f14
PE
18540 mktime: merge HAVE_CONFIG_H change from gnulib
18541 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18542
5e1a27a9
L
185432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18544
0e44a77e
L
18545 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18546 Use "neg %eax".
18547
5e1a27a9
L
18548 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18549 __rlim_t cast.
18550 (struct rusage): Use anonymous union to pad each field to
18551 __syscall_slong_t.
18552
46259bec
DM
185532012-05-21 David S. Miller <davem@davemloft.net>
18554
18555 * Makefules (o-iterator): Remove .s cases.
18556 (compile-command.s): Delete.
18557 (COMPILE.s): Delete.
18558 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18559
59f0c22e
JM
185602012-05-21 Joseph Myers <joseph@codesourcery.com>
18561
18562 * configure.in (libc_cv_predef_stack_protector): Only consider
18563 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18564 * configure: Regenerated.
18565
20c07380
L
185662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18567
bbb3154b
L
18568 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18569 New macro. Use R*LP on int and pointer.
18570 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18571 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18572 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18573 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18574
20c07380
L
18575 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18576 [__WORDSIZE_TIME64_COMPAT32] instead of
18577 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18578 (struct utmp): Likewise.
18579 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18580 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18581 Renamed to ...
18582 (__WORDSIZE_TIME64_COMPAT32): This.
18583 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18584 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18585 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18586 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18587 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18588 (__WORDSIZE_TIME64_COMPAT32): New macro.
18589
d8d1017e
AJ
185902012-05-21 Andreas Jaeger <aj@suse.de>
18591
18592 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18593 only if [SHARED]. Add prototype for __wcschr_ia32.
18594
6c7fb145
RM
185952012-05-21 Roland McGrath <roland@hack.frob.com>
18596
18597 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18598 of %rbp unmolested in the jmp_buf while mangling the low bits.
18599 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18600 unmolested high bits of %rbp while demangling the low bits.
18601 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18602
66274218
AJ
186032012-05-21 Andreas Jaeger <aj@suse.de>
18604
07c58f8f
AJ
18605 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18606 * sunrpc/svc_simple.c: Use it for registerrpc.
18607 * sunrpc/xcrypt.c: Use it for passwd2des.
18608
66274218
AJ
18609 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18610
61f65140
L
186112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18612
18613 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18614 Don't define if [__SYSCALL_WORDSIZE != 32].
18615 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18616 New macro.
18617
5fefb436
AJ
186182012-05-21 Bruno Haible <bruno@clisp.org>
18619 Andreas Jaeger <aj@suse.de>
18620
18621 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18622 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18623 inptr and inend for must_buffer_ch.
18624 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18625 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18626 * stdio-common/Makefile (tests): Remove bug15.
18627 (bug15-ENV): Remove macro.
18628 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18629 anymore.
18630
d8e272ab
AJ
186312012-05-19 Andreas Jaeger <aj@suse.de>
18632 Roland McGrath <roland@hack.frob.com>
18633
18634 * manual/contrib.texi: Completely rewritten. It contains now an
18635 alphabetical list of contributors and their contributions.
18636
4a56a162
RH
186372012-05-21 Richard Henderson <rth@twiddle.net>
18638
18639 * misc/getauxval.c (__getauxval): Use unsigned long int.
18640 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18641 (getauxval): Use unsigned long int.
18642
d024d23c
L
186432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18644
18645 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18646
cbc00a03
RM
186472012-05-21 Roland McGrath <roland@hack.frob.com>
18648
18649 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18650 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18651 __alignof__ (long double).
18652
478143fa
AZ
186532012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18654
18655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18656
c7683a6d
RH
186572012-05-20 Richard Henderson <rth@twiddle.net>
18658
18659 * misc/getauxval.c: New file.
18660 * misc/sys/auxv.h: New file.
18661 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18662 (routines): Add getauxval.
18663 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18664 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18665 * elf/dl-sysdep.c (_dl_auxv): Remove.
18666 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18667 * elf/dl-support.c (_dl_auxv): New variable.
18668 (_dl_aux_init): Initialize it.
18669 * manual/startup.texi (Auxiliary Vector): New node.
18670 * sysdeps/generic/bits/hwcap.h: New file.
18671 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18672 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18673 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18674 * sysdeps/sparc/sysdep.h: ... here. Include it.
18675 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18676 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18678 Update.
c7683a6d
RH
18679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18682 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18687
a6f1845d
AZ
186882012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18689
18690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18691
cbcbe830
DM
186922012-05-19 David S. Miller <davem@davemloft.net>
18693
18694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18695
e0b16cc2
JM
186962012-05-19 Joseph Myers <joseph@codesourcery.com>
18697
18698 [BZ #14123]
18699 * math/s_ccosh.c: Include <float.h>
18700 (__ccosh): Avoid internal overflow calculating sinh and cosh
18701 values before multiplying by sin and cos values.
18702 * math/s_ccoshf.c: Likewise.
18703 * math/s_ccoshl.c: Likewise.
18704 * math/s_csin.c: Likewise.
18705 * math/s_csinf.c: Likewise.
18706 * math/s_csinl.c: Likewise.
18707 * math/s_csinh.c: Likewise.
18708 * math/s_csinhf.c: Likewise.
18709 * math/s_csinhl.c: Likewise.
18710 * math/libm-test.inc (ccos_test): Add more tests.
18711 (ccosh_test): Likewise.
18712 (csin_test): Likewise.
18713 (csinh_test): Likewise.
18714 * sysdeps/i386/fpu/libm-test-ulps: Update.
18715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18716
6ad13e08
L
187172012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18718
f66f0ce8
L
18719 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18720 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18721
6ad13e08
L
18722 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18723
b1d072a7
JM
187242012-05-19 Joseph Myers <joseph@codesourcery.com>
18725
18726 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18727 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18728 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18729 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18730 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18731 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18732 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18733 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18734 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18735 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18736 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18737 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18738 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18739 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18740 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18741 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18742 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18743 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18744 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18745 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18746 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18747 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18748 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18749 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18750 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18751 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18752 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18753 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18754 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18755 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18756 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18757
9eae47cb
AJ
187582012-05-18 Andreas Jaeger <aj@suse.de>
18759
18760 * csu/.gitignore: Delete.
18761
bb07f69f
L
187622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18763
18764 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18765 (timex): Use __syscall_slong_t.
18766
e6bdb741
AJ
187672012-05-18 Andreas Jaeger <aj@suse.de>
18768 Carlos O'Donell <carlos_odonell@mentor.com>
18769
18770 * manual/install.texi (Configuring and compiling): Update
18771 description about files modified in the source directory.
d6c33fda 18772 * INSTALL: Regenerated.
e6bdb741 18773
1b74487e
L
187742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18775
18776 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18777 value. Use "or" to set return value to -1.
18778 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18779 negate return value.
18780
a88b64b9
TMQMF
187812012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18782
18783 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18784 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18785 failure if the compiler has Graphite support disabled.
18786 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18787 Likewise.
18788 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18789 CFLAGS-memmove.c): Likewise.
18790 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18791 Likewise.
18792
3707636e
L
187932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18794
610b8622
L
18795 * sysdeps/x86_64/x32/_itoa.h: New file.
18796
7cd195df
L
18797 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18798 getdents system call only if kernel and user dirents have the
18799 same d_ino and d_off.
18800
94b07d20
L
18801 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18802 LLONG_MAX != LONG_MAX.
18803 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18804 (_fitoa_word): Likewise.
18805
18298070
L
18806 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18807 years.
18808 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18809 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18810 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18811
553c7ea4
L
18812 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18813 include <bits/wordsize.h>. Check __x86_64__ instead of
18814 __WORDSIZE.
18815 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18816 if __x86_64__ is defined. Use anonymous union on fpstate.
18817
3707636e
L
18818 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18819 anonymous union.
18820
b53ef01a
AS
188212012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18822
37fb1dc0
AS
18823 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18824 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18825 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18826 Refer to _rtld_local_ro instead of _rtld_global_ro.
18827 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18828 Likewise.
18829 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18830 Likewise.
18831 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18832 Likewise.
18833 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18834 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18835 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18836
b53ef01a
AS
18837 * sysdeps/powerpc/powerpc32/dl-machine.c
18838 (__elf_machine_runtime_setup) [PROF]: Don't reference
18839 _dl_prof_resolve.
18840
7a185db2
AJ
188412012-05-18 Andreas Jaeger <aj@suse.de>
18842
18843 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18844 function only available for GCCs before 3.4 since GCC 3.4
18845 introduced a builtin.
18846 (lrint): Likewise.
18847 (llrintf): Likewise.
18848 (llrint): Likewise.
18849 (fmaxf): Likewise.
18850 (fmax): Likewise.
18851 (fminf): Likewise.
18852 (fmin): Likewise.
18853 (rint): Likewise.
18854 (rintf): Likewise.
18855 (nearbyint): Likewise.
18856 (nearbyintf): Likewise.
18857 (ceil): Likewise.
18858 (ceilf): Likewise.
18859 (floor): Likewise.
18860 (floorf): Likewise.
18861
3e5aef87
L
188622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18863
428bd707
L
18864 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18865 on both fields and cast pointer to __syscall_ulong_t.
18866
3e5aef87
L
18867 * bits/types.h (__fsword_t): New type.
18868 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18869 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18870 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18871 (__FSWORD_T_TYPE): Likewise.
18872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18873 (__FSWORD_T_TYPE): Likewise.
18874 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18875 (__FSWORD_T_TYPE): Likewise.
18876 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18877 (__FSWORD_T_TYPE): Likewise.
18878 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18879 __SWORD_TYPE with __fsword_t.
18880 (statfs64): Likewise.
18881
1ba7c3dc
DM
188822012-05-17 David S. Miller <davem@davemloft.net>
18883
18884 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18885
59910343
AJ
188862012-05-17 Andreas Jaeger <aj@suse.de>
18887
18888 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18889 warning.
18890
2e4c1e9e
L
188912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18892
18893 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18894
de7f5ce7
AJ
188952012-05-17 Andreas Jaeger <aj@suse.de>
18896
18897 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18898 when it is used.
18899
286abc3d
CM
189002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18901
18902 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18903
477cc68e
L
189042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18905
18906 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18907 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18908
1a0994f5
CD
189092012-05-17 Andreas Jaeger <aj@suse.de>
18910 Carlos O'Donell <carlos_odonell@mentor.com>
18911
18912 [BZ #14059]
18913 * sysdeps/x86_64/multiarch/init-arch.h
18914 (bit_YMM_Usable): Rename to...
18915 (bit_AVX_Usable): ... this.
18916 (bit_FMA4_Usable): New macro.
18917 (bit_XMM_state): New macro.
18918 (bit_YMM_state): New macro.
18919 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18920 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18921 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18922 (CPUID_OSXSAVE): New macro.
18923 (CPUID_AVX): New macro.
18924 (CPUID_FMA4): New macro.
18925 (index_YMM_Usable): Rename to...
18926 (index_AVX_Usable): ... this.
18927 (HAS_AVX): Use HAS_ARCH_FEATURE.
18928 (HAS_FMA4): Likewise.
18929 (HAS_YMM_USABLE): Remove.
18930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18931 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18932 are present.
18933 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18934 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18935 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18936 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18937 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18938
0af797de
CM
189392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18940
18941 * math/libm-test.c: Support platforms without multiple rounding modes.
18942 * math/bug-nextafter.c: Support platforms without FP exceptions.
18943 * math/bug-nexttoward.c: Likewise.
18944 * math/test-fenv.c: Likewise.
18945 * math/test-misc.c: Likewise.
18946 * stdlib/bug-getcontext.c: Likewise.
18947
e39745ff
AJ
189482012-05-17 Andreas Jaeger <aj@suse.de>
18949
18950 * manual/examples/search.c (critter_cmp): Change signature to
18951 avoid warnings.
18952 * manual/string.texi (Collation Functions): Likewise.
18953
48970aba
L
189542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18955
18956 * bits/types.h: Fold copyright years.
18957 * bits/typesizes.h: Likewise.
18958 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18959 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18960 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18961 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18962 * time/time.h: Likewise.
18963
bedee953
PP
189642012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18965
18966 [BZ #208]
18967 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18968 in instead of returning them. Return void.
18969 (__libc_mallinfo): Accumulate over all arenas.
18970 (__malloc_stats): Adjust for change in int_mallinfo interface.
18971
61653dfb
RM
189722012-05-16 Roland McGrath <roland@hack.frob.com>
18973
30b99d79
RM
18974 [BZ #10375]
18975 * configure.in (NM): Add AC_CHECK_TOOL for it.
18976 (libc_extra_cflags): New substituted variable.
18977 Check for -fstack-protector being used implicitly.
18978 * configure: Regenerated.
18979 * config.make.in (config-extra-cflags): New variable,
18980 gets @libc_extra_cflags@.
18981 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18982
61653dfb
RM
18983 [BZ #10375]
18984 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18985 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18986 * configure: Regenerated.
18987 * config.make.in (CPPUNDEFS): New substituted variable.
18988 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18989 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18990 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18991
661768bb
L
189922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18993
18994 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18995 (mq_attr): Use __syscall_slong_t.
18996
d4261567
L
189972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18998
18999 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19000 Check __x86_64__ instead of __WORDSIZE.
19001 (_STAT_VER_LINUX): Likewise.
19002 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19003 __syscall_ulong_t and __syscall_slong_t.
19004 (stat64): Likewise.
19005
cf3ff365
L
190062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19007
19008 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19009
76cf3e4d
L
190102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19011
19012 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19013
a637753a
L
190142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19015
19016 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19017 __syscall_ulong_t.
19018
d5e05119
L
19019 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19020 include <bits/wordsize.h>. Check __x86_64__ instead of
19021 __WORDSIZE.
19022 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19023 defined.
19024 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19025
f62ee380
L
19026 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19027 include <bits/wordsize.h>. Check __x86_64__ instead of
19028 __WORDSIZE.
19029 (user_regs_struct): Use "__extension__ unsigned long long"
19030 instead of "unsigned long" if __x86_64__ is defined.
19031 (user): Likewise. Pad after pointer field if __ILP32__ is
19032 defined.
19033
4e124ced
JM
190342012-05-16 Joseph Myers <joseph@codesourcery.com>
19035
6a3951a0
JM
19036 * configure.in (makeinfo): Require version 4.5 or later. Allow
19037 versions 5 to 9.
19038 * configure: Regenerated.
19039 * manual/install.texi (texinfo): Increase version requirement to
19040 4.5 or later.
19041 * INSTALL: Regenerated.
19042
4e124ced
JM
19043 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19044
953ca31a
L
190452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19046
19047 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19048
617aca05
L
19049 * sysdeps/x86_64/x32/ffs.c: New file.
19050
5762f7ae
L
19051 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19052 __syscall_ulong_t.
19053 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19054 defined. Use __syscall_ulong_t.
19055 (shminfo): Use __syscall_ulong_t.
19056 (shm_info): Likewise.
19057
a26b6856
L
19058 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19059 __syscall_ulong_t.
19060
cb2b9ef7
L
19061 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19062 <bits/wordsize.h>.
19063 (msgqnum_t): Use __syscall_ulong_t.
19064 (msglen_t): Likewise.
19065 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19066 __syscall_ulong_t.
19067
34683bb0
L
19068 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19069 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19070
84a68786
L
19071 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19072
48baa5f1
L
19073 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19074 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19075
180be88b
L
19076 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19077 __syscall_slong_t.
19078
5e90c8ad
L
19079 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19080 include <bits/wordsize.h>. Check __x86_64__ instead of
19081 __WORDSIZE.
19082
23dfb58b
L
19083 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19084 "unsigned long long int" if __x86_64__ is defined.
19085 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19086
ce5d54b0
L
19087 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19088 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19089 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19090
13dc9eac
L
19091 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19092 <stdint.h>.
19093 (GET_PC): Cast to uintptr_t first.
19094 (GET_FRAME): Likewise.
19095 (GET_STACK): Likewise.
19096
a7895d15
L
19097 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19098 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19099 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19100 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19101 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19102 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19103 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19104 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19105 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19106 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19107 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19108 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19109 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19110 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19111 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19112 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19113 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19114 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19115 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19116 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19117 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19118 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19119 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19120 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19121 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19122 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19123 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19124 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19125 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19126
656416c9
AS
191272012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19128
5bd66283
AS
19129 * Makerules (+depfiles): Also collect depfiles from .oS in
19130 $(extra-objs).
19131 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19132 .oS, $(libnldbl-routines)).
19133
656416c9
AS
19134 * Makerules (native-compile-mkdep-flags): Define.
19135 * sunrpc/Makefile (extra-objs): Add $(addprefix
19136 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19137 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19138 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19139 calling $(make-target-directory).
19140
a46f2169
L
191412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19142
19143 * bits/types.h (__snseconds_t): Removed.
19144 * time/time.h (struct timespec): Replace __snseconds_t with
19145 __syscall_slong_t.
19146 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19147 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19148 Likewise.
19149 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19150 (__SNSECONDS_T_TYPE): Likewise.
19151 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19152 (__SNSECONDS_T_TYPE): Likewise.
19153 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19154 (__SNSECONDS_T_TYPE): Likewise.
19155
6af6528b
L
191562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19157
19158 * sysdeps/mach/hurd/bits/typesizes.h
19159 (__SYSCALL_SLONG_TYPE): New macro.
19160 (__SYSCALL_ULONG_TYPE): Likewise.
19161
de986b56
L
191622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19163
19164 * bits/types.h (__syscall_slong_t): New type.
19165 (__syscall_ulong_t): Likewise.
19166
19167 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19168 (__SYSCALL_ULONG_TYPE): Likewise.
19169 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19170 (__SYSCALL_SLONG_TYPE): Likewise.
19171 (__SYSCALL_ULONG_TYPE): Likewise.
19172 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19173 (__SYSCALL_SLONG_TYPE): Likewise.
19174 (__SYSCALL_ULONG_TYPE): Likewise.
19175 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19176 (__SYSCALL_SLONG_TYPE): Likewise.
19177 (__SYSCALL_ULONG_TYPE): Likewise.
19178
85736dc7
L
191792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19180
19181 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19182 Add sigaltstack-offsets.sym.
19183 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19184 <sigaltstack-offsets.h>.
19185 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19186 longjmp_msg pointer.
19187 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19188 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19189 signal stack.
19190 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19191
cc03b296
JM
191922012-05-15 Joseph Myers <joseph@codesourcery.com>
19193
a9538892
JM
19194 * elf/stackguard-macros.h: Remove file.
19195 * sysdeps/generic/stackguard-macros.h: New file.
19196 * sysdeps/i386/stackguard-macros.h: Likewise.
19197 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19198 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19199 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19200 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19201 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19202 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19203 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19204 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19205 <elf/stackguard-macros.h>.
19206
cc03b296
JM
19207 [BZ #14109]
19208 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19209 __aligned__ in attribute.
19210 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19211 (gregset_t): Likewise.
19212
93171016
L
192132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19214
19215 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19216 * sysdeps/x86_64/64/Implies-after: Here. New file.
19217 * sysdeps/x86_64/x32/Implies-after: New file.
19218
d86813a0
L
192192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19220
19221 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19222 and access return value for _dl_profile_fixup. Use R10_LP to
19223 load frame size.
19224
2953ec75
L
192252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19226
19227 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19228
3b550e9e
L
192292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19230
19231 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19232 * sysdeps/x86_64/x32/sysdep.h: New file.
19233
eda41706
L
192342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19235
19236 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19237 * sysdeps/x86_64/setjmp.S: Likewise.
19238
9ea01d93
AZ
192392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19240
19241 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19242 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19243 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19244 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19245 remove unused global constant.
19246
02a91938
CM
192472012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19248
19249 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19250 include of <not-cancel.h>.
19251
6540185f
RM
192522012-05-15 Roland McGrath <roland@hack.frob.com>
19253
19254 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19255
509072a0
AJ
192562012-05-15 Jeff Law <law@redhat.com>
19257 Andreas Jaeger <aj@suse.de>
19258
19259 [BZ #13594]
19260 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19261 out from...
19262 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19263 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19264 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19265 code changing __hst_map_handle.map.
19266
ba75122d
RM
192672012-05-15 Roland McGrath <roland@hack.frob.com>
19268
19269 * configure.in (sysnames): Look for Implies-before and Implies-after
19270 files.
19271 * configure: Regenerated.
19272
890d8bd8
L
192732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19274
19275 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19276 8-byte data alignment with LP_SIZE alignment.
19277
f6ee6623
L
192782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19279
19280 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19281 into R10_LP.
19282
ea2626f6
L
192832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19284
19285 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19286
085f715e
L
192872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19288
19289 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19290 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19291 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19292 Likewise.
19293 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19294
be8498fc
L
192952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19296
19297 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19298 (stackinfo_sub_sp): Likewise.
19299
70bc83b9
L
193002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19301
19302 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19303 RAX_LP.
19304
9bc0b730
L
193052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19306
19307 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19308 into R*_LP.
19309
6d2850e7
L
193102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19311
19312 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19313 sizes into R*_LP.
19314
3cb84561
L
193152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19316
19317 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19318
54e2ed81
L
193192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19320
19321 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19322 into R11_LP and load __x86_64_shared_cache_size_half into
19323 R8_LP.
19324
8a17f349
L
193252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19326
19327 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19328 R8_LP.
19329
777b1eea
AZ
193302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19331
19332 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19333 logb for POWER7.
19334 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19335 logbf for POWER7.
19336 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19337 logbl for POWER7.
19338 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19339 powerpc32/power7/fpu/s_logb.c via #include.
19340 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19341 powerpc32/power7/fpu/s_logbf.c via #include.
19342 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19343 powerpc32/power7/fpu/s_logbl.c via #include.
19344
d20d4ac2
JM
193452012-05-15 Joseph Myers <joseph@codesourcery.com>
19346
19347 * README.libm: Remove file.
19348
6cdef1ab
L
193492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19350
19351 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19352 count for x32. Use R*_LP and omit operand-size suffix.
19353
0b254d8f
L
193542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19355
19356 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19357 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19358 * sysdeps/x86_64/x32/shlib-versions: New file.
19359
ceb809dc
RM
193602012-05-14 Roland McGrath <roland@hack.frob.com>
19361
19362 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19363 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19364 Use _dl_fatal_printf instead.
19365
37f1abd4
JM
193662012-05-14 Joseph Myers <joseph@codesourcery.com>
19367
19368 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19369 set if not set by the user. Do not allow for being unset.
19370 * sysdeps/unix/sysv/linux/configure: Regenerated.
19371
11de3a33
L
193722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19373
19374 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19375 the `q' suffix from lea and replace .quad with ASM_ADDR.
19376
e02f153a
L
193772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19378
19379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19380 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19381 instead of $17.
19382 (PTR_DEMANGLE): Likewise.
19383
520ae0fd
L
193842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19385
19386 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19387 (LP_OP): Likewise.
19388 (ASM_ADDR): Likewise.
19389 (RAX_LP): Likewise.
19390 (RBP_LP): Likewise.
19391 (RBX_LP): Likewise.
19392 (RCX_LP): Likewise.
19393 (RDI_LP): Likewise.
19394 (RSI_LP): Likewise.
19395 (RSP_LP): Likewise.
19396 (R8_LP): Likewise.
19397 (R9_LP): Likewise.
19398 (R10_LP): Likewise.
19399 (R10_LP): Likewise.
19400 (R11_LP): Likewise.
19401 (R12_LP): Likewise.
19402 (R13_LP): Likewise.
19403 (R14_LP): Likewise.
19404 (R15_LP): Likewise.
19405
b985be81
L
194062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19407
19408 * sysdeps/x86_64/x32/dl-machine.h: New file.
19409
6a4888ff
AJ
194102012-05-14 Andreas Jaeger <aj@suse.de>
19411
19412 * manual/Makefile (subdir): Remove export of subdir.
19413 (all): Remove target.
19414 (.PHONY): Remove all from list.
19415 (mkinstalldirs): Remove.
19416 (.PHONY): Remove installdirs from list.
19417 ($(inst_infodir)/libc.info): Use make-target-directory.
19418 (installdirs): Remove.
19419 (subdir_%): Remove.
19420 (glibc-targets): Remove.
19421 (lib): Remove.
19422 (stubs): Remove.
19423 ($(objpfx)stubs ../po/manual.pot): Remove.
19424 ($(objpfx)stamp%): Remove.
19425 (make-target-directory): Remove.
19426 (subdir_install): Remove.
19427 (routines): Remove.
19428 (aux): Remove.
19429 (sources): Remove.
19430 (objects): Remove.
19431 (headers): Remove.
19432
19433 [BZ #13750]
19434 * manual/.gitignore: Remove, it's not needed anymore.
19435 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19436 all files in it.
19437 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19438 directory.
19439 (texis): Renamed to $(objpfx)texis.
19440 (texis-path): New, contains path to generated files.
19441 (chapters.%): Use texis-path for complete path, add extra argument
19442 libc-texinfo.sh.
19443 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19444 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19445 (summary,texi, stamp-summary): Use complete path of
19446 files. Generate files in build dir.
19447 (dir-add.texi): Build in build dir.
19448 (libm-err.texi,stamp-libm-err): Likewise.
19449 (version.texi, stamp-version): Likewise.
19450 (.%c.texi): Likewise.
19451 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19452 (mostlyclean): Remove target.
19453 (realclean): Remove target.
19454 (generated): Add new variable with contents from mostlyclean and
19455 realclean, remove entries duplicated in common-mostlyclean, add
19456 stamp-libm-err and stamp-version.
19457 (generated-dirs): Add libc directory.
19458 ($(inst_infodir)/libc.info): Install files from build dir.
19459
19460 * manual/install.texi (Configuring and compiling): Adjust since
19461 the info files are not part of the tar ball anymore.
19462
7ac77294
AJ
194632012-05-14 Andreas Jaeger <aj@suse.de>
19464
19465 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19466 variable.
19467
ffb7875d
JM
194682012-05-14 Joseph Myers <joseph@codesourcery.com>
19469
19470 [BZ #13717]
19471 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19472 to 2.2.0 where earlier.
19473 * sysdeps/unix/sysv/linux/configure: Regenerated.
19474 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19475 Remove conditional code.
19476 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19477 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19478 Remove conditional code.
19479 [!__NR_lchown]: Likewise.
19480 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19481 [__NR_lchown]: Likewise.
19482 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19483 comment referencing __ASSUME_LCHOWN_SYSCALL.
19484 * sysdeps/unix/sysv/linux/i386/sigaction.c
19485 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19486 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19487 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19488 Remove conditional code.
19489 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19490 (__protocol_available): Remove #if 0 code.
19491 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19492 conditional code.
19493 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19494 * sysdeps/unix/sysv/linux/kernel-features.h
19495 (__ASSUME_GETCWD_SYSCALL): Don't define.
19496 (__ASSUME_REALTIME_SIGNALS): Likewise.
19497 (__ASSUME_PREAD_SYSCALL): Likewise.
19498 (__ASSUME_PWRITE_SYSCALL): Likewise.
19499 (__ASSUME_POLL_SYSCALL): Likewise.
19500 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19501 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19502 non-SPARC.
19503 (__ASSUME_SIOCGIFNAME): Don't define.
19504 (__ASSUME_MSG_NOSIGNAL): Likewise.
19505 (__ASSUME_SENDFILE): Define unconditionally.
19506 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19507 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19508 conditional code.
19509 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19510 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19511 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19512 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19513 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19514 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19515 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19517 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19518 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19520 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19521 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19523 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19524 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19526 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19527 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19529 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19530 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19532 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19533 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19535 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19536 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19538 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19539 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19540 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19541 Remove conditional code.
19542 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19543 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19544 Remove conditional code.
19545 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19546 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19547 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19548 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19549 Remove conditional code.
19550 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19551 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19552 Remove conditional code.
19553 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19554 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19555 Remove conditional code.
19556 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19557 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19558 Remove conditional code.
19559 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19560 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19561 Remove conditional code.
19562 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19563 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19564 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19565 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19566 * sysdeps/unix/sysv/linux/sigaction.c
19567 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19568 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19569 * sysdeps/unix/sysv/linux/sigpending.c
19570 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19571 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19572 * sysdeps/unix/sysv/linux/sigprocmask.c
19573 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19574 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19575 * sysdeps/unix/sysv/linux/sigsuspend.c
19576 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19577 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19578 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19579 (__libc_missing_rt_sigs): Remove.
19580 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19581 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19582 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19583 Remove conditional code.
19584 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19585 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19586 return 1.
19587 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19588 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19589 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19590 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19591
1bfb7291
AJ
195922012-05-14 Andreas Jaeger <aj@suse.de>
19593
caae5a81
AJ
19594 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19595 it's not used in glibc.
19596 (__coshm1): Likewise.
19597 (__acosh1p): Likewise.
19598 (__sgn): Likewise.
19599
1bfb7291
AJ
19600 * manual/string.texi (Copying and Concatenation): Add missing
19601 variable in concat example.
19602 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19603
c044d724
L
196042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19605
144c5467 19606 [BZ #14103]
c044d724
L
19607 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19608 __builtin_clzl with __builtin_clzll.
19609
2523c62b
L
196102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19611
19612 [BZ #14104]
19613 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19614 libc_freeres_ptr.
19615
d7bb4c42
LD
196162012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19617
19618 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19619 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19620 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19621 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19622
9dc4e1fb
MF
196232012-05-14 Mike Frysinger <vapier@gentoo.org>
19624
19625 * NEWS: Update ia64 info.
19626
c7df0112
AS
196272012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19628
19629 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19630 used as bcopy.
19631
dc70356c
TS
196322012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19633
19634 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19635 * sysdeps/unix/syscalls.list (dup3): Likewise.
19636 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19637 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19638
9fb1a21f
L
196392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19640
19641 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19642 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19643
4822a2a5
L
196442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19645
19646 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19647 thread pointer.
19648 (TLS_IE): Use mov/add instead of movq/addq to load thread
19649 pointer.
19650 (TLS_GD_PREFIX): New.
19651 (TLS_GD): Use it.
19652
842b81d6
DM
196532012-05-11 David S. Miller <davem@davemloft.net>
19654
19655 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19656 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19657 (_FPU_SETCW): Likewise.
19658
1cf463cd
L
196592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19660
19661 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19662 is 32-byte aligned.
19663
60cc4a18
AS
196642012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19665
19666 [BZ #11837]
19667 * iconvdata/gb18030.c: Update tables.
19668 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19669 characters specially.
19670 (BODY for TO_LOOP): Add encoding of missing ranges.
19671
febb44a4
TS
196722012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19673
19674 [BZ #13673]
19675 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19676 * sysdeps/mach/hurd/dup3.c: Likewise.
19677 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19678 * sysdeps/powerpc/memmove.c:: Likewise.
19679
0a10fb9e
L
196802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19681
19682 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19683 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19684
df8a552f
L
196852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19686
19687 * elf/elf.h (R_X86_64_RELATIVE64): New.
19688 (R_X86_64_NUM): Updated.
19689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19690 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19691 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19692 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19693 tst-quad1pie tst-quad2pie
19694 (modules-names): Add tst-quadmod1 tst-quadmod2.
19695 ($(objpfx)tst-quad1): New dependency.
19696 ($(objpfx)tst-quad2): Likewise.
19697 ($(objpfx)tst-quad1pie): Likewise.
19698 ($(objpfx)tst-quad2pie): Likewise.
19699 * sysdeps/x86_64/tst-quad1.c: New file.
19700 * sysdeps/x86_64/tst-quad1pie.c: New file.
19701 * sysdeps/x86_64/tst-quad2.c: Likewise.
19702 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19703 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19704 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19705 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19706 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19707
f34d6f84
ST
197082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19709
f42d41d1
ST
19710 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19711 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19712 * streams/stropts.h (t_scalar_t): Define type.
19713
3c3571fc
ST
19714 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19715 (_PATH_PRESERVE): Set to "/var/lib".
19716 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19717
61f06bd3
ST
19718 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19719 instead of int.
19720
918d4d71
ST
19721 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19722 if __dir_mkfile succeeded.
19723
f34d6f84
ST
19724 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19725 checking for _hurd_dtablesize. Unlock it right after having
19726 finished _hurd_dtable allocation.
19727
10589b4a
TS
197282012-05-10 Thomas Schwinge <thomas@schwinge.name>
19729
674cdbc7
TS
19730 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19731 * sysdeps/mach/hurd/configure: Regenerated.
19732 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19733 special-casing to...
19734 * sysdeps/gnu/configure.in: ... this new file.
19735 * sysdeps/unix/sysv/linux/configure: Regenerated.
19736 * sysdeps/gnu/configure: New generated file.
19737
8e41b99f
TS
19738 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19739 for Linux: use nsec instead of usec, as well as:
19740 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19741 members of type struct timespec.
19742 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19743 New macros.
19744 (struct stat64): Likewise.
19745 (_STATBUF_ST_NSEC): New macro.
19746 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19747
10589b4a
TS
19748 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19749 __strtoul_internal rather than strtoul.
19750
63643c85
PT
197512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19752
19753 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19754 and reject them.
19755
3faebe6a
ST
197562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19757
19758 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19759 which preserves existing values.
19760 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19761
c6474b07
PT
197622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19763
19764 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19765 TIMEOUT values. Return EINVAL for NFDS values either negative or
19766 greater than FD_SETSIZE.
19767
1043890b
ST
197682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19769
19770 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19771 allocated, call __vm_protect to finish enabling the existing space, and
19772 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19773 allocate the remainder.
19774
37ed8b9b
PT
197752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19776
19777 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19778 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19779
db653660
ST
197802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19781
37ed8b9b
PT
19782 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19783 sysdeps/mach/hurd/readlink.c.
b29d4053 19784
db653660
ST
19785 * posix/tst-sysconf.c (posix_options): Only use
19786 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19787 _POSIX_SYNCHRONIZED_IO when they are defined
19788 * sysdeps/mach/hurd/bits/posix_opt.h:
19789 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19790 (_XOPEN_REALTIME): Undefine macro.
19791 (_XOPEN_REALTIME_THREADS): Undefine macro.
19792 (_XOPEN_SHM): Undefine macro.
19793 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19794 macro to -1.
19795 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19796 macro to -1.
19797 (_POSIX_ASYNC_IO): Undefine macro.
19798 (_POSIX_PRIORITIZED_IO): Undefine macro.
19799 (_POSIX_SPIN_LOCKS): Define macro to -1.
19800
ee16e894
ST
19801 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19802 SA_NODEFER, SA_RESETHAND.
19803 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19804 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19805 F_DUPFD_CLOEXEC.
19806
6103ae3b
TS
198072012-05-10 Thomas Schwinge <thomas@schwinge.name>
19808
19809 * elf/Makefile (pldd-modules): Define unconditionally.
19810
80b4e5f3
TS
198112012-05-10 Thomas Schwinge <thomas@schwinge.name>
19812
19813 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19814
edadcbd6
ST
198152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19816
19817 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19818 Return ENOENT when name is empty.
19819 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19820
80694780
TS
198212012-05-10 Thomas Schwinge <thomas@schwinge.name>
19822
1792c087
TS
19823 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19824
80694780
TS
19825 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19826
6b645f0d
ST
198272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19828
80694780
TS
19829 Fix mlock in all cases except non-readable pages.
19830 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19831 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19832
6b645f0d
ST
19833 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19834 (__mkdir): When path is `/', just fail with EEXIST.
19835 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19836
e468f8a3
TS
198372012-05-10 Thomas Schwinge <thomas@schwinge.name>
19838
19839 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19840 <sys/uio.h> (for writev).
19841 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19842 and <sys/param.h> (for MIN).
19843
a4186cff
PT
198442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19845
19846 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19847 REQUESTED_TIME. Properly set the remaining time and return EINTR
19848 if interrupted.
19849
510bbf14
TS
198502012-05-10 Thomas Schwinge <thomas@schwinge.name>
19851
19852 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19853 Depend on against $(link-rpcuserlibs).
19854
5d5722e8
ST
198552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19856
a4186cff
PT
19857 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19858 (__libc_stack_end): Do not use attribute_relro.
19859 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19860 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19861 to libthread-provided value.
a4186cff
PT
19862 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19863 attribute_relro.
5d5722e8 19864
37233df9
TS
198652012-05-10 Thomas Schwinge <thomas@schwinge.name>
19866
be971a2b
TS
19867 [BZ #3748]
19868 * bits/libc-lock.h (__libc_once_get): New macro.
19869 * sysdeps/mach/bits/libc-lock.h: Likewise.
19870 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19871 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19872 instead of using implementation details.
19873
37233df9
TS
19874 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19875 * libio/freopen.c: Likewise.
19876 * libio/freopen64.c: Likewise.
19877 * misc/syslog.c: Likewise.
19878 * nscd/connections.c: Likewise.
19879 * nscd/netgroupcache.c: Likewise.
19880 * sysdeps/posix/getcwd.c: Likewise.
19881
38de94a5
RM
198822012-05-10 Roland McGrath <roland@hack.frob.com>
19883
19884 * math/w_ilogbf.c: Add #include <limits.h>.
19885
67530489
ST
198862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19887
a4186cff 19888 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19889 path instead of returning without unlocking.
19890
67530489
ST
19891 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19892 immediate-write ioctls.
19893 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19894
5aa3a74a
TS
198952012-05-10 Thomas Schwinge <thomas@schwinge.name>
19896
18bad2ae
TS
19897 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19898 __builtin_frame_address instead of making assumptions about the
19899 location of the return address relative to DATA. Force early load of
19900 the return address.
19901 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19902 __builtin_frame_address.
19903
5aa3a74a
TS
19904 dup3 for GNU Hurd.
19905 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19906 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19907 implement dup3 and do some further code clean-ups.
19908 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19909 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19910
ecd0de9a
ST
199112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19912
cd9fa985
ST
19913 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19914
a4186cff
PT
19915 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19916 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19917 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19918 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19919 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19920 d->port.lock.
802ca5a5 19921
a4186cff
PT
19922 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19923 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19924 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19925
bcf55240
TS
199262012-05-10 Thomas Schwinge <thomas@schwinge.name>
19927
6960eb42
TS
19928 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19929 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19930 definitions.
19931
eb43375f
TS
19932 accept4 for GNU Hurd.
19933 * include/sys/socket.h (__libc_accept4): New prototype.
19934 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19935 to implement __libc_accept4.
19936 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19937 __libc_accept4.
19938 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19939
bcf55240
TS
19940 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19941 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19942 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19943 signal-defines.sym.
19944
6178c55b
ST
199452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19946
a4186cff 19947 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19948
6f080c2f
TS
199492012-05-10 Thomas Schwinge <thomas@schwinge.name>
19950
19951 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19952 assertion on O_CLOEXEC flag.
19953 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19954 * hurd/intern-fd.c: Likewise.
19955 * hurd/port2fd.c: Likewise.
19956
bcfe3a54
ST
199572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19958
19959 [BZ #3906]
19960 * bits/in.h (IPV6_PKTINFO): Define new macro.
19961 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19962
89c9aa49
AZ
199632012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19964
19965 [BZ #13954]
19966 [BZ #13955]
19967 [BZ #13956]
19968 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19969 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19970 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19971 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19972 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19973 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19974 * math/libm-test.inc (logb_test) : Additional logb tests.
19975
021db4be
AJ
199762012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19977 Andreas Jaeger <aj@suse.de>
19978
19979 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19980 * configure: Regenerated.
19981 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19982 * config.make.in (link-obsolete-rpc): New substituted variable.
19983 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19984 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19985 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19986 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19987 so that libc.a contains the symbols.
19988 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19989 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19990 * sunrpc/auth_none.c: Likewise.
19991 * sunrpc/auth_unix.c: Likewise.
19992 * sunrpc/authdes_prot.c: Likewise.
19993 * sunrpc/authuxprot.c: Likewise.
19994 * sunrpc/clnt_gen.c: Likewise.
19995 * sunrpc/clnt_perr.c: Likewise.
19996 * sunrpc/clnt_raw.c: Likewise.
19997 * sunrpc/clnt_simp.c: Likewise.
19998 * sunrpc/clnt_tcp.c: Likewise.
19999 * sunrpc/clnt_udp.c: Likewise.
20000 * sunrpc/clnt_unix.c: Likewise.
20001 * sunrpc/des_crypt.c: Likewise.
20002 * sunrpc/des_soft.c: Likewise.
20003 * sunrpc/get_myaddr.c: Likewise.
20004 * sunrpc/key_call.c: Likewise.
20005 * sunrpc/key_prot.c: Likewise.
20006 * sunrpc/netname.c: Likewise.
20007 * sunrpc/pm_getmaps.c: Likewise.
20008 * sunrpc/pm_getport.c: Likewise.
20009 * sunrpc/pmap_clnt.c: Likewise.
20010 * sunrpc/pmap_prot.c: Likewise.
20011 * sunrpc/pmap_prot2.c: Likewise.
20012 * sunrpc/pmap_rmt.c: Likewise.
20013 * sunrpc/publickey.c: Likewise.
20014 * sunrpc/rpc_cmsg.c: Likewise.
20015 * sunrpc/rpc_common.c: Likewise.
20016 * sunrpc/rpc_dtable.c: Likewise.
20017 * sunrpc/rpc_prot.c: Likewise.
20018 * sunrpc/rpc_thread.c: Likewise.
20019 * sunrpc/rtime.c: Likewise.
20020 * sunrpc/svc.c: Likewise.
20021 * sunrpc/svc_auth.c: Likewise.
20022 * sunrpc/svc_raw.c: Likewise.
20023 * sunrpc/svc_run.c: Likewise.
20024 * sunrpc/svc_tcp.c: Likewise.
20025 * sunrpc/svc_udp.c: Likewise.
20026 * sunrpc/svc_unix.c: Likewise.
20027 * sunrpc/svcauth_des.c: Likewise.
20028 * sunrpc/xcrypt.c: Likewise.
20029 * sunrpc/xdr.c: Likewise.
20030 * sunrpc/xdr_array.c: Likewise.
20031 * sunrpc/xdr_float.c: Likewise.
20032 * sunrpc/xdr_intXX_t.c: Likewise.
20033 * sunrpc/xdr_mem.c: Likewise.
20034 * sunrpc/xdr_rec.c: Likewise.
20035 * sunrpc/xdr_ref.c: Likewise.
20036 * sunrpc/xdr_sizeof.c: Likewise.
20037 * sunrpc/xdr_stdio.c: Likewise.
20038
b5c086a2
RM
200392012-05-10 Roland McGrath <roland@hack.frob.com>
20040
20041 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20042 change. Update copyright years.
20043
6d74dd09
JM
200442012-05-10 Joseph Myers <joseph@codesourcery.com>
20045
20046 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20047
28e72501
MK
200482012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20049 Joseph Myers <joseph@codesourcery.com>
20050 Paul Pluzhnikov <ppluzhnikov@google.com>
20051
20052 [BZ #14012]
20053 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20054 requiring rpcgen.
20055 [cross-compiling] (extra-libs): Likewise.
20056 [cross-compiling] (extra-libs-others): Likewise.
20057 [cross-compiling] (librpcsvc-routines): Likewise.
20058 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20059 [cross-compiling] (omit-deps): Likewise.
20060 (sunrpc-CPPFLAGS): New variable.
20061 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20062 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20063 (cross-rpcgen-objs): New variable.
20064 (extra-objs): Append $(cross-rpcgen-objs).
20065 ($(cross-rpcgen-objs)): New rule.
20066 ($(objpfx)cross-rpcgen): Likewise.
20067 (rpcgen-cmd): Define to use $(built-program-file). Expand
20068 comment.
20069 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20070 ($(objpfx)x%.stmp): Likewise.
20071 * sunrpc/proto.h [IS_IN_build] (_): Define.
20072 [IS_IN_build] (_libc_intl_domainname): Likewise.
20073
c8c59454
L
200742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20075
20076 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20077 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20078 and R_X86_64_TPOFF64.
20079
6f27cd16
JM
200802012-05-10 Joseph Myers <joseph@codesourcery.com>
20081
20082 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20083 sysdeps/unix/sysv/syscalls.list.
20084 (stime): Likewise.
20085 (utime): Likewise.
20086 * sysdeps/unix/sysv/syscalls.list: Remove file.
20087
02467e1c
PE
200882012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20089
20090 [BZ #3440]
20091 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20092 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20093 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20094 (__LC_IDENTIFICATION): Make these macros useful in #if
20095 expressions, as required by C99.
20096
da392631
AS
200972012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20098
20099 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20100 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20101 after this.
20102
8115f29b
L
201032012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20104
20105 * stdlib/longlong.h: Updated from GCC.
20106
bdd74070
AJ
201072012-05-09 Andreas Jaeger <aj@suse.de>
20108
edfe0dbe
AJ
20109 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20110 default is first entry.
20111 (run_mode): Set type.
20112 (main): Remove informal message about syslog.
20113 (options): Fix typo.
20114
bcfe3a54
ST
20115 [BZ #14053]
20116 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 20117 to asm.
bcfe3a54
ST
20118 (lrint): Likewise.
20119 (llrintf): Likewise.
20120 (llrint): Likewise.
20121 (rint): Likewise.
20122 (rintf): Likewise.
20123 (nearbyint): Likewise.
20124 (nearbyintf): Likewise.
bdd74070 20125
91d8d69e
AJ
201262012-05-09 Andreas Jaeger <aj@suse.de>
20127 Pedro Alves <palves@redhat.com>
20128
20129 * nscd/nscd.c (run_mode): Use enum.
20130 (main): Cleanup coding style issue.
20131
bb90b80b
AJ
201322012-05-09 Alexandre Oliva <aoliva@redhat.com>
20133 Andreas Jaeger <aj@suse.de>
20134
bcfe3a54
ST
20135 * nscd/nscd.c (go_background): Replaced with...
20136 (run_mode): ... this.
bb90b80b 20137 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
20138 (options): Add -F --foreground.
20139 (main): Implement it.
20140 (parse_opt): Parse it.
bb90b80b 20141
1a4b75a1
AJ
201422012-05-09 Andreas Jaeger <aj@suse.de>
20143
20144 [BZ #14083]
20145 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20146 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20147 -Wconversion warning.
20148 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20149 Likewise.
20150
b1cc2472
JM
201512012-05-09 Joseph Myers <joseph@codesourcery.com>
20152
20153 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20154 == 0.
20155 (LC_ALL): Use macro-int-constant.
20156 (LC_COLLATE): Likewise.
20157 (LC_CTYPE): Likewise.
20158 (LC_MESSAGES): Likewise.
20159 (LC_MONETARY): Likewise.
20160 (LC_NUMERIC): Likewise.
20161 (LC_TIME): Likewise.
20162 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20163 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20164 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20165 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20166 Specify type.
20167 [C99-based standards] (float_t): Expect type.
20168 [C99-based standards] (double_t): Expect type.
20169 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20170 type.
20171 [C99-based standards] (HUGE_VALL): Likewise.
20172 [C99-based standards] (INFINITY): Likewise.
20173 [C99-based standards] (NAN): Likewise.
20174 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20175 [C99-based standards] (FP_NAN): Likewise.
20176 [C99-based standards] (FP_NORMAL): Likewise.
20177 [C99-based standards] (FP_SUBNORMAL): Likewise.
20178 [C99-based standards] (FP_ZERO): Likewise.
20179 [C99-based standards] (FP_FAST_FMA): Use
20180 optional-macro-int-constant. Specify type. Require == 1.
20181 [C99-based standards] (FP_FAST_FMAF): Likewise.
20182 [C99-based standards] (FP_FAST_FMAL): Likewise.
20183 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20184 [C99-based standards] (FP_ILOGBNAN): Likewise.
20185 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20186 Specify type.
20187 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20188 [C99-based standards] (math_errhandling): Specify type.
20189 [ISO99 || ISO11] (signgam): Do not allow.
20190 [non-C99-based standards] (copysignf): Do not allow.
20191 [non-C99-based standards] (exp2f): Likewise.
20192 [non-C99-based standards] (log2f): Likewise.
20193 [non-C99-based standards] (modff): Allow.
20194 [non-C99-based standards] (erff): Do not allow.
20195 [non-C99-based standards] (erfcf): Likewise.
20196 [non-C99-based standards] (gammaf): Likewise.
20197 [non-C99-based standards] (hypotf): Likewise.
20198 [non-C99-based standards] (j0f): Likewise.
20199 [non-C99-based standards] (j1f): Likewise.
20200 [non-C99-based standards] (jnf): Likewise.
20201 [non-C99-based standards] (lgammaf): Likewise.
20202 [non-C99-based standards] (tgammaf): Likewise.
20203 [non-C99-based standards] (y0f): Likewise.
20204 [non-C99-based standards] (y1f): Likewise.
20205 [non-C99-based standards] (ynf): Likewise.
20206 [non-C99-based standards] (isnanf): Likewise.
20207 [non-C99-based standards] (acoshf): Likewise.
20208 [non-C99-based standards] (asinhf): Likewise.
20209 [non-C99-based standards] (atanhf): Likewise.
20210 [non-C99-based standards] (cbrtf): Likewise.
20211 [non-C99-based standards] (expm1f): Likewise.
20212 [non-C99-based standards] (ilogbf): Likewise.
20213 [non-C99-based standards] (log1pf): Likewise.
20214 [non-C99-based standards] (logbf): Likewise.
20215 [non-C99-based standards] (nextafterf): Likewise.
20216 [non-C99-based standards] (remainderf): Likewise.
20217 [non-C99-based standards] (rintf): Likewise.
20218 [non-C99-based standards] (scalbf): Likewise.
20219 [non-C99-based standards] (copysignl): Likewise.
20220 [non-C99-based standards] (exp2l): Likewise.
20221 [non-C99-based standards] (log2l): Likewise.
20222 [non-C99-based standards] (modfl): Allow.
20223 [non-C99-based standards] (erfl): Do not allow.
20224 [non-C99-based standards] (erfcl): Likewise.
20225 [non-C99-based standards] (gammal): Likewise.
20226 [non-C99-based standards] (hypotl): Likewise.
20227 [non-C99-based standards] (j0l): Likewise.
20228 [non-C99-based standards] (j1l): Likewise.
20229 [non-C99-based standards] (jnl): Likewise.
20230 [non-C99-based standards] (lgammal): Likewise.
20231 [non-C99-based standards] (tgammal): Likewise.
20232 [non-C99-based standards] (y0l): Likewise.
20233 [non-C99-based standards] (y1l): Likewise.
20234 [non-C99-based standards] (ynl): Likewise.
20235 [non-C99-based standards] (isnanl): Likewise.
20236 [non-C99-based standards] (acoshl): Likewise.
20237 [non-C99-based standards] (asinhl): Likewise.
20238 [non-C99-based standards] (atanhl): Likewise.
20239 [non-C99-based standards] (cbrtl): Likewise.
20240 [non-C99-based standards] (expm1l): Likewise.
20241 [non-C99-based standards] (ilogbl): Likewise.
20242 [non-C99-based standards] (log1pl): Likewise.
20243 [non-C99-based standards] (logbl): Likewise.
20244 [non-C99-based standards] (nextafterl): Likewise.
20245 [non-C99-based standards] (remainderl): Likewise.
20246 [non-C99-based standards] (rintl): Likewise.
20247 [non-C99-based standards] (scalbl): Likewise.
20248 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20249 [non-C99-based standards] (FP_*): Do not allow.
20250 [C99-based standards] (FP_*): Change to
20251 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20252 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20253 allow.
20254 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20255 (SIG_ERR): Likewise.
20256 [X/Open-based standards] (SIG_HOLD): Likewise.
20257 (SIG_IGN): Likewise.
20258 (SIGABRT): Use macro-int-constant. Specify type. Require
20259 positive value.
20260 (SIGFPE): Likewise.
20261 (SIGILL): Likewise.
20262 (SIGINT): Likewise.
20263 (SIGSEGV): Likewise.
20264 (SIGTER): Likewise.
20265 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20266 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20267 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20268 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20269 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20270 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20271 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20272 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20273 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20274 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20275 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20276 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20277 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20278 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20279 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20280 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20281 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20282 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20283 [X/Open-based standards] (SIGTRAP): Likewise.
20284 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20285 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20286 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20287 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20288 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20289 allow.
20290
b9f1922d
IW
202912012-05-08 Ian Wienand <ianw@vmware.com>
20292
20293 [BZ #14080]
20294 * time/tzset.c (__tzset_parse_tz): Update default rules for
20295 daylight time changes in the Energy Policy Act of 2005.
20296
1db86e88
AJ
202972012-05-09 Andreas Jaeger <aj@suse.de>
20298
20299 [BZ #13983]
20300 * elf/ldconfig.c (parse_conf): Change string to make clear that
20301 ldconfig only issued a warning if ld.so.conf does not exist.
20302
dee4a4e3
DM
203032012-05-08 David S. Miller <davem@davemloft.net>
20304
ee0db190
DM
20305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20306 movxtod instead of popping the value on the stack.
20307
dee4a4e3
DM
20308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20309
6a43ec98
CD
203102012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20311
20312 * config.h.in: Add HAVE_ARM_PCS_VFP.
20313
05c2c961
RMG
203142012-05-08 Roland Mc Grath <roland@hack.frob.com>
20315
bcfe3a54
ST
20316 [BZ #13979]
20317 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20318 checking but the checks are disabled for any reason.
05c2c961 20319
4b30f61a
L
203202012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20321
20322 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20323 and ELF64_R_TYPE with ELFW(R_TYPE).
20324
eee2bc67
JM
203252012-05-08 Joseph Myers <joseph@codesourcery.com>
20326
7ea5391a
JM
20327 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20328 (ulimit): Likewise.
20329
eee2bc67
JM
20330 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20331 (settimeofday): Likewise.
20332
abb66a67
MF
203332012-05-08 Mike Frysinger <vapier@gentoo.org>
20334
20335 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20336 a struct th_u2 inside the union, and move tu_block/tu_code into
20337 a new th_u3 union of tu_block/tu_code inside of that. Move
20338 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20339 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20340 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20341 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20342 (th_stuff): Change to th_u1.tu_stuff.
20343 (th_data): Define.
20344 (th_msg): Change to th_u1.th_u2.tu_data.
20345
7f18b530
DM
203462012-05-07 David S. Miller <davem@davemloft.net>
20347
05760585
DM
20348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20349
7f18b530
DM
20350 [BZ #14074]
20351 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20352 (SETUP_PIC_REG): Use it.
20353 (SETUP_PIC_REG_LEAF): Use it.
20354
495fd99f
JM
203552012-05-07 Joseph Myers <joseph@codesourcery.com>
20356
20357 [BZ #13885]
20358 [BZ #13923]
20359 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20360 USE_AS_EXPM1L.
20361 (EXPL_FINITE): Likewise.
20362 (FLDLOG): Likewise.
20363 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20364 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20365 e_expl.S.
20366 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20367 USE_AS_EXPM1L.
20368 (EXPL_FINITE): Likewise.
20369 (FLDLOG): Likewise.
20370 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20371 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20372 e_expl.S.
20373 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20374 test of -max_value argument for long double.
20375 * sysdeps/i386/fpu/libm-test-ulps: Update.
20376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20377
6693d694
DM
203782012-05-06 David S. Miller <davem@davemloft.net>
20379
20380 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20381 quad soft-float symbols whose references which are compiler
20382 generated.
20383 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20384
6c23e11c
JM
203852012-05-06 Joseph Myers <joseph@codesourcery.com>
20386
d8b82cad
JM
20387 [BZ #13884]
20388 [BZ #13914]
20389 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20390 USE_AS_EXP10L.
20391 (EXPL_FINITE): Likewise.
20392 (FLDLOG): Likewise.
20393 (c0): Likewise.
20394 (c1): Likewise.
20395 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20396 Adjust comments for base varying.
20397 (__expl_finite): Change alias to EXPL_FINITE.
20398 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20399 e_expl.S.
20400 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20401 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20402 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20403 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20404 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20414 tests for bugs.
20415 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20416
6c23e11c
JM
20417 [BZ #14064]
20418 * math/libm-test.inc (check_float_internal): Correct ulp
20419 calculation for subnormal expected results.
20420
29ba805c
AJ
204212012-05-06 Andreas Jaeger <aj@suse.de>
20422
20423 * Makeconfig (+math-flags): New, set to -frounding-math.
20424 (+cflags): Add +math-flags so that all of glibc gets compiled with
20425 it.
20426
20427 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20428
7b17aeda
JM
204292012-05-05 Joseph Myers <joseph@codesourcery.com>
20430
5779f134
JM
20431 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20432 Disable one test.
20433
41498f4d
JM
20434 [BZ #13787]
20435 [BZ #13922]
20436 [BZ #14036]
20437 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20438 (__ieee754_expl): Allow for and saturate large arguments.
20439 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20440 (u_threshold): Likewise.
20441 (__exp): Call __ieee754_exp before checking for overflow and
20442 underflow.
20443 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20444 (u_threshold): Likewise.
20445 (__expf): Call __ieee754_expf before checking for overflow and
20446 underflow.
20447 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20448 (u_threshold): Likewise.
20449 (__expl): Call __ieee754_expl before checking for overflow and
20450 underflow.
20451 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20452 (__ieee754_expl): Allow for and saturate large arguments.
20453 * math/libm-test.inc (exp_test): Add another test. Do not allow
20454 missing overflow exception on overflow.
20455 (expm1_test): Do not allow missing overflow exception on overflow.
20456
6698b8bf
JM
20457 * sysdeps/i386/fpu/e_expl.c: Move to ...
20458 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20459 rather than using inline asm.
20460 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20461 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20462 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20463
7b17aeda
JM
20464 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20465 (nice): Likewise.
20466 (poll): Likewise.
20467 (signal): Likewise.
20468 (time): Likewise.
20469 (times): Likewise.
20470
f7c85819
JM
204712012-05-04 Joseph Myers <joseph@codesourcery.com>
20472
20473 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20474 sysdeps/unix/common/syscalls.list.
20475 (fchmod): Likewise.
20476 (fchown): Likewise.
20477 (ftruncate): Likewise.
20478 (getrusage): Likewise.
20479 (gettimeofday): Likewise.
20480 (setpgid): Likewise.
20481 (setregid): Likewise.
20482 (setreuid): Likewise.
20483 (sigaction): Likewise.
20484 (truncate): Likewise.
20485 (vhangup): Likewise.
20486 * sysdeps/unix/common/syscalls.list: Remove file.
20487 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20488 * sysdeps/unix/sysv/linux/Implies: Likewise.
20489
336270d0
L
204902012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20491
20492 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20494 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20495 Moved to ...
20496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20497 Here.
20498 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20499 to ...
20500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20501 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20502 to ...
20503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20504 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20505 to ...
20506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20507 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20508 to ...
20509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20510 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20511 to ...
20512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20513 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20514 to ...
20515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20516 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20517 to ...
20518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20519 Here.
20520 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20521 to ...
20522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20523 Here.
20524 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20525 to ...
20526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20527 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20528 Moved to ...
20529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20530 Here.
20531 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20532 to ...
20533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20534
d128e450
JM
205352012-05-04 Joseph Myers <joseph@codesourcery.com>
20536
fa8ee516
JM
20537 * sysdeps/unix/common/bits/dirent.h: Remove file.
20538 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20539
d128e450
JM
20540 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20541 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20542 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20543 * sysdeps/unix/bsd/isatty.c: Likewise.
20544 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20545 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20546 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20547
ff8faaf0 205482012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20549
62881be4 20550 [BZ #13563]
31dc8730
AZ
20551 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20552 long double comparison inaccuracies.
20553 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20555
6fef930c
AS
205562012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20557
20558 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20559 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20560
8f203e6c
JM
205612012-05-04 Joseph Myers <joseph@codesourcery.com>
20562
20563 [BZ #14049]
20564 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20565 nonzero digits before rounding a hex value.
20566 * stdlib/tst-strtod.c (tests): Add another test.
20567
5197d9c2
AK
205682012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20569
20570 * sysdeps/s390/fpu/libm-test-ulps: Update.
20571
f0c1dedf
AJ
205722012-05-03 Andreas Jaeger <aj@suse.de>
20573
20574 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20575 does not get optimized out.
20576 (malloc_opt_barrier): New.
20577
a65ef2ae 205782012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20579 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20580
2b942cb7 20581 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20582 intermediate file deletion.
2b942cb7 20583 (generated): Add .symlist files.
a65ef2ae 20584
54b71e02
JM
205852012-05-03 Joseph Myers <joseph@codesourcery.com>
20586
20587 [BZ #13775]
20588 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20589 Redirect under this condition.
20590 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20591 [__USE_GNU] (__dprintf_chk): Not under this condition.
20592 [__USE_GNU] (__vdprintf_chk): Likewise.
20593 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20594 under this condition.
20595 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20596 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20597 [__USE_XOPEN2K8] (vdprintf): Likewise.
20598 [__USE_GNU] (__dprintf_chk): Not under this condition.
20599 [__USE_GNU] (__vdprintf_chk): Likewise.
20600 [__USE_GNU] (dprintf): Likewise.
20601 [__USE_GNU] (vdprintf): Likewise.
20602
d3dfcc41
RM
206032012-05-03 Roland McGrath <roland@hack.frob.com>
20604
20605 * elf/Makefile (common-generated): Set this instead of generated for
20606 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20607 $(all-built-dso)-derived lists.
20608
7ac30cc5
AJ
206092012-05-03 Andreas Jaeger <aj@suse.de>
20610
0c51e550
AJ
20611 * sysdeps/i386/fpu/libm-test-ulps: Update.
20612
7ac30cc5
AJ
20613 * FAQ: Removed.
20614 * FAQ.in: Likewise.
20615 * scripts/gen-FAQ.pl: Likewise.
20616 * manual/install.texi (Installation): Point to online location of
20617 FAQ.
20618 * Makefile (files-for-dist): Remove FAQ.
20619 (FAQ): Remove.
20620
d4c2917f
AM
206212012-05-02 Allan McRae <allan@archlinux.org>
20622
20623 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20624 (LDFLAGS-reldepmod5.so): Likewise.
20625 (LDFLAGS-reldep6mod1.so): Likewise.
20626 (LDFLAGS-reldep6mod4.so): Likewise.
20627 (LDFLAGS-reldep8mod3.so): Likewise.
20628 (LDFLAGS-unload4mod1.so): Likewise.
20629 (LDFLAGS-unload4mod2.so): Likewise.
20630 (LDFLAGS-tst-initorder): Likewise.
20631 (LDFLAGS-tst-initordera2.so): Likewise.
20632 (LDFLAGS-tst-initordera3.so): Likewise.
20633 (LDFLAGS-tst-initordera4.so): Likewise.
20634 (LDFLAGS-tst-initorderb2.so): Likewise.
20635 (LDFLAGS-noload): Likewise.
20636 (LDFLAGS-next): Likewise.
20637 (LDFLAGS-order2mod1.so): Likewise.
20638 (LDFLAGS-order2mod2.so): Likewise.
20639 (LDFLAGS-tst-initorder2): Likewise.
20640 (LDFLAGS-tst-initorder2a.so): Likewise.
20641 (LDFLAGS-tst-initorder2b.so): Likewise.
20642 (LDFLAGS-tst-initorder2c.so): Likewise.
20643 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20644
d77f993f
DM
206452012-05-02 David S. Miller <davem@davemloft.net>
20646
20647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20648
171a70b4
PP
206492012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20650
20651 [BZ #14055]
20652 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20653
0be196ad
AJ
206542012-05-02 Andreas Jaeger <aj@suse.de>
20655
20656 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20657 since we manipulate rounding mode.
20658 (CPPFLAGS-test-idouble.c): Likewise.
20659 (CPPFLAGS-test-ifloat.c): Likewise.
20660 (CFLAGS-test-ldouble.c): Likewise.
20661 (CFLAGS-test-double.c): Likewise.
20662 (CFLAGS-test-float.c): Likewise.
20663 (CFLAGS-test-misc.c): Likewise.
20664 (CFLAGS-test-test-fenv.c): Likewise.
20665
4f9d04aa
AZ
206662012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20667
2b942cb7
RM
20668 [BZ #2550]
20669 [BZ #2570]
20670 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20671 comparisons to determine direction to adjust input.
4f9d04aa 20672
82a79e7d
RM
206732012-05-01 Roland McGrath <roland@hack.frob.com>
20674
f5a01ca9
RM
20675 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20676 output to the target.
20677
90fe4186
RM
20678 * scripts/localplt.awk: New file.
20679 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20680 (check-localplt-CFLAGS): Variable removed.
20681 ($(all-built-dso:=.jmprel)): New static pattern rule.
20682 (generated): Add those targets.
20683 (localplt-built-dso): New variable.
20684 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20685
20686 * elf/check-localplt.c: File removed.
20687
82397ed6
RM
20688 * scripts/check-execstack.awk: New file.
20689 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20690 (check-execstack-CFLAGS): Variable removed.
20691 ($(objpfx)check-execstack.h): Target removed.
20692 ($(objpfx)execstack-default): New target.
20693 (generated): Add that instead of check-execstack.h.
20694 ($(all-built-dso:=.phdr)): New static pattern rule.
20695 (generated): Add those targets.
20696 * elf/check-execstack.c: File removed.
20697
82a79e7d
RM
20698 * scripts/check-textrel.awk: New file.
20699 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20700 (check-textrel-CFLAGS): Variable removed.
20701 (all-built-dso): Use := to define.o
20702 ($(all-built-dso:=.dyn)): New static pattern rule.
20703 (generated): Add those targets.
20704 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20705 * config.make.in (READELF): New substituted variable.
20706 * elf/check-textrel.c: File removed.
20707
62fde54f 207082012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20709
615605c9
JM
20710 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20711 allow.
20712 * conform/data/ctype.h-data [C99-based standards] (isblank):
20713 Expect function.
20714 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20715 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20716 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20717 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20718 Specify type. Require positive value.
20719 (EILSEQ): Likewise.
20720 (ERANGE): Likewise.
20721 [ISO || POSIX] (EILSEQ): Do not expect.
20722 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20723 Specify type. Require positive value.
20724 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20725 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20726 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20727 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20728 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20729 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20730 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20731 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20732 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20733 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20734 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20735 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20736 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20737 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20738 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20739 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20740 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20741 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20742 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20743 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20744 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20745 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20746 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20747 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20748 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20749 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20750 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20751 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20752 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20753 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20754 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20755 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20756 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20757 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20758 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20759 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20760 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20761 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20762 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20763 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20764 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20765 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20766 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20767 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20768 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20769 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20770 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20771 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20772 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20773 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20774 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20775 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20776 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20777 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20778 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20779 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20780 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20781 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20782 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20783 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20784 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20785 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20786 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20787 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20788 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20789 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20790 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20791 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20792 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20793 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20794 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20795 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20796 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20797 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20798 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20799 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20800 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20801 Require >= 2.
20802 (FLT_ROUNDS): Expect as macro, not constant.
20803 (FLT_MANT_DIG): Use macro-int-constant.
20804 (DBL_MANT_DIG): Likewise.
20805 (LDBL_MANT_DIG): Likewise.
20806 (FLT_DIG): Likewise.
20807 (DBL_DIG): Likewise.
20808 (LDBL_DIG): Likewise.
20809 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20810 (DBL_MIN_EXP): Likewise.
20811 (LDBL_MIN_EXP): Likewise.
20812 (FLT_MAX_EXP): Use macro-int-constant.
20813 (DBL_MAX_EXP): Likewise.
20814 (LDBL_MAX_EXP): Likewise.
20815 (FLT_MAX_10_EXP): Likewise.
20816 (DBL_MAX_10_EXP): Likewise.
20817 (LDBL_MAX_10_EXP): Likewise.
20818 (FLT_MAX): Use macro-constant.
20819 (DBL_MAX): Likewise.
20820 (LDBL_MAX): Likewise.
20821 (FLT_EPSILON): Use macro-constant. Give upper bound.
20822 (DBL_EPSILON): Likewise.
20823 (LDBL_EPSILON): Likewise.
20824 (FLT_MIN): Likewise.
20825 (DBL_MIN): Likewise.
20826 (LDBL_MIN): Likewise.
20827 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20828 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20829 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20830 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20831 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20832 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20833 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20834 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20835 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20836 [ISO11] (FLT_TRUE_MIN): Likewise.
20837 [ISO11] (LDBL_TRUE_MIN): Likewise.
20838 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20839 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20840 (SCHAR_MIN): Use macro-int-constant. Specify type.
20841 (SCHAR_MAX): Likewise.
20842 (UCHAR_MAX): Likewise.
20843 (CHAR_MIN): Likewise.
20844 (CHAR_MAX): Likewise.
20845 (MB_LEN_MAX): Use macro-int-constant.
20846 (SHRT_MIN): Use macro-int-constant. Specify type.
20847 (SHRT_MAX): Likewise.
20848 (USHRT_MAX): Likewise.
20849 (INT_MAX): Likewise.
20850 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20851 bound negative.
20852 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20853 bound with "U".
20854 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20855 bound with "L".
20856 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20857 bound negative. Suffix upper bound with "L".
20858 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20859 bound with "UL".
20860 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20861 Specify type.
20862 [C99-based standards] (LLONG_MAX): Likewise.
20863 [C99-based standards] (ULLONG_MAX): Likewise.
20864 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20865 == 0.
20866 [ISO11] (max_align_t): Require type.
20867 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20868
c9140a62
JM
20869 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20870 from $CFLAGS, without defining away __attribute__ calls.
20871 (checknamespace): Use $CFLAGS_namespace.
20872
9af0bf29
JM
20873 * conform/conformtest.pl (@keywords): Only include C99 keywords
20874 for standards based on C99 or C11.
20875
343222a2
JM
20876 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20877 Disable tests.
20878 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20879 UNIX98]: Likewise.
20880
661f8cf0
JM
20881 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20882 usability of symbols in #if.
20883
ee74b9cb
JM
20884 * conform/conformtest.pl: If macro or constant types start
20885 "promoted:", expect the symbol to be of the following type
20886 promoted by the integer promotions.
62fde54f 20887
aafc49b3
JM
20888 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20889 in one place. Also handle "macro-constant".
20890
fefdf574
JM
20891 * conform/conformtest.pl: Only accept expected macro values with
20892 "==". Parse all "macro" lines in one place.
20893 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20894
f2d922fe
JM
20895 * conform/conformtest.pl: Handle braced types on "constant" lines
20896 instead of handling "typed-constant".
20897 * conform/data/signal.h-data: Use "constant" instead of
20898 "typed-constant".
20899
d22956c9
JM
20900 * conform/conformtest.pl: Handle "optional-" at start of lines in
20901 one place rather than duplicating several cases. Handle each
20902 format of "macro" line with initial "optional-".
20903
028e2e38
JM
20904 * conform/conformtest.pl: Only accept expected constant or
20905 optional-constant values with "==". Parse all "constant" lines in
20906 one place. Parse all "optional-constant" lines in one place.
20907 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20908 * conform/data/fmtmsg.h-data: Likewise.
20909 * conform/data/netinet/in.h-data: Likewise.
20910 * conform/data/tar.h-data: Likewise.
20911 * conform/data/limits.h-data: Use "==" form on "constant" and
20912 "optional-constant" lines.
20913
1b8f2850
JM
20914 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20915 Use -std=c99 for XOPEN2K.
20916 (@knownproblems): Remove.
20917 (newtoken): Don't check %isknown.
20918
a05a144b
JM
20919 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20920 Do not expect macro.
20921 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20922 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20923 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20924 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20925 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20926 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20927 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20928 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20929 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20930 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20931 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20932 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20933 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20934 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20935 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20936 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20937 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20938 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20939 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20940 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20941 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20942 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20943 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20944 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20945 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20946 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20947 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20948 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20949 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20950 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20951 [XPG3] (acosh): Likewise.
20952 [XPG3] (asinh): Likewise.
20953 [XPG3] (atanh): Likewise.
20954 [XPG3] (cbrt): Likewise.
20955 [XPG3] (expm1): Likewise.
20956 [XPG3] (ilogb): Likewise.
20957 [XPG3] (log1p): Likewise.
20958 [XPG3] (logb): Likewise.
20959 [XPG3] (nextafter): Likewise.
20960 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20961 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20962 [XPG3] (remainder): Likewise.
20963 [XPG3] (rint): Likewise.
20964 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20965 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20966 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20967 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20968 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20969 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20970 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20971 [UNIX98 || XOPEN2K] (scalb): Expect.
20972 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20973 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20974 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20975 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20976 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20977 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20978 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20979 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20980 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20981 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20982 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20983 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20984 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20985 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20986 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20987 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20988 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20989 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20990 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20991 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20992 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20993 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20994 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20995 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20996 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20997 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20998 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20999 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21000 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21001 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21002 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21003 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21004 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21005 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21006 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21007 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21008 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21009 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21010 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21011 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21012 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21013 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21014 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21015 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21016 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21017 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21018 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21019 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21020 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21021 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21022 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21023 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21024 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21025 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21026 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21027 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21028 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21029 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21030 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21031 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21032 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21033 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21034 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21035 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21036 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21037 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21038 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21039 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21040 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21041 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21042 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21043 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21044 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21045 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21046 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21047 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21048 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21049 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21050 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21051 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21052 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21053 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21054 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21055 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21056 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21057 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21058 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21059 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21060 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21061 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21062 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21063 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21064 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21065 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21066 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21067 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21068 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21069 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21070 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21071 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21072 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21073 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21074 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21075 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21076 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21077 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21078 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21079 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21080 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21081 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21082 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21083 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21084 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21085 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21086 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21087 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21088 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21089 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21090 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21091 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21092 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21093 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21094 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21095 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21096 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21097 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21098 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21099 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21100 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21101 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21102 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21103 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21104 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21105 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21106 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21107 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21108 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21109
73c5ebe3
JM
21110 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21111 _XOPEN_SOURCE_EXTENDED for XPG4.
21112
39c33b6c
JM
21113 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21114
62fde54f
JM
21115 * Makeconfig (localtime): Remove variable.
21116 (inst_localtime-file): Likewise.
21117
0741d64c
AS
211182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21119
21120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21121 Update.
21122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21123 Update.
21124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21125 Update.
21126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21127 Update.
21128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21129 Update.
21130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21131 Update.
21132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21133 Update.
21134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21135 Update.
21136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21137 Update.
21138
7cb029ee
JM
211392012-05-01 Joseph Myers <joseph@codesourcery.com>
21140
21141 [BZ #2550]
21142 [BZ #2570]
21143 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21144 comparisons to determine direction to adjust input.
21145 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21146 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21147 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21148 Likewise.
21149 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21150 Likewise.
21151 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21152 Likewise.
21153 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21154 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21155 Likewise.
21156 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21157 Likewise.
21158 * math/libm-test.inc (nexttoward_test): Add more tests.
21159
412bd966
AS
211602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21161
21162 [BZ #14040]
21163 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21164 in version GLIBC_2.1, not GLIBC_2.0.
21165 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21166 Likewise.
21167
9568c0c2
JM
211682012-04-30 Joseph Myers <joseph@codesourcery.com>
21169
adfbc8ac
JM
21170 [BZ #13942]
21171 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21172 (1 - x) * (1 + x).
21173 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21174 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21175 * math/libm-test.inc (acos_test): Add more tests.
21176 (asin_test): Likewise.
21177 * sysdeps/i386/fpu/libm-test-ulps: Update.
21178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21179
5ba3cc69
JM
21180 [BZ #14034]
21181 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21182 of square root.
21183 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21184 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21185 * math/libm-test.inc (acos_test_tonearest): New function.
21186 (acos_test_towardzero): Likewise.
21187 (acos_test_downward): Likewise.
21188 (acos_test_upward): Likewise.
21189 (asin_test_tonearest): Likewise.
21190 (asin_test_towardzero): Likewise.
21191 (asin_test_downward): Likewise.
21192 (asin_test_upward): Likewise.
21193 (main): Call the new functions.
21194 * sysdeps/i386/fpu/libm-test-ulps: Update.
21195 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21196
9568c0c2
JM
21197 [BZ #13884]
21198 [BZ #13924]
21199 * math/e_exp10.c: Include <float.h>.
21200 (__ieee754_exp10): Handle underflow here rather than multiplying
21201 large negative argument by M_LN10.
21202 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21203 of __ieee754_expf.
21204 * math/e_exp10l.c: Include <float.h>.
21205 (__ieee754_exp10l): Handle underflow here rather than multiplying
21206 large negative argument by M_LN10l.
21207 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21208 spurious overflow exception on underflow.
21209
5ac3ea17
MP
212102012-04-29 Marek Polacek <polacek@redhat.com>
21211
21212 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21213 (__fortify_function): New macro.
21214 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21215 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21216 __extern_always_inline.
21217 * libio/bits/stdio2.h: Likewise.
21218 * libio/bits/stdio.h: Likewise.
21219 * string/string.h: Likewise.
21220 * string/bits/string3.h: Likewise.
21221 * include/stdio.h: Likewise.
21222 * stdlib/bits/stdlib.h: Likewise.
21223 * stdlib/stdlib.h: Likewise.
21224 * rt/bits/mqueue2.h: Likewise.
21225 * rt/mqueue.h: Likewise.
21226 * posix/bits/unistd.h: Likewise.
21227 * posix/unistd.h: Likewise.
21228 * io/bits/poll2.h: Likewise.
21229 * io/bits/fcntl2.h: Likewise.
21230 * io/fcntl.h: Likewise.
21231 * io/sys/poll.h: Likewise.
21232 * misc/bits/syslog.h: Likewise.
21233 * misc/bits/syslog-ldbl.h: Likewise.
21234 * misc/sys/syslog.h: Likewise.
21235 * socket/bits/socket2.h: Likewise.
21236 * socket/sys/socket.h: Likewise.
21237 * debug/tst-chk1.c: Likewise.
21238 * wcsmbs/bits/wchar2.h: Likewise.
21239 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21240 * wcsmbs/wchar.h: Likewise.
21241
ecf0ebfb
AJ
212422012-04-29 Andreas Jaeger <aj@suse.de>
21243
21244 * Makerules (tests): Remove enable-check-abi protection.
21245 (check-abi-warn): Remove.
21246 (check-abi-%): Remove check-abi-warn usage.
21247
21248 * configure.in: Remove check-abi configure option.
21249 * configure: Regenerated.
21250 * config.make.in (enable-check-abi): Remove.
21251
6d5c57fa
AS
212522012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21253
24c5d07e 21254 [BZ #14033]
ded5180a
AS
21255 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21256 double functions to double *_finite functions.
21257
7e0d315d
AS
21258 [BZ #13941]
21259 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21260 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21261 LDBL_MIN_EXP.
21262 * stdio-common/Makefile (tests): Add tst-sprintf3.
21263 * stdio-common/tst-sprintf3.c: New file.
21264
6d5c57fa
AS
21265 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21266 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21267
0749ff8b
JM
212682012-04-28 Joseph Myers <joseph@codesourcery.com>
21269
21270 * conform/conformtest.pl: Remove duplicate typed-constant
21271 handling.
21272
8dbd5d7b
DM
212732012-04-28 David S. Miller <davem@davemloft.net>
21274
21275 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21276 (check-abi-%): Remove AWK script prerequisite and explicit
21277 abilist directory.
21278 (check-abi): Rewrite to just diff the symlist with the abilist.
21279 (config-tls, config-abi-config): Delete, no longer used.
21280 (update-abi-%): Remove AWK script and explicit abilist directory.
21281 (update-abi): Rewrite to simply compare and conditionally copy the
21282 symlist and the sysdep abilist file. Remove update-abi-config
21283 checks.
21284 * abilist/ld.abilist: Remove.
21285 * abilist/libBrokenLocale.abilist: Remove.
21286 * abilist/libanl.abilist: Remove.
21287 * abilist/libcrypt.abilist: Remove.
21288 * abilist/libdl.abilist: Remove.
21289 * abilist/librt.abilist: Remove.
21290 * abilist/libthread_db.abilist: Remove.
21291 * abilist/libutil.abilist: Remove.
21292 * scripts/extract-abilist.awk: Remove.
21293 * scripts/merge-abilist.awk: Remove.
21294 * sysdeps/generic/libcidn.abilist: New file.
21295 * sysdeps/generic/libnss_compat.abilist: New file.
21296 * sysdeps/generic/libnss_db.abilist: New file.
21297 * sysdeps/generic/libnss_dns.abilist: New file.
21298 * sysdeps/generic/libnss_files.abilist: New file.
21299 * sysdeps/generic/libnss_hesiod.abilist: New file.
21300 * sysdeps/generic/libnss_nis.abilist: New file.
21301 * sysdeps/generic/libnss_nisplus.abilist: New file.
21302 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21303 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21304 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21305 file.
21306 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21307 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21308 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21309 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21310 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21311 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21312 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21313 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21314 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21315 file.
21316 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21317 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21318 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21319 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21320 file.
21321 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21322 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21323 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21324 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21325 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21326 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21327 file.
21328 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21329 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21330 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21331 file.
21332 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21334 New file.
21335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21336 New file.
21337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21338 New file.
21339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21340 New file.
21341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21342 New file.
21343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21344 New file.
21345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21346 New file.
21347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21348 New file.
21349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21350 New file.
21351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21352 New file.
21353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21354 New file.
21355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21356 New file.
21357 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21358 New file.
21359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21360 file.
21361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21362 New file.
21363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21364 New file.
21365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21366 file.
21367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21368 New file.
21369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21370 New file.
21371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21372 file.
21373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21374 New file.
21375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21376 New file.
21377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21378 New file.
21379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21380 New file.
21381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21382 New file.
21383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21384 New file.
21385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21387 file.
21388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21389 New file.
21390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21391 file.
21392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21393 file.
21394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21395 file.
21396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21397 file.
21398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21399 file.
21400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21401 New file.
21402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21403 file.
21404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21405 file.
21406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21407 New file.
21408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21409 file.
21410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21412 file.
21413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21414 New file.
21415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21416 file.
21417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21418 file.
21419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21420 file.
21421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21422 file.
21423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21424 file.
21425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21426 New file.
21427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21428 file.
21429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21430 file.
21431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21432 New file.
21433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21434 file.
21435 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21436 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21437 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21438 file.
21439 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21440 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21441 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21442 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21443 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21444 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21445 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21446 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21447 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21448 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21451 file.
21452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21453 New file.
21454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21455 file.
21456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21457 file.
21458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21459 file.
21460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21461 file.
21462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21463 file.
21464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21465 New file.
21466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21467 New file.
21468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21469 file.
21470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21471 New file.
21472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21473 file.
21474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21476 file.
21477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21478 New file.
21479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21480 file.
21481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21482 file.
21483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21484 file.
21485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21486 file.
21487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21488 file.
21489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21490 New file.
21491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21492 New file.
21493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21494 file.
21495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21496 New file.
21497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21498 file.
21499
41d73a1b
JM
215002012-04-28 Joseph Myers <joseph@codesourcery.com>
21501
21502 * conform/conformtest.pl: Fix typo in handling typed-constant from
21503 allow-header.
21504
28aeeda4
JM
215052012-04-27 Joseph Myers <joseph@codesourcery.com>
21506
adae8f5e
JM
21507 * README: Cut down references to pre-2.6 Linux kernels and
21508 Linuxthreads. Update lists of configurations in libc and ports
21509 and sort alphabetically. Say "or newer" with Linux kernel version
21510 requirements.
21511
28aeeda4
JM
21512 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21513
a462cb63
RA
215142012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21515
21516 [BZ #887]
21517 * math/libm-test.inc (logb_test_downward): New test to expose
21518 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21519 rounding mode.
21520
6ad3493e
JM
215212012-04-27 Joseph Myers <joseph@codesourcery.com>
21522
21523 [BZ #14027]
21524 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21525 to be done.
21526 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21527 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21528
2ce4f015
JM
215292012-04-26 Joseph Myers <joseph@codesourcery.com>
21530
5aeb141a
JM
21531 * sysdeps/unix/i386/brk.S: Remove file.
21532 * sysdeps/unix/i386/dl-brk.S: Likewise.
21533 * sysdeps/unix/i386/pipe.S: Likewise.
21534 * sysdeps/unix/i386/sigreturn.S: Likewise.
21535 * sysdeps/unix/i386/syscall.S: Likewise.
21536 * sysdeps/unix/i386/vfork.S: Likewise.
21537 * sysdeps/unix/i386/wait.S: Likewise.
21538
7143acae
JM
21539 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21540 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21541
2ce4f015
JM
21542 * configure.in (arm*-none*): Do not allow without
21543 --enable-hacker-mode.
21544 (netbsd*): Remove case setting base_os.
21545 (386bsd*): Likewise.
21546 (freebsd*): Likewise.
21547 (bsdi*): Likewise.
21548 (osf*): Likewise.
21549 (sunos*): Likewise.
21550 (ultrix*): Likewise.
21551 (newsos*): Likewise.
21552 (dynix*): Likewise.
21553 (*bsd*): Likewise.
21554 (sysv*): Likewise.
21555 (isc*): Likewise.
21556 (esix*): Likewise.
21557 (sco*): Likewise.
21558 (minix*): Likewise.
21559 (irix4*): Likewise.
21560 (irix6*): Likewise.
21561 (solaris[2-9]*): Likewise.
21562 (none): Likewise.
21563 * configure: Regenerated.
21564
0ac229c8
AZ
215652012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21566
21567 [BZ #11521]
21568 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21569 overflow or cancellation in calculating denominator.
21570 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21571 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21572 down expression to avoid unexpected rounding in newer GCCs.
21573 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21574
33f244f4
DM
215752012-04-26 David S. Miller <davem@davemloft.net>
21576
21577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21578 long-double compat symbols.
21579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21592
cfa1f3e8
DM
215932012-04-25 David S. Miller <davem@davemloft.net>
21594
21595 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21596 HWCAP_* values only after the memory barriers have been defined.
21597 (atomic_full_barrier): Define.
21598 (atomic_read_barrier): Define.
21599 (atomic_write_barrier): Define.
21600
6e236b92
SP
216012012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21602
21603 * shlib-versions: Add libgcc_s version information.
21604 * sysdeps/generic/libgcc_s.h: Remove.
21605 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21606 libgcc_s.h.
21607 * sysdeps/gnu/unwind-resume.c: Likewise.
21608 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21609
aab39a09
DM
216102012-04-25 David S. Miller <davem@davemloft.net>
21611
21612 * sysdeps/unix/sparc/brk.S: Delete.
21613 * sysdeps/unix/sparc/dl-brk.S: Delete.
21614 * sysdeps/unix/sparc/pipe.S: Delete.
21615 * sysdeps/unix/sparc/sysdep.S: Delete.
21616 * sysdeps/unix/sparc/sysdep.h: Delete.
21617 * sysdeps/unix/sparc/vfork.S: Delete.
21618 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21619 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21620 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21621 ret_ERRVAL, r0, r1, MOVE): Define.
21622 (JUMPTARGET): Remove.
21623 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21624 sysdeps/unix/sparc/sysdep.h
21625 (ENTRY, END): Remove.
21626 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21627
a3cc4f48
JM
216282012-04-25 Joseph Myers <joseph@codesourcery.com>
21629
2ed8cda2
JM
21630 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21631 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21632 -DIS_IN_build.
21633
35d76d59
JM
21634 * timezone/README: Update upstream location and email address for
21635 tzcode and tzdata.
21636 * timezone/zdump.c: Update from tzcode 2012b.
21637 * timezone/zic.c: Likewise.
21638
a3cc4f48
JM
21639 * configure.in (libc_cv_as_needed): Remove test.
21640 * configure: Regenerated.
21641 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21642 conditional definition.
21643 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21644 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21645 * config.make.in (have-as-needed): Remove variable.
21646
ceab42c3
SP
216472012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21648 Paul Pluzhnikov <ppluzhnikov@google.com>
21649
21650 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21651 strings correctly.
21652
3ce2865f
CLT
216532012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21654
21655 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21656 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21657 * sysdeps/sh/strlen.S: Likewise.
21658
f37e0d68
JM
216592012-04-24 Joseph Myers <joseph@codesourcery.com>
21660
ae186e9a
JM
21661 * sysdeps/unix/fork.S: Remove file.
21662 * sysdeps/unix/i386/fork.S: Likewise.
21663 * sysdeps/unix/sparc/fork.S: Likewise.
21664
b96914af
JM
21665 * sysdeps/unix/system.c: Remove file.
21666 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21667
f37e0d68
JM
21668 * sysdeps/unix/getegid.S: Remove file.
21669 * sysdeps/unix/geteuid.S: Likewise.
21670
87ef29ca
RM
216712012-04-24 Roland McGrath <roland@hack.frob.com>
21672
83bcd236
RM
21673 * scripts/check-localplt.awk: New file.
21674 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21675 of diff.
21676 * scripts/data/localplt-generic.data: Add a comment.
21677
87ef29ca
RM
21678 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21679 NODE when __dir_mkfile failed.
21680 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21681 Reported by Ludovic Courtès <ludo@gnu.org>.
21682
e5a6e567
AJ
216832012-04-24 Andreas Jaeger <aj@suse.de>
21684
21685 * Makerules (common-clean): Also remove gen-as-const-headers
21686 files.
21687
c1820385
JM
216882012-04-24 Joseph Myers <joseph@codesourcery.com>
21689
21690 * Makerules (native-compile): Do not change working directory for
21691 build. Use $(OUTPUT_OPTION) in command.
21692 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21693
94e02fc4
AZ
216942012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21695
21696 [BZ #13886]
21697 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21698 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21699 * math/libm-test.inc (floor_test): Add more tests.
21700 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21701
3a533ca3
JM
217022012-04-24 Joseph Myers <joseph@codesourcery.com>
21703
940ab4b3
JM
21704 * sysdeps/unix/getdents.c: Remove file.
21705 * sysdeps/unix/sysv/getdents.c: Likewise.
21706 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21707
90e037bd
JM
21708 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21709 sysdeps/unix/mman/syscalls.list.
21710 (mmap): Likewise.
21711 (mprotect): Likewise.
21712 (msync): Likewise.
21713 (munmap): Likewise.
21714 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21715 * sysdeps/unix/mman/syscalls.list: Remove.
21716 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21717
3a533ca3
JM
21718 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21719 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21720 * configure: Regenerated.
21721 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21722 $(libgcc_s_suffix).
21723 * config.make.in (libgcc_s_suffix): Remove variable.
21724
1ad743de
JM
217252012-04-23 Joseph Myers <joseph@codesourcery.com>
21726
4ad451e2
JM
21727 * sysdeps/unix/sysv/gethostname.c: Move to ...
21728 * sysdeps/posix/gethostname.c: ... here.
21729
5e37ce39
JM
21730 * sysdeps/unix/execve.S: Remove file.
21731
1ad743de
JM
21732 * sysdeps/unix/_exit.S: Remove file.
21733
4e681b5b
AJ
217342012-04-23 Andreas Jaeger <aj@suse.de>
21735
21736 [BZ #13739]
21737 * manual/Makefile: Remove make dist support, there's no
21738 need for a stand-alone documentation tar ball.
21739 (TEXI2DVI): Define always, it's not in Makeconfig.
21740 (dist): Removed.
21741 (tar-it): Removed.
21742 (edition): Removed.
21743 (glibc-doc-$(edition).tar): Removed
21744 (%.Z): Removed.
21745 (%.gz): Removed.
21746 (%.uu): Removed.
21747 (ETAGS): Remove, it's in Makeconfig.
21748 (move-if-change): Remove, it's in Makeconfig.
21749
38686a03 217502012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21751
21752 [BZ #13970]
21753 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21754 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21755 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21756 (strtod_l, strtof_l, strtold_l): Remove __wur.
21757 It is not necessarily an error to ignore strtol's return value.
21758 One can reliably look at the stored endptr to decide whether
21759 the number had valid syntax.
21760
7c0616fa
AJ
217612012-04-21 Andreas Jaeger <aj@suse.de>
21762
803cb6b7 21763 [BZ #13739]
7c0616fa
AJ
21764 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21765
b0fe253f
JM
217662012-04-21 Joseph Myers <joseph@codesourcery.com>
21767
21768 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21769 * sysdeps/unix/sysv/Versions: Remove file.
21770
8280f22d
MT
217712012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21772
21773 [BZ #13927]
21774 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21775
75ce411f 217762012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21777
21778 [BZ #7064]
21779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21780 version from __vm86.
21781
097d59fa
JM
217822012-04-20 Joseph Myers <joseph@codesourcery.com>
21783
a90f3bcb
JM
21784 * sysdeps/unix/common/lxstat.c: Remove file.
21785 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21786
edc7ea78
JM
21787 * sysdeps/unix/sysv/Makefile: Remove file.
21788
cb78c221
JM
21789 * sysdeps/unix/sysv/direct.h: Remove file.
21790
efa6a45f
JM
21791 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21792 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21793 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21794 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21795 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21796 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21797 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21798
9c9f2d0c
JM
21799 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21800
4541c83b
JM
21801 * sysdeps/unix/xmknod.c: Remove file.
21802 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21803
f5d153a0
JM
21804 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21805
aa746595
JM
21806 * sysdeps/unix/sysv/i386/time.S: Remove file.
21807
cce5905e
JM
21808 * sysdeps/unix/fxstat.c: Remove file.
21809 * sysdeps/unix/xstat.c: Likewise.
21810 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21811
37fa3841
JM
21812 * sysdeps/unix/sysv/sigaction.c: Remove file.
21813
ff1962a3
JM
21814 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21815 (sysdep_headers): Remove variable.
21816 [termio.h not in sysdep_headers] (generated): Likewise.
21817 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21818 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21819 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21820 * sysdeps/unix/sysv/tcflow.c: Likewise.
21821 * sysdeps/unix/sysv/tcflush.c: Likewise.
21822 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21823 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21824 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21825 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21826 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21827
e7740d31
JM
21828 * sysdeps/unix/siglist.c: Remove file.
21829
ee06f18b
JM
21830 * sysdeps/unix/getppid.S: Remove file.
21831
097d59fa
JM
21832 * sysdeps/unix/mkdir.c: Remove file.
21833 * sysdeps/unix/rmdir.c: Likewise.
21834
ff3d51ec
AS
218352012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21836
21837 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21838 ERR_MAX value.
21839 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21840 errlist-compat value.
21841
50f81fd7
DM
218422012-04-18 David S. Miller <davem@davemloft.net>
21843
21844 * sysdeps/generic/memcopy.h (reg_char): Delete.
21845 * debug/strcat_chk.c: Use char, not reg_char.
21846 * debug/strcpy_chk.c: Likewise.
21847 * debug/strncat_chk.c: Likewise.
21848 * debug/strncpy_chk.c: Likewise.
21849 * string/memchr.c: Likewise.
21850 * string/memrchr.c: Likewise.
21851 * string/rawmemchr.c: Likewise.
21852 * string/strcat.c: Likewise.
21853 * string/strchr.c: Likewise.
21854 * string/strchrnul.c: Likewise.
21855 * string/strcmp.c: Likewise.
21856 * string/strcpy.c: Likewise.
21857 * string/strncat.c: Likewise.
21858 * string/strncmp.c: Likewise.
21859 * string/strncpy.c: Likewise.
21860
8ff41c46
WS
218612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21862
21863 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21864 __builtin_memcopy is called when src and dest ranges are known to not
21865 overlap.
21866
6b652f46
WS
218672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21868
21869 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21870 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21871 fwd_align_merge macro call.
21872 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21873 bwd_align_merge macro call.
21874 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21875
b282631e
WS
218762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21877
21878 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21879 bwd_align_merge macros.
21880 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21881 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21882 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21883
95aa737c
DM
218842012-04-18 David S. Miller <davem@davemloft.net>
21885
21886 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21887
7a99a614
AJ
218882012-04-18 Andreas Jaeger <aj@suse.de>
21889
21890 [BZ# 6794]
21891 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21892 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21893 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21894
21895 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21896 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21897 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21898
21899 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21900 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21901 Adjust for changed ldbl-128 files.
21902
21903 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21904 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21905 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21906
e5270c23
DM
219072012-04-17 David S. Miller <davem@davemloft.net>
21908
21909 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21910
fb5e92c9
AS
219112012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21912
21913 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21914 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21915 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21916 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21917 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21918 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21919
76da7265
AZ
219202012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21921
21922 [BZ #6794]
21923 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21924 * math/libm-test.inc: Add ilogb errno and exception tests.
21925 * math/w_ilogb.c: New file: ilogb wrapper.
21926 * math/w_ilogbf.c: New file: ilogbf wrapper.
21927 * math/w_ilogbl.c: New file: ilogbl wrapper.
21928 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21929 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21930 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21931 exception being thrown with 0.0 as argument.
21932 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21933 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21934 exception being thrown with 0.0 as argument.
21935 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21936 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21937 exception being thrown with 0.0 as argument.
21938 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21939 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21940 exception being thrown with 0.0 as argument.
21941 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21942 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21943 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21944 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21945 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21946 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21947 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21948 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21949 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21950
0396e69d
PB
219512012-04-17 Petr Baudis <pasky@ucw.cz>
21952
21953 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21954 with altivec.
21955
750b5926
MP
219562012-04-16 Marek Polacek <polacek@redhat.com>
21957
21958 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21959
751728a1
MP
219602012-04-16 Marek Polacek <polacek@redhat.com>
21961
21962 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21963 operands of fdivp instruction.
21964
34a27407
L
219652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21966
21967 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21968 * elf/tst-auditmod3b.c: Likewise.
21969 * elf/tst-auditmod4b.c: Likewise.
21970 * elf/tst-auditmod5b.c: Likewise.
21971 * elf/tst-auditmod6b.c: Likewise.
21972 * elf/tst-auditmod6c.c: Likewise.
21973 * elf/tst-auditmod7b.c: Likewise.
21974 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21975 * sysdeps/x86_64/preconfigure.in: Likewise.
21976 * sysdeps/x86_64/preconfigure: Regenerated.
21977
7e73e17d
L
219782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21979
21980 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21981 __ILP32__.
21982
c7a6ab72
AB
219832012-04-13 Antoine Balestrat <merkil33@gmail.com>
21984
21985 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21986 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21987
a9e8e0e0
CL
219882012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21989
21990 [BZ #13973]
21991 * locale/iso-639.def: Fix gl language name. Spotted by
21992 Yaron Shahrabani.
21993
ec98af7d
RM
219942012-04-12 Roland McGrath <roland@hack.frob.com>
21995
21996 [BZ #2074]
21997 * libio/libio.h (__io_write_fn): Update comment.
21998
247c3ede
PB
219992012-04-12 Petr Baudis <pasky@ucw.cz>
22000
22001 [BZ #2074]
22002 * stdio.texi (Hook Functions): The user provided writer function
22003 is not allowed to return -1.
22004
55939d6d
DM
220052012-04-11 David S. Miller <davem@davemloft.net>
22006
22007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22008
90020f5a
MF
220092012-04-11 Mike Frysinger <vapier@gentoo.org>
22010
22011 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22012 Add a leading slash to rtkaio.
22013
288f9098
JM
220142012-04-11 Jim Meyering <meyering@redhat.com>
22015
90020f5a
MF
22016 [BZ #11959]
22017 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22018 It is not necessarily an error to ignore fwrite's return
22019 value. One can reliably use ferror to test for errors after
22020 the fact.
288f9098 22021
4be2b570
L
220222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22023
22024 * bits/types.h (__snseconds_t): New type.
22025 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22026
22027 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22028 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22029 (__SNSECONDS_T_TYPE): Likewise.
22030 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22031 (__SNSECONDS_T_TYPE): Likewise.
22032 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22033 (__SNSECONDS_T_TYPE): Likewise.
22034
288f9098 220352012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
22036
22037 [BZ #2636]
22038 * manual/time.texi (Processor Time): Return type of times is
22039 elapsed real time since an arbitrary point in the past.
22040 (CPU Time): Move CLK_TCK from here...
22041 (Processor Time): ...to here. Correct description.
22042 * manual/conf.texi (Constants for Sysconf): Correct description of
22043 _SC_CLK_TCK.
22044
d7dd4413
DM
220452012-04-10 David S. Miller <davem@davemloft.net>
22046
22047 [BZ #13967]
22048 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22049 where the is a gap between DT_REL(A) and DT_JMPREL.
22050
b46068fc
L
220512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22052
22053 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22054 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22055 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22056
73d65cc3
SP
220572012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22058
22059 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22060 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22061 (dl_main): Handle --inhibit-cache.
22062 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22063 _dl_inhibit_cache.
22064 * elf/dl-load.c (_dl_map_object): Use it.
22065 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22066
bcc8d661
JM
220672012-04-09 Joseph Myers <joseph@codesourcery.com>
22068
8f9a2fae
JM
22069 [BZ #13872]
22070 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22071 (__ieee754_powl): Saturate large exponents rather than testing for
22072 overflow of y*log2(x).
22073 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22074 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22075 exceptions.
22076
bcc8d661
JM
22077 [BZ #11521]
22078 * math/s_ctan.c: Include <float.h>.
22079 (__ctan): Avoid internal overflow or cancellation in calculating
22080 denominator.
22081 * math/s_ctanf.c: Likewise.
22082 * math/s_ctanl.c: Likewise.
22083 * math/s_ctanh.c: Likewise.
22084 * math/s_ctanhf.c: Likewise.
22085 * math/s_ctanhl.c: Likewise.
22086 * math/libm-test.inc (ctan_test): Add more tests.
22087 (ctanh_test): Likewise.
22088 * sysdeps/i386/fpu/libm-test-ulps: Update.
22089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22090
823fbbb4
AJ
220912012-04-09 Andreas Jaeger <aj@suse.de>
22092
03879793
AJ
22093 [BZ #6894]
22094 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22095 is an optional BSD extension.
22096
823fbbb4
AJ
22097 [BZ #10254]
22098 * manual/stdio.texi (Opening Streams): Document additional fopen
22099 parameters.
22100
8de131cb
RM
221012012-04-09 Roland McGrath <roland@hack.frob.com>
22102
22103 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22104 %eax without telling the compiler.
22105
c0ed9d7d
CD
221062012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22107
22108 [BZ # 13963]
22109 * manual/install.texi: Use sourceware.org.
22110
c483f6b4
JM
221112012-04-09 Joseph Myers <joseph@codesourcery.com>
22112
d7dd9453
JM
22113 [BZ #13873]
22114 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22115 (__ieee754_pow): Generate overflow and underflow using huge*huge
22116 and tiny*tiny rather than just returning constant infinity or zero
22117 for large exponents.
22118 * math/libm-test.inc (pow_test): Require overflow exceptions for
22119 applicable cases of large exponents.
22120
c483f6b4
JM
22121 [BZ #706]
22122 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22123 (__ieee754_pow): Use iterative multiplication algorithm only for
22124 integer exponents with absolute value below 1024. Check for odd
22125 integer exponents when using algorithm for real exponents.
22126 * math/libm-test.inc (pow_test): Add more tests.
22127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22128
d2de7579
JM
221292012-04-08 Joseph Myers <joseph@codesourcery.com>
22130
22131 [BZ #13705]
22132 * math/libm-test.inc (exp_test): Do not allow overflow exception
22133 on underflow test.
22134
f77f1232
AJ
221352012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22136
22137 [BZ #13705]
22138 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22139 instead of __kernel_standard_f.
22140
3884932b
MF
221412012-04-08 Mike Frysinger <vapier@gentoo.org>
22142
22143 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22144 * sysdeps/x86_64/memset_chk.S: Likewise.
22145
54472e9c
AJ
221462012-04-08 Andreas Jaeger <aj@suse.de>
22147
6ab0fbfc
AJ
22148 [BZ #10153]
22149 * manual/startup.texi (Environment Access): Describe return value
22150 for putenv and setenv.
22151
61efba8c
AJ
22152 [BZ #6895]
22153 * manual/filesys.texi (Directory Entries): Add description for
22154 DT_LNK.
22155
95c3f29a
AJ
22156 [BZ #6890]
22157 * manual/filesys.texi (Directory Entries): Clarify that it's file
22158 system not operating system in the description of DT_UNKNOWN.
22159
54472e9c
AJ
22160 [BZ #6578]
22161 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22162
624254b1
SC
221632012-04-08 Stephen Compall <s11@member.fsf.org>
22164
22165 [BZ #6649]
22166 * manual/llio.texi (Opening and Closing Files): Add cross
22167 reference to explain mode argument.
22168
1e4920e0
MF
221692012-04-07 Mike Frysinger <vapier@gentoo.org>
22170
22171 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22172 * sysdeps/x86_64/memset_chk.S: Likewise.
22173
5ed848f3
DM
221742012-04-07 David S. Miller <davem@davemloft.net>
22175
22176 * elf/elf.h (R_SPARC_WDISP10): Define.
22177 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22178 R_SPARC_SIZE32.
22179 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22180 R_SPARC_SIZE64 and R_SPARC_H34.
22181
96154cd8
CD
221822012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22183
22184 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22185 conditions and remove no longer applicable assertion.
22186
9904dc47
L
221872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22188
22189 * bits/byteswap.h: Include <features.h>.
22190 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22191 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22192
f8887d0a
L
221932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22194
22195 * bits/byteswap.h (__bswap_16): Removed.
22196 Include <bits/byteswap-16.h> to get __bswap_16.
22197 * sysdeps/i386/bits/byteswap.h: Likewise.
22198 * sysdeps/s390/bits/byteswap.h: Likewise.
22199 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22200 * bits/byteswap-16.h: New file.
22201 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22202 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22203 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22204 * string/Makefile (headers): Add bits/byteswap-16.h.
22205
62470f60
PP
222062012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22207
22208 [BZ #13895]
22209 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22210 extra indirection.
22211 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22212 * nss/tst-nss-static.c: New.
22213
4dad7bab
RM
222142012-04-06 Robert Millan <rmh@gnu.org>
22215
22216 [BZ #6486]
22217 * manual/llio.texi (File Position Primitive): lseek
22218 refers to WHENCE when it really means OFFSET.
22219
e9142a17
AJ
222202012-04-06 Andreas Jaeger <aj@suse.de>
22221
2c040eff
AJ
22222 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22223 strncmp declarations.
22224
e9142a17
AJ
22225 * abilist/libc.abilist: Add __poll and __ppoll.
22226
ff9f1c5f
DM
222272012-04-05 David S. Miller <davem@davemloft.net>
22228
dcd2ae90
DM
22229 * scripts/check-local-headers.sh: Accept a host triplet in the
22230 path matched by the exclude regexp.
22231
993eb054
DM
22232 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22233 definition.
22234 * sysdeps/powerpc/powerpc32/dl-machine.h
22235 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22236 * sysdeps/s390/s390-32/dl-machine.h
22237 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22238 * sysdeps/sparc/sparc32/dl-machine.h
22239 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22240 * sysdeps/sparc/sparc64/dl-machine.h
22241 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22242
ff9f1c5f
DM
22243 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22244 lazy binding.
48e2e132 22245 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22246 undefined symbol errors.
22247
48e2e132 22248 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22249 DT_NEEDED entries.
22250
e80d6f94
MM
222512012-04-05 Michael Matz <matz@suse.de>
22252
22253 [BZ #13592]
22254 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22255
349fa79f
AJ
222562012-04-05 Andreas Jaeger <aj@suse.de>
22257
22258 [BZ #13908]
22259 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22260 comment.
22261
f402708f
KK
222622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22263
22264 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22265 which ROUND is no valid rounding mode.
22266
2ecccfc9
KK
222672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22268
22269 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22270 read again.
22271 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22272
8a53f50f
KK
222732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22274
22275 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22276 an exception using FPU order intentionally.
22277
222782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22279
22280 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22281 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22282 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22283 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22284
d653abb7
SJ
222852012-04-05 Simon Josefsson <simon@josefsson.org>
22286
22287 [BZ #12340]
22288 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22289 EINVAL when BUFLEN is too smal.
22290
c3b1bf7d
TS
222912012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22292
22293 [BZ #13553]
22294 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22295 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22296
b1aa60f3
AJ
222972012-04-03 Andreas Jaeger <aj@suse.de>
22298
c3b1bf7d 22299 [BZ #13938]
67f60a26
AJ
22300 * manual/setjmp.texi (System V contexts): Fix sentence.
22301
b1aa60f3
AJ
22302 [BZ #13926]
22303 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22304 New macro for this case.
22305 [!__GNUC__] (__bswap_64): New inline function for this case.
22306 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22307 * bits/byteswap.h: Likewise.
22308 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22309 ull, guard with __GLIBC_HAVE_LONG_LONG.
22310
22311 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22312 __GLIBC_HAVE_LONG_LONG.
22313
22314 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22315 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22316
39c59c35
TMQMF
223172012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22318
22319 [BZ #13691]
22320 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22321 inptr and inend, rather than using last_ch.
22322
135ffda8
DM
223232012-04-02 David S. Miller <davem@davemloft.net>
22324
22325 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22326 * stdio-common/printf-parse.h (read_int): Change return type to
22327 'int', return -1 on INT_MAX overflow.
22328 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22329 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22330 overflows INT_MAX. Check for overflow of in-format-string precision
22331 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22332 SIZE_MAX not INT_MAX for integer overflow test.
22333 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22334 skip the construct in the format string but do not record anything.
22335 * stdio-common/bug22.c: Adjust to test both width/prevision
22336 INT_MAX overflow as well as total length INT_MAX overflow. Check
22337 explicitly for proper errno values.
22338
228c019e
TS
223392012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22340
302cadd3
TS
22341 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22342 CHAR_MAX.
22343 * string/test-strcmp.c [! WIDE]: Likewise.
22344 * time/tst-mktime2.c: Likewise for INT_MAX.
22345 * string/test-string.h: #include <sys/param.h> for MIN.
22346
228c019e
TS
22347 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22348 * sysdeps/i386/init-first.c (init): Likewise.
22349 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22350 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22351 * sysdeps/sh/init-first.c (init): Likewise.
22352
cfa633f5
UD
223532012-04-01 Ulrich Drepper <drepper@gmail.com>
22354
22355 * po/ru.po: Update from translation team.
d1635ef8 22356 * po/vi.po: Likewise.
cfa633f5 22357
6cd0a5ea
SP
223582012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22359
22360 * resolv/nss_dns/dns-host.c: Merge copyright years.
22361
4b43400f
LD
223622012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22363
22364 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22365 Optimize memcpy with prefetch if
22366 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22367 src, dst pointers have unequal 16 byte alignments.
22368
48c41d04
SP
223692012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22370
22371 [BZ #13928]
22372 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22373 from a CNAME entry and return the minimum ttl for the query.
22374 (gaih_getanswer_slice): Likewise.
22375
b8dc394d
JL
223762012-03-30 Jeff Law <law@redhat.com>
22377
22378 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22379 due to long keys.
22380 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22381 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22382
2f5a5ed0
JL
22383 * resolv/nss_dns/dns-host.c: Update copyright year.
22384
1d39e359
UD
223852012-03-30 Ulrich Drepper <drepper@gmail.com>
22386
c030f70c 22387 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22388 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22389
1d39e359
UD
22390 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22391 comments for sendmmsg.
22392
223932012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22394
22395 [BZ #13691]
22396 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22397 with only 1 character between 0x0041 and 0x01b0.
22398 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22399 * wcsmbs/tst-mbsnrtowcs.c: New file.
22400
20fde227
DM
224012012-03-29 David S. Miller <davem@davemloft.net>
22402
22403 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22404 small copies by hand.
22405
984a4237
JL
224062012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22407
22408 [BZ #13761]
22409 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22410 _nss_compat_initgroups_dyn): Fall back to malloc/free
22411 for large group memberships.
22412
18c9d62b
DM
224132012-03-28 David S. Miller <davem@davemloft.net>
22414
88d85d4f
DM
22415 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22416 that branches into memcpy.
22417 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22418 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22419 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22420 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22421 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22422 bits.
22423 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22424 implementation too.
22425 * sysdeps/sparc/mempcpy.S: New file.
22426
e5aa83e1
DM
22427 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22428 the IFUNC routine in the libc case.
22429 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22430
88570753
DM
22431 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22432 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22433 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22434 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22435 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22436 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22437 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22438 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22439
249d7567
DM
22440 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22441 loop to 256 bytes instead of 64 bytes and fix test signedness.
22442
18c9d62b
DM
22443 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22444 * sysdeps/sparc/sparc32/Makefile: rather than here...
22445 * sysdeps/sparc/sparc64/Makefile: and here.
22446
05f3d1f6
UD
224472012-03-28 Ulrich Drepper <drepper@gmail.com>
22448
22449 * malloc/mallocbug.c: Avoid warnings about unused variables.
22450
86ae07a8
JL
224512012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22452
22453 [BZ #13760]
22454 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22455 in the right place. Discard and retry query if response is
22456 larger than input buffer size.
22457
41bf21a1
JM
224582012-03-28 Joseph Myers <joseph@codesourcery.com>
22459
d6270972
JM
22460 [BZ #369]
22461 [BZ #2678]
22462 [BZ #3866]
22463 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22464 x for large integer exponent.
22465 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22466 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22467 sign of result as needed afterwards.
22468 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22469 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22470 result for underflowing pow the same as for overflow.
22471 (__kernel_standard_l): Handle powl overflow and underflow here
22472 rather than calling __kernel_standard.
22473 * math/libm-test.inc (pow_test): Add more tests.
22474
414fca03 22475 [BZ #3868]
41bf21a1
JM
22476 [BZ #13879]
22477 [BZ #13910]
22478 [BZ #13911]
22479 [BZ #13912]
22480 [BZ #13913]
22481 [BZ #13915]
22482 [BZ #13916]
22483 [BZ #13917]
22484 [BZ #13918]
22485 [BZ #13919]
22486 [BZ #13920]
22487 [BZ #13921]
22488 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22489 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22490 (__kernel_standard_l): New function.
22491 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22492 __kernel_standard.
22493 * math/w_acosl.c (__acosl): Likewise.
22494 * math/w_asinl.c (__asinl): Likewise.
22495 * math/w_atan2l.c (__atan2l): Likewise.
22496 * math/w_atanhl.c (__atanhl): Likewise.
22497 * math/w_coshl.c (__coshl): Likewise.
22498 * math/w_exp10l.c (__exp10l): Likewise.
22499 * math/w_exp2l.c (__exp2l): Likewise.
22500 * math/w_fmodl.c (__fmodl): Likewise.
22501 * math/w_hypotl.c (__hypotl): Likewise.
22502 * math/w_j0l.c (__j0l, __y0l): Likewise.
22503 * math/w_j1l.c (__j1l, __y1l): Likewise.
22504 * math/w_jnl.c (__jnl, __ynl): Likewise.
22505 * math/w_lgammal.c (__lgammal): Likewise.
22506 * math/w_log10l.c (__log10l): Likewise.
22507 * math/w_log2l.c (__log2l): Likewise.
22508 * math/w_logl.c (__logl): Likewise.
22509 * math/w_powl.c (__powl): Likewise.
22510 * math/w_remainderl.c (__remainderl): Likewise.
22511 * math/w_scalbl.c (sysv_scalbl): Likewise.
22512 * math/w_sinhl.c (__sinhl): Likewise.
22513 * math/w_sqrtl.c (__sqrtl): Likewise.
22514 * math/w_tgammal.c (__tgammal): Likewise.
22515 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22516 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22517 * math/libm-test.inc (acos_test): Add more tests.
22518 (acosh_test): Likewise.
22519 (asin_test): Likewise.
22520 (atanh_test): Likewise.
22521 (exp_test): Likewise.
22522 (exp10_test): Likewise.
22523 (exp2_test): Likewise.
22524 (expm1_test): Likewise.
22525 (lgamma_test): Likewise.
22526 (log_test): Likewise.
22527 (log10_test): Likewise.
22528 (log1p_test): Likewise.
22529 (log2_test): Likewise.
22530 (pow_test): Do not allow some spurious overflow exceptions.
22531 (sqrt_test): Add more tests.
22532 (tgamma_test): Likewise.
22533 (y0_test): Likewise.
22534 (y1_test): Likewise.
22535 (yn_test): Likewise.
22536
dd62fda6
AB
225372012-03-27 Anton Blanchard <anton@samba.org>
22538
22539 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22540 MAP_HUGETLB.
22541 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22542 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22543 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22544
1e3cdfda
AJ
225452012-03-27 David S. Miller <davem@davemloft.net>
22546
b855ab85
DM
22547 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22548
1e3cdfda
AJ
22549 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22550 have-as-vis3 check.
22551
225522012-03-27 Andreas Jaeger <aj@suse.de>
22553
22554 * sysdeps/x86_64/elf/configure.in: Moved to ...
22555 * sysdeps/x86_64/configure.in: ... here.
22556 * sysdeps/x86_64/elf/start.S: Moved to ...
22557 * sysdeps/x86_64/start.S: ... here.
22558 * sysdeps/x86_64/elf/configure: Delete.
22559
22560 * sysdeps/x86_64/configure.in: Merge contents from
22561 sysdeps/i386/configure.in (without i686 check).
22562
22563 * sysdeps/i386/elf/Versions: Merge into ...
22564 * sysdeps/i386/Versions: ... this.
22565 * sysdeps/i386/elf/Versions: Delete file.
22566 * sysdeps/i386/elf/start.S: Moved to ...
22567 * sysdeps/i386/start.S: ...here.
22568 * sysdeps/i386/elf/configure.in: Merge into...
22569 * sysdeps/i386/configure.in: ...here.
22570 * sysdeps/i386/elf/configure.in: Delete file.
22571 * sysdeps/i386/elf/configure: Delete file.
22572
22573 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22574 * debug/backtracesyms.c: ... here.
22575 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22576 * debug/backtracesymsfd.c: ... here.
22577 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22578 * sysdeps/generic/ifunc-sel.h: ... here.
22579
22580 * sysdeps/unix/i386/start.c: Delete file.
22581 * sysdeps/unix/sparc/start.c: Delete file.
22582 * sysdeps/unix/start.c: Delete file.
22583
22584 * sysdeps/sh/elf/configure.in: Moved to ...
22585 * sysdeps/sh/configure.in: ... here.
22586 * sysdeps/sh/elf/start.S: Moved to ...
22587 * sysdeps/sh/start.S: ... here.
22588 * sysdeps/sh/elf/configure: Delete file.
22589
22590 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22591 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22592 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22593 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22594 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22595 * sysdeps/powerpc/powerpc64/start.S: here.
22596 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22597 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22598 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22599 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22600 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22601
22602 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22603 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22604 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22605 * sysdeps/powerpc/powerpc32/start.S: ... here.
22606 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22607 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22608 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22609
22610 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22611 * sysdeps/powerpc/ifunc-sel.h: ... here.
22612 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22613 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22614
22615 * sysdeps/sparc/elf/configure.in: Moved to ...
22616 * sysdeps/sparc/configure.in: ... here.
22617 * sysdeps/sparc/elf/configure: Delete file.
22618 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22619 * sysdeps/sparc/sparc32/start.S: ... here.
22620 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22621 * sysdeps/sparc/sparc64/start.S: ... here.
22622 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22623 * sysdeps/sparc/sparc32/Makefile: ... this.
22624 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22625 * sysdeps/sparc/sparc64/Makefile: ... this.
22626
22627 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22628 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22629 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22630 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22631 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22632 * sysdeps/s390/s390-32/setjmp.S: ... here.
22633 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22634 * sysdeps/s390/s390-32/configure.in: ... here.
22635 * sysdeps/s390/s390-32/elf/configure: Delete file.
22636 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22637 * sysdeps/s390/s390-32/start.S: ... here.
22638
22639 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22640 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22641 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22642 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22643 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22644 * sysdeps/s390/s390-64/setjmp.S: ... here.
22645 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22646 * sysdeps/s390/s390-64/configure.in: ... here
22647 * sysdeps/s390/s390-64/elf/configure: Delete file.
22648 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22649 * sysdeps/s390/s390-64/start.S: ... here.
22650 * sysdeps/s390/s390-64/elf/configure: Delete.
22651
22652 * configure.in: Remove support for elf directories in sysdeps.
22653
22654 * configure: Regenerated.
22655 * sysdeps/i386/configure: Regenerated.
22656 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22657 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22658 * sysdeps/s390/s390-32/configure: Regenerated.
22659 * sysdeps/s390/s390-64/configure: Regenerated.
22660 * sysdeps/sh/configure: Regenerated.
22661 * sysdeps/sparc/configure: Regenerated.
22662 * sysdeps/x86_64/configure: Regenerated.
22663
a3f61311
AS
226642012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22665
c876e002
AS
22666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22667
a3f61311
AS
22668 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22669 denormal result into account.
22670
ac4c54f0
RM
226712012-03-25 Roland McGrath <roland@hack.frob.com>
22672
22673 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22674 Reported by Allan McRae <allan@archlinux.org>.
22675
6a9b9c02
JL
226762012-03-23 Jeff Law <law@redhat.com>
22677
22678 * nss/getnssent.c (__nss_getent): Fix typo.
22679
4c42a0c1
DM
226802012-03-23 David S. Miller <davem@davemloft.net>
22681
22682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22683
1532c7ac
L
226842012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22685
22686 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22687 to pad to uint64_t for each field.
22688 (dl_tls_index): Replace unsigned long with uint64_t.
22689
3ff42526
PP
226902012-03-23 Daniel Jacobowitz <dmj@google.com>
22691 Paul Pluzhnikov <ppluzhnikov@google.com>
22692
22693 [BZ #6528]
22694 * grp/Makefile (otherlibs): Don't set it.
22695 * inet/Makefile (otherlibs): Likewise.
22696 * login/Makefile (otherlibs): Likewise.
22697 * nscd/Makefile (otherlibs): Likewise.
22698 * posix/Makefile (otherlibs): Likewise.
22699 * pwd/Makefile (otherlibs): Likewise.
22700 * rt/Makefile (otherlibs): Likewise.
22701 * sunrpc/Makefile (otherlibs): Likewise.
22702 * nss/Makefile (otherlibs): Likewise.
22703 Add libnss_files to routines and static-only-routines.
22704 ($(objpfx)getent): Remove rule.
22705 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22706 static-only-routines.
22707
7c69cd14
JM
227082012-03-22 Joseph Myers <joseph@codesourcery.com>
22709
22710 [BZ #13892]
22711 * math/s_cexp.c: Include <float.h>.
22712 (__cexp): Handle exp result overflowing not necessarily
22713 overflowing both real and imaginary parts of result.
22714 * math/s_cexpf.c: Likewise.
22715 * math/s_cexpl.c: Likewise.
22716 * math/libm-test.inc (cexp_test): Add more tests.
22717 * sysdeps/i386/fpu/libm-test-ulps: Update.
22718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22719
81b035fe
L
227202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22721
22722 * include/link.h (ELFW): New macro.
22723 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22724 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22725
1da7940c
L
227262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22727
22728 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22729 with uint64_t.
22730
b749dbb9
L
227312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22732
22733 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22734 declaration.
22735 (struct La_x32_retval): Likewise.
22736
2ff87f3f
L
227372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22738
22739 * sysdeps/x86_64/preconfigure.in: New file.
22740 * sysdeps/x86_64/preconfigure: New generated file.
22741
c0df8e69
JM
227422012-03-22 Joseph Myers <joseph@codesourcery.com>
22743
48e44791
JM
22744 [BZ #13824]
22745 * math/e_exp2l.c: Include <float.h>.
22746 (__ieee754_exp2l): Handle overflow and underflow cases
22747 separately. Only pass fractional part of argument to
22748 __ieee754_expl.
22749 * math/libm-test.inc (exp2_test): Add more tests.
22750
c0df8e69
JM
22751 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22752 negating x to take absolute value.
22753 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22754 Likewise.
22755 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22756 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22757 Likewise.
22758 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22759 computing low part if x was negated.
22760 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22761
c8e43ba7
L
227622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22763
22764 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22765 la_x32_gnu_pltexit.
22766 (pltexit): Cast int_retval to ptrdiff_t.
22767 * elf/tst-auditmod3b.c: Likewise.
22768 * elf/tst-auditmod4b.c: Likewise.
22769 * elf/tst-auditmod5b.c: Likewise.
22770 * elf/tst-auditmod6b.c: Likewise.
22771 * elf/tst-auditmod6c.c: Likewise.
22772 * elf/tst-auditmod7b.c: Likewise.
22773
22774 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22775 and x32_gnu_pltexit.
22776
22777 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22778 __ELF_NATIVE_CLASS.
22779 (La_x32_regs): New macro.
22780 (La_x32_retval): Likewise.
22781 (la_x32_gnu_pltenter): New function prototype.
22782 (la_x32_gnu_pltexit): Likewise.
22783
7998fa78
AS
227842012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22785
dcb33988
AS
22786 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22787 exponent.
22788
233fc563
AS
22789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22790
7998fa78
AS
22791 * configure.in (libc_cv_cc_nofma): Check for option to disable
22792 generation of FMA instructions.
22793 * configure: Regenerate.
22794 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22795 * sysdeps/ieee754/dbl-64/Makefile: New file.
22796 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22797 Remove brandred-fma4.
22798 (CFLAGS-brandred-fma4.c): Remove.
22799 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22800 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22801 define.
22802 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22803 define.
22804
8e95c99a
L
228052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22806
22807 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22808 LLONG_MAX != LONG_MAX.
22809 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22810 (_fitoa_word): Likewise.
22811 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22812 LLONG_MAX != LONG_MAX.
22813 * stdio-common/_itowa.h: Include <_itoa.h>.
22814 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22815 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22816 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22817 only if not defined.
22818 (_ITOA_WORD_TYPE): Likewise.
22819 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22820 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22821
6f4db457
DM
228222012-03-21 David S. Miller <davem@davemloft.net>
22823
22824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22825
7785fe5a
L
228262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22827
22828 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22829 of x86_64 when setting libc_cv_slibdir, libdir and
22830 libc_cv_localedir.
22831 * sysdeps/unix/sysv/linux/configure: Regenerated.
22832
4535cd55
JM
228332012-03-21 Joseph Myers <joseph@codesourcery.com>
22834
22835 * manual/lang.texi (Old Varargs): Remove section.
22836 (How Variadic): Update menu.
22837 (va_start): Do not mention varargs.h.
22838
17228132
TS
228392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22840 Joseph Myers <joseph@codesourcery.com>
22841
22842 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22843 link test.
22844 * configure: Regenerated.
22845
8149f976
TS
228462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22847
05f3d1f6
UD
22848 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22849 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22850 conformtest.pl
8149f976 22851
1a4ac776
JM
228522012-03-21 Joseph Myers <joseph@codesourcery.com>
22853
be22ce65
JM
22854 * NOTES: Remove.
22855 * Makefile (files-for-dist): Remove NOTES.
22856 (NOTES): Remove rule.
22857 * README: Don't refer to NOTES.
22858 * manual/creature.texi: Don't include macros.texi.
22859 * manual/intro.texi (creature.texi): Remove comment referring to
22860 NOTES.
22861
40b601fb
JM
22862 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22863 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22864 * configure: Regenerated.
22865 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22866 LIBC_TRY_CC_OPTION.
22867 (libc_cv_as_i686): Likewise.
22868 (libc_cv_cc_avx): Likewise.
22869 (libc_cv_cc_sse2avx): Likewise.
22870 (libc_cv_cc_fma4): Likewise.
22871 (libc_cv_cc_novzeroupper): Likewise.
22872 * sysdeps/i386/configure: Regenerated.
22873
1a4ac776
JM
22874 [BZ #13883]
22875 * sysdeps/i386/fpu/s_cexp.S: Remove.
22876 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22877 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22878 * math/libm-test.inc (cexp_test): Add more tests.
22879 * sysdeps/i386/fpu/libm-test-ulps: Update.
22880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22881
a458e7fe
AM
228822012-03-21 Allan McRae <allan@archlinux.org>
22883
22884 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22885
0cb7efc5
JM
228862012-03-21 Joseph Myers <joseph@codesourcery.com>
22887
22888 [BZ #13871]
22889 * math/w_exp2.c: Do not include <float.h>.
22890 (o_threshold, u_threshold): Remove.
22891 (__exp2): Calculate result before checking finiteness and calling
22892 __kernel_standard.
22893 * math/w_exp2f.c: Likewise.
22894 * math/w_exp2l.c: Likewise.
22895 * math/libm-test.inc (exp2_test): Require overflow exception for
22896 1e6 input.
2460d3aa
JM
22897
22898 [BZ #3866]
22899 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22900 range of signed 64-bit integers before using fistpll. Remove
22901 checks for whether integers fit in mantissa bits.
22902 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22903 the range of signed 32-bit integers before using fistpl. Remove
22904 checks for whether integers fit in mantissa bits.
22905 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22906 (__ieee754_powl): Test for y outside the range of signed 64-bit
22907 integers before using fistpll. Reduce 64-bit values to 63-bit
22908 ones as needed.
22909 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22910 divide-by-zero is raised for zero to large negative powers.
22911 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22912 (__ieee754_powl): Test for y outside the range of signed 64-bit
22913 integers before using fistpll. Reduce 64-bit values to 63-bit
22914 ones as needed.
22915 * math/libm-test.inc (pow_test): Add more tests.
22916
eb96ffb0
L
229172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22918
22919 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22920 <stdio-common/_itoa.h>.
22921 * debug/segfault.c: Likewise.
22922 * elf/dl-cache.c: Likewise.
22923 * elf/dl-minimal.c: Likewise.
22924 * elf/dl-misc.c: Likewise.
22925 * elf/dl-sysdep.c: Likewise.
22926 * elf/dl-version.c: Likewise.
22927 * elf/rtld.c: Likewise.
22928 * hurd/hurdsock.c: Likewise.
22929 * hurd/lookup-retry.c: Likewise.
22930 * malloc/malloc.c: Likewise.
22931 * malloc/mtrace.c: Likewise.
22932 * nscd/nscd_getgr_r.c: Likewise.
22933 * nscd/nscd_getpw_r.c: Likewise.
22934 * nscd/nscd_getserv_r.c: Likewise.
22935 * posix/getopt_init.c: Likewise.
22936 * posix/wordexp.c: Likewise.
22937 * stdio-common/_itoa.c: Likewise.
22938 * stdio-common/printf_fphex.c: Likewise.
22939 * stdio-common/vfprintf.c: Likewise.
22940 * string/_strerror.c: Likewise.
22941 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22942 * sysdeps/i386/i686/hp-timing.h: Likewise.
22943 * sysdeps/mach/_strerror.c: Likewise.
22944 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22945 * sysdeps/mach/hurd/sethostid.c: Likewise.
22946 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22947 * sysdeps/mach/xpg-strerror.c: Likewise.
22948 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22949 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22950 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22951 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22952 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22953 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22954 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22955 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22956 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22957 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22958 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22959 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22960 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22961 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22962 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22963 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22964 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22965 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22966 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22967 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22968 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22969
22970 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22971
22972 * stdio-common/_itoa.h: Moved to ...
22973 * sysdeps/generic/_itoa.h: Here.
22974
22975 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22976
22977 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22978 instead of "_itoa.h" and "_itowa.h".
22979 * stdio-common/vfprintf.: Likewise.
22980
d1af992d
L
229812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22982
22983 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22984 <bits/wordsize.h>.
22985 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22986 (__signbit): Likwise.
22987 (llrintf): Likwise.
22988 (llrint): Likwise.
22989
114883e0
L
229902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22991
22992 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22993 __WORDSIZE != 64.
22994
c135cc1b
JM
229952012-03-20 Joseph Myers <joseph@codesourcery.com>
22996
22997 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22998 OVERFLOW_EXCEPTION_OK.
22999 * math/libm-test.inc ("Philosophy"): Update comment about
23000 exception testing.
23001 (OVERFLOW_EXCEPTION): Define.
23002 (OVERFLOW_EXCEPTION_OK): Likewise.
23003 (INVALID_EXCEPTION_OK): Renumber.
23004 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23005 (IGNORE_ZERO_INF_SIGN): Likewise.
23006 (test_exceptions): Handle FE_OVERFLOW.
23007 (exp10_test): Expect overflow exceptions.
23008 (exp2_test): Likewise.
23009 (expm1_test): Likewise.
23010 (nextafter_test): Likewise.
23011 (pow_test): Likewise.
23012 (scalbn_test): Likewise.
23013 (scalbln_test): Likewise.
23014
95443d88
L
230152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23016
23017 * sysdeps/x86_64/bits/atomic.h
23018 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23019 64bit integer.
23020 (atomic_exchange_acq): Likewise.
23021 (__arch_exchange_and_add_body): Likewise.
23022 (__arch_add_body): Likewise.
23023 (atomic_add_negative): Likewise.
23024 (atomic_add_zero): Likewise.
23025
490df6c4
L
230262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23027
c2722551 23028 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
23029 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23030
5e52b189
L
230312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23032
23033 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23034 Check __x86_64__ instead of __WORDSIZE.
23035
a9879d4c
L
230362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23037
23038 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23039
5df98260
DM
230402012-03-19 David S. Miller <davem@davemloft.net>
23041
e1497744
DM
23042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23043
5df98260
DM
23044 * sysdeps/sparc/fpu/fenv_private.h: New file.
23045 * sysdeps/sparc/fpu/math_private.h: Use it.
23046 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23047 Remove.
23048 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23049 (libc_feholdexcept_setroundl): Remove.
23050 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23051 Remove.
23052 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23053 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23054
b4c35121
L
230552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23056
23057 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23058 int64_t instead of long int.
23059 (INSERT_WORDS64): Likwise.
23060
56965fd7
L
230612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23062
23063 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23064 _Unwind_GetCFA return to _Unwind_Ptr first.
23065
83d1aec8
JM
230662012-03-19 Joseph Myers <joseph@codesourcery.com>
23067
1897ad44
JM
23068 [BZ #13629]
23069 * math/s_clog.c: Include <float.h>.
23070 (__clog): Scale large or subnormal inputs.
23071 * math/s_clogf.c: Likewise.
23072 * math/s_clogl.c: Likewise.
23073 * math/s_clog10.c: Include <float.h>.
23074 (M_LOG10_2): Define.
23075 (__clog10): Scale large or subnormal inputs.
23076 * math/s_clog10f.c: Likewise.
23077 * math/s_clog10l.c: Likewise.
23078 * math/libm-test.inc (clog_test): Add more tests.
23079 (clog10_test): Likewise.
23080 * sysdeps/i386/fpu/libm-test-ulps: Update.
23081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23082
7726d6a9
JM
23083 [BZ #11451]
23084 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23085 x and y.
23086 * math/libm-test.inc (atan2_test): Add another test.
23087
83d1aec8
JM
23088 * Makerules (common-objdir-compile): Remove.
23089 * sysdeps/unix/Makefile (config-generated): Do not add
23090 $(unix-generated) to variable.
23091 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23092 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23093 Remove rule.
23094 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23095 Likewise.
23096 [generic bits/local_lim.h] (before-compile): Do not append to
23097 variable.
23098 [generic bits/local_lim.h] (common-generated): Likewise.
23099 [generic sys/param.h] (before-compile): Do not append to variable.
23100 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23101 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23102 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23103 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23104 include.
23105 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23106 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23107 [generic sys/param.h] ($(addprefix
23108 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23109 [generic sys/param.h] (common-generated): Do not append to
23110 variable.
23111 [generic sys/param.h] (sysdep_headers): Likewise.
23112 [generic bits/errno.h] (before-compile): Do not append to
23113 variable.
23114 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23115 rule.
23116 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23117 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23118 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23119 [generic bits/errno.h] (common-generated): Do not append to
23120 variable.
23121 [generic bits/ioctls.h] (before-compile): Do not append to
23122 variable.
23123 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23124 rule.
23125 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23126 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23127 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23128 rule.
23129 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23130 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23131 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23132 [generic bits/ioctls.h] (common-generated): Do not append to
23133 variable.
23134 [generic sys/syscall.h] (syscall.h): Remove variable.
23135 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23136 rule.
23137 [generic sys/syscall.h] (before-compile): Do not append to
23138 variable.
23139 [generic sys/syscall.h] (common-generated): Likewise.
23140 * sysdeps/unix/errnos-tmpl.c: Remove file.
23141 * sysdeps/unix/errnos.awk: Likewise.
23142 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23143 * sysdeps/unix/ioctls.awk: Likewise.
23144 * sysdeps/unix/mk-local_lim.c: Likewise.
23145 * sysdeps/unix/snarf-ioctls: Likewise.
23146
4851a949
RH
231472012-03-19 Richard Henderson <rth@twiddle.net>
23148
bd37f2ee
RH
23149 * sysdeps/i386/fpu/fenv_private.h: New file.
23150 * sysdeps/i386/fpu/math_private.h: Use it.
23151 (math_opt_barrier, math_force_eval): Remove.
23152 (libc_feholdexcept_setround_53bit): Remove.
23153 (libc_feupdateenv_53bit): Remove.
23154 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23155 (math_opt_barrier, math_force_eval): Remove.
23156 (libc_feholdexcept): Remove.
23157 (libc_feholdexcept_setround): Remove.
23158 (libc_fetestexcept, libc_fesetenv): Remove.
23159 (libc_feupdateenv_test): Remove.
23160 (libc_feupdateenv, libc_feholdsetround): Remove.
23161 (libc_feresetround): Remove.
23162
d0adc922
RH
23163 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23164 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23165
0fe0f1f8
RH
23166 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23167 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23168 (libc_feupdateenv_testl): New.
23169 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23170 (libc_feupdateenv_testf): New.
23171 (libc_feupdateenv): Use libc_feupdateenv_test.
23172 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23173 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23174
eb92c487
RH
23175 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23176 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23177 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23178 (libc_feresetround_noex): New.
23179 (libc_feresetround_noexf): New.
23180 (libc_feresetround_noexl): New.
23181 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23182 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23183 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23184 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23185 SET_RESTORE_ROUND.
23186 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23187 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23188 (__cos): Likewise.
23189 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23190 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23191 SET_RESTORE_ROUND_NOEX.
23192 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23193 SET_RESTORE_ROUND_NOEXF.
23194 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23195 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23196 (libc_feholdsetroundf): New.
23197 (libc_feresetround, libc_feresetroundf): New.
23198
7d2e8012
RH
23199 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23200 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23201 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23202
b4dabbb4
RH
23203 * sysdeps/generic/math_private.h: Include <fenv.h>.
23204 (default_libc_feholdexcept): New.
23205 (default_libc_feholdexcept_setround): New.
23206 (default_libc_fesetenv, default_libc_feupdateenv): New.
23207 (libc_feholdexcept): Only define if undefined.
23208 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23209 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23210 (libc_feholdexcept_setroundl): Likewise.
23211 (libc_feholdexcept_setround_53bit): Likewise.
23212 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23213 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23214 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23215 (libc_feupdateenv_53bit): Likewise.
23216 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23217 (libc_feholdexcept): Convert from macro to inline function.
23218 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23219 (libc_fesetenv, libc_feupdateenv): Likewise.
23220
4851a949
RH
23221 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23222 not previously defined.
23223 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23224 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23225 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23226 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23227 * sysdeps/ieee754/flt-32/math_private.h: New file.
23228 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23229 math_private.h below SET_FLOAT_WORD.
23230 (__isnan, __isinf_ns, __finite): Remove.
23231 (__isnanf, __isinf_nsf, __finitef): Remove.
23232
e79d442e
AS
232332012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23234
23235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23236
90b80344
DM
232372012-03-17 David S. Miller <davem@davemloft.net>
23238
23239 [BZ #6471]
23240 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23241 for 2.16.
23242
edc21804
DM
232432012-03-16 David S. Miller <davem@davemloft.net>
23244
77e927af
DM
23245 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23246 warnings.
23247
374976dd
DM
23248 [BZ #6471]
23249 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23250 properly.
23251 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23252 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23253 sysdep_routines when subdir is sysvipc.
23254 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23255 __getshmlba helper.
23256
edc21804
DM
23257 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23258
473c3ef3
L
232592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23260
23261 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23262 [__LP64__].
23263
eb0f39b6
L
232642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23265
23266 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23267 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23268 (__lround): Renamed to ...
23269 (__llround): This. Replace long int with long long int.
23270 Define lround functions as aliases of llround functions.
23271 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23272
6b6cd74b
L
232732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23274
23275 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23276 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23277 adresses to uintptr_t. Replace "long int" and "unsigned long
23278 int" with "greg_t" on va_arg.
23279
f1a77b01
L
232802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23281
23282 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23283 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23284
23285 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23286 Move e_machine check before EI_CLASS check. Handle x32
23287 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23288 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23289 SKIP_EM_IA_64 and include
23290 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23291
23292 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23293 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23294 (add_system_dir): New macro.
23295
23296 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23297 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23298
11b90b9f
JM
232992012-03-16 Joseph Myers <joseph@codesourcery.com>
23300
c36e1d23
JM
23301 [BZ #2551]
23302 [BZ #2552]
23303 [BZ #2553]
23304 [BZ #2554]
23305 [BZ #2562]
23306 [BZ #2563]
23307 [BZ #2565]
23308 [BZ #2566]
23309 [BZ #2576]
23310 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23311 (y0): Likewise.
23312 * math/w_j0f.c (j0f): Likewise.
23313 (y0f): Likewise.
23314 * math/w_j0l.c (__j0l): Likewise.
23315 (__y0l): Likewise.
23316 * math/w_j1.c (j1): Likewise.
23317 (y1): Likewise.
23318 * math/w_j1f.c (j1f): Likewise.
23319 (y1f): Likewise.
23320 * math/w_j1l.c (__j1l): Likewise.
23321 (__y1l): Likewise.
23322 * math/w_jn.c (jn): Likewise.
23323 (yn): Likewise.
23324 * math/w_jnf.c (jnf): Likewise.
23325 (ynf): Likewise.
23326 * math/w_jnl.c (__jnl): Likewise.
23327 (__ynl): Likewise.
23328 * math/libm-test.inc (j0_test): Add more tests.
23329 (j1_test): Likewise.
23330 (jn_test): Likewise. Add trailing semicolon to existing test.
23331 (y0_test): Likewise.
23332 (y1_test): Likewise.
23333 * sysdeps/i386/fpu/libm-test-ulps: Update.
23334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23335
11b90b9f
JM
23336 [BZ #13851]
23337 [BZ #13854]
23338 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23339 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23340 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23341 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23342 (__tanl): Set errno for infinite argument.
23343 * sysdeps/i386/fpu/mptan.c: Remove.
23344 * sysdeps/i386/fpu/s_tan.S: Likewise.
23345 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23346 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23347 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23348 * math/libm-test.inc (tan_test): Add more tests and enable more
23349 tests for double and long double.
23350 * sysdeps/i386/fpu/libm-test-ulps: Update.
23351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23352
6a1bd2a1
JK
233532012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23354
23355 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23356 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23357
10a803e0
RM
233582012-03-16 Roland McGrath <roland@hack.frob.com>
23359
23360 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23361 * configure.in: Use it for both main tree and add-ons.
23362 * configure: Regenerated.
23363
f196c7f7
L
233642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23365
23366 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23367
8848d99d
JM
233682012-03-16 Joseph Myers <joseph@codesourcery.com>
23369
96cbe7f4
JM
23370 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23371 in comment.
23372
8848d99d
JM
23373 [BZ #13851]
23374 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23375 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23376 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23377 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23378 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23379 infinite argument.
23380 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23381 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23382 != 0 for prec == 2.
23383 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23384 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23385 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23386 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23387 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23388 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23389 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23390 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23391 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23392 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23393 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23394 * math/libm-test.inc (cos_test): Add more tests and enable more
23395 tests for long double.
23396 (sin_test): Likewise.
23397 (sincos_test): Likewise.
23398 * sysdeps/i386/fpu/libm-test-ulps: Update.
23399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23400
dd7f4703
DM
234012012-03-16 David S. Miller <davem@davemloft.net>
23402
23403 * sysdeps/sparc/fpu/math_private.h: New file.
23404
006f1daa
DM
234052012-03-15 David S. Miller <davem@davemloft.net>
23406
c0c83bc8
DM
23407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23408 file.
e6a62e18 23409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23411 file.
e6a62e18
DM
23412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23417 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23418 sysdep routines.
23419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23420
88cb87d9
DM
23421 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23422 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23423
006f1daa 23424 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23426 sparc-ifunc.h
006f1daa 23427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23429 Likewise.
23430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23431 Likewise.
006f1daa
DM
23432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23436 Likewise.
006f1daa
DM
23437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23442 Likewise.
23443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23444 Likewise.
006f1daa
DM
23445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23449 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23450 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23451 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23452 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23453 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23454 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23457 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23458 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23463 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23464 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23465 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23466 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23467 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23468 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23469
11e0098e
AS
234702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23471
23472 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23473 scaling.
23474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23475
e85b09d0
AJ
234762012-03-15 Andreas Jaeger <aj@suse.de>
23477
23478 [BZ #13852]
23479 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23480 ieee754/flt-32 implementation for sin, cos and sincos.
23481 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23482 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23483 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23484 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23485 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23486 ieee754/flt-32 implementation for tan.
23487
23488 * math/libm-test.inc (cos_test): Enable some large input tests for
23489 float as well
23490 (sin_test): Likewise.
23491 (sincos_test): Likewise.
23492 (tan_test): Add tests for large input.
23493
23494 * sysdeps/i386/fpu/libm-test-ulps: Update.
23495
81c64153
AJ
234962012-03-15 Andreas Jaeger <aj@suse.de>
23497
23498 [BZ #13658]
23499 * math/libm-test.inc (cos_test): Add more test cases.
23500 (sin_test): Likewise.
23501 (sincos_test): Likewise.
23502
7bbfa5c6
AJ
235032012-03-15 Andreas Jaeger <aj@suse.de>
23504
23505 [BZ #13837]
23506 * math/libm-test.inc (cos_test): Add a test case for large input
23507 value.
23508 (sin_test): Likewise.
23509 (sincos_test): Likewise.
23510
235112012-03-15 Andreas Jaeger <aj@suse.de>,
23512 Joseph Myers <joseph@codesourcery.com>
23513
23514 [BZ #13658]
0671f479 23515 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23516 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23517 * sysdeps/i386/fpu/branred.c: Likewise.
23518 * sysdeps/i386/fpu/dosincos.c: Likewise.
23519 * sysdeps/i386/fpu/mpa.c: Likewise.
23520 * sysdeps/i386/fpu/s_cos.S: Likewise.
23521 * sysdeps/i386/fpu/s_sin.S: Likewise.
23522 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23523 * sysdeps/i386/fpu/sincos32.c: Likewise.
23524
23525 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23526 Define.
23527 (libc_feupdateenv_53bit): Define.
23528 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23529 Define.
23530 (libc_feupdateenv_53bit): Define.
23531
23532 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23533 53 bit (without extend i386 double precision).
23534
23535 * math/libm-test.inc (sincos_test): Add tests for large input.
23536 (sin): Likewise.
23537 (cos): Likewise.
23538
23539 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23540
9cad04ea
AS
235412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23542
23543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23544
f7062b9a
DM
235452012-03-15 David S. Miller <davem@davemloft.net>
23546
23547 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23548 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23549 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23550 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23563 file.
f7062b9a 23564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23566 file.
f7062b9a 23567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23569 file.
f7062b9a 23570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23572 file.
f7062b9a
DM
23573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23574 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23575 fmin/fmax sysdep routines.
23576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23577
7bd951ff
DM
235782012-03-14 David S. Miller <davem@davemloft.net>
23579
559398ab
DM
23580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23581 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23584 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23585 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23586 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23587 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23590 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23591 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23596 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23597 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23598 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23599 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23600 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23601 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23602 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23603 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23604 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23605 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23606 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23607 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23609 routines.
23610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23611 file.
559398ab 23612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23614 file.
559398ab 23615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23617 file.
559398ab 23618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23620 file.
559398ab 23621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23623 file.
559398ab 23624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23626 file.
23627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23628 file.
23629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23630 file.
23631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23632 file.
23633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23634 New file.
23635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23636 file.
23637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23638 file.
559398ab 23639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23641 file.
559398ab 23642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23644 file.
559398ab 23645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23647 file.
559398ab 23648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23650 VIS3 routines.
559398ab
DM
23651
23652 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23653 New file.
23654
5a1c1e32
DM
23655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23656
eae47a36
DM
23657 * sysdeps/sparc/configure.in: New file.
23658 * sysdeps/sparc/configure: Generate.
23659 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23660 * configure: Regenerate.
23661 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23662 * config.make.in (have-as-vis3): New.
23663 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23664 available use -Av9d instead of -Av9a.
23665 * sysdeps/sparc/sparc64/Makefile: Likewise.
23666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23668 New file.
23669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23670 file.
23671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23672 New file.
23673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23674 file.
eae47a36
DM
23675 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23676 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23677 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23678 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23679 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23680
c0c83bc8
DM
23681 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23682 fzeros/fnegs to load 0x80000000 into a float register instead of
23683 using the stack.
7bd951ff
DM
23684 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23685
bd951ccb
JM
236862012-03-14 Joseph Myers <joseph@codesourcery.com>
23687
23688 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23689 bits/syscall.h.
23690 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23691 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23692 ($(inst_includedir)/bits/syscall.h): Remove rule.
23693 ($(objpfx)bits/syscall.d): Include instead of
23694 $(objpfx)syscall-list.d.
23695 (generated): Change syscall-list.h and syscall-list.d to
23696 bits/syscall.h and bits/syscall.d.
23697
bb4e6db2
RM
236982012-03-14 Roland McGrath <roland@hack.frob.com>
23699
23700 [BZ #13846]
23701 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23702
aa4a2ae1
JM
237032012-03-14 Joseph Myers <joseph@codesourcery.com>
23704
e456826d
JM
23705 [BZ #13841]
23706 * math/s_csqrt.c: Include <float.h>.
23707 (__csqrt): Scale large or subnormal inputs.
23708 * math/s_csqrtf.c: Likewise.
23709 * math/s_csqrtl.c: Likewise.
23710 * math/libm-test.inc (csqrt_test): Add more tests.
23711 * sysdeps/i386/fpu/libm-test-ulps: Update.
23712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23713
aa4a2ae1
JM
23714 [BZ #13840]
23715 * math/libm-test.inc (hypot_test): Add more tests.
23716
7c10fd35
DM
237172012-03-13 David S. Miller <davem@davemloft.net>
23718
23719 [BZ #13840]
23720 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23721 double-precision for the calculation instead of scaling.
23722
f453b98b
JM
237232012-03-13 Joseph Myers <joseph@codesourcery.com>
23724
23725 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23726 manipulate bits before adding and subtracting TWO52[sx].
23727 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23728 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23729 Likewise.
23730 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23731
09a3453f
DM
237322012-03-13 David S. Miller <davem@davemloft.net>
23733
8e59da90
DM
23734 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23735 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23736 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23737 rtld-global-offsets.h
23738 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23739
2a8ab7f2
DM
23740 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23741 large parameters.
23742
10f62770
DM
23743 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23744
5f0bdb18
DM
23745 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23746 'err' in the ifdef scope in which it is actually used.
23747
09a3453f
DM
23748 * nss/nss_db/db-init.c: Include string.h
23749
b4b2eb5e
DM
237502012-03-12 David S. Miller <davem@davemloft.net>
23751
98bb2f1c
DM
23752 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23753 masking out of the most significant byte of random value used.
23754 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23755 Fix coding style in previous change.
23756
b4b2eb5e
DM
23757 * sysdeps/unix/sysv/linux/kernel-features.h
23758 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23759 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23760 expression.
23761 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23762 later.
23763
6e226b09
DM
237642012-03-11 David S. Miller <davem@davemloft.net>
23765
a1bcbd40
DM
23766 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23767 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23768 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23769 for 'resultvar' otherwise things get truncated on 64-bit.
23770
cb9d6174
DM
23771 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23772 Fix masking out of the most significant byte of random value used.
23773
6e226b09
DM
23774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23775
058c132d
AS
237762012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23777
23778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23779
2d2cd515
DM
237802012-03-09 David S. Miller <davem@davemloft.net>
23781
23782 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23783 variables with appropriate CPP guards.
23784 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23785 frame pointer, not the stack pointer. Correct layout comments. Fix test
23786 on resulting framesize and the management of the outregs buffer for pltexit.
23787 Preserve floating point return values across _dl_call_pltexit call.
23788 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23789 framesize and the management of the outregs buffer for pltexit.
23790 Preserve floating point return values across _dl_call_pltexit
23791 call.
23792 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23793 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23794 (print_exit): Fix format string for return register value.
23795
9a07f9d0
JM
237962012-03-10 Joseph Myers <joseph@codesourcery.com>
23797
23798 * sunrpc/Makefile (others): Add rpcgen.
23799 ($(objpfx)rpcgen): Remove special build rule and dependency on
23800 libc.
23801 * sunrpc/rpcgen.c: New file.
23802
547b5e30
PE
238032012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23804
c524201a
PE
23805 [BZ #13673]
23806 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23807 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23808 * sysdeps/i386/crti.S: Likewise.
23809 * sysdeps/i386/crtn.S: Likewise.
23810 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23811 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23812 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23813 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23814 * sysdeps/sh/crti.S: Likewise.
23815 * sysdeps/sh/crtn.S: Likewise.
23816 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23817
7b6235f2
PE
23818 [BZ #13673]
23819 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23820 with URL.
23821 * locale/programs/locfile-kw.gperf: Likewise.
23822 * locale/programs/charmap-kw.h: Regenerated.
23823 * locale/programs/locfile-kw.h: Likewise.
23824
547b5e30
PE
23825 [BZ #13673]
23826 * intl/plural.y: Replace FSF snail mail address with URL.
23827 * intl/plural.c: Regenerated.
23828
5f0a5dae
RH
238292012-03-09 Richard Henderson <rth@twiddle.net>
23830
23831 * include/math_private.h: Remove file.
23832 * math/math_private.h: Move file ...
23833 * sysdeps/generic/math_private.h: ... here.
23834
b8c03620
RH
23835 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23836 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23837 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23838
4e234f5d 23839 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23840 and <math_private.h>.
23841 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23842 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23843 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23844 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23845 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23846 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23847 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23848 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23849 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23850 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23851 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23852 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23853 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23854 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23855 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23856 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23857 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23858 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23859 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23860 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23861 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23862 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23863 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23864 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23865 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23866 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23867 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23868 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23869 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23870 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23871 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23872 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23873 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23874 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23875 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23876 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23877 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23878 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23879 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23880 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23881 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23882 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23883 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23884 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23885 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23886 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23887 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23888 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23889 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23890 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23891 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23892 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23893 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23894 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23895 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23896 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23897 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23898 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23899 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23900 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23901 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23902 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23903 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23904 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23905 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23906 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23907 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23908 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23909 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23910 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23911 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23912 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23913 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23914 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23915 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23916 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23917 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23918 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23919 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23920 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23921 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23922 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23923 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23924 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23925 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23926 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23927 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23928 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23929 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23930 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23931 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23932 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23933 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23934 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23935 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23936 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23937 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23938 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23939 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23940 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23941 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23942 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23943 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23944 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23945 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23946 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23947 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23948 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23949 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23950 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23951 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23952 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23953 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23954 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23955 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23956 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23957 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23958 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23959 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23960 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23961 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23962 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23963 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23964 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23965 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23966 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23967 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23968 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23969 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23970 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23971 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23972 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23973 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23974 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23975 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23976 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23977 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23978 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23979 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23980 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23981 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23982 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23983 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23984 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23985 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23986 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23987 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23988 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23989 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23990 * sysdeps/ieee754/k_standard.c: Likewise.
23991 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23992 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23993 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23994 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23995 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23996 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23997 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23998 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23999 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24000 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24001 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24002 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24003 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24004 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24005 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24006 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24007 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24008 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24009 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24010 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24011 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24012 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24013 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24014 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24015 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24016 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24017 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24018 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24019 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24020 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24021 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24022 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24023 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24024 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24025 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24026 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24027 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24028 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24029 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24030 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24031 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24032 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24033 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24034 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24035 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24036 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24037 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24038 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24039 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24040 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24041 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24042 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24043 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24044 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24045 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24046 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24047 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24048 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24049 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24050 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24051 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24052 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24053 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24054 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24055 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24056 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24057 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24058 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24059 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24060 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24061 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24063 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24064 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24065 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24066 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24067 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24068 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24069 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24070 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24071 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24072 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24073 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24074 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24075 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24076 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24077 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24078 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24079 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24080 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24081 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24082 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24083 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24084 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24085 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24086 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24087 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24088 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24089 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24090 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24091 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24092 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24093 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24094 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24095 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24096 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24097 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24098 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24099 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24100 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24101 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24102 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24103 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24104 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24105 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24106 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24107 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24108 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24109 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24110 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24111 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24112 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24113 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24114 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24115 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24116 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24117 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24118 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24119 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24120 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24121 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24122 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24123 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24124 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24125 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24126 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24127 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24128 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24129 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24130 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24131 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24132 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24133 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24134 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24135 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24136 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24137 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24138 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24139 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24140 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24141 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24142 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24143 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24144 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24145 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24146 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24147 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24148 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24149 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24150 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24151 * sysdeps/ieee754/s_lib_version.c: Likewise.
24152 * sysdeps/ieee754/s_matherr.c: Likewise.
24153 * sysdeps/ieee754/s_signgam.c: Likewise.
24154 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24155 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24156 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24157 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24158 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24159 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24160 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24161 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24162 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24163 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24164 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24165 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24166 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24167 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24168 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24169 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24170 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24171 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24172 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24173 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24174 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24175
1991fa03
JM
241762012-03-09 Joseph Myers <joseph@codesourcery.com>
24177
24178 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24179 * sunrpc/rpc_main.c: Likewise.
24180 * sunrpc/rpc_svcout.c: Likewise.
24181
60d6f5a6
DM
241822012-03-09 David S. Miller <davem@davemloft.net>
24183
24184 * include/math_private.h: New file.
24185
4962050e
JM
241862012-03-09 Joseph Myers <joseph@codesourcery.com>
24187
02a6f887
JM
24188 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24189 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24190 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24191 from <bits/socket_type.h>.
24192 (enum __socket_type): Don't define here.
24193 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24194 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24195 bits/socket_type.h.
24196
c6e013c1
JM
24197 [BZ #13566]
24198 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24199 checking __USE_GNU.
24200
4962050e
JM
24201 * Makerules ($(inst_includedir)/%.h): New rule.
24202 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24203 (install-others): Remove variable setting.
24204 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24205
38842f45
RH
242062012-03-08 Richard Henderson <rth@twiddle.net>
24207
67bb6da6
RH
24208 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24209 from macro to inline function; merge with the
24210 !__LIBC_INTERNAL_MATH_INLINES version.
24211 (__ieee754_sqrtf): Likewise.
24212
15194b4b
RH
24213 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24214 to inline function.
24215 (__rintf, __floor, __floorf): Likewise.
24216
64e21ede
RH
24217 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24218 macro to inline function.
24219 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24220
38842f45
RH
24221 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24222 not <math/math_private.h>.
24223
c64bf5fe
DM
242242012-03-08 David S. Miller <davem@davemloft.net>
24225
24226 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24227 copyright year.
24228 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24229
82d86f28
TS
242302012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24231
24232 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24233 normalization.
24234 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24235 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24236
aea5d727
UD
242372012-03-08 Ulrich Drepper <drepper@gmail.com>
24238
24239 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24240 be defined individually, they must be defined as a block. Define
24241 S for printing a string instead of hidint the different by using a
24242 macro for adding the 'l'.
24243 * stdio-common/tst-fphex-wide.c: Adjust.
24244
70bca0a3
MP
242452012-03-07 Marek Polacek <polacek@redhat.com>
24246
24247 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24248
65b81130
MP
242492012-03-08 Marek Polacek <polacek@redhat.com>
24250
24251 [BZ #13806]
24252 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24253 * stdio-common/tst-fphex.c: Define a few macros to make the
24254 test reusable. Use them.
24255 * stdio-common/tst-fphex-wide.c: New file.
24256
07037eeb
JM
242572012-03-08 Joseph Myers <joseph@codesourcery.com>
24258
a7a93d50
JM
24259 [BZ #6911]
24260 * manual/macros.texi (gnusystems): New macro.
24261 (nongnusystems): Likewise.
24262 (gnulinuxhurdsystems): Likewise.
24263 (gnuhurdsystems): Likewise..
24264 (gnulinuxsystems): Likewise.
24265 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24266 variants of the GNU system, not "GNU system".
24267 * manual/conf.texi: Likewise.
24268 * manual/errno.texi: Likewise. Update example of errno macro
24269 expansion.
24270 * manual/filesys.texi: Likewise.
24271 (getumask): Document as specific to GNU/Hurd.
24272 * manual/install.texi: Likewise. Reword some references to
24273 GNU/Linux.
24274 * manual/intro.texi: Likewise.
24275 * manual/io.texi: Likewise.
24276 (File Name Portability): Detail which constraints are inapplicable
24277 to all GNU systems and which are only inapplicable to GNU/Hurd.
24278 * manual/job.texi: Likewise.
24279 * manual/llio.texi: Likewise.
24280 (O_NOCTTY): Document as present on GNU/Linux.
24281 * manual/maint.texi: Likewise.
24282 * manual/memory.texi: Likewise.
24283 * manual/pattern.texi: Likewise.
24284 * manual/pipe.texi: Likewise.
24285 * manual/process.texi: Likewise.
24286 * manual/resource.texi: Likewise.
24287 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24288 child on GNU/Hurd.
24289 * manual/setjmp.texi: Likewise.
24290 * manual/signal.texi: Likewise.
24291 * manual/startup.texi: Likewise.
24292 * manual/stdio.texi: Likewise.
24293 * manual/terminal.texi: Likewise.
24294 (ONLCR): Document as POSIX.
24295 (OXTABS): Document availability on GNU/Linux as XTABS.
24296 (ONOEOT): Document availability separately from other bits.
24297 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24298 * manual/time.texi: Likewise.
24299 * manual/users.texi: Likewise.
24300 * INSTALL: Regenerated.
24301 * sysdeps/gnu/errlist.c: Regenerated.
24302
07037eeb
JM
24303 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24304 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24305 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24306 puts.
24307 * configure: Regenerated.
24308
d1d3431a
JM
243092012-03-07 Joseph Myers <joseph@codesourcery.com>
24310
af6a1e37
JM
24311 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24312 default includes instead of AC_HEADER_CHECK.
24313 * sysdeps/i386/configure: Regenerated.
24314
d1d3431a
JM
24315 [BZ #10716]
24316 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24317 * math/s_cacoshf.c (__cacoshf): Likewise.
24318 * math/s_cacoshl.c (__cacoshl): Likewise.
24319 * math/s_casinh.c (__casinh): Set signs of result from argument.
24320 * math/s_casinhf.c (__casinhf): Likewise.
24321 * math/s_casinhl.c (__casinhl): Likewise.
24322 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24323 (casinh_test): Add more tests.
24324 * sysdeps/i386/fpu/libm-test-ulps: Update.
24325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24326
482ff4da
UD
243272012-03-07 Ulrich Drepper <drepper@gmail.com>
24328
872fda05
UD
24329 * po/zh_TW.po: Update from translation team.
24330
a4300c7a
UD
24331 * login/Makefile (distribute): Remove variable.
24332 * catgets/Makefile: Likewise.
24333 * mach/Makefile: Likewise.
24334 * malloc/Makefile: Likewise.
24335 * misc/Makefile: Likewise.
24336 * iconv/Makefile: Likewise.
24337 * nscd/Makefile: Likewise.
24338 * hurd/Makefile: Likewise.
24339 * manual/Makefile: Likewise.
24340 * locale/Makefile: Likewise.
24341 * intl/Makefile: Likewise.
24342 * conform/Makefile: Likewise.
24343 * nss/Makefile: Likewise.
24344 * time/Makefile: Likewise.
24345 * soft-fp/Makefile: Likewise.
24346 * dirent/Makefile: Likewise.
24347 * gmon/Makefile: Likewise.
24348 * po/Makefile: Likewise.
24349 * rt/Makefile: Likewise.
24350 * socket/Makefile: Likewise.
24351 * math/Makefile: Likewise.
24352 * signal/Makefile: Likewise.
24353 * debug/Makefile: Likewise.
24354 * elf/Makefile: Likewise.
24355 * timezone/Makefile: Likewise.
24356 * stdlib/Makefile: Likewise.
24357 * iconvdata/Makefile: Likewise.
24358 * sunrpc/Makefile: Likewise.
24359 * io/Makefile: Likewise.
24360 * argp/Makefile: Likewise.
24361 * inet/Makefile: Likewise.
24362 * hesiod/Makefile: Likewise.
24363 * grp/Makefile: Likewise.
24364 * csu/Makefile: Likewise.
24365 * wctype/Makefile: Likewise.
24366 * crypt/Makefile: Likewise.
24367 * libio/Makefile: Likewise.
24368 * string/Makefile: Likewise.
24369 * nis/Makefile: Likewise.
24370 * resolv/Makefile: Likewise.
24371 * stdio-common/Makefile: Likewise.
24372 * wcsmbs/Makefile: Likewise.
24373 * dlfcn/Makefile: Likewise.
24374 * posix/Makefile: Likewise.
24375
3b7c4e74 24376 [BZ #6959]
482ff4da
UD
24377 * timezone/Makefile: Don't install timezone files, just the programs
24378 and scripts.
24379
f72ed77d
UD
243802012-03-06 Ulrich Drepper <drepper@gmail.com>
24381
a000466f
UD
24382 * nss/databases.def: Add missing gshadow entry.
24383
f72ed77d
UD
24384 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24385
a53b7a4e
MP
243862012-03-06 Marek Polacek <polacek@redhat.com>
24387
24388 [BZ #13726]
24389 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24390 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24391 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24392 * stdio-common/tst-long-dbl-fphex.c: New file.
24393
e9258400
DM
243942012-03-06 David S. Miller <davem@davemloft.net>
24395
24396 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24397 (set_obp_int): New function.
24398 (get_obp_int): New function.
24399 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24400 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24401 Avoid unused variable warnings on 'val' and use builtin_expect.
24402 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24403 __builtin_expect.
e9258400
DM
24404 (INLINE_CLONE_SYSCALL): Likewise.
24405
3bd2c723
DM
244062012-03-05 David S. Miller <davem@davemloft.net>
24407
24408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24409
bbb78d03
AS
244102012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24411
884c5db4
AS
24412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24413
bbb78d03
AS
24414 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24415 only for |x| >= 40.
24416 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24417
1c9f702a 244182012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24419
24420 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24421 Replace gettimeofday with __vdso_gettimeofday.
24422
7be16f82
RM
24423 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24424 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24425 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24426
24427 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24428 time with __vdso_time.
24429
ed58a00f
JM
244302012-03-05 Joseph Myers <joseph@codesourcery.com>
24431
24432 * manual/lang.texi (size_t): Note types to which size_t may be
24433 equivalent with the GNU C Library, but do not describe when
24434 differences between them are significant.
24435
30ee4ced
AJ
244362012-03-05 Andreas Jaeger <aj@suse.de>
24437
24438 * sysdeps/i386/fpu/libm-test-ulps: Update.
24439
b7cd39e8
JM
244402012-03-05 Joseph Myers <joseph@codesourcery.com>
24441
24442 [BZ #3976]
24443 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24444 (__ieee754_pow): Save and restore rounding mode and use
24445 round-to-nearest for main computations.
24446 * math/libm-test.inc (pow_test_tonearest): New function.
24447 (pow_test_towardzero): Likewise.
24448 (pow_test_downward): Likewise.
24449 (pow_test_upward): Likewise.
24450 (main): Call the new functions.
24451 * sysdeps/i386/fpu/libm-test-ulps: Update.
24452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24453
24454 [BZ #3976]
24455 * math/libm-test.inc (cosh_test_tonearest): New function.
24456 (cosh_test_towardzero): Likewise.
24457 (cosh_test_downward): Likewise.
24458 (cosh_test_upward): Likewise.
24459 (sinh_test_tonearest): Likewise.
24460 (sinh_test_towardzero): Likewise.
24461 (sinh_test_downward): Likewise.
24462 (sinh_test_upward): Likewise.
24463 (main): Call the new functions.
24464 * sysdeps/i386/fpu/libm-test-ulps: Update.
24465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24466
6c6a98c9
TV
244672012-03-05 Tom de Vries <tom@codesourcery.com>
24468
24469 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24470 default stack guard is set in last bytes.
24471 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24472
21bb2d2e 244732012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24474
21bb2d2e 24475 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24476
21bb2d2e
AJ
24477 [BZ #13656]
24478 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24479 possibly allocate from heap instead of stack.
24480 * stdio-common/bug-vfprintf-nargs.c: New file.
24481 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24482
c6922934
AS
244832012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24484
24485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24486
bc957d53
MP
244872012-03-03 Marek Polacek <polacek@redhat.com>
24488
24489 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24490 * math/math_private.h: Likewise.
24491 * stdlib/tst-strtod.c: Likewise.
24492 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24493 * sysdeps/x86_64/bits/atomic.h: Likewise.
24494
6358490d
DM
244952012-03-02 David S. Miller <davem@davemloft.net>
24496
24497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24501 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24502 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24503 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24504 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24505
01ae168d
RM
245062012-03-02 Roland McGrath <roland@hack.frob.com>
24507
d9a17c07
RM
24508 [BZ #13792]
24509 * manual/examples/README: New file, says the example source files
24510 can be used under GPL>=2.
24511 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24512 line containing just "*/".
24513 * manual/examples/add.c: Add copyright header (GPL>=2).
24514 * manual/examples/argp-ex1.c: Likewise.
24515 * manual/examples/argp-ex2.c: Likewise.
24516 * manual/examples/argp-ex3.c: Likewise.
24517 * manual/examples/argp-ex4.c: Likewise.
24518 * manual/examples/atexit.c: Likewise.
24519 * manual/examples/db.c: Likewise.
24520 * manual/examples/dir.c: Likewise.
24521 * manual/examples/dir2.c: Likewise.
24522 * manual/examples/execinfo.c: Likewise.
24523 * manual/examples/filecli.c: Likewise.
24524 * manual/examples/filesrv.c: Likewise.
24525 * manual/examples/fmtmsgexpl.c: Likewise.
24526 * manual/examples/genpass.c: Likewise.
24527 * manual/examples/inetcli.c: Likewise.
24528 * manual/examples/inetsrv.c: Likewise.
24529 * manual/examples/isockad.c: Likewise.
24530 * manual/examples/longopt.c: Likewise.
24531 * manual/examples/memopen.c: Likewise.
24532 * manual/examples/memstrm.c: Likewise.
24533 * manual/examples/mkfsock.c: Likewise.
24534 * manual/examples/mkisock.c: Likewise.
24535 * manual/examples/mygetpass.c: Likewise.
24536 * manual/examples/pipe.c: Likewise.
24537 * manual/examples/popen.c: Likewise.
24538 * manual/examples/rprintf.c: Likewise.
24539 * manual/examples/search.c: Likewise.
24540 * manual/examples/select.c: Likewise.
24541 * manual/examples/setjmp.c: Likewise.
24542 * manual/examples/sigh1.c: Likewise.
24543 * manual/examples/sigusr.c: Likewise.
24544 * manual/examples/stpcpy.c: Likewise.
24545 * manual/examples/strdupa.c: Likewise.
24546 * manual/examples/strftim.c: Likewise.
24547 * manual/examples/strncat.c: Likewise.
24548 * manual/examples/subopt.c: Likewise.
24549 * manual/examples/swapcontext.c: Likewise.
24550 * manual/examples/termios.c: Likewise.
24551 * manual/examples/testopt.c: Likewise.
24552 * manual/examples/testpass.c: Likewise.
24553 * manual/examples/timeval_subtract.c: Likewise.
24554
01ae168d
RM
24555 [BZ #13792]
24556 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24557 function to ...
24558 * manual/timeval_subtract.c.texi: ... here, new file.
24559
49efa33d
DM
245602012-03-02 David S. Miller <davem@davemloft.net>
24561
24562 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24563
28afd92d
JM
245642012-03-02 Joseph Myers <joseph@codesourcery.com>
24565
804360ed
JM
24566 [BZ #3976]
24567 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24568 (__sin): Save and restore rounding mode and use round-to-nearest
24569 for all computations.
24570 (__cos): Save and restore rounding mode and use round-to-nearest
24571 for all computations.
24572 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24573 <fenv.h>.
24574 (tan): Save and restore rounding mode and use round-to-nearest for
24575 all computations.
24576 * math/libm-test.inc (cos_test_tonearest): New function.
24577 (cos_test_towardzero): Likewise.
24578 (cos_test_downward): Likewise.
24579 (cos_test_upward): Likewise.
24580 (sin_test_tonearest): Likewise.
24581 (sin_test_towardzero): Likewise.
24582 (sin_test_downward): Likewise.
24583 (sin_test_upward): Likewise.
24584 (tan_test_tonearest): Likewise.
24585 (tan_test_towardzero): Likewise.
24586 (tan_test_downward): Likewise.
24587 (tan_test_upward): Likewise.
24588 (main): Call the new functions.
24589 * sysdeps/i386/fpu/libm-test-ulps: Update.
24590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24591
a6d06d7b
JM
24592 [BZ #10135]
24593 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24594 small n, then large n, before computing and testing k+n.
24595 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24596 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24597 Likewise.
24598 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24599 Likewise.
24600 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24601 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24602 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24603 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24604 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24605 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24606 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24607 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24608 * math/libm-test.inc (scalbn_test): Add more tests.
24609 (scalbln_test): Likewise.
24610
07e12bb3
JM
24611 * manual/filesys.texi (mode_t): Describe constraints on size and
24612 signedness, not exact equivalence to a particular type.
24613 (ino_t): Likewise.
24614 (ino64_t): Likewise.
24615 (dev_t): Likewise.
24616 (nlink_t): Likewise.
24617 (blkcnt_t): Likewise.
24618 (blkcnt64_t): Likewise.
24619 * manual/llio.texi (off_t): Likewise.
24620
28afd92d
JM
24621 [BZ #3976]
24622 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24623 (__ieee754_exp): Save and restore rounding mode and use
24624 round-to-nearest for all computations.
24625 * math/libm-test.inc (exp_test_tonearest): New function.
24626 (exp_test_towardzero): Likewise.
24627 (exp_test_downward): Likewise.
24628 (exp_test_upward): Likewise.
24629 (main): Call the new functions.
24630 * sysdeps/i386/fpu/libm-test-ulps: Update.
24631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24632
b1eeb65d
CD
246332012-03-01 Chris Demetriou <cgd@google.com>
24634
24635 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24636 have predictable order.
24637
53362a4b
DM
246382012-03-01 David S. Miller <davem@davemloft.net>
24639
3c969083
DM
24640 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24641
759707de
DM
24642 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24643 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24644 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24645 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24646
dfdb8ff2
DM
24647 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24648 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24649 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24651 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24652 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24653 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24654 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24655 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24656
ead89f96
DM
24657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24658
7f66bd07
DM
24659 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24660 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24661 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24662
53362a4b
DM
24663 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24664 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24665 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24666 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24667 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24668 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24669 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24670 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24671 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24672 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24673 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24674 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24675 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24676 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24677 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24678 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24679 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24680 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24681 * sysdeps/sparc/elf/configure: Regenerated.
24682
7b1902cb
JM
246832012-03-01 Joseph Myers <joseph@codesourcery.com>
24684
bec039bc
JM
24685 * configure.in (AS, LD): Require binutils 2.20 or later.
24686 * configure: Regenerated.
24687 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24688 as required minimum version.
24689 * INSTALL: Regenerated.
24690
7b1902cb
JM
24691 [BZ #2541]
24692 [BZ #4108]
24693 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24694 before squaring exponent.
24695 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24696 bottom long double and 27 bits of top long double before squaring
24697 exponent.
24698 * math/libm-test.inc (erfc_test): Add more tests.
24699 * sysdeps/i386/fpu/libm-test-ulps: Update.
24700 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24702
f775c276
KT
247032012-03-01 Kai Tietz <ktietz@redhat.com>
24704
24705 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24706 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24707 containing bit-fields.
24708 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24709 * soft-fp/single.h (_FP_UNION_S): Likewise.
24710 * soft-fp/double.h (_FP_UNION_D): Likewise.
24711
5b8a4d4a
JM
247122012-02-29 Joseph Myers <joseph@codesourcery.com>
24713
0bab47b6
JM
24714 [BZ #13786]
24715 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24716 not include ../strcmp.S.
24717 [USE_AS_STRNCASECMP_L]: Likewise.
24718 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24719 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24720 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24721 (__strncasecmp_l_ia32): Define as alias to
24722 __strncasecmp_l_nonascii.
24723
0fcad3e2
JM
24724 [BZ #5794]
24725 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24726 * sysdeps/i386/fpu/libm-test-ulps: Update.
24727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24728
5b8a4d4a
JM
24729 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24731
8fdceb2e
JL
247322012-02-29 Jeff Law <law@redhat.com>
24733
24734 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24735 out of bounds read.
24736
1f393a11
MP
247372012-02-29 Marek Polacek <polacek@redhat.com>
24738
24739 [BZ #13706]
24740 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24741 * elf/Makefile: Add rules to run tst-unused-dep.out.
24742
8847f037
DM
247432012-02-28 David S. Miller <davem@davemloft.net>
24744
24745 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24746 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24747 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24748 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24749 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24750 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24751
169d7f11
JM
247522012-02-29 Joseph Myers <joseph@codesourcery.com>
24753
24754 * math/libm-test.inc (llround_test): Move one test from
24755 lround_test. Use TEST_f_L in moved test.
24756 (lround_test): Move misplaced test to llround_test. Add testcase
24757 from bug 2561.
24758
39adf059
UD
247592012-02-28 Ulrich Drepper <drepper@gmail.com>
24760
24761 * sysdeps/x86_64/fpu/e_expf.S: New file.
24762 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24763
71b5d1c5
SB
247642012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24765
24766 [BZ #13637]
24767 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24768 of remain_len that may cause incomplete multi-byte character and
24769 false match.
24770 * posix/bug-regex33.c: New file.
24771 * posix/Makefile (tests): Add bug-regex33.
24772
1f77f049
JM
247732012-02-28 Joseph Myers <joseph@codesourcery.com>
24774
24775 * manual/macros.texi: New file.
24776 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24777 * manual/libc.texinfo: Include macros.texi.
24778 * manual/creatute.texi: Likewise.
24779 * manual/install.texi: Likewise.
24780 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24781 @glibcadj{} in references to the GNU C Library.
24782 * manual/charset.texi: Likewise.
24783 * manual/conf.texi: Likewise.
24784 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24785 when not using those macros.
24786 * manual/creature.texi: Likewise.
24787 * manual/crypt.texi: Likewise.
24788 * manual/errno.texi: Likewise.
24789 * manual/filesys.texi: Likewise.
24790 * manual/header.texi: Likewise.
24791 * manual/install.texi: Likewise.
24792 * manual/intro.texi: Likewise.
24793 * manual/io.texi: Likewise.
24794 * manual/job.texi: Likewise.
24795 * manual/lang.texi: Likewise.
24796 * manual/libc.texiinfo: Likewise.
24797 * manual/llio.texi: Likewise.
24798 * manual/locale.texi: Likewise.
24799 * manual/maint.texi: Likewise.
24800 * manual/math.texi: Likewise.
24801 * manual/memory.texi: Likewise.
24802 * manual/message.texi: Likewise.
24803 * manual/nss.texi: Likewise.
24804 * manual/pattern.texi: Likewise.
24805 * manual/process.texi: Likewise.
24806 * manual/resource.texi: Likewise.
24807 * manual/search.texi: Likewise.
24808 * manual/setjmp.texi: Likewise.
24809 * manual/signal.texi: Likewise.
24810 * manual/socket.texi: Likewise.
24811 * manual/startup.texi: Likewise.
24812 * manual/stdio.texi: Likewise.
24813 * manual/string.texi: Likewise.
24814 * manual/sysinfo.texi: Likewise.
24815 * manual/syslog.texi: Likewise.
24816 * manual/terminal.texi: Likewise.
24817 * manual/time.texi: Likewise.
24818 * manual/users.texi: Likewise.
24819 * INSTALL: Regenerated.
24820 * NOTES: Regenerated.
d40c5d54 24821 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24822
450bf206
AS
248232012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24824
24825 * include/dirent.h: Include <dirstream.h> before
24826 <dirent/dirent.h>.
24827
741a235b
DM
248282012-02-28 David S. Miller <davem@davemloft.net>
24829
24830 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24831 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24832 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24833 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24834
d6b5aa58
DM
248352012-02-27 David S. Miller <davem@davemloft.net>
24836
1aff59a3
DM
24837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24839 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24840 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24841
d6b5aa58
DM
24842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24843 frame pointer instead of stack pointer relative arg slot.
24844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24845 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24846 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24847
433f48bf
CD
248482012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24849
24850 [BZ #3992]
24851 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24852
d674b76d
DM
248532012-02-27 David S. Miller <davem@davemloft.net>
24854
24855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24859 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24860 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24861 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24862 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24863
0e7727f7
JM
248642012-02-27 Joseph Myers <joseph@codesourcery.com>
24865
24866 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24867 later. Allow versions 5-9.
43be4ca2 24868 * configure: Regenerated.
0e7727f7
JM
24869 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24870 required minimum version and 4.6 as recommended version. Do not
24871 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24872 * INSTALL: Regenerated.
0e7727f7 24873
a78bc654
DM
248742012-02-27 David S. Miller <davem@davemloft.net>
24875
428d5830
DM
24876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24880 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24881 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24882 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24883 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24884
a78bc654
DM
24885 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24886 manipulate bits before adding and subtracting TWO112[sx].
24887 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24888
4579f81c
RM
248892012-02-27 Roland McGrath <roland@hack.frob.com>
24890
36c8acb4
RM
24891 [BZ #13775]
24892 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24893 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24894 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24895 being in POSIX, because they are in 1003.1-2008.
24896
84ad622b
RM
24897 * rt/tst-aio.c: Include <fcntl.h>.
24898 * rt/tst-aio7.c: Likewise.
24899 * rt/tst-aio64.c: Likewise.
24900
4579f81c
RM
24901 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24902
abd923db
JM
249032012-02-27 Joseph Myers <joseph@codesourcery.com>
24904
24905 * manual/install.texi (--with-headers): Describe headers as
24906 interface headers, not private headers.
24907 (Specific advice for GNU/Linux systems): Describe use of headers
24908 from "make headers_install", not private headers from older
24909 kernels.
43be4ca2 24910 * INSTALL: Regenerated.
abd923db
JM
24911 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24912 Change to 2.6.19.
24913 * sysdeps/unix/sysv/linux/configure: Regenerated.
24914
6664049b
JM
24915 * manual/llio.texi (fclean): Remove documentation.
24916
bb8b6697
JM
24917 * manual/Makefile (libc-texi-generated): New variable. Include
24918 version.texi.
24919 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24920 $(libc-texi-generated), not duplicated list of files.
24921 (version.texi, stamp-version): New rules.
24922 (realclean): Remove $(libc-texi-generated), not individual files
24923 from that list. Do not remove dir-add.texinfo.
24924 * manual/libc.texinfo: Comment out uses of edition numbers and
24925 references to printed manual. Remove last-updated dates.
24926 (EDITION): Comment out.
24927 (ISBN): Likewise.
24928 (VERSION, UPDATED): Remove.
24929 (version.texi): Include.
24930
12e5c3b9
AS
249312012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24932
24933 * sysdeps/posix/spawni.c: Include <signal.h>.
24934 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24935 * sysdeps/pthread/aio_fsync.c: Likewise.
24936
4efeffc1 249372012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24938
ba63ba08
UD
24939 * conform/Makefile (tests): Run only when not cross-compiling and
24940 when fast-check is not defined.
24941
d94a4670
UD
24942 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24943 * conform/data/limits.h-data: Fixes for POSIX2008.
24944 * conform/run-conformtest.sh: Run all tests.
24945 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24946 headers.
24947 * include/bits/dlfcn.h: Likewise.
24948 * include/langinfo.h: Likewise.
24949 * include/monetary.h: Likewise.
24950 * include/sys/poll.h: Likewise.
24951
24952 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24953 for __USE_GNU.
24954 * posix/spawn.h: Define __need_sigset_t.
24955 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24956 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24957 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24958 to get sigevent_t only.
24959 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24960 only for __USE_GNU.
24961 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24962 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24963 process_vm_writev only for __USE_GNU.
24964 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24965
24966 * conform/Makefile: For now ignore errors from run-conformtest.
24967 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24968 POSIX to avoid namespace pollution. Don't prepend headers.
24969 * conform/data/aio.h-data: Fixes for POSIX testing.
24970 * conform/data/fcntl.h-data: Likewise.
24971 * conform/data/glob.h-data: Likewise.
24972 * conform/data/grp.h-data: Likewise.
24973 * conform/data/pthread.h-data: Likewise.
24974 * conform/data/pwd.h-data: Likewise.
24975 * conform/data/signal.h-data: Likewise.
24976 * conform/data/spawn.h-data: Likewise.
24977 * conform/data/stdio.h-data: Likewise.
24978 * conform/data/stdlib.h-data: Likewise.
24979 * conform/data/stropts.h-data: Likewise.
24980 * conform/data/sys/mman.h-data: Likewise.
24981 * conform/data/sys/stat.h-data: Likewise.
24982 * conform/data/sys/types.h-data: Likewise.
24983 * conform/data/sys/wait.h-data: Likewise.
24984 * conform/data/time.h-data: Likewise.
24985 * conform/data/unistd.h-data: Likewise.
24986 * conform/data/utime.h-data: Likewise.
24987
24988 * io/sys/stat.h: fchmod was always in POSIX.
24989 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24990 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24991 * rt/aio.h: Define __need_timespec before including <time.h>.
24992 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24993 struct. Add forward declaration of pthread_attr_t and use it in
24994 sigevent.
24995 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24996 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24997 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24998 always remove CLK_TCK definition.
24999
c20105c3
AS
250002012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25001
25002 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25003
7a270350
UD
250042012-02-25 Ulrich Drepper <drepper@gmail.com>
25005
31341567
UD
25006 * conform/run-conformtest.sh: New file.
25007 * conform/Makefile: Run run-conformtest for tests.
25008 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25009 support.
25010
25011 * conform/data/uchar.h-data: New file.
25012 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25013 * conform/data/arpa/inet.h-data: Likewise.
25014 * conform/data/assert.h-data: Likewise.
25015 * conform/data/complex.h-data: Likewise.
25016 * conform/data/cpio.h-data: Likewise.
25017 * conform/data/ctype.h-data: Likewise.
25018 * conform/data/dirent.h-data: Likewise.
25019 * conform/data/dlfcn.h-data: Likewise.
25020 * conform/data/errno.h-data: Likewise.
25021 * conform/data/fcntl.h-data: Likewise.
25022 * conform/data/float.h-data: Likewise.
25023 * conform/data/fmtmsg.h-data: Likewise.
25024 * conform/data/fnmatch.h-data: Likewise.
25025 * conform/data/ftw.h-data: Likewise.
25026 * conform/data/glob.h-data: Likewise.
25027 * conform/data/grp.h-data: Likewise.
25028 * conform/data/iconv.h-data: Likewise.
25029 * conform/data/inttypes.h-data: Likewise.
25030 * conform/data/langinfo.h-data: Likewise.
25031 * conform/data/libgen.h-data: Likewise.
25032 * conform/data/limits.h-data: Likewise.
25033 * conform/data/locale.h-data: Likewise.
25034 * conform/data/math.h-data: Likewise.
25035 * conform/data/monetary.h-data: Likewise.
25036 * conform/data/mqueue.h-data: Likewise.
25037 * conform/data/ndbm.h-data: Likewise.
25038 * conform/data/net/if.h-data: Likewise.
25039 * conform/data/netdb.h-data: Likewise.
25040 * conform/data/netinet/in.h-data: Likewise.
25041 * conform/data/nl_types.h-data: Likewise.
25042 * conform/data/poll.h-data: Likewise.
25043 * conform/data/pthread.h-data: Likewise.
25044 * conform/data/pwd.h-data: Likewise.
25045 * conform/data/regex.h-data: Likewise.
25046 * conform/data/sched.h-data: Likewise.
25047 * conform/data/search.h-data: Likewise.
25048 * conform/data/semaphore.h-data: Likewise.
25049 * conform/data/setjmp.h-data: Likewise.
25050 * conform/data/signal.h-data: Likewise.
25051 * conform/data/spawn.h-data: Likewise.
25052 * conform/data/stdarg.h-data: Likewise.
25053 * conform/data/stdio.h-data: Likewise.
25054 * conform/data/stdlib.h-data: Likewise.
25055 * conform/data/string.h-data: Likewise.
25056 * conform/data/strings.h-data: Likewise.
25057 * conform/data/stropts.h-data: Likewise.
25058 * conform/data/sys/ipc.h-data: Likewise.
25059 * conform/data/sys/mman.h-data: Likewise.
25060 * conform/data/sys/msg.h-data: Likewise.
25061 * conform/data/sys/resource.h-data: Likewise.
25062 * conform/data/sys/select.h-data: Likewise.
25063 * conform/data/sys/sem.h-data: Likewise.
25064 * conform/data/sys/shm.h-data: Likewise.
25065 * conform/data/sys/socket.h-data: Likewise.
25066 * conform/data/sys/stat.h-data: Likewise.
25067 * conform/data/sys/statvfs.h-data: Likewise.
25068 * conform/data/sys/time.h-data: Likewise.
25069 * conform/data/sys/timeb.h-data: Likewise.
25070 * conform/data/sys/times.h-data: Likewise.
25071 * conform/data/sys/types.h-data: Likewise.
25072 * conform/data/sys/uio.h-data: Likewise.
25073 * conform/data/sys/un.h-data: Likewise.
25074 * conform/data/sys/utsname.h-data: Likewise.
25075 * conform/data/sys/wait.h-data: Likewise.
25076 * conform/data/syslog.h-data: Likewise.
25077 * conform/data/tar.h-data: Likewise.
25078 * conform/data/termios.h-data: Likewise.
25079 * conform/data/utime.h-data: Likewise.
25080 * conform/data/utmpx.h-data: Likewise.
25081 * conform/data/varargs.h-data: Likewise.
25082 * conform/data/wchar.h-data: Likewise.
25083 * conform/data/wctype.h-data: Likewise.
25084 * conform/data/wordexp.h-data: Likewise.
25085
25086 * include/stropts.h: New file.
25087 * include/uchar.h: New file.
25088 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25089 * include/assert.h: Likewise.
25090 * include/ctype.h: Likewise.
25091 * include/dirent.h: Likewise.
25092 * include/dlfcn.h: Likewise.
25093 * include/fcntl.h: Likewise.
25094 * include/fnmatch.h: Likewise.
25095 * include/glob.h: Likewise.
25096 * include/grp.h: Likewise.
25097 * include/libio.h: Likewise.
25098 * include/locale.h: Likewise.
25099 * include/math.h: Likewise.
25100 * include/net/if.h: Likewise.
25101 * include/netdb.h: Likewise.
25102 * include/netinet/in.h: Likewise.
25103 * include/pthread.h: Likewise.
25104 * include/pwd.h: Likewise.
25105 * include/regex.h: Likewise.
25106 * include/sched.h: Likewise.
25107 * include/search.h: Likewise.
25108 * include/setjmp.h: Likewise.
25109 * include/signal.h: Likewise.
25110 * include/stdio.h: Likewise.
25111 * include/stdlib.h: Likewise.
25112 * include/string.h: Likewise.
25113 * include/sys/cdefs.h: Likewise.
25114 * include/sys/mman.h: Likewise.
25115 * include/sys/msg.h: Likewise.
25116 * include/sys/resource.h: Likewise.
25117 * include/sys/select.h: Likewise.
25118 * include/sys/socket.h: Likewise.
25119 * include/sys/stat.h: Likewise.
25120 * include/sys/statvfs.h: Likewise.
25121 * include/sys/time.h: Likewise.
25122 * include/sys/times.h: Likewise.
25123 * include/sys/uio.h: Likewise.
25124 * include/sys/utsname.h: Likewise.
25125 * include/sys/wait.h: Likewise.
25126 * include/termios.h: Likewise.
25127 * include/time.h: Likewise.
25128 * include/ulimit.h: Likewise.
25129 * include/unistd.h: Likewise.
25130 * include/utime.h: Likewise.
25131 * include/wchar.h: Likewise.
25132 * include/wctype.h: Likewise.
25133 * include/wordexp.h: Likewise.
25134
25135 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25136
7a270350
UD
25137 * time/time.h: TIME_UTC must be a macro.
25138 Make timespec_get available for ISO C11 only as well.
25139
7724defc
UD
251402012-02-24 Ulrich Drepper <drepper@gmail.com>
25141
25142 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25143 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25144
6b1d1d46
JM
251452012-02-24 Joseph Myers <joseph@codesourcery.com>
25146
25147 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 25148
0f8bbd69
JM
251492012-02-24 Joseph Myers <joseph@codesourcery.com>
25150
25151 * manual/texinfo.tex: Update to version 2012-01-19.16.
25152
66ab80bc
JM
251532012-02-24 Joseph Myers <joseph@codesourcery.com>
25154
25155 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25156
74981cc5
RM
251572012-02-24 Roland McGrath <roland@hack.frob.com>
25158
ee968201
RM
25159 [BZ #13738]
25160 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25161 * manual/fdl-1.3.texi: New file.
25162 * manual/fdl-1.1.texi: File removed.
25163
74981cc5
RM
25164 [BZ #13738]
25165 * manual/libc.texinfo (FDL_VERSION): New @set.
25166 Use it for mention of FDL in cover text.
25167 (Documentation License): Use it in @include file name.
25168
7bb764bc
JM
251692012-02-22 Joseph Myers <joseph@codesourcery.com>
25170 Roland McGrath <roland@hack.frob.com>
25171
25172 [BZ #5461]
25173 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25174 not LONG_LONG_MAX and LONG_LONG_MIN.
25175 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25176 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25177 name.
25178 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25179
6cbeae47
JM
251802012-02-22 Joseph Myers <joseph@codesourcery.com>
25181
25182 [BZ #2547]
25183 [BZ #11365]
25184 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25185 manipulate bits before adding and subtracting TWO23[sx].
25186 * math/libm-test.inc (nearbyint_test): Add more tests.
25187
fe45ce09
JM
251882012-02-22 Joseph Myers <joseph@codesourcery.com>
25189
25190 [BZ #2548]
25191 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25192 bits before adding and subtracting TWO23[sx].
25193 * math/libm-test.inc (rint_test): Add more tests.
25194 (rint_test_tonearest): Likewise.
25195 (rint_test_towardzero): Likewise.
25196 (rint_test_downward): Likewise.
25197 (rint_test_upward: Likewise.
25198
ff3b3d82
JM
251992012-02-22 Joseph Myers <joseph@codesourcery.com>
25200
25201 [BZ #10110]
25202 * include/stdc-predef.h: New file. Extracted from features.h.
25203 * include/features.h: Include stdc-predef.h.
25204 * Makefile (headers): Add stdc-predef.h.
25205 * CONFORMANCE (Compiler limitations): Update.
25206
ef0aab35
JM
252072012-02-22 Joseph Myers <joseph@codesourcery.com>
25208
25209 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25210
58639409
DM
252112012-02-21 David S. Miller <davem@davemloft.net>
25212
25213 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25214 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25215
c0e70b25
DM
252162012-02-20 David S. Miller <davem@davemloft.net>
25217
25218 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25219 using a normal save/restore sequence, rather than allocating a
25220 dummy stack frame just to store a frame pointer and restore.
25221 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25222
fb06851d
JM
252232012-02-21 Joseph Myers <joseph@codesourcery.com>
25224
25225 * manual/install.texi: Fix stray word in line-wrapped comment.
25226
7a8b71c3
DM
252272012-02-20 David S. Miller <davem@davemloft.net>
25228
d510c123
DM
25229 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25230 both binutils and gcc support GOTDATA.
25231
0722d7c2
DM
25232 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25233 "rd %pc" in the PIC register setup sequences.
25234
3d2b3019
DM
25235 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25236 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25237 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25238 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25239 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25240 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25241 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25242 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25243 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25244 (SYSCALL_ERROR_HANDLER): Likewise.
25245 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25246 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25247 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25248 (SYSCALL_ERROR_HANDLER): Likewise.
25249
c80098a9
DM
25250 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25251 (HAVE_GCC_GOTDATA): New.
25252 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25253 relocation support in both binutils and gcc.
25254 * sysdeps/sparc/elf/configure: Regenerate.
25255
3a2545a0
DM
25256 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25257 * sysdeps/sparc/sparc32/elf/configure: Delete.
25258 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25259 * sysdeps/sparc/sparc64/elf/configure: Delete.
25260 * sysdeps/sparc/elf/configure.in: New file.
25261 * sysdeps/sparc/elf/configure: Generate.
25262
7a8b71c3
DM
25263 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25264 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25265 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25266 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25267 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25268
f1e86fca
JM
252692012-02-21 Joseph Myers <joseph@codesourcery.com>
25270
25271 * manual/install.texi: Do not mention specific glibc version
25272 numbers.
25273 * manual/libc.texinfo (VERSION, UPDATED): Update.
25274 (@copying): Use @copyright{} and range of years.
25275
0e7dfaef
JM
252762012-02-21 Joseph Myers <joseph@codesourcery.com>
25277
25278 [BZ #13695]
25279 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25280 [crti.S not in sysdirs] (generated): Do not append.
25281 [crti.S not in sysdirs] (omit-deps): Likewise.
25282 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25283 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25284 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25285 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25286 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25287 Likewise.
25288 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25289 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25290 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25291 * csu/defs.awk: Remove file.
25292 * sysdeps/generic/initfini.c: Likewise.
25293 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25294 variable.
25295 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25296 Likewise.
25297
599af3ca
JM
252982012-02-20 Joseph Myers <joseph@codesourcery.com>
25299
25300 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25301 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25302 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25303 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25304 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25305 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25306 <bits/epoll.h>.
25307 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25308 (__EPOLL_PACKED): Define to empty if not defined by
25309 <bits/epoll.h>.
25310 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25312 bits/epoll.h.
25313
0e499750
JM
253142012-02-20 Joseph Myers <joseph@codesourcery.com>
25315
25316 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25317 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25318 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25319 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25320 <bits/timerfd.h>.
25321 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25323 bits/timerfd.h.
25324
5ad91f6e
JM
253252012-02-20 Joseph Myers <joseph@codesourcery.com>
25326
25327 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25328 in C locale.
25329 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25330 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25331 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25333
06b99b02
AJ
253342012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25335
25336 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25337 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25338
7638c0fd
AS
253392012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25340
25341 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25342 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25343 defined.
25344 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25345 Likewise.
25346 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25347 entry for 2.16.
25348
92221550
AJ
253492012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25350
25351 * math/w_acos.c: Use non-signaling floating-point comparisons.
25352 * math/w_acosf.c: Likewise.
25353 * math/w_acosh.c: Likewise.
25354 * math/w_acoshf.c: Likewise.
25355 * math/w_acoshl.c: Likewise.
25356 * math/w_acosl.c: Likewise.
25357 * math/w_asin.c: Likewise.
25358 * math/w_asinf.c: Likewise.
25359 * math/w_asinl.c: Likewise.
25360 * math/w_atanh.c: Likewise.
25361 * math/w_atanhf.c: Likewise.
25362 * math/w_atanhl.c: Likewise.
25363 * math/w_exp2.c: Likewise.
25364 * math/w_exp2f.c: Likewise.
25365 * math/w_exp2l.c: Likewise.
25366 * math/w_j0.c: Likewise.
25367 * math/w_j0f.c: Likewise.
25368 * math/w_j0l.c: Likewise.
25369 * math/w_j1.c: Likewise.
25370 * math/w_j1f.c: Likewise.
25371 * math/w_j1l.c: Likewise.
25372 * math/w_jn.c: Likewise.
25373 * math/w_jnf.c: Likewise.
25374 * math/w_log.c: Likewise.
25375 * math/w_log10.c: Likewise.
25376 * math/w_log10f.c: Likewise.
25377 * math/w_log10l.c: Likewise.
25378 * math/w_log2.c: Likewise.
25379 * math/w_log2f.c: Likewise.
25380 * math/w_log2l.c: Likewise.
25381 * math/w_logf.c: Likewise.
25382 * math/w_logl.c: Likewise.
25383 * math/w_sqrt.c: Likewise.
25384 * math/w_sqrtf.c: Likewise.
25385 * math/w_sqrtl.c: Likewise.
25386 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25387 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25388 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25389 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25390 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25391
ebaf36eb
JM
253922012-02-19 Joseph Myers <joseph@codesourcery.com>
25393
25394 [BZ #9739]
25395 * manual/string.texi (strnlen): Use correct parameter name in
25396 equivalent expression.
25397
71c254a6
JM
253982012-02-19 Joseph Myers <joseph@codesourcery.com>
25399
25400 [BZ #11174]
25401 * manual/users.texi (seteuid): Consistently use neweuid for
25402 argument name.
25403
16d2c631
JM
254042012-02-19 Joseph Myers <joseph@codesourcery.com>
25405
25406 [BZ #13704]
25407 * manual/nss.texi (Services in the NSS configuration): Correct
25408 list of services in example configuration file.
25409
cd837b09
NB
254102012-02-19 Nick Bowler <nbowler@draconx.ca>
25411
25412 [BZ #11322]
25413 * manual/arith.texi: Remove statements about negative zero
25414 behaving identically to zero.
25415
02c4bbad
JM
254162012-02-18 Joseph Myers <joseph@codesourcery.com>
25417
25418 [BZ #5993]
25419 * manual/install.texi: Do not document upgrading from libc5.
25420
366842e7
JM
254212012-02-18 Joseph Myers <joseph@codesourcery.com>
25422
25423 [BZ #4596]
25424 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25425
dd54084d
DM
254262012-02-18 David S. Miller <davem@davemloft.net>
25427
25428 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25429 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25430 %o7 across the call.
25431 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25432 instead.
25433 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25434 SETUP_PIC_REG_LEAF.
25435 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25436 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25437 * sysdeps/sparc/crtn.S: Likewise.
25438
2bcc53a3
UD
254392012-02-17 Ulrich Drepper <drepper@gmail.com>
25440
25441 * aout/Makefile: Remove.
25442
09c093b5
RK
254432012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25444
25445 [BZ #13058]
25446 * manual/examples/argp-ex1.c (main): Format definition in GNU
25447 style.
25448 * manual/examples/argp-ex2.c (main): Likewise.
25449 * manual/examples/argp-ex3.c (main): Likewise.
25450 * manual/examples/argp-ex4.c (main): Likewise.
25451 * manual/examples/longopt.c (main): Use new-style prototype
25452 definition.
25453 * manual/examples/strncat.c (main): Specify return type and use
25454 (void) for arguments.
25455 * manual/examples/subopt.c (main): Use char **argv argument.
25456
2ee633a2
JM
254572012-02-17 Joseph Myers <joseph@codesourcery.com>
25458
25459 [BZ #5077]
25460 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25461 rounding modes.
25462
0520adde
FB
254632012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25464
25465 [BZ #6907]
25466 * manual/string.texi (strchr): Change when strchrnul is
25467 recommended.
25468
3f4081cd
DGM
254692012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25470
25471 [BZ #174]
25472 * manual/locale.texi (setlocale): Document LOCPATH.
25473
d1b10e78
JM
254742012-02-17 Joseph Myers <joseph@codesourcery.com>
25475
25476 [BZ #10210]
25477 * manual/process.texi (execle): Move @dots{} before last argument.
25478
79c6869c
PB
254792012-02-17 Paul Bolle <pebolle@tiscali.nl>
25480
25481 [BZ #12047]
25482 * manual/charset.texi (Generic Charset Conversion): Fix typo
25483 (LC_TYPE -> LC_CTYPE).
25484
cc6e48bc
NB
254852012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25486
25487 [BZ #5805]
25488 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25489 (scalbnf): Likewise.
25490 (scalbnl): Likewise.
25491 (scalbln): Likewise.
25492 (scalblnf): Likewise.
25493 (scalblnl): Likewise.
25494 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25495 (vwarnx): Likewise.
25496 (verr): Likewise.
25497 (verrx): Likewise.
25498 * manual/filesys.texi (telldir): Use braces around return type.
25499 * manual/llio.texi (mmap): Add space after comma.
25500 (mmap64): Likewise.
25501 * manual/math.texi (jn): Use @var{} on parameter names.
25502 (jnf): Likewise.
25503 (jnl): Likewise.
25504 (yn): Likewise.
25505 (ynf): Likewise.
25506 (ynl): Likewise.
25507 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25508 line.
25509 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25510 "...".
25511 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25512 (sched_get_priority_max): Likewise.
25513 * manual/signal.texi (sigvec): Add space after comma.
25514 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25515 names.
25516 (if_indextoname): Likewise.
25517 (if_freenameindex): Likewise.
25518 (sendto): Use ',' instead of '.' in prototype.
25519 * manual/startup.texi (syscall): Use @dots{} instead of literal
25520 "...".
25521 * manual/stdio.texi (__fpending): Separate initial words of
25522 paragraph from @deftypefun line.
25523 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25524 "...".
25525 (vsyslog): Use @var{} on parameter names.
25526 * manual/terminal.texi (stty): Use @var{} on parameter names.
25527 * manual/users.texi (getutmp): Use @var{} on parameter names.
25528 (getutmpx): Likewise.
25529
5b23062f
JM
255302012-02-17 Joseph Myers <joseph@codesourcery.com>
25531
25532 [BZ #6884]
25533 * manual/stdio.texi (fopen): Fix typos in description of
25534 ",ccs=STRING".
25535
8dee4833
AJ
255362012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25537
25538 [BZ #4026]
25539 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25540 get clock_id definition.
25541
9078ce93
TS
255422012-02-17 Thomas Schwinge <thomas@schwinge.name>
25543
25544 [BZ #4822]
25545 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25546 (madvise): Cast every argument to void on its own.
25547
3835c55f
JM
255482012-02-17 Joseph Myers <joseph@codesourcery.com>
25549
25550 [BZ #9902]
25551 * manual/startup.texi (Exit Status): Fix typo.
25552
35c47e37
JM
255532012-02-17 Joseph Myers <joseph@codesourcery.com>
25554
25555 [BZ #10140]
25556 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25557 * manual/examples/argp-ex2.c: Likewise.
25558 * manual/examples/argp-ex3.c: Likewise.
25559
e3b69ca7
RH
255602012-02-16 Richard Henderson <rth@redhat.com>
25561
25562 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25563 * sysdeps/s390/s390-32/initfini.c: Remove.
25564 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25565 * sysdeps/s390/s390-64/initfini.c: Remove.
25566
df83af67
KK
255672012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25568
25569 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25570 compiler output for sysdeps/generic/initfini.c.
25571 * sysdeps/sh/elf/initfini.c: Remove file.
25572
f63f3380
DM
255732012-02-16 David S. Miller <davem@davemloft.net>
25574
fb59b3a4
DM
25575 [BZ #11494]
25576 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25577
f63f3380
DM
25578 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25579 * sysdeps/sparc/crti.S: New file.
25580 * sysdeps/sparc/crtn.S: New file.
25581 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25582 * sysdeps/sparc/sparc64/Makefile: Likewise.
25583
df6a4a4a
MF
255842012-02-15 Mike Frysinger <vapier@gentoo.org>
25585
6dd8f3dc 25586 [BZ #3335]
df6a4a4a
MF
25587 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25588
1cac7236
RM
255892012-02-15 Roland McGrath <roland@hack.frob.com>
25590
d2c736f8
RM
25591 [BZ #4822]
25592 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25593
1cac7236
RM
25594 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25595 (write, read, close): Likewise.
25596 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25597
8e475601
JM
255982012-02-15 Joseph Myers <joseph@codesourcery.com>
25599
25600 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25601 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25602 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25603 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25604 <bits/signalfd.h>.
25605 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25606 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25607 bits/signalfd.h.
25608
ed656b40
MP
256092012-02-14 Marek Polacek <polacek@redhat.com>
25610
25611 * sysdeps/x86_64/crti.S: New file.
25612 * sysdeps/x86_64/crtn.S: New file.
25613 * sysdeps/x86_64/elf/initfini.c: Remove file.
25614
2a979d3a
JM
256152012-02-13 Joseph Myers <joseph@codesourcery.com>
25616
25617 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25618 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25619 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25620 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25621 <bits/inotify.h>.
25622 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25623 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25624 bits/inotify.h.
25625
2a418ac3
JM
256262012-02-13 Joseph Myers <joseph@codesourcery.com>
25627
25628 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25629 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25630 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25631 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25632 <bits/eventfd.h>.
25633 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25634 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25635 bits/eventfd.h.
25636
fb779be7
TS
256372012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25638
e19e83c5
RM
25639 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25640 __feraiseexcept instead of feraiseexcept.
7c35ffed 25641
fb779be7
TS
25642 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25643 nanosleep invocations.
25644 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25645 strings, and add error checking for a nanosleep invocations.
25646
59ba27a6
PE
256472012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25648
25649 Replace FSF snail mail address with URLs, as per GNU coding standards.
25650 Most of the snail mail addresses were wrong anyway, and omitting
25651 them makes the source code easier to maintain. Almost all of the
25652 changes are to license notices and to locale LC_IDENTIFICATION
25653 addresses, except for this one:
25654 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25655 not its snail mail address.
25656
57b957eb
RH
256572012-02-09 Richard Henderson <rth@twiddle.net>
25658
af850b1c
RH
25659 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25660 of kernel-features.h.
25661
57b957eb
RH
25662 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25663
6b73181a
MP
256642012-02-08 Marek Polacek <polacek@redhat.com>
25665
25666 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25667 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25668 * sysdeps/gnu/_G_config.h: Likewise.
25669 * sysdeps/generic/_G_config.h: Likewise.
25670
26ecc33a
AS
256712012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25672
6c6dbc63
AS
25673 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25674 tests.
25675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25676
e216c012
AS
25677 * sysdeps/powerpc/powerpc32/crti.S: New file.
25678 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25679 * sysdeps/powerpc/powerpc64/crti.S: New file.
25680 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25681
26ecc33a
AS
25682 * Makeconfig (have-initfini): Don't set.
25683 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25684 * configure.in (nopic_initfini): Don't substitute.
25685 * config.h.in (HAVE_INITFINI): Don't #undef.
25686 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25687 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25688
3add8e13
JM
256892012-02-08 Joseph Myers <joseph@codesourcery.com>
25690
25691 Support crti.S and crtn.S provided directly by architectures.
25692 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25693 [crti.S in sysdirs] (omit-deps): Likewise.
25694 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25695 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25696 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25697 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25698 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25699 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25700 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25701 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25702 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25703 compiler output for sysdeps/generic/initfini.c.
25704 * sysdeps/i386/elf/Makefile: Remove file.
25705 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25706
a22f12b4
MP
257072012-02-07 Marek Polacek <polacek@redhat.com>
25708
25709 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25710 * sysdeps/gnu/_G_config.h: Likewise.
25711 * sysdeps/mach/hurd/_G_config.h: Likewise.
25712
148cf100
MP
257132012-02-07 Marek Polacek <polacek@redhat.com>
25714
25715 * math/Makefile (tests): Add tst-CMPLX2.
25716 * math/tst-CMPLX2.c: New file.
25717
cfdc0dd7
AS
257182012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25719
84ba42c4
AS
25720 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25721
cfdc0dd7
AS
25722 * math/libm-test.inc (jn_test): Add missing L suffix.
25723
622c86f4
MP
257242012-02-06 Marek Polacek <polacek@redhat.com>
25725
25726 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25727 * sysdeps/i386/fpu/e_powf.S: Likewise.
25728 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25729 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25730 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25731 * sysdeps/i386/fpu/e_pow.S: Likewise.
25732 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25733 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25734 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25735 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25736 * sysdeps/i386/fpu/e_log2.S: Likewise.
25737 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25738 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25739 * sysdeps/i386/fpu/e_powl.S: Likewise.
25740 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25741 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25742 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25743 * sysdeps/i386/fpu/e_logl.S: Likewise.
25744 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25745 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25746 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25747 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25748 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25749 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25750 * sysdeps/i386/fpu/e_log.S: Likewise.
25751 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25752 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25753 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25754 * sysdeps/i386/fpu/e_logf.S: Likewise.
25755 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25756 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25757 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25758 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25759 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25760 * sysdeps/i386/fpu/e_log10.S: Likewise.
25761 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25762 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25763 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25764 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25765 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25766 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25767 * sysdeps/i386/asm-syntax.h: Likewise.
25768 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25769 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25770 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25771 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25772 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25773 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25774 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25775 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25776 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25777 * sysdeps/powerpc/sysdep.h: Likewise.
25778 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25779 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25780
d4a54ac6
JM
257812012-02-06 Joseph Myers <joseph@codesourcery.com>
25782
25783 [BZ #411]
25784 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25785
314054ea
JM
257862012-02-06 Joseph Myers <joseph@codesourcery.com>
25787
25788 * sysdeps/i386/sysdep.h: Include <features.h>.
25789 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25790 version.
25791
d8e0ca50
JM
257922012-02-05 Joseph Myers <joseph@codesourcery.com>
25793
25794 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25795 Define.
25796 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25797 LOAD_PIC_REG_STR.
25798
b1da7dd9
JM
257992012-02-03 Joseph Myers <joseph@codesourcery.com>
25800
25801 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25802 (SETUP_PIC_REG): Use GET_PC_THUNK.
25803 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25804 macro.
25805
9a1d9254
JM
258062012-02-03 Joseph Myers <joseph@codesourcery.com>
25807
25808 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25809 for non-PIC compilation.
25810 (SETUP_PIC_REG): Add .p2align directive.
25811 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25812 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25813 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25814 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25815 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25816 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25817 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25818 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25819 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25820 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25821 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25822 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25823 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25824 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25825 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25826 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25827 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25828 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25829 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25830 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25831 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25832 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25833 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25834 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25835 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25836 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25837 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25838 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25839 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25840 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25841 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25842 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25843 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25844 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25845 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25846 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25847 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25848 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25849 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25850 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25851 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25852
65dc3b75
JM
258532012-02-03 Joseph Myers <joseph@codesourcery.com>
25854
25855 * math/tst-CMPLX.c: Include <stdio.h>.
25856
d55bf177
JM
258572012-01-31 Joseph Myers <joseph@codesourcery.com>
25858
25859 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25860 float.
25861 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25862 * sysdeps/sparc/bits/mathdef.h: Likewise.
25863
69db4f8f
MP
258642012-01-31 Marek Polacek <polacek@redhat.com>
25865
25866 * libio/libio.h: Don't define _PARAMS.
25867 * locale/programs/config.h: Don't define PARAMS.
25868 * stdlib/strtol_l.c: Likewise.
25869 (__strtol_l): Remove PARAMS from the prototype.
25870
41b81892
UD
258712012-01-31 Ulrich Drepper <drepper@gmail.com>
25872
3b49edc0
UD
25873 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25874 names. Just use the correct names. Remove unnecessary wrapper
25875 functions.
25876 * malloc/arena.c: Likewise.
25877 * malloc/hooks.c: Likewise.
25878
41b81892
UD
25879 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25880 ARENA_TEST says not to. Simplify test for creation of a new arena.
25881 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25882
27a25b6e
UD
258832012-01-30 Ulrich Drepper <drepper@gmail.com>
25884
25885 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25886 into tail calls.
25887 (update_get_addr): New function.
25888 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25889 GET_ADDR_MODULE parameter.
25890
c8a89e7d
JM
258912012-01-30 Joseph Myers <joseph@codesourcery.com>
25892
25893 * crypt/cert.c: Remove __STDC__ conditionals.
25894 * crypt/crypt-entry.c: Likewise.
25895 * crypt/crypt_util.c: Likewise.
25896 * libio/filedoalloc.c: Likewise.
25897 * libio/fileops.c: Likewise.
25898 * libio/genops.c: Likewise.
25899 * libio/iofclose.c: Likewise.
25900 * libio/iofdopen.c: Likewise.
25901 * libio/iofopen.c: Likewise.
25902 * libio/iofopen64.c: Likewise.
25903 * libio/iogetdelim.c: Likewise.
25904 * libio/iopopen.c: Likewise.
25905 * libio/obprintf.c: Likewise.
25906 * libio/oldfileops.c: Likewise.
25907 * libio/oldiofclose.c: Likewise.
25908 * libio/oldiofdopen.c: Likewise.
25909 * libio/oldiofopen.c: Likewise.
25910 * libio/oldiopopen.c: Likewise.
25911 * libio/wfiledoalloc.c: Likewise.
25912 * libio/wgenops.c: Likewise.
25913 * locale/programs/xmalloc.c: Likewise.
25914 * misc/syslog.c: Likewise.
25915 * stdio-common/xbug.c: Likewise.
25916 * string/memchr.c: Likewise.
25917 * string/memcmp.c: Likewise.
25918 * string/memrchr.c: Likewise.
25919 * string/rawmemchr.c: Likewise.
25920 * sysdeps/posix/getcwd.c: Likewise.
25921 * time/strftime_l.c: Likewise.
25922
3b100462
JM
259232012-01-30 Joseph Myers <joseph@codesourcery.com>
25924
25925 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25926 * config.make.in (config-cflags-sse2avx): Define.
25927 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25928 Fix typo.
25929
607998af
CM
259302012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25931
25932 * scripts/config.guess: Update from upstream config git repository.
25933 * scripts/config.sub: Likewise.
25934
3601428f
CM
259352012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25936
3ac8b282
CM
25937 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25938 (EM_NUM): Update.
25939 (R_TILEPRO_*, R_TILEGX_*): New macros.
25940
e034841e
CM
25941 * scripts/firstversions.awk: Fix bug in version range handling.
25942
540d7568
CM
25943 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25944
3601428f
CM
25945 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25946
463de862
CM
25947 * include/sys/epoll.h: New file.
25948 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25949 libc_hidden_def.
25950
73139a76
UD
259512012-01-28 Ulrich Drepper <drepper@gmail.com>
25952
96bc5b45
UD
25953 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25954 Avoid unnecessary __WORDSIZE == 64 test.
25955 (fmaxf): Use VEX format if possible.
25956 (fmax): Likewise.
25957 (fminf): Likewise.
25958 (fmin): Likewise.
25959
56f6f6a2
UD
25960 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25961 * math/math_private.h: Remove libc_fegetround* and
25962 libc_fesetround*.
25963 * sysdeps/i386/configure.in: Check for -msse2avx.
25964 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25965 also if SSE2AVX is defined.
25966 Remove libc_fegetround* and libc_fesetround*.
25967 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25968 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25969 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25970 of HAS_YMM_USABLE.
25971 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25972 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25973 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25974 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25975 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25976
73139a76
UD
25977 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25978
d73f93a4
AZ
259792012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25980
25981 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25982 size is not set.
25983 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25984
6ee65ed6
UD
259852012-01-27 Ulrich Drepper <drepper@gmail.com>
25986
25987 [BZ #13618]
25988 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25989 relocation.
25990 * Makeconfig (libm): Define.
25991 * elf/Makefile: Add rules to build and run tst-relsort1.
25992 * elf/tst-relsort1.c: New file.
25993 * elf/tst-relsort1mod1.c: New file.
25994 * elf/tst-relsort1mod2.c: New file.
25995
8db21882
JM
259962012-01-27 Joseph Myers <joseph@codesourcery.com>
25997
25998 * math/s_ldexp.c: Remove __STDC__ conditionals.
25999 * math/s_ldexpf.c: Likewise.
26000 * math/s_ldexpl.c: Likewise.
26001 * math/s_nextafter.c: Likewise.
26002 * math/s_nexttowardf.c: Likewise.
26003 * math/s_significand.c: Likewise.
26004 * math/s_significandf.c: Likewise.
26005 * math/s_significandl.c: Likewise.
26006 * math/w_jnl.c: Likewise.
26007 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26008 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26009 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26010 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26011 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26012 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26013 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26014 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26015 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26016 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26017 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26018 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26019 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26020 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26021 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26022 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26023 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26024 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26025 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26026 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26027 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26028 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26029 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26030 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26031 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26032 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26033 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26034 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26035 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26036 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26037 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26038 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26039 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26040 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26041 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26042 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26043 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26044 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26045 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26046 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26047 * sysdeps/ieee754/k_standard.c: Likewise.
26048 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26049 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26050 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26051 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26052 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26053 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26054 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26055 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26056 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26057 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26058 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26059 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26060 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26061 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26062 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26063 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26064 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26065 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26066 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26067 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26068 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26069 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26070 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26071 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26072 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26073 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26074 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26075 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26076 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26077 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26078 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26079 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26080 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26081 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26082 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26083 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26084 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26085 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26086 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26087 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26088 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26089 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26090 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26091 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26092 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26093 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26094 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26095 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26096 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26097 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26098 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26099 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26100 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26101 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26102 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26103 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26104 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26105 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26106 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26107 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26108 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26109 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26110 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26111 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26112 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26113 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26114 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26115 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26116 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26117 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26118 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26119 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26120 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26121 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26122 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26123 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26124 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26125 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26126 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26127 * sysdeps/ieee754/s_matherr.c: Likewise.
26128 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26129 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26130 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26131 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26132
965a54a4
JM
261332012-01-26 Joseph Myers <joseph@codesourcery.com>
26134
26135 * crypt/md5.h: Remove __STDC__ conditionals.
26136 * libio/libioP.h: Likewise.
26137 * locale/programs/config.h: Likewise.
26138 * sysdeps/generic/sysdep.h: Likewise.
26139 * sysdeps/i386/asm-syntax.h: Likewise.
26140 * sysdeps/s390/asm-syntax.h: Likewise.
26141 * sysdeps/unix/sysdep.h: Likewise.
26142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26144
7071ad79
JM
261452012-01-26 Joseph Myers <joseph@codesourcery.com>
26146
26147 * libio/libio.h: Remove __STDC__ conditionals.
26148 * malloc/obstack.h: Likewise.
26149 * math/complex.h: Likewise.
26150 * math/math.h: Likewise.
26151 * sysdeps/generic/_G_config.h: Likewise.
26152 * sysdeps/gnu/_G_config.h: Likewise.
26153 * sysdeps/mach/hurd/_G_config.h: Likewise.
26154 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26155 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26156 * sysdeps/sparc/bits/mathdef.h: Likewise.
26157
afc5ed09
UD
261582012-01-26 Ulrich Drepper <drepper@gmail.com>
26159
26160 [BZ #13583]
26161 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 26162 Clean up HAS_* macros.
afc5ed09 26163 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
26164 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26165 possible.
26166 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26167 HAS_AVX.
26168 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26169 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26170 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26171 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26172 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26173
bdb6de1d
JM
261742012-01-25 Joseph Myers <joseph@codesourcery.com>
26175
26176 * elf/tst-unique3.cc (gets): Remove declaration.
26177 * elf/tst-unique3lib.cc (gets): Likewise.
26178 * elf/tst-unique3lib2.cc (gets): Likewise.
26179 * elf/tst-unique4.cc (gets): Likewise.
26180
b15549e6
UD
261812012-01-24 Ulrich Drepper <drepper@gmail.com>
26182
26183 * include/stdio.h: Add C++ protection. Add gets declarations and
26184 definitions.
26185 * debug/tst-chk1.c: Don't declare gets here.
26186 * stdio-common/tst-gets.c: Likewise.
26187
a037381f
JM
261882012-01-24 Joseph Myers <joseph@codesourcery.com>
26189
26190 * posix/glob: Remove directory.
26191
f1d4aa75
JM
261922012-01-24 Joseph Myers <joseph@codesourcery.com>
26193
26194 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26195
81c0c964
PT
261962012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26197
26198 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26199 of the non-standard EPFNOSUPPORT.
26200
0ea698ae
ST
262012011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26202
26203 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26204 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26205 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26206
d220b117
UD
262072012-01-21 Ulrich Drepper <drepper@gmail.com>
26208
26209 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26210
3e1aa84e
UD
262112012-01-20 Ulrich Drepper <drepper@gmail.com>
26212
26213 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26214 transient errors.
26215 * nscd/grpcache.c (cache_addgr): Likewise.
26216 * nscd/hstcache.c (cache_addhst): Likewise.
26217 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26218 * nscd/pwdcache.c (cache_addpw): Likewise.
26219 * nscd/servicescache.c (cache_addserv): Likewise.
26220
400aa020
UD
262212012-01-16 Ulrich Drepper <drepper@gmail.com>
26222
d77e7869
UD
26223 * malloc/malloc.c: Various cleanups.
26224 * malloc/hooks.c: Likewise.
26225
400aa020
UD
26226 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26227 * stdlib/bug-fmtmsg1.c: New file.
26228
26229 * stdlib/fmtmsg.c (init): Add missing unlock.
26230 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26231
e0a309cf
MP
262322012-01-12 Marek Polacek <polacek@redhat.com>
26233
26234 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26235 and _GNU_SOURCE.
26236
929d11c7
WS
262372012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26238
26239 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26240 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26241 macro to ensure uniqueness of label name.
26242 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26243 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26244
41d0e869
UD
262452012-01-11 Ulrich Drepper <drepper@gmail.com>
26246
0cc5ed3b
UD
26247 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26248
41d0e869
UD
26249 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26250 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26251 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26252 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26253
a47a831a
UD
262542012-01-10 Ulrich Drepper <drepper@gmail.com>
26255
daa891c0
UD
26256 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26257
26258 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26259 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26260 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26261
e58ef0f2
UD
26262 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26263
a47a831a 26264 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26265 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26266 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26268
26269 * math/bits/math-finite.h: Add ldexp support.
26270
a0bfc9c7
MP
262712012-01-10 Marek Polacek <polacek@redhat.com>
26272
26273 * locale/programs/localedef.h (show_archive_content): Add noreturn
26274 attribute.
26275
d6e97a1d
UD
262762012-01-09 Ulrich Drepper <drepper@gmail.com>
26277
26278 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26279
d5835c26
UD
262802012-01-08 Ulrich Drepper <drepper@gmail.com>
26281
e5f484c6
UD
26282 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26283
d5835c26
UD
26284 * io/Makefile (headers): Add bits/poll2.h.
26285
d1f741e9
WS
262862011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26287
26288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26289 typo #include statement.
26290
ec09c1c4
UD
262912012-01-08 Ulrich Drepper <drepper@gmail.com>
26292
26293 * include/sys/cdefs.h: Define __attribute_alloc_size.
26294 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26295 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26296 * elf/pldd.c: Likewise.
26297 * iconv/iconv_charmap.c: Likewise.
26298 * iconv/iconvconfig.c: Likewise.
26299 * iconv/strtab.c: Likewise.
26300 * locale/programs/locale.c: Likewise.
26301 * locale/programs/localedef.h: Likewise.
26302 * locale/programs/simple-hash.c: Likewise.
26303 * nscd/nscd.h: Likewise.
26304 * nss/makedb.c: Likewise.
26305 * sysdeps/generic/ldconfig.h: Likewise.
26306 * locale/programs/localedef.c: Remove xmalloc prototype.
26307 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26308
20b38e03
PP
263092012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26310
26311 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26312 appropriate.
26313
a0da5fe1
UD
263142012-01-08 Ulrich Drepper <drepper@gmail.com>
26315
1d5a644a 26316 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26317 * math/tst-CMPLX.c: New file.
1d5a644a 26318
8784a6db
UD
26319 * math/complex.h (CMPLXL): Fix typo.
26320
d9a216c0
UD
26321 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26322 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26323 GLIBC_2.16.
26324 * debug/tst-chk1.c: Add poll and ppoll tests.
26325 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26326 * include/sys/poll.h: Add hidden proto for ppoll.
26327 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26328 * sysdeps/mach/hurd/ppoll.c: Likewise.
26329 * io/ppoll.c: Likewise.
26330 * debug/poll_chk.c: New file.
26331 * debug/ppoll_chk.c: New file.
26332 * include/bits/poll2.h: New file.
26333 * io/bits/poll2.h: New file.
26334
ac097f5c
UD
26335 [BZ #1350]
26336 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26337
2119dcfa
UD
26338 * configure.in: static is always set to yes. Remove.
26339 * config.make.in: Don't set build-static.
26340 * Makeconfig: Remove use of build-static.
26341 * dlfcn/Makefile: Likewise.
26342 * elf/Makefile: Likewise.
26343 * math/Makefile: Likewise.
26344 * misc/Makefile: Likewise.
26345 * nptl/Makefile: Likewise.
26346 * sysdeps/mach/hurd/Makefile: Likewise.
26347
121766a9
UD
26348 * configure.in: PWD_P is not used anymore.
26349 * config.make.in: Remove PWD_P entry.
26350
51a1d39c 26351 * configure.in: Remove last remnants of RANLIB.
8720d066 26352 No need to check for signed size_t anymore.
215f4bdc
UD
26353 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26354 and IA-64.
3857022a 26355 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26356 * aclocal.m4: Likewise.
26357
d3ed7225
UD
26358 * wcsmbs/mbrtoc16.c: Implement using towc function.
26359 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26360 * wcsmbs/wcsmbsload.c: Likewise.
26361 * iconv/gconv_simple.c: Likewise.
26362 * iconv/gconv_int.h: Likewise.
26363 * iconv/gconv_builtin.h: Likewise.
26364 * iconv/iconv_prog.c: Remove CHAR16 handling.
26365
26366 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26367
26368 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26369
a0da5fe1
UD
26370 * configure.in: Remove --with-elf and --enable-bounded options.
26371 Dont set base_machine for ia64. More non-ELF conditions removed.
26372 Remove testing and setting of leading underscore information.
26373 * config.make.in (build-bounded): Set to no.
26374 * config.h.in: Remove NO_UNDERSCORES entry.
26375 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26376 them.
26377 * csu/start.c: Remove !NO_UNDERSCORE code.
26378 * locale/localeinfo.h: Likewise.
26379 * sysdeps/generic/machine-gmon.h: Likewise.
26380 * sysdeps/generic/sysdep.h: Likewise.
26381 * sysdeps/i386/sysdep.h: Likewise.
26382 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26383 * sysdeps/mach/sysdep.h: Likewise.
26384 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26385 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26386 * sysdeps/sh/sysdep.h: Likewise.
26387 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26388 * sysdeps/unix/i386/sysdep.S: Likewise.
26389 * sysdeps/unix/sparc/start.c: Likewise.
26390 * sysdeps/unix/sparc/sysdep.S: Likewise.
26391 * sysdeps/unix/sparc/sysdep.h: Likewise.
26392 * sysdeps/unix/start.c: Likewise.
26393 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26394 * sysdeps/x86_64/sysdep.h: Likewise.
26395
df78418a
UD
263962012-01-07 Ulrich Drepper <drepper@gmail.com>
26397
a784e502
UD
26398 [BZ #13553]
26399 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26400 for non-gcc.
26401 * argp/argp-fmtstream.h: Use const instead __const.
26402 * argp/argp.h: Likewise.
26403 * assert/assert.h: Likewise.
26404 * bits/fenv.h: Likewise.
26405 * bits/sched.h: Likewise.
26406 * bits/sigset.h: Likewise.
26407 * bits/sigthread.h: Likewise.
26408 * catgets/nl_types.h: Likewise.
26409 * conform/data/pthread.h-data: Likewise.
26410 * crypt/crypt-private.h: Likewise.
26411 * crypt/crypt.h: Likewise.
26412 * crypt/crypt_util.c: Likewise.
26413 * ctype/ctype.h: Likewise.
26414 * debug/execinfo.h: Likewise.
26415 * debug/mbsnrtowcs_chk.c: Likewise.
26416 * debug/mbsrtowcs_chk.c: Likewise.
26417 * debug/wcsnrtombs_chk.c: Likewise.
26418 * debug/wcsrtombs_chk.c: Likewise.
26419 * debug/wcstombs_chk.c: Likewise.
26420 * dirent/dirent.h: Likewise.
26421 * dlfcn/dlfcn.h: Likewise.
26422 * elf/neededtest4.c: Likewise.
26423 * grp/grp.h: Likewise.
26424 * gshadow/gshadow.h: Likewise.
26425 * iconv/gconv.h: Likewise.
26426 * iconv/gconv_int.h: Likewise.
26427 * iconv/gconv_simple.c: Likewise.
26428 * iconv/iconv.h: Likewise.
26429 * iconv/loop.c: Likewise.
26430 * iconv/skeleton.c: Likewise.
26431 * include/aio.h: Likewise.
26432 * include/aliases.h: Likewise.
26433 * include/argz.h: Likewise.
26434 * include/arpa/inet.h: Likewise.
26435 * include/assert.h: Likewise.
26436 * include/dirent.h: Likewise.
26437 * include/dlfcn.h: Likewise.
26438 * include/execinfo.h: Likewise.
26439 * include/fcntl.h: Likewise.
26440 * include/fenv.h: Likewise.
26441 * include/glob.h: Likewise.
26442 * include/grp.h: Likewise.
26443 * include/libintl.h: Likewise.
26444 * include/mntent.h: Likewise.
26445 * include/netdb.h: Likewise.
26446 * include/pwd.h: Likewise.
26447 * include/rpc/netdb.h: Likewise.
26448 * include/sched.h: Likewise.
26449 * include/search.h: Likewise.
26450 * include/shadow.h: Likewise.
26451 * include/signal.h: Likewise.
26452 * include/stdio.h: Likewise.
26453 * include/stdlib.h: Likewise.
26454 * include/string.h: Likewise.
26455 * include/sys/socket.h: Likewise.
26456 * include/sys/stat.h: Likewise.
26457 * include/sys/statfs.h: Likewise.
26458 * include/sys/statvfs.h: Likewise.
26459 * include/sys/syslog.h: Likewise.
26460 * include/sys/time.h: Likewise.
26461 * include/sys/uio.h: Likewise.
26462 * include/time.h: Likewise.
26463 * include/unistd.h: Likewise.
26464 * include/utmp.h: Likewise.
26465 * include/wchar.h: Likewise.
26466 * include/wctype.h: Likewise.
26467 * inet/aliases.h: Likewise.
26468 * inet/arpa/inet.h: Likewise.
26469 * inet/netinet/ether.h: Likewise.
26470 * inet/netinet/in.h: Likewise.
26471 * intl/libintl.h: Likewise.
26472 * io/bits/fcntl2.h: Likewise.
26473 * io/fcntl.h: Likewise.
26474 * io/ftw.h: Likewise.
26475 * io/sys/poll.h: Likewise.
26476 * io/sys/stat.h: Likewise.
26477 * io/sys/statfs.h: Likewise.
26478 * io/sys/statvfs.h: Likewise.
26479 * io/utime.h: Likewise.
26480 * libio/bits/stdio.h: Likewise.
26481 * libio/bits/stdio2.h: Likewise.
26482 * libio/libio.h: Likewise.
26483 * libio/libioP.h: Likewise.
26484 * libio/stdio.h: Likewise.
26485 * locale/lc-ctype.c: Likewise.
26486 * locale/locale.h: Likewise.
26487 * login/utmp.h: Likewise.
26488 * malloc/arena.c: Likewise.
26489 * malloc/malloc.c: Likewise.
26490 * malloc/malloc.h: Likewise.
26491 * malloc/mcheck.c: Likewise.
26492 * malloc/mtrace.c: Likewise.
26493 * math/bits/mathcalls.h: Likewise.
26494 * math/fenv.h: Likewise.
26495 * math/math_private.h: Likewise.
26496 * misc/bits/error.h: Likewise.
26497 * misc/bits/syslog.h: Likewise.
26498 * misc/err.h: Likewise.
26499 * misc/error.h: Likewise.
26500 * misc/fstab.h: Likewise.
26501 * misc/mntent.h: Likewise.
26502 * misc/regexp.h: Likewise.
26503 * misc/search.h: Likewise.
26504 * misc/sgtty.h: Likewise.
26505 * misc/sys/mman.h: Likewise.
26506 * misc/sys/syslog.h: Likewise.
26507 * misc/sys/uio.h: Likewise.
26508 * misc/sys/xattr.h: Likewise.
26509 * misc/ttyent.h: Likewise.
26510 * nis/rpcsvc/ypclnt.h: Likewise.
26511 * nss/nss.h: Likewise.
26512 * posix/bits/unistd.h: Likewise.
26513 * posix/fnmatch.h: Likewise.
26514 * posix/glob.h: Likewise.
26515 * posix/sched.h: Likewise.
26516 * posix/spawn.h: Likewise.
26517 * posix/sys/wait.h: Likewise.
26518 * posix/unistd.h: Likewise.
26519 * posix/wordexp.h: Likewise.
26520 * pwd/pwd.h: Likewise.
26521 * resolv/netdb.h: Likewise.
26522 * resource/sys/resource.h: Likewise.
26523 * rt/aio.h: Likewise.
26524 * rt/bits/mqueue2.h: Likewise.
26525 * rt/mqueue.h: Likewise.
26526 * shadow/shadow.h: Likewise.
26527 * signal/signal.h: Likewise.
26528 * socket/send.c: Likewise.
26529 * socket/sendto.c: Likewise.
26530 * socket/sys/socket.h: Likewise.
26531 * stdio-common/printf.h: Likewise.
26532 * stdlib/bits/stdlib.h: Likewise.
26533 * stdlib/fmtmsg.h: Likewise.
26534 * stdlib/monetary.h: Likewise.
26535 * stdlib/stdlib.h: Likewise.
26536 * stdlib/ucontext.h: Likewise.
26537 * streams/stropts.h: Likewise.
26538 * string/argz.h: Likewise.
26539 * string/bits/string2.h: Likewise.
26540 * string/string.h: Likewise.
26541 * string/strings.h: Likewise.
26542 * sunrpc/rpc/auth.h: Likewise.
26543 * sunrpc/rpc/auth_des.h: Likewise.
26544 * sunrpc/rpc/clnt.h: Likewise.
26545 * sunrpc/rpc/netdb.h: Likewise.
26546 * sunrpc/rpc/pmap_clnt.h: Likewise.
26547 * sunrpc/rpc/xdr.h: Likewise.
26548 * sysdeps/generic/inttypes.h: Likewise.
26549 * sysdeps/generic/net/if.h: Likewise.
26550 * sysdeps/generic/sys/swap.h: Likewise.
26551 * sysdeps/gnu/net/if.h: Likewise.
26552 * sysdeps/gnu/utmpx.h: Likewise.
26553 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26554 * sysdeps/i386/i486/bits/string.h: Likewise.
26555 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26556 * sysdeps/s390/bits/string.h: Likewise.
26557 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26558 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26559 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26560 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26561 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26562 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26563 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26564 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26565 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26566 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26567 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26568 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26569 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26570 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26571 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26572 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26573 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26574 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26575 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26576 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26577 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26578 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26579 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26580 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26581 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26582 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26583 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26584 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26585 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26586 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26587 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26588 * sysvipc/sys/ipc.h: Likewise.
26589 * sysvipc/sys/msg.h: Likewise.
26590 * sysvipc/sys/sem.h: Likewise.
26591 * sysvipc/sys/shm.h: Likewise.
26592 * termios/termios.h: Likewise.
26593 * time/sys/time.h: Likewise.
26594 * time/time.h: Likewise.
26595 * wcsmbs/bits/wchar2.h: Likewise.
26596 * wcsmbs/uchar.h: Likewise.
26597 * wcsmbs/wchar.h: Likewise.
26598 * wctype/wctype.h: Likewise.
26599
0269750c
UD
26600 [BZ #13551]
26601 * Makeconfig: Remove all but ELF support including AIX support.
26602 * Makerules: Likewise.
26603 * config.h.in: Likewise.
26604 * config.make.in: Likewise.
26605 * configure: Likewise.
26606 * configure.in: Likewise.
26607 * csu/Makefile: Likewise.
26608 * csu/version.c: Likewise.
26609 * debug/Makefile: Likewise.
26610 * dlfcn/Makefile: Likewise.
26611 * elf/Makefile: Likewise.
26612 * extra-lib.mk: Likewise.
26613 * iconv/Makefile: Likewise.
26614 * include/libc-symbols.h: Likewise.
26615 * include/shlib-compat.h: Likewise.
26616 * resolv/Makefile: Likewise.
26617 * resolv/res_libc.c: Likewise.
26618 * rt/Makefile: Likewise.
26619 * sysdeps/i386/asm-syntax.h: Likewise.
26620 * sysdeps/i386/sysdep.h: Likewise.
26621 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26622 * sysdeps/mach/sysdep.h: Likewise.
26623 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26624 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26625 * sysdeps/s390/asm-syntax.h: Likewise.
26626 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26627 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26628 * sysdeps/sh/sysdep.h: Likewise.
26629 * sysdeps/unix/sparc/sysdep.h: Likewise.
26630 * sysdeps/wordsize-32/divdi3.c: Likewise.
26631 * sysdeps/x86_64/sysdep.h: Likewise.
26632
00bbd29b
UD
26633 * argp/Versions: Remove _argp_unlock_xxx.
26634
26635 [BZ #13559]
26636 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26637 * abilist/libBrokenLocale.abilist: Likewise.
26638 * abilist/libanl.abilist: Likewise.
26639 * abilist/libc.abilist: Likewise.
26640 * abilist/libcrypt.abilist: Likewise.
26641 * abilist/libdl.abilist: Likewise.
26642 * abilist/libm.abilist: Likewise.
26643 * abilist/libnsl.abilist: Likewise.
26644 * abilist/libpthread.abilist: Likewise.
26645 * abilist/libresolv.abilist: Likewise.
26646 * abilist/librt.abilist: Likewise.
26647 * abilist/libthread_db.abilist: Likewise.
26648 * abilist/libutil.abilist: Likewise.
26649 * abilist/libnss_db.abilist: New file.
26650
26651 * scripts/abilist.awk: Add support for indirect functions.
26652
a2693a0e
UD
26653 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26654
3f05895f
UD
26655 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26656
ecb6fb48
UD
26657 * shlib-versions: Remove entries for ports architectures.
26658
664f8cb9
UD
26659 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26660 files in ports.
26661 * elf/stackguard-macros.h: Remove support for IA-64.
26662 * elf/tst-auditmod1.c: Likewise.
26663 * sysdeps/generic/ldsodefs.h: Likewise.
26664
7ae81d88
UD
26665 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26666 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26667 configure files.
26668
bdeba135
UD
26669 [BZ #13552]
26670 * configure.in: Remove --enable-omitfp support.
26671 * FAQ.in: Adjust.
26672 * config.make.in: Likewise.
26673 * Makeconfig: Likewise.
26674 * manual/install.texi: Likewise.
26675
d75a0a62
UD
26676 In case anyone cares, the IA-64 architecture could move to ports.
26677 * sysdeps/ia64/*: Removed.
26678 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26679 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26680
dcc9756b
UD
26681 [BZ #13555]
26682 * configure.in: Remove entries for unsupported architectures.
26683
d3761ebc 26684 [BZ #13533]
9954432e
UD
26685 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26686 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26687 routines.
26688 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26689 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26690 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26691 fall back to using wcrtomb.
26692 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26693 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26694 renaming.
26695 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26696 * wcsmbs/tst-c16c32-1.c: New file.
26697
26698 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26699 local variable.
26700
c3a87236
UD
26701 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26702
28926a1b
UD
26703 * elf/tst-unique3.cc: Add explicit declaration of gets.
26704 * elf/tst-unique3lib.cc: Likewise.
26705 * elf/tst-unique3lib2.cc: Likewise.
26706 * elf/tst-unique4.cc: Likewise.
26707
df78418a
UD
26708 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26709
8ecd6b2a
JM
267102012-01-06 Joseph Myers <joseph@codesourcery.com>
26711
26712 [BZ #13566]
26713 * assert/assert.h (static_assert): Don't define for C++.
26714 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26715 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26716
9f115170
UD
267172012-01-03 Ulrich Drepper <drepper@gmail.com>
26718
5e0d0300
UD
26719 * iconv/loop.c (single loop): Fix assertion in storing of
26720 remaining bytes.
26721
9f115170
UD
26722 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26723
81fb02b0
UD
267242012-01-01 Ulrich Drepper <drepper@gmail.com>
26725
26726 * posix/getconf.c: Update copyright year.
26727 * nss/getent.c: Likewise.
a316c1f6 26728 * nss/makedb.c: Likewise.
81fb02b0
UD
26729 * iconv/iconvconfig.c: Likewise.
26730 * iconv/iconv_prog.c: Likewise.
26731 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26732 * elf/pldd.c: Likewise.
26733 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26734 * catgets/gencat.c: Likewise.
26735 * csu/version.c: Likewise.
26736 * elf/ldd.bash.in: Likewise.
26737 * elf/sprof.c (print_version): Likewise.
26738 * locale/programs/locale.c: Likewise.
26739 * locale/programs/localedef.c: Likewise.
a316c1f6 26740 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26741 * nscd/nscd.c (print_version): Likewise.
26742 * debug/xtrace.sh: Likewise.
26743 * malloc/memusage.sh: Likewise.
26744 * malloc/mtrace.pl: Likewise.
26745 * debug/catchsegv.sh: Likewise.
26746
2ba92745
JJ
267472011-12-30 Jakub Jelinek <jakub@redhat.com>
26748
26749 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26750 pure attribute.
26751
dadebdae
UD
267522011-12-24 Ulrich Drepper <drepper@gmail.com>
26753
d3761ebc 26754 [BZ #13533]
db6af3eb
UD
26755 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26756 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26757 transformations.
26758 * iconv/gconv_int.h: Likewise.
26759 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26760 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26761 from libc for GLIBC_2.16.
26762 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26763 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26764 * wcsmbs/uchar.h: Really define mbstate_t.
26765 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26766 * wcsmbs/c16rtomb.c: New file.
26767 * wcsmbs/mbrtoc16.c: New file.
26768 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26769 for C/POSIX locale.
26770 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26771 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26772
dadebdae
UD
26773 * wcsmbs/wchar.h: Add missing __restrict.
26774
67371b56
UD
267752011-12-23 Ulrich Drepper <drepper@gmail.com>
26776
74033a25
UD
26777 [BZ #13532]
26778 * time/Makefile (routines): Add timespec_get.
26779 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26780 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26781 timespec for ISO C11.
26782 * time/timespec_get.c: New file.
26783 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26784 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26785
380d7e87
UD
26786 [BZ #13531]
26787 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26788 * stdlib/stdlib.h: Declare aligned_alloc.
26789 * Versions.def: Add GLIBC_2.16 for libc.
26790 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26791
4e9e7a35
UD
26792 [BZ 13527]
26793 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26794 ISO C11.
26795
380d7e87 26796 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26797 code.
26798
03a71829
UD
26799 [BZ #13528]
26800 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26801
839e283e
UD
26802 [BZ #13529]
26803 * assert/assert.h (static_assert): Define.
26804
ce5294e2 26805 * version.h: Update for 2.16 development version.
90fa7312 26806
8d44e150 26807 [BZ #13526]
d7809905
UD
26808 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26809 _ISOC11_SOURCE.
26810
c0da14cd
UD
26811 * version.h (RELEASE): Bump for 2.15 release.
26812 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26813
530a3249
MP
26814 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26815 Patch by Marek Polacek <mpolacek@redhat.com>.
26816
67371b56
UD
26817 * bits/byteswap.h: Protect long long constants with __extension__.
26818 * sysdeps/i386/bits/byteswap.h: Likewise.
26819 * sysdeps/ia64/bits/byteswap.h: Likewise.
26820 * sysdeps/s390/bits/byteswap.h: Likewise.
26821 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26822
15db4de1
LD
268232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26824
26825 [BZ #13540]
bbe315ea
LD
26826 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26827 destination buffer.
15db4de1
LD
26828 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26829
2b2596b1
MP
268302011-12-23 Marek Polacek <polacek@redhat.com>
26831
26832 * elf/dl-addr.c (determine_info): Add inline keyword.
26833 * elf/tst-auditmod4b.c (check_avx): Likewise.
26834 * elf/tst-auditmod6b.c (check_avx): Likewise.
26835 * elf/tst-auditmod6c.c (check_avx): Likewise.
26836 * elf/tst-auditmod7b.c (check_avx): Likewise.
26837
70c6c246
UD
268382011-12-23 Ulrich Drepper <drepper@gmail.com>
26839
26840 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26841 !__SSE_MATH__.
26842
c044cf14
LD
268432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26844
15db4de1 26845 [BZ #13540]
c044cf14
LD
26846 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26847 processing for last bytes.
26848
6b13d9d9
BH
268492011-08-06 Bruno Haible <bruno@clisp.org>
26850
d455f537
BH
26851 [BZ #13061]
26852 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26853 U+0385, not to U+1FEE.
26854
6b13d9d9
BH
26855 [BZ #13062]
26856 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26857 entry for U+00A5 U+0301.
26858
db910efd
UD
268592011-12-22 Ulrich Drepper <drepper@gmail.com>
26860
27deeafc
UD
26861 [BZ #13166]
26862 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26863 buffer for the output is too small.
26864
aed9d171
UD
26865 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26866 optimization.
26867
db910efd
UD
26868 [BZ #13185]
26869 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26870 SSE flags if possible.
26871
2bd779ae
LD
268722011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26873
e7f9dac3 26874 [BZ #13540]
2bd779ae
LD
26875 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26876 processing for last bytes.
26877
154bfc16
JM
268782011-12-22 Joseph Myers <joseph@codesourcery.com>
26879
26880 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26881 (syscall-list-default-options, syscall-list-default-condition)
26882 (syscall-list-includes): Define.
26883 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26884 list of ABIs and options and #if conditions for each ABI. Do not
26885 handle common syscalls between ABIs specially.
26886 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26887 Remove.
26888 (syscall-list-variants, syscall-list-32bit-options)
26889 (syscall-list-32bit-condition, syscall-list-64bit-options)
26890 (syscall-list-64bit-condition): Define.
26891 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26892 (syscall-list-variants, syscall-list-32bit-options)
26893 (syscall-list-32bit-condition, syscall-list-64bit-options)
26894 (syscall-list-64bit-condition): Define.
26895 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26896 Remove.
26897 (syscall-list-variants, syscall-list-32bit-options)
26898 (syscall-list-32bit-condition, syscall-list-64bit-options)
26899 (syscall-list-64bit-condition): Define.
26900 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26901 Remove.
26902 (syscall-list-variants, syscall-list-32bit-options)
26903 (syscall-list-32bit-condition, syscall-list-64bit-options)
26904 (syscall-list-64bit-condition): Define.
26905
21eaf3a5
UD
269062011-12-22 Ulrich Drepper <drepper@gmail.com>
26907
16c6f992
UD
26908 * locale/iso-639.def: Add brx entry.
26909
41043168
UD
26910 [BZ #13328]
26911 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26912 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26913
21eaf3a5
UD
26914 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26915 __feraiseexcept_renamed.
26916
e3a851a2
UD
269172011-12-21 Ulrich Drepper <drepper@gmail.com>
26918
4920765e
UD
26919 [BZ #13538]
26920 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26921 EPOLLET with unsigned values.
26922 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26923 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26924
e3a851a2
UD
26925 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26926 to large cancellation.
26927 * math/s_cacoshf.c: Likewise.
26928 * math/s_cacoshl.c: Likewise.
26929
b27e24b8
RK
269302011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26931
26932 [BZ #13305]
aebefeee 26933 [BZ #12786]
b27e24b8
RK
26934 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26935 * math/s_cacoshf.c: Likewise.
26936 * math/s_cacoshl.c: Likewise.
26937
ee190f67
UD
269382011-12-21 Ulrich Drepper <drepper@gmail.com>
26939
26940 [BZ #13439]
26941 * iconv/gconv.h: Define __GCONV_SWAP.
26942 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26943 * iconvdata/utf-16.c: Likewise.
26944 * iconvdata/utf-32.c: Likewise.
26945
707f25df
AS
269462011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26947
26948 [BZ #13524]
26949 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26950 numerator after shifting it by one limb.
26951
d2daaa1e
RÁE
269522011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26953
26954 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26955 under [__USE_EXTERN_INLINES].
26956
a4647e72
UD
269572011-12-17 Ulrich Drepper <drepper@gmail.com>
26958
26959 [BZ #13446]
26960 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26961
f0b264f1
AZ
269622011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26963
26964 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26965 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26966 optimized code.
26967 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26968 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26969 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26970 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26971 for strncasecmp/strncasecmp_l compilation.
26972 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26973 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26974
8ef4f244
MP
269752011-12-08 Marek Polacek <mpolacek@redhat.com>
26976
26977 [BZ #13484]
26978 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26979 of __asm__.
26980
97ac2654
UD
269812011-12-17 Ulrich Drepper <drepper@gmail.com>
26982
26983 [BZ #13506]
26984 * time/tzfile.c (__tzfile_read): Check values from file header.
26985
91d2a845
WS
269862011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26987
26988 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26989 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26990 * powerpc/powerpc32/dl-start.S: Likewise.
26991 * powerpc/powerpc32/elf/start.S: Likewise.
26992 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26993 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26994 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26995 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26996 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26997 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26998 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26999 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27000 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27001 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27002 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27003 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27004 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27005 * powerpc/powerpc32/memset.S: Likewise.
27006 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27007 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27008 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27009 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27010 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27011 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27012 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27013 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27014 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27015 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27016 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27017 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27018 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27019
a1267ba1
AZ
270202011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27021
27022 * math/libm-test.inc: Added more nearbyint tests.
27023 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27024 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27025 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27026 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27027
ad8ac1bd
RL
270282011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27029
27030 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27031 FD_CLOEXEC.
27032
1d3e4b61
UD
270332011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27034
27035 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27036 Add wcscpy-ssse3 wcscpy-c.
27037 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27038 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27039 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27040 * sysdeps/x86_64/wcschr.S: New file.
27041 * sysdeps/x86_64/wcsrchr.S: New file.
27042 * string/test-strcmp.c: Remove checking of wcscmp function for
27043 wrong alignments.
27044 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27045 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27046 wcsrchr-sse2 wcsrchr-c.
27047 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27048 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27049 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27050 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27051 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27052 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27053 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27054 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27055 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27056 * wcsmbc/wcschr.c (WCSCHR): New macro.
27057
5b330a2d
UD
270582011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27059
27060 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27061 * wcsmbs/test-wcsrchr.c: New file.
27062 * string/test-strrchr.c: Add wcsrchr support.
27063 (WIDE): New macro.
27064 * wcsmbs/test-wcscpy.c: New file.
27065 * string/test-strcpy.c: Add wcscpy support.
27066 (WIDE): New macro.
26428b7c 27067
f039c043
UD
270682011-12-10 Ulrich Drepper <drepper@gmail.com>
27069
27070 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27071 the inner loop.
27072
850fb039
AS
270732011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27074
27075 [BZ #13472]
27076 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27077
4efbd5cb
UD
270782011-12-04 Ulrich Drepper <drepper@gmail.com>
27079
52ff5dd0 27080 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 27081 Minor optimizations.
52ff5dd0 27082
4efbd5cb
UD
27083 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27084 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27085 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27086
8a426e12
UD
270872011-12-03 Ulrich Drepper <drepper@gmail.com>
27088
aff2453d
UD
27089 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27090 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27091 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27092 for gcc to avoid warnings.
27093 * inet/Makefile (tests): Add tst-checks.
27094 * inet/tst-checks.c: New file.
27095
27096 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27097 warning.
27098
27099 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27100 __wmemcmp_sse2.
27101
27102 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27103 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27104
8a426e12
UD
27105 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27106
9bea3473
UD
271072011-12-02 Ulrich Drepper <drepper@gmail.com>
27108
3a965496
UD
27109 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27110 problem.
27111
9bea3473
UD
27112 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27113
f101631b
UD
271142011-11-29 Joseph Myers <joseph@codesourcery.com>
27115
27116 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27117 conditional on GCC version.
27118 (__arch_compare_and_exchange_val_8_acq)
27119 (__arch_compare_and_exchange_val_16_acq)
27120 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27121 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27122 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27123
a98275aa
UD
271242011-12-02 Joseph Myers <joseph@codesourcery.com>
27125
27126 * sysdeps/sh/backtrace.c: New file.
27127
d4cc29a2
AS
271282011-12-02 Andreas Schwab <schwab@redhat.com>
27129
27130 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27131 parenthesis.
27132
6257af2d
AS
271332011-12-01 Andreas Schwab <schwab@redhat.com>
27134
27135 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27136 falling back to utime.
27137
b5f44c1a
AS
271382011-11-30 Andreas Schwab <schwab@redhat.com>
27139
27140 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27141 expectations for float.
27142
f3a6cc0a
AS
271432011-11-29 Andreas Schwab <schwab@redhat.com>
27144
27145 * locale/weight.h (findidx): Add parameter len.
27146 * locale/weightwc.h (findidx): Likewise.
27147 * posix/fnmatch_loop.c (FCT): Adjust caller.
27148 * posix/regcomp.c (build_equiv_class): Likewise.
27149 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27150 * posix/regexec.c (check_node_accept_bytes): Likewise.
27151 * string/strcoll_l.c (STRCOLL): Likewise.
27152 * string/strxfrm_l.c (STRXFRM): Likewise.
27153
9d65ea3a
UD
271542011-11-17 Ulrich Drepper <drepper@gmail.com>
27155
27156 * Makefile.in: Remove CVSOPT handling.
27157 * configure.in: Remove use of AC_REVISION.
27158 * iconvdata/Makefile (distribute): No need to filter out CVS.
27159 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27160 handling.
27161
5583a086
AS
271622011-11-16 Andreas Schwab <schwab@redhat.com>
27163
27164 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27165 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27166 [USE_AS_STRNCASECMP_L]: Likewise.
27167 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27168 NO_TLS_DIRECT_SEG_REFS.
27169 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27170 Fix argument offsets for non-PIC.
27171 [USE_AS_STRNCASECMP_L]: Likewise.
27172 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27173 NO_TLS_DIRECT_SEG_REFS.
27174
d62a8200
UD
271752011-11-15 Ulrich Drepper <drepper@gmail.com>
27176
9d65ea3a 27177 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27178 O_CLOEXEC.
27179 * locale/loadlocale.c (_nl_load_locale): Likewise.
27180
09f93bd3
AS
271812011-11-15 Andreas Schwab <schwab@redhat.com>
27182
446514f9
AS
27183 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27184 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27185 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27186 (SYSCALL_GETTIME): Set errno on error.
27187
09f93bd3
AS
27188 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27189 count references to noai6ai_cached.
27190
312be3f9
UD
271912011-11-15 Ulrich Drepper <drepper@gmail.com>
27192
27193 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27194
27195 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27196 FD_CLOEXEC for /proc/self/maps.
27197
27198 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27199 FD_CLOEXEC for /proc/meminfo.
27200
27201 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27202 gai.conf.
27203
27204 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27205 FD_CLOEXEC for given file.
27206
27207 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27208
27209 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27210 FD_CLOEXEC for /etc/hosts.
27211 (_gethtent): Likewise.
27212
27213 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27214
27215 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27216 cancellation and set FD_CLOEXEC for /etc/netgroup.
27217
27218 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27219 reading /etc/publickey.
27220
27221 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27222 allow cancellation when reading /etc/group.
27223
27224 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27225 cancellation.
27226 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27227
27228 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27229 when using data file.
27230
27231 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27232
27233 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27234 (write_nis_obj): Use "c" and "e" in fopen.
27235
27236 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27237
27238 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27239
27240 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27241
27242 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27243
27244 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27245 locale.alias.
27246
27247 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27248
27249 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27250
27251 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27252
27253 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27254 file parsing and set FD_CLOEXEC.
27255
82af0fa8
UD
272562011-11-14 Ulrich Drepper <drepper@gmail.com>
27257
27258 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27259
a5fb313c
AS
272602011-11-14 Andreas Schwab <schwab@redhat.com>
27261
27262 * malloc/arena.c (arena_get2): Don't call reused_arena when
27263 _int_new_arena failed.
27264
6abf3465
UD
272652011-11-14 Ulrich Drepper <drepper@gmail.com>
27266
27267 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27268 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27269 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27270 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27271 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27272 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27273 to compile strcasecmp and strncasecmp.
27274 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27275 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27276
27277 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27278
76e3966e
UD
272792011-11-13 Ulrich Drepper <drepper@gmail.com>
27280
27281 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27282 locale-defines.sym to gen-as-const-headers.
27283 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27284 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27285 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27286 to compile strcasecmp and strncasecmp.
27287 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27288 strcasecmp_l and strncasecmp_l.
27289 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27290 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27291 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27292 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27293 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27294 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27295 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27296 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27297 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27298 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27299 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27300
ab26144e
UD
273012011-11-12 Ulrich Drepper <drepper@gmail.com>
27302
7edb22ef
UD
27303 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27304 result of SYSDEP_GETTIME_CPU to retval.
27305 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27306 parameter list to macro. Remove trailing semicolon. Adjust users.
27307
9694fc44
UD
27308 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27309 variable.
27310
8ad89ef8
UD
27311 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27312 mantissa words.
27313 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27314
0c822ef9
UD
27315 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27316 from unused variable.
27317
874e0564
UD
27318 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27319 DWARF definitions.
27320 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27321 for assembling.
27322
3a2edc79
UD
27323 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27324 over namespaces.
27325
f3c2577f
UD
27326 * sunrpc/rpc_prot.c (rejected): Fix case value.
27327
294ce126
UD
27328 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27329 unsigned long long int to avoid warnings in shift.
27330
5e2b63c6
UD
27331 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27332 of use of trans.
27333 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27334 variable tmp.
27335
e7f4b08e
UD
27336 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27337 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27338 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27339
ab26144e
UD
27340 * nis/nis_table.c (nis_list): Use variable of correct type for
27341 result of __follow_path call.
27342
8a6d5255
AZ
273432011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27344
27345 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27346 of math functions ceil, trunc, floor, round, and sqrt, when
27347 avaliable on the platform.
27348 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27349 name clash.
27350 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27351 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27352 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27353
aaddc98c
MP
273542011-10-30 Marek Polacek <mpolacek@redhat.com>
27355
27356 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27357 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27358
95b7042b
RM
273592011-11-11 Roland McGrath <roland@hack.frob.com>
27360
27361 * include/unistd.h: Fix __readlink return type.
27362 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27363
57769839
UD
273642011-11-11 Ulrich Drepper <drepper@gmail.com>
27365
27366 * stdlib/ucontext.h: Undo last change for makecontext.
27367
edc5984d
AS
273682011-11-11 Andreas Schwab <schwab@redhat.com>
27369
98591e58
AS
27370 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27371
edc5984d
AS
27372 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27373 * setjmp/setjmp.h: Mark functions as non-leaf.
27374 * setjmp/bits/setjmp2.h: Likewise.
27375 * stdlib/ucontext.h: Likewise.
27376
77cdc054
AS
273772011-11-10 Andreas Schwab <schwab@redhat.com>
27378
27379 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27380 (reused_arena): Don't check arena limit.
27381 (arena_get2): Atomically check arena limit.
27382
fe72eebd
UD
273832011-11-08 Ulrich Drepper <drepper@gmail.com>
27384
5f078c32
UD
27385 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27386 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27387
fe72eebd
UD
27388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27389 instructions.
27390
ae1bc2fa
AS
273912011-11-07 Andreas Schwab <schwab@redhat.com>
27392
7583a88d
AS
27393 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27394 handler when locking.
27395
ae1bc2fa
AS
27396 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27397 Fix size of allocated buffer.
27398
10fb0bfa
AS
273992011-11-04 Andreas Schwab <schwab@redhat.com>
27400
998832a4
AS
27401 [BZ #10103]
27402 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27403 declarations for long double functions.
27404 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27405
10fb0bfa
AS
27406 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27407
3d7ba52b
AS
274082011-11-03 Andreas Schwab <schwab@redhat.com>
27409
a9ae54a1
AS
27410 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27411 installed.
27412
3d7ba52b
AS
27413 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27414 is disabled.
27415
bc8db248
ST
274162011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27417
27418 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27419
45b96dd6
AS
274202011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27421
647776f6
AS
27422 * include/alloca.h (stackinfo_alloca_round): Define.
27423 (extend_alloca): Use it.
27424 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27425 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27426 here.
27427
d91a8b93
AS
27428 * scripts/check-local-headers.sh: Ignore libaudit.h.
27429
45b96dd6
AS
27430 * nscd/Makefile (extra-objs): Make recursively expanded.
27431
432d41ce
UD
274322011-11-01 Ulrich Drepper <drepper@gmail.com>
27433
34372fc6
UD
27434 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27435 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27436
fadb59f8
UD
27437 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27438 * posix/tst-rfc3484-2.c: Likewise.
27439 * posix/tst-rfc3484-3.c: Likewise.
27440
78239589
UD
27441 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27442 process_vm_writev.
27443 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27444 process_vm_writev.
27445 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27446 process_vm_writev from libc using GLIBC_2.15 version.
27447
432d41ce
UD
27448 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27449
02f9c6cf
PP
274502011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27451
27452 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27453 stack usage.
27454
3a2c0242
UD
274552011-10-31 Ulrich Drepper <drepper@gmail.com>
27456
f4ec4833
UD
27457 [BZ #13367]
27458 * nss/getent.c (initgroups_keys): Show error message in case no group
27459 names are given.
27460
3a2c0242
UD
27461 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27462 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27463 __bump_nl_timestamp.
27464 * nscd/connections (nscd_init): When host database is served open
27465 netlink socket and request notification about configuration changes.
27466 (main_loop_poll): Track netlink file descriptor and bump timestamp
27467 in case data becomes available.
27468 (main_loop_epoll): Likewise.
27469 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27470 (database_pers_head): Add extra_data fileds.
27471 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27472 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27473 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27474 Adjust caller.
27475 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27476 in6ai data, call __free_in6ai.
27477 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27478 Add -DHAVE_NETLINK.
27479 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27480 interface information. Reuse previous data if netlink timestamp
27481 is not changed.
27482 (__bump_nl_timestamp): New function.
27483 (__free_in6ai): New function.
27484
636064eb
UD
274852011-10-30 Ulrich Drepper <drepper@gmail.com>
27486
27487 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27488 close_not_cancel_no_status here.
27489 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27490
9beb2334
UD
274912011-10-29 Ulrich Drepper <drepper@gmail.com>
27492
6ef76f3b
UD
27493 [BZ #13276]
27494 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27495 return value.
27496
0ffc4f3e 27497 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27498 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27499 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27500
cb95113e
UD
275012011-07-03 Andreas Jaeger <aj@suse.de>
27502
27503 [BZ #10709]
27504 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27505 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27506 * math/libm-test.inc (sin_test): Add test case.
27507
a1b560ff
UD
275082011-10-29 Ulrich Drepper <drepper@gmail.com>
27509
c9aaface
UD
27510 [BZ #13337]
27511 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27512 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27513
d272e7f1
UD
27514 * elf/chroot_canon.c (chroot_canon): Cleanups.
27515
1bc33071
UD
27516 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27517
1760874d
TJ
27518 [BZ #13335]
27519 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27520 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27521
51d91b18
UD
27522 * string/test-strchr.c: Make usable for strchrnul testing.
27523 * string/test-strchrnul.c: New file.
27524 * string/Makefile (strop-tests): Add strchrnul.
27525
a1b560ff 27526 * po/it.po: Update from translation team.
b611fb81 27527 * po/es.po: Likewise.
a1b560ff 27528
a5b81e1f
UD
275292011-10-28 Ulrich Drepper <drepper@gmail.com>
27530
fd52bc6d
UD
27531 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27532 the three constants needed as parameters. Drop the others.
27533 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27534 __m128i_strloadu_tolower.
52e4b9eb
UD
27535 Create and initialize variable zero and use it in all the places
27536 where _mm_setzero_si128 was used.
fd52bc6d 27537
a5b81e1f
UD
27538 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27539 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27540 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27541 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27542 anymore.
27543 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27544 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27545 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27546 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27547 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27548 __mpranred, __mptan.
27549 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27550 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27551 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27552 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27553 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27554 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27555 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27556 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27557 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27558
b4343346
AS
275592011-10-28 Andreas Schwab <schwab@redhat.com>
27560
0c92d8a8
AS
27561 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27562 redefine if SHARED.
27563 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27564
b4343346
AS
27565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27566 wide char related routines to wcsmbs subdir.
27567
3871f58f
AS
275682011-10-27 Andreas Schwab <schwab@redhat.com>
27569
27570 [BZ #13344]
27571 * misc/sys/cdefs.h (__THROWNL): Define.
27572 * posix/unistd.h: Use __THREADNL instead of __THREAD
27573 for memory synchronization functions.
27574
94d44d9f
RM
275752011-10-26 Roland McGrath <roland@hack.frob.com>
27576
21b64b15 27577 [BZ #13349]
94d44d9f
RM
27578 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27579 doesn't exist.
27580 * manual/stdio.texi (Obstack Streams): Node removed.
27581
f6ce9294
AS
275822011-10-26 Andreas Schwab <schwab@redhat.com>
27583
80479147
AS
27584 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27585 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27586 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27587
f6ce9294
AS
27588 * math/math_private.h (math_force_eval): Allow non-addressable
27589 arguments.
27590 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27591
618280a1
UD
275922011-10-25 Ulrich Drepper <drepper@gmail.com>
27593
e0016b11
UD
27594 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27595 file is not needed.
27596
27597 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27598 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27599 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27600 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27601 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27602 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27603 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27604 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27605 Add AVX variants.
27606 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27607 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27608 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27609 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27610 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27611 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27612 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27613 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27614 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27615 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27616 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27617 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27618 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27619 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27620 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27621 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27622 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27623 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27624 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27625
27626 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27627 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27628
618280a1
UD
27629 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27630 place. Use VEX encoding when compiling for AVX.
27631
37822576
AS
276322011-10-25 Andreas Schwab <schwab@redhat.com>
27633
1f1e1947
AS
27634 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27635 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27636
37822576
AS
27637 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27638
31ea014d
UD
276392011-10-25 Ulrich Drepper <drepper@gmail.com>
27640
d7826aa1 27641 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27642 useless if() expression.
d7826aa1
UD
27643 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27644 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27645 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27646 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27647 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27648 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27649 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27650 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27651 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27652 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27653 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27654 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27655 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27656 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27657 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27658 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27659 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27660 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27661 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27662
31ea014d
UD
27663 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27664
16437fec
AS
276652011-10-25 Andreas Schwab <schwab@redhat.com>
27666
27667 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27668 condition.
27669 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27670
31d3cc00
UD
276712011-10-25 Ulrich Drepper <drepper@gmail.com>
27672
27673 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27674 .text section. Avoid duplicate constants.
27675 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27676 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27677 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27678 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27679 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27680 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27681 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27682 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27683 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27684 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27685 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27686 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27687 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27688 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27689 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27690 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27691 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27692 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27693 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27694 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27695 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27696 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27697 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27698 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27699 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27700 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27701 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27702 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27703 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27704 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27705 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27706 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27707 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27708 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27709 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27710 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27711 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27712 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27713 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27714 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27715 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27716 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27717 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27718 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27719 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27720
58985aa9
UD
277212011-10-24 Ulrich Drepper <drepper@gmail.com>
27722
202c9deb
UD
27723 * sysdeps/x86_64/dla.h: Move to ...
27724 * sysdeps/x86_64/fpu/dla.h: ...here.
27725 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27726 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27727
af968f62
UD
27728 * config.make.in: Add have-mfma4 entry.
27729 * configure.in: Substitute libc_cv_cc_fma4.
27730 * math/Makefile (dbl-only-routines): Add sincostab.
27731 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27732 Use __sincostab not sincos.
27733 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27734 name is a macro.
27735 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27736 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27737 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27738 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27739 using __copysign.
27740 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27741 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27742 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27743 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27744 and __inv.
27745 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27746 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27747 __copysign.
27748 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27749 define aliases when function name is a macro.
27750 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27751 sysdeps/ieee754/dbl-64/sincos.tbl.
27752 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27753 fma4-enabled routines.
27754 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27755 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27756 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27757 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27758 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27759 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27760 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27761 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27762 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27763 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27764 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27765 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27766 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27767 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27768 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27769 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27770 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27771 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27772 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27773 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27774 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27775 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27776 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27777 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27778 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27779 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27780 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27781 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27782 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27783 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27784
58985aa9
UD
27785 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27786 rename.
27787 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27788 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27790 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27791 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27792 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27793 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27794 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27795
a201fbcf
AS
277962011-10-24 Andreas Schwab <schwab@redhat.com>
27797
27798 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27799
fc2ee42a
LD
278002011-10-23 Ulrich Drepper <drepper@gmail.com>
27801
bb3129bd
UD
27802 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27803
0275fff8
UD
27804 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27805 prediction.
27806 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27807
2fa2ae85
UD
27808 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27809 Remove unused variable magic_bits.
27810 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27811
fc2ee42a
LD
27812 * string/strnlen.c: Define and use STRNLEN macro.
27813 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27814 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27815 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27816 * wcsmbs/wcslen.c: Define and use WCSLEN.
27817 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27818 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27819 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27820 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27821 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27822 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27823 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27824
ce7dd29f
LD
278252011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27826
27827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27828 strnlen-sse2-no-bsf.
27829 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27830 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27831 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27832 Add strnlen support.
27833 (USE_AS_STRNLEN): New macro.
27834 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27835 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27836 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27837 * sysdeps/x86_64/wcslen.S: New file.
27838
979c70a3
MZ
278392011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27840
27841 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27842 XMM-moves are used for copying on small sizes.
27843
2d09f82f
LD
278442011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27845
27846 * wcsmbs/Makefile (strop-tests): Add wcschr.
27847 * wcsmbs/test-wcschr.c: New file.
27848 * string/test-strchr.c: Update.
27849 Add wcschr support.
27850 (WIDE): New macro.
27851
619fccca
LD
278522011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27853
2d09f82f 27854 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27855 * wcsmbs/test-wcslen.c: New file.
27856 * string/test-strlen.c: Update.
27857 Add wcslen support.
27858 (WIDE): New macro.
27859
09f699ea
UD
278602011-10-23 Ulrich Drepper <drepper@gmail.com>
27861
27862 * po/it.po: Update from translation team.
27863
95584d3b
LD
278642011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27865
27866 * sysdeps/x86_64/wcscmp.S: Update.
27867 Fix wrong comparison semantics.
27868 wcscmp shall use signed comparison not unsigned.
27869 Don't use substraction to avoid overflow bug.
27870 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27871 * wcsmbc/wcscmp.c: Likewise.
27872 * string/test-strcmp.c: Likewise.
27873 Add new tests to check cases with negative values.
27874
c8b3296b
UD
278752011-10-23 Ulrich Drepper <drepper@gmail.com>
27876
27877 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27878 * sysdeps/x86_64/dla.h: ...here. New file.
27879 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27880 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27881 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27882 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27883 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27884 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27885 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27886 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27887 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27888
246ad57a
AS
278892011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27890
27891 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27892 __ynl_finite aliases.
27893
a1a87169
UD
278942011-10-22 Ulrich Drepper <drepper@gmail.com>
27895
0d355eb7
UD
27896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27897
a1a87169
UD
27898 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27899 define DLA_FMA.
27900 [DLA_FMA] (EMULV): Use DLA_FMA.
27901 [DLA_FMA] (MUL12): Use EMULV.
27902 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27903 that are not needed.
27904 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27905 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27906 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27907 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27908 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27909 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27910 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27911
ee2aafe0
AS
279122011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27913
27914 * math/s_nan.c: Undef __nan.
27915 * math/s_nanf.c: Undef __nanf.
27916 * math/s_nanl.c: Undef __nanl.
27917 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27918 "math_private.h".
27919
bc62c2fb
UD
279202011-10-22 Ulrich Drepper <drepper@gmail.com>
27921
77425c63
UD
27922 * math/s_catan.c: Add branch predictions.
27923 * math/s_catanf.c: Likewise.
27924 * math/s_catanh.c: Likewise.
27925 * math/s_catanhf.c: Likewise.
27926 * math/s_catanhl.c: Likewise.
27927 * math/s_catanl.c: Likewise.
27928 * math/s_cexp.c: Likewise.
27929 * math/s_cexpf.c: Likewise.
27930 * math/s_cexpl.c: Likewise.
27931 * math/s_clog.c: Likewise.
27932 * math/s_clog10.c: Likewise.
27933 * math/s_clog10f.c: Likewise.
27934 * math/s_clog10l.c: Likewise.
27935 * math/s_clogf.c: Likewise.
27936 * math/s_clogl.c: Likewise.
27937 * math/s_csqrt.c: Likewise.
27938 * math/s_csqrtf.c: Likewise.
27939 * math/s_csqrtl.c: Likewise.
27940 * math/s_ctanf.c: Likewise.
27941 * math/s_ctanh.c: Likewise.
27942 * math/s_ctanhf.c: Likewise.
27943 * math/s_ctanhl.c: Likewise.
27944 * math/s_ctanl.c: Likewise.
27945
bc62c2fb
UD
27946 * math/math_private.h: Define __nan, __nanf, __nanl.
27947 * math/s_cacosh.c: Include <math_private.h>.
27948 * math/s_cacoshl.c: Likewise.
27949 * math/s_casinh.c: Likewise.
27950 * math/s_casinhf.c: Likewise.
27951 * math/s_casinhl.c: Likewise.
27952 * math/s_ccos.c: Rely entire on ccosh.
27953 * math/s_ccosf.c: Rely entire on ccoshf.
27954 * math/s_ccosl.c: Rely entirely on ccoshl.
27955 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27956 Remove tests for FE_INVALID.
27957 * math/s_ccoshf.c: Likewise.
27958 * math/s_ccoshl.c: Likewise.
27959 * math/s_csin.c: Likewise.
27960 * math/s_csinf.c: Likewise.
27961 * math/s_csinh.c Likewise.
27962 * math/s_csinhf.c: Likewise.
27963 * math/s_csinhl.c: Likewise.
27964 * math/s_csinl.c: Likewise.
27965 * math/s_ctan.c: Likewise.
27966 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27967 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27968 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27969
8ec250a4
UD
279702011-10-21 Ulrich Drepper <drepper@gmail.com>
27971
c196fed8
UD
27972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27973 compilation problems.
27974
8ec250a4
UD
27975 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27976 __builtin_expect.
27977
8d4f46c6
UD
279782011-10-20 Ulrich Drepper <drepper@gmail.com>
27979
ed72b654
UD
27980 * sysdeps/i386/configure.in: Test for -mfma4 option.
27981 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27982 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27983 COMMON_CPUID_INDEX_80000001.
27984 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27985 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27986 use it if FMA3 is not supported.
27987 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27988
8d4f46c6
UD
27989 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27990 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27991
d45c60c2
AS
279922011-10-20 Andreas Schwab <schwab@redhat.com>
27993
27994 [BZ #12892]
27995 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27996 it would create a cycle with a link time dependency.
27997
d9a4d2ab
UD
279982011-10-19 Ulrich Drepper <drepper@gmail.com>
27999
855d1560
UD
28000 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28001 instruction.
28002 * string/Makefile (strop-tests): Add rawmemchr.
28003 * string/test-rawmemchr.c: New file.
28004
d9a4d2ab
UD
28005 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28006 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28007 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28008 when compiling str{,n}casecmp and when AVX is available. Hook up
28009 new optimized code in initializers.
28010
8f3b1ffe
AS
280112011-10-19 Andreas Schwab <schwab@redhat.com>
28012
28013 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28014 __feraiseexcept instead of feraiseexcept.
28015
d38f1dba
UD
280162011-10-18 Ulrich Drepper <drepper@gmail.com>
28017
d9a8d0ab
UD
28018 * math/math_private.h: Define defaults for libc_fetestexcept and
28019 libc_feupdateenv.
28020 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28021 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28022 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28023 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28024 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28025 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28026 libc_fetestexcept and libc_feupdateenv.
28027
4855e3dd
UD
28028 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28029 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28030 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28031 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28032 libc_feholdexcept_setround.
28033
581d30e3
UD
28034 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28035 Add s_nearbyint-c and s_nearbyintf-c.
28036 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28037 nearbyintf inlines.
28038 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28039 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28040 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28041 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28042
d38f1dba
UD
28043 * math/math_private.h: Define defaults for libc_fegetround,
28044 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28045 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28046 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28047 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28048 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28049 standard functions.
28050 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28051 Remove comments and hacks for old compiler versions.
28052 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28053 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28054 libc_feholdexceptl.
28055
caa6c9d8
AS
280562011-10-18 Andreas Schwab <schwab@redhat.com>
28057
28058 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
28059 (__feraiseexcept_renamed): Add __NTH.
28060 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
28061 namespace violations.
28062
97c066e6
UD
280632011-10-17 Ulrich Drepper <drepper@gmail.com>
28064
99ce7b04
UD
28065 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28066
1004d182
UD
28067 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28068
228a984d
UD
28069 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28070 recently added interfaces.
28071 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28072
c8553a6a
UD
28073 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28074 about macro parameter expansion.
28075
ed22dcf6
UD
28076 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28077 __NO_MATH_INLINES is defined. Cleanups.
28078
28079 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28080 and __floorf is target has SSE4.1.
28081 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28082 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28083 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28084 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28085
b171c137
UD
28086 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28087 name.
28088 (floorf): Likewise.
28089
97c066e6
UD
28090 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28091
629f62ef
AS
280922011-10-17 Andreas Schwab <schwab@redhat.com>
28093
49a43d80
AS
28094 * misc/sys/cdefs.h: Fix last change.
28095
629f62ef
AS
28096 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28097 database lookup.
28098
e453f6cd
UD
280992011-10-16 Ulrich Drepper <drepper@gmail.com>
28100
aa78043a
UD
28101 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28102
ad0f5cad
UD
28103 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28104 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28105 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28106 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28107 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28108 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28109 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28110 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28111 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28112 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28113 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28114 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28115 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28116 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28117 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28118 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28119 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28120 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28121 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28122 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28123 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28124 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28125
28126 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28127 ceil, ceilf, floor, floorf.
28128
28129 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28130 Perform IRELATIVE relocations last.
28131
e453f6cd
UD
28132 * elf/do-rel.h: Add another parameter nrelative, replacing the
28133 local variable with the same name. Change name of the function
28134 to end in Rel or Rela (uppercase).
28135 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28136 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28137 elf_dynamic_do_##reloc function.
28138
fd5bdc09
UD
281392011-10-15 Ulrich Drepper <drepper@gmail.com>
28140
79b195b5
UD
28141 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28142 is sufficient, at least on modern CPUs.
28143
d4a28569
UD
28144 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28145
b61099b5
UD
28146 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28147 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28148
bcf01e6d
UD
28149 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28150 __expl_finite.
28151 * math/bits/math-finite.h: Add entries for exp.
28152 * math/e_expl.c: Add __*_finite alias.
28153 * sysdeps/i386/fpu/e_exp.S: Likewise.
28154 * sysdeps/i386/fpu/e_expf.S: Likewise.
28155 * sysdeps/i386/fpu/e_expl.c: Likewise.
28156 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28157 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28158 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28159 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28160 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28161 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28162 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28163
ba1a0d59
UD
28164 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28165 is sufficient, at least on modern CPUs.
28166
fd5bdc09
UD
28167 * ctype/ctype-info.c (__ctype_init): Define.
28168 * include/ctype.h (__ctype_init): Declare.
28169 (__ctype_b_loc): The variable is always initialized.
28170 (__ctype_toupper_loc): Likewise.
28171 (__ctype_tolower_loc): Likewise.
28172 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28173 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28174
7872cfb0
AS
281752011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28176
b468825a
AS
28177 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28178
7872cfb0
AS
28179 * configure.in: Also look in $cxxmachine/include for C++ system
28180 headers.
28181
be13f7bf
LD
281822011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28183
28184 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28185 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28186 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28187 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28188 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28189 (USE_AS_WMEMCMP): New macro.
28190 Fixing indents.
28191 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28192 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28193 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28194 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28196 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28197 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28198 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28199 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28200 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28201 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28202 (USE_AS_WMEMCMP): New macro.
28203 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28204 * sysdeps/string/test-memcmp.c: Update.
28205 Fix simple_wmemcmp.
28206 Add new tests.
28207 * wcsmbs/wmemcmp.c: Update.
28208 (WMEMCMP): New macro.
28209 Fix overflow bug.
28210
556a2007
AJ
282112011-10-12 Andreas Jaeger <aj@suse.de>
28212
28213 [BZ #13268]
28214 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28215
538faaa7
UD
282162011-10-15 Ulrich Drepper <drepper@gmail.com>
28217
ab6737ff
UD
28218 * libio/iofwide.c (do_length): Avoid warning.
28219
538faaa7
UD
28220 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28221
396a21b1
UD
282222011-10-14 Ulrich Drepper <drepper@gmail.com>
28223
cdf2901f
UD
28224 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28225
38ad40ce
UD
28226 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28227 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28228 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28229 * sysdeps/i386/i686/fpu/e_log.S: New file.
28230 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28231 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28232
396a21b1
UD
28233 * ctype/ctype.h: Add support for inlined isXXX functions when
28234 compiling C++ code.
28235
6b1f68c9
AS
282362011-10-14 Andreas Schwab <schwab@redhat.com>
28237
349290c0
AS
28238 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28239
6b1f68c9
AS
28240 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28241
f2282d42
RM
282422011-10-13 Roland McGrath <roland@hack.frob.com>
28243
28244 [BZ #13291]
28245 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28246
5298ffa8
AS
282472011-10-13 Andreas Schwab <schwab@redhat.com>
28248
714fad23
AS
28249 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28250 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28251 feraiseexcept.
28252
81dcc7fb
AS
28253 * sysdeps/x86_64/memrchr.S: Check for zero size.
28254
5298ffa8
AS
28255 * string/stratcliff.c: Add memrchr tests.
28256
951fbcec
LD
282572011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28258
28259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28260 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28261 rawmemchr-sse2 rawmemchr-sse2-bsf.
28262 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28263 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28264 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28265 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28266 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28267 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28268 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28269 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28270 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28271 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28272 * string/memrchr.c (MEMRCHR): New macro.
28273
0ac5ae23
UD
282742011-10-12 Ulrich Drepper <drepper@gmail.com>
28275
28276 Add integration with gcc's -ffinite-math-only and optimize wrapper
28277 functions in libm.
28278 * Versions.def: Define GLIBC_2.15 version for libm.
28279 * math/Makefile (headers): Add bits/math-finite.h.
28280 * math/bits/math-finite.h: New file.
28281 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28282 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28283 * math/e_acoshl.c: Add __*_finite alias.
28284 * math/e_acosl.c: Likewise.
28285 * math/e_asinl.c: Likewise.
28286 * math/e_atan2l.c: Likewise.
28287 * math/e_atanhl.c: Likewise.
28288 * math/e_coshl.c: Likewise.
28289 * math/e_exp10.c: Likewise.
28290 * math/e_exp10f.c: Likewise.
28291 * math/e_exp10l.c: Likewise.
28292 * math/e_exp2l.c: Likewise.
28293 * math/e_fmodl.c: Likewise.
28294 * math/e_gammal_r.c: Likewise.
28295 * math/e_hypotl.c: Likewise.
28296 * math/e_j0l.c: Likewise.
28297 * math/e_j1l.c: Likewise.
28298 * math/e_jnl.c: Likewise.
28299 * math/e_lgammal_r.c: Likewise.
28300 * math/e_log10l.c: Likewise.
28301 * math/e_log2l.c: Likewise.
28302 * math/e_logl.c: Likewise.
28303 * math/e_powl.c: Likewise.
28304 * math/e_sinhl.c: Likewise.
28305 * math/e_sqrtl.c: Likewise.
28306 * math/e_scalb.c: Completely rewritten and optimized.
28307 * math/e_scalbf.c: Likewise.
28308 * math/e_scalbl.c: Likewise.
28309 * math/w_acos.c: Likewise.
28310 * math/w_acosf.c: Likewise.
28311 * math/w_acosl.c: Likewise.
28312 * math/w_acosh.c: Likewise.
28313 * math/w_acoshf.c: Likewise.
28314 * math/w_acoshl.c: Likewise.
28315 * math/w_asin.c: Likewise.
28316 * math/w_asinf.c: Likewise.
28317 * math/w_asinl.c: Likewise.
28318 * math/w_atan2.c: Likewise.
28319 * math/w_atan2f.c: Likewise.
28320 * math/w_atan2l.c: Likewise.
28321 * math/w_atanh.c: Likewise.
28322 * math/w_atanhf.c: Likewise.
28323 * math/w_atanhl.c: Likewise.
28324 * math/w_exp10.c: Likewise.
28325 * math/w_exp10f.c: Likewise.
28326 * math/w_exp10l.c: Likewise.
28327 * math/w_fmod.c: Likewise.
28328 * math/w_fmodf.c: Likewise.
28329 * math/w_fmodl.c: Likewise.
28330 * math/w_j0.c: Likewise.
28331 * math/w_j0f.c: Likewise.
28332 * math/w_j0l.c: Likewise.
28333 * math/w_j1.c: Likewise.
28334 * math/w_j1f.c: Likewise.
28335 * math/w_j1l.c: Likewise.
28336 * math/w_jn.c: Likewise.
28337 * math/w_jnf.c: Likewise.
28338 * math/w_log.c: Likewise.
28339 * math/w_logf.c: Likewise.
28340 * math/w_logl.c: Likewise.
28341 * math/w_log10.c: Likewise.
28342 * math/w_log10f.c: Likewise.
28343 * math/w_log10l.c: Likewise.
28344 * math/w_log2.c: Likewise.
28345 * math/w_log2f.c: Likewise.
28346 * math/w_log2l.c: Likewise.
28347 * math/w_pow.c: Likewise.
28348 * math/w_powf.c: Likewise.
28349 * math/w_powl.c: Likewise.
28350 * math/w_remainder.c: Likewise.
28351 * math/w_remainderf.c: Likewise.
28352 * math/w_remainderl.c: Likewise.
28353 * math/w_scalb.c: Likewise.
28354 * math/w_scalbf.c: Likewise.
28355 * math/w_scalbl.c: Likewise.
28356 * math/w_sqrt.c: Likewise.
28357 * math/w_sqrtf.c: Likewise.
28358 * math/w_sqrtl.c: Likewise.
28359 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28360 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28361 used.
28362 * math/math_private.h: Declare __kernel_standard_f.
28363 * math/w_cosh.c: Remove cruft and optimize a bit.
28364 * math/w_coshf.c: Likewise.
28365 * math/w_coshl.c: Likewise.
28366 * math/w_exp2.c: Likewise.
28367 * math/w_exp2f.c: Likewise.
28368 * math/w_exp2l.c: Likewise.
28369 * math/w_hypot.c: Likewise.
28370 * math/w_hypotf.c: Likewise.
28371 * math/w_hypotl.c: Likewise.
28372 * math/w_lgamma.c: Likewise.
28373 * math/w_lgamma_r.c: Likewise.
28374 * math/w_lgammaf.c: Likewise.
28375 * math/w_lgammaf_r.c: Likewise.
28376 * math/w_lgammal.c: Likewise.
28377 * math/w_lgammal_r.c: Likewise.
28378 * math/w_sinh.c: Likewise.
28379 * math/w_sinhf.c: Likewise.
28380 * math/w_sinhl.c: Likewise.
28381 * math/w_tgamma.c: Likewise.
28382 * math/w_tgammaf.c: Likewise.
28383 * math/w_tgammal.c: Likewise.
28384 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28385 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28386 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28387 Minor optimizations. Pretty printing. Remove cruft.
28388 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28389 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28390 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28391 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28392 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28393 * sysdeps/i386/fpu/e_asin.S: Likewise.
28394 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28395 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28396 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28397 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28398 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28399 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28400 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28401 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28402 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28403 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28404 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28405 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28406 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28407 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28408 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28409 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28410 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28411 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28412 * sysdeps/i386/fpu/e_log.S: Likewise.
28413 * sysdeps/i386/fpu/e_log10.S: Likewise.
28414 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28415 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28416 * sysdeps/i386/fpu/e_log2.S: Likewise.
28417 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28418 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28419 * sysdeps/i386/fpu/e_logf.S: Likewise.
28420 * sysdeps/i386/fpu/e_logl.S: Likewise.
28421 * sysdeps/i386/fpu/e_pow.S: Likewise.
28422 * sysdeps/i386/fpu/e_powf.S: Likewise.
28423 * sysdeps/i386/fpu/e_powl.S: Likewise.
28424 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28425 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28426 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28427 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28428 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28429 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28430 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28431 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28432 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28433 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28434 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28435 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28436 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28437 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28438 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28439 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28440 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28441 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28442 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28443 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28444 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28445 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28446 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28447 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28448 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28449 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28450 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28451 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28452 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28453 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28454 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28455 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28456 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28457 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28458 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28459 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28460 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28461 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28462 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28463 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28464 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28465 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28466 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28467 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28468 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28469 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28470 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28471 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28472 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28473 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28474 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28475 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28476 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28477 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28478 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28479 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28480 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28481 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28482 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28483 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28484 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28485 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28486 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28487 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28488 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28489 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28490 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28491 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28492 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28493 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28494 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28495 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28496 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28497 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28498 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28499 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28500 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28501 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28502 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28503 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28504 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28505 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28506 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28507 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28508 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28509 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28510 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28511 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28512 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28513 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28514 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28515 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28516 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28517 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28518 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28519 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28520 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28521 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28522 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28523 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28524 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28525 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28526 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28527 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28528 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28529 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28530 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28531 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28532 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28533 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28534 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28535 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28536 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28537 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28538 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28539 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28540 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28541 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28542 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28543 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28544 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28545 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28546 (__isnanf): Likewise.
28547 (__isinf_ns): Likewise.
28548 (__isinf_nsf): Likewise.
28549 (__finite): Likewise.
28550 (__finitef): Likewise.
28551 (__ieee754_sqrt): Define as macro.
28552 (__ieee754_sqrtf): Define as macro.
28553 (__ieee754_sqrtl): Define as macro.
28554 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28555 inlined copy.
28556 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28557 __FINITE_MATH_ONLY__ consistent.
28558 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28559
12cc2fcd
AS
285602011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28561
a843a204
AS
28562 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28563 of rawmemchr.
28564
12cc2fcd
AS
28565 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28566
c853acd5
UD
285672011-10-09 Ulrich Drepper <drepper@gmail.com>
28568
28569 * po/ja.po: Update from translation team.
28570
c658d255
RM
285712011-10-08 Roland McGrath <roland@hack.frob.com>
28572
110946e4
RM
28573 * locale/programs/locarchive.c (prepare_address_space): New function.
28574 (create_archive, enlarge_archive, open_archive): Use it.
28575
50604220
RM
28576 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28577 inside [SHARED], where it is used.
28578
c658d255
RM
28579 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28580
28581 * nss/getent.c (netgroup_keys): Remove unused variable.
28582 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28583
6a621eb7
UD
285842011-10-08 Ulrich Drepper <drepper@gmail.com>
28585
7edb55ce
UD
28586 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28587 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28588 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28589 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28590 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28591 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28592 * math/Makefile (libm-calls): Add s_isinf_ns.
28593 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28594 * math/multc3.c: Likewise.
28595 * math/s_casin.c: Likewise.
28596 * math/s_casinf.c: Likewise.
28597 * math/s_casinl.c: Likewise.
28598 * math/s_ccos.c: Likewise.
28599 * math/s_ccosf.c: Likewise.
28600 * math/s_ccosl.c: Likewise.
28601 * math/s_ctan.c: Likewise.
28602 * math/s_ctanf.c: Likewise.
28603 * math/s_ctanh.c: Likewise.
28604 * math/s_ctanhf.c: Likewise.
28605 * math/s_ctanhl.c: Likewise.
28606 * math/s_ctanl.c: Likewise.
28607 * math/w_fmod.c: Likewise.
28608 * math/w_fmodf.c: Likewise.
28609 * math/w_fmodl.c: Likewise.
28610 * math/w_remainder.c: Likewise.
28611 * math/w_remainderf.c: Likewise.
28612 * math/w_remainderl.c: Likewise.
28613 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28614 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28615 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28616 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28617 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28618 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28619 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28620 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28621
187da0ae
UD
28622 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28623 of the number.
28624 * stdio-common/printf_fphex.c: Likewise.
28625 * stdio-common/printf_size.c: Likewise.
28626
9277c064
UD
28627 * math/e_exp10.c: Include math_private.h using <...> not "...".
28628 * math/e_exp10f.c: Likewise.
28629 * math/e_exp10l.c: Likewise.
28630 * math/e_exp2l.c: Likewise.
28631 * math/e_j0l.c: Likewise.
28632 * math/e_j1l.c: Likewise.
28633 * math/e_jnl.c: Likewise.
28634 * math/e_lgammal_r.c: Likewise.
28635 * math/e_rem_pio2l.c: Likewise.
28636 * math/e_scalb.c: Likewise.
28637 * math/e_scalbf.c: Likewise.
28638 * math/e_scalbl.c: Likewise.
28639 * math/k_cosl.c: Likewise.
28640 * math/k_sinl.c: Likewise.
28641 * math/k_tanl.c: Likewise.
28642 * math/s_cacoshf.c: Likewise.
28643 * math/s_catan.c: Likewise.
28644 * math/s_catanf.c: Likewise.
28645 * math/s_catanh.c: Likewise.
28646 * math/s_catanhf.c: Likewise.
28647 * math/s_catanhl.c: Likewise.
28648 * math/s_catanl.c: Likewise.
28649 * math/s_ccosh.c: Likewise.
28650 * math/s_ccoshf.c: Likewise.
28651 * math/s_ccoshl.c: Likewise.
28652 * math/s_cexp.c: Likewise.
28653 * math/s_cexpf.c: Likewise.
28654 * math/s_cexpl.c: Likewise.
28655 * math/s_clog.c: Likewise.
28656 * math/s_clog10.c: Likewise.
28657 * math/s_clog10f.c: Likewise.
28658 * math/s_clog10l.c: Likewise.
28659 * math/s_clogf.c: Likewise.
28660 * math/s_clogl.c: Likewise.
28661 * math/s_csin.c: Likewise.
28662 * math/s_csinf.c: Likewise.
28663 * math/s_csinh.c: Likewise.
28664 * math/s_csinhf.c: Likewise.
28665 * math/s_csinhl.c: Likewise.
28666 * math/s_csinl.c: Likewise.
28667 * math/s_csqrt.c: Likewise.
28668 * math/s_csqrtf.c: Likewise.
28669 * math/s_csqrtl.c: Likewise.
28670 * math/s_ctan.c: Likewise.
28671 * math/s_ctanf.c: Likewise.
28672 * math/s_ctanh.c: Likewise.
28673 * math/s_ctanhf.c: Likewise.
28674 * math/s_ctanhl.c: Likewise.
28675 * math/s_ctanl.c: Likewise.
28676 * math/s_ldexp.c: Likewise.
28677 * math/s_ldexpf.c: Likewise.
28678 * math/s_ldexpl.c: Likewise.
28679 * math/s_significand.c: Likewise.
28680 * math/s_significandf.c: Likewise.
28681 * math/s_significandl.c: Likewise.
28682 * math/w_acos.c: Likewise.
28683 * math/w_acosf.c: Likewise.
28684 * math/w_acosh.c: Likewise.
28685 * math/w_acoshf.c: Likewise.
28686 * math/w_acoshl.c: Likewise.
28687 * math/w_acosl.c: Likewise.
28688 * math/w_asin.c: Likewise.
28689 * math/w_asinf.c: Likewise.
28690 * math/w_asinl.c: Likewise.
28691 * math/w_atan2.c: Likewise.
28692 * math/w_atan2f.c: Likewise.
28693 * math/w_atan2l.c: Likewise.
28694 * math/w_atanh.c: Likewise.
28695 * math/w_atanhf.c: Likewise.
28696 * math/w_atanhl.c: Likewise.
28697 * math/w_cosh.c: Likewise.
28698 * math/w_coshf.c: Likewise.
28699 * math/w_coshl.c: Likewise.
28700 * math/w_dremf.c: Likewise.
28701 * math/w_exp10.c: Likewise.
28702 * math/w_exp10f.c: Likewise.
28703 * math/w_exp10l.c: Likewise.
28704 * math/w_exp2.c: Likewise.
28705 * math/w_exp2f.c: Likewise.
28706 * math/w_fmod.c: Likewise.
28707 * math/w_fmodf.c: Likewise.
28708 * math/w_fmodl.c: Likewise.
28709 * math/w_hypot.c: Likewise.
28710 * math/w_hypotf.c: Likewise.
28711 * math/w_hypotl.c: Likewise.
28712 * math/w_j0.c: Likewise.
28713 * math/w_j0f.c: Likewise.
28714 * math/w_j0l.c: Likewise.
28715 * math/w_j1.c: Likewise.
28716 * math/w_j1f.c: Likewise.
28717 * math/w_j1l.c: Likewise.
28718 * math/w_jn.c: Likewise.
28719 * math/w_jnf.c: Likewise.
28720 * math/w_jnl.c: Likewise.
28721 * math/w_lgamma.c: Likewise.
28722 * math/w_lgamma_r.c: Likewise.
28723 * math/w_lgammaf.c: Likewise.
28724 * math/w_lgammaf_r.c: Likewise.
28725 * math/w_lgammal.c: Likewise.
28726 * math/w_lgammal_r.c: Likewise.
28727 * math/w_log.c: Likewise.
28728 * math/w_log10.c: Likewise.
28729 * math/w_log10f.c: Likewise.
28730 * math/w_log10l.c: Likewise.
28731 * math/w_log2.c: Likewise.
28732 * math/w_log2f.c: Likewise.
28733 * math/w_log2l.c: Likewise.
28734 * math/w_logf.c: Likewise.
28735 * math/w_logl.c: Likewise.
28736 * math/w_pow.c: Likewise.
28737 * math/w_powf.c: Likewise.
28738 * math/w_powl.c: Likewise.
28739 * math/w_remainder.c: Likewise.
28740 * math/w_remainderf.c: Likewise.
28741 * math/w_remainderl.c: Likewise.
28742 * math/w_scalb.c: Likewise.
28743 * math/w_scalbf.c: Likewise.
28744 * math/w_scalbl.c: Likewise.
28745 * math/w_sinh.c: Likewise.
28746 * math/w_sinhf.c: Likewise.
28747 * math/w_sinhl.c: Likewise.
28748 * math/w_sqrt.c: Likewise.
28749 * math/w_sqrtf.c: Likewise.
28750 * math/w_sqrtl.c: Likewise.
28751 * math/w_tgamma.c: Likewise.
28752 * math/w_tgammaf.c: Likewise.
28753 * math/w_tgammal.c: Likewise.
28754
6a621eb7
UD
28755 * po/ja.po: Update from translation team.
28756
bf582445
AJ
287572011-09-29 Andreas Jaeger <aj@suse.de>
28758
f9efbf3a
AJ
28759 [BZ #13179]
28760 * sunrpc/netname.c (netname2host): Fix logic.
28761
bf582445
AJ
28762 [BZ #6779]
28763 [BZ #6783]
28764 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28765 correctly.
28766 * math/w_remainder.c (__remainder): Likewise.
28767 * math/w_remainderf.c (__remainderf): Likewise.
28768 * math/libm-test.inc (remainder_test): Add test cases.
28769
48693bea
AK
287702011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28771
28772 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28773 sdiv_qrnnd.
28774
42622229
LD
287752011-10-07 Ulrich Drepper <drepper@gmail.com>
28776
28777 * string/test-memcmp.c: Avoid unncessary #defines.
28778 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28779
093ecf92
LD
287802011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28781
28782 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28783 Use new sse2 version for core i3 - i7 as it's faster
28784 than sse42 version.
28785 (bit_Prefer_PMINUB_for_stringop): New.
28786 * sysdeps/x86_64/rawmemchr.S: Update.
28787 Replace with faster SSE2 version.
28788 * sysdeps/x86_64/memrchr.S: New file.
28789 * sysdeps/x86_64/memchr.S: Update.
28790 Replace with faster SSE2 version.
28791
fde56e5c
MP
287922011-09-12 Marek Polacek <mpolacek@redhat.com>
28793
28794 * elf/dl-load.c (lose): Add cast to avoid warning.
28795
21fd49a9
UD
287962011-10-07 Ulrich Drepper <drepper@gmail.com>
28797
5a06e643
UD
28798 * po/ca.po: Update from translation team.
28799
684ae515
UD
28800 * inet/getnetgrent_r.c: Hook up nscd.
28801 * nscd/Makefile (routines): Add nscd_netgroup.
28802 (nscd-modules): Add netgroupcache.
28803 (CFLAGS-netgroupcache.c): Define.
28804 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28805 (cache_search): Add const to second parameter.
28806 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28807 INNETGR.
28808 (dbs): Add netgrdb entry.
28809 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28810 (verify_persistent_db): Handle netgrdb.
28811 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28812 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28813 GETFDNETGR.
28814 (netgroup_response_header): Define.
28815 (innetgroup_response_header): Define.
28816 (datahead): Add netgroup_response_header and innetgroup_response_header
28817 elements.
28818 * nscd/nscd.conf: Add entries for netgroup cache.
28819 * nscd/nscd.h (dbtype): Add netgrdb.
28820 (_PATH_NSCD_NETGROUP_DB): Define.
28821 (netgroup_iov_disabled): Declare.
28822 (xmalloc, xcalloc, xrealloc): Move declarations here.
28823 (cache_search): Adjust prototype.
28824 Add netgroup-related prototypes.
28825 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28826 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28827 (__nscd_innetgr): Declare.
28828 * nscd/selinux.c (perms): Use access_vector_t as element type and
28829 add netgroup-related initializers.
28830 * nscd/netgroupcache.c: New file.
28831 * nscd/nscd_netgroup.c: New file.
28832 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28833 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28834 For four parameters use innetgr.
28835 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28836 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28837 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28838 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28839
21fd49a9
UD
28840 * nscd/connections.c (register_traced_file): Don't register file
28841 for disabled databases.
28842
054c0457
UD
288432011-10-06 Ulrich Drepper <drepper@gmail.com>
28844
32b63198
UD
28845 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28846
054c0457
UD
28847 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28848 from tree and freeing node.
28849
64031225
JO
288502011-09-25 Jiri Olsa <jolsa@redhat.com>
28851
28852 * nss/nsswitch.c (__nss_database_lookup): Handle
28853 nss_parse_service_list out of memory case.
28854
0490345c
JO
288552011-09-15 Jiri Olsa <jolsa@redhat.com>
28856
28857 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28858 out of memory case.
28859
3a62d00d
AS
288602011-10-04 Andreas Schwab <schwab@redhat.com>
28861
28862 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28863 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28864 pass it down.
28865 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28866 elf_machine_rela, elf_machine_lazy_rel.
28867 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28868 (ELF_DYNAMIC_DO_REL): Likewise.
28869 (ELF_DYNAMIC_DO_RELA): Likewise.
28870 (ELF_DYNAMIC_RELOCATE): Likewise.
28871 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28872 to ELF_DYNAMIC_DO_REL.
28873 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28874 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28875 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28876 elf_machine_rela.
28877 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28878 skip_ifunc, don't call ifunc function if non-zero.
28879 (elf_machine_rela): Likewise.
28880 (elf_machine_lazy_rel): Likewise.
28881 (elf_machine_lazy_rela): Likewise.
28882 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28883 (elf_machine_lazy_rel): Likewise.
28884 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28885 Likewise.
28886 (elf_machine_lazy_rel): Likewise.
28887 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28888 Likewise.
28889 (elf_machine_lazy_rel): Likewise.
28890 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28891 (elf_machine_lazy_rel): Likewise.
28892 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28893 (elf_machine_lazy_rel): Likewise.
28894 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28895 (elf_machine_lazy_rel): Likewise.
28896 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28897 (elf_machine_lazy_rel): Likewise.
28898 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28899 (elf_machine_lazy_rel): Likewise.
28900 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28901 (elf_machine_lazy_rel): Likewise.
28902
68577918
UD
289032011-09-28 Ulrich Drepper <drepper@gmail.com>
28904
28905 * nss/nss_files/files-init.c (_nss_files_init): Use static
28906 initialization for all the *_traced_file variables.
28907
68822d74
AS
289082011-09-28 Andreas Schwab <schwab@redhat.com>
28909
28910 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28911
2056100b
RM
289122011-09-27 Roland McGrath <roland@hack.frob.com>
28913
28914 [BZ #13226]
28915 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28916
32c76b63
AS
289172011-09-27 Andreas Schwab <schwab@redhat.com>
28918
28919 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28920 Reread the line before reparsing it.
28921
bf972c9d
AS
289222011-09-26 Andreas Schwab <schwab@redhat.com>
28923
28924 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28925
e057a1b5
JM
289262011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28927 Maxim Kuvyrkov <maxim@codesourcery.com>
28928 Joseph Myers <joseph@codesourcery.com>
28929
28930 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28931 if needed for __stack_chk_guard.
28932
bc7e1c36
RM
289332011-09-19 Roland McGrath <roland@hack.frob.com>
28934
ecb1482f
RM
28935 * sysdeps/posix/spawni.c (script_execute): Always define it.
28936 It will be optimized away if unused.
28937 (maybe_script_execute): New function.
28938 (__spawni): Call it.
28939
bc7e1c36
RM
28940 * Makerules: Don't include tls.make.
28941 (config-tls): Always set to thread.
28942 * tls.make.c: File removed.
28943
1c3b002b
MF
289442011-09-19 Mike Frysinger <vapier@gentoo.org>
28945
28946 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28947 * config.make.in (CPPFLAGS-config): New substituted variable.
28948
2840865d
UD
289492011-09-15 Ulrich Drepper <drepper@gmail.com>
28950
88738eb6
UD
28951 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28952
cbf645a6 28953 [BZ #13192]
2840865d
UD
28954 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28955 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28956
b402e91a
RM
289572011-09-15 Roland McGrath <roland@hack.frob.com>
28958
28959 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28960 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28961 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28962 (CALL_FAIL): Likewise.
28963 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28964 (CALL_FAIL): Macro removed.
28965 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28966
4c1a1f71
UD
289672011-09-15 Ulrich Drepper <drepper@gmail.com>
28968
28969 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28970 for __FINITE_MATH_ONLY__ == 1.
28971
edc121be
AS
289722011-09-15 Andreas Schwab <schwab@redhat.com>
28973
28974 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28975 __ieee754_sqrt instead of sqrt.
28976 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28977 __ieee754_sqrtf instead of sqrtf.
28978 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28979 __floorf instead of floorf.
28980 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28981 __floorf, __truncf instead of floorf, truncf.
28982
cd205654
UD
289832011-09-14 Ulrich Drepper <drepper@gmail.com>
28984
ee4d0315
UD
28985 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28986
cd205654
UD
28987 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28988 __extern_always_inline.
28989 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28990 32-bit.
28991
48b67d71
AS
289922011-09-14 Andreas Schwab <schwab@redhat.com>
28993
28994 * elf/rtld.c (dl_main): Also relocate in dependency order when
28995 doing symbol dependency testing.
28996
1ae12c75
AS
289972011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28998
28999 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29000 Always define `refsym'.
29001
995a80df
AS
290022011-09-13 Andreas Schwab <schwab@redhat.com>
29003
e529793b
AS
29004 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29005 (__FD_ELT): Renamed from __FDELT.
29006 * misc/bits/select2.h (__FD_ELT): Likewise.
29007 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29008 __FD_MASK instead of __FDELT, __FDMASK.
29009 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29010 Likewise.
29011 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29012 Likewise.
29013
52d4fef8
AS
29014 * elf/Makefile (gen-ldd): Fix pattern.
29015
995a80df
AS
29016 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29017 (init_tls): Likewise.
29018
8682f8b0
UD
290192011-09-12 Ulrich Drepper <drepper@gmail.com>
29020
29021 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29022
de82006d
AS
290232011-09-12 Andreas Schwab <schwab@redhat.com>
29024
a7c8e6a1
AS
29025 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29026 `struct cmsghdr *' instead of `void *'.
29027 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29028 Likewise.
29029
0f31fe77
AS
290302011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29031
29032 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29033 if non-absolute.
29034 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29035 ldd_rewrite_script.
0f31fe77 29036
32b4c839
UD
290372011-09-11 Ulrich Drepper <drepper@gmail.com>
29038
83cd1420
UD
29039 * configure.in: Remove --with-tls option.
29040 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29041 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29042 out in case it is missing.
29043 * sysdeps/ia64/elf/configure.in: Likewise.
29044 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29045 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29046 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29047 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29048 * sysdeps/sh/elf/configure.in: Likewise.
29049 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29050 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29051 * sysdeps/x86_64/elf/configure.in: Likewise.
29052 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29053 * sysdeps/mach/hurd/tls.h: Likewise.
29054
633f745d
UD
29055 [BZ #13067]
29056 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29057
f318beb8
UD
29058 [BZ #13090]
29059 * configure.in: Fix use of AC_INIT.
29060
32b4c839
UD
29061 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29062
3ce1f295
UD
290632011-09-10 Ulrich Drepper <drepper@gmail.com>
29064
bb016596
UD
29065 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29066 __set_errno.
8e58439c
UD
29067 * malloc/hooks.c: Likewise.
29068
aebae053 29069 [BZ #11929]
02d46fc4
UD
29070 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29071 variables statically.
29072 (narenas): Initialize.
29073 (list_lock): Initialize.
bb016596
UD
29074 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29075 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
29076 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29077 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29078 Add initializers to main_arena and mp_.
29079 (malloc_state): Remove pagesize member. Change all users to use
29080 GLRO(dl_pagesize).
29081
29082 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29083 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29084 is always initialized.
29085
22a89187
UD
29086 * malloc/malloc.c: Removed unused configurations and dead code.
29087 * malloc/arena.c: Likewise.
29088 * malloc/hooks.c: Likewise.
02d46fc4 29089 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 29090
d063d164
UD
29091 * include/tls.h: Removed. USE___THREAD must always be defined.
29092 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29093 * elf/dl-libc.c: Likewise.
29094 * elf/dl-tsd.c: Likewise.
29095 * include/errno.h: Likewise.
29096 * include/netdb.h: Likewise.
29097 * include/resolv.h: Likewise.
29098 * inet/herrno-loc.c: Likewise.
29099 * inet/herrno.c: Likewise.
29100 * malloc/arena.c: Likewise.
29101 * malloc/hooks.c: Likewise.
29102 * malloc/malloc.c: Likewise.
29103 * resolv/res-state.c: Likewise.
29104 * resolv/res_libc.c: Likewise.
29105 * sysdeps/i386/dl-machine.h: Likewise.
29106 * sysdeps/ia64/dl-machine.h: Likewise.
29107 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29108 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29109 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29110 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29111 * sysdeps/sh/dl-machine.h: Likewise.
29112 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29113 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29114 * sysdeps/unix/i386/sysdep.S: Likewise.
29115 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29116 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29117 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29118 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29119 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29120 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29121 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29122 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29123 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29124 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29125 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29126 * sysdeps/x86_64/dl-machine.h: Likewise.
29127 * tls.make.c: Likewise.
29128
3ce1f295
UD
29129 * configure.in: Remove --with-__thread option. Make tests for
29130 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29131 tls_model attribute fail if no support is available. Remove
29132 USE_IN_LIBIO.
29133 * Makeconfig: Adjust for dropped configure option. All features are
29134 now mandatory.
29135 * Makerules: Likewise.
29136 * Versions.def: Likewise.
29137 * argp/argp-fmtstream.c: Likewise.
29138 * argp/argp-fmtstream.h: Likewise.
29139 * argp/argp-help.c: Likewise.
29140 * assert/assert.c: Likewise.
29141 * config.h.in: Likewise.
29142 * config.make.in: Likewise.
29143 * configure: Likewise.
29144 * configure.in: Likewise.
29145 * csu/Versions: Likewise.
29146 * csu/init.c: Likewise.
29147 * elf/tst-audit2.c: Likewise.
29148 * elf/tst-tls10.c: Likewise.
29149 * elf/tst-tls10.h: Likewise.
29150 * elf/tst-tls11.c: Likewise.
29151 * elf/tst-tls12.c: Likewise.
29152 * elf/tst-tls14.c: Likewise.
29153 * elf/tst-tlsmod11.c: Likewise.
29154 * elf/tst-tlsmod12.c: Likewise.
29155 * elf/tst-tlsmod13.c: Likewise.
29156 * elf/tst-tlsmod13a.c: Likewise.
29157 * elf/tst-tlsmod14a.c: Likewise.
29158 * elf/tst-tlsmod15b.c: Likewise.
29159 * elf/tst-tlsmod16a.c: Likewise.
29160 * elf/tst-tlsmod16b.c: Likewise.
29161 * elf/tst-tlsmod7.c: Likewise.
29162 * elf/tst-tlsmod8.c: Likewise.
29163 * elf/tst-tlsmod9.c: Likewise.
29164 * gmon/gmon.c: Likewise.
29165 * grp/fgetgrent_r.c: Likewise.
29166 * grp/putgrent.c: Likewise.
29167 * hurd/fopenport.c: Likewise.
29168 * include/libc-symbols.h: Likewise.
29169 * include/tls.h: Likewise.
29170 * intl/gettextP.h: Likewise.
29171 * intl/loadinfo.h: Likewise.
29172 * locale/global-locale.c: Likewise.
29173 * locale/localeinfo.h: Likewise.
29174 * mach/devstream.c: Likewise.
29175 * malloc/arena.c: Likewise.
29176 * malloc/set-freeres.c: Likewise.
29177 * misc/err.c: Likewise.
29178 * misc/getttyent.c: Likewise.
29179 * misc/mntent_r.c: Likewise.
29180 * posix/getopt.c: Likewise.
29181 * posix/wordexp.c: Likewise.
29182 * pwd/fgetpwent_r.c: Likewise.
29183 * resolv/Versions: Likewise.
29184 * resolv/res_hconf.c: Likewise.
29185 * shadow/fgetspent_r.c: Likewise.
29186 * shadow/putspent.c: Likewise.
29187 * stdio-common/printf_fphex.c: Likewise.
29188 * stdio-common/tmpfile.c: Likewise.
29189 * stdlib/abort.c: Likewise.
29190 * stdlib/fmtmsg.c: Likewise.
29191 * sunrpc/auth_unix.c: Likewise.
29192 * sunrpc/clnt_perr.c: Likewise.
29193 * sunrpc/clnt_tcp.c: Likewise.
29194 * sunrpc/clnt_udp.c: Likewise.
29195 * sunrpc/clnt_unix.c: Likewise.
29196 * sunrpc/openchild.c: Likewise.
29197 * sunrpc/svc_simple.c: Likewise.
29198 * sunrpc/svc_tcp.c: Likewise.
29199 * sunrpc/svc_udp.c: Likewise.
29200 * sunrpc/svc_unix.c: Likewise.
29201 * sunrpc/xdr.c: Likewise.
29202 * sunrpc/xdr_array.c: Likewise.
29203 * sunrpc/xdr_rec.c: Likewise.
29204 * sunrpc/xdr_ref.c: Likewise.
29205 * sunrpc/xdr_stdio.c: Likewise.
29206
1248c1c4
PB
292072011-09-09 Ulrich Drepper <drepper@gmail.com>
29208
29209 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29210
292112011-07-03 Andreas Jaeger <aj@suse.de>
29212
29213 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29214 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29215 regenerate with gen-libm-tests.pl.
29216
292172010-05-12 Petr Baudis <pasky@suse.cz>
29218
29219 [BZ #11589]
29220 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29221 around j0() zero points by switching to j1().
29222 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29223 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29224 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29225 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29226
f22e1074
UD
292272011-09-09 Ulrich Drepper <drepper@gmail.com>
29228
f19009c1
UD
29229 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29230 instead of 0.
29231 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29232 instead of 0.
f19009c1
UD
29233 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29234 Patch in part by Pavel Roskin <proski@gnu.org>.
29235
3f8cc204
UD
29236 [BZ #13138]
29237 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29238 realloc.
29239 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29240 Free memory block if necessary.
29241
f22e1074
UD
29242 [BZ #12847]
29243 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29244 be NULL. Don't lock in this case.
29245
0a2349f9
RM
292462011-09-09 Roland McGrath <roland@hack.frob.com>
29247
29248 * elf/elf.h (ELFOSABI_GNU): New macro.
29249 (ELFOSABI_LINUX): Define to that.
29250
f3cdd467
DZ
292512011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29252
29253 * string/strncat.c (strncat): Undef the symbol in case it has been
29254 defined in bits/string.h.
29255
74718d13
UD
292562011-09-09 Ulrich Drepper <drepper@gmail.com>
29257
633e9e0f
UD
29258 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29259
0a2349f9 29260 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29261 link map.
29262
f9924780
AJ
292632011-08-17 Andreas Jaeger <aj@suse.de>
29264
29265 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29266
7f5517aa
PP
292672011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29268 Ian Lance Taylor <iant@google.com>
29269
29270 * math/libm-test.inc (lround_test): New testcase.
29271 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29272
762011fe
UD
292732011-09-08 Ulrich Drepper <drepper@gmail.com>
29274
92963737
UD
29275 * Makefile: Remove support for automatic cvs check-ins.
29276 * Makerules: Likewise.
29277 * config.make.in: Likewise.
29278 * configure.in: Likewise.
29279 * intl/Makefile: Likewise.
29280 * locale/Makefile: Likewise.
29281 * po/Makefile: Likewise.
29282 * posix/Makefile: Likewise.
29283 * sysdeps/gnu/Makefile: Likewise.
29284 * sysdeps/mach/hurd/Makefile: Likewise.
29285 * sysdeps/sparc/sparc32/Makefile: Likewise.
29286
b0727fd8
JS
29287 [BZ #13118]
29288 * posix/Makefile (bug-regex32-ENV): Define.
29289 Patch by John Stanley <jpsinthemix@verizon.net>.
29290
a0f33f99
UD
29291 * misc/Makefile (headers): Add bits/select2.h.
29292 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29293 * misc/bits/select2.h: New file.
29294 * include/bits/select2.h: New file.
29295 * debug/Makefile (routines): Add fdelt_chk.
29296 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29297 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29298 FD_ISSET.
29299 * debug/fdelt_chk.c: New file.
29300
762011fe
UD
29301 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29302 * wcsmbs/test-wmemcmp.c: Likewise.
29303 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29304 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29305
293062011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29307
29308 * string/Makefile (strop-tests): Add memcmp.
29309 * string/test-wmemcmp.c: New file.
29310 * string/test-memcmp.c: Add wmemcmp support.
29311
7f513ec8
RM
293122011-09-08 Roland McGrath <roland@hack.frob.com>
29313
0442afb4
RM
29314 [BZ #13153]
29315 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29316 2011-07-19 change.
29317
7f513ec8
RM
29318 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29319 garbage value in a __mach_port_mod_refs call in the cases of the
29320 task-self and thread-self ports.
29321
a12b2239
ST
293222011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29323
29324 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29325
610f9ab4
AS
293262011-09-08 Andreas Schwab <schwab@redhat.com>
29327
7f513ec8 29328 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29329
48882a1a
LD
293302011-09-07 Ulrich Drepper <drepper@gmail.com>
29331
b49865be
UD
29332 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29333
fdc86bc9
UD
29334 * elf/dl-libc.c (dlerror_run): Pass back error code from
29335 dl_catch_error.
29336
c966526a
UD
29337 [BZ #13123]
29338 * elf/dl-load.c (lose): Free l_origin if it is valid.
29339
48882a1a
LD
29340 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29341 names.
29342 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29343 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29344 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29345 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29346 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29347 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29348
77a2a8b4
AZ
293492011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29350
29351 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29352 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29353 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29354 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29355 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29356 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29357 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29358 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29359 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29360 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29361
24f579d8
AM
293622011-08-15 Alan Modra <amodra@gmail.com>
29363
29364 [BZ #13092]
29365 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29366 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29367 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29368 ppc_mcount to static-only-routines.
29369 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29370 __mcount_internal.
29371 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29372 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29373
3d4837df
UD
293742011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29375
29376 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29377 for finite and infinity parameters.
29378
22700377
WS
293792011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29380
29381 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29382 and add nop instructions for throughput optimization.
29383 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29384
5025581e
WS
293852011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29386
29387 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29388 aligned copy for power7 with vector-scalar instructions.
29389 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29390
08a300c9
L
293912011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29392
29393 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29394 AVX check.
29395
59178ef9
AS
293962011-09-07 Andreas Schwab <schwab@redhat.com>
29397
29398 [BZ #13144]
29399 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29400 last change.
29401
e38ba7ab
UD
294022011-09-07 Ulrich Drepper <drepper@gmail.com>
29403
29404 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29405 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29406 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29407 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29408 clock_gettime.
29409
d53a73ac
UD
294102011-09-06 Ulrich Drepper <drepper@gmail.com>
29411
fc8bffcc
UD
29412 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29413 Forgot to demangle the pointer.
29414
ceaa0c5d
UD
29415 * sysdeps/i386/sysdep.h: Define atom_text_section.
29416 * sysdeps/x86_64/sysdep.h: Likewise.
29417 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29418 section with atom_text_section.
29419 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29420 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29421 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29422 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29423 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29424
a77d3c17
UD
29425 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29426 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29427 already be defined. Change to take two parameters and don't assign
29428 result to variable. Adjust all users.
29429 Define INTERNAL_GETTIME if not already defined.
29430 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29431 call.
29432 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29433 HAVE_CLOCK_GETTIME_VSYSCALL.
29434 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29435
d53a73ac
UD
29436 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29437 gettimeofday vsyscall, just use time.
29438
a8f84144
AS
294392011-09-06 Andreas Schwab <schwab@redhat.com>
29440
29441 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29442 <errno.h>.
29443
ef606249
UD
294442011-09-06 Ulrich Drepper <drepper@gmail.com>
29445
29446 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29447 syscall on x86-64.
29448 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29449 syscall.
29450 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29451 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29452 syscall if possible.
29453
6585cb60
UD
294542011-09-05 Ulrich Drepper <drepper@gmail.com>
29455
29456 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29457 e_ident. Don't pass to find_mapsXX.
29458 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29459
a5f524e4
LD
294602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29461
29462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29463 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29464 * sysdeps/x86_64/multiarch/strchr.S: Update.
29465 Check bit_slow_BSF bit.
29466 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29467 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29468 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29469
554881ef
UD
294702011-09-05 Ulrich Drepper <drepper@gmail.com>
29471
d96de963
UD
29472 [BZ #13134]
29473 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29474 before glibc 2.15.
29475 (tryshell): Define.
29476 (__spawni): Change last parameter to be flag. Test
29477 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29478 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29479 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29480 * posix/spawni.c: Likewise.
29481 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29482 * posix/spawnp.c: Likewise. Change normal version to use
29483 SPAWN_XFLAGS_USE_PATH.
29484 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29485 SPAWN_XFLAGS_TRY_SHELL.
29486
d48e5868
UD
29487 [BZ #13150]
29488 * posix/glob.h: Remove gcc 1.x support.
29489
554881ef
UD
29490 [BZ #13068]
29491 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29492
693fb948
LD
294932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29494
29495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29496 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29497 strrchr-sse2-bsf
29498 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29499 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29500 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29501 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29502 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29503 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29504
1b48c537
UD
295052011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29506
49d42c37
UD
29507 * sysdeps/x86_64/wcscmp.S: New file.
29508
1b48c537
UD
29509 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29510 wcscmp-c wcscmp-sse2
29511 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29512 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29513 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29514 * wcsmbs/wcscmp.c: Allow renaming.
29515
15c95c5d
DM
295162011-09-05 David S. Miller <davem@davemloft.net>
29517
29518 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29519 stack slot, rather than the struct return pointer slot.
29520 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29521 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29523 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29524
2f0ad8f3
UD
295252011-09-05 Ulrich Drepper <drepper@gmail.com>
29526
d88ae418
UD
29527 * po/ja.po: Update from translation team.
29528
2f0ad8f3
UD
29529 [BZ #13144]
29530 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29531 kernel in 64-bit binaries.
29532
5f4318d1
DM
295332011-09-01 David S. Miller <davem@davemloft.net>
29534
29535 * elf/elf.h (HWCAP_SPARC_*): Move to..
29536 * sysdeps/sparc/sysdep.h: this new file and add new values.
29537 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29538 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29539 _DL_HWCAP_COUNT to 24.
29540 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29541 entries.
29542 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29543 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29544 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29545 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29546 instead of magic constants.
29547 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29548
3ba57516
DM
295492011-08-31 David S. Miller <davem@davemloft.net>
29550
29551 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29552 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29553 Reimplement to do errno handling inline.
29554 (SYSCALL_ERROR_HANDLER): New macro.
29555 (__SYSCALL_STRING): Do not do errno handling in asm.
29556 (__CLONE_SYSCALL_STRING): Delete.
29557 (__INTERNAL_SYSCALL_STRING): Delete.
29558 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29559 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29560 (PSEUDO): Reimplement to do errno handling inline.
29561 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29562 (SYSCALL_ERROR_HANDLER): New macro.
29563 (__SYSCALL_STRING): Do not do errno handling in asm.
29564 (__CLONE_SYSCALL_STRING): Delete.
29565 (__INTERNAL_SYSCALL_STRING): Delete.
29566 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29567 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29568 i386.
29569 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29570 (inline_syscall*): Add 'err' argument.
29571 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29572 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29573 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29574 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29575
29576 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29577 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29578
2bc17433
AS
295792011-08-30 Andreas Schwab <schwab@redhat.com>
29580
29581 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29582
fbeb5f4d
JO
295832011-08-29 Jiri Olsa <jolsa@redhat.com>
29584
29585 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29586 directive.
29587
ad69cc26
DM
295882011-08-24 David S. Miller <davem@davemloft.net>
29589
29590 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29591
39dd69df
AS
295922011-08-24 Andreas Schwab <schwab@redhat.com>
29593
29594 * elf/Makefile: Add rules to build and run unload8 test.
29595 * elf/unload8.c: New file.
29596 * elf/unload8mod1.c: New file.
29597 * elf/unload8mod1x.c: New file.
29598 * elf/unload8mod2.c: New file.
29599 * elf/unload8mod3.c: New file.
29600
29601 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29602 it wasn't used.
29603
2c0b250a
DM
296042011-08-23 David S. Miller <davem@davemloft.net>
29605
29606 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29607 subtract stack bias.
29608 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29609 %sp not %fp in calculations.
29610 (_JMPBUF_UNWINDS_ADJ): Likewise.
29611
22044b48
DM
29612 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29613 (aio_suspend): Call it to force an exception region around the
29614 AIO_MISC_WAIT() invocation.
29615
2cae4995
AS
296162011-08-23 Andreas Schwab <schwab@redhat.com>
29617
29618 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29619 backslash.
29620
873a772e
AJ
296212011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29622
29623 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29624 protection macro.
29625 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29626 and <dl-machine.h>.
29627 (Elf64_FuncDesc): Remove.
29628
25ad0df1
DM
296292011-08-22 David S. Miller <davem@davemloft.net>
29630
29631 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29632 sigaltstack check, add missing cfi directives.
29633 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29634 missing cfi directives, and sigaltstack handling.
29635
e888bcbe
AS
296362011-08-16 Andreas Schwab <schwab@redhat.com>
29637
29638 [BZ #11724]
29639 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29640 object is seen twice.
29641 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29642
29643 * elf/Makefile (distribute): Add tst-initorder2.c.
29644 (tests): Add tst-initorder2.
29645 (modules-names): Add tst-initorder2a tst-initorder2b
29646 tst-initorder2c tst-initorder2d. Add rules to build them.
29647 ($(objpfx)tst-initorder2.out): New rule.
29648 * elf/tst-initorder2.c: New file.
29649 * elf/tst-initorder2.exp: New file.
29650
87162f46
AS
296512011-08-22 Andreas Schwab <schwab@redhat.com>
29652
70538b7f
AS
29653 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29654
f55ffe58
AS
29655 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29656 dependencies back to end of function.
29657
87162f46
AS
29658 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29659 $(elfobjdir)/ld.so.
29660
91b392a4
UD
296612011-08-21 Ulrich Drepper <drepper@gmail.com>
29662
29663 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29664 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29665 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29666 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29667 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29668 of __vdso_gettimeofday.
29669 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29670 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29671 attribute_hidden.
29672 (_libc_vdso_platform_setup): Remove initialization of
29673 __vdso_gettimeofday and __vdso_time.
29674
5c43483f
UD
296752011-08-20 Ulrich Drepper <drepper@gmail.com>
29676
775a77e7
UD
29677 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29678 and fgetc_unlocked.
29679 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29680 getc_unlocked.
89f447ed 29681
49c74ba9
UD
29682 * elf/dl-open.c (add_to_global): Report additions to the global scope
29683 for LD_DEBUG=scopes.
29684 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29685 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29686
5c43483f
UD
29687 [BZ #13114]
29688 * stdio-common/Makefile (tests): Add bug24.
29689 * stdio-common/bug24.c: New file.
29690
a101b025
AJ
296912011-08-19 Andreas Jaeger <aj@suse.de>
29692
29693 [BZ #13114]
29694 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29695 non-existant file when using close-on-exec mode.
29696
c88f1766
UD
296972011-08-20 Ulrich Drepper <drepper@gmail.com>
29698
0276a718
UD
29699 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29700 the very first instruction.
29701
c88f1766
UD
29702 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29703 the CFI state in the end.
29704 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29705 inclusion of dl-trampoline.h.
29706 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29707
51ccffa0
AS
297082011-08-19 Andreas Schwab <schwab@redhat.com>
29709
94d7165f
AS
29710 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29711 expectations for long double.
29712
51ccffa0
AS
29713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29714 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29715
fd708658 297162011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29717
29718 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29719 artificual limit depends upon the system page size.
29720
44f0a71e
UD
297212011-08-17 Ulrich Drepper <drepper@gmail.com>
29722
29723 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29724 * resolv/Makefile: Define CFLAGS-libresolv.
29725
8de79a24
AS
297262011-08-17 Andreas Schwab <schwab@redhat.com>
29727
29728 * nss/makedb.c (compute_tables): Make variables used in nested
29729 function static.
29730
27724598
UD
297312011-08-17 Ulrich Drepper <drepper@gmail.com>
29732
c5305d88
UD
29733 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29734 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29735 if buffer was too small.
29736
27724598
UD
29737 * elf/pldd.c (main): Attach to all threads in the process.
29738 Rewrite /proc handling to use *at functions.
29739
076fe015
UD
297402011-08-16 Ulrich Drepper <drepper@gmail.com>
29741
174baab3
UD
29742 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29743 specifies first scope to show.
29744 (dl_open_worker): Update callers. Move printing scope of new
29745 object to before the relocation.
44f0a71e 29746 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29747 * sysdeps/generic/ldsodefs.h: Update declaration.
29748
076fe015
UD
29749 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29750 string for the scope number.
29751
a60df2c3
UD
297522011-08-14 Ulrich Drepper <drepper@gmail.com>
29753
29754 * nscd/servicescache.c (cache_addserv): Make sure written is always
29755 initialized.
29756
5e4287d1
RM
297572011-08-14 Roland McGrath <roland@hack.frob.com>
29758
85ae0589
RM
29759 * sysdeps/i386/i486/bits/atomic.h
29760 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29761 statement expression, so as to suppress "set but not used" warning.
29762 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29763
69f63097
RM
29764 * string/strncat.c (STRNCAT): Use prototype definition.
29765
675456ef
RM
29766 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29767 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29768 -Iprograms here.
29769 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29770 (localedef-modules): Add localedef.
29771 (locale-modules): Add locale.
29772
5e4287d1
RM
29773 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29774 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29775 to avoid a warning.
29776
9c96ff23
DM
297772011-08-14 David S. Miller <davem@davemloft.net>
29778
29779 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29780 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29781
f9ddf089
UD
297822011-08-13 Ulrich Drepper <drepper@gmail.com>
29783
44f0a71e 29784 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29785 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29786 * elf/rtld.c (dl_main): Set l_name of vDSO.
29787 Call _dl_show_scope when DL_DEBUG_SCOPES.
29788 (process_dl_debug): Recognize scopes flag and also set it for all.
29789 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29790 Declare _dl_show_scope.
29791
1dc27704
UD
29792 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29793 (do_dlopen): Pass caller_dlopen to dl_open.
29794 (__libc_dlopen_mode): Initialize caller_dlopen.
29795
f9ddf089
UD
29796 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29797 of libc. Make tolower call locale-independent. Optimize a bit by
29798 using isdigit instead of isalnum.
29799 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29800
9ac533d3
UD
298012011-08-12 Ulrich Drepper <drepper@gmail.com>
29802
29803 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29804 was a dependency or dynamically loaded.
29805
89edf2e9
UD
298062011-08-11 Ulrich Drepper <drepper@gmail.com>
29807
8e999d29
UD
29808 * intl/l10nflist.c: Allow architecture-specific pop function.
29809 * sysdeps/x86_64/l10nflist.c: New file.
29810
89edf2e9
UD
29811 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29812 classification.
29813
14d96785
AS
298142011-08-10 Andreas Schwab <schwab@redhat.com>
29815
29816 * include/dirent.h: Add libc_hidden_proto for scandirat and
29817 scandirat64. Don't declare __scandirat64.
29818 * dirent/scandirat.c: Add libc_hidden_def.
29819 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29820 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29821
6761ac04
DM
298222011-08-10 David S. Miller <davem@davemloft.net>
29823
29824 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29825 enum.
29826 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29827 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29828 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29829
c55fbd1e
UD
298302011-08-09 Ulrich Drepper <drepper@gmail.com>
29831
29832 * Versions.def [libc]: Add GLIBC_2.15.
29833 * dirent/Makefile (routines): Add scandirat and scandirat64.
29834 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29835 GLIBC_2.15.
29836 * dirent/dirent.h: Declare scandirat and scandirat64.
29837 * dirent/scandirat.c: New file.
29838 * dirent/scandirat64.c: New file.
29839 * sysdeps/wordsize-64/scandirat.c: New file.
29840 * sysdeps/wordsize-64/scandirat64.c: New file.
29841 * dirent/opendir.c: Define opendirat.
29842 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29843 using scandirat.
29844 * dirent/scandir64.c: Adjust for scandir.c change.
29845 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29846 __scandirat64, and __scandir_cancel_handler.
29847 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29848 additional parameter and use openat instead of open (outside of ld.so).
29849 Add new __opendir as wrapper around __opendirat.
29850 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29851 here without requiring old scandirat implementation.
29852
879165f2
UD
298532011-08-08 Ulrich Drepper <drepper@gmail.com>
29854
29855 * dirent/scandir.c (cancel_handler): Renamed to
29856 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29857 defined. Adjust users.
29858 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29859 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29860
cb7e923b
UD
298612011-08-04 Ulrich Drepper <drepper@gmail.com>
29862
16292edd
UD
29863 * string/test-string.h (IMPL): Use __STRING to expand name and then
29864 stringify it.
29865
cb7e923b
UD
29866 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29867 of cleanups.
29868
cff82933
LD
298692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29870
29871 * string/Makefile: Update.
29872 (strop-tests): Append strncat.
29873 * string/test-wcscmp.c: New file.
29874 New comprehensive test for wcscmp.
29875 * string/test-strcmp.c: Update.
29876 (WIDE): New define.
29877
9be9bfcc
AS
298782011-07-22 Andreas Schwab <schwab@redhat.com>
29879
29880 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29881 line.
29882
2e96f1c7
AS
298832011-07-26 Andreas Schwab <schwab@redhat.com>
29884
29885 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29886 encoding to ACE if AI_IDN.
29887
85188888
JJ
298882011-08-01 Jakub Jelinek <jakub@redhat.com>
29889
29890 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29891 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29892
5fa16e9b
LD
298932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29894
29895 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29896 Fix overflow bug in strncat.
29897 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29898
29899 * string/test-strncat.c: Update.
29900 Add new tests for checking overflow bugs.
29901
299022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29903
29904 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29905 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29906 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29907 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29908 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29909 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29910 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29911 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29912 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29913
29914 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29915 (USE_AS_STRCAT): Define.
29916 Add strcat and strncat support.
29917 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29918
8c1a459f
AS
299192011-07-25 Andreas Schwab <schwab@redhat.com>
29920
29921 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29922 __n bigger than INT_MAX+1.
29923 (__strncmp_g): Likewise.
29924
bba33c28
UD
299252011-07-23 Ulrich Drepper <drepper@gmail.com>
29926
798be72d
UD
29927 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29928 * libio/stido.h: Likewise.
29929
8accd4dc
UD
29930 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29931 (AF_NFC): Define.
29932 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29933 (AF_NFC): Define.
29934
cbff0d96
UD
29935 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29936 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29937 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29938 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29939 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29940
9191c04a
UD
29941 [BZ #13021]
29942 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29943 installed.
29944
bba33c28
UD
29945 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29946 typo.
29947 (_dl_x86_64_save_sse): Likewise.
29948
90f139dd
UD
299492011-07-22 Ulrich Drepper <drepper@gmail.com>
29950
1aae088a
UD
29951 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29952 OSXSAVE.
29953 (_dl_x86_64_save_sse): Likewise.
29954
8e2045f5
UD
29955 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29956
90f139dd
UD
29957 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29958
1d002f25
AS
299592011-07-21 Andreas Schwab <schwab@redhat.com>
29960
29961 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29962 change.
29963 (_dl_x86_64_save_sse): Use correct AVX check.
29964
21137f89
UD
299652011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29966
29967 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29968 bug in strncpy/strncat.
29969 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29970
a65c0b7a
UD
299712011-07-21 Ulrich Drepper <drepper@gmail.com>
29972
29973 * string/tester.c (test_strcat): Add tests for different alignments
29974 of source and destination.
29975 (test_strncat): Likewise.
29976
6986b98a
UD
299772011-07-20 Ulrich Drepper <drepper@gmail.com>
29978
90bb2039
UD
29979 [BZ #12852]
29980 * posix/glob.c (glob): Check passed in values before using them in
29981 expressions to avoid some overflows.
29982 (glob_in_dir): Likewise.
29983
5644ef54
UD
29984 [BZ #13007]
29985 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29986 check for AVX enablement so that we don't crash with old kernels and
29987 new hardware.
29988 * elf/tst-audit4.c: Add same checks here.
29989 * elf/tst-audit6.c: Likewise.
29990
29991 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29992
bfc9dc9b
AS
299932011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29994
29995 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29996
702e64bb
UD
299972011-07-20 Ulrich Drepper <drepper@gmail.com>
29998
29999 * po/cs.po: Update from translation team.
30000 * po/bg.po: Likewise.
30001
295e904f
MP
300022011-07-12 Marek Polacek <mpolacek@redhat.com>
30003
30004 * misc/sys/cdefs.h: Add support for const attribute.
30005 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30006 to gnu_dev_{major,minor,makedev} functions.
30007
3ff94596
MP
300082011-07-20 Marek Polacek <mpolacek@redhat.com>
30009
30010 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30011
28b59fca
AS
300122011-07-20 Andreas Schwab <schwab@redhat.com>
30013
30014 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30015 strlen results.
30016
19df733e
AK
300172011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30018
30019 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30020 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30021 register in order to avoid conflicts with the soft frame pointer
30022 being held in r11 when necessary.
30023 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30024 (INTERNAL_VSYSCALL_NCS): Likewise.
30025
c8835729
MP
300262011-07-14 Marek Polacek <mpolacek@redhat.com>
30027
30028 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30029 * elf/dl-fini.c (_dl_fini): Adjust caller.
30030 * elf/dl-close.c (_dl_close_worker): Likewise.
30031 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30032
b902330c
MP
300332011-07-15 Marek Polacek <mpolacek@redhat.com>
30034
8991e135
MP
30035 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30036 "aux_cache->nlibs < 0".
30037
b902330c
MP
30038 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30039 in the reload-count case.
30040
99710781
LD
300412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30042
30043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30044 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30045 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30046 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30047 * sysdeps/x86_64/multiarch/strcat.S: New file.
30048 * sysdeps/x86_64/multiarch/strncat.S: New file.
30049 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30050 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30051 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30052 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30053 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30054 (USE_AS_STRCAT): Define.
30055 Add strcat and strncat support.
30056 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30057 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30058 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30059 * string/strncat.c: Update.
30060 (USE_AS_STRNCAT): Define.
30061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30062 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30063 and i7.
30064 * sysdeps/x86_64/multiarch/init-arch.h
30065 (bit_Prefer_PMINUB_for_stringop): New.
30066 (index_Prefer_PMINUB_for_stringop): Likewise.
30067 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30068 bit_Prefer_PMINUB_for_stringop.
30069
7dc6bd90
UD
300702011-07-19 Ulrich Drepper <drepper@gmail.com>
30071
30072 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30073 buffer64.
30074 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30075 of casting of buffer.
30076 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30077 buffer32 and buffer64.
30078 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30079 writes instead of casting of buffer.
30080 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30081 buffer32.
30082 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30083 casting of buffer.
30084
e0e72284
AS
300852011-07-19 Andreas Schwab <schwab@redhat.com>
30086
30087 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30088
feb1eb0b
UD
300892011-07-19 Ulrich Drepper <drepper@gmail.com>
30090
30091 * nscd/nscd.c (termination_handler): Don't do anything for a database
30092 if it has not yet been initialized.
30093
298711ff
UD
300942011-07-18 Ulrich Drepper <drepper@gmail.com>
30095
30096 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30097
300982011-07-15 Marek Polacek <mpolacek@redhat.com>
30099
30100 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30101
f9d68389
UD
301022011-07-18 Ulrich Drepper <drepper@gmail.com>
30103
30104 * po/nl.po: Update from translation team.
30105 * po/sv.po: Likewise.
30106
db290cf5
RM
301072011-07-16 Roland McGrath <roland@hack.frob.com>
30108
30109 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30110 now disallowed by GCC.
5c550700 30111
fd5e21c7
RM
30112 * configure.in (use-default-link): Default to yes if a test -shared
30113 link meets our qualifications.
30114 * configure: Regenerated.
30115
5c550700
RM
30116 * config.make.in (output-format): New variable.
30117 * configure.in: Check for ld --print-output-format support.
30118 * configure: Regenerated.
30119 * Makerules ($(common-objpfx)format.lds)
30120 [$(output-format) != unknown]: Just use $(output-format),
30121 instead of the linker-script munging.
30122
9fa2c032
RM
301232011-07-14 Roland McGrath <roland@hack.frob.com>
30124
a6928d51
RM
30125 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30126 of $(common-objpfx)shlib.lds.
30127 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30128
661607b3
RM
30129 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30130 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30131
9fa2c032
RM
30132 * configure.in (-z relro check): Adjust test code to add a large
30133 writable data section after it.
30134 * configure: Regenerated.
30135
defe9061
RM
301362011-07-11 Roland McGrath <roland@hack.frob.com>
30137
30138 * configure.in (-z relro check): Fix test code to make the variable
30139 truly const.
30140 * configure: Regenerated.
30141
319b9ad4
UD
301422011-07-11 Ulrich Drepper <drepper@gmail.com>
30143
30144 * nscd/nscd.h (struct traced_file): Define.
30145 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30146 elements. Add traced_files.
30147 (inotify_fd): Declare.
30148 (register_traced_file): Declare.
30149 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30150 (inotify_fd): Export.
30151 (resolv_conf_descr): Remove.
30152 (nscd_init): Move inotify descriptor creation to main.
30153 Don't register files for notification here.
30154 (register_traced_file): New function.
30155 (invalidate_cache): Don't use reset_res to determine whether to call
30156 res_init, go through the list of registered files.
30157 (main_loop_poll): The inotify descriptors are now stored in the
30158 structures for the traced files.
30159 (main_loop_epoll): Likewise
30160 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30161 to __nss_disable_nscd.
30162 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30163 for a database anymore. Check the records for all the registered
30164 files instead.
30165 * nss/Makefile (libnss_files-routines): Add files-init.
30166 (libnss_db-routines): Add db-init.
30167 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30168 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30169 * nss/nss_db/db-init.c: New file.
30170 * nss/nss_files/files-init.c: New file.
30171 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30172 __nss_lookup_function.
30173 (__nss_lookup_function): Call nss_load_library.
30174 (nss_load_all_libraries): New function.
30175 (__nss_disable_nscd): Take parameter with callback function for files
30176 to register. Set is_nscd. Load all the DSOs for the NSS modules
30177 used for the cached services.
30178 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30179 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30180 options for features to all the files in nscd.
30181
30182 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30183
23bee3e8
RM
301842011-07-10 Roland McGrath <roland@hack.frob.com>
30185
30186 * csu/elf-init.c (__libc_csu_init): Comment typo.
30187
46a5b7f0
UD
301882011-07-09 Ulrich Drepper <drepper@gmail.com>
30189
30190 * po/pl.po: Update from translation team.
30191 * po/ja.po: Likewise.
30192 * po/ru.po: Likewise.
30193 * po/ko.po: Likewise.
30194 * po/fr.po: Likewise.
30195
d30cf5bb
RM
301962011-07-09 Roland McGrath <roland@hack.frob.com>
30197
113ddea4
RM
30198 * configure.in (.ctors/.dtors header and trailer check):
30199 Use an empirical test on a built program.
30200 * configure: Regenerated.
30201
574920b4
RM
30202 * configure.in (-z relro check): Use an empirical test on a built DSO.
30203 Detect, but do not require, on ia64.
30204 * configure: Regenerated.
30205
d30cf5bb
RM
30206 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30207 Update tests that use readelf to use $READELF instead.
30208 * configure: Regenerated.
30209
8538fdb3
UD
302102011-07-08 Ulrich Drepper <drepper@gmail.com>
30211
30212 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30213 if the result is not used.
30214
04d08991
AJ
302152011-07-05 Andreas Jaeger <aj@suse.de>
30216
30217 [BZ#9696]
30218 * stdlib/tst-strtod.c: Add testcase.
30219
de283087
AD
302202011-07-07 Ulrich Drepper <drepper@gmail.com>
30221
4e5f31c8 30222 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30223 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30224 The latter has a higher limit. Take additional parameter to pass to
30225 the new function.
30226 (__pathconf): Pass file to __statfs_link_max.
30227 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30228 __statfs_link_max.
30229 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30230 __statfs_link_max.
30231
de283087
AD
30232 [BZ #12868]
30233 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30234 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30235 Handle Lustre.
30236 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30237 (__statfs_filesize_max): Likewise.
30238 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30239
c75fa153
AJ
302402011-07-05 Andreas Jaeger <aj@suse.de>
30241
30242 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30243
1a544854
UD
302442011-07-06 Marek Polacek <mpolacek@redhat.com>
30245
30246 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30247 `status' variable.
30248 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30249 Likewise.
30250
6f0eec67
UD
302512011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30252
30253 * Makefile (strop-tests): Add strncat.
30254 * string/test-strncat.c: New file.
30255
aae30307
UD
302562011-06-30 Marek Polacek <mpolacek@redhat.com>
30257
30258 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30259
c0cfb5eb
UD
302602011-06-21 Andreas Jaeger <aj@suse.de>
30261
30262 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30263 Copy rule from iconvdata/Makefile.
30264
01636b21
UD
302652011-07-06 Ulrich Drepper <drepper@gmail.com>
30266
30267 [BZ #12922]
30268 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30269 but no long options are defined, just return 'W'.
30270
9895c8bc
UD
302712011-06-22 Marek Polacek <mpolacek@redhat.com>
30272
30273 [BZ #9696]
30274 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30275
5d4cf042
UD
302762011-07-06 Ulrich Drepper <drepper@gmail.com>
30277
30278 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30279 netgroups to read.
960e5535 30280 (innetgr): Likewise.
5d4cf042 30281
751eb97e
RM
302822011-07-05 Roland McGrath <roland@hack.frob.com>
30283
30284 * config.make.in (install_root): Default to $(DESTDIR).
30285
f15f1e45
UD
302862011-07-05 Ulrich Drepper <drepper@gmail.com>
30287
30288 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30289
4e34ac6a
RM
302902011-07-02 Roland McGrath <roland@hack.frob.com>
30291
5e9b6af4
RM
30292 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30293
84f9ea0f
RM
30294 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30295 containing directory rather than embedding absolute directory names.
30296
ea5ee9f7
RM
30297 * scripts/check-local-headers.sh: Rewritten using awk.
30298 Match by word, not by line. Print error messages for matches.
30299 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30300
1b74661a
RM
30301 * Makerules [shlib-lds-flags empty]:
30302 ($(common-objpfx)libc_pic.opts): New target.
30303 ($(common-objpfx)libc_pic.os.clean): New target.
30304 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30305
30306 * config.make.in (OBJCOPY): New variable.
30307 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30308 * configure: Regenerated.
30309
f781ef40
RM
30310 * config.make.in (use-default-link): New variable.
30311 * configure.in (use_default_link): Grok --with-default-link to set it.
30312 * configure: Regenerated.
30313 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30314 (shlib-lds, shlib-lds-flags): Define to empty.
30315
2d4fa81e
RM
30316 * Makerules (shlib-lds): New variable.
30317 (shlib-lds-flags): New variable.
30318 (build-shlib, build-moduile, build-module-asneeded): Use it.
30319 ($(common-objpfx)libc.so): Use $(shlib-lds).
30320 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30321 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30322
31fffa6b
RM
30323 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30324 DT_FLAGS/DT_FLAGS_1 with zero flags.
30325
4e34ac6a
RM
30326 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30327 linker script munging.
30328
fcfc776b
UD
303292011-07-02 Ulrich Drepper <drepper@gmail.com>
30330
30331 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30332 as 128-bit value.
30333 * crypt/sha512.c (sha512_process_block): Perform total addition using
30334 128-bit if possible.
30335 (__sha512_finish_ctx): Likewise.
30336 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30337 as 64-bit value.
30338 * crypt/sha256.c (SWAP64): Define.
30339 (sha256_process_block): Perform total addition using 64-bit if
30340 possible.
30341 (__sha256_finish_ctx): Likewise.
30342
99231d9a
UD
303432011-07-01 Ulrich Drepper <drepper@gmail.com>
30344
30345 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30346 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30347 * nscd/hstcache.c (cache_addhst): Likewise.
30348 * nscd/grpcache.c (cache_addgr): Likewise.
30349 * nscd/aicache.c (addhstaiX): Likewise
30350 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30351
445b4a53
TK
303522011-07-01 Thorsten Kukuk <kukuk@suse.de>
30353
30354 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30355 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30356 * nscd/hstcache.c (cache_addhst): Likewise.
30357 * nscd/grpcache.c (cache_addgr): Likewise.
30358 * nscd/aicache.c (addhstaiX): Likewise
30359
6d4d8e8e
AS
303602011-07-01 Andreas Schwab <schwab@redhat.com>
30361
30362 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30363 domain only when needed.
30364
89f654c5
AS
303652011-06-30 Andreas Schwab <schwab@redhat.com>
30366
30367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30368 is always restored.
30369
cf3b23ff
UD
303702011-06-29 Ulrich Drepper <drepper@gmail.com>
30371
30372 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30373 are re-adding the entry.
30374 * nscd/servicescache.c (cache_addserv): Likewise.
30375
751626f9
AJ
303762011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30377
30378 * sysdeps/generic/dl-irel.h: fix protection against multiple
30379 inclusions.
30380 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30381
9113ea1f
UD
303822011-06-28 Ulrich Drepper <drepper@gmail.com>
30383
5c0b8d90
UD
30384 [BZ #12935]
30385 * malloc/memusage.sh: Fix quoting in message.
30386 * debug/xtrace.sh: Likewise.
30387
9113ea1f
UD
30388 * configure.in: Remove support for --experimental-malloc option, make
30389 it the default.
30390 * config.make.in: Likewise.
30391 * malloc/Makefile: Likewise.
30392
a4172181
AS
303932011-06-27 Andreas Schwab <schwab@redhat.com>
30394
30395 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30396 two-byte characters.
30397
78a7eee7
RM
303982011-06-27 Roland McGrath <roland@hack.frob.com>
30399
62bede13
RM
30400 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30401 AC_CACHE_CHECK invocation.
30402 * configure: Regenerated.
30403
78a7eee7
RM
30404 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30405
5ce33a62
UD
304062011-06-27 Ulrich Drepper <drepper@gmail.com>
30407
034807a9
UD
30408 [BZ #12350]
30409 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30410 bit from old_res_options.
30411
4902da17
UD
30412 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30413
5ce33a62
UD
30414 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30415 value type for setfct.
30416
c2344f56
L
304172011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30418
30419 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30420 __gettimeofday instead of gettimeofday.
30421
68468076
UD
304222011-06-26 Ulrich Drepper <drepper@gmail.com>
30423
30424 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30425
acb0d739
L
304262011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30427
30428 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30429
30430 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30431 info.
30432
8912479f
L
304332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30434
30435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30436 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30437 strcpy-sse2-unaligned strncpy-sse2-unaligned
30438 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30439 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30440 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30441 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30442 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30443 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30444 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30445 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30446 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30447 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30448 (STRCPY): Support SSE2 and SSSE3 versions.
30449
d5495a11
UD
304502011-06-24 Ulrich Drepper <drepper@gmail.com>
30451
30452 [BZ #12874]
30453 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30454 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30455 kernels which artificially limit size of requests.
30456
0b1cbaae
L
304572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30458
30459 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30460 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30461 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30462 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30463 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30464 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30465 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30466 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30467 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30468 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30469 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30470 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30471 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30472 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30473 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30475 Enable unaligned load optimization for Intel Core i3, i5 and i7
30476 processors.
30477 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30478 Define.
30479 (index_Fast_Unaligned_Load): Define.
30480 (HAS_FAST_UNALIGNED_LOAD): Define.
30481
07f494a0
MP
304822011-06-23 Marek Polacek <mpolacek@redhat.com>
30483
30484 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30485
fa3fc0fe
UD
304862011-06-22 Ulrich Drepper <drepper@gmail.com>
30487
30488 [BZ #12907]
30489 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30490 until it is clear that the information is realy needed.
30491 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30492
e12df166
AS
304932011-06-22 Andreas Schwab <schwab@redhat.com>
30494
30495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30496
852eb34d
UD
304972011-06-22 Ulrich Drepper <drepper@gmail.com>
30498
84e2a551
UD
30499 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30500 /sys/devices/system/cpu/online if it is usable.
30501
852eb34d
UD
30502 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30503 reading the information from the /proc filesystem to once a second.
30504
6e502e19
UD
305052011-06-21 Andreas Jaeger <aj@suse.de>
30506
30507 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30508 NULL after inclusion of kernel headers.
30509
75d39ff2
UD
305102011-06-21 Ulrich Drepper <drepper@gmail.com>
30511
51f9aa6a
UD
30512 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30513 calls to internal_setent.
30514
c0244a9d
UD
30515 [BZ #12885]
30516 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30517 addresses using gethostbyname4_r ignore IPv4 addresses.
30518
c5e3c2ae
UD
30519 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30520 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30521
75d39ff2
UD
30522 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30523
42675c6f
DM
305242011-06-20 David S. Miller <davem@davemloft.net>
30525
30526 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30527 inclusions.
30528 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30529
30530 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30531 (elf_irel): Use it.
30532 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30533 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30534 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30535 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30536 * sysdeps/x86_64/dl-irel.h: Likewise.
30537
30538 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30539 * elf/dl-sym.c: Likewise.
30540
57912a71
UD
305412011-06-15 Ulrich Drepper <drepper@gmail.com>
30542
30543 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30544 need to dereference resplen2.
30545
ee22793d
AS
305462011-06-14 Andreas Schwab <schwab@redhat.com>
30547
30548 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30549
a9e836b0
UD
305502011-06-15 Ulrich Drepper <drepper@gmail.com>
30551
77fb9117
UD
30552 * Makeconfig: Define vardbdir and inst_vardbdir.
30553 * nss/Makefile: Add rules to install db-Makefile.
30554
40c1b22c
UD
30555 * nss/nss_db/db-XXX.c: Cleanup.
30556
9f2da732
UD
30557 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30558 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30559 GLIBC_PRIVATE.
30560 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30561 * nss/makedb.c: Implement -g option to specify that value strings
30562 are generated and should not be added to table iterated over for
30563 get*ent calls.
30564 * nss/nss_db/db-initgroups.c: New file.
30565
82e9a1f7
UD
30566 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30567 interface.
30568
c41af17e
UD
30569 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30570 (internal_getgrouplist): Adjust to name change.
30571 Update use_initgroups_entry if this is not the first call.
30572 * nss/databases.def: Add initgroups entry.
30573
a9e836b0
UD
30574 * nss/makedb.c (compute_tables): Check result of multiple hash table
30575 sizes to minimize maximum chain length.
30576
2666d441
UD
305772011-06-14 Ulrich Drepper <drepper@gmail.com>
30578
30579 * Versions.def: Add entry for libnss_db.
30580 * shlib-versions: Likewise.
30581 * nss/Makefile: Add rules to build libnss_db.
30582 * nss/Versions: Add libnss_db information. Organize libnss_files
30583 entries better.
30584 * nss/db-Makefile: Add gshadow support. Change rules for the new
30585 makedb progra. Some minor improvements to generate smaller files.
30586 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30587 here from...
30588 * nss/makedb.c: ...here.
30589 Improve database format to be smaller and require less memory at
30590 runtime.
30591 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30592 db anymore.
30593 * nss/nss_db/db-netgrp.c: Likewise.
30594 * nss/nss_db/db-open.c: Likewise.
30595 * nss/nss_files/flies-XXX.x: Adjust comments.
30596 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30597 * nss/nss_files/files-grp.c: Likewise.
30598 * nss/nss_files/files-hosts.c: Likewise.
30599 * nss/nss_files/files-network.c: Likewise.
30600 * nss/nss_files/files-proto.c: Likewise.
30601 * nss/nss_files/files-pwd.c: Likewise.
30602 * nss/nss_files/files-rpc.c: Likewise.
30603 * nss/nss_files/files-service.c: Likewise.
30604 * nss/nss_files/files-sgrp.c: Likewise.
30605 * nss/nss_files/files-spwd.c: Likewise.
30606 * nss/nss_db/db-alias.c: Removed.
30607 * nss/nss_db/dummy-db.h: Removed.
30608
9ee76b5a
UD
306092011-06-02 Ulrich Drepper <drepper@gmail.com>
30610
30611 * nss/makedb.c: Rewritten to not use database library.
30612 * nss/Makefile: Update to build new makedb program.
30613
c71ca1f8
AJ
306142011-06-14 Andreas Jaeger <aj@suse.de>
30615
30616 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30617 memset declaration.
30618
3154bfb8
UD
306192011-06-10 Andreas Schwab <schwab@redhat.com>
30620
30621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30622 tmpbuf.
30623
b350afab
RM
306242011-06-10 Roland McGrath <roland@hack.frob.com>
30625
decd4e50
RM
30626 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30627 * elf/Makefile ($(objpfx)ld.so): Likewise.
30628
5615eaf2
RM
30629 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30630 Don't list ld.so twice in dependencies.
30631
30632 * posix/bug-regex31.c: Include <stdlib.h>.
30633
30634 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30635
30636 * nis/nss_compat/compat-spwd.c
30637 (getspent_next_nss_netgr): Remove unused variable.
30638 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30639
30640 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30641 nonmembers" output to use the right array.
30642
30643 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30644
30645 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30646
30647 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30648 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30649 * catgets/gencat.c (read_input_file): Likewise.
30650 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30651
30652 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30653 variable definition inside #if's controlling its use.
30654
30655 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30656
30657 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30658
30659 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30660
30661 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30662 unreachable code.
30663
30664 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30665
b68e08db
RM
30666 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30667 * configure: Regenerated.
30668
b350afab
RM
30669 * Makerules: Revert last change.
30670 * elf/Makefile: Likewise.
30671
28368601
RM
306722011-06-09 Roland McGrath <roland@hack.frob.com>
30673
30674 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30675 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30676 (reloc-link): Likewise.
30677
11988f8f
UD
306782011-06-09 Ulrich Drepper <drepper@gmail.com>
30679
30680 * elf/Makefile: Add rules to build pldd.
30681 * elf/pldd.c: New file.
30682 * elf/pldd-xx.c: New file.
30683
e80fab37
UD
306842011-06-07 Ulrich Drepper <drepper@gmail.com>
30685
30686 * version.h: Update for 2.15 development version.
30687
9b849836
DM
306882011-06-07 David S. Miller <davem@davemloft.net>
30689
30690 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30691 ifuncs.
30692 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30693 elf_machine_lazy_rel): Likewise.
30694 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30695 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30696 elf_machine_lazy_rel): Likewise.
30697 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30698 dl_hwcap via passed in argument.
30699 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30700 Likewise.
30701
5a31b283
AK
307022011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30703
30704 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30705
069e52f8
RM
307062011-06-06 Roland McGrath <roland@hack.frob.com>
30707
30708 [BZ #12849]
30709 * manual/fdl-1.1.texi: New file, verbatim from:
30710 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30711 * manual/lgpl-2.1.texi: New file, verbatim from:
30712 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30713 * manual/Makefile (licenses): New variable, list those new file names.
30714 (texis): Use it.
30715 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30716
30717 * manual/fdl.texi: File removed.
30718 * manual/lesser.texi: File removed.
30719 * manual/libc.texinfo (Copying, Documentation License):
30720 Use new @include file names, put @appendix directive before @include.
30721
f16846a5
JJ
307222011-06-04 Jakub Jelinek <jakub@redhat.com>
30723
30724 [BZ #12841]
30725 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30726 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30727 (mq_open): Add __NTH.
30728
3d29045b
L
307292011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30730
30731 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30732 Assume Intel Core i3/i5/i7 processor if AVX is available.
30733
8c297311
UD
307342011-05-31 Ulrich Drepper <drepper@gmail.com>
30735
30736 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30737 typo.
30738
c8fc0c91
UD
307392011-05-31 Andreas Schwab <schwab@redhat.com>
30740
30741 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30742 memory. Use alloca_account. Fix memory leak when retrying.
30743
5b27a807
UD
307442011-05-31 Ulrich Drepper <drepper@gmail.com>
30745
356f8bc6
UD
30746 * version.h (RELEASE): Bump for 2.14 release.
30747 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30748
5b27a807
UD
30749 * config.make.in (RANLIB): Remove entry.
30750
01f16ab0
UD
307512011-05-30 Ulrich Drepper <drepper@gmail.com>
30752
41fce8bd
UD
30753 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30754 (libc.pot): Work around missing support for .ksh extension in xgettext.
30755
4769ae77
UD
30756 [BZ #12684]
30757 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30758 if both request failed.
30759 (send_dg): In case of server errors clear resplen or *resplen2.
30760
6b1e7d19
UD
30761 [BZ #12454]
30762 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30763 when there are multiple maps.
30764 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30765 (_dl_fini): Remove test here.
30766
01f16ab0
UD
30767 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30768
b1ebd700
UD
307692011-05-29 Ulrich Drepper <drepper@gmail.com>
30770
7ae22829
UD
30771 [BZ #12350]
30772 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30773 bit from old_res_options.
30774 (gaih_inet): Likewise.
30775
553149f6 30776 [BZ #11099]
18a84741 30777 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30778 as signed.
30779
652ffab1
UD
30780 * resolv/res_init.c (res_setoptions): Make the code more compact.
30781
16985fd0
UD
30782 [BZ #11558]
30783 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30784 set RES_USEVC.
30785
0464f746
UD
30786 [BZ #11634]
30787 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30788
7d17596c
UD
30789 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30790
cf6bbbd7
UD
30791 [BZ #11781]
30792 * malloc/malloc.h: Declare malloc hook variables as volatile.
30793
13f1ab36
UD
30794 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30795 in last patch.
30796
b1ebd700
UD
30797 [BZ #11799]
30798 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30799 raise in the comment.
80e2212d
UD
30800 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30801 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30802 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30803
ce67228d
UD
308042011-05-28 Ulrich Drepper <drepper@gmail.com>
30805
8887a920
UD
30806 [BZ #12811]
30807 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30808 grow the buffers more if it already has to be sufficient.
30809 (build_wcs_upper_buffer): Likewise.
30810 * posix/regexec.c (check_matching): Likewise.
30811 (clean_state_log_if_needed): Likewise.
30812 (extend_buffers): Don't enlarge buffers beyond size of the input
30813 buffer.
30814 Patches mostly by Emil Wojak <emil@wojak.eu>.
30815 * posix/bug-regex32.c: New file.
30816 * posix/Makefile (tests): Add bug-regex32.
30817
4f031072
UD
30818 * locale/findlocale.c (_nl_find_locale): Return right away if
30819 _nl_explode_name failed.
30820 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30821
d0478f0c
UD
30822 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30823
de81b246
UD
30824 * debug/xtrace.sh: Unify messages.
30825 * malloc/memusage.sh: Likewise.
30826
c738465a
UD
30827 [BZ #12813]
30828 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30829 time symbol from vDSO. Substitute with vsyscall if not available.
30830 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30831 __vdso_time.
30832
f1f929d7
UD
30833 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30834 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30835 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30836 Add sendmmsg and internal_sendmmsg.
30837 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30838 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30839 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30840
ce67228d
UD
30841 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30842 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30843 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30844
e57420c6
UD
308452011-05-27 Ulrich Drepper <drepper@gmail.com>
30846
a8509ca5
UD
30847 [BZ #12813]
30848 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30849 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30850 available.
30851 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30852 __vdso_getcpu.
30853
e57420c6
UD
30854 [BZ #12814]
30855 * iconvdata/Makefile (tests): Add bug-iconv9.
30856 * iconvdata/bug-iconv9.c: New file.
30857
4d07db15
AS
308582011-05-27 Andreas Schwab <schwab@redhat.com>
30859
30860 [BZ #12814]
30861 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30862
ea486f69
JJ
308632011-05-25 Jakub Jelinek <jakub@redhat.com>
30864
30865 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30866 (struct user_regs_struct): Change intcs field back to cs.
30867
6f038433
UD
308682011-05-25 Ulrich Drepper <drepper@gmail.com>
30869
30870 * po/ja.po: Update from translation team.
30871
67f86a25
UD
308722011-05-23 Ulrich Drepper <drepper@gmail.com>
30873
30874 [BZ #12795]
30875 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30876 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30877
def7fbd6
AS
308782011-05-20 Andreas Schwab <schwab@redhat.com>
30879
30880 * stdlib/longlong.h: Update from GCC.
30881
f50ef8f1
AS
308822011-05-23 Andreas Schwab <schwab@redhat.com>
30883
30884 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30885 parameter name.
30886 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30887 Add parameter name.
30888 (__sysconf): Pass it down.
30889
de7ce8f1
UD
308902011-05-22 Ulrich Drepper <drepper@gmail.com>
30891
f2962a71
UD
30892 [BZ #12671]
30893 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30894 some situations.
30895 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30896 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30897 add in in __libc_use_alloca calls. Adjust callers.
30898 (glob): Use malloc in some situations.
30899
de7ce8f1
UD
30900 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30901 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30902 pltexit.
30903
aec84f53
UD
309042011-05-21 Ulrich Drepper <drepper@gmail.com>
30905
05bb4a68
UD
30906 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30907 and CLOCK_BOOTTIME_ALARM.
30908
7ea72f99
UD
30909 [BZ #12782]
30910 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30911 is returned.
30912
7e4afad5
UD
30913 * string/_strerror.c (__strerror_r): Print negative errors as signed
30914 numbers.
30915
8e211fec
UD
30916 [BZ #12777]
30917 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30918 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30919 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30920
f7d82dc9
UD
30921 * configure.in: Fix typo in redirection and correct removal of test
30922 files in two cases.
30923
cc9e536d
UD
30924 [BZ #12788]
30925 * locale/setlocale.c (new_composite_name): Fix test to check for
30926 identical name of all categories.
30927
aec84f53
UD
30928 [BZ #12792]
30929 * libio/filedoalloc.c (local_isatty): New function.
30930 (_IO_file_doallocate): Use local_isatty.
30931 * stdio-common/perror.c (perror): In case a new stream is used
30932 forward the stream error.
30933 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30934 error flag.
30935
78e64fdc
RT
309362011-05-20 Ulrich Drepper <drepper@gmail.com>
30937
34a9094f
UD
30938 [BZ #11869]
30939 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30940 alloca.
30941 * include/alloca.h (extend_alloca_account): Define.
30942
78e64fdc
RT
30943 [BZ #11857]
30944 * posix/regex.h: Fix comments with documentation of user-accessible
30945 fields after compilation and describe correct free'ing of pattern
30946 after re_compile_pattern.
30947 Patch by Reuben Thomas <rrt@sc3d.org>.
30948
457bddfc
RA
309492011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30950
30951 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30952 and -mno-altivec to prevent the compiler from using Altivec and/or
30953 VSX instructions when the corresponding registers are not available.
30954
a4527b51
AS
309552011-05-19 Andreas Schwab <schwab@redhat.com>
30956
30957 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30958
ed690b2f
UD
309592011-05-19 Ulrich Drepper <drepper@gmail.com>
30960
30961 * libio/freopen.c (freopen): Use __dup2, not dup2.
30962 * libio/freopen64.c (freopen64): Likewise.
30963
8db73634
L
309642011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30965
30966 [BZ #12775]
30967 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30968 * math/Makefile (tests): Add test-powl.
30969 (CFLAGS-test-powl.c): Define.
30970 * math/test-powl.c: New file.
30971
0a197a9d
L
309722011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30973
30974 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30975
ee30c380
UD
309762011-05-17 Ulrich Drepper <drepper@gmail.com>
30977
30978 [BZ #11837]
30979 * iconvdata/gb18030.c: Update to GB18020-2005.
30980
6ce75379
UD
309812011-05-16 Ulrich Drepper <drepper@gmail.com>
30982
a4b89fd8
AR
30983 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30984 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30985 Patch by Aharon Robbins <arnold@skeeve.com>.
30986
ea389b12
UD
30987 [BZ #11892]
30988 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30989 on the stack.
30990
68a3f91f
UD
30991 [BZ #11895]
30992 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30993 through underflows.
30994
15cc7dd1
UD
30995 [BZ #12766]
30996 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30997 point to strings before performing equality test for error_one_per_line
30998 mode.
30999
f3799213
UD
31000 [BZ #11697]
31001 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31002
d79a9c94
UD
31003 [BZ #11820]
31004 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31005 (struct user_fpregs_struct): Avoid __uint*_t types.
31006
56e5eb46
UD
31007 [BZ #6420]
31008 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31009 symbol info. Use it instead of calling _dl_addr locally.
31010 (lock_and_info): New function.
31011 (tr_freehook): Call lock_and_info and pass symbol info as additional
31012 parameter to tr_where.
31013 (tr_mallochook): Likewise.
31014 (tr_reallochook): Likewise.
31015 (tr_memalignhook): Likewise.
31016
6ce75379
UD
31017 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31018 used and couldn't be at all thread-safe.
31019
f8a3b5bf
UD
310202011-05-15 Ulrich Drepper <drepper@gmail.com>
31021
94b7cc37
UD
31022 * libio/freopen.c (freopen): Don't close old file descriptor
31023 before the new one is opened. Instead dup the new file descriptor
31024 to the old one after the new stream is created.
31025 * libio/freopen64.c (freopen64): Likewise.
31026 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31027 * libio/fileops.c (_IO_new_file_close_it): Handle new
31028 _IO_FLAGS2_NOCLOSE flag.
31029 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31030 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31031 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31032 _IO_FLAGS2_NOCLOSE flag.
31033 * include/unistd.h: Add hidden_proto for dup3.
31034 Define __have_dup3.
31035 * io/dup3.c: Define hidden symbol.
31036 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31037
bd25564e
UD
31038 [BZ #7101]
31039 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31040 when an incomplete long option is used.
31041 * posix/tst-getopt_long1.c: New file.
31042 * posix/Makefile (tests): Add tst-getopt_long1.
31043
c84cfef4
UD
31044 [BZ #10138]
31045 * scripts/config.guess: Update from autoconf-2.68.
31046 * scripts/config.sub: Likewise.
31047
3b85df27
UD
31048 [BZ #10157]
31049 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31050 tests into ...
31051 (has_cpuclock): ...this. New function.
31052 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31053 macro here based on has_cpuclock code.
31054
15a856b1
UD
31055 [BZ #10149]
31056 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31057 First byte (not low byte) is now always NUL.
31058 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31059
05f399e6
UD
31060 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31061 Use non-cancelable interfaces.
31062
10a52685 31063 [BZ #9809]
94ecc67d
UD
31064 * locale/iso-639.def: Add entry for Sorani.
31065
f8a3b5bf
UD
31066 [BZ #11901]
31067 * include/stdlib.h: Move include protection to the right place.
31068 Define abort_msg_s. Declare __abort_msg with it.
31069 * stdlib/abort.c (__abort_msg): Adjust type.
31070 * assert/assert.c (__assert_fail_base): New function. Majority
31071 of code from __assert_fail. Allocate memory for __abort_msg with
31072 mmap.
31073 (__assert_fail): Now call __assert_fail_base.
31074 * assert/assert-perr.c: Remove bulk of implementation. Use
31075 __assert_fail_base.
31076 * include/assert.hL Declare __assert_fail_base.
31077 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31078 mmap.
31079 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31080
1af4e298
UD
310812011-05-14 Ulrich Drepper <drepper@gmail.com>
31082
f8a3b5bf 31083 [BZ #11952]
d26dfc60
MG
31084 [BZ #12453]
31085 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31086 until all modules are registered in the DTV.
31087 * elf/Makefile: Add rules to build and run tst-tls19.
31088 * elf/tst-tls19.c: New file.
31089 * elf/tst-tls19mod1.c: New file.
31090 * elf/tst-tls19mod2.c: New file.
31091 * elf/tst-tls19mod3.c: New file.
31092 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31093
2fc54d6f
UD
31094 [BZ #12083]
31095 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31096 correctly.
31097
98d76b46
UD
31098 [BZ #12601]
31099 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31100 two-byte sequence errors.
31101 * iconvdata/Makefile (tests): Add bug-iconv8.
31102 * iconvdata/bug-iconv8.c: New file.
31103
da3c19ef
UD
31104 [BZ #12626]
31105 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31106 buf2 definition.
31107
ca408c15
UD
31108 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31109
d6f67f7d
UD
31110 [BZ #12432]
31111 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31112 (dummy_getcfa): New function.
31113 (init): Get _Unwind_GetCFA address, use dummy if not found.
31114 (backtrace_helper): In recursion check, also check whether CFA changes.
31115 (__backtrace): Completely initialize arg.
31116
1af4e298 31117 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
31118 storing incomplete byte sequence in state object. Avoid testing for
31119 guaranteed too small input if we know there is enough data available.
1af4e298 31120
da62f81b
AS
311212011-05-11 Andreas Schwab <schwab@redhat.com>
31122
31123 * Makeconfig (+link-pie): Indent.
31124 * Rules (binaries-pie): Define if $(have-fpie) and
31125 $(build-shared).
31126 (binaries-shared): Also filter out $(binaries-pie).
31127 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31128 * nscd/Makefile (others-pie): Add nscd.
31129 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31130 ($(objpfx)nscd): Remove command override.
31131 * login/Makefile (others-pie): Add pt_chown.
31132 ($(objpfx)pt_chown): Remove command override.
31133 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31134 remove command overrides.
31135
fcabc0f8
UD
311362011-05-13 Ulrich Drepper <drepper@gmail.com>
31137
20030ae6
UD
31138 * libio/tst_putwc.c: Fix error messages.
31139
fcabc0f8
UD
31140 [BZ #12724]
31141 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31142 currently writing and seek to current position when not.
31143 * libio/Makefile (tests): Add bug-fclose1.
31144 * libio/bug-fclose1.c: New file.
31145
320a5dc0
PB
311462011-05-12 Ulrich Drepper <drepper@gmail.com>
31147
31148 [BZ #12511]
31149 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31150 don't set DF_1_NODELETE here.
31151 (do_lookup_x): When entering new entry test for copy relocation
31152 and if necessary set DF_1_NODELETE flag.
31153 * elf/tst-unique4.cc: New file.
31154 * elf/tst-unique4.h: New file.
31155 * elf/tst-unique4lib.cc: New file.
31156 * elf/Makefile: Add rules to build and run tst-unique4.
31157 Patch by Piotr Bury <pbury@goahead.com>.
31158
22836f52
UD
311592011-05-11 Ulrich Drepper <drepper@gmail.com>
31160
f574184a
UD
31161 [BZ #12052]
31162 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31163
e1fb097f
UD
31164 [BZ #12625]
31165 * misc/mntent_r.c (addmntent): Flush the stream after the output
31166
22836f52
UD
31167 [BZ #12393]
31168 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31169 (is_trusted_path_normalize): Skip initial colon. Append slash
31170 to empty buffer. Duplicate is_trusted_path code but allow
31171 constructed patch to be prefix.
31172 (is_dst): Allow $ORIGIN followed by /.
31173 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31174 Correct testing of result of is_trusted_path_normalize
31175 (decompose_rpath): Fix warning.
31176
7b3b0b2a
UD
311772011-05-10 Ulrich Drepper <drepper@gmail.com>
31178
31179 [BZ #11257]
31180 * grp/initgroups.c (internal_getgrouplist): When we found the service
31181 list through the initgroups entry in nsswitch.conf do not always
31182 continue on a successful lookup. Don't always use the
eac80ce2 31183 __nss_group_database value if it is set.
7b3b0b2a
UD
31184 * nss/nsswitch.conf (initgroups): Change action for successful db
31185 lookup to continue for compatibility.
31186
2a81eaa5
UD
311872011-05-09 Ulrich Drepper <drepper@gmail.com>
31188
be97a69e
UD
31189 [BZ #11532]
31190 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31191 and CP774 modules.
31192 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31193 and CP774 modules.
31194 * iconvdata/tst-tables.sh: Likewise.
31195 * iconvdata/cp770.c: New file.
31196 * iconvdata/cp771.c: New file.
31197 * iconvdata/cp772.c: New file.
31198 * iconvdata/cp773.c: New file.
31199 * iconvdata/cp774.c: New file.
31200 * iconvdata/testdata/CP770: New file.
31201 * iconvdata/testdata/CP770..UTF8: New file.
31202 * iconvdata/testdata/CP771: New file.
31203 * iconvdata/testdata/CP771..UTF8: New file.
31204 * iconvdata/testdata/CP772: New file.
31205 * iconvdata/testdata/CP772..UTF8: New file.
31206 * iconvdata/testdata/CP773: New file.
31207 * iconvdata/testdata/CP773..UTF8: New file.
31208 * iconvdata/testdata/CP774: New file.
31209 * iconvdata/testdata/CP774..UTF8: New file.
31210
31211 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31212 END CHARMAP line.
31213 * iconvdata/gen-8bit-gap.sh: Likewise.
31214 * iconvdata/gen-8bit.sh: Likewise.
31215
c1e9e399
UD
31216 * locale/iso-639.def: Add ary entry.
31217
24c55fb3 31218 [BZ #11258]
96b4b1b0
UD
31219 * locale/C-translit.h.in: Add U20A1 transliteration.
31220
bdc2f971
KB
31221 [BZ #12178]
31222 * locale/iso-639.def: Add wae entry.
31223 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31224
2952b117
UD
31225 [BZ #12545]
31226 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31227 for n.
31228
2a81eaa5
UD
31229 [BZ #12711]
31230 * locale/C-translit.h.in: Add entry for U20B9.
31231 Patch by pravin.d.s@gmail.com.
31232
28377d1b
UD
312332011-05-08 Ulrich Drepper <drepper@gmail.com>
31234
7fb90fb8
UD
31235 [BZ #12713]
31236 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31237 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31238 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31239 in rtld. Use *stat64.
7fb90fb8 31240 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31241 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31242 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31243 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31244 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31245 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31246 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31247 __fstatat64 macros.
7fb90fb8
UD
31248 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31249 * dirent/rewinddir.c: Add libc_hidden_def.
31250 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31251 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31252
28377d1b
UD
31253 * include/dirent.h (__alloc_dir): Add flags parameter.
31254 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31255 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31256 __alloc_dir.
31257 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31258 from fdopendir if O_CLOEXEC is already set.
31259
66bdbaa4
AM
312602011-03-15 Alan Modra <amodra@gmail.com>
31261
31262 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31263 l_tls_firstbyte_offset non-zero. Save padding offset in
31264 l_tls_firstbyte_offset for later use.
31265 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31266 freeing static tls block.
31267
95721191
JN
312682011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31269
31270 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31271 where #ifdef was intended. The intent is to prevent ARG_MAX from
31272 being defined by the kernel headers.
31273
f87dfb1f
UD
312742011-05-07 Ulrich Drepper <drepper@gmail.com>
31275
31276 [BZ #12734]
31277 * resolv/resolv.h: Define RES_NOTLDQUERY.
31278 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31279 no-tld-query and set RES_NOTLDQUERY.
31280 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31281 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31282 modern BIND to search name as TLD unless forbidden.
31283
47c3cd7a
UD
312842011-05-07 Petr Baudis <pasky@suse.cz>
31285 Ulrich Drepper <drepper@gmail.com>
31286
31287 [BZ #12393]
31288 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31289 (is_trusted_path): ...to here.
c1e9ea35 31290 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31291 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31292 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31293
8a35c912
PP
312942011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31295
31296 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31297 __BEGIN/__END_DECLS.
31298
acd41f47
UD
312992011-05-06 Ulrich Drepper <drepper@gmail.com>
31300
31301 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31302 NSS_STATUS_NOTFOUND if no record was found.
31303
597df647
AS
313042011-05-05 Andreas Schwab <schwab@redhat.com>
31305
31306 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31307 (headers-not-in-tirpc): Remove rpc/netdb.h
31308 * resolv/netdb.h: Revert last change.
31309
b9af1301
PP
313102011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31311
31312 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31313 circular dependency between libgcc.a and libc.a.
31314
4e34d5f5
AS
313152011-05-05 Andreas Schwab <schwab@redhat.com>
31316
31317 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31318 * nis/Makefile: Don't install rpcsvc/*.
31319 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31320 instead of <rpc/types.h>.
31321 (MAXHOSTNAMELEN): Define.
31322
00ee369c
AS
313232011-05-03 Andreas Schwab <schwab@redhat.com>
31324
31325 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31326
0b592a30
MB
313272011-04-28 Maciej Babinski <mbabinski@google.com>
31328
31329 [BZ #12714]
31330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31331 gethostbyname4_r when IPv6 results are possible.
31332
6e04cbbe
UD
313332011-05-02 Ulrich Drepper <drepper@gmail.com>
31334
31335 [BZ #12723]
31336 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31337 _PC_PIPE_BUF handling.
31338
e4ecafe0
BH
313392011-04-30 Bruno Haible <bruno@clisp.org>
31340
31341 [BZ #12717]
31342 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31343 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31344 to 'int'.
31345 * inet/getnameinfo.c (getnameinfo): Likewise.
31346
125ee683
UD
313472011-04-29 Ulrich Drepper <drepper@gmail.com>
31348
31349 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31350 to groups setting in database lookup.
31351 * nss/nsswitch.conf: Add initgroups entry.
31352
b722481a
EB
313532011-04-22 Ulrich Drepper <drepper@gmail.com>
31354
31355 [BZ #12685]
31356 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31357 mode string.
31358 Patch by Eric Blake <eblake@redhat.com>.
31359
4df46dbd
L
313602011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31361
31362 * sunrpc/Makefile (need-export-routines): Add svc_run.
31363 (routines): Remove svc_run.
31364 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31365 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31366 * sunrpc/svc_run.c (svc_run): Likewise.
31367 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31368
e84142d2
UD
313692011-04-21 Ulrich Drepper <drepper@gmail.com>
31370
31371 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31372 problem in reallocation in last patch.
31373
877175d8
UD
313742011-04-20 Ulrich Drepper <drepper@gmail.com>
31375
31376 * sunrpc/Makefile: Move inclusion of Rules.
31377
ab8eed78
UD
313782011-04-19 Ulrich Drepper <drepper@gmail.com>
31379
31380 * nss/nss_files/files-initgroups.c: New file.
31381 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31382 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31383 _nss_files_initgroups_dyn.
31384
e3d8f584
RS
313852011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31386
31387 * elf/elf.h (R_ARM_IRELATIVE): Define.
31388
af190f45
UD
313892011-04-19 Ulrich Drepper <drepper@gmail.com>
31390
31391 * po/ru.po: Update from translation team.
31392
53cf59ef
UD
313932011-04-17 Ulrich Drepper <drepper@gmail.com>
31394
31395 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31396 dependencies.
31397
4c559bcd
MF
313982011-02-06 Mike Frysinger <vapier@gentoo.org>
31399
31400 [BZ #12653]
31401 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31402 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31403 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31404 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31405 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31406
4420675c
AS
314072011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31408
31409 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31410 differing bytes.
31411 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31412 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31413 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31414
75ea32ab
UD
314152011-04-17 Ulrich Drepper <drepper@gmail.com>
31416
31417 [BZ #12420]
31418 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31419 storing it.
31420 * stdlib/bug-getcontext.c: New file.
31421 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31422
27390476
AK
314232011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31424
31425 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31426 instructions into .machine "z9-109".
31427 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31428 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31429
10442705
AK
314302011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31431
31432 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31433 between environment variables and auxiliary vector.
31434
7b57bfe5
UD
314352011-04-16 Ulrich Drepper <drepper@gmail.com>
31436
31437 * Makefile: Add rules to build linkobj/libc.so.
31438 * include/libc-symbols.h: Define libc_hidden_nolink.
31439 * include/rpc/auth.h: Mark functions which are to be hidden.
31440 * include/rpc/auth_des.h: Likewise.
31441 * include/rpc/auth_unix.h: Likewise.
31442 * include/rpc/clnt.h: Likewise.
31443 * include/rpc/des_crypt.h: Likewise.
31444 * include/rpc/key_prot.h: Likewise.
31445 * include/rpc/pmap_clnt.h: Likewise.
31446 * include/rpc/pmap_prot.h: Likewise.
31447 * include/rpc/pmap_rmt.h: Likewise.
31448 * include/rpc/rpc_msg.h: Likewise.
31449 * include/rpc/svc.h: Likewise.
31450 * include/rpc/svc_auth.h: Likewise.
31451 * include/rpc/xdr.h: Likewise.
31452 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31453 * nss/Makefile: Likewise.
31454 * sunrpc/Makefile: Don't install headers. Build library with normal
31455 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31456 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31457 for the compat linking library. Remove use of INTDEF/INTUSE.
31458 * sunrpc/auth_none.c: Likewise.
31459 * sunrpc/auth_unix.c: Likewise.
31460 * sunrpc/authdes_prot.c: Likewise.
31461 * sunrpc/authuxprot.c: Likewise.
31462 * sunrpc/clnt_gen.c: Likewise.
31463 * sunrpc/clnt_perr.c: Likewise.
31464 * sunrpc/clnt_raw.c: Likewise.
31465 * sunrpc/clnt_simp.c: Likewise.
31466 * sunrpc/clnt_tcp.c: Likewise.
31467 * sunrpc/clnt_udp.c: Likewise.
31468 * sunrpc/clnt_unix.c: Likewise.
31469 * sunrpc/des_crypt.c: Likewise.
31470 * sunrpc/des_soft.c: Likewise.
31471 * sunrpc/get_myaddr.c: Likewise.
31472 * sunrpc/key_call.c: Likewise.
31473 * sunrpc/key_prot.c: Likewise.
31474 * sunrpc/netname.c: Likewise.
31475 * sunrpc/pm_getmaps.c: Likewise.
31476 * sunrpc/pm_getport.c: Likewise.
31477 * sunrpc/pmap_clnt.c: Likewise.
31478 * sunrpc/pmap_prot.c: Likewise.
31479 * sunrpc/pmap_prot2.c: Likewise.
31480 * sunrpc/pmap_rmt.c: Likewise.
31481 * sunrpc/publickey.c: Likewise.
31482 * sunrpc/rpc_cmsg.c: Likewise.
31483 * sunrpc/rpc_common.c: Likewise.
31484 * sunrpc/rpc_dtable.c: Likewise.
31485 * sunrpc/rpc_prot.c: Likewise.
31486 * sunrpc/rpc_thread.c: Likewise.
31487 * sunrpc/rtime.c: Likewise.
31488 * sunrpc/svc.c: Likewise.
31489 * sunrpc/svc_auth.c: Likewise.
31490 * sunrpc/svc_authux.c: Likewise.
31491 * sunrpc/svc_raw.c: Likewise.
31492 * sunrpc/svc_run.c: Likewise.
31493 * sunrpc/svc_simple.c: Likewise.
31494 * sunrpc/svc_tcp.c: Likewise.
31495 * sunrpc/svc_udp.c: Likewise.
31496 * sunrpc/svc_unix.c: Likewise.
31497 * sunrpc/svcauth_des.c: Likewise.
31498 * sunrpc/xcrypt.c: Likewise.
31499 * sunrpc/xdr.c: Likewise.
31500 * sunrpc/xdr_array.c: Likewise.
31501 * sunrpc/xdr_float.c: Likewise.
31502 * sunrpc/xdr_intXX_t.c: Likewise.
31503 * sunrpc/xdr_mem.c: Likewise.
31504 * sunrpc/xdr_rec.c: Likewise.
31505 * sunrpc/xdr_ref.c: Likewise.
31506 * sunrpc/xdr_sizeof.c: Likewise.
31507 * sunrpc/xdr_stdio.c: Likewise.
31508
e6c61494
UD
315092011-04-10 Ulrich Drepper <drepper@gmail.com>
31510
31511 [BZ #12650]
31512 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31513 * sysdeps/ia64/dl-tls.h: Likewise.
31514 * sysdeps/powerpc/dl-tls.h: Likewise.
31515 * sysdeps/s390/dl-tls.h: Likewise.
31516 * sysdeps/sh/dl-tls.h: Likewise.
31517 * sysdeps/sparc/dl-tls.h: Likewise.
31518 * sysdeps/x86_64/dl-tls.h: Likewise.
31519 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31520
34fe483e
AS
315212011-03-14 Andreas Schwab <schwab@redhat.com>
31522
31523 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31524 rpath element also skip the following colon.
31525 (expand_dynamic_string_token): Add is_path parameter and pass
31526 down to DL_DST_REQUIRED and _dl_dst_substitute.
31527 (decompose_rpath): Call expand_dynamic_string_token with
31528 non-zero is_path. Ignore empty rpaths.
31529 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31530 with zero is_path.
31531
f12a32e6
AS
315322011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31533
31534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31535 Make cancelable.
31536
38a7d692
UD
315372011-04-09 Ulrich Drepper <drepper@gmail.com>
31538
31539 [BZ #12655]
31540 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31541 Patch by Filipe David Manana <fdmanana@apache.org>.
31542
e451d22b
AS
315432011-04-07 Andreas Schwab <schwab@redhat.com>
31544
31545 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31546 Maintain aligned stack.
31547 (CHECK_RSP): Remove unused macro.
31548
dedc7c7b
UD
315492011-04-03 Ulrich Drepper <drepper@gmail.com>
31550
31551 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31552 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31553
94521213
UD
315542011-04-02 Ulrich Drepper <drepper@gmail.com>
31555
31556 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31557
8cb700c0 31558 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31559
0354e355
L
315602011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31561
31562 [BZ #12518]
31563 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31564 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31565 * sysdeps/x86_64/memmove.c: New file.
31566 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31567 (memcpy): Renamed to ...
31568 (__new_memcpy): This.
31569 (memcpy): Provide GLIBC_2_14 memcpy.
31570 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31571 (memcpy): Provide GLIBC_2_2_5 memcpy.
31572
8593482f
UD
315732011-04-01 Ulrich Drepper <drepper@gmail.com>
31574
31575 [BZ #12631]
31576 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31577
81a5726b
AS
315782011-03-30 Andreas Schwab <schwab@redhat.com>
31579
31580 * misc/syncfs.c: New file.
31581 * misc/Makefile (routines): Add syncfs.
31582 * posix/unistd.h: Declare syncfs.
31583 * sysdeps/unix/syscalls.list: Add syncfs.
31584
00e5419f
AS
315852011-04-01 Andreas Schwab <schwab@redhat.com>
31586
31587 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31588 open_by_handle_at.
31589 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31590 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31591 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31592 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31593 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31594 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31595 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31596
748876bf
UD
315972011-04-01 Ulrich Drepper <drepper@gmail.com>
31598
658e451d
UD
31599 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31600 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31601 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31602 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31603 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31604 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31605 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31606
748876bf
UD
31607 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31608 sync_file_range.c with -fexceptions.
31609 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31610 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31611 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31612 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31613 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31614 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31615 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31616 sync_file_range as cancellation point
31617 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31618 now a wrapper around __call_sync_file_range with cancellation handling.
31619 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31620 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31621 function name to __call_sync_file_range.
31622 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31623 Add call_sync_file_range.
748876bf 31624
6e63d5e1
AS
316252011-04-01 Andreas Schwab <schwab@redhat.com>
31626
31627 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31628 bits/timex.h.
6e63d5e1 31629
46998f74
UD
316302011-04-01 Ulrich Drepper <drepper@gmail.com>
31631
4c1423ed
UD
31632 * iconv/iconv.h: Fix typo in comment.
31633 * io/fcntl.h: Likewise.
31634 * libio/stdio.h: Likewise.
31635 * posix/spawn.h: Likewise.
31636 * posix/unistd.h: Likewise.
31637 * stdlib/stdlib.h: Likewise.
31638 * time/time.h: Likewise.
31639 * wcsmbs/wchar.h: Likewise.
31640
158648c0
UD
31641 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31642 open_by_handle): Add.
31643 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31644 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31645 Augment a few comments.
31646 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31647 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31648 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31649 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31650 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31651 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31652 open_by_handle.
31653
46998f74
UD
31654 * io/fcntl.h (AT_EMPTY_PATH): Define.
31655
83fe108b
UD
316562011-03-30 Ulrich Drepper <drepper@gmail.com>
31657
31658 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31659 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31660 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31661 to...
31662 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31663 * Versions.def: Add GLIBC_2.14.
31664 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31665 Export.
83fe108b 31666
bb242059
UD
316672011-03-22 Ulrich Drepper <drepper@gmail.com>
31668
31669 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31670 round counter.
31671 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31672
c97a1282
L
316732011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31674
31675 [BZ #12597]
31676 * string/test-strncmp.c (do_page_test): New function.
31677 (check2): Likewise.
31678 (test_main): Call check2.
31679 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31680
2a115601
UD
316812011-03-20 Ulrich Drepper <drepper@gmail.com>
31682
31683 [BZ #12587]
31684 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31685 Handle cache information in CPU leaf 4.
31686 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31687
8126d904
UD
316882011-03-18 Ulrich Drepper <drepper@gmail.com>
31689
042c49c6 31690 [BZ #12583]
8126d904
UD
31691 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31692 character representation.
31693 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31694
ccfe366e
RA
316952011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31696
31697 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31698 END(__isnan) to END(__isnanf) to match function entry point/label
31699 EALIGN(__isnanf,...).
31700
c6e13027
JJ
317012011-03-10 Jakub Jelinek <jakub@redhat.com>
31702
31703 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31704
33f85a3f
UD
317052011-03-10 Ulrich Drepper <drepper@gmail.com>
31706
028478fa
UD
31707 [BZ #12510]
31708 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31709 copy from the symbol referenced in the relocation to initialize the
31710 used variable.
31711 Patch by Piotr Bury <pbury@goahead.com>.
31712 * elf/Makefile: Add rules to build and tst-unique3.
31713 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31714 * elf/tst-unique3.cc: New file.
31715 * elf/tst-unique3.h: New file.
31716 * elf/tst-unique3lib.cc: New file.
31717 * elf/tst-unique3lib2.cc: New file.
31718
33f85a3f
UD
31719 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31720
03592fc7
MF
317212011-03-10 Mike Frysinger <vapier@gentoo.org>
31722
31723 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31724 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31725 to _start.
03592fc7 31726
6a5ee102
UD
317272011-03-06 Ulrich Drepper <drepper@gmail.com>
31728
31729 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31730 to-be-loaded object along a path to loader is ld.so.
31731
7e4ba49c
HJ
317322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31733 Ulrich Drepper <drepper@gmail.com>
31734
31735 * sysdeps/x86_64/memset.S: After aligning destination, code
31736 branches to different locations depending on the value of
31737 misalignment, when multiarch is enabled. Fix this.
31738
317392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31740
31741 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31742 Set _x86_64_preferred_memory_instruction for AMD processsors.
31743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31744 Set bit_Prefer_SSE_for_memop for AMD processors.
31745
13a804de
UD
317462011-03-04 Ulrich Drepper <drepper@gmail.com>
31747
31748 * libio/fmemopen.c (fmemopen): Optimize a bit.
31749
9d25c392
AS
317502011-03-03 Andreas Schwab <schwab@redhat.com>
31751
31752 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31753
a5543c6a
RM
317542011-03-03 Roland McGrath <roland@redhat.com>
31755
31756 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31757
012d35f7
DM
317582011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31759
7e4ba49c 31760 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31761 __bzero_ultra1 instead of __memset_ultra1.
31762
4bff6e01
AS
317632011-02-23 Andreas Schwab <schwab@redhat.com>
31764 Ulrich Drepper <drepper@gmail.com>
31765
31766 [BZ #12509]
31767 * include/link.h (struct link_map): Add l_orig_initfini.
31768 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31769 returning unsuccessfully.
31770 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31771 close of a file loaded at startup, restore the original l_initfini
31772 list.
31773 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31774 list, store the pointer.
31775 * elf/Makefile ($(objpfx)noload-mem): New rule.
31776 (noload-ENV): Define.
31777 (tests): Add $(objpfx)noload-mem.
31778 * elf/noload.c: Include <memcheck.h>.
31779 (main): Call mtrace. Close all opened handles.
31780
f2092faf
AS
317812011-02-17 Andreas Schwab <schwab@redhat.com>
31782
31783 [BZ #12454]
31784 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31785 dependencies are missing.
31786
6c8a2e88
ST
317872011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31788
f2092faf 31789 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31790 Hurd needs munmap.
31791 * sysdeps/mach/hurd/ifreq.h: New file.
31792
84a42118
PB
317932011-01-27 Petr Baudis <pasky@suse.cz>
31794 Ulrich Drepper <drepper@gmail.com>
31795
071f805e 31796 [BZ 12445]#
84a42118
PB
31797 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31798 to extend_alloca().
31799 * stdio-common/bug23.c: New file.
31800 * stdio-common/Makefile (tests): Add bug23.
31801
e23fe25b
AS
318022010-09-28 Andreas Schwab <schwab@redhat.com>
31803 Ulrich Drepper <drepper@gmail.com>
31804
31805 [BZ #12489]
31806 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31807 before performing relro protection. At old place add assertion
31808 to make sure nothing changed.
31809
d3f02e10
NS
318102011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31811 Glauber de Oliveira Costa <glommer@gmail.com>
31812
31813 * elf/elf.h: Add new ARM TLS relocs.
31814
d55fd7a5
RA
318152011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31816
31817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31818 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31819 cast from r3.
31820 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31821 'tests' variable.
31822 * sysdeps/wordsize-64/tst-writev.c: New file.
31823
2206397e
RA
318242011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31825
31826 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31827 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31828 insns in _dl_start to prevent a TOC reference before relocs are
31829 resolved.
31830
e9433893
UD
318312011-02-15 Ulrich Drepper <drepper@gmail.com>
31832
31833 [BZ #12469]
31834 * Makeconfig: Remove RANLIB definition.
31835 * Makerules: Don't use RANLIB.
31836 * aclocal.m4: Remove ranlib test.
31837 * configure.in: No need to check for ranlib.
31838 * elf/rtld-Rules: Don't use RANLIB.
31839
f75286c6
ST
318402011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31841
8e31c82d
ST
31842 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31843 protection macro.
31844 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31845 inclusion protection macro.
31846
f75286c6
ST
31847 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31848 SIGRTMIN and SIGRTMAX and print information in that case only when
31849 SIGRTMIN is defined.
31850
c1d0e639
JJ
318512011-02-11 Jakub Jelinek <jakub@redhat.com>
31852
31853 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31854 arginfo fn returning -1.
31855
31856 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31857 and thousands string is zero terminated.
31858
edf9294e
AS
318592011-02-03 Andreas Schwab <schwab@redhat.com>
31860
31861 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31862 sysdeps/unix/sysv/linux/bits/socket.h.
31863
2b7e92df
ST
318642011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31865
edf9294e
AS
31866 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31867 (__CPU_COUNT): Remove old macros.
31868 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31869 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31870 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31871 (__sched_cpualloc, __sched_cpufree): Add declarations.
31872
a4c7ea7b
UD
318732011-02-05 Ulrich Drepper <drepper@gmail.com>
31874
31875 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31876 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31877 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31878 (readdhstai): Return value of addhstaiX call.
31879 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31880 (addgrbyX): Return value returned by cache_addgr.
31881 (readdgrbyname): Return value returned by addgrbyX.
31882 (readdgrbygid): Likewise.
31883 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31884 (addpwbyX): Return value returned by cache_addpw.
31885 (readdpwbyname): Return value returned by addhstbyX.
31886 (readdpwbyuid): Likewise.
31887 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31888 (addservbyX): Return value returned by cache_addserv.
31889 (readdservbyname): Return value returned by addservbyX:
31890 (readdservbyport): Likewise.
31891 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31892 (addhstbyX): Return value returned by cache_addhst.
31893 (readdhstbyname): Return value returned by addhstbyX.
31894 (readdhstbyaddr): Likewise.
31895 (readdhstbynamev6): Likewise.
31896 (readdhstbyaddrv6): Likewise.
31897 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31898 (readdinitgroups): Return value returned by addinitgroupsX.
31899 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31900 (prune_cache): Keep track of timeout value of re-added entries.
31901 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31902 * nscd/nscd.h: Adjust prototypes of readd* functions.
31903
a0bf67cc
RM
319042011-02-04 Roland McGrath <roland@redhat.com>
31905
31906 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31907 (nis_stats): Likewise.
31908 * nis/nis_modify.c (nis_modify): Likewise.
31909 * nis/nis_remove.c (nis_remove): Likewise.
31910 * nis/nis_add.c (nis_add): Likewise.
31911
31912 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31913
31914 * posix/fnmatch_loop.c: Add some consts.
31915
31916 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31917
435b95eb
L
319182011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31919
31920 [BZ #12460]
31921 * config.make.in (config-cflags-novzeroupper): Define.
31922 * configure.in: Substitute libc_cv_cc_novzeroupper.
31923 * elf/Makefile (AVX-CFLAGS): Define.
31924 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31925 (CFLAGS-tst-auditmod4a.c): Likewise.
31926 (CFLAGS-tst-auditmod4b.c): Likewise.
31927 (CFLAGS-tst-auditmod6b.c): Likewise.
31928 (CFLAGS-tst-auditmod6c.c): Likewise.
31929 (CFLAGS-tst-auditmod7b.c): Likewise.
31930 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31931
8517b15e
UD
319322011-02-02 Ulrich Drepper <drepper@gmail.com>
31933
31934 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31935 function to the callback.
31936 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31937
10a656fe
AS
319382011-02-02 Andreas Schwab <schwab@redhat.com>
31939
31940 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31941 of errno.
31942
968dad0a
UD
319432011-01-19 Ulrich Drepper <drepper@gmail.com>
31944
9f94d2ea 31945 [BZ #11724]
968dad0a
UD
31946 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31947 of constructors.
31948 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31949 of destructors.
31950 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31951
31952 [BZ #11724]
31953 * elf/Makefile: Add rules to build and run new test.
31954 * elf/tst-initorder.c: New file.
31955 * elf/tst-initorder.exp: New file.
31956 * elf/tst-initordera1.c: New file.
31957 * elf/tst-initordera2.c: New file.
31958 * elf/tst-initordera3.c: New file.
31959 * elf/tst-initordera4.c: New file.
31960 * elf/tst-initorderb1.c: New file.
31961 * elf/tst-initorderb2.c: New file.
31962 * elf/tst-order-a1.c: New file.
31963 * elf/tst-order-a2.c: New file.
31964 * elf/tst-order-a3.c: New file.
31965 * elf/tst-order-a4.c: New file.
31966 * elf/tst-order-b1.c: New file.
31967 * elf/tst-order-b2.c: New file.
31968 * elf/tst-order-main.c: New file.
31969 New test case by George Gensure <werkt0@gmail.com>.
31970
86e92359
UD
319712010-10-01 Andreas Schwab <schwab@redhat.com>
31972
31973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31974 decoding ACE if AI_CANONIDN.
31975
5d5732b0
UD
319762011-01-18 Ulrich Drepper <drepper@gmail.com>
31977
31978 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31979
a77e8cbc
UD
319802011-01-17 Ulrich Drepper <drepper@gmail.com>
31981
6392473f
UD
31982 * version.h (RELEASE): Bump for 2.13 release.
31983 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31984
620a0529
UD
31985 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31986
18ba70a5
UD
31987 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31988 MADV_NOHUGEPAGE.
32465c3e
UD
31989 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31990 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31991 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31992 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31993 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31994 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31995
c0dafcf1
UD
31996 * posix/getconf.c: Update copyright year.
31997 * catgets/gencat.c: Likewise.
31998 * csu/version.c: Likewise.
31999 * debug/catchsegv.sh: Likewise.
32000 * debug/xtrace.sh: Likewise.
32001 * elf/ldconfig.c: Likewise.
32002 * elf/ldd.bash.in: Likewise.
32003 * elf/sprof.c (print_version): Likewise.
32004 * iconv/iconv_prog.c: Likewise.
32005 * iconv/iconvconfig.c: Likewise.
32006 * locale/programs/locale.c: Likewise.
32007 * locale/programs/localedef.c: Likewise.
32008 * malloc/memusage.sh: Likewise.
32009 * malloc/mtrace.pl: Likewise.
32010 * nscd/nscd.c (print_version): Likewise.
32011 * nss/getent.c: Likewise.
32012
a77e8cbc
UD
32013 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32014 PF_CAIF, and PF_ALG.
32015 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32016
77e8bddf
AS
320172011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32018
1f20b93a
AS
32019 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32020 (modules-names): Use them.
32021 (ifunc-test-modules, ifunc-pie-tests): Define.
32022 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32023 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32024 (test-extras): Likewise.
32025 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32026 $(compile-command.c).
32027 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32028 (all-built-dso): Define.
32029 (check-textrel.out, check-execstack.out): Depend on it.
32030
77e8bddf
AS
32031 * configure.in: Don't override --enable-multi-arch.
32032
bc425b33
UD
320332011-01-15 Ulrich Drepper <drepper@gmail.com>
32034
32035 [BZ #6812]
32036 * nscd/hstcache.c (tryagain): Define.
32037 (cache_addhst): Return tryagain not notfound for temporary errors.
32038 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32039 failed.
32040
794c3ad3
UD
320412011-01-14 Ulrich Drepper <drepper@gmail.com>
32042
70181fdd
UD
32043 [BZ #10563]
32044 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32045 to make the syscall.
32046 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32047
794c3ad3
UD
32048 [BZ #12378]
32049 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32050 and fall back to matching as normal character if the string ends before
32051 the matching ']' is found. This is what POSIX requires.
32052 * posix/testfnm.c: Adjust test result.
32053 * posix/globtest.sh: Adjust test result. Add new test.
32054 * posix/tst-fnmatch.input: Likewise.
32055 * posix/tst-fnmatch2.c: Add new test.
32056
68dc9497
AS
320572010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32058
32059 * elf/Makefile (check-execstack): Revert last change. Depend on
32060 check-execstack.h.
32061 (check-execstack.h): New target.
32062 (generated): Add check-execstack.h.
32063 * elf/check-execstack.c: Include "check-execstack.h".
32064 (main): Revert last change.
32065 (handle_file): Return zero if GNU_STACK is absent and
32066 DEFAULT_STACK_PERMS doesn't include PF_X.
32067
451f001b
UD
320682011-01-13 Ulrich Drepper <drepper@gmail.com>
32069
cfa28e56
UD
32070 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32071 in child fails because the descriptor is already closed.
8cf8ce17
UD
32072 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32073 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32074 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 32075
1086d70d
UD
32076 [BZ #12397]
32077 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32078 syscall.
32079
451f001b
UD
32080 [BZ #10484]
32081 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32082 temporary buffer used to handle multi lookups locally.
a85b5cb4 32083 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 32084
08769175
UD
320852011-01-12 Ulrich Drepper <drepper@gmail.com>
32086
32087 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32088 loader is ld.so.
32089
5e49c52e
UD
320902011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32091
32092 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32093 alignment for SSE2.
32094
60522a5f
UD
320952011-01-12 Ulrich Drepper <drepper@gmail.com>
32096
32097 [BZ #12394]
32098 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32099 characters. When rounding increased number of integer digits recompute
32100 number of groups.
32101 * stdio-common/tst-grouping.c: New file.
32102 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32103
f257bbd7
UD
321042011-01-09 Ulrich Drepper <drepper@gmail.com>
32105
32106 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32107 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32108
32109 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32110 void.
32111 * bits/select.h: Likewise.
32112
fa9c15cb
UD
321132011-01-08 Ulrich Drepper <drepper@gmail.com>
32114
32115 * po/ja.po: Update from translation team.
32116
16c2895f
DM
321172011-01-04 David S. Miller <davem@sunset.davemloft.net>
32118
32119 [BZ #11155]
32120 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32121 implementation just like for lxstat, fxstatat, et al.
32122
2543fef2
JM
321232010-12-27 Jim Meyering <meyering@redhat.com>
32124
32125 [BZ #12348]
32126 * posix/regexec.c (build_trtable): Return failure indication upon
32127 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32128
98727dbe
UD
321292010-12-25 Ulrich Drepper <drepper@gmail.com>
32130
5bd6dc5c
UD
32131 [BZ #12201]
32132 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32133 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32134 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32135 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32136
97983464
UD
32137 [BZ #12207]
32138 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32139
98727dbe
UD
32140 [BZ #12204]
32141 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32142 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32143
4a531bb0
L
321442010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32145
32146 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32147 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32148 script has SORT_BY_INIT_PRIORITY.
32149 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32150 NO_CTORS_DTORS_SECTIONS is defined.
32151 * elf/soinit.c: Likewise.
32152 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32153 NO_CTORS_DTORS_SECTIONS is defined.
32154 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32155 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32156 * sysdeps/sh/init-first.c: Likewise.
32157 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32158
07eb4b71
UD
321592010-12-24 Ulrich Drepper <drepper@gmail.com>
32160
32161 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32162 always use the slow path.
32163
30950a5f
RA
321642010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32165
32166 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32167 similar rule which adds the sysdep directories to the header search in
32168 order to pick up the correct platform stackinfo.h.
32169 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32170 perform test if it is, otherwise return successfully without testing.
32171 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32172 DEFAULT_STACK_PERMS define in stackinfo.h.
32173 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32174 defined in stackinfo.h.
32175 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32176 DEFAULT_STACK_PERMS defined in stackinfo.h.
32177 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32178 * sysdeps/ia64/stackinfo.h: Likewise.
32179 * sysdeps/s390/stackinfo.h: Likewise.
32180 * sysdeps/sh/stackinfo.h: Likewise.
32181 * sysdeps/sparc/stackinfo.h: Likewise.
32182 * sysdeps/x86_64/stackinfo.h: Likewise.
32183 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32184 PF_X for powerpc64. Retain PF_X for powerpc32.
32185
db753e2c
UD
321862010-12-19 Ulrich Drepper <drepper@gmail.com>
32187
14b697f7
UD
32188 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32189 accurately.
db753e2c
UD
32190 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32191 GETDENTS_64BIT_ALIGNED.
32192
28300719
UD
321932010-12-14 Ulrich Drepper <dreper@gmail.com>
32194
14b697f7 32195 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32196
4f197237
AS
321972010-12-10 Andreas Schwab <schwab@redhat.com>
32198
dbb0472f
AS
32199 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32200 _GNU_SOURCE.
32201
4f197237
AS
32202 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32203 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32204 Remove __restrict.
32205 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32206 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32207
fb88ac72
UD
322082010-12-09 Ulrich Drepper <drepper@gmail.com>
32209
32210 [BZ #11655]
32211 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32212 are initialized.
32213
42acbb92
JJ
322142010-12-09 Jakub Jelinek <jakub@redhat.com>
32215
32216 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32217
c038d98d
UD
322182010-12-03 Ulrich Drepper <drepper@gmail.com>
32219
32220 * po/it.po: Update from translation team.
32221
3a4a2499
L
322222010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32223
32224 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32225 unused codes.
32226
1e24cf6e
UD
322272010-11-30 Ulrich Drepper <drepper@gmail.com>
32228
32229 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32230
a7690819
AS
322312010-11-24 Andreas Schwab <schwab@redhat.com>
32232
32233 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32234 specially.
32235 (gaih_getanswer_slice): Likewise.
32236
3bf8d1b1
JJ
322372010-10-20 Jakub Jelinek <jakub@redhat.com>
32238
32239 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32240
6db52fbb
PB
322412010-05-31 Petr Baudis <pasky@suse.cz>
32242
32243 [BZ #11149]
32244 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32245 silently even in the chroot mode.
32246
eaca7569
UD
322472010-11-22 Ulrich Drepper <drepper@gmail.com>
32248
32249 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32250 last patch a bit. Pretty printing
32251
3056dcdb
UD
322522010-05-31 Petr Baudis <pasky@suse.cz>
32253
32254 [BZ #10085]
32255 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32256 initialization of skip_initgroups_dyn.
32257
cf7c9078
UD
322582010-11-19 Ulrich Drepper <drepper@gmail.com>
32259
32260 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32261 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32262
a1fb5e3e
UD
322632010-11-16 Ulrich Drepper <drepper@gmail.com>
32264
32265 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32266
3540d66b
AS
322672010-11-11 Andreas Schwab <schwab@redhat.com>
32268
32269 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32270 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32271 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32272 ($(objpfx)tst-fnmatch-mem): New rule.
32273 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32274 * posix/tst-fnmatch.c (main): Call mtrace.
32275
13b69574
L
322762010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32277
32278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32279 Support Intel processor model 6 and model 0x2c.
32280
da93d214
LM
322812010-11-10 Luis Machado <luisgpm@br.ibm.com>
32282
32283 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32284 signed comparison.
32285
8ca52c6e
L
322862010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32287
32288 [BZ #12205]
32289 * string/test-strncasecmp.c (check_result): New function.
32290 (do_one_test): Use it.
32291 (check1): New function.
32292 (test_main): Use it.
32293 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32294 Support strcasecmp and strncasecmp.
32295
69da074d
UD
322962010-11-08 Ulrich Drepper <drepper@gmail.com>
32297
32298 [BZ #12194]
32299 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32300 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32301
ff02d528
L
323022010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32303
32304 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32305 IFUNC support.
32306 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32307 memset-x86-64.
32308 * sysdeps/x86_64/multiarch/bzero.S: New file.
32309 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32310 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32311 * sysdeps/x86_64/multiarch/memset.S: New file.
32312 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32314 Set bit_Prefer_SSE_for_memop for Intel processors.
32315 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32316 Define.
32317 (index_Prefer_SSE_for_memop): Define.
32318 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32319
344d0b54
LM
323202010-11-04 Luis Machado <luisgpm@br.ibm.com>
32321
32322 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32323 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32324
c0dde15b
UD
323252010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32326
32327 [BZ #12191]
32328 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32329 (__x86_64_raw_data_cache_size_half): Likewise.
32330 (__x86_64_raw_shared_cache_size): Likewise.
32331 (__x86_64_raw_shared_cache_size_half): Likewise.
32332
32333 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32334 (__x86_64_raw_data_cache_size_half): Likewise.
32335 (__x86_64_raw_shared_cache_size): Likewise.
32336 (__x86_64_raw_shared_cache_size_half): Likewise.
32337 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32338 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32339 and __x86_64_raw_shared_cache_size_half. Round
32340 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32341 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32342 to multiple of 256 bytes.
32343
0e516e0e
MS
323442010-11-03 Ulrich Drepper <drepper@gmail.com>
32345
32346 [BZ #12167]
32347 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32348 of inacessible symlinks. Verify result of symlink before returning it.
32349 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32350 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32351
0e012e87
ER
323522010-10-28 Erich Ritz <erichritz@gmail.com>
32353
32354 * math/math.h (isinf): Fix typo in comment.
32355
de0ff7bc
UD
323562010-11-01 Ulrich Drepper <drepper@gmail.com>
32357
32358 * po/da.po: Update from translation team.
32359
fa41c84d
UD
323602010-10-26 Ulrich Drepper <drepper@gmail.com>
32361
32362 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32363 is added to the list.
32364
f0967738
AK
323652010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32366 Ulrich Drepper <drepper@gmail.com>
32367
32368 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32369 the global list here. Move code to...
32370 (_dl_add_to_namespace_list): ...here. New function.
32371 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32372 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32373 * elf/dl-load.c (lose): Don't remove the element from the list.
32374 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32375 (_dl_map_object): Likewise.
32376
323772010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32378
32379 [BZ #12159]
32380 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32381 into all bytes of SSE register.
32382 Patch by Richard Li <richardpku@gmail.com>.
32383
f0967738 323842010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32385
32386 [BZ #12140]
32387 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32388 perturbing.
32389
d0b9e94f
MB
323902010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32391
32392 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32393 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32394 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32395 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32397 submachine.
32398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32399
8e9f92e9
AS
324002010-10-22 Andreas Schwab <schwab@redhat.com>
32401
32402 * include/dlfcn.h (__RTLD_SECURE): Define.
32403 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32404 mode & __RTLD_SECURE instead.
32405 (open_path): Rename preloaded parameter to secure.
32406 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32407 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32408 * elf/dl-deps.c (openaux): Likewise.
32409 * elf/rtld.c (struct map_args): Remove is_preloaded.
32410 (map_doit): Don't use it.
32411 (dl_main): Likewise.
32412 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32413 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32414
bc96fbda
AS
324152010-09-09 Andreas Schwab <schwab@redhat.com>
32416
32417 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32418 (sysd-rules-targets): Remove duplicates.
32419 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32420 rtld-%.$o dependency.
32421
22cd1c9b
AS
324222010-10-18 Andreas Schwab <schwab@redhat.com>
32423
32424 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32425 _dl_map_object do it.
32426
18edac48
UD
324272010-10-19 Ulrich Drepper <drepper@gmail.com>
32428
32429 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32430 fast fma builtins, define the macros in the C99 standard.
32431 (FP_FAST_FMAF): Likewise.
32432 (FP_FAST_FMAL): Likewise.
32433 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32434
32435 * bits/mathdef.h: Update copyright year.
32436 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32437
d2050124
MM
324382010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32439
32440 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32441 builtins, define the macros in the C99 standard.
32442 (FP_FAST_FMAF): Likewise.
32443 (FP_FAST_FMAL): Likewise.
32444 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32445 multiply/add.
32446 (FP_FAST_FMAF): Likewise.
32447
475facd1
JJ
324482010-10-15 Jakub Jelinek <jakub@redhat.com>
32449
32450 [BZ #3268]
32451 * math/libm-test.inc (fma_test): Some new testcases.
32452 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32453 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32454 y and infinite z. Do multiplication by C already in long double.
32455 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32457 y and infinite z. Do bitwise or of inexact bit into u.d.
32458 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32459 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32460 * sysdeps/i386/fpu/s_fma.S: Removed.
32461 * sysdeps/i386/fpu/s_fmal.S: Removed.
32462
7c08a05c
JJ
324632010-10-16 Jakub Jelinek <jakub@redhat.com>
32464
32465 [BZ #3268]
32466 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32467 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32468 computation is not scheduled after fetestexcept. Fix value
32469 of minimum denormal long double.
32470
f3f7372d
JJ
324712010-10-14 Jakub Jelinek <jakub@redhat.com>
32472
32473 [BZ #3268]
32474 * math/libm-test.inc (fma_test): Add some more tests.
32475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32476 correctly.
32477
14d43591
AS
324782010-10-15 Andreas Schwab <schwab@redhat.com>
32479
32480 * scripts/data/localplt-s390-linux-gnu.data: New file.
32481 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32482
5e908464
JJ
324832010-10-13 Jakub Jelinek <jakub@redhat.com>
32484
32485 [BZ #3268]
32486 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32487 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32488 instead of dbl-64.
32489 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32490 inlines.
32491 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32493 if one of x and y is very large and the other is subnormal.
32494 * sysdeps/s390/fpu/s_fmaf.c: New file.
32495 * sysdeps/s390/fpu/s_fma.c: New file.
32496 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32497 * sysdeps/powerpc/fpu/s_fma.S: New file.
32498 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32499 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32500 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32501
325022010-10-12 Jakub Jelinek <jakub@redhat.com>
32503
32504 [BZ #3268]
32505 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32506 fma tests.
32507 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32508 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32509 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32510 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32511 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32512 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32513 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32514
b833d51f
UD
325152010-10-12 Ulrich Drepper <drepper@redhat.com>
32516
32517 [BZ #12078]
32518 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32519 * posix/bug-regex31.input: Add test case.
32520
1751705d
UD
325212010-10-11 Ulrich Drepper <drepper@gmail.com>
32522
e9b9cbf5
UD
32523 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32524 * posix/bug-regex31.input: New file.
32525
32526 [BZ #12078]
32527 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32528 (parse_sub_exp): Fix last change, use postorder.
32529
ef06edbe
UD
32530 * posix/bug-regex31.c: New file.
32531 * posix/Makefile: Add rules to build and run bug-regex31.
32532
a129c80d
UD
32533 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32534
32535 [BZ #12078]
32536 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32537
b76b818e
UD
32538 [BZ #12108]
32539 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32540 to have entries in sys_siglist.
32541
1751705d
UD
32542 [BZ #12093]
32543 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32544 be NULL.
32545
9ff8d36f
JJ
325462010-10-07 Jakub Jelinek <jakub@redhat.com>
32547
32548 [BZ #3268]
32549 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32550 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32551 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32552 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32553 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32554 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32555 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32556 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32557 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32558 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32559 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32560 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32561 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32562 * math/ftestexcept.c (fetestexcept): Likewise.
32563 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32564 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32565 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32566 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32567 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32568 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32569 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32570
af325969
UD
325712010-10-11 Ulrich Drepper <drepper@gmail.com>
32572
c579b202 32573 [BZ #12107]
af325969
UD
32574 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32575 newline.
32576
67a67b95
UD
325772010-10-06 Ulrich Drepper <drepper@gmail.com>
32578
32579 * string/bug-strstr1.c: New file.
32580 * string/Makefile: Add rules to build and run bug-strstr1.
32581
5fb308bc
EB
325822010-10-05 Eric Blake <eblake@redhat.com>
32583
32584 [BZ #12092]
32585 * string/str-two-way.h (two_way_long_needle): Always clear memory
32586 when skipping input due to the shift table.
32587
45db99c7
UD
325882010-10-03 Ulrich Drepper <drepper@gmail.com>
32589
3b111893
UD
32590 [BZ #12005]
32591 * malloc/mcheck.c: Handle large requests.
32592
45db99c7
UD
32593 [BZ #12077]
32594 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32595 for strncmp and strncasecmp.
32596 * string/stratcliff.c: Add tests for strcmp and strncmp.
32597 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32598
cf7a1eb8
NI
325992010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32600
32601 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32602 __set_fpscr.
32603
6484ba5e
AJ
326042010-09-30 Andreas Jaeger <aj@suse.de>
32605
32606 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32607 (CGROUP_SUPER_MAGIC): Define.
32608 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32609 Handle btrfs and cgroup file systems.
32610 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32611 Likewise.
32612
91c42559
LM
326132010-09-27 Luis Machado <luisgpm@br.ibm.com>
32614
32615 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32616 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32617
87a97932
AK
326182010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32619
32620 [BZ #12067]
32621 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32622 trying to locate the ELF header.
32623
c21cc9bc
AS
326242010-09-27 Andreas Schwab <schwab@redhat.com>
32625
32626 [BZ #11611]
32627 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32628 Mask out sign-bit copies when constructing f_fsid.
32629
315970f6
PB
326302010-09-24 Petr Baudis <pasky@suse.cz>
32631
32632 * debug/stack_chk_fail_local.c: Add missing licence exception.
32633 * debug/warning-nop.c: Likewise.
32634
1ac7a2c7
JM
326352010-09-15 Joseph Myers <joseph@codesourcery.com>
32636
32637 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32638 implementing getdents64 using getdents syscall, set d_type if
32639 __ASSUME_GETDENTS32_D_TYPE.
32640
56801c50
AS
326412010-09-16 Andreas Schwab <schwab@redhat.com>
32642
32643 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32644 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32645
dda51327
UD
326462010-09-21 Ulrich Drepper <drepper@redhat.com>
32647
32648 [BZ #12037]
32649 * posix/unistd.h: Undo change of feature selection for ftruncate from
32650 2010-01-11.
32651
8ffcee4a
UD
326522010-09-20 Ulrich Drepper <drepper@redhat.com>
32653
a545ecd9 32654 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32655 detection.
32656
e24f0a8b
AS
326572010-09-20 Andreas Schwab <schwab@redhat.com>
32658
32659 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32660 fanotify_mark.
32661 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32662
7291c56f
AS
326632010-09-14 Andreas Schwab <schwab@redhat.com>
32664
32665 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32666 variables after CHECK_SP call.
32667 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32668
bc5fb037
AS
326692010-09-13 Andreas Schwab <schwab@redhat.com>
32670 Ulrich Drepper <drepper@redhat.com>
32671
32672 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32673 re-relocationg ld.so.
32674 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32675 _dl_init_paths call.
32676 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32677 here anymore.
32678
e66e7419
UD
326792010-09-14 Ulrich Drepper <drepper@redhat.com>
32680
32681 * resolv/res_init.c (__res_vinit): Count the default server we added.
32682
c044aa75
CLT
326832010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32684 Ulrich Drepper <drepper@redhat.com>
32685
32686 [BZ #11968]
32687 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32688 (____longjmp_chk): Use %ebx for saving value across system call.
32689 Add unwind info.
32690
32cf4069
AS
326912010-09-06 Andreas Schwab <schwab@redhat.com>
32692
32693 * manual/Makefile: Don't mix pattern rules with normal rules.
32694
817328ee
AS
326952010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32696
32697 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32698 operation.
32699 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32700 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32701 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32702 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32703 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32704 Likewise.
32705
29fddf61
UD
327062010-09-04 Ulrich Drepper <drepper@redhat.com>
32707
32708 [BZ #11979]
32709 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32710 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32711
0959ffc9
UD
327122010-09-02 Ulrich Drepper <drepper@redhat.com>
32713
32714 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32715 * sysdeps/x86_64/addmul_1.S: Likewise.
32716 * sysdeps/x86_64/lshift.S: Likewise.
32717 * sysdeps/x86_64/mul_1.S: Likewise.
32718 * sysdeps/x86_64/rshift.S: Likewise.
32719 * sysdeps/x86_64/sub_n.S: Likewise.
32720 * sysdeps/x86_64/submul_1.S: Likewise.
32721
ece29840
ST
327222010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32723
0959ffc9
UD
32724 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32725 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32726 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32727 * bits/sched.h [__need_schedparam]
ece29840 32728 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32729 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32730 (__defined_schedparam): Define to 1.
ece29840
ST
32731 (__sched_param): New structure, identical to sched_param.
32732 (__need_schedparam): Undefine.
32733
e53a31fe
MF
327342010-08-31 Mike Frysinger <vapier@gentoo.org>
32735
fdc0c10d
MF
32736 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32737 (epoll_create1): Declare.
32738
e53a31fe
MF
32739 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32740
a726d796
AS
327412010-08-31 Andreas Schwab <schwab@redhat.com>
32742
32743 [BZ #7066]
32744 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32745 shifting retval into place.
32746
2f3e3dc7
UD
327472010-09-01 Ulrich Drepper <drepper@redhat.com>
32748
f2933da9
UD
32749 * nis/rpcsvc/nis.h: Update copyright notice.
32750 * nis/rpcsvc/nis.x: Likewise.
32751 * nis/rpcsvc/nis_callback.h: Likewise.
32752 * nis/rpcsvc/nis_callback.x: Likewise.
32753 * nis/rpcsvc/nis_object.x: Likewise.
32754 * nis/rpcsvc/nis_tags.h: Likewise.
32755 * nis/rpcsvc/yp.h: Likewise.
32756 * nis/rpcsvc/yp.x: Likewise.
32757 * nis/rpcsvc/ypupd.h: Likewise.
32758 * nis/yp_xdr.c: Likewise.
32759 * nis/ypupdate_xdr.c: Likewise.
32760
2f3e3dc7
UD
32761 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32762 mainly the body of pmap_getport. Add parameters to specify timeouts.
32763 (pmap_getport): Use __libc_rpc_getport.
32764 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32765 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32766 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32767
f3dcc2f9
AS
327682010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32769
32770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32771 fanotify_mark.
32772
6d34eb5b
RM
327732010-08-27 Roland McGrath <roland@redhat.com>
32774
32775 * sysdeps/i386/i686/multiarch/Makefile
32776 (CFLAGS-varshift.c): New variable.
32777
9ea3de11
UD
327782010-08-27 Ulrich Drepper <drepper@redhat.com>
32779
c96d23fc
UD
32780 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32781 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32782
9ea3de11
UD
32783 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32784
32785 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32786
623aac7f
L
327872010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32788
32789 * sysdeps/x86_64/strlen.S: Unroll the loop.
32790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32791 strlen-sse2 strlen-sse2-bsf.
32792 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32793 __strlen_no_bsf if bit_Slow_BSF is set.
32794 (__strlen_sse42): Removed.
32795 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32796 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32797
8b2b7715
RM
327982010-08-25 Roland McGrath <roland@redhat.com>
32799
32800 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32801 * sysdeps/x86_64/multiarch/varshift.c: New file.
32802 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32803 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32804 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32805 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32806
e73015f2
L
328072010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32808
32809 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32810 strlen-sse2 strlen-sse2-bsf.
32811 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32812 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32813 (__strlen_sse2): Removed.
32814 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32815 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32817 bit_Slow_BSF for Atom.
32818 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32819 (index_Slow_BSF): Define.
32820 (HAS_SLOW_BSF): Define.
32821
df24a73e
UD
328222010-08-25 Ulrich Drepper <drepper@redhat.com>
32823
32824 [BZ #10851]
32825 * resolv/res_init.c (__res_vinit): When no server address at all
32826 is given default to loopback.
32827
f2ac4868
RM
328282010-08-24 Roland McGrath <roland@redhat.com>
32829
09055553
RM
32830 * configure.in: Remove config-name.h generation.
32831 * configure: Regenerated.
32832 * config-name.in: File removed.
32833 * scripts/config-uname.sh: New file.
32834 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32835 ($(objdir)config-name.h): New target.
32836
f2ac4868
RM
32837 * sunrpc/rpc_parse.h: Avoid nested comment.
32838
73f27d5e
RH
328392010-08-24 Richard Henderson <rth@redhat.com>
32840 Ulrich Drepper <drepper@redhat.com>
32841 H.J. Lu <hongjiu.lu@intel.com>
32842
32843 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32844 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32845 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32846 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32847 _mm_alignr_epi8 with _mm_loadu_si128.
32848 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32849 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32850 (__m128i_shift_right): Removed.
32851 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32852 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32853 * sysdeps/x86_64/multiarch/varshift.h: New file.
32854 * sysdeps/x86_64/multiarch/varshift.S: New file.
32855
84b9230c
MF
328562010-08-21 Mike Frysinger <vapier@gentoo.org>
32857
32858 * configure.in: Move assembler checks to before sysdep dir checking.
32859
9bbd0ddc
PB
328602010-08-20 Petr Baudis <pasky@suse.cz>
32861
32862 * LICENSES: Sync the sunrpc license.
32863
9da4bb31
UD
328642010-08-19 Ulrich Drepper <drepper@redhat.com>
32865
a7ab6ec8
UD
32866 * sunrpc/auth_des.c: Update copyright notice once again.
32867 * sunrpc/auth_none.c: Likewise.
32868 * sunrpc/auth_unix.c: Likewise.
32869 * sunrpc/authdes_prot.c: Likewise.
32870 * sunrpc/authuxprot.c: Likewise.
32871 * sunrpc/bindrsvprt.c: Likewise.
32872 * sunrpc/clnt_gen.c: Likewise.
32873 * sunrpc/clnt_perr.c: Likewise.
32874 * sunrpc/clnt_raw.c: Likewise.
32875 * sunrpc/clnt_simp.c: Likewise.
32876 * sunrpc/clnt_tcp.c: Likewise.
32877 * sunrpc/clnt_udp.c: Likewise.
32878 * sunrpc/clnt_unix.c: Likewise.
32879 * sunrpc/des_crypt.c: Likewise.
32880 * sunrpc/des_soft.c: Likewise.
32881 * sunrpc/get_myaddr.c: Likewise.
32882 * sunrpc/getrpcport.c: Likewise.
32883 * sunrpc/key_call.c: Likewise.
32884 * sunrpc/key_prot.c: Likewise.
32885 * sunrpc/openchild.c: Likewise.
32886 * sunrpc/pm_getmaps.c: Likewise.
32887 * sunrpc/pm_getport.c: Likewise.
32888 * sunrpc/pmap_clnt.c: Likewise.
32889 * sunrpc/pmap_prot.c: Likewise.
32890 * sunrpc/pmap_prot2.c: Likewise.
32891 * sunrpc/pmap_rmt.c: Likewise.
32892 * sunrpc/rpc/auth.h: Likewise.
32893 * sunrpc/rpc/auth_unix.h: Likewise.
32894 * sunrpc/rpc/clnt.h: Likewise.
32895 * sunrpc/rpc/des_crypt.h: Likewise.
32896 * sunrpc/rpc/key_prot.h: Likewise.
32897 * sunrpc/rpc/netdb.h: Likewise.
32898 * sunrpc/rpc/pmap_clnt.h: Likewise.
32899 * sunrpc/rpc/pmap_prot.h: Likewise.
32900 * sunrpc/rpc/pmap_rmt.h: Likewise.
32901 * sunrpc/rpc/rpc.h: Likewise.
32902 * sunrpc/rpc/rpc_des.h: Likewise.
32903 * sunrpc/rpc/rpc_msg.h: Likewise.
32904 * sunrpc/rpc/svc.h: Likewise.
32905 * sunrpc/rpc/svc_auth.h: Likewise.
32906 * sunrpc/rpc/types.h: Likewise.
32907 * sunrpc/rpc/xdr.h: Likewise.
32908 * sunrpc/rpc_clntout.c: Likewise.
32909 * sunrpc/rpc_cmsg.c: Likewise.
32910 * sunrpc/rpc_common.c: Likewise.
32911 * sunrpc/rpc_cout.c: Likewise.
32912 * sunrpc/rpc_dtable.c: Likewise.
32913 * sunrpc/rpc_hout.c: Likewise.
32914 * sunrpc/rpc_main.c: Likewise.
32915 * sunrpc/rpc_parse.c: Likewise.
32916 * sunrpc/rpc_parse.h: Likewise.
32917 * sunrpc/rpc_prot.c: Likewise.
32918 * sunrpc/rpc_sample.c: Likewise.
32919 * sunrpc/rpc_scan.c: Likewise.
32920 * sunrpc/rpc_scan.h: Likewise.
32921 * sunrpc/rpc_svcout.c: Likewise.
32922 * sunrpc/rpc_tblout.c: Likewise.
32923 * sunrpc/rpc_util.c: Likewise.
32924 * sunrpc/rpc_util.h: Likewise.
32925 * sunrpc/rpcinfo.c: Likewise.
32926 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32927 * sunrpc/rpcsvc/key_prot.x: Likewise.
32928 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32929 * sunrpc/rpcsvc/mount.x: Likewise.
32930 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32931 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32932 * sunrpc/rpcsvc/rex.x: Likewise.
32933 * sunrpc/rpcsvc/rstat.x: Likewise.
32934 * sunrpc/rpcsvc/rusers.x: Likewise.
32935 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32936 * sunrpc/rpcsvc/spray.x: Likewise.
32937 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32938 * sunrpc/rtime.c: Likewise.
32939 * sunrpc/svc.c: Likewise.
32940 * sunrpc/svc_auth.c: Likewise.
32941 * sunrpc/svc_authux.c: Likewise.
32942 * sunrpc/svc_raw.c: Likewise.
32943 * sunrpc/svc_run.c: Likewise.
32944 * sunrpc/svc_simple.c: Likewise.
32945 * sunrpc/svc_tcp.c: Likewise.
32946 * sunrpc/svc_udp.c: Likewise.
32947 * sunrpc/svc_unix.c: Likewise.
32948 * sunrpc/svcauth_des.c: Likewise.
32949 * sunrpc/xcrypt.c: Likewise.
32950 * sunrpc/xdr.c: Likewise.
32951 * sunrpc/xdr_array.c: Likewise.
32952 * sunrpc/xdr_float.c: Likewise.
32953 * sunrpc/xdr_mem.c: Likewise.
32954 * sunrpc/xdr_rec.c: Likewise.
32955 * sunrpc/xdr_ref.c: Likewise.
32956 * sunrpc/xdr_sizeof.c: Likewise.
32957 * sunrpc/xdr_stdio.c: Likewise.
32958
9da4bb31
UD
32959 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32960 handling.
32961
bdaa77bc
AS
329622010-08-19 Andreas Schwab <schwab@redhat.com>
32963
32964 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32965
fe2f79db
LM
329662010-08-19 Luis Machado <luisgpm@br.ibm.com>
32967
32968 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32969 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32970 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32971 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32972 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32973 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32974 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32975 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32976 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32977 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32978 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32979 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32980 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32981 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32982
b9b42ee0
AB
329832010-07-26 Anton Blanchard <anton@samba.org>
32984
32985 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32986 * malloc/arena.c (heap_trim): Likewise.
32987
1c06ba31
UD
329882010-08-16 Ulrich Drepper <drepper@redhat.com>
32989
32990 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32991 here. Not...
32992 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32993 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32994
f8392f40
L
329952010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32996
32997 * sysdeps/i386/elf/Makefile: New file.
32998
3162f12e
AS
329992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33000
33001 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33002 from fanotify_init.
33003 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33004 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33005
28c90b2c
UD
330062010-08-15 Ulrich Drepper <drepper@redhat.com>
33007
33008 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33009 of strncasecmp_l.
1feccb6c 33010 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 33011
ca6bb004
UD
330122010-08-14 Ulrich Drepper <drepper@redhat.com>
33013
e9f82e0d
UD
33014 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33015 strncase_l-nonascii.
33016 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33017 Add strncase_l-ssse3.
33018 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33019 * sysdeps/x86_64/strcmp.S: Likewise.
33020 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33021 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33022 * sysdeps/x86_64/strncase.S: New file.
33023 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33024 * sysdeps/x86_64/strncase_l.S: New file.
33025 * string/Makefile (strop-tests): Add strncasecmp.
33026 * string/test-strncasecmp.c: New file.
33027
33028 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33029 warning.
33030
ca6bb004
UD
33031 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33032 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33033
052fa7b3
AS
330342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33035
33036 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33037
962dba78
UD
330382010-08-12 Ulrich Drepper <drepper@redhat.com>
33039
33040 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33041 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33042 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33043
bebff237
AM
330442010-05-01 Alan Modra <amodra@gmail.com>
33045
33046 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33047 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33048 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33049 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33050 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33051 tidying. Don't tail-call __sigjmp_save for static lib.
33052 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33053 save location.
33054 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33055 (CALL_MCOUNT): Add eh info, and nop after bl.
33056 (TAIL_CALL_SYSCALL_ERROR): New macro.
33057 (PSEUDO_RET): Use it.
33058 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33059 Correct save location of integer regs and cr.
33060 (_dl_profile_resolve): Correct cr save location. Delete nops
33061 after bl when SHARED. Reduce cfi size a little by better
33062 placement of cfi directives.
33063 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33064 make a stack frame. Instead use parm save area as a temp.
33065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33066 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33068 Don't make a stack frame for parent, use parm save area.
33069 Increase child stack frame to 112 bytes. Don't save unused reg,
33070 and adjust reg usage. Set up cfi on error recovery and
33071 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33073 (__makecontext): Add dummy nop after jump to exit.
33074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33075 Use correct parm save area and cr save, reduce stack frame.
33076 Correct cfi for possible PSEUDO_RET frame setup.
33077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33078 Branch to local label emitted by PSEUDO_RET rather than
33079 __syscall_error.
33080
02637374
AS
330812010-08-12 Andreas Schwab <schwab@redhat.com>
33082
33083 [BZ #11904]
33084 * locale/programs/locale.c (print_assignment): New function.
33085 (show_locale_vars): Use it.
33086
c3e2f19b
UD
330872010-08-11 Ulrich Drepper <drepper@redhat.com>
33088
3cdaa6ad
UD
33089 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33090 field.
33091 (struct statfs64): Likewise.
33092 (_STATFS_F_FLAGS): Define.
33093 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33094 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33095 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33096 (ST_VALID): Define locally.
33097 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33098 __statvfs_getflags, use the provided value.
33099 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33100 __ASSUME_STATFS_F_FLAGS.
33101
754f7da3
UD
33102 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33103
10b3bedc
UD
33104 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33105 Add sys/fanotify.h.
33106 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33107 fanotify_mask for GLIBC_2.13.
33108 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33109 fanotify_init and fanotify_mark.
33110 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33111 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33112
c08fb0d7
UD
33113 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33114 Add prlimit.
33115 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33116 prlimit64 for GLIBC_2.13.
33117 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33118 prlimit64.
33119 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33120 syscall.
33121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33122 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33123 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33124 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33125 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33126 add prlimit alias.
33127 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33128
15bac72b
UD
33129 [BZ #11903]
33130 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33131 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33132
c3e2f19b
UD
33133 * nss/Makefile: Add rules to build and run tst-nss-test1.
33134 * shlib-versions: Add entry for libnss_test1.
33135 * nss/nss_test1.c: New file.
33136 * nss/tst-nss-test1.c: New file.
33137
33138 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33139 (__nss_configure_lookup): Set appropriate entry in
33140 __nss_configure_lookup to true.
33141 * nss/nsswitch.h: Define enum with indeces of databases in
33142 databases and __nss_database_custom arrays. Declare
33143 __nss_database_custom.
33144 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33145 to avoid using nscd when custom rules are installed.
33146 * nss/getXXbyYY_r.c: Likewise.
33147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33148
33149 * nss/nss_files/files-parse.c: Whitespace fixes.
33150
f15ce4d8
UD
331512010-08-09 Ulrich Drepper <drepper@redhat.com>
33152
33153 [BZ #11883]
33154 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33155 * posix/fnmatch_loop.c: Likewise.
33156
d22e4cc9
AK
331572010-07-17 Andi Kleen <ak@linux.intel.com>
33158
33159 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33160 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33161 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33162 * Versions.def [GLIBC_2.13]: Add.
33163
805bc17d
UD
331642010-08-06 Ulrich Drepper <drepper@redhat.com>
33165
33166 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33167 Also fail if tpwd after pwuid call is NULL.
33168
5a42321d
ST
331692010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33170
33171 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33172 when converting to ms.
33173
fd3ebeda
ST
331742010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33175
33176 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33177 EOPNOTSUPP errors with ENOTTY.
33178 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33179 EOPNOTSUPP errors with ENOTTY.
33180
73507d3a
UD
331812010-07-31 Ulrich Drepper <drepper@redhat.com>
33182
33183 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33184 Add strcasecmp_l-ssse3.
33185 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33186 strcasecmp.
33187 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33188 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33189 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33190
fe36dd02
UD
331912010-07-30 Ulrich Drepper <drepper@redhat.com>
33192
66f6765a
UD
33193 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33194
42e08a54
UD
33195 * string/Makefile (strop-tests): Add strcasecmp.
33196 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33197 strcasecmp_l-nonascii.
33198 (gen-as-const-headers): Add locale-defines.sym.
33199 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33200 * sysdeps/x86_64/strcasecmp.S: New file.
33201 * sysdeps/x86_64/strcasecmp_l.S: New file.
33202 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33203 * sysdeps/x86_64/locale-defines.sym: New file.
33204 * string/test-strcasecmp.c: New file.
33205
fe36dd02
UD
33206 * string/test-strcasestr.c: Test both ends of the range of characters.
33207 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33208
48cbc0d6
RM
332092010-07-29 Roland McGrath <roland@redhat.com>
33210
76e6d6bc 33211 [BZ #11856]
48cbc0d6
RM
33212 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33213
880113d9
UD
332142010-07-27 Ulrich Drepper <drepper@redhat.com>
33215
33216 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33217 for ld.so.
33218
deb9cabb
AS
332192010-07-27 Andreas Schwab <schwab@redhat.com>
33220
33221 * manual/memory.texi (Malloc Tunable Parameters): Document
33222 M_PERTURB.
33223
1c7570ff
RM
332242010-07-26 Roland McGrath <roland@redhat.com>
33225
33226 [BZ #11840]
33227 * configure.in (-fgnu89-inline check): Set and substitute
33228 gnu89_inline, not libc_cv_gnu89_inline.
33229 * configure: Regenerated.
33230 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33231
24fb0f88
UD
332322010-07-26 Ulrich Drepper <drepper@redhat.com>
33233
33234 * string/test-strnlen.c: New file.
33235 * string/Makefile (strop-tests): Add strnlen.
33236 * string/tester.c (test_strnlen): Add a few more test cases.
33237 * string/tst-strlen.c: Better error reporting.
33238
33239 * sysdeps/x86_64/strnlen.S: New file.
33240
8e96b93a
UD
332412010-07-24 Ulrich Drepper <drepper@redhat.com>
33242
33243 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33244 lower-latency instructions.
33245
dbc676d4
UD
332462010-07-23 Ulrich Drepper <drepper@redhat.com>
33247
33248 * string/test-strcasestr.c: New file.
33249 * string/test-strstr.c: New file.
33250 * string/Makefile (strop-tests): Add strstr and strcasestr.
33251 * string/str-two-way.h: Don't undefine MAX.
33252 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33253
f6a31e0e
AS
332542010-07-21 Andreas Schwab <schwab@redhat.com>
33255
33256 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33257 strcasestr-nonascii.
33258 (CFLAGS-strcasestr-nonascii.c): Define.
33259 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33260 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33261 Remove unused attribute.
33262
5dbc3b6c
RM
332632010-07-20 Roland McGrath <roland@redhat.com>
33264
33265 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33266 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33267 ld.so.cache was broken. With it, there is no way to disable dsocaps
33268 like LD_HWCAP_MASK can disable hwcaps.
33269
23d101d8
EPM
332702010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33271
33272 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33273
cc9f2e47
UD
332742010-07-16 Ulrich Drepper <drepper@redhat.com>
33275
33276 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33277 call in strcasestr.
33278 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33279 __strcasestr_sse42_nonascii.
33280 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33281 strcasestr-nonascii.c.
33282 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33283
77c1b069
LM
332842010-06-15 Luis Machado <luisgpm@br.ibm.com>
33285
33286 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33287 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33288 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33289 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33290
440566c3
UD
332912010-07-09 Ulrich Drepper <drepper@redhat.com>
33292
33293 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33294 fcntl.
33295
5be9d05d
AS
332962010-07-06 Andreas Schwab <schwab@redhat.com>
33297
c30b7ee2 33298 [BZ #11577]
5be9d05d
AS
33299 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33300 dl_signal_cerror.
33301
8a492a67
UD
333022010-07-06 Ulrich Drepper <drepper@redhat.com>
33303
33304 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33305 _PC_PIPE_BUF using F_GETPIPE_SZ.
33306
713df3d5
RM
333072010-07-05 Roland McGrath <roland@redhat.com>
33308
33309 * manual/arith.texi (Rounding Functions): Fix rint description
33310 implicit in round description.
33311
702e8f14
UD
333122010-07-02 Ulrich Drepper <drepper@redhat.com>
33313
33314 * elf/Makefile: Fix linking for a few tests to make recent linker
33315 happy.
33316
52ed8be9
AS
333172010-06-30 Andreas Schwab <schwab@redhat.com>
33318
33319 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33320 $(common-objpfx)libc_nonshared.a.
33321
f47c9a11
LM
333222010-06-21 Luis Machado <luisgpm@br.ibm.com>
33323
33324 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33325 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33326 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33327 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33328 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33329 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33330 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33331 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33346 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33347 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33348 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33349 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33350 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33351 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33352 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33353 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33354 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33355 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33356 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33357 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33372
6fb8cbcb
L
333732010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33374
33375 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33376 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33377 * string/memmove.c (memmove): Renamed to ...
33378 (MEMMOVE): ...this. Default to memmove.
33379 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33380 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33381 (END_CHK): Define.
33382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33383 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33384 mempcpy-ssse3-back memmove-ssse3-back.
33385 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33386 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33387 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33388 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33389 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33390 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33391 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33392 * sysdeps/x86_64/multiarch/memmove.c: New file.
33393 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33394 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33395 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33396 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33397 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33398 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33399 Define.
33400 (index_Fast_Copy_Backward): Define.
33401 (HAS_ARCH_FEATURE): Define.
33402 (HAS_FAST_REP_STRING): Define.
33403 (HAS_FAST_COPY_BACKWARD): Define.
33404
4e733bac 334052010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33406
33407 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33408 Restore proper fallback handling.
33409
63c4ed22
UD
334102010-06-19 Ulrich Drepper <drepper@redhat.com>
33411
ac2b484c
UD
33412 [BZ #11701]
33413 * posix/group_member.c (__group_member): Correct checking loop.
33414
63c4ed22
UD
33415 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33416 OOM in getpwuid_r correctly. Return error number when the caller
33417 should return, otherwise -1.
33418 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33419 call returning > 0 value.
33420 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33421
765ade4b
AS
334222010-06-07 Andreas Schwab <schwab@redhat.com>
33423
33424 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33425 libc_nonshared.a from targets in modules-names.
33426
80da2e09
KS
334272010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33428
33429 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33430 requires it.
33431
158db122
LM
334322010-06-10 Luis Machado <luisgpm@br.ibm.com>
33433
33434 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33435 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33436 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33437 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33438
caa78cf8
AS
334392010-06-02 Andreas Schwab <schwab@redhat.com>
33440
33441 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33442
b2ef2c01
UD
334432010-06-14 Ulrich Drepper <drepper@redhat.com>
33444
33445 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33446 and F_GETPIPE_SZ.
33447 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33448 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33449 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33450 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33451 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33452 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33453
fbd643b6
RM
334542010-06-14 Roland McGrath <roland@redhat.com>
33455
33456 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33457
f32f2869
JJ
334582010-06-07 Jakub Jelinek <jakub@redhat.com>
33459
33460 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33461 __REDIRECT followed by __THROW.
33462 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33463 * posix/getopt.h (getopt): Likewise.
33464
2a50c078
EPM
334652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33466
33467 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33468 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33469 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33470 in AT_FLAGS.
33471 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33472 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33473
eb5ad2eb
LM
334742010-05-28 Luis Machado <luisgpm@br.ibm.com>
33475
33476 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33477
3c88fe1e
L
334782010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33479
33480 [BZ #11640]
33481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33482 Properly check family and model.
33483
d2f73151
TY
334842010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33485
33486 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33487
ebd2e13d
LM
334882010-05-24 Luis Machado <luisgpm@br.ibm.com>
33489
33490 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33491
b32b8b45
UD
334922010-05-21 Ulrich Drepper <drepper@redhat.com>
33493
33494 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33495 symbol reference.
33496
9acbe24d
AS
334972010-05-19 Andreas Schwab <schwab@redhat.com>
33498
33499 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33500 symbol reference.
33501
f0ccf6ea
AS
335022010-05-21 Andreas Schwab <schwab@redhat.com>
33503
3d04ff3a
AS
33504 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33505 and internal_recvmmsg.
33506 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33507 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33508 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33509 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33510
f0ccf6ea
AS
33511 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33512 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33513 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33514
5b08ac57
AS
335152010-05-20 Andreas Schwab <schwab@redhat.com>
33516
33517 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33518
4828935d
LM
335192010-05-17 Luis Machado <luisgpm@br.ibm.com>
33520
33521 POWER7 optimizations.
33522 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33523 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33524
373d545e
UD
335252010-05-19 Ulrich Drepper <drepper@redhat.com>
33526
33527 * version.h: Update for 2.13 development version.
33528
21a2b1ae
AS
335292010-05-12 Andrew Stubbs <ams@codesourcery.com>
33530
33531 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33532 exceptions. Return 0.
33533
3f7dcb2b
RM
335342010-05-07 Roland McGrath <roland@redhat.com>
33535
33536 * elf/ldconfig.c (main): Add a const.
33537
5f24d53a 335382010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33539
a160f8d8
UD
33540 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33541 (args_options): Add no-idn option.
33542 (ahosts_keys_int): Add idn_flags to ai_flags.
33543 (parse_option): Handle 'i' option to clear idn_flags.
33544
5f24d53a
UD
33545 * malloc/malloc.c (_int_free): Possible race in the most recently
33546 added check. Only act on the data if no current modification
33547 happened.
265bb1ce
UD
33548
33549See ChangeLog.17 for earlier changes.