]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC floating point little-endian [3 of 15]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
765714ca
AM
12013-10-04 Alan Modra <amodra@gmail.com>
2
3 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4 all uses of ieee854 long double macros and unions. Simplify tests
5 for long doubles that are fully specified by the high double.
6 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7 Likewise.
8 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9 Remove dead code too.
10 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11 (__ieee754_ynl): Likewise.
12 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15 Remove dead code too.
16 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20 Simplify.
21 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22 Simplify.
23 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
25 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26 Comment on variable precision.
27 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29 Likewise.
30 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
34 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
35
4ebd120c
AM
362013-10-04 Alan Modra <amodra@gmail.com>
37
38 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
39 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
40 all uses of ieee854 long double macros and unions.
41 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
42 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
44 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
45 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47 Likewise.
48 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
49 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
51 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
53 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
54 Simplify sign and nan test too.
55 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
56 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
57 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
58 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
59 Likewise.
60 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
61 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
62 Likewise.
63 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
65 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
66 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
67 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
68 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
69
1b6adf88
AM
702013-10-04 Alan Modra <amodra@gmail.com>
71
72 * stdio-common/printf_size.c (__printf_size): Don't use
73 union ieee854_long_double in fpnum union.
74 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
75 signbit macro to retrieve sign from long double.
76 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
77 retrieve sign from long double.
78 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
79 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
80 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
81 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
82 * math/test-misc.c (main): Don't use union ieee854_long_double.
83
4cf69995
AM
842013-10-04 Alan Modra <amodra@gmail.com>
85
86 [BZ #15680]
87 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
88 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
89 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
90 calculation. Remove unnecessary test for denormal exponent.
91 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
92 Correct handling of denormals. Avoid undefined shift behaviour.
93 Correct normalisation of low mantissa when low double is denormal.
94 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
95 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
96 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
97 Correct normalisation of low mantissa. Test for overflow of high
98 mantissa and normalise.
99 (ldbl_nearbyint): Use more readable constant for two52.
100 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
101 (__mpn_construct_long_double): Fix test for overflow of high
102 mantissa and correct normalisation. Avoid undefined shift.
103
9605ca6c
AM
1042013-10-04 Alan Modra <amodra@gmail.com>
105
106 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
107 (union ibm_extended_long_double): Define as an array of ieee754_double.
108 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
109 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
110 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
111 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
112 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
113 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
114 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
115 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
116 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
117 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
118 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
119
975569d0
JM
1202013-10-03 Joseph Myers <joseph@codesourcery.com>
121
d3d23756
JM
122 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
123 page size instead of calling getpagesize.
124
975569d0
JM
125 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
126 (LOCFILE_ALIGN_MASK): Likewise.
127 (LOCFILE_ALIGN_UP): Likewise.
128 (LOCFILE_ALIGNED_P): Likewise.
129 * locale/programs/ld-collate.c (collate_output): Use the new
130 macros instead of __alignof__ (int32_t).
131 * locale/weight.h (findidx): Likewise.
132
b1fe1f2b
OB
1332013-10-03 Ondřej Bílka <neleai@seznam.cz>
134
135 [BZ #431]
136 * manual/string.texi: Fix strncat and wcsncat.
137
5f855e35
BM
1382013-10-03 Brooks Moses <bmoses@google.com>
139
140 [BZ #15915]
141 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
142 * Makerules: ...here, and adjust associated comments.
143
3cef6009
WN
1442013-10-02 Will Newton <will.newton@linaro.org>
145
146 * malloc/Makefile: Add tst-pvalloc.
147 * malloc/tst-pvalloc.c: New file.
148
7815420b
WN
1492013-10-02 Will Newton <will.newton@linaro.org>
150
151 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
152 improve test coverage.
153
4868b204
WN
1542013-10-02 Will Newton <will.newton@linaro.org>
155
156 * malloc/Makefile: Add tst-posix_memalign.
157 * malloc/tst-posix_memalign.c: New file.
158
29c793b3
EB
1592013-10-01 Eric Blake <eblake@redhat.com>
160
161 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
162 Use __THROWNL rather than __THROW on static functions.
163
fd967522
PM
1642013-09-30 Petr Machata <pmachata@redhat.com>
165
166 * elf/elf.h (R_AARCH64_ABS16): New macro.
167 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
168 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
169 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
170 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
171 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
172 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
173 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
174 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
175 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
176 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
177 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
178 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
179 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
180 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
181 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
182 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
183 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
184 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
185 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
186 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
187 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
188 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
189 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
190 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
191 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
192 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
193 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
194 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
195 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
196 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
197 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
198 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
199 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
200 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
201 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
202 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
203 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
204 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
205 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
206 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
207 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
208 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
209 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
210 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
211 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
212 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
213 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
214 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
215 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
216 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
217 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
218 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
219 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
220 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
221 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
222 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
223 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
224 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
225 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
226 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
227 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
228 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
229 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
230 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
231 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
232 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
233 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
234 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
235 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
236 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
237 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
238 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
239 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
240 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
241 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
242 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
243 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
244 (R_AARCH64_TLSDESC_LDR): Likewise.
245 (R_AARCH64_TLSDESC_ADD): Likewise.
246 (R_AARCH64_TLSDESC_CALL): Likewise.
247
b2179107
AS
2482013-09-30 Andreas Schwab <schwab@suse.de>
249
250 [BZ #15048]
251 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
252 the nss database lookup.
253 * nscd/initgrcache.c (addinitgroupsX): Likewise.
254 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
255
47f28d0a
MF
2562013-09-28 Mike Frysinger <vapier@gentoo.org>
257
258 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
259
2602013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
261
262 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
263 ${Bash-specific parameter/pattern/string} parameter expansion.
264 * sysdeps/unix/make-syscalls.sh: Likewise.
265
f4518a17
KK
2662013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
267
268 * sysdeps/sh/stackguard-macros.h: New file.
269
dc1a95c7
OB
2702013-09-26 Ondřej Bílka <neleai@seznam.cz>
271
272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
273 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
274 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
275 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
276 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
277 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
278
5ebbff8f
AZ
2792013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
280
281 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
282 Fix thread ID register.
283
4fd2cf9f
JM
2842013-09-25 Joseph Myers <joseph@codesourcery.com>
285
286 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
287 [POSIX || UNIX98]: Require rather than permitting all symbols from
288 <time.h>.
289 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
290 element of struct sched_param.
291 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
292 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
293 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
294 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
295 constant.
296
12c22bc4
OL
2972013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
298
299 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
300 argument calculation.
301
a03d8ea7
JM
3022013-09-24 Joseph Myers <joseph@codesourcery.com>
303
304 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
305 Expect macro.
306 [POSIX] (pthread_attr_t): Do not require type.
307 [POSIX] (pthread_cond_t): Likewise.
308 [POSIX] (pthread_condattr_t): Likewise.
309 [POSIX] (pthread_key_t): Likewise.
310 [POSIX] (pthread_mutex_t): Likewise.
311 [POSIX] (pthread_mutexattr_t): Likewise.
312 [POSIX] (pthread_once_t): Likewise.
313 [POSIX] (pthread_t): Likewise.
314 [POSIX-based standards] (pthread_atfork): Expect function.
315
6055173a
JM
3162013-09-24 Joseph Myers <joseph@codesourcery.com>
317 Richard Sandiford <richard@codesourcery.com>
318
319 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
320 (swap_endianness_p): New extern variable.
321 (set_big_endian): New inline function.
322 (maybe_swap_uint32): Likewise.
323 (maybe_swap_uint32_array): Likewise.
324 (maybe_swap_uint32_obstack): Likewise.
325 * locale/programs/locfile.c: Include <stdbool.h>.
326 (swap_endianness_p): New variable.
327 (add_locale_uint32): Call maybe_swap_uint32.
328 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
329 (write_locale_data): Call maybe_swap_uint32_array.
330 * locale/programs/ld-collate.c (obstack_int32_grow): Call
331 maybe_swap_uint32.
332 (obstack_int32_grow_fast): Likewise.
333 (output_weightwc): Call maybe_swap_uint32_obstack.
334 (collate_output): Likewise.
335 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
336 (OPT_LITTLE_ENDIAN): Likewise.
337 (options): Add --little-endian and --big-endian options.
338 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
339 * locale/programs/locarchive.c: Include "locfile.h".
340 (GET): New macro.
341 (SET): Likewise.
342 (INC): Likewise.
343 (create_archive): Use the new macros to access fields of
344 structures directly mapped from or written to locale archives.
345 (oldlocrecentcmp): Likewise.
346 (enlarge_archive): Likewise.
347 (insert_name): Likewise.
348 (add_alias): Likewise.
349 (add_locale): Likewise.
350 (delete_locales_from_archive): Likewise.
351 (show_archive_content): Likewise.
352 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
353 locale data.
354
39bf0bb4
RM
3552013-09-24 Roland McGrath <roland@hack.frob.com>
356
357 * manual/freemanuals.texi: Updated from (newly) canonical copy at
358 http://www.gnu.org/doc/freemanuals.texi.
359 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
360
f02eed10
WN
3612013-09-24 Will Newton <will.newton@linaro.org>
362
363 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
364 macro.
365
a3a6c312
JM
3662013-09-23 Joseph Myers <joseph@codesourcery.com>
367
368 * locale/hashval.h (compute_hashval): Interpret bytes of key as
369 unsigned char.
370
107375ac
MR
3712013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
372
373 * manual/threads.texi (POSIX Threads): Fix a typo.
374
141f3a77
SP
3752013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
376
303e567a
SP
377 [BZ #14547]
378 * string/tst-strcoll-overflow.c: New test case.
379 * string/Makefile (xtests): Add tst-strcoll-overflow.
380 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
381 cache if string sizes may cause integer overflow.
382
141f3a77
SP
383 [BZ #14547]
384 * string/strcoll_l.c (coll_seq): New members rule, idx,
385 save_idx and back_us.
386 (get_next_seq_nocache): New function.
387 (do_compare_nocache): New function.
388 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
389 when malloc fails.
390
c61b4d41
CD
3912013-09-23 Carlos O'Donell <carlos@redhat.com>
392
0b1f8e35
CD
393 [BZ #15754]
394 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
395 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
396 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
397
c61b4d41
CD
398 [BZ #15754]
399 * elf/Makefile (tests): Add tst-ptrguard1.
400 (tests-static): Add tst-ptrguard1-static.
401 (tst-ptrguard1-ARGS): Define.
402 (tst-ptrguard1-static-ARGS): Define.
403 * elf/tst-ptrguard1.c: New file.
404 * elf/tst-ptrguard1-static.c: New file.
405 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
406 * sysdeps/i386/stackguard-macros.h: Likewise.
407 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
408 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
409 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
410 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
411 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
412 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
413
4142013-09-23 Hector Marco <hecmargi@upv.es>
415 Ismael Ripoll <iripoll@disca.upv.es>
416 Carlos O'Donell <carlos@redhat.com>
417
418 [BZ #15754]
419 * sysdeps/generic/stackguard-macros.h: Define
420 __pointer_chk_guard_local and POINTER_CHK_GUARD.
421 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
422 Define __pointer_chk_guard_local.
423 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
424 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
425
f5f4e7b4
VV
4262013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
427
428 [BZ #15859]
429 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
430
5bb43a43
AS
4312013-09-20 Andreas Schwab <schwab@linux-m68k.org>
432
433 * include/string.h (__ffs): Declare as hidden.
434 * string/ffs.c (__ffs): Define as hidden.
435 * sysdeps/i386/ffs.c (__ffs): Likewise.
436 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
437 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
438 * sysdeps/s390/ffs.c (__ffs): Likewise.
439 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
440
3ea5be54
AO
4412013-09-20 Alexandre Oliva <aoliva@redhat.com>
442
ffb89e53
AO
443 * NEWS: Mention malloc probes.
444
322dea08
AO
445 * malloc/arena.c (new_heap): New memory_heap_new probe.
446 (grow_heap): New memory_heap_more probe.
447 (shrink_heap): New memory_heap_less probe.
448 (heap_trim): New memory_heap_free probe.
449 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
450 (systrim): New memory_sbrk_less probe.
451 * manual/probes.texi: Document them.
452
655673f3
AO
453 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
454 * manual/probes.texi: Document it.
455
35fed6f1
AO
456 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
457 (__libc_realloc): Add memory_realloc_retry probe.
458 (__libc_memalign): Add memory_memalign_retry probe.
459 (__libc_valloc): Add memory_valloc_retry probe.
460 (__libc_pvalloc): Add memory_pvalloc_retry probe.
461 (__libc_calloc): Add memory_calloc_retry probe.
462 * manual/probes.texi: Document them.
463
6999d38c
AO
464 * malloc/arena.c (get_free_list): Add probe
465 memory_arena_reuse_free_list.
466 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
467 and memory_arena_reuse.
468 (arena_get2) [!PER_THREAD]: Likewise.
469 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
470 memory_arena_reuse_realloc.
471 * manual/probes.texi: Document them.
472
0653427f
AO
473 * malloc/malloc.c (__libc_free): Add
474 memory_mallopt_free_dyn_thresholds probe.
475 (__libc_mallopt): Add multiple memory_mallopt probes.
476 * manual/probes.texi: Document them.
477
3ea5be54
AO
478 * malloc/malloc.c: Include stap-probe.h.
479 (__libc_mallopt): Add memory_mallopt probe.
480 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
481 * manual/probes.texi: New.
482 * manual/Makefile (chapters): Add probes.
483 * manual/threads.texi: Set next node.
484
e35696c3 4852013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 486
e35696c3
CL
487 [BZ #15963, #13985]
488 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
489 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
490 Add `Chinese' to `nan' entry name.
491
4aafb73c
SP
4922013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
493
494 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
495 (POLYNOMIAL): Likewise.
496 (TAYLOR_SINCOS): Likewise.
497 (TAYLOR_SLOW): Likewise.
498 (__sin): Use TAYLOR_SINCOS.
499 (__cos): Likewise.
500 (slow): Use TAYLOR_SLOW.
501 (sloww): Likewise.
502 (bsloww): Likewise.
503 (csloww): Likewise.
504
d84f25c7
LD
5052013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
506
507 * stdlib/strtod_l.c: Fix buffer overrun.
508
5eea0404
SP
5092013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
510
7849ff93
SP
511 * benchtests/Makefile (bench): Add sincos.
512 * benchtests/bench-sincos.c: New file.
513
cfa3c886
SP
514 * math/libm-test.inc (cos_test_data): New test inputs.
515 (sin_test_data): Likewise.
516
b348e1e3
SP
517 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
518 macro.
519 (__sin): Use it.
520 (__cos): Likewise.
521 (slow1): Likewise.
522 (slow2): Likewise.
523 (sloww1): Likewise.
524 (sloww2): Likewise.
525 (bsloww1): Likewise.
526 (bsloww2): Likewise.
527 (cslow2): Likewise.
528 (csloww1): Likewise.
529 (csloww2): Likewise.
530
6cce25f8
SP
531 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
532 function.
533 (__sin): Use it.
534 (__cos): Likewise.
535
5eea0404
SP
536 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
537 gotos.
538 (__cos): Likewise.
539
9c21573c
MR
5402013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
541
542 * config.h.in (HAVE_MIPS_NAN2008): New macro.
543 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
544 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
545 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
546 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
547 * elf/cache.c (print_entry): Handle the new cache flags.
548
24d22e65
JM
5492013-09-18 Joseph Myers <joseph@codesourcery.com>
550 Aldy Hernandez <aldyh@redhat.com>
551
552 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
553 Change condition to [_SOFT_FLOAT].
554 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
555 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
556 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
557 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
558 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
559 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
560 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
561 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
562 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
563 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
564 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
565 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
566 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
567 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
568 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
569 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
570 declaration.
571
d13ef066
JM
5722013-09-18 Joseph Myers <joseph@codesourcery.com>
573
2e071de0
JM
574 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
575 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
576 (__longjmp): Use LOAD_GP to load saved GPRs.
577 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
578 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
579 (__sigsetjmp): Use SAVE_GP to save GPRs.
580
d13ef066
JM
581 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
582 Do not append -msoft-float.
583 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
584
97a0650b
SP
5852013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
586
587 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
588
11ca09e9
JM
5892013-09-17 Joseph Myers <joseph@codesourcery.com>
590
591 [BZ #15966]
592 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
593 (_FPU_GETCW): Use initial "__" on variable and field names but not
594 on macro parameter name.
595 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
596 parentheses around reference to macro parameter.
597
08ffcf34
RS
5982013-09-13 Richard Sandiford <richard@codesourcery.com>
599
600 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
601 prototype.
602 (ctype_startup): Use uint32_t in cast and sizeof for
603 ctype->charnames.
604
ae7080d3
JL
6052013-09-11 Jia Liu <proljc@gmail.com>
606
607 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
608 __daddr_t_defined.
609 [__FreeBSD__]: Likewise.
610
5905e7b3
OB
6112013-09-11 Ondřej Bílka <neleai@seznam.cz>
612
613 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
614 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
615 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
616 (strchr): Remove __strchr_sse42 ifunc selection.
617 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
618 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
619
b987c776
WN
6202013-09-11 Will Newton <will.newton@linaro.org>
621
622 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
623 parameter to RES. Remove hardcoded 1000 value.
624 * benchtests/bench-skeleton.c (main): Pass RES parameter
625 to TIMING_INIT and multiply result by 1000.
626
ddf985af
AZ
6272013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
628
629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
630
ffdd3181
AS
6312013-09-11 Andreas Schwab <schwab@suse.de>
632
633 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
634 if not defined.
635 (O_TMPFILE) [__USE_GNU]: Define.
636 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
637 Define.
638
b73ed247
WN
6392013-09-11 Will Newton <will.newton@linaro.org>
640
641 [BZ #15857]
642 * malloc/malloc.c (__libc_memalign): Check the value of bytes
643 does not overflow.
644
55e17aad
WN
6452013-09-11 Will Newton <will.newton@linaro.org>
646
647 [BZ #15856]
648 * malloc/malloc.c (__libc_valloc): Check the value of bytes
649 does not overflow.
650
1159a193
WN
6512013-09-11 Will Newton <will.newton@linaro.org>
652
653 [BZ #15855]
654 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
655 does not overflow.
656
5905e7b3 6572013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
658
659 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
660 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
661 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
662 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
663 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
664
cdfc721b
AM
6652013-09-10 Allan McRae <allan@archlinux.org>
666
aa04af00
AM
667 [BZ #15748]
668 * manual/arith.texi (Parsing of Floats): Clarify
669 cross-reference.
670
cdfc721b
AM
671 [BZ #15849]
672 * manual/install.texi (Running make install): Mention
673 --enable-pt-chown.
674 * INSTALL: Regenerated.
675
95e7cf29
MR
6762013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
677
678 * csu/init-first.c (_init): Remove the !SHARED condition around
679 FPU control word initialization.
680 * elf/dl-support.c (_dl_fpu_control): New variable.
681 (_dl_aux_init) <AT_FPUCW>: Initialize it.
682 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
683 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
684 * math/test-fpucw-static.c: New file.
685 * math/test-fpucw-ieee.c: New file.
686 * math/test-fpucw-ieee-static.c: New file.
687 * math/Makefile (tests): Add `test-fpucw-ieee' and
688 `$(tests-static)'.
689 (tests-static): New variable.
690 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
691 dependency to...
692 [($(build-shared),yes)]
693 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
694 ... this.
695 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
696 New dependency.
697
83e43bf0
AM
6982013-09-09 Allan McRae <allan@archlinux.org>
699
a9f5ce09
AM
700 [BZ #15939]
701 * manual/string.texi (Collation Functions): Fix typo in
702 strcoll example.
703 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
704
34829bc2
AM
705 [BZ #15893]
706 * stdlib/isomac.c (get_null_defines): Fix memory leak.
707
3932737d
AM
708 [BZ #15892]
709 * libio/memstream.c (open_memstream): Fix memory leak.
710 * libio/wmemstream.c (open_wmemstream): Likewise.
711
83e43bf0
AM
712 [BZ #15895]
713 * nscd/netgroupcache.c: Fix nesting of ifdefs.
714
0c66b8e9
WN
7152013-09-09 Will Newton <will.newton@linaro.org>
716
717 * malloc/Makefile: Add tst-realloc to tests.
718 * malloc/tst-realloc.c: New file.
719
f6b00fd1
AM
7202013-09-09 Allan McRae <allan@archlinux.org>
721
722 [BZ #15844]
723 * COPYING: Update from GNU website to fix FSF address.
724 * COPYING.LIB: Likewise.
725
eec55e16
DM
7262013-09-06 David S. Miller <davem@davemloft.net>
727
728 * po/zh_TW.po: Update Chinese (traditional) translation from
729 translation project.
730
1ecbb381
RS
7312013-09-06 Richard Sandiford <richard@codesourcery.com>
732 Joseph Myers <joseph@codesourcery.com>
733
734 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
735 "localeinfo.h".
736 (obstack_chunk_alloc): New macro.
737 (obstack_chunk_free): Likewise.
738 (record_offset): New function.
739 (init_locale_data): Likewise.
740 (align_locale_data): Likewise.
741 (add_locale_empty): Likewise.
742 (add_locale_raw_data): Likewise.
743 (add_locale_raw_obstack): Likewise.
744 (add_locale_string): Likewise.
745 (add_locale_wstring): Likewise.
746 (add_locale_uint32): Likewise.
747 (add_locale_uint32_array): Likewise.
748 (add_locale_char): Likewise.
749 (start_locale_structure): Likewise.
750 (end_locale_structure): Likewise.
751 (start_locale_prelude): Likewise.
752 (end_locale_prelude): Likewise.
753 (write_locale_data): Take locale_file structure rather than an
754 iovec.
755 * locale/programs/locfile.h: Include "obstack.h".
756 (struct locale_file): Change to store locale file contents instead
757 of header.
758 (init_locale_data): New prototype.
759 (align_locale_data): Likewise.
760 (add_locale_empty): Likewise.
761 (add_locale_raw_data): Likewise.
762 (add_locale_raw_obstack): Likewise.
763 (add_locale_string): Likewise.
764 (add_locale_wstring): Likewise.
765 (add_locale_uint32): Likewise.
766 (add_locale_uint32_array): Likewise.
767 (add_locale_char): Likewise.
768 (start_locale_structure): Likewise.
769 (end_locale_structure): Likewise.
770 (start_locale_prelude): Likewise.
771 (end_locale_prelude): Likewise.
772 (write_locale_data): Update prototype.
773 * locale/programs/3level.h (struct TABLE): Remove result field.
774 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
775 Use new locale_file interface.
776 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
777 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
778 * locale/programs/ld-address.c (address_output): Use new
779 locale_file interface.
780 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
781 NO_ADD_LOCALE.
782 (collate_finish): Don't call collseq_table_finalize.
783 (collate_output): Use new locale_file interface.
784 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
785 in file.
786 (NO_FINALIZE): Change to NO_ADD_LOCALE.
787 (TABLE): Move defines earlier in file.
788 (ELEMENT): Likewise.
789 (DEFAULT): Likewise.
790 (wctrans_table_add): Move macro and inline function earlier in
791 file.
792 (struct wctype_table): Move type earlier in file.
793 (add_locale_wctype_table): New static prototype.
794 (struct locale_ctype_t): Use logical types instead of struct iovec
795 pointers for members.
796 (ctype_output): Use new locale_file interface.
797 (wctype_table_finalize): Change to add_locale_wctype_table. Use
798 new locale_file interface.
799 (allocate_arrays): Update for use of new locale_file interface.
800 * locale/programs/ld-identification.c (identification_output): Use
801 new locale_file interface.
802 * locale/programs/ld-measurement.c (measurement_output): Likewise.
803 * locale/programs/ld-messages.c (messages_output): Likewise.
804 * locale/programs/ld-monetary.c (monetary_output): Likewise.
805 * locale/programs/ld-name.c (name_output): Likewise.
806 * locale/programs/ld-numeric.c (numeric_output): Likewise.
807 * locale/programs/ld-paper.c (paper_output): Likewise.
808 * locale/programs/ld-telephone.c (telephone_output): Likewise.
809 * locale/programs/ld-time.c (time_output): Likewise.
810
e029e2e5
AZ
8112013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
812
813 * benchtests/Makefile: Add memrchr benchmark.
814 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
815 benchmark as memrchr.
816 * benchtests/bench-memrchr-ifunc.c: New file.
817 * benchtests/bench-memrchr.c: New file.
818
bbf6e8e4
WN
8192013-09-06 Will Newton <will.newton@linaro.org>
820
821 * benchtests/Makefile (string-bench): Add memcpy.
822
6c82a2f8
CD
8232013-09-05 Carlos O'Donell <carlos@redhat.com>
824 Cong Wang <amwang@redhat.com>
825
826 * sysdeps/unix/sysv/linux/bits/in.h
827 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
828 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
829 before __USE_KERNEL_IPV6_DEFS uses.
830 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
831 IPPROTO_BEETPH.
832 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
833 sockaddr_in6, or ipv6_mreq.
834
5430fc65
AZ
8352013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
836
837 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
838 memory access for final bytes in some large inputs.
839 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
840
4660856c
AZ
8412013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
842
843 * string/test-memrchr.c: New file.
844 * string/test-memrchr-ifunc.c: New file.
845 * string/Makefile: Add new memrchr testcase.
846
bb8ea713
MF
8472013-09-05 Mike Frysinger <vapier@gentoo.org>
848
849 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
850 fanotify_init returns EPERM.
851
b92a20b5
JM
8522013-09-04 Joseph Myers <joseph@codesourcery.com>
853
854 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
855 errors.
856 (top level): Treat second token from macro or constant entries for
857 allowed headers as allowed.
858 * include/complex.h: Condition internal declarations on
859 [!_ISOMAC].
860 * include/fenv.h: Condition include of <stdbool.h> and internal
861 declarations on [!_ISOMAC].
7447ccd9
CL
862
8632013-09-04 Chris Leonard <cjl@sugarlabs,.org>
864
3e181dda 865 [BZ #15923]
7447ccd9
CL
866 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
867
3f2e46a4
JM
8682013-09-04 Joseph Myers <joseph@codesourcery.com>
869
870 * configure.in (--enable-versioning): Remove configure option.
871 (libc_cv_asm_symver_directive): Remove configure test.
872 (libc_cv_ld_version_script_option): Likewise.
873 (VERSIONING): Remove variable and AC_SUBST.
874 (DO_VERSIONING): Remove AC_DEFINE.
875 * configure: Regenerated.
876 * config.h.in (DO_VERSIONING): Remove macro.
877 * Makerules [$(versioning) = yes]: Change conditionals to
878 [$(build-shared) = yes].
879 * config.make.in (versioning): Remove variable.
880 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
881 [$(build-shared) = yes].
882 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
883 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
884 * elf/Makefile [$(versioning) = yes]: Change conditionals to
885 [$(build-shared) = yes].
886 * extra-lib.mk [$(versioning) = yes]: Likewise.
887 * hurd/Makefile [$(versioning) = yes]: Likewise.
888 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
889 [SHARED].
890 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
891 [SHARED].
892 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
893 [SHARED && !NO_HIDDEN].
894 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
895 [SHARED].
896 [SHARED && DO_VERSIONING]: Likewise..
897 * libio/Makefile [$(versioning) = yes]: Change conditionals to
898 [$(build-shared) = yes].
899 * manual/install.texi (--disable-versioning): Remove
900 documentation.
901 * INSTALL: Regenerated.
902 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
903 to [SHARED].
904 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
905 [$(build-shared) = yes].
906 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
907 * sysdeps/i386/i686/multiarch/strstr-c.c
908 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
909 [SHARED && !NO_HIDDEN].
910 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
911 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
912 * sysdeps/powerpc/powerpc32/dl-machine.c
913 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
914 * sysdeps/powerpc/powerpc32/sysdep.h
915 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
916 to [SHARED && PIC && !NO_HIDDEN].
917 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
918 conditional to [SHARED].
919
44558701
WN
9202013-09-04 Will Newton <will.newton@linaro.org>
921
922 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
923 * benchtests/bench-string.h: Include bench-timing.h instead
924 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
925 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
926 call to HP_TIMING_DIFF_INIT.
927 * benchtests/bench-memccpy.c: Use bench-timing.h macros
928 instead of hp-timing.h macros.
929 * benchtests/bench-memchr.c: Likewise.
930 * benchtests/bench-memcmp.c: Likewise.
931 * benchtests/bench-memcpy.c: Likewise.
932 * benchtests/bench-memmem.c: Likewise.
933 * benchtests/bench-memmove.c: Likewise.
934 * benchtests/bench-memset.c: Likewise.
935 * benchtests/bench-rawmemchr.c: Likewise.
936 * benchtests/bench-strcasecmp.c: Likewise.
937 * benchtests/bench-strcasestr.c: Likewise.
938 * benchtests/bench-strcat.c: Likewise.
939 * benchtests/bench-strchr.c: Likewise.
940 * benchtests/bench-strcmp.c: Likewise.
941 * benchtests/bench-strcpy.c: Likewise.
942 * benchtests/bench-strcpy_chk.c: Likewise.
943 * benchtests/bench-strlen.c: Likewise.
944 * benchtests/bench-strncasecmp.c: Likewise.
945 * benchtests/bench-strncat.c: Likewise.
946 * benchtests/bench-strncmp.c: Likewise.
947 * benchtests/bench-strncpy.c: Likewise.
948 * benchtests/bench-strnlen.c: Likewise.
949 * benchtests/bench-strpbrk.c: Likewise.
950 * benchtests/bench-strrchr.c: Likewise.
951 * benchtests/bench-strspn.c: Likewise.
952 * benchtests/bench-strstr.c: Likewise.
953
cae16d66
WN
9542013-09-04 Will Newton <will.newton@linaro.org>
955
956 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
957
ffa3cd7f
JM
9582013-09-03 Joseph Myers <joseph@codesourcery.com>
959
960 [BZ #15427]
961 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
962 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
963 * math/libm-test.inc (lgamma_test_data): Add more tests.
964 * sysdeps/i386/fpu/libm-test-ulps: Update.
965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
966
8f02859f
OB
9672013-09-03 Ondřej Bílka <neleai@seznam.cz>
968
969 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
970 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
971 Add ifunc.
972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
973 Add strcmp-sse2-unaligned
974 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
975
18d43716
MF
9762013-09-02 Mike Frysinger <vapier@gentoo.org>
977
978 * Versions.def (libc): Add GLIBC_2.19.
979
ac444012
MF
9802013-09-02 Mike Frysinger <vapier@gentoo.org>
981
982 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
983 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
984
b7835e32
JM
9852013-09-02 Joseph Myers <joseph@codesourcery.com>
986
987 [BZ #14155]
988 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
989 intermediate calculations in recurrence.
990 (__ieee754_ynf): Likewise.
991 * math/libm-test.inc (jn_test_data): Do not allow spurious
992 underflow exception. Add more tests.
993 (yn_test_data): Add more tests.
994 * sysdeps/i386/fpu/libm-test-ulps: Update.
995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
996
8220f4f0
OB
9972013-09-02 Ondřej Bílka <neleai@seznam.cz>
998
999 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1000
f24a6d08
OB
10012013-08-30 Ondřej Bílka <neleai@seznam.cz>
1002
1003 * csu/init-first.c: Fix then/than typos.
1004 * locale/programs/ld-collate.c: Likewise.
1005 * locale/programs/linereader.h: Likewise.
1006 * manual/charset.texi: Likewise.
1007 * manual/filesys.texi: Likewise.
1008 * manual/stdio.texi: Likewise.
1009 * manual/string.texi: Likewise.
1010 * stdlib/fmtmsg.c: Likewise.
1011 * sysdeps/i386/stpncpy.S: Likewise.
1012 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1013 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1014 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1015 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1016
382466e0
OB
10172013-08-30 Ondřej Bílka <neleai@seznam.cz>
1018
1019 * elf/dl-open.c: Fix typos.
1020 * iconvdata/gbbig5.c: Likewise.
1021 * iconvdata/iso-2022-jp.c: Likewise.
1022 * iconv/gconv_int.h: Likewise.
1023 * iconv/loop.c: Likewise.
1024 * nis/rpcsvc/nis.h: Likewise.
1025 * resolv/ns_name.c: Likewise.
1026 * stdio-common/vfscanf.c: Likewise.
1027 * streams/stropts.h: Likewise.
1028 * sunrpc/rpc_thread.c: Likewise.
1029 * sysdeps/i386/strpbrk.S: Likewise.
1030 * sysdeps/ieee754/k_standard.c: Likewise.
1031 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1032 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1033 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1034 * sysdeps/mach/hurd/profil.c: Likewise.
1035 * sysdeps/s390/dl-procinfo.h: Likewise.
1036 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1037 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1038 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1039 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1040 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1041
0186c6e9
OB
10422013-08-30 Ondřej Bílka <neleai@seznam.cz>
1043
1044 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1045 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1046
d4e16af1
OB
10472013-08-29 Ondřej Bílka <neleai@seznam.cz>
1048
1049 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1050 aix specific files.
1051 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1052 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1053 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1054 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1055 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1056 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1057 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1058 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1059
88335980
TS
10602013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1061 Roland McGrath <roland@hack.frob.com>
1062
1063 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1064 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1065
ed479b02
ST
10662013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1067
1068 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1069 __executable_start symbol instead of _start.
1070
f1cc4c86
TS
10712013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1072
d821f07c
TS
1073 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1074 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1075 Move macros to...
1076 * sysdeps/gnu/ldsodefs.h: ... this new file.
1077
c54290cf
TS
1078 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1079 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1080 instead of ELFOSABI_LINUX.
1081
0007fc9b 1082 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
1083 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1084 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1085 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1086 Likewise.
1087 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1088 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1089 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1090 Likewise.
1091 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1092 (ibm_extended_long_double): Add ieee_nan member.
1093 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1094 (do_test): New function.
1095
f1cc4c86
TS
1096 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1097 TEST_TRUNC.
1098 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1099 functions, renamed from truncdfsf_test, trunctfsf_test,
1100 trunctfdf_test.
1101 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1102 functions.
1103 (do_test): Run all these.
1104
6f65e668
OB
11052013-08-29 Ondřej Bílka <neleai@seznam.cz>
1106
1107 * argp/argp-help.c: Fix typos.
1108 * argp/argp-parse.c: Likewise.
1109 * debug/backtracesyms.c: Likewise.
1110 * elf/elf.h: Likewise.
1111 * malloc/malloc.c: Likewise.
1112 * nis/nis_print.c: Likewise.
1113 * resolv/res_comp.c: Likewise.
1114 * stdlib/stdlib.h: Likewise.
1115 * sunrpc/clnt_tcp.c: Likewise.
1116 * sunrpc/clnt_udp.c: Likewise.
1117 * sunrpc/clnt_unix.c: Likewise.
1118 * sysdeps/unix/bsd/ptsname.c: Likewise.
1119 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1120 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
1121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1122 Likewise.
1123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1124 Likewise.
1125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1126 Likewise.
6f65e668
OB
1127 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1128
3a309239
SP
11292013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1130
1131 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1133
3b813b29
MF
11342013-08-27 Mike Frysinger <vapier@gentoo.org>
1135
1136 [BZ #15897]
1137 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1138 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1139 ($(objpfx)bug-dl-leaf): New rule.
1140 ($(objpfx)bug-dl-leaf.so): Likewise.
1141 ($(objpfx)bug-dl-leaf.out): Likewise.
1142 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1143 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1144 * dlfcn/bug-dl-leaf.c: New test.
1145 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1146 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1147 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1148 (dlclose): Likewise.
1149 (dlmopen): Likewise.
1150
8cc3269f
RM
11512013-08-27 Roland McGrath <roland@hack.frob.com>
1152
7f9d0034
RM
1153 * include/netdb.h [!_ISOMAC]:
1154 Don't include <tls.h>.
1155 (h_errno, __libc_h_errno): Move declaration and macros out of
1156 [_LIBC_REENTRANT].
1157
fb431262
RM
1158 * include/resolv.h [_RESOLV_H_]:
1159 Don't include <tls.h>.
1160 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1161 * resolv/res_libc.c: Don't include <tls.h>.
1162 (_res): Use __attribute__ ((nocommon)) in place of
1163 __attribute__ ((section (".bss"))).
1164
bd81123a
RM
1165 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1166 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1167
c4e42566
RM
1168 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1169
f890a59b
RM
1170 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1171 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1172
1173 * resolv/res_mkquery.c: Include <sys/time.h>.
1174
5d1f0a09
RM
1175 * inet/ifreq.c: Moved to ...
1176 * sysdeps/unix/ifreq.c: ... here.
1177 * inet/ifreq.c: New file, true stub version.
1178
6fcf28b3
RM
1179 * socket/sa_len.c: New file.
1180 * socket/Makefile (aux): Add it.
1181 * sysdeps/unix/sysv/linux/Makefile
1182 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1183 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1184 and #include <socket/sa_len.c>.
1185 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1186 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1187
e041fb8b
RM
1188 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1189 * bits/socket.h: ... here.
1190
8cc3269f
RM
1191 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1192 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1193 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1194
5d228a43
AS
11952013-08-27 Andreas Schwab <schwab@suse.de>
1196
45b8accc
AS
1197 [BZ #15736]
1198 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1199 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1200 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1201 * string/test-strcasecmp.c (test_main): Run tests in several
1202 locales.
1203 * string/test-strncasecmp.c (test_main): Likewise.
1204
5d228a43
AS
1205 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1206 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1207 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1208 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1209 (__strncasecmp_ssse3) [PIC]: Likewise.
1210
59d112a4
RM
12112013-08-26 Roland McGrath <roland@hack.frob.com>
1212
53234cc3
RM
1213 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1214
59d112a4
RM
1215 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1216 instead of explicitly declaring xdecrypt.
1217 * nis/nss_nis/nis-publickey.c: Likewise.
1218
595aba70
SP
12192013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1220
1221 [BZ #15890]
1222 * nscd/aicache.c: Include res_hconf.h.
1223 (addhstaiX): Initialize res_hconf.
1224
ffabd393
AS
12252013-08-26 Andreas Schwab <schwab@suse.de>
1226
1227 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1228 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1229
e0a69f5c
SP
12302013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1231
1232 * nscd/aicache.c (addhstaiX): Fix indentation.
1233
8c12f01d
MF
12342013-08-25 Mike Frysinger <vapier@gentoo.org>
1235
1236 * configure.ac: Quote $build_pt_chown test.
1237 * configure: Regenerated.
1238
8fe89494
JM
12392013-08-23 Joseph Myers <joseph@codesourcery.com>
1240
1241 [BZ #15532]
1242 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1243 * math/s_cexpf.c (__cexpf): Likewise.
1244 * math/s_cexpl.c (__cexpl): Likewise.
1245 * math/libm-test.inc (cexp_test_data): Correct expected return
1246 value for NaN + i0. Add another test.
1247
75b181d6
DM
12482013-08-22 David S. Miller <davem@davemloft.net>
1249
1250 * po/ca.po: Update Catalan translation from translation project.
936241e4 1251 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1252
acd06bb1
JM
12532013-08-21 Joseph Myers <joseph@codesourcery.com>
1254
1255 [BZ #15797]
1256 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1257 is infinite, not alongside NaN test.
1258 * math/s_fdimf.c (__fdimf): Likewise.
1259 * math/s_fdiml.c (__fdiml): Likewise.
1260 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1261 errno is unchanged.
1262
c0c3f78a
OB
12632013-08-21 Ondřej Bílka <neleai@seznam.cz>
1264
1265 * argp/argp-help.c: Fix typos.
1266 * crypt/speeds.c: Likewise.
1267 * csu/check_fds.c: Likewise.
1268 * elf/dl-load.c: Likewise.
1269 * elf/dl-open.c: Likewise.
1270 * elf/reldep3.c: Likewise.
1271 * elf/reldep.c: Likewise.
1272 * elf/sprof.c: Likewise.
1273 * iconv/iconv_charmap.c: Likewise.
1274 * iconv/skeleton.c: Likewise.
1275 * iconv/strtab.c: Likewise.
1276 * io/lockf64.c: Likewise.
1277 * libio/libioP.h: Likewise.
1278 * resolv/gai_notify.c: Likewise.
1279 * resolv/ns_name.c: Likewise.
1280 * resolv/ns_samedomain.c: Likewise.
1281 * resolv/res_send.c: Likewise.
1282 * stdlib/random.c: Likewise.
1283 * sunrpc/rpc/xdr.h: Likewise.
1284 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1285 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1286 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1287 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1288 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1289 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1290 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1291 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1292 * sysdeps/mach/hurd/check_fds.c: Likewise.
1293 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1294 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1295 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1296 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1297 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1298 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1299 * sysdeps/pthread/aio_notify.c: Likewise.
1300 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1301 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1302 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1303 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1304 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1305
46ed1038
LD
13062013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1307
1308 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1309 version if bit_Slow_SSE4_2 is set.
1310 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1311 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1312
d400dcac
AZ
13132013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1314
1315 [BZ #15867]
1316 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1317 trampoline stack frame information.
1318 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1319 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1320 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1321 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1322 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1323 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1324 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1325 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1326 sa_flags value.
1327 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1328 interrupting a syscall and set with option SA_SIGINFO.
1329
42c8fdd8
JM
13302013-08-20 Joseph Myers <joseph@codesourcery.com>
1331
c980f2f4
JM
1332 [BZ #15531]
1333 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1334 argument is infinite.
1335 * math/s_cprojf.c (__cprojf): Likewise.
1336 * math/s_cprojl.c (__cprojl): Likewise.
1337 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1338 * math/libm-test.inc (cproj_test_data): Add more tests.
1339
0716c4fc
JM
1340 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1341
42c8fdd8
JM
1342 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1343 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1344 size. Use __ffs to determine corresponding shift.
1345
b31469d0
JM
13462013-08-20 Joseph Myers <joseph@codesourcery.com>
1347 Roland McGrath <roland@hack.frob.com>
1348
1349 * Makefile (INSTALL): Remove trailing blank lines from output of
1350 makeinfo.
1351
4e39af6e
AK
13522013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1353
1354 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1355 Align 32 bit compat elf_greg to 8 bytes.
1356
f315524e
AA
13572013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1358
1359 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1360
1326ba1a
SP
13612013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1362
1363 * string/strcoll_l.c (coll_seq): New structure.
1364 (get_next_seq_cached): New function.
1365 (get_next_seq): New function.
1366 (do_compare): New function.
1367 (STRCOLL): Use GNU style definition. Simplify implementation
1368 by using get_next_seq, get_next_seq_cached and do_compare.
1369
91ce4085
FW
13702013-08-16 Florian Weimer <fweimer@redhat.com>
1371
1372 [BZ #14699]
1373 CVE-2013-4237
1374 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1375 member.
1376 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1377 member.
1378 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1379 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1380 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1381 conditional.
1382 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1383 GETDENTS_64BIT_ALIGNED.
1384 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1385 * manual/filesys.texi (Reading/Closing Directory): Document
1386 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1387 strongly.
1388 * manual/conf.texi (Limits for Files): Add portability note to
1389 NAME_MAX, PATH_MAX.
1390 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1391
ca0a6bc4
AS
13922013-08-13 Andreas Schwab <schwab@suse.de>
1393
1394 [BZ #15749]
1395 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1396 of fabs.
1397 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1398 LDBL_MAX_EXP >= 16384]: Add tests for it.
1399
6c1fd795
DM
14002013-08-12 David S. Miller <davem@davemloft.net>
1401
1402 * version.h (RELEASE): Set to "development".
1403 (VERSION): Set to "2.18.90".
1404 * NEWS: Add 2.19 section.
1405
31ad488d
DM
14062013-08-03 David S. Miller <davem@davemloft.net>
1407
1408 * po/ko.po: Update Korean translation from translation project.
1409
db24e684
DM
14102013-08-01 David S. Miller <davem@davemloft.net>
1411
1412 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1413 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1414 Bilka.
1415
f723285b
DM
14162013-07-30 David S. Miller <davem@davemloft.net>
1417
1418 * po/fr.po: Update French translation from translation project.
1419
3cbc52db
DM
14202013-07-28 David S. Miller <davem@davemloft.net>
1421
30bbc0cc
DM
1422 * po/cs.po: Update Czech translation from translation project.
1423
3cbc52db
DM
1424 * po/sv.po: Update Swedish translation from translation project.
1425
d492e6d0
DM
14262013-07-27 David S. Miller <davem@davemloft.net>
1427
f1a7f492
DM
1428 * po/eo.po: Update Esperanto translation from translation project.
1429
90e62a4a
DM
1430 * po/vi.po: Update Vietnamese translation from translation project.
1431
d492e6d0
DM
1432 * po/de.po: Update German translation from translation project.
1433
d4baa62d
DM
14342013-07-26 David S. Miller <davem@davemloft.net>
1435
641aa7b4
DM
1436 * po/bg.po: Update Bulgarian translation from translation project.
1437
d4baa62d
DM
1438 * po/nl.po: Update Dutch translation from translation project.
1439 * po/pl.po: Update Polish translation from translation project.
1440 * po/ru.po: Update Russian translation from translation project.
1441
61a9dcb9
DM
14422013-07-24 David S. Miller <davem@davemloft.net>
1443
1444 * po/libc.pot: Update.
1445
7b1f8b58
AZ
14462013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1447
1448 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1449 variable page size.
1450 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1451 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1452 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1453
a8fc7a03
AK
14542013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1455
1456 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1457
e4608715
CD
14582013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1459 Andreas Schwab <schwab@suse.de>
1460 Roland McGrath <roland@hack.frob.com>
1461 Joseph Myers <joseph@codesourcery.com>
1462 Carlos O'Donell <carlos@redhat.com>
1463
1464 [BZ #15755]
1465 * config.h.in: Define HAVE_PT_CHOWN.
1466 * config.make.in (build-pt-chown): New variable.
1467 * configure.in (--enable-pt_chown): New configure option.
1468 * configure: Regenerate.
1469 * login/Makefile: Include Makeconfig. Build pt_chown only if
1470 build-pt-chown is enabled.
1471 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1472 pt_chown to fix pty ownership.
1473 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1474 CLOSE_ALL_FDS.
1475 * manual/install.texi (Configuring and compiling): Mention
1476 --enable-pt_chown. Add @findex for grantpt.
1477 * INSTALL: Regenerate.
1478
da2d62df
DM
14792013-07-20 David S. Miller <davem@davemloft.net>
1480
1481 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1482 difference between 32-bit and 64-bit.
1483
d7e06450
CD
14842013-07-15 Carlos O'Donell <carlos@redhat.com>
1485
1486 [BZ #15711]
1487 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1488 Avoid system header dependency with -ffreestanding.
1489 ($(objpfx)bits/syscall%d): Likewise.
1490
f959cfd7
DM
14912013-07-13 David S. Miller <davem@davemloft.net>
1492
1493 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1494 underflows from atanl/atan2l due to bug 15319.
1495 (casinh_test_data): Likewise.
1496
c61f8513
DM
14972013-07-07 David S. Miller <davem@davemloft.net>
1498
1499 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1500
72c90ed0
JA
15012013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1502
1503 * sysdeps/i386/fpu/libm-test-ulps: Update.
1504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1505
52dfbe13
SP
15062013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1507
1508 * configure.in (--enable-lock-elision): Fix message text.
1509 * INSTALL: Regenerate.
1510 * configure: Regenerate.
1511
3f169543
AZ
15122013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1513
1514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1515
521c6785
AJ
15162013-07-03 Andreas Jaeger <aj@suse.de>
1517
1518 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1519 define.
1520 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1521 (ptrace_peeksiginfo_args): Add.
1522 (__ptrace_peeksiginfo_flags): Add.
1523 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1524 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1525 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1526
d2cc15cb
AM
15272013-07-03 Allan McRae <allan@archlinux.org>
1528
1529 * sysdeps/i386/fpu/libm-test-ulps: Update.
1530
3aaeeca7
DM
15312013-07-02 David S. Miller <davem@davemloft.net>
1532
1533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1534
5314ed1a
MT
15352013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1536
1537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1538
67338156
JM
15392013-07-02 Joseph Myers <joseph@codesourcery.com>
1540
1541 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1543
1717da59
AK
15442013-07-02 Andi Kleen <ak@linux.intel.com>
1545
1546 * config.h.in (ENABLE_LOCK_ELISION): Add.
1547 * configure.in (--enable-lock-elision): Add option.
1548 * manual/install.texi: Document --enable lock elision.
1549 * configure: Regenerate
1550 * INSTALL: Regenerate.
1551
1c81621c
L
15522013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1553
1554 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1555 SSE4.2 strcasecmp for libc.a.
1556 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1557
77f01ab5
JM
15582013-07-02 Joseph Myers <joseph@codesourcery.com>
1559
1560 [BZ #13304]
1561 * soft-fp/op-common.h (_FP_FMA): New macro.
1562 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1563 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1564 (_FP_MUL_MEAT_1_imm): ... here.
1565 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1566 (_FP_MUL_MEAT_1_wide): ... here.
1567 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1568 (_FP_MUL_MEAT_1_hard): ... here.
1569 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1570 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1571 (_FP_MUL_MEAT_2_wide): ... here.
1572 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1573 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1574 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1575 (_FP_MUL_MEAT_2_gmp): ... here.
1576 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1577 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1578 (_FP_MUL_MEAT_4_wide): ... here.
1579 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1580 (_FP_MUL_MEAT_4_gmp): ... here.
1581 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1582 (_FP_WFRACBITS_DW_S): Likewise.
1583 (_FP_WFRACXBITS_DW_S): Likewise.
1584 (_FP_HIGHBIT_DW_S): Likewise.
1585 (FP_FMA_S): Likewise.
1586 (_FP_FRAC_HIGH_DW_S): Likewise.
1587 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1588 (_FP_WFRACBITS_DW_D): Likewise.
1589 (_FP_WFRACXBITS_DW_D): Likewise.
1590 (_FP_HIGHBIT_DW_D): Likewise.
1591 (FP_FMA_D): Likewise.
1592 (_FP_FRAC_HIGH_DW_D): Likewise.
1593 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1594 (_FP_WFRACBITS_DW_E): Likewise.
1595 (_FP_WFRACXBITS_DW_E): Likewise.
1596 (_FP_HIGHBIT_DW_E): Likewise.
1597 (FP_FMA_E): Likewise.
1598 (_FP_FRAC_HIGH_DW_E): Likewise.
1599 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1600 (_FP_WFRACBITS_DW_Q): Likewise.
1601 (_FP_WFRACXBITS_DW_Q): Likewise.
1602 (_FP_HIGHBIT_DW_Q): Likewise.
1603 (FP_FMA_Q): Likewise.
1604 (_FP_FRAC_HIGH_DW_Q): Likewise.
1605 * soft-fp/fmasf4.c: New file.
1606 * soft-fp/fmadf4.c: Likewise.
1607 * soft-fp/fmatf4.c: Likewise.
1608
6308fd9a
LD
16092013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1610
1611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1612 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1613 Silvermont.
1614 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1615 macro.
1616 (index_Slow_SSE4_2): Likewise.
1617 (index_Prefer_PMINUB_for_stringop): Likewise.
1618 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1619 bit_Slow_SSE4_2 is set.
1620 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1621 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1622
89cd9569
RA
16232013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1624
1625 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1626 rtld_global._dl_hwcap2.
1627 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1628 POWER8.
1629 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1630 POWER8 feature descriptions defined in _dl_hwcap2.
1631 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1632 string handling for POWER8 feature bits.
1633 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1634 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1635 _dl_powerpc_cap_flags.
1636 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1637 * sysdeps/powerpc/rtld-global-offsets.sym
1638 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1639 _dl_hwcap2 in the rtld_global_ro structure.
1640
1ae8bfe0
RA
16412013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1642
1643 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1644 hardware capabilities in support of AT_HWCAP2.
1645 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1646 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1647 GLRO(dl_hwcap2).
1648 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1649 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1650 explicitly the unknown a_type display mechanism is used.
1651 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1652 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1653 struct member.
1654 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1655 to macro prototype for AT_HWCAP2 support.
1656 * sysdeps/i386/dl-procinfo.h: Likewise.
1657 * sysdeps/s390/dl-procinfo.h: Likewise.
1658 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1659 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1660 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1661 return -1 for unknown a_type display fallback.
1662 * sysdeps/sparc/dl-procinfo.h: Likewise.
1663 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1664 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1665
8fbec010
JM
16662013-06-28 Joseph Myers <joseph@codesourcery.com>
1667
1668 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1669 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1670
0432680e
PY
16712013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1672
1673 [BZ #12492]
1674 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1675 mprotect making __stack_prot writable.
1676
ce61a2ad
NF
16772013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1678 Joseph Myers <joseph@codesourcery.com>
1679
1680 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1681 as being properly aligned.
1682
f91f1c0f
MR
16832013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1684
3d0f5d0c
MR
1685 * dlfcn/modstatic5.c: New file.
1686 * dlfcn/tststatic5.c: New file.
1687 * dlfcn/Makefile (tests): Add tststatic5.
1688 (tests-static): Likewise.
1689 (modules-names): Add modstatic5.
1690 (tststatic5-ENV): New variable.
1691 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1692
f91f1c0f
MR
1693 [BZ #15022]
1694 * elf/dl-support.c (_dl_main_map): New variable.
1695 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1696 (_dl_nns, _dl_load_adds): Set to 1.
1697 (_dl_initial_searchlist): Refer to _dl_main_map.
1698 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1699 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1700 call to _dl_get_origin.
1701 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1702 around call_map.
1703 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1704 * dlfcn/modstatic3.c: New file.
1705 * dlfcn/tststatic3.c: New file.
1706 * dlfcn/tststatic4.c: New file.
1707 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1708 (tests-static): Likewise.
1709 (modules-names): Add modstatic3.
1710 (tststatic3-ENV, tststatic4-ENV): New variables.
1711 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1712 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1713
cbe7d24b
JM
17142013-06-26 Joseph Myers <joseph@codesourcery.com>
1715
1716 * configure.in (CC): Require GCC version 4.4 or later.
1717 * configure: Regenerated.
1718 * manual/install.texi (Tools for Compilation): Update GCC version
1719 requirement.
1720 * INSTALL: Regenerated.
1721
11b8a0e1
LD
17222013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1723
1724 [BZ #15674]
bb5bb87c
L
1725 * string/test-memcmp.c (check2): New.
1726 (main): Call check2.
1727
11b8a0e1
LD
1728 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1729
b0037103
MR
17302013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1731
1732 [BZ #15022]
1733 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1734 over to...
1735 (dl_open_worker) [!SHARED]: ... here.
1736
c18c701d
RA
17372013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1738
1739 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1740
1d17fa5f
RH
17412013-06-25 Richard Henderson <rth@redhat.com>
1742
1743 * locale/programs/locarchive.c: Include <libc-internal.h>
1744
8fcb833a
JM
17452013-06-25 Joseph Myers <joseph@codesourcery.com>
1746
1747 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1748 trailing whitespace removed.
1749
17db6e8d
MF
17502013-06-24 Mike Frysinger <vapier@gentoo.org>
1751
1752 [BZ #10283]
17db6e8d
MF
1753 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1754 * locale/programs/locarchive.c: Include libc-mmap.h.
1755 (prepare_address_space): Take two new outputs (the mmap base and len).
1756 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1757 values.
1758 (create_archive): Declare new mmap base and len values for
1759 prepare_address_space, and store the result in ah.
1760 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1761 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1762 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1763 Declare new mmap base and len values for
1764 prepare_address_space, and store the result in new_ah.
1765 (open_archive): Declare new mmap base and len values for
1766 prepare_address_space, and store the result in ah.
1767 (close_archive): If ah->mmap_base is not NULL, use that and
1768 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1769 * sysdeps/generic/libc-mmap.h: New file.
1770
d605071e
MF
17712013-06-24 Mike Frysinger <vapier@gentoo.org>
1772
1773 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1774 (ALIGN_UP): Likewise.
1775 (PTR_ALIGN_DOWN): Likewise.
1776 (PTR_ALIGN_UP): Likewise.
1777
2f063a6e
RA
17782013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1779
1780 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1781 entry mapped to PPC_PLATFORM_POWER8.
1782 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1783 POWER8.
1784 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1785 (_dl_string_platform): Add case for exporting platform position for
1786 POWER8.
1787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1788 search path to sysdeps/powerpc/powerpc32/power8 directory.
1789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1790 search path to sysdeps/powerpc/powerpc64/power8 directory.
1791 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1792 power7 directories.
1793 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1794 power7 directories.
1795
a31ee4b3
SP
17962013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1797
a74ca98f
SP
1798 * INSTALL: Regenerate.
1799
a31ee4b3
SP
1800 * nscd/connections.c (nscd_init): Fix comment.
1801
695c378f
JM
18022013-06-22 Joseph Myers <joseph@codesourcery.com>
1803
d8412221
JM
1804 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1805
695c378f
JM
1806 [BZ #15667]
1807 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1808 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1809
d1d54715
MR
18102013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1811
1812 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1813 DL_DST_REQ_STATIC.
1814 (DL_DST_REQ_STATIC): Remove macro.
1815
8fdda7af
JM
18162013-06-21 Joseph Myers <joseph@codesourcery.com>
1817
1818 [BZ #7006]
1819 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1820 with a shift of 0 bits.
1821
f3bc5e5a
MR
18222013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1823
1824 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1825 $(tststatic-ENV).
1826
be09e8c9
KK
18272013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1828
1829 [BZ #15655]
1830 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1831
85c2e611
AZ
18322013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1833
1834 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1835 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1836 accepts -fno-tree-loop-distribute-patterns.
1837 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1838 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1839 recursive call.
1840 * string/memset.c (memset): Likewise.
1841 * string/test-memmove.c (simple_memmove): Disable loop transformation
1842 to library calls.
1843 * string/test-memset.c (simple_memset): Likewise.
1844 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1845 * benchtests/bench-memset.c (simple_memset): Likewise.
1846 * configure: Regenerated.
1847
c91e0825
JM
18482013-06-20 Joseph Myers <joseph@codesourcery.com>
1849
b8c792af
JM
1850 * math/test-misc.c (main): Ignore fesetround failure when failures
1851 of subsequent rounding tests would be ignored.
1852
c91e0825
JM
1853 [BZ #15654]
1854 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1855 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1856 * math/fegetenv.c (__fegetenv): Return 0.
1857 * math/fegetexcept.c (fegetexcept): Return 0.
1858 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1859 FE_TONEAREST.
1860 * math/feholdexcpt.c (feholdexcept): Return 0.
1861 * math/fesetenv.c (__fesetenv): Return 0.
1862 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1863 argument FE_TONEAREST.
1864 * math/feupdateenv.c (__feupdateenv): Return 0.
1865 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1866
bfcacbde
RM
18672013-06-18 Roland McGrath <roland@hack.frob.com>
1868
1869 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1870 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1871 ($(objpfx)rtld-%.os rules): Use them.
1872
e55a9b25
AZ
18732013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1874
1875 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1876 fields.
1877
346d65b3
RM
18782013-06-17 Roland McGrath <roland@hack.frob.com>
1879
12086fb4
RM
1880 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1881 length of target pattern, then descending length of dependency pattern.
1882 * configure.in (AWK): Require gawk 3.1.2 or newer.
1883 * manual/install.texi (Tools for Compilation): Say that we do.
1884 * configure: Regenerated.
1885
346d65b3
RM
1886 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1887 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1888 * scripts/sysd-rules.awk: ... this new script.
1889 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1890 than a glob-style pattern.
1891
1a846317
JM
18922013-06-17 Joseph Myers <joseph@codesourcery.com>
1893
1894 * math/test-misc.c (main): Do not treat incorrectly rounded
1895 conversions as failure unless ROUNDING_TESTS passes.
1896
8fc75e6f
JM
18972013-06-15 Joseph Myers <joseph@codesourcery.com>
1898
3711a167
JM
1899 [BZ #15631]
1900 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1901 restore exception state around main square root computation, then
1902 check for inexactness explicitly.
1903
8fc75e6f
JM
1904 * math/libm-test.inc (fma_test_data): Add another test.
1905
61dd6208
SP
19062013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1907
adf23d2c
SP
1908 * manual/threads.texi (Non-POSIX Extensions): New document
1909 node. Document pthread_getattr_default_np and
1910 pthread_setattr_default_np.
1911
61dd6208
SP
1912 * Versions.def (libpthread): Add GLIBC_2.18.
1913 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1915 Likewise.
1916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1917 Likewise.
1918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1919 Likewise.
1920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1921 Likewise.
1922 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1923 Likewise.
1924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1925 Likewise.
1926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1927 Likewise.
1928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1929 Likewise.
1930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1931 Likewise.
1932
d086fc7b
LD
19332013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1934
1935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1936 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1937
747ef469
SP
19382013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1939 H.J. Lu <hjl.tools@gmail.com>
1940
1941 [BZ #15627]
1942 * sysdeps/x86_64/rtld-memset.c: Remove file.
1943 * sysdeps/x86_64/rtld-memset.S: New file.
1944
1b2feed2
JM
19452013-06-14 Joseph Myers <joseph@codesourcery.com>
1946
1947 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1948 (test_in_one_mode): Take arguments for whether the rounding mode
1949 is supported for each floating-point type.
1950 (do_test): Pass new arguments to test_in_one_mode using
1951 ROUNDING_TESTS.
1952
a58ad3f8
RM
19532013-06-13 Roland McGrath <roland@hack.frob.com>
1954
1955 * posix/tst-waitid.c (do_test): Distinguish different instances of
1956 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1957 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1958 before entering the kernel for waitpid.
1959
c204ab28
SP
19602013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1961
1962 * NEWS: Fix note on clock function precision. Text by Roland
1963 McGrath.
1964
f4a29fba
RM
19652013-06-13 Roland McGrath <roland@hack.frob.com>
1966
1967 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1968 it into place only when and if the sanity check passes.
1969
1f24b9ad
JM
19702013-06-13 Joseph Myers <joseph@codesourcery.com>
1971
1972 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1973 output for whether conversion result is exact. Take argument
1974 indicating whether type is IBM long double.
1975 (round_for_all): Change need_exact field to ibm_ld.
1976 * stdlib/tst-strtod-round.c (struct exactness): New type.
1977 (struct test): Change bool ld_ok field to struct exactness exact.
1978 (TEST): Update all definitions for change to field.
1979 (tests): Regenerate array contents.
1980 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1981 field value. Check for IBM long double here.
1982 (do_test): Update calls to test_in_one_mode.
1983
58206c68
SP
19842013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1985
1986 [BZ #12515]
1987 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1988 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1989
2d6f4c5b 19902013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1991
1992 [BZ #15605]
1993 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1994 generated by the compiler on loop optimizations.
1995 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1996 general definitions.
1997
94f2c076
JM
19982013-06-12 Joseph Myers <joseph@codesourcery.com>
1999
2000 * math/bug-nextafter.c: Include <math-tests.h>.
2001 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2002 the relevant type.
2003 * math/bug-nexttoward.c: Include <math-tests.h>.
2004 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2005 the relevant type.
2006 * math/test-misc.c: Include <math-tests.h>.
2007 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2008 the relevant type.
2009
e0e50a0a
AJ
20102013-06-12 Andreas Jaeger <aj@suse.de>
2011
2012 * po/ia.po: Update Interlingua translation from translation
2013 project.
2014
25061094
SP
20152013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2016
2017 * include/fenv.h: Include stdbool.h.
2018 (struct rm_ctx): New structure.
2019 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2020 Define macro.
2021 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2022 (SET_RESTORE_ROUNDF): Likewise.
2023 (SET_RESTORE_ROUNDL): Likewise.
2024 (SET_RESTORE_ROUND_NOEX): Likewise.
2025 (SET_RESTORE_ROUND_NOEXF): Likewise.
2026 (SET_RESTORE_ROUND_NOEXL): Likewise.
2027 (SET_RESTORE_ROUND_53BIT): Likewise.
2028 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2029 (libc_feresetround_noexf_ctx): Likewise.
2030 (libc_feresetround_noexl_ctx): Likewise.
2031 (libc_feholdsetround_53bit_ctx): Likewise.
2032 (libc_feresetround_53bit_ctx): Likewise.
2033 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2034 (libc_feholdexcept_setround_sse_ctx): New function.
2035 (libc_fesetenv_sse_ctx): Likewise.
2036 (libc_feupdateenv_sse_ctx): Likewise.
2037 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2038 (libc_feholdexcept_setround_387_ctx): Likewise.
2039 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2040 (libc_feholdsetround_387_prec_ctx): Likewise.
2041 (libc_feholdsetround_387_ctx): Likewise.
2042 (libc_feholdsetround_387_53bit_ctx): Likewise.
2043 (libc_feholdsetround_sse_ctx): Likewise.
2044 (libc_feresetround_sse_ctx): Likewise.
2045 (libc_feresetround_387_ctx): Likewise.
2046 (libc_feupdateenv_387_ctx): Likewise.
2047 (libc_feholdexcept_setroundf_ctx): Define macro.
2048 (libc_fesetenvf_ctx): Likewise.
2049 (libc_feupdateenvf_ctx): Likewise.
2050 (libc_feholdsetroundf_ctx): Likewise.
2051 (libc_feresetroundf_ctx): Likewise.
2052 (libc_feholdexcept_setround_ctx): Likewise.
2053 (libc_fesetenv_ctx): Likewise.
2054 (libc_feupdateenv_ctx): Likewise.
2055 (libc_feholdsetround_ctx): Likewise.
2056 (libc_feresetround_ctx): Likewise.
2057 (libc_feholdexcept_setroundl_ctx): Likewise.
2058 (libc_feupdateenvl_ctx): Likewise.
2059 (libc_feholdsetroundl_ctx): Likewise.
2060 (libc_feresetroundl_ctx): Likewise.
2061 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2062 (libc_feresetround_53bit_ctx): Likewise.
2063
59b30555
SP
20642013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2065
2066 * locale/iso-639.def: Convert to UTF-8.
2067
f1d73d30
JM
20682013-06-11 Joseph Myers <joseph@codesourcery.com>
2069
2070 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2071 (EXCEPTION_TESTS_double): Likewise.
2072 (EXCEPTION_TESTS_long_double): Likewise.
2073 (EXCEPTION_TESTS): Likewise.
2074 * math/libm-test.inc (test_exceptions): Only test exceptions if
2075 EXCEPTION_TESTS (FLOAT).
2076
94aca5e7
SP
20772013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2078
2079 * benchtests/Makefile (string-bench): Add strcpy_chk and
2080 stpcpy_chk.
2081 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2082 * benchtests/bench-stpcpy_chk.c: New file.
2083 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2084 * benchtests/bench-strcpy_chk.c: New file.
2085 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2086 code.
2087 (do_test): Likewise.
2088
fac0c5f2
RA
20892013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2090
2091 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2092 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2093 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2094 with tabs where appropriate.
2095 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2096 dl-procinfo.h.
2097 [PPC_PLATFORM_PPC440]: Likewise.
2098 [PPC_PLATFORM_PPC464]: Likewise.
2099 [PPC_PLATFORM_PPC476]: Likewise.
2100 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2101 ppc464, and ppc476 platform strings merging from ports/
2102 dl-procinfo.h.
2103
f22bc486
AS
21042013-06-11 Andreas Schwab <schwab@suse.de>
2105
2106 [BZ #14991]
2107 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2108 (from_ucs4_idx): Regenerate.
2109 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2110 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2111 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2112 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2113 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2114 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2115 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2116 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2117 from FROM_LOOP and TO_LOOP specific macros.
2118 (BODY): Handle combining characters.
2119 * iconvdata/BIG5HKSCS.irreversible: Update.
2120 * iconvdata/BIG5HKSCS.precomposed: New file.
2121 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2122 characters.
2123 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2124
c1f75dc3
SP
21252013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2126
4eacded2
SP
2127 * include/sys/time.h: Fix indentation and add copyright header.
2128
fec799f8
SP
2129 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2130 (do_test): Likewise.
2131 * string/test-memchr.c (do_one_test): Likewise.
2132 (do_test): Likewise.
2133 * string/test-memcmp.c (do_one_test): Likewise.
2134 (do_test): Likewise.
2135 * string/test-memcpy.c (do_one_test): Likewise.
2136 (do_test): Likewise.
2137 * string/test-memmem.c (do_one_test): Likewise.
2138 (do_test): Likewise.
2139 (do_random_tests): Likewise.
2140 * string/test-memmove.c (do_one_test): Likewise.
2141 (do_test): Likewise.
2142 * string/test-memset.c (do_one_test): Likewise.
2143 (do_test): Likewise.
2144 * string/test-rawmemchr.c (do_one_test): Likewise.
2145 (do_test): Likewise.
2146 * string/test-strcasecmp.c (do_one_test): Likewise.
2147 (do_test): Likewise.
2148 * string/test-strcasestr.c (do_one_test): Likewise.
2149 (do_test): Likewise.
2150 * string/test-strcat.c (do_one_test): Likewise.
2151 (do_test): Likewise.
2152 * string/test-strchr.c (do_one_test): Likewise.
2153 (do_test): Likewise.
2154 * string/test-strcmp.c (do_one_test): Likewise.
2155 (do_test): Likewise.
2156 * string/test-strcpy.c (do_one_test): Likewise.
2157 (do_test): Likewise.
2158 * string/test-string.h: Likewise.
2159 (test_init): Likewise.
2160 * string/test-strlen.c (do_one_test): Likewise.
2161 (do_test): Likewise.
2162 * string/test-strncasecmp.c (do_one_test): Likewise.
2163 (do_test): Likewise.
2164 * string/test-strncat.c (do_one_test): Likewise.
2165 (do_test): Likewise.
2166 * string/test-strncmp.c (do_one_test): Likewise.
2167 (do_test_limit): Likewise.
2168 (do_test): Likewise.
2169 * string/test-strncpy.c (do_one_test): Likewise.
2170 (do_test): Likewise.
2171 * string/test-strnlen.c (do_one_test): Likewise.
2172 (do_test): Likewise.
2173 * string/test-strpbrk.c (do_one_test): Likewise.
2174 (do_test): Likewise.
2175 * string/test-strrchr.c (do_one_test): Likewise.
2176 (do_test): Likewise.
2177 * string/test-strspn.c (do_one_test): Likewise.
2178 (do_test): Likewise.
2179 * string/test-strstr.c (do_one_test): Likewise.
2180 (do_test): Likewise.
2181
97020474
SP
2182 * benchtests/Makefile (string-bench): Add string benchmarks.
2183 * benchtests/bench-bcopy-ifunc.c: New file.
2184 * benchtests/bench-bcopy.c: New file.
2185 * benchtests/bench-bzero-ifunc.c: New file.
2186 * benchtests/bench-bzero.c: New file.
2187 * benchtests/bench-memccpy-ifunc.c: New file.
2188 * benchtests/bench-memccpy.c: New file.
2189 * benchtests/bench-memchr-ifunc.c: New file.
2190 * benchtests/bench-memchr.c: New file.
2191 * benchtests/bench-memcmp-ifunc.c: New file.
2192 * benchtests/bench-memcmp.c: New file.
2193 * benchtests/bench-memmem-ifunc.c: New file.
2194 * benchtests/bench-memmem.c: New file.
2195 * benchtests/bench-memmove-ifunc.c: New file.
2196 * benchtests/bench-memmove.c: New file.
2197 * benchtests/bench-mempcpy-ifunc.c: New file.
2198 * benchtests/bench-mempcpy.c: New file.
2199 * benchtests/bench-memset-ifunc.c: New file.
2200 * benchtests/bench-memset.c: New file.
2201 * benchtests/bench-rawmemchr-ifunc.c: New file.
2202 * benchtests/bench-rawmemchr.c: New file.
2203 * benchtests/bench-stpcpy-ifunc.c: New file.
2204 * benchtests/bench-stpcpy.c: New file.
2205 * benchtests/bench-stpncpy-ifunc.c: New file.
2206 * benchtests/bench-stpncpy.c: New file.
2207 * benchtests/bench-strcasecmp-ifunc.c: New file.
2208 * benchtests/bench-strcasecmp.c: New file.
2209 * benchtests/bench-strcasestr-ifunc.c: New file.
2210 * benchtests/bench-strcasestr.c: New file.
2211 * benchtests/bench-strcat-ifunc.c: New file.
2212 * benchtests/bench-strcat.c: New file.
2213 * benchtests/bench-strchr-ifunc.c: New file.
2214 * benchtests/bench-strchr.c: New file.
2215 * benchtests/bench-strchrnul-ifunc.c: New file.
2216 * benchtests/bench-strchrnul.c: New file.
2217 * benchtests/bench-strcmp-ifunc.c: New file.
2218 * benchtests/bench-strcmp.c: New file.
2219 * benchtests/bench-strcpy-ifunc.c: New file.
2220 * benchtests/bench-strcpy.c: New file.
2221 * benchtests/bench-strcspn-ifunc.c: New file.
2222 * benchtests/bench-strcspn.c: New file.
2223 * benchtests/bench-strlen-ifunc.c: New file.
2224 * benchtests/bench-strlen.c: New file.
2225 * benchtests/bench-strncasecmp-ifunc.c: New file.
2226 * benchtests/bench-strncasecmp.c: New file.
2227 * benchtests/bench-strncat-ifunc.c: New file.
2228 * benchtests/bench-strncat.c: New file.
2229 * benchtests/bench-strncmp-ifunc.c: New file.
2230 * benchtests/bench-strncmp.c: New file.
2231 * benchtests/bench-strncpy-ifunc.c: New file.
2232 * benchtests/bench-strncpy.c: New file.
2233 * benchtests/bench-strnlen-ifunc.c: New file.
2234 * benchtests/bench-strnlen.c: New file.
2235 * benchtests/bench-strpbrk-ifunc.c: New file.
2236 * benchtests/bench-strpbrk.c: New file.
2237 * benchtests/bench-strrchr-ifunc.c: New file.
2238 * benchtests/bench-strrchr.c: New file.
2239 * benchtests/bench-strspn-ifunc.c: New file.
2240 * benchtests/bench-strspn.c: New file.
2241 * benchtests/bench-strstr-ifunc.c: New file.
2242 * benchtests/bench-strstr.c: New file.
2243
c1f75dc3
SP
2244 * benchtests/Makefile: Disable parallel execution of targets.
2245 (string-bench): Add memcpy.
2246 (benchset): New variable to store a list of benchmark sets.
2247 (bench-func): Renamed from bench.
2248 (bench-set): New target.
2249 (bench): Depend on bench-func and bench-set.
2250 * benchtests/README: Add section on benchmark sets.
2251 * benchtests/bench-memcpy-ifunc.c: New file.
2252 * benchtests/bench-memcpy.c: New file.
2253 * benchtests/bench-string.h: New file.
2254
50fd745b
AS
22552013-06-11 Andreas Schwab <schwab@suse.de>
2256
2257 [BZ #15577]
2258 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2259 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2260 values in the triple.
2261 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2262 terminator in the group key.
2263
3ee7e9fe
AJ
22642013-06-11 Andreas Jaeger <aj@suse.de>
2265
2266 * po/zh_TW.po: Update Chinese (traditional) translation from
2267 translation project.
2268
89fb6835
SP
22692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2270
2271 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2272 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2273 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2274 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2275 (clock_getcpuclockid): Likewise.
2276 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2277 Add weak_alias and libc_hidden_def.
2278 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2279 * rt/clock_gettime.c (clock_gettime): Rename to
2280 __clock_gettime. Add weak_alias and libc_hidden_def.
2281 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2282 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2283 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2284 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2285 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2286 Likewise.
2287 * rt/clock_settime.c (clock_settime): Rename to
2288 __clock_settime. Add weak_alias and libc_hidden_def.
2289 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2290
0efa6f8b
JM
22912013-06-10 Joseph Myers <joseph@codesourcery.com>
2292
b8c61b4b
JM
2293 * mach/err_boot.sub: Remove trailing whitespace.
2294 * mach/err_ipc.sub: Likewise.
2295 * mach/err_mach.sub: Likewise.
2296
0efa6f8b
JM
2297 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2298 (ROUNDING_TESTS_double): Likewise.
2299 (ROUNDING_TESTS_long_double): Likewise.
2300 (ROUNDING_TESTS): Likewise.
2301 * math/libm-test.inc: Include <math-tests.h>.
2302 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2303 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2304 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2305 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2306
50b818bf
SP
23072013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2308
2309 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2310 of assigning.
2311
60d2f8f3
JM
23122013-06-08 Joseph Myers <joseph@codesourcery.com>
2313
4902d2c3
JM
2314 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2315 otherwise empty TRANS lines.
2316 * sysdeps/gnu/errlist.c: Regenerated.
2317
60d2f8f3
JM
2318 * catgets/gencat.c (error_print): Use (void) in function
2319 definition.
2320 * crypt/crypt_util.c (__init_des): Likewise.
2321 * crypt/speeds.c (Stop): Likewise.
2322 (main): Likewise.
2323 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2324 * inet/ruserpass.c (token): Likewise.
2325 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2326 * intl/localealias.c (extend_alias_table): Likewise.
2327 * intl/plural-exp.c (init_germanic_plural): Likewise.
2328 * libio/fcloseall.c (__fcloseall): Likewise.
2329 * libio/genops.c (_IO_flush_all): Likewise.
2330 (_IO_flush_all_linebuffered): Likewise.
2331 (_IO_cleanup): Likewise.
2332 (_IO_iter_begin): Likewise.
2333 (_IO_iter_end): Likewise.
2334 (_IO_list_lock): Likewise.
2335 (_IO_list_unlock): Likewise.
2336 (_IO_list_resetlock): Likewise.
2337 * libio/getchar.c (getchar): Likewise.
2338 * libio/getchar_u.c (getchar_unlocked): Likewise.
2339 * libio/getwchar.c (getwchar): Likewise.
2340 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2341 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2342 * login/getpt.c (__getpt): Likewise.
2343 * login/tst-utmp.c (main): Likewise.
2344 * malloc/hooks.c (__malloc_check_init): Likewise.
2345 * malloc/malloc.c (__malloc_stats): Likewise.
2346 * malloc/mtrace.c (tr_break): Likewise.
2347 (mtrace): Likewise.
2348 (muntrace): Likewise.
2349 * misc/fstab.c (endfsent): Likewise.
2350 * misc/getclktck.c (__getclktck): Likewise.
2351 * misc/getdtsz.c (__getdtablesize): Likewise.
2352 * misc/gethostid.c (gethostid): Likewise.
2353 * misc/getpagesize.c (__getpagesize): Likewise.
2354 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2355 (__get_nprocs): Likewise.
2356 (__get_phys_pages): Likewise.
2357 (__get_avphys_pages): Likewise.
2358 * misc/getttyent.c (getttyent): Likewise.
2359 (setttyent): Likewise.
2360 (endttyent): Likewise.
2361 * misc/getusershell.c (getusershell): Likewise.
2362 (endusershell): Likewise.
2363 (setusershell): Likewise.
2364 (initshells): Likewise.
2365 * misc/hsearch.c (__hdestroy): Likewise.
2366 * misc/sync.c (sync): Likewise.
2367 * misc/syslog.c (closelog_internal): Likewise.
2368 (closelog): Likewise.
2369 * misc/ttyslot.c (ttyslot): Likewise.
2370 * misc/vhangup.c (vhangup): Likewise.
2371 * posix/fork.c (__fork): Likewise.
2372 * posix/getegid.c (__getegid): Likewise.
2373 * posix/geteuid.c (__geteuid): Likewise.
2374 * posix/getgid.c (__getgid): Likewise.
2375 * posix/getpid.c (__getpid): Likewise.
2376 * posix/getppid.c (__getppid): Likewise.
2377 * posix/getuid.c (__getuid): Likewise.
2378 * posix/pause.c (pause): Likewise.
2379 * posix/setpgrp.c (setpgrp): Likewise.
2380 * posix/setsid.c (__setsid): Likewise.
2381 * posix/test-vfork.c (noop): Likewise.
2382 * resolv/gethnamaddr.c (_endhtent): Likewise.
2383 (_gethtent): Likewise.
2384 (ht_endhostent): Likewise.
2385 (gethostent): Likewise.
2386 (dns_service): Likewise.
2387 * stdlib/drand48.c (drand48): Likewise.
2388 * stdlib/lrand48.c (lrand48): Likewise.
2389 * stdlib/mrand48.c (mrand48): Likewise.
2390 * stdlib/rand.c (rand): Likewise.
2391 * stdlib/random.c (__random): Likewise.
2392 * stdlib/setenv.c (clearenv): Likewise.
2393 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2394 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2395 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2396 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2397 (__get_nprocs): Likewise.
2398 (__get_phys_pages): Likewise.
2399 (__get_avphys_pages): Likewise.
2400 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2401 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2402 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2403 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2404 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2405 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2406 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2407 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2408 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2409 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2410 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2411 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2412 * sysdeps/posix/clock.c (clock): Likewise.
2413 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2414 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2415 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2416 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2417 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2418 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2419 (__get_nprocs_conf): Likewise.
2420 (__get_phys_pages): Likewise.
2421 (__get_avphys_pages): Likewise.
2422 * time/clock.c (clock): Likewise.
2423 * time/tzset.c (__tzname_max): Likewise.
2424
2e09a79a
JM
24252013-06-07 Joseph Myers <joseph@codesourcery.com>
2426
2427 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2428 (__bswap_32): Do not use "register".
2429 * crypt/crypt.c (_ufc_doit_r): Likewise.
2430 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2431 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2432 * gmon/gmon.c (__monstartup): Likewise.
2433 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2434 * hurd/hurdmalloc.c (more_memory): Likewise.
2435 (malloc): Likewise.
2436 (free): Likewise.
2437 (realloc): Likewise.
2438 (malloc_fork_prepare): Likewise.
2439 (malloc_fork_parent): Likewise.
2440 (malloc_fork_child): Likewise.
2441 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2442 (_svcauth_des): Likewise.
2443 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2444 * inet/inet_net.c (inet_network): Likewise.
2445 * inet/inet_netof.c (inet_netof): Likewise.
2446 * inet/rcmd.c (__validuser2_sa): Likewise.
2447 * io/fts.c (fts_open): Likewise.
2448 (fts_load): Likewise.
2449 (fts_close): Likewise.
2450 (fts_read): Likewise.
2451 (fts_children): Likewise.
2452 (fts_build): Likewise.
2453 (fts_stat): Likewise.
2454 (fts_sort): Likewise.
2455 (fts_alloc): Likewise.
2456 (fts_lfree): Likewise.
2457 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2458 (_IO_file_xsgetn): Likewise.
2459 (_IO_file_xsgetn_mmap): Likewise.
2460 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2461 (_IO_cookie_write): Likewise.
2462 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2463 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2464 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2465 * malloc/obstack.c (_obstack_begin): Likewise.
2466 (_obstack_begin_1): Likewise.
2467 (_obstack_newchunk): Likewise.
2468 (_obstack_allocated_p): Likewise.
2469 (obstack_free): Likewise.
2470 (_obstack_memory_used): Likewise.
2471 * misc/getttyent.c (getttynam): Likewise.
2472 (getttyent): Likewise.
2473 (skip): Likewise.
2474 (value): Likewise.
2475 * misc/getusershell.c (initshells): Likewise.
2476 * misc/syslog.c (__vsyslog_chk): Likewise.
2477 * misc/ttyslot.c (ttyslot): Likewise.
2478 * nis/nis_hash.c (__nis_hash): Likewise.
2479 * posix/fnmatch_loop.c (FCT): Likewise.
2480 * posix/getconf.c (print_all): Likewise.
2481 (main): Likewise.
2482 * posix/getopt.c (exchange): Likewise.
2483 * posix/glob.c (globfree): Likewise.
2484 (prefix_array): Likewise.
2485 (__glob_pattern_type): Likewise.
2486 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2487 (NS_GET32): Likewise.
2488 (NS_PUT16): Likewise.
2489 (NS_PUT32): Likewise.
2490 * resolv/gethnamaddr.c (getanswer): Likewise.
2491 (gethostbyname2): Likewise.
2492 (gethostbyaddr): Likewise.
2493 (_gethtent): Likewise.
2494 (_gethtbyname2): Likewise.
2495 (_gethtbyaddr): Likewise.
2496 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2497 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2498 * resolv/res_init.c (__res_vinit): Likewise.
2499 (net_mask): Likewise.
2500 * resolv/res_mkquery.c (outchar): Likewise.
2501 (PRINT): Likewise.
2502 * stdio-common/printf_fp.c (outchar): Likewise.
2503 (PRINT): Likewise.
2504 * stdio-common/printf_fphex.c (outchar): Likewise.
2505 (PRINT): Likewise.
2506 * stdio-common/printf_size.c (outchar): Likewise.
2507 (PRINT): Likewise.
2508 * stdio-common/test_rdwr.c (main): Likewise.
2509 * stdio-common/tfformat.c (matches): Likewise.
2510 * stdio-common/vfprintf.c (outchar): Likewise.
2511 (printf_unknown): Likewise.
2512 (buffered_vfprintf): Likewise.
2513 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2514 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2515 (ReadFile): Likewise.
2516 * stdlib/qsort.c (SWAP): Likewise.
2517 (_quicksort): Likewise.
2518 * stdlib/setenv.c (__add_to_environ): Likewise.
2519 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2520 * stdlib/strtol_l.c (__strtol_l): Likewise.
2521 * stdlib/tst-strtod.c (main): Likewise.
2522 * stdlib/tst-strtol.c (main): Likewise.
2523 * stdlib/tst-strtoll.c (main): Likewise.
2524 * string/bits/string2.h (__strcmp_cc): Likewise.
2525 (__strcmp_cg): Likewise.
2526 (__strcspn_c1): Likewise.
2527 (__strcspn_c2): Likewise.
2528 (__strcspn_c3): Likewise.
2529 (__strspn_c1): Likewise.
2530 (__strspn_c2): Likewise.
2531 (__strspn_c3): Likewise.
2532 (__strsep_1c): Likewise.
2533 (__strsep_2c): Likewise.
2534 (__strsep_3c): Likewise.
2535 * string/memccpy.c (__memccpy): Likewise.
2536 * string/stpcpy.c (__stpcpy): Likewise.
2537 * string/strcmp.c (strcmp): Likewise.
2538 * string/strrchr.c (strrchr): Likewise.
2539 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2540 Likewise.
2541 * sysdeps/mach/hurd/getcwd.c
2542 (_hurd_canonicalize_directory_name_internal): Likewise.
2543 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2544 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2545 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2546 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2547 Likewise, in both definitions.
2548 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2549 definitions.
2550 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2551 64] (__bswap_64): Likewise.
2552 * time/test_time.c (main): Likewise.
2553 * time/tzfile.c (__tzfile_read): Likewise.
2554 (__tzfile_compute): Likewise.
2555 * time/tzset.c (__tzset_parse_tz): Likewise.
2556 (tzset_internal): Likewise.
2557 (compute_change): Likewise.
2558 * wcsmbs/wcscat.c (__wcscat): Likewise.
2559 * wcsmbs/wcschr.c (wcschr): Likewise.
2560 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2561 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2562 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2563 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2564 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2565 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2566 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2567 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2568 * wcsmbs/wmemset.c (wmemset): Likewise.
2569
9e54314b
JM
25702013-06-06 Joseph Myers <joseph@codesourcery.com>
2571
2572 * scripts/config.guess: Update to version 2013-05-16.
2573 * scripts/config.sub: Update to version 2013-04-24.
2574 * scripts/install-sh: Update to version 2011-11-20.07.
2575 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2576 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2577
350635a5
OB
25782013-06-06 Ondřej Bílka <neleai@seznam.cz>
2579
2580 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2581 * elf/sln.c: Likewise.
2582 * hurd/hurd/ioctl.h: Likewise.
2583 * hurd/hurdmalloc.c: Likewise.
2584 * hurd/xattr.c: Likewise.
2585 * include/shlib-compat.h: Likewise.
2586 * inet/ruserpass.c: Likewise.
2587 * libio/iofgets_u.c: Likewise.
2588 * libio/iofgetws_u.c: Likewise.
2589 * locale/programs/ld-identification.c: Likewise.
2590 * locale/programs/ld-time.c: Likewise.
2591 * mach/msg-destroy.c: Likewise.
2592 * nss/nss_files/files-netgrp.c: Likewise.
2593 * resolv/res_data.c: Likewise.
2594 * soft-fp/op-1.h: Likewise.
2595 * soft-fp/op-2.h: Likewise.
2596 * soft-fp/op-4.h: Likewise.
2597 * soft-fp/op-common.h: Likewise.
2598 * stdio-common/printf_fphex.c: Likewise.
2599 * stdlib/strtod_l.c: Likewise.
2600 * sunrpc/rpc/clnt.h: Likewise.
2601 * sysdeps/generic/framestate.c: Likewise.
2602 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2603 * sysdeps/i386/bsd-setjmp.S: Likewise.
2604 * sysdeps/i386/__longjmp.S: Likewise.
2605 * sysdeps/i386/setjmp.S: Likewise.
2606 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2607 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2608 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2609 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2610 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2611 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2612 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2613 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2614 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2615 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2616 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2617 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2618 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2619 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2620 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2621 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2622 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2623 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2624 * sysdeps/ieee754/support.c: Likewise.
2625 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2626 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2627 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2628 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2629 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2630 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2631 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2632 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2633 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2634 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2635 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2636 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2637 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2638 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2639 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2640 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2641 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2643
44a988af
OB
26442013-06-05 Ondřej Bílka <neleai@seznam.cz>
2645
25506f09 2646 * posix/transbug.c: Remove executable mode.
44a988af 2647
9c84384c
JM
26482013-06-05 Joseph Myers <joseph@codesourcery.com>
2649
2650 * crypt/speeds.c: Remove trailing whitespace.
2651 * dlfcn/default.c: Likewise.
2652 * elf/ifuncdep2.c: Likewise.
2653 * elf/ifuncmain1.c: Likewise.
2654 * elf/ifuncmain1vis.c: Likewise.
2655 * elf/testobj.h: Likewise.
2656 * elf/tst-stackguard1.c: Likewise.
2657 * gmon/sys/gmon.h: Likewise.
2658 * hurd/hurdmsg.c: Likewise.
2659 * hurd/new-fd.c: Likewise.
2660 * hurd/ports-get.c: Likewise.
2661 * iconvdata/ibm1008_420.c: Likewise.
2662 * inet/tst-getni1.c: Likewise.
2663 * inet/tst-getni2.c: Likewise.
2664 * libio/ioungetc.c: Likewise.
2665 * libio/wfiledoalloc.c: Likewise.
2666 * manual/libm-err-tab.pl: Likewise.
2667 * math/w_dremf.c: Likewise.
2668 * misc/ftruncate.c: Likewise.
2669 * posix/bug-glob2.c: Likewise.
2670 * posix/tst-pcre.c: Likewise.
2671 * posix/wait4.c: Likewise.
2672 * resolv/README: Likewise.
2673 * resolv/res_debug.h: Likewise.
2674 * resolv/tst-inet_ntop.c: Likewise.
2675 * setjmp/bug269-setjmp.c: Likewise.
2676 * soft-fp/extended.h: Likewise.
2677 * soft-fp/op-1.h: Likewise.
2678 * soft-fp/op-2.h: Likewise.
2679 * soft-fp/op-4.h: Likewise.
2680 * soft-fp/op-8.h: Likewise.
2681 * soft-fp/testit.c: Likewise.
2682 * stdio-common/bug16.c: Likewise.
2683 * stdlib/random.c: Likewise.
2684 * sunrpc/rpcsvc/rquota.x: Likewise.
2685 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2686 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2687 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2688 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2689 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2690 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2691 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2692 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2693 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2694 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2695 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2696 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2697 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2698 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2699 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2700 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2701 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2702 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2703 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2704 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2705 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2706 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2707 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2708 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2709 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2710 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2711 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2712 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2713 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2714 * sysdeps/ieee754/s_lib_version.c: Likewise.
2715 * sysdeps/mach/hurd/check_fds.c: Likewise.
2716 * sysdeps/mach/hurd/getsockname.c: Likewise.
2717 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2718 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2719 * sysdeps/powerpc/bits/link.h: Likewise.
2720 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2721 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2722 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2723 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2724 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2725 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2726 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2727 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2728 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2729 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2730 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2731 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2732 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2733 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2734 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2735 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2736 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2737 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2738 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2739 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2740 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2741 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2742 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2743 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2744 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2745 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2746 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2747 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2748 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2749 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2750 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2751 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2752 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2753 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2754 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2755 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2756 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2757 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2758 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2759 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2760 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2761 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2762 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2763 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2764 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2765 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2766 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2767 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2768 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2769 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2770 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2771 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2772 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2773 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2774 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2775 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2776 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2777 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2778 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2779 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2780 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2781 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2782 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2783 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2784 * sysdeps/powerpc/sysdep.h: Likewise.
2785 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2786 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2787 * sysdeps/sh/dl-trampoline.S: Likewise.
2788 * sysdeps/sh/memset.S: Likewise.
2789 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2790 * sysdeps/sh/strlen.S: Likewise.
2791 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2792 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2793 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2794 * sysdeps/sparc/sparc32/rem.S: Likewise.
2795 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2796 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2797 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2798 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2799 * sysdeps/sparc/sparc32/urem.S: Likewise.
2800 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2801 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2802 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2803 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2804 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2805 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2806 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2807 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2808 * sysdeps/unix/bsd/times.c: Likewise.
2809 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2810 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2814 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2815 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2816 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2817 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2818 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2819 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2820 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2821 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2822 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2823 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2824 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2825 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2826 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2827 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2828 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2829 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2830 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2831 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2832 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2833 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2834 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2835 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2836 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2837 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2838 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2839 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2840 * sysdeps/x86_64/strcspn.S: Likewise.
2841
869378a5
RA
28422013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2843
2844 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2845 generated file. Regenerate properly from gen-translit.pl.
2846 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2847 locale/C-translit.h.
2848
840e2943
AS
28492013-06-05 Andreas Schwab <schwab@suse.de>
2850
2851 [BZ #15100]
2852 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2853 week as 6 instead of -1.
2854 * time/tst-strptime.c (day_tests): Add test case.
2855
4c60cb0c
SP
28562013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2857
2858 * sysdeps/generic/math_private.h
2859 (libc_feholdexcept_setround_53bit): Replace with
2860 libc_feholdsetround_53bit.
2861 (libc_feupdateenv_53bit): Replace with
2862 libc_feresetround_53bit.
2863 (SET_RESTORE_ROUND_53BIT): Adjust.
2864
d180203e
SP
28652013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2866
96df079a
SP
2867 * string/test-strchrnul.c: Add copyright header.
2868
d180203e
SP
2869 * posix/tst-getaddrinfo4.c: Increase test timeout.
2870
8b0ccb2d
CD
28712013-06-03 Carlos O'Donell <carlos@redhat.com>
2872
2873 [BZ #15536]
2874 * math/libm-test.inc (MAX_EXP): Remove
2875 (MIN_EXP): Define.
2876 (ulp): Use MIN_EXP - MANT_DIG.
2877 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2878
3b3c4d40
CD
28792013-05-31 Carlos O'Donell <carlos@redhat.com>
2880
2881 * po/be.po: Revert last change.
2882 * po/zh_CN.po: Likewise.
2883 * po/header.pot: Likewise.
2884
fab7ce3f
JM
28852013-05-31 Joseph Myers <joseph@codesourcery.com>
2886
2887 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2888 link-libc-deps to empty as target-specific variable.
2889 * Makerules (link-libc-args): New variable.
2890 (libc-for-link): Likewise.
2891 (link-libc-deps): Likewise.
2892 (lib%.so): Depend on $(link-libc-deps). Link with
2893 $(link-libc-args).
2894 (build-module): Link with $(link-libc-args).
2895 (build-module-asneeded): Likewise.
2896 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2897 list of objects.
2898 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2899 target-specific variable.
2900 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2901 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2902 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2903 libc.
2904 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2905 libc and ld.so.
2906 ($(objpfx)libpcprofile.so): Likewise.
2907 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2908 libc_nonshared.a.
2909 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2910 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2911 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2912 $(link-libc-deps).
2913 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2914 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2915 * login/Makefile ($(objpfx)libutil.so): Likewise.
2916 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2917 * math/Makefile ($(objpfx)libm.so): Likewise.
2918 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2919 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2920 variable instead of depending directly on libc.
2921 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2922 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2923 $(link-libc-deps).
2924 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2925 libc.
2926 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2927 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2928 ($(objpfx)libanl.so): Likewise.
2929 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2930 ld.so.
2931 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2932 $(link-libc-deps).
2933 * sysdeps/i386/fpu/Makefile: Remove file.
2934 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2935 ($(objpfx)libm.so): Remove dependency on ld.so.
2936
eca5920c
PF
29372013-05-30 Patsy Franklin <pfrankli@redhat.com>
2938
2939 [BZ # 15553]
2940 * nis/yp_xdr.c (XDRMAXNAME): Define.
2941 (XDRMAXRECORD): Define.
2942 (xdr_domainname): Use XDRMAXNAME.
2943 (xdr_mapname): Likewise.
2944 (xdr_peername): Likewise.
2945 (xdr_keydat): Use XDRMAXRECORD.
2946 (xdr_valdat): Likewise.
2947
29482013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2949
2950 [BZ #14256]
2951 * manual/errno.texi (ESTALE): Update to account for more than
2952 just NFS file systems.
2953 * sysdeps/gnu/errlist.c: Regenerated.
2954
b9375348
SP
29552013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2956
2957 [BZ #15465]
2958 * elf/Makefile (tests): Add tst-null-argv.
2959 (modules-names): Add tst-null-argv-lib.
2960 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2961 (tst-null-argv-ENV): Set environment for tst-null-argv.
2962 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2963 (RTLD_PROGNAME): New macro.
2964 * elf/tst-null-argv.c: New test case.
2965 * elf/tst-null-argv-lib.c: Library for test case.
2966 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2967 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2968 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2969 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2970 * elf/dl-init.c (call_init): Likewise.
2971 (_dl_init): Likewise.
2972 * elf/dl-load.c (print_search_path): Likewise.
2973 (_dl_map_object): Likewise.
2974 * elf/dl-lookup.c (do_lookup_x): Likewise.
2975 (add_dependency): Likewise.
2976 (_dl_lookup_symbol_x): Likewise.
2977 (_dl_debug_bindings): Likewise.
2978 * elf/dl-open.c (_dl_show_scope): Likewise.
2979 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2980 * elf/dl-version.c (match_symbol): Likewise.
2981 (_dl_check_map_versions): Likewise.
2982 * elf/rtld.c (dl_main): Likewise.
2983 (print_unresolved): Use RTLD_PROGNAME.
2984 (print_missing_version): Likewise.
2985 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2986 (elf_machine_rela): Likewise.
2987 * sysdeps/powerpc/powerpc32/dl-machine.c
2988 (__process_machine_rela): Likewise.
2989 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2990 Likewise.
2991 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2992 Likewise.
2993 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2994 Likewise.
2995 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2996 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2997 Likewise.
2998 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2999 Likewise.
3000 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3001
8a9f20c8
CD
30022013-05-28 Carlos O'Donell <carlos@redhat.com>
3003
3004 * po/be.po: Add descriptive title.
3005 * po/zh_CN.po: Likewise.
3006 * po/header.pot: Likewise.
3007
0e60d68e
MF
30082013-05-28 Mike Frysinger <vapier@gentoo.org>
3009
3010 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3011 error message.
3012 (enlarge_archive): Likewise.
3013
56b672e9
BN
30142013-05-28 Ben North <ben@redfrontdoor.org>
3015
3016 * manual/arith.texi (frexp): It is the magnitude of the return
3017 value which lies in [0.5, 1), not the return value itself.
3018
5e056687
AZ
30192013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3020
3021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3022
2b66ef5d
TS
30232013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3024
528c2405
TS
3025 * stdio-common/bug26.c (main): Correct fscanf template.
3026
07b4c13d
TS
3027 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3028 declare _dl_skip_args.
3029
ec9dd97c
TS
3030 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3031 Don't declare.
3032
2b66ef5d
TS
3033 * manual/platform.texi: Add missing @end deftypefun.
3034
4f8dfe27
JM
30352013-05-24 Joseph Myers <joseph@codesourcery.com>
3036
0323d086
JM
3037 [BZ #15529]
3038 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3039 bit of mantissa of 2^16382.
3040 * math/libm-test.inc (hypot_test_data): Add more tests.
3041
dd4259b9
JM
3042 * math/libm-test.inc: Add drem and pow10 to list of tested
3043 functions.
3044 (pow10_test): New function.
3045 (drem_test): Likewise.
3046 (drem_test_tonearest): Likewise.
3047 (drem_test_towardzero): Likewise.
3048 (drem_test_downward): Likewise.
3049 (drem_test_upward): Likewise.
3050 (main): Call the new functions.
3051
4f8dfe27
JM
3052 * math/libm-test.inc (finite_test_data): Remove.
3053 (finite_test): Run tests from isfinite_test_data.
3054 (gamma_test_data): Remove.
3055 (gamma_test): Run tests from lgamma_test_data.
3056 * sysdeps/i386/fpu/libm-test-ulps: Update.
3057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3058
d116b7c4
AZ
30592013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3060
3061 * manual/platform.texi: Add PowerPC PPR function set documentation.
3062 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3063 implementation.
3064
e96e3767
CD
30652013-05-24 Carlos O'Donell <carlos@redhat.com>
3066
3067 * math/libm-test.inc (MAX_EXP): Define.
3068 (ULPDIFF): Define.
3069 (ulp): New function.
3070 (check_float_internal): Use ULPDIFF.
3071 (cpow_test): Disable failing test.
3072 (check_ulp): Test ulp() implemetnation.
3073 (main): Call check_ulp before starting tests.
3074
b679a606
JM
30752013-05-24 Joseph Myers <joseph@codesourcery.com>
3076
e8bdba36
JM
3077 * math/gen-libm-test.pl (generate_testfile): Do not handle
3078 START_DATA and END_DATA.
3079 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3080 END_DATA.
3081 (acos_tonearest_test_data): Likewise.
3082 (acos_towardzero_test_data): Likewise.
3083 (acos_downward_test_data): Likewise.
3084 (acos_upward_test_data): Likewise.
3085 (acosh_test_data): Likewise.
3086 (asin_test_data): Likewise.
3087 (asin_tonearest_test_data): Likewise.
3088 (asin_towardzero_test_data): Likewise.
3089 (asin_downward_test_data): Likewise.
3090 (asin_upward_test_data): Likewise.
3091 (asinh_test_data): Likewise.
3092 (atan_test_data): Likewise.
3093 (atanh_test_data): Likewise.
3094 (atan2_test_data): Likewise.
3095 (cabs_test_data): Likewise.
3096 (cacos_test_data): Likewise.
3097 (cacosh_test_data): Likewise.
3098 (carg_test_data): Likewise.
3099 (casin_test_data): Likewise.
3100 (casinh_test_data): Likewise.
3101 (catan_test_data): Likewise.
3102 (catanh_test_data): Likewise.
3103 (cbrt_test_data): Likewise.
3104 (ccos_test_data): Likewise.
3105 (ccosh_test_data): Likewise.
3106 (ceil_test_data): Likewise.
3107 (cexp_test_data): Likewise.
3108 (cimag_test_data): Likewise.
3109 (clog_test_data): Likewise.
3110 (clog10_test_data): Likewise.
3111 (conj_test_data): Likewise.
3112 (copysign_test_data): Likewise.
3113 (cos_test_data): Likewise.
3114 (cos_tonearest_test_data): Likewise.
3115 (cos_towardzero_test_data): Likewise.
3116 (cos_downward_test_data): Likewise.
3117 (cos_upward_test_data): Likewise.
3118 (cosh_test_data): Likewise.
3119 (cosh_tonearest_test_data): Likewise.
3120 (cosh_towardzero_test_data): Likewise.
3121 (cosh_downward_test_data): Likewise.
3122 (cosh_upward_test_data): Likewise.
3123 (cpow_test_data): Likewise.
3124 (cproj_test_data): Likewise.
3125 (creal_test_data): Likewise.
3126 (csin_test_data): Likewise.
3127 (csinh_test_data): Likewise.
3128 (csqrt_test_data): Likewise.
3129 (ctan_test_data): Likewise.
3130 (ctan_tonearest_test_data): Likewise.
3131 (ctan_towardzero_test_data): Likewise.
3132 (ctan_downward_test_data): Likewise.
3133 (ctan_upward_test_data): Likewise.
3134 (ctanh_test_data): Likewise.
3135 (ctanh_tonearest_test_data): Likewise.
3136 (ctanh_towardzero_test_data): Likewise.
3137 (ctanh_downward_test_data): Likewise.
3138 (ctanh_upward_test_data): Likewise.
3139 (erf_test_data): Likewise.
3140 (erfc_test_data): Likewise.
3141 (exp_test_data): Likewise.
3142 (exp_tonearest_test_data): Likewise.
3143 (exp_towardzero_test_data): Likewise.
3144 (exp_downward_test_data): Likewise.
3145 (exp_upward_test_data): Likewise.
3146 (exp10_test_data): Likewise.
3147 (exp2_test_data): Likewise.
3148 (expm1_test_data): Likewise.
3149 (fabs_test_data): Likewise.
3150 (fdim_test_data): Likewise.
3151 (finite_test_data): Likewise.
3152 (floor_test_data): Likewise.
3153 (fma_test_data): Likewise.
3154 (fma_towardzero_test_data): Likewise.
3155 (fma_downward_test_data): Likewise.
3156 (fma_upward_test_data): Likewise.
3157 (fmax_test_data): Likewise.
3158 (fmin_test_data): Likewise.
3159 (fmod_test_data): Likewise.
3160 (fpclassify_test_data): Likewise.
3161 (frexp_test_data): Likewise.
3162 (gamma_test_data): Likewise.
3163 (hypot_test_data): Likewise.
3164 (ilogb_test_data): Likewise.
3165 (isfinite_test_data): Likewise.
3166 (isgreater_test_data): Likewise.
3167 (isgreaterequal_test_data): Likewise.
3168 (isinf_test_data): Likewise.
3169 (isless_test_data): Likewise.
3170 (islessequal_test_data): Likewise.
3171 (islessgreater_test_data): Likewise.
3172 (isnan_test_data): Likewise.
3173 (isnormal_test_data): Likewise.
3174 (issignaling_test_data): Likewise.
3175 (isunordered_test_data): Likewise.
3176 (j0_test_data): Likewise.
3177 (j1_test_data): Likewise.
3178 (jn_test_data): Likewise.
3179 (ldexp_test_data): Likewise.
3180 (lgamma_test_data): Likewise.
3181 (lrint_test_data): Likewise.
3182 (lrint_tonearest_test_data): Likewise.
3183 (lrint_towardzero_test_data): Likewise.
3184 (lrint_downward_test_data): Likewise.
3185 (lrint_upward_test_data): Likewise.
3186 (llrint_test_data): Likewise.
3187 (llrint_tonearest_test_data): Likewise.
3188 (llrint_towardzero_test_data): Likewise.
3189 (llrint_downward_test_data): Likewise.
3190 (llrint_upward_test_data): Likewise.
3191 (log_test_data): Likewise.
3192 (log10_test_data): Likewise.
3193 (log1p_test_data): Likewise.
3194 (log2_test_data): Likewise.
3195 (logb_test_data): Likewise.
3196 (logb_downward_test_data): Likewise.
3197 (lround_test_data): Likewise.
3198 (llround_test_data): Likewise.
3199 (modf_test_data): Likewise.
3200 (nearbyint_test_data): Likewise.
3201 (nextafter_test_data): Likewise.
3202 (nexttoward_test_data): Likewise.
3203 (pow_test_data): Likewise.
3204 (pow_tonearest_test_data): Likewise.
3205 (pow_towardzero_test_data): Likewise.
3206 (pow_downward_test_data): Likewise.
3207 (pow_upward_test_data): Likewise.
3208 (remainder_test_data): Likewise.
3209 (remainder_tonearest_test_data): Likewise.
3210 (remainder_towardzero_test_data): Likewise.
3211 (remainder_downward_test_data): Likewise.
3212 (remainder_upward_test_data): Likewise.
3213 (remquo_test_data): Likewise.
3214 (rint_test_data): Likewise.
3215 (rint_tonearest_test_data): Likewise.
3216 (rint_towardzero_test_data): Likewise.
3217 (rint_downward_test_data): Likewise.
3218 (rint_upward_test_data): Likewise.
3219 (round_test_data): Likewise.
3220 (scalb_test_data): Likewise.
3221 (scalbn_test_data): Likewise.
3222 (scalbln_test_data): Likewise.
3223 (signbit_test_data): Likewise.
3224 (sin_test_data): Likewise.
3225 (sin_tonearest_test_data): Likewise.
3226 (sin_towardzero_test_data): Likewise.
3227 (sin_downward_test_data): Likewise.
3228 (sin_upward_test_data): Likewise.
3229 (sincos_test_data): Likewise.
3230 (sinh_test_data): Likewise.
3231 (sinh_tonearest_test_data): Likewise.
3232 (sinh_towardzero_test_data): Likewise.
3233 (sinh_downward_test_data): Likewise.
3234 (sinh_upward_test_data): Likewise.
3235 (sqrt_test_data): Likewise.
3236 (tan_test_data): Likewise.
3237 (tan_tonearest_test_data): Likewise.
3238 (tan_towardzero_test_data): Likewise.
3239 (tan_downward_test_data): Likewise.
3240 (tan_upward_test_data): Likewise.
3241 (tanh_test_data): Likewise.
3242 (tgamma_test_data): Likewise.
3243 (trunc_test_data): Likewise.
3244 (y0_test_data): Likewise.
3245 (y1_test_data): Likewise.
3246 (yn_test_data): Likewise.
3247 (significand_test_data): Likewise.
3248
b679a606
JM
3249 * math/gen-libm-test.pl (@functions): Remove variable.
3250 (generate_testfile): Don't handle START and END lines.
3251 * math/libm-test.inc (START): New macro.
3252 (END): Likewise.
3253 (END_COMPLEX): Likewise.
3254 (acos_test): Use END macro without arguments.
3255 (acos_test_tonearest): Likewise.
3256 (acos_test_towardzero): Likewise.
3257 (acos_test_downward): Likewise.
3258 (acos_test_upward): Likewise.
3259 (acosh_test): Likewise.
3260 (asin_test): Likewise.
3261 (asin_test_tonearest): Likewise.
3262 (asin_test_towardzero): Likewise.
3263 (asin_test_downward): Likewise.
3264 (asin_test_upward): Likewise.
3265 (asinh_test): Likewise.
3266 (atan_test): Likewise.
3267 (atanh_test): Likewise.
3268 (atan2_test): Likewise.
3269 (cabs_test): Likewise.
3270 (cacos_test): Use END_COMPLEX macro without arguments.
3271 (cacosh_test): Likewise.
3272 (carg_test): Use END macro without arguments.
3273 (casin_test): Use END_COMPLEX macro without arguments.
3274 (casinh_test): Likewise.
3275 (catan_test): Likewise.
3276 (catanh_test): Likewise.
3277 (cbrt_test): Use END macro without arguments.
3278 (ccos_test): Use END_COMPLEX macro without arguments.
3279 (ccosh_test): Likewise.
3280 (ceil_test): Use END macro without arguments.
3281 (cexp_test): Use END_COMPLEX macro without arguments.
3282 (cimag_test): Use END macro without arguments.
3283 (clog_test): Use END_COMPLEX macro without arguments.
3284 (clog10_test): Likewise.
3285 (conj_test): Likewise.
3286 (copysign_test): Use END macro without arguments.
3287 (cos_test): Likewise.
3288 (cos_test_tonearest): Likewise.
3289 (cos_test_towardzero): Likewise.
3290 (cos_test_downward): Likewise.
3291 (cos_test_upward): Likewise.
3292 (cosh_test): Likewise.
3293 (cosh_test_tonearest): Likewise.
3294 (cosh_test_towardzero): Likewise.
3295 (cosh_test_downward): Likewise.
3296 (cosh_test_upward): Likewise.
3297 (cpow_test): Use END_COMPLEX macro without arguments.
3298 (cproj_test): Likewise.
3299 (creal_test): Use END macro without arguments.
3300 (csin_test): Use END_COMPLEX macro without arguments.
3301 (csinh_test): Likewise.
3302 (csqrt_test): Likewise.
3303 (ctan_test): Likewise.
3304 (ctan_test_tonearest): Likewise.
3305 (ctan_test_towardzero): Likewise.
3306 (ctan_test_downward): Likewise.
3307 (ctan_test_upward): Likewise.
3308 (ctanh_test): Likewise.
3309 (ctanh_test_tonearest): Likewise.
3310 (ctanh_test_towardzero): Likewise.
3311 (ctanh_test_downward): Likewise.
3312 (ctanh_test_upward): Likewise.
3313 (erf_test): Use END macro without arguments.
3314 (erfc_test): Likewise.
3315 (exp_test): Likewise.
3316 (exp_test_tonearest): Likewise.
3317 (exp_test_towardzero): Likewise.
3318 (exp_test_downward): Likewise.
3319 (exp_test_upward): Likewise.
3320 (exp10_test): Likewise.
3321 (exp2_test): Likewise.
3322 (expm1_test): Likewise.
3323 (fabs_test): Likewise.
3324 (fdim_test): Likewise.
3325 (finite_test): Likewise.
3326 (floor_test): Likewise.
3327 (fma_test): Likewise.
3328 (fma_test_towardzero): Likewise.
3329 (fma_test_downward): Likewise.
3330 (fma_test_upward): Likewise.
3331 (fmax_test): Likewise.
3332 (fmin_test): Likewise.
3333 (fmod_test): Likewise.
3334 (fpclassify_test): Likewise.
3335 (frexp_test): Likewise.
3336 (gamma_test): Likewise.
3337 (hypot_test): Likewise.
3338 (ilogb_test): Likewise.
3339 (isfinite_test): Likewise.
3340 (isgreater_test): Likewise.
3341 (isgreaterequal_test): Likewise.
3342 (isinf_test): Likewise.
3343 (isless_test): Likewise.
3344 (islessequal_test): Likewise.
3345 (islessgreater_test): Likewise.
3346 (isnan_test): Likewise.
3347 (isnormal_test): Likewise.
3348 (issignaling_test): Likewise.
3349 (isunordered_test): Likewise.
3350 (j0_test): Likewise.
3351 (j1_test): Likewise.
3352 (jn_test): Likewise.
3353 (ldexp_test): Likewise.
3354 (lgamma_test): Likewise.
3355 (lrint_test): Likewise.
3356 (lrint_test_tonearest): Likewise.
3357 (lrint_test_towardzero): Likewise.
3358 (lrint_test_downward): Likewise.
3359 (lrint_test_upward): Likewise.
3360 (llrint_test): Likewise.
3361 (llrint_test_tonearest): Likewise.
3362 (llrint_test_towardzero): Likewise.
3363 (llrint_test_downward): Likewise.
3364 (llrint_test_upward): Likewise.
3365 (log_test): Likewise.
3366 (log10_test): Likewise.
3367 (log1p_test): Likewise.
3368 (log2_test): Likewise.
3369 (logb_test): Likewise.
3370 (logb_test_downward): Likewise.
3371 (lround_test): Likewise.
3372 (llround_test): Likewise.
3373 (modf_test): Likewise.
3374 (nearbyint_test): Likewise.
3375 (nextafter_test): Likewise.
3376 (nexttoward_test): Likewise.
3377 (pow_test): Likewise.
3378 (pow_test_tonearest): Likewise.
3379 (pow_test_towardzero): Likewise.
3380 (pow_test_downward): Likewise.
3381 (pow_test_upward): Likewise.
3382 (remainder_test): Likewise.
3383 (remainder_test_tonearest): Likewise.
3384 (remainder_test_towardzero): Likewise.
3385 (remainder_test_downward): Likewise.
3386 (remainder_test_upward): Likewise.
3387 (remquo_test): Likewise.
3388 (rint_test): Likewise.
3389 (rint_test_tonearest): Likewise.
3390 (rint_test_towardzero): Likewise.
3391 (rint_test_downward): Likewise.
3392 (rint_test_upward): Likewise.
3393 (round_test): Likewise.
3394 (scalb_test): Likewise.
3395 (scalbn_test): Likewise.
3396 (scalbln_test): Likewise.
3397 (signbit_test): Likewise.
3398 (sin_test): Likewise.
3399 (sin_test_tonearest): Likewise.
3400 (sin_test_towardzero): Likewise.
3401 (sin_test_downward): Likewise.
3402 (sin_test_upward): Likewise.
3403 (sincos_test): Likewise.
3404 (sinh_test): Likewise.
3405 (sinh_test_tonearest): Likewise.
3406 (sinh_test_towardzero): Likewise.
3407 (sinh_test_downward): Likewise.
3408 (sinh_test_upward): Likewise.
3409 (sqrt_test): Likewise.
3410 (tan_test): Likewise.
3411 (tan_test_tonearest): Likewise.
3412 (tan_test_towardzero): Likewise.
3413 (tan_test_downward): Likewise.
3414 (tan_test_upward): Likewise.
3415 (tanh_test): Likewise.
3416 (tgamma_test): Likewise.
3417 (trunc_test): Likewise.
3418 (y0_test): Likewise.
3419 (y1_test): Likewise.
3420 (yn_test): Likewise.
3421 (significand_test): Likewise.
3422
bae143d2
OB
34232013-05-24 Ondřej Bílka <neleai@seznam.cz>
3424
3425 [BZ #15381]
3426 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3427
9323d39b
EM
34282013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3429
d4ea44a0 3430 [BZ #14894]
9323d39b
EM
3431 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3432 __ppc_mdoio and __ppc_mdoom.
3433 * manual/platform.texi: Document new functions __ppc_yield,
3434 __ppc_mdoio and __ppc_mdoom.
3435
13e23af7
CD
34362013-05-22 Carlos O'Donell <carlos@redhat.com>
3437
3438 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3439 (main): Mention "tls" pseudo-hwcap is legacy.
3440 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3441
351fe550
JM
34422013-05-22 Joseph Myers <joseph@codesourcery.com>
3443
3444 * math/gen-libm-test.pl (parse_args): Output only string of
3445 arguments as text for test name, not full call or descriptions of
3446 tests for extra outputs.
3447 (generate_testfile): Do not pass function name to parse_args.
3448 Generate this_func variable from START.
3449 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3450 field to arg_str.
3451 (struct test_ff_f_data): Likewise.
3452 (test_ff_f_data_nexttoward): Likewise.
3453 (struct test_fi_f_data): Likewise.
3454 (struct test_fl_f_data): Likewise.
3455 (struct test_if_f_data): Likewise.
3456 (struct test_fff_f_data): Likewise.
3457 (struct test_c_f_data): Likewise.
3458 (struct test_f_f1_data): Likewise. Remove field extra_name.
3459 (struct test_fF_f1_data): Likewise.
3460 (struct test_ffI_f1_data): Likewise.
3461 (struct test_c_c_data): Rename test_name field to arg_str.
3462 (struct test_cc_c_data): Likewise.
3463 (struct test_f_i_data): Likewise.
3464 (struct test_ff_i_data): Likewise.
3465 (struct test_f_l_data): Likewise.
3466 (struct test_f_L_data): Likewise.
3467 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3468 and extra2_name.
3469 (COMMON_TEST_SETUP): New macro.
3470 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3471 (COMMON_TEST_CLEANUP): Likewise.
3472 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3473 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3474 macros.
3475 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3476 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3477 macros.
3478 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3479 (RUN_TEST_fff_f): Take argument string. Call new setup and
3480 cleanup macros.
3481 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3482 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3483 macros.
3484 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3485 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3486 macros.
3487 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3488 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3489 cleanup macros.
3490 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3491 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3492 cleanup macros.
3493 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3494 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3495 cleanup macros.
3496 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3497 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3498 macros.
3499 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3500 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3501 macros.
3502 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3503 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3504 macros.
3505 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3506 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3507 cleanup macros.
3508 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3509 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3510 cleanup macros.
3511 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3512 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3513 macros.
3514 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3515 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3516 cleanup macros.
3517 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3518 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3519 macros.
3520 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3521 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3522 macros.
3523 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3524 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3525 cleanup macros.
3526 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3527
85118d4d
EBM
35282013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3529
3530 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3531 to _sifields.sigfault.
3532 (si_addr_lsb): Define new macro.
3533 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3534 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3535 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3536
7a44c18f
CD
35372013-05-03 Carlos O'Donell <carlos at redhat.com>
3538
3539 [BZ #15441]
3540 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3541 returns -1.
3542 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3543 null return -1.
3544 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3545 loading the domain.
3546
b50a7181
JM
35472013-05-22 Joseph Myers <joseph@codesourcery.com>
3548
3549 * math/gen-libm-test.pl (parse_args): Do not include expected
3550 result in test name.
3551 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3552 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3553 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3554 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3555 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3557
051063c8
SP
35582013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3559
3ce9e010
SP
3560 * benchtests/Makefile: Sort function entries.
3561
051063c8
SP
3562 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3563 tanh, asinh, acosh, atanh.
3564 * benchtests/acos-inputs: New file.
3565 * benchtests/acosh-inputs: New file.
3566 * benchtests/asin-inputs: New file.
3567 * benchtests/asinh-inputs: New file.
3568 * benchtests/atanh-inputs: New file.
3569 * benchtests/cosh-inputs: New file.
3570 * benchtests/log-inputs: New file.
3571 * benchtests/sinh-inputs: New file.
3572 * benchtests/tanh-inputs: New file.
3573
47c22455
DL
35742013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3575
3576 [BZ #15339]
3577 * posix/tst-getaddrinfo4.c: New test.
3578 * posix/Makefile (tests): Add it.
3579
3d04f5db
SP
35802013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3581
3582 [BZ #15339]
3583 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3584 when no services were used.
3585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3586 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3587
d5dd6189
AS
35882013-05-21 Andreas Schwab <schwab@suse.de>
3589
3590 [BZ #15014]
3591 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3592 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3593 successful.
3594 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3595 redundant variable declarations and reallocation of buffer when
3596 parsing as IPv6 address. Always set NSS status when called from
3597 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3598 buffer too small. Correct computation of needed size.
3599 * nss/Makefile (tests): Add test-digits-dots.
3600 * nss/test-digits-dots.c: New test.
3601
fef94eab
SP
36022013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3603
3604 * benchtests/Makefile: Remove instructions for adding
3605 benchmark tests.
3606 * benchtests/README: New file to explain how to execute and
3607 enhance the benchmark tests.
3608
e39adf43
AS
36092013-05-21 Andreas Schwab <schwab@suse.de>
3610
3611 [BZ #15493]
3612 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3613 * setjmp/tst-sigsetjmp.c: New test.
3614
b2b671b6
OB
36152013-05-20 Ondřej Bílka <neleai@seznam.cz>
3616
3617 * sysdeps/x86_64/memset.S (memset): New implementation.
3618 (__bzero): Likewise.
3619 (__memset_tail): New function.
3620
2d48b41c
OB
36212013-05-20 Ondřej Bílka <neleai@seznam.cz>
3622
3623 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3624 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3625 __memcpy_sse2_unaligned ifunc selection.
3626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3627 Add memcpy-sse2-unaligned.S.
3628 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3629 Add: __memcpy_sse2_unaligned.
3630
f16cc3eb
JM
36312013-05-19 Joseph Myers <joseph@codesourcery.com>
3632
3e694268
JM
3633 [BZ #15490]
3634 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3635 math_force_eval before restoring floating-point envrionment.
3636 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3637 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3638 Likewise.
3639 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3640 <math_private.h>.
3641 (__nearbyintl): Use math_force_eval before restoring
3642 floating-point environment.
3643 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3644
db62a907
JM
3645 * math/gen-libm-test.pl (special_functions): Remove.
3646 (parse_args): Don't handle TEST_extra. Handle functions with no
3647 return value.
3648 * math/libm-test.inc (struct test_sincos_data): Replace with
3649 struct test_fFF_11_data.
3650 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3651 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3652 (sincos_test_data): Change element type to struct
3653 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3654 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3655 RUN_TEST_LOOP_sincos.
3656 * math/README.libm-test: Don't mention special handling of
3657 individual functions.
3658 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3659 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3660 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3661 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3662 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3664
f16cc3eb
JM
3665 * math/gen-libm-test.pl (get_variable): Remove function.
3666 (parse_args): Don't show pointer parameters to call in test
3667 names. Use "extra output N" in test names for extra outputs
3668 rather than naming variables.
3669
3779b5b6
JM
36702013-05-18 Joseph Myers <joseph@codesourcery.com>
3671
2ee094ff
JM
3672 [BZ #15488]
3673 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3674 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3675 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3676 double tests.
3677 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3678 disable.
3679 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3680 check_long_double.
3681
3779b5b6
JM
3682 * math/gen-libm-test.pl (@tests): Remove variable.
3683 ($count): Likewise.
3684 (new_test): Remove function.
3685 (show_exceptions): New function.
3686 (special_functions): Use show_exceptions instead of new_test.
3687 (parse_args): Likewise.
3688 (generate_testfile): Pass only function name in generated call to
3689 print_max_error or print_complex_max_error.
3690 (get_ulps): Do not handle complex tests specially.
3691 (output_test): Rename to ...
3692 (get_all_ulps_for_test): ... this. Return a string rather than
3693 printing to a file. Require ulps to be present.
3694 (output_ulps): Generate arrays rather than #defines.
3695 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3696 (struct ulp_data): New type.
3697 (BUILD_COMPLEX_ULP): Remove macro.
3698 (compare_ulp_data): New function.
3699 (find_ulps): Likewise.
3700 (find_test_ulps): Likewise.
3701 (find_function_ulps): Likewise.
3702 (find_complex_function_ulps): Likewise.
3703 (print_max_error): Determine allowed ulps using
3704 find_function_ulps.
3705 (print_complex_max_error): Determine allowed ulps using
3706 find_complex_function_ulps.
3707 (check_float_internal): Determine max ulps using find_test_ulps.
3708 (check_float): Do not take max_ulp parameter. Update call to
3709 check_float_internal.
3710 (check_complex): Likewise.
3711 (check_int): Do not take max_ulp parameter.
3712 (check_long): Likewise.
3713 (check_bool): Likewise.
3714 (check_longlong): Likewise.
3715 (struct test_f_f_data): Remove max_ulp field.
3716 (struct test_ff_f_data): Likewise.
3717 (struct test_ff_f_data_nexttoward): Likewise.
3718 (struct test_fi_f_data): Likewise.
3719 (struct test_fl_f_data): Likewise.
3720 (struct test_if_f_data): Likewise.
3721 (struct test_fff_f_data): Likewise.
3722 (struct test_c_f_data): Likewise.
3723 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3724 (struct test_fF_f1_data): Likewise.
3725 (struct test_ffI_f1_data): Likewise.
3726 (struct test_c_c_data): Remove max_ulp field.
3727 (struct test_cc_c_data): Likewise.
3728 (struct test_f_i_data): Likewise.
3729 (struct test_ff_i_data): Likewise.
3730 (struct test_f_l_data): Likewise.
3731 (struct test_f_L_data): Likewise.
3732 (struct test_sincos_data): Likewise.
3733 (RUN_TEST_f_f): Do not handle ulps.
3734 (RUN_TEST_LOOP_f_f): Likewise.
3735 (RUN_TEST_2_f): Likewise.
3736 (RUN_TEST_LOOP_2_f): Likewise.
3737 (RUN_TEST_fff_f): Likewise.
3738 (RUN_TEST_LOOP_fff_f): Likewise.
3739 (RUN_TEST_c_f): Likewise.
3740 (RUN_TEST_LOOP_c_f): Likewise.
3741 (RUN_TEST_f_f1): Likewise.
3742 (RUN_TEST_LOOP_f_f1): Likewise.
3743 (RUN_TEST_fF_f1): Likewise.
3744 (RUN_TEST_LOOP_fF_f1): Likewise.
3745 (RUN_TEST_fI_f1): Likewise.
3746 (RUN_TEST_LOOP_fI_f1): Likewise.
3747 (RUN_TEST_ffI_f1): Likewise.
3748 (RUN_TEST_LOOP_ffI_f1): Likewise.
3749 (RUN_TEST_c_c): Likewise.
3750 (RUN_TEST_LOOP_c_c): Likewise.
3751 (RUN_TEST_cc_c): Likewise.
3752 (RUN_TEST_LOOP_cc_c): Likewise.
3753 (RUN_TEST_f_i): Likewise.
3754 (RUN_TEST_LOOP_f_i): Likewise.
3755 (RUN_TEST_f_i_tg): Likewise.
3756 (RUN_TEST_LOOP_f_i_tg): Likewise.
3757 (RUN_TEST_ff_i_tg): Likewise.
3758 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3759 (RUN_TEST_f_b): Likewise.
3760 (RUN_TEST_LOOP_f_b): Likewise.
3761 (RUN_TEST_f_b_tg): Likewise.
3762 (RUN_TEST_LOOP_f_b_tg): Likewise.
3763 (RUN_TEST_f_l): Likewise.
3764 (RUN_TEST_LOOP_f_l): Likewise.
3765 (RUN_TEST_f_L): Likewise.
3766 (RUN_TEST_LOOP_f_L): Likewise.
3767 (RUN_TEST_sincos): Likewise.
3768 (RUN_TEST_LOOP_sincos): Likewise.
3769
8269107f
JM
37702013-05-17 Joseph Myers <joseph@codesourcery.com>
3771
bb38759d
JM
3772 [BZ #15480]
3773 [BZ #15485]
3774 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3775 main case of finite arguments, set rounding mode to FE_TONEAREST
3776 and discard exceptions.
3777 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3778 exceptions.
3779 (remainder_tonearest_test_data): New variable.
3780 (remainder_test_tonearest): New function.
3781 (remainder_towardzero_test_data): New variable.
3782 (remainder_test_towardzero): New function.
3783 (remainder_downward_test_data): New variable.
3784 (remainder_test_downward): New function.
3785 (remainder_upward_test_data): New variable.
3786 (remainder_test_upward): New function.
3787 (main): Call the new test functions.
3788
a00bdcf0
JM
3789 * math/libm-test.inc (struct test_f_f1_data): Remove field
3790 extra_init.
3791 (struct test_fF_f1_data): Likewise.
3792 (struct test_ffI_f1_data): Likewise.
3793 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3794 based on value of EXTRA_EXPECTED.
3795 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3796 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3797 EXTRA_VAR based on value of EXTRA_EXPECTED.
3798 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3799 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3800 EXTRA_VAR based on value of EXTRA_EXPECTED.
3801 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3802 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3803 EXTRA_VAR based on value of EXTRA_EXPECTED.
3804 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3805 * math/gen-libm-test.pl (parse_args): Don't output initializers
3806 for extra output values.
3807
de407f79
JM
3808 * math/libm-test.inc (check_int): Expect result to be exactly
3809 equal to expected value and do not handle ulps.
3810 (check_long): Likewise.
3811 (check_longlong): Likewise.
3812
8269107f
JM
3813 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3814 exceptions.
3815 (cimag_test_data): Likewise.
3816 (conj_test_data): Likewise.
3817 (copysign_test_data): Likewise.
3818 (cproj_test_data): Likewise.
3819 (creal_test_data): Likewise.
3820 (fabs_test_data): Likewise.
3821 (fdim_test_data): Likewise.
3822 (finite_test_data): Likewise.
3823 (floor_test_data): Likewise.
3824 (fmax_test_data): Likewise.
3825 (fmin_test_data): Likewise.
3826 (fmod_test_data): Likewise.
3827 (fpclassify_test_data): Likewise.
3828 (frexp_test_data): Likewise.
3829 (ilogb_test_data): Likewise.
3830 (isfinite_test_data): Likewise.
3831 (isgreater_test_data): Likewise.
3832 (isgreaterequal_test_data): Likewise.
3833 (isinf_test_data): Likewise.
3834 (isless_test_data): Likewise.
3835 (islessequal_test_data): Likewise.
3836 (islessgreater_test_data): Likewise.
3837 (isnan_test_data): Likewise.
3838 (isnormal_test_data): Likewise.
3839 (issignaling_test_data): Likewise.
3840 (isunordered_test_data): Likewise.
3841 (ldexp_test_data): Likewise.
3842 (lrint_test_data): Likewise.
3843 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3844 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3845 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3846 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3847 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3848 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3849 test input.
3850 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3851 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3852 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3853 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3854 that test input.
3855 (lrint_downward_test_data): Test for "inexact" exceptions.
3856 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3857 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3858 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3859 test input.
3860 (lrint_upward_test_data): Test for "inexact" exceptions.
3861 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3862 test input.
3863 (llrint_test_data): Test for "inexact" exceptions.
3864 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3865 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3866 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3867 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3868 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3869 (llrint_downward_test_data): Test for "inexact" exceptions.
3870 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3871 (llrint_upward_test_data): Test for "inexact" exceptions.
3872 (logb_test_data): Likewise.
3873 (logb_downward_test_data): Likewise.
3874 (nextafter_test_data): Likewise.
3875 (nexttoward_test_data): Likewise.
3876 (remainder_test_data): Likewise.
3877 (remquo_test_data): Likewise.
3878 (scalbn_test_data): Likewise.
3879 (scalbln_test_data): Likewise.
3880 (signbit_test_data): Likewise.
3881 (sqrt_test_data): Likewise.
3882 (significand_test_data): Likewise.
3883
48a18de1
SP
38842013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3885
3886 [BZ #15424]
3887 * benchtests/bench-modf.c (struct args): Mark arg0 as
3888 volatile.
3889 * scripts/bench.pl: Mark members of struct args as volatile.
3890
13d3b41a
AZ
38912013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3892
68191c1d 3893 [BZ # 15497]
13d3b41a
AZ
3894 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3895 negative infinity on POWER6 or lower.
3896 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3897
2848b105
MR
38982013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3899
3900 [BZ #15442]
3901 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3902 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3903 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3904 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3905 (_FP_SETQNAN): New macro.
3906 (_FP_SETQNAN_SEMIRAW): Likewise.
3907 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3908 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3909 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3910 (FP_EXTEND): Use _FP_FRAC_SNANP.
3911 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3912 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3913 into account.
3914 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3915 New macro.
3916 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3917 Likewise.
3918
323e5cb7
JM
39192013-05-16 Joseph Myers <joseph@codesourcery.com>
3920
c58b274f
JM
3921 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3922 with DIVIDE_BY_ZERO_EXCEPTION.
3923 (gamma_test_data): Likewise.
3924 (lgamma_test_data): Likewise.
3925 (log_test_data): Likewise.
3926 (log10_test_data): Likewise.
3927 (log2_test_data): Likewise.
3928 (tgamma_test_data): Likewise.
3929
0ab34904
JM
3930 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3931 (acos_test_tonearest): Likewise.
3932 (acos_test_towardzero): Likewise.
3933 (acos_test_downward): Likewise.
3934 (acos_test_upward): Likewise.
3935 (acosh_test): Likewise.
3936 (asin_test): Likewise.
3937 (asin_test_tonearest): Likewise.
3938 (asin_test_towardzero): Likewise.
3939 (asin_test_downward): Likewise.
3940 (asin_test_upward): Likewise.
3941 (asinh_test): Likewise.
3942 (atan_test): Likewise.
3943 (atanh_test): Likewise.
3944 (atan2_test): Likewise.
3945 (cabs_test): Likewise.
3946 (cacos_test): Likewise.
3947 (cacosh_test): Likewise.
3948 (casin_test): Likewise.
3949 (casinh_test): Likewise.
3950 (catan_test): Likewise.
3951 (catanh_test): Likewise.
3952 (cbrt_test): Likewise.
3953 (ccos_test): Likewise.
3954 (ccosh_test): Likewise.
3955 (cexp_test): Likewise.
3956 (clog_test): Likewise.
3957 (clog10_test): Likewise.
3958 (cos_test): Likewise.
3959 (cos_test_tonearest): Likewise.
3960 (cos_test_towardzero): Likewise.
3961 (cos_test_downward): Likewise.
3962 (cos_test_upward): Likewise.
3963 (cosh_test): Likewise.
3964 (cosh_test_tonearest): Likewise.
3965 (cosh_test_towardzero): Likewise.
3966 (cosh_test_downward): Likewise.
3967 (cosh_test_upward): Likewise.
3968 (cpow_test): Likewise.
3969 (csin_test): Likewise.
3970 (csinh_test): Likewise.
3971 (csqrt_test): Likewise.
3972 (ctan_test): Likewise.
3973 (ctan_test_tonearest): Likewise.
3974 (ctan_test_towardzero): Likewise.
3975 (ctan_test_downward): Likewise.
3976 (ctan_test_upward): Likewise.
3977 (ctanh_test): Likewise.
3978 (ctanh_test_tonearest): Likewise.
3979 (ctanh_test_towardzero): Likewise.
3980 (ctanh_test_downward): Likewise.
3981 (ctanh_test_upward): Likewise.
3982 (erf_test): Likewise.
3983 (erfc_test): Likewise.
3984 (exp_test): Likewise.
3985 (exp_test_tonearest): Likewise.
3986 (exp_test_towardzero): Likewise.
3987 (exp_test_downward): Likewise.
3988 (exp_test_upward): Likewise.
3989 (exp10_test): Likewise.
3990 (exp2_test): Likewise.
3991 (expm1_test): Likewise.
3992 (fmod_test): Likewise.
3993 (gamma_test): Likewise.
3994 (hypot_test): Likewise.
3995 (j0_test): Likewise.
3996 (j1_test): Likewise.
3997 (jn_test): Likewise.
3998 (lgamma_test): Likewise.
3999 (log_test): Likewise.
4000 (log10_test): Likewise.
4001 (log1p_test): Likewise.
4002 (log2_test): Likewise.
4003 (logb_test_downward): Likewise.
4004 (pow_test): Likewise.
4005 (pow_test_tonearest): Likewise.
4006 (pow_test_towardzero): Likewise.
4007 (pow_test_downward): Likewise.
4008 (pow_test_upward): Likewise.
4009 (remainder_test): Likewise.
4010 (remquo_test): Likewise.
4011 (sin_test): Likewise.
4012 (sin_test_tonearest): Likewise.
4013 (sin_test_towardzero): Likewise.
4014 (sin_test_downward): Likewise.
4015 (sin_test_upward): Likewise.
4016 (sincos_test): Likewise.
4017 (sinh_test): Likewise.
4018 (sinh_test_tonearest): Likewise.
4019 (sinh_test_towardzero): Likewise.
4020 (sinh_test_downward): Likewise.
4021 (sinh_test_upward): Likewise.
4022 (sqrt_test): Likewise.
4023 (tan_test): Likewise.
4024 (tan_test_tonearest): Likewise.
4025 (tan_test_towardzero): Likewise.
4026 (tan_test_downward): Likewise.
4027 (tan_test_upward): Likewise.
4028 (tanh_test): Likewise.
4029 (tgamma_test): Likewise.
4030 (y0_test): Likewise.
4031 (y1_test): Likewise.
4032 (yn_test): Likewise.
4033
323e5cb7
JM
4034 * math/gen-libm-test.pl (adjust_arg): Remove function.
4035 (special_function): Remove argument $in_func. Only handle
4036 generating output for tables of tests, not inside functions.
4037 (parse_args): Likewise.
4038 (generate_testfile): Remove variable $in_func. Update call to
4039 parse_args.
4040 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4041 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4042 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4043 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4044 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4045 (MAX_VALUE_INIT): Rename macro to max_value.
4046 (MIN_VALUE_INIT): Rename macro to min_value.
4047 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4048 (plus_zero): Remove variable.
4049 (minus_zero): Likewise.
4050 (plus_infty): Likewise.
4051 (minus_infty): Likewise.
4052 (qnan_value): Likewise.
4053 (max_value): Likewise.
4054 (min_value): Likewise.
4055 (min_subnorm_value): Likewise.
4056
e054f494
RA
40572013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4058
4059 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4060 uint64_t or uint32_t usage.
4061 * crypt/sha256-block.c: Likewise.
4062 * crypt/sha256-crypt.c: Likewise.
4063 * crypt/sha256.c: Likewise.
4064 * crypt/sha512-block.c: Likewise.
4065 * crypt/sha512-crypt.c: Likewise.
4066 * crypt/sha512.c: Likewise.
4067 * debug/backtrace-tst.c: Likewise.
4068 * debug/pcprofiledump.c: Likewise.
4069 * elf/cache.c: Likewise.
4070 * elf/dl-cache.c: Likewise.
4071 * elf/dl-misc.c: Likewise.
4072 * elf/dl-profile.c: Likewise.
4073 * elf/dl-support.c: Likewise.
4074 * elf/ldconfig.c: Likewise.
4075 * elf/sprof.c: Likewise.
4076 * iconv/dummy-repertoire.c: Likewise.
4077 * iconv/iconv_charmap.c: Likewise.
4078 * iconv/skeleton.c: Likewise.
4079 * iconvdata/8bit-generic.c: Likewise.
4080 * iconvdata/cp737.h: Likewise.
4081 * iconvdata/cp775.h: Likewise.
4082 * iconvdata/ibm1008.h: Likewise.
4083 * iconvdata/ibm1025.h: Likewise.
4084 * iconvdata/ibm1046.h: Likewise.
4085 * iconvdata/ibm1097.h: Likewise.
4086 * iconvdata/ibm1112.h: Likewise.
4087 * iconvdata/ibm1122.h: Likewise.
4088 * iconvdata/ibm1123.h: Likewise.
4089 * iconvdata/ibm1124.h: Likewise.
4090 * iconvdata/ibm1129.h: Likewise.
4091 * iconvdata/ibm1130.h: Likewise.
4092 * iconvdata/ibm1132.h: Likewise.
4093 * iconvdata/ibm1133.h: Likewise.
4094 * iconvdata/ibm1137.h: Likewise.
4095 * iconvdata/ibm1140.h: Likewise.
4096 * iconvdata/ibm1141.h: Likewise.
4097 * iconvdata/ibm1142.h: Likewise.
4098 * iconvdata/ibm1143.h: Likewise.
4099 * iconvdata/ibm1144.h: Likewise.
4100 * iconvdata/ibm1145.h: Likewise.
4101 * iconvdata/ibm1146.h: Likewise.
4102 * iconvdata/ibm1147.h: Likewise.
4103 * iconvdata/ibm1148.h: Likewise.
4104 * iconvdata/ibm1149.h: Likewise.
4105 * iconvdata/ibm1153.h: Likewise.
4106 * iconvdata/ibm1154.h: Likewise.
4107 * iconvdata/ibm1155.h: Likewise.
4108 * iconvdata/ibm1156.h: Likewise.
4109 * iconvdata/ibm1157.h: Likewise.
4110 * iconvdata/ibm1158.h: Likewise.
4111 * iconvdata/ibm1160.h: Likewise.
4112 * iconvdata/ibm1161.h: Likewise.
4113 * iconvdata/ibm1162.h: Likewise.
4114 * iconvdata/ibm1163.h: Likewise.
4115 * iconvdata/ibm1164.h: Likewise.
4116 * iconvdata/ibm1166.h: Likewise.
4117 * iconvdata/ibm1167.h: Likewise.
4118 * iconvdata/ibm12712.h: Likewise.
4119 * iconvdata/ibm1390.h: Likewise.
4120 * iconvdata/ibm1399.h: Likewise.
4121 * iconvdata/ibm16804.h: Likewise.
4122 * iconvdata/ibm4517.h: Likewise.
4123 * iconvdata/ibm4899.h: Likewise.
4124 * iconvdata/ibm4909.h: Likewise.
4125 * iconvdata/ibm4971.h: Likewise.
4126 * iconvdata/ibm5347.h: Likewise.
4127 * iconvdata/ibm803.h: Likewise.
4128 * iconvdata/ibm856.h: Likewise.
4129 * iconvdata/ibm901.h: Likewise.
4130 * iconvdata/ibm902.h: Likewise.
4131 * iconvdata/ibm9030.h: Likewise.
4132 * iconvdata/ibm9066.h: Likewise.
4133 * iconvdata/ibm921.h: Likewise.
4134 * iconvdata/ibm922.h: Likewise.
4135 * iconvdata/ibm9448.h: Likewise.
4136 * iconvdata/isiri-3342.h: Likewise.
4137 * iconvdata/jis0201.h: Likewise.
4138 * include/link.h: Likewise.
4139 * include/netdb.h: Likewise.
4140 * inet/check_native.c: Likewise.
4141 * inet/check_pf.c: Likewise.
4142 * inet/getipv4sourcefilter.c: Likewise.
4143 * inet/getnameinfo.c: Likewise.
4144 * inet/getsourcefilter.c: Likewise.
4145 * inet/htonl.c: Likewise.
4146 * inet/setipv4sourcefilter.c: Likewise.
4147 * inet/setsourcefilter.c: Likewise.
4148 * inet/test-inet6_opt.c: Likewise.
4149 * inet/tst-network.c: Likewise.
4150 * locale/C-collate.c: Likewise.
4151 * locale/C-ctype.c: Likewise.
4152 * locale/C-time.c: Likewise.
4153 * locale/C-translit.h: Likewise.
4154 * locale/loadarchive.c: Likewise.
4155 * locale/programs/3level.h: Likewise.
4156 * locale/programs/charmap.c: Likewise.
4157 * locale/programs/charmap.h: Likewise.
4158 * locale/programs/ld-address.c: Likewise.
4159 * locale/programs/ld-collate.c: Likewise.
4160 * locale/programs/ld-ctype.c: Likewise.
4161 * locale/programs/ld-identification.c: Likewise.
4162 * locale/programs/ld-measurement.c: Likewise.
4163 * locale/programs/ld-messages.c: Likewise.
4164 * locale/programs/ld-monetary.c: Likewise.
4165 * locale/programs/ld-name.c: Likewise.
4166 * locale/programs/ld-numeric.c: Likewise.
4167 * locale/programs/ld-paper.c: Likewise.
4168 * locale/programs/ld-telephone.c: Likewise.
4169 * locale/programs/ld-time.c: Likewise.
4170 * locale/programs/linereader.c: Likewise.
4171 * locale/programs/locale.c: Likewise.
4172 * locale/programs/locarchive.c: Likewise.
4173 * locale/programs/locfile.h: Likewise.
4174 * locale/programs/repertoire.c: Likewise.
4175 * locale/programs/simple-hash.c: Likewise.
4176 * locale/programs/simple-hash.h: Likewise.
4177 * malloc/memusage.c: Likewise.
4178 * malloc/memusagestat.c: Likewise.
4179 * nis/nis_defaults.c: Likewise.
4180 * nis/nis_hash.c: Likewise.
4181 * nis/nis_print.c: Likewise.
4182 * nis/nis_xdr.c: Likewise.
4183 * nscd/connections.c: Likewise.
4184 * nscd/hstcache.c: Likewise.
4185 * nscd/nscd_gethst_r.c: Likewise.
4186 * nscd/nscd_getserv_r.c: Likewise.
4187 * nscd/nscd_helper.c: Likewise.
4188 * nscd/servicescache.c: Likewise.
4189 * nss/makedb.c: Likewise.
4190 * nss/nss_db/db-XXX.c: Likewise.
4191 * nss/nss_db/db-initgroups.c: Likewise.
4192 * nss/nss_db/db-netgrp.c: Likewise.
4193 * nss/nss_files/files-network.c: Likewise.
4194 * nss/nss_files/files-parse.c: Likewise.
4195 * posix/bug-regex5.c: Likewise.
4196 * posix/fnmatch_loop.c: Likewise.
4197 * posix/regcomp.c: Likewise.
4198 * posix/regexec.c: Likewise.
4199 * posix/tst-rfc3484-2.c: Likewise.
4200 * posix/tst-rfc3484-3.c: Likewise.
4201 * posix/tst-rfc3484.c: Likewise.
4202 * resolv/nss_dns/dns-canon.c: Likewise.
4203 * resolv/nss_dns/dns-network.c: Likewise.
4204 * resolv/res_init.c: Likewise.
4205 * resolv/res_mkquery.c: Likewise.
4206 * resolv/tst-aton.c: Likewise.
4207 * stdlib/cxa_atexit.c: Likewise.
4208 * stdlib/cxa_finalize.c: Likewise.
4209 * stdlib/gen-fpioconst.c: Likewise.
4210 * stdlib/strtol_l.c: Likewise.
4211 * string/tst-endian.c: Likewise.
4212 * sunrpc/auth_des.c: Likewise.
4213 * sunrpc/clnt_udp.c: Likewise.
4214 * sunrpc/rtime.c: Likewise.
4215 * sunrpc/svcauth_des.c: Likewise.
4216 * sunrpc/xdr.c: Likewise.
4217 * sunrpc/xdr_intXX_t.c: Likewise.
4218 * sunrpc/xdr_rec.c: Likewise.
4219 * sysdeps/generic/ldconfig.h: Likewise.
4220 * sysdeps/generic/ldsodefs.h: Likewise.
4221 * sysdeps/generic/memusage.h: Likewise.
4222 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4223 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4225 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4231 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4232 * sysdeps/posix/getaddrinfo.c: Likewise.
4233 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4234 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4235 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4236 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4237 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4238 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4239 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4240 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4241 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4242 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4243 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4244 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4245 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4246 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4247 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4248 * sysdeps/x86_64/dl-tls.h: Likewise.
4249 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4250 * time/alt_digit.c: Likewise.
4251 * time/era.c: Likewise.
4252 * wcsmbs/tst-c16c32-1.c: Likewise.
4253
8c75f674
JM
42542013-05-16 Joseph Myers <joseph@codesourcery.com>
4255
4256 * math/libm-test.inc (struct test_sincos_data): New type.
4257 (RUN_TEST_LOOP_sincos): New macro.
4258 (sincos_test_data): New variable.
4259 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4260
e6e49e59
RH
42612013-05-16 Richard Henderson <rth@redhat.com>
4262
4263 * math/atest-exp2.c (LIMB64): New macro.
4264 (CONSTSZ): New macro.
4265 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4266 (hexdig): Move ...
4267 (print_mpn_fp): ... to function scope.
4268 (read_mpn_hex): Remove.
4269 (get_log2): Remove.
4270 (exp2_mpn): Use mp_log2.
4271 (main): Use mp_exp1.
4272
15c7c18d
JM
42732013-05-16 Joseph Myers <joseph@codesourcery.com>
4274
105a07df
JM
4275 * math/libm-test.inc: Remove comment about not testing "inexact"
4276 exceptions.
4277 (INEXACT_EXCEPTION): New macro.
4278 (NO_INEXACT_EXCEPTION): Likewise.
4279 (INVALID_EXCEPTION_OK): Update value.
4280 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4281 (OVERFLOW_EXCEPTION_OK): Likewise.
4282 (UNDERFLOW_EXCEPTION_OK): Likewise.
4283 (IGNORE_ZERO_INF_SIGN): Likewise.
4284 (ERRNO_UNCHANGED): Likewise.
4285 (ERRNO_EDOM): Likewise.
4286 (ERRNO_ERANGE): Likewise.
4287 (test_exceptions): Handle testing "inexact" exceptions.
4288 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4289 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4290 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4291 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4292 INEXACT_EXCEPTION.
4293 (rint_towardzero_test_data): Likewise.
4294 (rint_downward_test_data): Likewise.
4295 (rint_upward_test_data): Likewise.
4296
e9eee333
JM
4297 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4298 with OVERFLOW_EXCEPTION.
4299 (exp10_test_data): Likewise.
4300 (exp2_test_data): Likewise.
4301 (expm1_test_data): Likewise.
4302 (lgamma_test_data): Likewise.
4303 (pow_test_data): Likewise.
4304 (tgamma_test_data): Likewise.
4305 (yn_test_data): Remove duplicate test of overflow.
4306
1c38ff73
JM
4307 * math/libm-test.inc (struct test_cc_c_data): New type.
4308 (RUN_TEST_LOOP_cc_c): New macro.
4309 (cpow_test_data): New variable.
4310 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4311
15c7c18d
JM
4312 * math/libm-test.inc (struct test_f_L_data): New type.
4313 (RUN_TEST_LOOP_f_L): New macro.
4314 (llrint_test_data): New variable.
4315 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4316 (llrint_tonearest_test_data): New variable.
4317 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4318 (llrint_towardzero_test_data): New variable.
4319 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4320 (llrint_downward_test_data): New variable.
4321 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4322 (llrint_upward_test_data): New variable.
4323 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4324 (llround_test_data): New variable.
4325 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4326
f137ff13
PC
43272013-05-13 Peter Collingbourne <pcc@google.com>
4328
4329 * math/atest-exp2.c (get_log2): Remove const attribute.
4330
3608cb24
JM
43312013-05-15 Joseph Myers <joseph@codesourcery.com>
4332
4333 * math/libm-test.inc (struct test_f_l_data): New type.
4334 (RUN_TEST_LOOP_f_l): New macro.
4335 (lrint_test_data): New variable.
4336 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4337 (lrint_tonearest_test_data): New variable.
4338 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4339 (lrint_towardzero_test_data): New variable.
4340 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4341 (lrint_downward_test_data): New variable.
4342 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4343 (lrint_upward_test_data): New variable.
4344 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4345 (lround_test_data): New variable.
4346 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4347
39b1f617
PC
43482013-05-15 Peter Collingbourne <pcc@google.com>
4349
1deff3dc
PC
4350 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4351 (EXTRACT_WORDS64) Use where appropriate.
4352 (INSERT_WORDS64) Likewise.
4353
791f3ba0
PC
4354 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4355 constraints with x constraints.
4356 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4357
39b1f617
PC
4358 * malloc/obstack.c (_obstack_compat): Add initializer.
4359
12fba011
EM
43602013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4361
4362 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4363 si_trapno and add si_addr_lsb to _sifields.sigfault.
4364 (si_trapno): Remove macro.
4365 (si_addr_lsb): Define new macro.
4366 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4367
d369f531
JM
43682013-05-15 Joseph Myers <joseph@codesourcery.com>
4369
b861c6c4
JM
4370 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4371 instead of TEST_f_l.
4372 (llrint_test_tonearest): Likewise.
4373 (llrint_test_towardzero): Likewise.
4374 (llrint_test_downward): Likewise.
4375 (llrint_test_upward): Likewise.
4376 (llround_test): Likewise.
4377
7abeee12
JM
4378 * math/libm-test.inc (struct test_f_i_data): Add comment.
4379 (RUN_TEST_LOOP_f_b): New macro.
4380 (RUN_TEST_LOOP_f_b_tg): Likewise.
4381 (finite_test_data): New variable.
4382 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4383 (isfinite_test_data): New variable.
4384 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4385 (isinf_test_data): New variable.
4386 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4387 (isnan_test_data): New variable.
4388 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4389 (isnormal_test_data): New variable.
4390 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4391 (issignaling_test_data): New variable.
4392 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4393 (signbit_test_data): New variable.
4394 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4395
cbe8c4d3
JM
4396 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4397 with INVALID_EXCEPTION.
4398 (acosh_test_data): Likewise.
4399 (asin_test_data): Likewise.
4400 (atanh_test_data): Likewise.
4401 (fmod_test_data): Likewise.
4402 (log_test_data): Likewise.
4403 (log10_test_data): Likewise.
4404 (log2_test_data): Likewise.
4405 (pow_test_data): Likewise.
4406 (sqrt_test_data): Likewise.
4407 (y0_test_data): Likewise.
4408 (y1_test_data): Likewise.
4409 (yn_test_data): Likewise.
4410
5575c0e5
JM
4411 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4412 function contents.
4413
d369f531
JM
4414 * math/libm-test.inc (struct test_ff_i_data): New type.
4415 (RUN_TEST_LOOP_ff_i_tg): New macro.
4416 (isgreater_test_data): New variable.
4417 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4418 (isgreaterequal_test_data): New variable.
4419 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4420 (isless_test_data): New variable.
4421 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4422 (islessequal_test_data): New variable.
4423 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4424 (islessgreater_test_data): New variable.
4425 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4426 (isunordered_test_data): New variable.
4427 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4428
781fd748
DM
44292013-05-14 David S. Miller <davem@davemloft.net>
4430
4431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4432
87aa21df
JM
44332013-05-14 Joseph Myers <joseph@codesourcery.com>
4434
5e908270
JM
4435 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4436
f71172e5
JM
4437 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4438 extra_test to int.
4439 (struct test_f_i_data): Change type of max_ulp to int.
4440
8cfa635a
JM
4441 * math/libm-test.inc (test_ffI_f1_data): New type.
4442 (RUN_TEST_LOOP_ffI_f1): New macro.
4443 (remquo_test_data): New variable.
4444 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4445
2bcb36b2
JM
4446 * setjmp/tst-setjmp-fp.c: New file.
4447 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4448 (link-libm): New variable.
4449 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4450
acbd839a
JM
4451 * math/libm-test.inc (struct test_f_i_data): New type.
4452 (RUN_TEST_LOOP_f_i): New macro.
4453 (RUN_TEST_LOOP_f_i_tg): Likewise.
4454 (fpclassify_test_data): New variable.
4455 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4456 (ilogb_test_data): New variable.
4457 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4458
e414d745
JM
4459 * math/libm-test.inc (scalbln_test): Correct function name in END
4460 call.
4461
d9c2a0fd
JM
4462 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4463 (RUN_TEST_LOOP_fI_f1): New macro.
4464 (frexp_test_data): New variable.
4465 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4466
9dc9095d
JM
4467 * math/libm-test.inc (struct test_fF_f1_data): New type.
4468 (RUN_TEST_LOOP_fF_f1): New macro.
4469 (modf_test_data): New variable.
4470 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4471
87aa21df
JM
4472 * math/libm-test.inc (struct test_f_f1_data): New type.
4473 (RUN_TEST_LOOP_f_f1): New macro.
4474 (gamma_test_data): New variable.
4475 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4476 (lgamma_test_data): New variable.
4477 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4478
141af660
CD
44792013-05-13 Carlos O'Donell <carlos@redhat.com>
4480
4481 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4482 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4483 (main): Comment "tls" pseudo-hwcap.
4484
6d33265c
JM
44852013-05-13 Joseph Myers <joseph@codesourcery.com>
4486
68fc074c
JM
4487 * math/libm-test.inc (struct test_fl_f_data): New type.
4488 (RUN_TEST_LOOP_fl_f): New variable.
4489 (scalbln_test_data): New variable.
4490 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4491
243216e1
JM
4492 * math/libm-test.inc (struct test_fi_f_data): New type.
4493 (RUN_TEST_LOOP_fi_f): New macro.
4494 (ldexp_test_data): New variable.
4495 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4496 (scalbn_test_data): New variable.
4497 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4498
6a1992e2
JM
4499 * math/libm-test.inc (struct test_c_f_data): New type.
4500 (RUN_TEST_LOOP_c_f): New macro.
4501 (cabs_test_data): New variable.
4502 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4503 (carg_test_data): New variable.
4504 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4505 (cimag_test_data): New variable.
4506 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4507 (creal_test_data): New variable.
4508 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4509
0e400df5
JM
4510 * math/libm-test.inc (struct test_if_f_data): New type.
4511 (RUN_TEST_LOOP_if_f): New macro.
4512 (jn_test_data): New variable.
4513 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4514 (yn_test_data): New variable.
4515 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4516
6d33265c
JM
4517 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4518
f98ece5f
AZ
45192013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4520
4521 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4522 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4523
0f7d347b
SP
45242013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4525
43fe811b
SP
4526 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4527 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4528 (bench-deps): Add bench-timing.h.
4529 * benchtests-bench-skeleton.c: Include bench-timing.h.
4530 (main): Use TIMING_* macros instead of clock_gettime.
4531 * benchtests/bench-timing.h: New file.
4532
0f7d347b
SP
4533 [BZ #14582]
4534 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4535 Renamed from _LIB_VERSION.
4536 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4537
601a3a5f
JM
45382013-05-12 Joseph Myers <joseph@codesourcery.com>
4539
4f184d30
JM
4540 * math/libm-test.inc (struct test_fff_f_data): New type.
4541 (RUN_TEST_LOOP_fff_f): New macro.
4542 (fma_test_data): New variable.
4543 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4544 (fma_towardzero_test_data): New variable.
4545 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4546 (fma_downward_test_data): New variable.
4547 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4548 (fma_upward_test_data): New variable.
4549 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4550
08198877
JM
4551 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4552 (struct test_c_c_data): New type.
4553 (RUN_TEST_LOOP_c_c): New macro.
4554 (cacos_test_data): New variable.
4555 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4556 (cacosh_test_data): New variable.
4557 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4558 (casin_test_data): New variable.
4559 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4560 (casinh_test_data): New variable.
4561 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4562 (catan_test_data): New variable.
4563 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4564 (catanh_test_data): New variable.
4565 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4566 (ccos_test_data): New variable.
4567 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4568 (ccosh_test_data): New variable.
4569 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4570 (cexp_test_data): New variable.
4571 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4572 (clog_test_data): New variable.
4573 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4574 (clog10_test_data): New variable.
4575 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4576 (conj_test_data): New variable.
4577 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4578 (cproj_test_data): New variable.
4579 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4580 (csin_test_data): New variable.
4581 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4582 (csinh_test_data): New variable.
4583 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4584 (csqrt_test_data): New variable.
4585 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4586 (ctan_test_data): New variable.
4587 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4588 (ctan_tonearest_test_data): New variable.
4589 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4590 (ctan_towardzero_test_data): New variable.
4591 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4592 (ctan_downward_test_data): New variable.
4593 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4594 (ctan_upward_test_data): New variable.
4595 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4596 (ctanh_test_data): New variable.
4597 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4598 (ctanh_tonearest_test_data): New variable.
4599 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4600 (ctanh_towardzero_test_data): New variable.
4601 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4602 (ctanh_downward_test_data): New variable.
4603 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4604 (ctanh_upward_test_data): New variable.
4605 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4606 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4607 of BUILD_COMPLEX.
4608
601a3a5f
JM
4609 * math/libm-test.inc (struct test_ff_f_data): New type.
4610 (struct test_ff_f_data_nexttoward): Likewise.
4611 (RUN_TEST_LOOP_2_f): New macro.
4612 (RUN_TEST_LOOP_ff_f): Likewise.
4613 (atan2_test_data): New variable.
4614 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4615 (copysign_test_data): New variable.
4616 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4617 (fdim_test_data): New variable.
4618 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4619 (fmax_test_data): New variable.
4620 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4621 (fmin_test_data): New variable.
4622 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4623 (fmod_test_data): New variable.
4624 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4625 (hypot_test_data): New variable.
4626 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4627 (nextafter_test_data): New variable.
4628 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4629 (nexttoward_test_data): New variable.
4630 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4631 (pow_test_data): New variable.
4632 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4633 (pow_tonearest_test_data): New variable.
4634 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4635 (pow_towardzero_test_data): New variable.
4636 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4637 (pow_downward_test_data): New variable.
4638 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4639 (pow_upward_test_data): New variable.
4640 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4641 (remainder_test_data): New variable.
4642 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4643 (scalb_test_data): New variable.
4644 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4645 * sysdeps/i386/fpu/libm-test-ulps: Update.
4646
74c57478
JM
46472013-05-11 Joseph Myers <joseph@codesourcery.com>
4648
8329e4da
JM
4649 * math/libm-test.inc (fma_test): Use max_value instead of local
4650 variable fltmax.
4651 (nextafter_test): Likewise.
4652
74c57478
JM
4653 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4654 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4655 (acos_downward_test_data): New variable.
4656 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4657 (acos_upward_test_data): New variable.
4658 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4659 (acosh_test_data): New variable.
4660 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4661 (asin_test_data): New variable.
4662 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4663 (asin_tonearest_test_data): New variable.
4664 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4665 (asin_towardzero_test_data): New variable.
4666 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4667 (asin_downward_test_data): New variable.
4668 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4669 (asin_upward_test_data): New variable.
4670 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4671 (asinh_test_data): New variable.
4672 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4673 (atan_test_data): New variable.
4674 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4675 (atanh_test_data): New variable.
4676 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4677 (cbrt_test_data): New variable.
4678 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4679 (ceil_test_data): New variable.
4680 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4681 (cos_test_data): New variable.
4682 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4683 (cos_tonearest_test_data): New variable.
4684 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4685 (cos_towardzero_test_data): New variable.
4686 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4687 (cos_downward_test_data): New variable.
4688 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4689 (cos_upward_test_data): New variable.
4690 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4691 (cosh_test_data): New variable.
4692 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4693 (cosh_tonearest_test_data): New variable.
4694 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4695 (cosh_towardzero_test_data): New variable.
4696 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4697 (cosh_downward_test_data): New variable.
4698 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4699 (cosh_upward_test_data): New variable.
4700 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4701 (erf_test_data): New variable.
4702 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4703 (erfc_test_data): New variable.
4704 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4705 (exp_test_data): New variable.
4706 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4707 (exp_tonearest_test_data): New variable.
4708 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4709 (exp_towardzero_test_data): New variable.
4710 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4711 (exp_downward_test_data): New variable.
4712 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4713 (exp_upward_test_data): New variable.
4714 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4715 (exp10_test_data): New variable.
4716 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4717 (exp2_test_data): New variable.
4718 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4719 (expm1_test_data): New variable.
4720 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4721 (fabs_test_data): New variable.
4722 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4723 (floor_test_data): New variable.
4724 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4725 (j0_test_data): New variable.
4726 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4727 (j1_test_data): New variable.
4728 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4729 (log_test_data): New variable.
4730 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4731 (log10_test_data): New variable.
4732 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4733 (log1p_test_data): New variable.
4734 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4735 (log2_test_data): New variable.
4736 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4737 (logb_test_data): New variable.
4738 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4739 (logb_downward_test_data): New variable.
4740 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4741 (nearbyint_test_data): New variable.
4742 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4743 (rint_test_data): New variable.
4744 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4745 (rint_tonearest_test_data): New variable.
4746 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4747 (rint_towardzero_test_data): New variable.
4748 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4749 (rint_downward_test_data): New variable.
4750 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4751 (rint_upward_test_data): New variable.
4752 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4753 (round_test_data): New variable.
4754 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4755 (sin_test_data): New variable.
4756 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4757 (sin_tonearest_test_data): New variable.
4758 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4759 (sin_towardzero_test_data): New variable.
4760 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4761 (sin_downward_test_data): New variable.
4762 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4763 (sin_upward_test_data): New variable.
4764 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4765 (sinh_test_data): New variable.
4766 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4767 (sinh_tonearest_test_data): New variable.
4768 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4769 (sinh_towardzero_test_data): New variable.
4770 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4771 (sinh_downward_test_data): New variable.
4772 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4773 (sinh_upward_test_data): New variable.
4774 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4775 (sqrt_test_data): New variable.
4776 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4777 (tan_test_data): New variable.
4778 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4779 (tan_tonearest_test_data): New variable.
4780 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4781 (tan_towardzero_test_data): New variable.
4782 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4783 (tan_downward_test_data): New variable.
4784 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4785 (tan_upward_test_data): New variable.
4786 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4787 (tanh_test_data): New variable.
4788 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4789 (tgamma_test_data): New variable.
4790 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4791 (trunc_test_data): New variable.
4792 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4793 (y0_test_data): New variable.
4794 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4795 (y1_test_data): New variable.
4796 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4797 (significand_test_data): New variable.
4798 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4799
7187d844
CG
48002013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4801
4802 [BZ #12387]
4803 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4804
f63fae73
PT
48052013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4806
4807 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4808
8a67a4b3
AJ
48092013-05-10 Andreas Jaeger <aj@suse.de>
4810
4811 [BZ #15448]
4812 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4813 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4814
51df539d
JM
48152013-05-10 Joseph Myers <joseph@codesourcery.com>
4816
4817 * math/gen-libm-test.pl (adjust_arg): New function.
4818 (special_functions): Handle generating output in both functions
4819 and arrays.
4820 (parse_args): Likewise.
4821 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4822 $in_func argument to parse_args.
4823 * math/libm-test.inc (struct test_f_f_data): New type.
4824 (IF_ROUND_INIT_): New macro.
4825 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4826 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4827 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4828 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4829 (ROUND_RESTORE_): Likewise.
4830 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4831 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4832 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4833 (ROUND_RESTORE_FE_UPWARD): Likewise.
4834 (RUN_TEST_LOOP_f_f): New macro.
4835 (acos_test_data): New variable.
4836 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4837 (acos_tonearest_test_data): New variable.
4838 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4839
5c637fe5
SP
48402013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4841
4842 * benchtests/bench-skeleton.c (startup): Fix coding style.
4843
ab2b9461
JM
48442013-05-10 Joseph Myers <joseph@codesourcery.com>
4845
4846 [BZ #6809]
4847 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4848 negative infinity argument.
4849 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4850 negative infinity argument.
4851 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4852 negative infinity argument.
4853 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4854 domain errors.
4855
4c0fe6fe
FW
48562013-05-10 Florian Weimer <fweimer@redhat.com>
4857
4858 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4859 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4860 * iconv/iconv_prog.c (main): Likewise.
4861 * locale/programs/charmap-dir.c (charmap_readdir)
4862 (fopen_uncompressed): Likewise.
4863 * locale/programs/locfile.c (siblings_uncached)
4864 (write_locale_data): Use lstat64 instead of lstat.
4865 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4866 stat.
4867
a3375d29
AJ
48682013-05-10 Andreas Jaeger <aj@suse.de>
4869
4870 [BZ #15395]
4871 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4872 localization.
4873 Include <locale.h>.
4874
36129722
CD
48752013-05-09 Carlos O'Donell <carlos@redhat.com>
4876
4877 * elf/dl-close.c (_dl_close_worker): Add comments.
4878
faa7f811
JM
48792013-05-09 Joseph Myers <joseph@codesourcery.com>
4880
ed41ffef
JM
4881 [BZ #15359]
4882 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4883 high part of pi/2.
4884 (__ieee754_rem_pio2l): Update comments.
4885
d0213cd0
JM
4886 [BZ #15429]
4887 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4888 high part of pi/2.
4889 (__ieee754_rem_pio2l): Update comments.
4890
0d3e777a
JM
4891 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4892 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4893
24f56066
JM
4894 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4895 M_PI_4l.
4896
faa7f811
JM
4897 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4898 (M_PI_34_LOG10El): Likewise.
4899 (M_PI2_LOG10El): Likewise.
4900 (M_PI4_LOG10El): Likewise.
4901 (M_PI_LOG10El): Likewise.
4902
e9a5e0fd
AZ
49032013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4904
4905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4906
d8cd06db
JM
49072013-05-08 Joseph Myers <joseph@codesourcery.com>
4908
a0d9f9d7
JM
4909 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4910 (MINUS_ZERO_INIT): Likewise.
4911 (PLUS_INFTY_INIT): Likewise.
4912 (MINUS_INFTY_INIT): Likewise.
4913 (QNAN_VALUE_INIT): Likewise.
4914 (MAX_VALUE_INIT): Likewise.
4915 (MIN_VALUE_INIT): Likewise.
4916 (MIN_SUBNORM_VALUE_INIT): Likewise.
4917 (plus_zero): Initialize with PLUS_ZERO_INIT.
4918 (minus_zero): Initialize with MINUS_ZERO_INIT.
4919 (plus_infty): Initialize with PLUS_INFTY_INIT.
4920 (minus_infty): Initialize with MINUS_INFTY_INIT.
4921 (qnan_value): Initialize with QNAN_VALUE_INIT.
4922 (max_value): Initialize with MAX_VALUE_INIT.
4923 (min_value): Initialize with MIN_VALUE_INIT.
4924 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4925
ae08db3b
JM
4926 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4927 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4928 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4929 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4930
f44bf14a
JM
4931 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4932 (RUN_TEST_2_f): Likewise.
4933 (RUN_TEST_ff_f): Likewise.
4934 (RUN_TEST_fi_f): Likewise.
4935 (RUN_TEST_fl_f): Likewise.
4936 (RUN_TEST_fff_f): Likewise.
4937 (RUN_TEST_c_f): Likewise.
4938 (RUN_TEST_f_f1): Likewise.
4939 (RUN_TEST_fF_f1): Likewise.
4940 (RUN_TEST_fI_f1): Likewise.
4941 (RUN_TEST_ffI_f1): Likewise.
4942 (RUN_TEST_c_c): Likewise.
4943 (RUN_TEST_cc_c): Likewise.
4944 (RUN_TEST_f_i): Likewise.
4945 (RUN_TEST_f_i_tg): Likewise.
4946 (RUN_TEST_ff_i_tg): Likewise.
4947 (RUN_TEST_f_b): Likewise.
4948 (RUN_TEST_f_b_tg): Likewise.
4949 (RUN_TEST_f_l): Likewise.
4950 (RUN_TEST_f_L): Likewise.
4951 (RUN_TEST_sincos): Likewise.
4952 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4953 whether to show exceptions. Do not include ");\n" in return
4954 value.
4955 (special_functions): Output call to RUN_TEST_sincos instead of
4956 check_float calls. Update calls to new_test.
4957 (parse_args): Output call to single RUN_TEST_* macro instead of
4958 check_* calls and other assignments. Update calls to new_test.
4959
d8cd06db
JM
4960 [BZ #2546]
4961 [BZ #2560]
4962 [BZ #5159]
4963 [BZ #15426]
4964 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4965 input to result for tgamma overflow.
4966 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4967 (gamma_coeff): New variable.
4968 (NCOEFF): New macro.
4969 (gamma_positive): New function.
4970 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4971 underflow here. Use gamma_positive instead of exp (lgamma) for
4972 other arguments.
4973 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4974 (gamma_coeff): New variable.
4975 (NCOEFF): New macro.
4976 (gammaf_positive): New function.
4977 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4978 underflow here. Use gamma_positive instead of exp (lgamma) for
4979 other arguments.
4980 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4981 (gamma_coeff): New variable.
4982 (NCOEFF): New macro.
4983 (gammal_positive): New function.
4984 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4985 underflow here. Use gamma_positive instead of exp (lgamma) for
4986 other arguments.
4987 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4988 (gamma_coeff): New variable.
4989 (NCOEFF): New macro.
4990 (gammal_positive): New function.
4991 (__ieee754_gammal_r): Handle positive infinity, overflow and
4992 underflow here. Handle NaN the same as positive infinity. Remove
4993 check x < 0xffffffff for negative integers. Use gamma_positive
4994 instead of exp (lgamma) for other arguments.
4995 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4996 (gamma_coeff): New variable.
4997 (NCOEFF): New macro.
4998 (gammal_positive): New function.
4999 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5000 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5001 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5002 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5003 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5004 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5005 * sysdeps/generic/math_private.h (__gamma_productf): New
5006 prototype.
5007 (__gamma_product): Likewise.
5008 (__gamma_productl): Likewise.
5009 * math/Makefile (libm-calls): Add gamma_product.
5010 * math/libm-test.inc (tgamma_test): Add more tests.
5011 * sysdeps/i386/fpu/libm-test-ulps: Update.
5012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5013
bb7cf681
OB
50142013-05-08 Ondřej Bílka <neleai@seznam.cz>
5015
5016 * benchtests/bench-skeleton.c (main): Preheat CPU.
5017
ba853947
AJ
50182013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5019
5020 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5021
8347c74c
RM
50222013-05-07 Roland McGrath <roland@hack.frob.com>
5023
5024 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5025 and _dl_skip_args_internal.
5026
e8dd4791
CD
50272013-05-07 Carlos O'Donell <carlos@redhat.com>
5028
5029 * manual/message.texi (Message Translation): Talk about users.
5030 Message to key mapping impacts design.
5031
c7405830
RM
50322013-05-06 Roland McGrath <roland@hack.frob.com>
5033
a9173057
RM
5034 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5035
976e2f03
RM
5036 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5037
9723ffc5
RM
5038 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5039 * sysdeps/wordsize-64/glob64.c: ... here.
5040
962e6658
RM
5041 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5042 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5043 New macros.
5044
ee586a6d
RM
5045 * debug/getlogin_r_chk.c: Moved to ...
5046 * login/getlogin_r_chk.c: ... here.
5047 * debug/Makefile (routines): Move getlogin_r_chk to ...
5048 * login/Makefile (routines): ... here.
5049 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5050 * login/Versions (libc: GLIBC_2.4): ... here.
5051
355f9165
RM
5052 * io/poll.c (__poll): Renamed from poll.
5053 Add libc_hidden_def.
5054 (poll): Define as weak alias.
5055
bd9ffde6
RM
5056 * debug/ptsname_r_chk.c: Moved to ...
5057 * login/ptsname_r_chk.c: ... here.
5058 * debug/Makefile (routines): Move ptsname_r_chk to ...
5059 * login/Makefile (routines): ... here.
5060 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5061 * login/Versions (libc: GLIBC_2.4): ... here.
5062
8fb16a04
RM
5063 * posix/getlogin.c: Moved to ...
5064 * login/getlogin.c: ... here.
5065 * posix/getlogin_r.c: Moved to ...
5066 * login/getlogin_r.c: ... here.
5067 * posix/getlogin_r.c: Moved to ...
5068 * login/getlogin_r.c: ... here.
5069 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5070 * login/Makefile (routines): ... here.
5071 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5072 * login/Versions (libc: GLIBC_2.0): ... here.
5073
b99b892f
RM
5074 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5075 (setrlimit): Define as weak alias.
5076
c7405830
RM
5077 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5078 Call __ names for open, ftruncate, and close.
5079 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5080 (truncate): Define as weak alias.
5081
5bf96de5
JM
50822013-05-06 Joseph Myers <joseph@codesourcery.com>
5083
9ea3513c
JM
5084 * math/gen-libm-test.pl (parse_args): Initialize x before each
5085 test of frexp, modf and remquo.
5086
5bf96de5
JM
5087 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5088 test signgam value.
5089
16e616a7
AZ
50902013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5091
5092 [BZ #15418]
5093 [BZ #15419]
5094 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5095 internal tests.
5096 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5097
d5e82754
RM
50982013-05-06 Roland McGrath <roland@hack.frob.com>
5099
5100 * elf/dl-writev.h: New file.
5101 * elf/dl-misc.c: Include it.
5102 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5103 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5104
a7548d41
JM
51052013-05-04 Joseph Myers <joseph@codesourcery.com>
5106
b7dab1e4
JM
5107 * math/libm-test.inc (noXFails): Remove variable.
5108 (noXPasses): Likewise.
5109 (BUILD_COMPLEX_INT): Remove macro.
5110 (print_screen): Remove xfail argument.
5111 (print_screen_max_error): Likewise.
5112 (update_stats): Likewise.
5113 (print_max_error): Likewise. Update calls to other affected
5114 functions.
5115 (print_complex_max_error): Likewise.
5116 (test_single_exception): Update calls to print_screen.
5117 (test_single_errno): Likewise.
5118 (check_float_internal): Remove xfail argument. Update calls to
5119 other affected functions.
5120 (check_float): Likewise.
5121 (check_complex): Likewise.
5122 (check_int): Likewise.
5123 (check_long): Likewise.
5124 (check_bool): Likewise.
5125 (check_longlong): Likewise.
5126 (main): Don't print noXFails and noXPasses.
5127 * math/gen-libm-test.pl (top level): Don't mention expected
5128 failure handling in comment.
5129 (new_test): Don't handle expected failures.
5130 (parse_args): Don't mention expected failure handling in comment.
5131 (generate_testfile): Don't handle expected failures.
5132 (parse_ulps): Likewise.
5133 (print_ulps_file): Likewise.
5134 (get_failure): Remove function.
5135 (output_test): Don't handle expected failures.
5136 * make/README.libm-test: Don't mention expected failure handling.
5137
a7548d41
JM
5138 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5139 (minus_zero): Likewise.
5140 (plus_infty): Likewise.
5141 (minus_infty): Likewise.
5142 (qnan_value): Likewise.
5143 (max_value): Likewise.
5144 (min_value): Likewise.
5145 (min_subnorm_value): Likewise.
5146 (initialize): Do not initialize those variables dynamically.
5147
60bfd54c
RM
51482013-05-03 Roland McGrath <roland@hack.frob.com>
5149
cc0e6ed8
RM
5150 * io/open.c (__open_2): Moved to ...
5151 * io/open_2.c: ... this new file.
5152 * io/open64.c (__open64_2): Moved to ...
5153 * io/open64_2.c: ... this new file.
5154 * io/openat.c (__openat_2): Moved to ...
5155 * io/openat_2.c: ... this new file.
5156 * io/openat64.c (__openat64_2): Moved to ...
5157 * io/openat64_2.c: ... this new file.
5158 * io/Makefile (routines): Add them.
5159 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5160 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5161 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5162 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5163 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5164 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5165 (__openat64): Add hidden_ver.
5166 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5167 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5168
60bfd54c
RM
5169 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5170 Separately conditionalize setting of GLRO(dl_sysinfo) so
5171 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5172 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5173
83e7640f
AZ
51742013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5175
5176 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5177 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5178 definition.
5179 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5180 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5181 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5182 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5183 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5184
d5dc2af3
JM
51852013-05-03 Joseph Myers <joseph@codesourcery.com>
5186
c31a5b1e
JM
5187 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5188 test signgam value.
5189
d5dc2af3
JM
5190 * math/libm-test.inc (hypot_test): Do not use
5191 IGNORE_ZERO_INF_SIGN.
5192
164fd39d
AJ
51932013-05-03 Andreas Jaeger <aj@suse.de>
5194
5195 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5196 Linux 3.9.
5197 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5198 (PF_MAX): Adjust for VSOCK change.
5199
8237f48c
AZ
52002013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5201
5202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5203
9df02941
CD
52042013-05-02 Carlos O'Donell <carlos@redhat.com>
5205
5206 [BZ #15264]
5207 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5208 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5209 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5210
d422395e
DM
52112013-05-02 David S. Miller <davem@davemloft.net>
5212
5213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5214
a07c5731
OB
52152013-05-01 Ondřej Bílka <neleai@seznam.cz>
5216
5217 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5218
1324e37f
RM
52192013-05-01 Roland McGrath <roland@hack.frob.com>
5220
5221 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5222
0695940b
RS
52232013-05-01 Richard Smith <richard@metafoo.co.uk>
5224
bb5f27ad 5225 [BZ #14952]
0695940b
RS
5226 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5227 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5228 Use __attribute__ ((__gnu_inline__)).
5229 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5230 Don't use __attribute__ ((__gnu_inline__)).
5231
10de07f5
JM
52322013-05-01 Joseph Myers <joseph@codesourcery.com>
5233
5234 [BZ #15423]
5235 * math/s_catan.c (__catan): Handle small real or imaginary part of
5236 input specially to avoid spurious underflow.
5237 * math/s_catanf.c (__catanf): Likewise.
5238 * math/s_catanh.c (__catanh): Likewise.
5239 * math/s_catanhf.c (__catanhf): Likewise.
5240 * math/s_catanhl.c (__catanhl): Likewise.
5241 * math/s_catanl.c (__catanl): Likewise.
5242 * math/libm-test.inc (catan_test): Add more tests.
5243 (catanh_test): Likewise.
5244 * sysdeps/i386/fpu/libm-test-ulps: Update.
5245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5246
cb4d5414
AZ
52472013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5248
5249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5250
caf84319
JM
52512013-04-30 Joseph Myers <joseph@codesourcery.com>
5252
5253 [BZ #15416]
5254 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5255 accurately for denominator in atan2.
5256 * math/s_catanf.c (__catanf): Likewise.
5257 * math/s_catanh.c (__catanh): Likewise.
5258 * math/s_catanhf.c (__catanhf): Likewise.
5259 * math/s_catanhl.c (__catanhl): Likewise.
5260 * math/s_catanl.c (__catanl): Likewise.
5261 * math/libm-test.inc (catan_test): Add more tests.
5262 (catanh_test): Likewise.
5263 * sysdeps/i386/fpu/libm-test-ulps: Update.
5264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5265
d569c6ee
SP
52662013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5267
6dbe713d
SP
5268 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5269
f0ee064b
SP
5270 * benchtests/Makefile (bench): Remove slow benchmarks.
5271 * benchtests/atan-inputs: Add slow benchmark inputs.
5272 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5273 (BENCH_FUNC): Accept variant offset.
5274 (VARIANT): Define.
5275 * benchtests/bench-skeleton.c (main): Run benchmark for each
5276 variant.
5277 * benchtests/cos-inputs: Add slow benchmark inputs.
5278 * benchtests/exp-inputs: Likewise.
5279 * benchtests/pow-inputs: Likewise.
5280 * benchtests/sin-inputs: Likewise.
5281 * benchtests/slowatan-inputs: Remove.
5282 * benchtests/slowatan.c: Remove.
5283 * benchtests/slowcos-inputs: Remove.
5284 * benchtests/slowcos.c: Remove.
5285 * benchtests/slowexp-inputs: Remove.
5286 * benchtests/slowexp.c: Remove.
5287 * benchtests/slowpow-inputs: Remove.
5288 * benchtests/slowpow.c: Remove.
5289 * benchtests/slowsin-inputs: Remove.
5290 * benchtests/slowsin.c: Remove.
5291 * benchtests/slowtan-inputs: Remove.
5292 * benchtests/slowtan.c: Remove.
5293 * benchtests/tan-inputs: Add slow benchmark inputs.
5294 * scripts/bench.pl: Parse comments and directives.
5295
d569c6ee
SP
5296 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5297 in CPPFLAGS.
5298 ($(objpfx)bench-%.c): Remove *-ITER.
5299 * benchtests/bench-modf.c: Remove definition of ITER.
5300 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5301 (main): Loop for DURATION seconds instead of fixed number of
5302 iterations.
5303 * scripts/bench.pl: Don't expect iterations in parameters.
5304
a6a242fe
RM
53052013-04-29 Roland McGrath <roland@hack.frob.com>
5306
5307 * io/fchdir.c (__fchdir): Renamed from fchdir.
5308 (fchdir): Define as weak alias.
5309
f2da7793
JM
53102013-04-29 Joseph Myers <joseph@codesourcery.com>
5311
5312 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5313 (ERRNO_EDOM): Likewise.
5314 (ERRNO_ERANGE): Likewise.
5315 (noErrnoTests): New variable.
5316 (init_max_error): Set errno to 0.
5317 (test_single_errno): New function.
5318 (test_errno): Likewise.
5319 (check_float_internal): Call test_errno. Set errno to 0.
5320 (check_complex): Refer to errno tests in comment.
5321 (check_int): Call test_errno. Set errno to 0.
5322 (check_long): Likewise.
5323 (check_bool): Likewise.
5324 (check_longlong): Likewise.
5325 (cos_test): Use ERRNO_* flags for errno tests instead of
5326 check_int.
5327 (expm1_test): Likewise.
5328 (fmod_test): Likewise.
5329 (ilogb_test): Likewise.
5330 (lgamma_test): Likewise.
5331 (pow_test): Likewise.
5332 (remainder_test): Likewise.
5333 (sin_test): Likewise.
5334 (tan_test): Likewise.
5335 (yn_test): Likewise.
5336 (initialize): Set errno to 0.
5337 (main): Print number of errno tests.
5338 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5339
b1a36ceb
AJ
53402013-04-29 Andreas Jaeger <aj@suse.de>
5341
c3ed8088
AJ
5342 [BZ #15084]
5343 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5344 and RES_USEVC.
5345
f1a24198
AJ
5346 [BZ #15085]
5347 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5348 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5349 unimplemented.
5350
9ce3b2cb
AJ
5351 [BZ #15380]
5352 * stdlib/random.c (__initstate): Return NULL if
5353 __initstate fails.
5354
f1a24198 5355 [BZ #15086]
b1a36ceb
AJ
5356 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5357 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5358 RES_SNGLKUPREOP.
5359
7e7b6f36
AZ
53602013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5361
5362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5363
4d14f449
JM
53642013-04-29 Joseph Myers <joseph@codesourcery.com>
5365
5366 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5367 of individual tests.
5368 (casin_test): Likewise.
5369 (casinh_test): Likewise.
5370
5b4217d7
JM
53712013-04-27 Joseph Myers <joseph@codesourcery.com>
5372
5373 [BZ #15409]
5374 * math/s_catan.c (__catan): Handle arguments with large real or
5375 imaginary part separately without squaring.
5376 * math/s_catanf.c (__catanf): Likewise.
5377 * math/s_catanh.c (__catanh): Likewise.
5378 * math/s_catanhf.c (__catanhf): Likewise.
5379 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5380 and redefine.
5381 (__catanhl): Handle arguments with large real or imaginary part
5382 separately without squaring.
5383 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5384 and redefine.
5385 (__catanl): Handle arguments with large real or imaginary part
5386 separately without squaring.
5387 * math/libm-test.inc (catan_test): Add more tests.
5388 (catanh_test): Likewise.
5389 * sysdeps/i386/fpu/libm-test-ulps: Update.
5390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5391
4220c3ef
AJ
53922013-04-27 Andreas Jaeger <aj@suse.de>
5393
5394 [BZ #15007]
5395 * stdlib/stdlib.h: Update guards for qecvt.
5396 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5397 <stdlib.h>.
5398
4721b2d1
AM
53992013-04-27 Allan McRae <allan@archlinux.org>
5400
5401 * sysdeps/i386/fpu/libm-test-ulps: Update.
5402
f0302940
JM
54032013-04-26 Joseph Myers <joseph@codesourcery.com>
5404
9457fd95
JM
5405 [BZ #15406]
5406 * math/s_catan.c: Include <float.h>.
5407 (__catan): Ensure underflow exception occurs for underflowed
5408 result.
5409 * math/s_catanf.c: Include <float.h>.
5410 (__catanf): Ensure underflow exception occurs for underflowed
5411 result.
5412 * math/s_catanh.c: Include <float.h>.
5413 (__catanh): Ensure underflow exception occurs for underflowed
5414 result.
5415 * math/s_catanhf.c: Include <float.h>.
5416 (__catanhf): Ensure underflow exception occurs for underflowed
5417 result.
5418 * math/s_catanhl.c: Include <float.h>.
5419 (__catanhl): Ensure underflow exception occurs for underflowed
5420 result.
5421 * math/s_catanl.c: Include <float.h>.
5422 (__catanl): Ensure underflow exception occurs for underflowed
5423 result.
5424 * math/libm-test.inc (catan_test): Add more tests.
5425 (catanh_test): Likewise.
5426
f0302940
JM
5427 [BZ #15405]
5428 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5429 underflowed result.
5430 * math/s_ccoshf.c (__ccoshf): Likewise.
5431 * math/s_ccoshl.c (__ccoshl): Likewise.
5432 * math/s_csin.c (__csin): Likewise.
5433 * math/s_csinf.c (__csinf): Likewise.
5434 * math/s_csinh.c (__csinh): Likewise.
5435 * math/s_csinhf.c (__csinhf): Likewise.
5436 * math/s_csinhl.c (__csinhl): Likewise.
5437 * math/s_csinl.c (__csinl): Likewise.
5438 * math/libm-test.inc (ccos_test): Add more tests.
5439 (ccosh_test): Likewise.
5440 (csin_test): Likewise.
5441 (csinh_test): Likewise.
5442
aa630f59
AZ
54432013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5444
5445 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5446 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5447 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5448 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5449 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5450 powerpc/power5+/fpu folders.
5451 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5452
5453
1b835983
MT
54542013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5455
5456 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5457
73709b26
JM
54582013-04-25 Joseph Myers <joseph@codesourcery.com>
5459
5460 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5461 additions to variable.
5462 [$(config-machine) = x86_64] (modules-names): Likewise.
5463 ($(objpfx)tst-audit3): Remove dependency.
5464 ($(objpfx)tst-audit3.out): Likewise.
5465 ($(objpfx)tst-audit4): Likewise.
5466 ($(objpfx)tst-audit4.out): Likewise.
5467 ($(objpfx)tst-audit5): Likewise.
5468 ($(objpfx)tst-audit5.out): Likewise.
5469 ($(objpfx)tst-audit6): Likewise.
5470 ($(objpfx)tst-audit6.out): Likewise.
5471 ($(objpfx)tst-audit7): Likewise.
5472 ($(objpfx)tst-audit7.out): Likewise.
5473 (tst-audit3-ENV): Remove variable.
5474 (tst-audit4-ENV): Likewise.
5475 (tst-audit5-ENV): Likewise.
5476 (tst-audit6-ENV): Likewise.
5477 (tst-audit7-ENV): Likewise.
5478 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5479 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5480 addition to variable.
5481 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5482 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5483 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5484 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5485 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5486 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5487 tst-audit3, tst-audit4 and tst-audit5.
5488 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5489 tst-audit6 and tst-audit7.
5490 [$(subdir) = elf] (modules-names): Add audit modules for those
5491 tests.
5492 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5493 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5494 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5495 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5496 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5497 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5498 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5499 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5500 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5501 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5502 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5503 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5504 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5505 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5506 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5507 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5508 Likewise.
5509 [$(subdir) = elf && $(config-cflags-avx) = yes]
5510 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5511 [$(subdir) = elf && $(config-cflags-avx) = yes]
5512 (CFLAGS-tst-auditmod4a.c): Likewise.
5513 [$(subdir) = elf && $(config-cflags-avx) = yes]
5514 (CFLAGS-tst-auditmod4b.c): Likewise.
5515 [$(subdir) = elf && $(config-cflags-avx) = yes]
5516 (CFLAGS-tst-auditmod6b.c): Likewise.
5517 [$(subdir) = elf && $(config-cflags-avx) = yes]
5518 (CFLAGS-tst-auditmod6c.c): Likewise.
5519 [$(subdir) = elf && $(config-cflags-avx) = yes]
5520 (CFLAGS-tst-auditmod7b.c): Likewise.
5521 * elf/tst-audit3.c: Move to ...
5522 * sysdeps/x86_64/tst-audit3.c: ... here.
5523 * elf/tst-audit4.c: Move to ...
5524 * sysdeps/x86_64/tst-audit4.c: ... here.
5525 * elf/tst-audit5.c: Move to ...
5526 * sysdeps/x86_64/tst-audit5.c: ... here.
5527 * elf/tst-audit6.c: Move to ...
5528 * sysdeps/x86_64/tst-audit6.c: ... here.
5529 * elf/tst-audit7.c: Move to ...
5530 * sysdeps/x86_64/tst-audit7.c: ... here.
5531 * elf/tst-auditmod3a.c: Move to ...
5532 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5533 * elf/tst-auditmod3b.c: Move to ...
5534 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5535 * elf/tst-auditmod4a.c: Move to ...
5536 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5537 * elf/tst-auditmod4b.c: Move to ...
5538 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5539 * elf/tst-auditmod5a.c: Move to ...
5540 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5541 * elf/tst-auditmod5b.c: Move to ...
5542 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5543 * elf/tst-auditmod6a.c: Move to ...
5544 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5545 * elf/tst-auditmod6b.c: Move to ...
5546 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5547 * elf/tst-auditmod6c.c: Move to ...
5548 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5549 * elf/tst-auditmod7a.c: Move to ...
5550 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5551 * elf/tst-auditmod7b.c: Move to ...
5552 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5553
1ef74943
PP
55542013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5555
5556 [BZ #15366]
5557 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5558 define unconditionally.
5559 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5560 define unconditionally.
5561 (INT8_C, INT16_C, etc.): Likewise.
5562
93fd48c5
MR
55632013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5564
ae9552cf
MR
5565 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5566 __ehdr_start with hidden visibility.
5567
93fd48c5
MR
5568 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5569
418601aa
CD
55702013-04-24 Carlos O'Donell <carlos@redhat.com>
5571
5572 * math/libm-test.inc (cos_test): Use accurate hex constants.
5573 (sincost_test): Likewise.
5574
2f38fbfe
JM
55752013-04-24 Joseph Myers <joseph@codesourcery.com>
5576
5e221800
JM
5577 * math/libm-test.inc (catan_test): Add more tests.
5578 (catanh_test): Likewise.
5579
77f143fd
JM
5580 * math/s_catanf.c (__catanf): Use suffixed floating-point
5581 constants.
5582 * math/s_catanhf.c (__catanhf): Likewise.
5583 * math/s_catanhl.c (__catanhl): Likewise.
5584 * math/s_catanl.c (__catanl): Likewise.
5585
2f38fbfe
JM
5586 [BZ #15394]
5587 * math/s_catan.c (__catan): Calculate imaginary part of result
5588 with log1p not log unless computing log of number close to 0.
5589 * math/s_catanf.c (__catanf): Likewise.
5590 * math/s_catanl.c (__catanl): Likewise.
5591 * math/s_catanh.c (__catanh): Calculate real part of result with
5592 log1p not log unless computing log of number close to 0.
5593 * math/s_catanhf.c (__catanhf): Likewise.
5594 * math/s_catanhl.c (__catanhl): Likewise.
5595 * math/libm-test.inc (catan_test): Add more tests.
5596 (catanh_test): Likewise.
5597 * sysdeps/i386/fpu/libm-test-ulps: Update.
5598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5599
45d69176
SP
56002013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5601
5602 * benchtests/Makefile: Mention files in which fast and slow
5603 paths of math functions are implemented.
5604
87f51853
RM
56052013-04-23 Roland McGrath <roland@hack.frob.com>
5606
5607 * sysdeps/posix/timespec_get.c: New file.
5608
3c026539
AZ
56092013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5610
5611 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5612 POWER.
5613 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5614 for POWER.
5615 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5616 powerpc/power5/fpu folders.
5617 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5618 * benchtests/Makefile: Add modf testcase.
5619 * benchtests/bench-modf.c: New file: Benchmark test for mo
5620
ff491d14
SP
56212013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5622
5623 [BZ #14888]
5624 * time/Makefile (tests): Add tst-strptime-whitespace.
5625 * time/strptime_l.c (get_number): Use ISSPACE.
5626 (__strptime_internal): Likewise.
5627 * time/tst-strptime-whitespace.c: New test case.
5628
7ed3f4e8
AS
56292013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5630
5631 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5632 member.
5633 (_nss_files_init): Set it here.
5634
5c95f7b6
HC
56352013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5636
5637 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5638 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5639 unsigned.
5640
d34c9158
JBG
56412013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5642
5643 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5644
2169712d
SP
56452013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5646
5647 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5648 size just once.
5649
29c5de99
DM
56502013-04-21 David S. Miller <davem@davemloft.net>
5651
5652 * po/ru.po: Update Russion translation from translation project.
5653
ccdad15d
AC
56542013-04-17 Adam Conrad <adconrad@0c3.net>
5655
5656 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5657 and setfsgid.
5658
0f122b8d
CD
56592013-04-17 Carlos O'Donell <carlos@redhat.com>
5660
5c5b07da 5661 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5662 * configure: Regenerate.
5c5b07da 5663 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5664 Add example to error message.
5665 * sysdeps/i386/configure: Regenerate.
5666
037714dd
SP
56672013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5668
5669 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5670 slowtan.
5671 * benchtests/cos-inputs: New file.
5672 * benchtests/slowcos-inputs: New file.
5673 * benchtests/slowcos.c: New file.
5674 * benchtests/slowtan-inputs: New file.
5675 * benchtests/slowtan.c: New file.
5676 * benchtests/tan-inputs: New file.
5677
e913141d
RM
56782013-04-16 Roland McGrath <roland@hack.frob.com>
5679
5680 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5681 considered kosher.
5682
a2964074
SP
56832013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5684
4856bcd2
SP
5685 * benchtests/Makefile: Include cppflags-iterator.mk to add
5686 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5687
a2964074
SP
5688 * Makefile.in (bench-clean): New target.
5689 * benchtests/Makefile (bench-clean): Likewise.
5690
9fbf9aca
DH
56912013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5692
5693 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5694
207d1e2a
TS
56952013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5696
5697 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5698
306dfba9
AS
56992013-04-15 Andreas Schwab <schwab@suse.de>
5700
5701 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5702 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5703 * nscd/pwdcache.c (cache_addpw): Likewise.
5704 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5705 more than recsize.
5706
206a6699
SP
57072013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5708
5709 * benchtests/Makefile (bench): Write all output to
5710 bench-out.tmp together.
5711
0582f6b3
AS
57122013-04-15 Andreas Schwab <schwab@suse.de>
5713
5714 * nscd/nscd.c (main): Don't fork again after closing files.
5715
acb4325f
SP
57162013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5717
5cb26d0a
SP
5718 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5719
acb4325f
SP
5720 * benchtests/Rules (bench-deps): Collect dependencies into a
5721 single variable. Add Makefile to dependencies.
5722 ($(objpfx)bench-%.c): Depend on bench-deps.
5723
47792506
RM
57242013-04-12 Roland McGrath <roland@hack.frob.com>
5725 Xavier Roche <roche+kml2@exalead.com>
5726
5727 [BZ #15361]
5728 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5729 just that it's a file descriptor.
5730 * manual/llio.texi (Synchronizing AIO Operations): Update description
5731 for EBADF error from aio_fsync.
5732
8fc1bee5
SP
57332013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5734
5735 * Rules (bench): Move target definition...
5736 * benchtests/Makefile: ... here.
5737
aba5e333
CD
57382013-04-11 Carlos O'Donell <carlos@redhat.com>
5739
5740 * math/libm-test.inc (cos_test): Fix PI/2 test.
5741 (sincos_test): Likewise.
5742 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5743 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5744
273cdee8
AS
57452013-04-11 Andreas Schwab <schwab@suse.de>
5746
6ecec3b6
AS
5747 [BZ #13988]
5748 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5749 accept exponent character only when digits were seen.
5750 * stdio-common/Makefile (tests): Add bug26.
5751 * stdio-common/bug26.c: New file.
5752
273cdee8
AS
5753 [BZ #14293]
5754 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5755 non-freeable.
5756
8da491f5
SP
57572013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5758
01dc6df9
SP
5759 * Makeconfig (rtld-prefix): Define built linker prefix.
5760 * Rules (run-bench): Use it.
5761 * math/Makefile (run-regen-ulps): Likewise.
5762
8da491f5
SP
5763 * Rules (bench): Remove eval.
5764
abe7f530
SP
57652013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5766 Roland McGrath <roland@hack.frob.com>
5767 Ondrej Bilka <neleai@seznam.cz>
5768
5769 [BZ #15346]
5770 * time/getdate.c: Include ctype.h and alloca.h.
5771 (__getdate_r): Trim leading and trailing spaces of input.
5772 * time/tst-getdate.c (tests): Add tests with leading and
5773 trailing spaces.
5774
61c23e62
RM
57752013-04-08 Roland McGrath <roland@hack.frob.com>
5776
5777 [BZ #14280]
5778 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5779 when computing value.
5780
7208a313
CD
57812013-04-06 Carlos O'Donell <carlos@redhat.com>
5782
085b2d41
CD
5783 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5784 Use testrun.sh to run libm tests.
5785
7208a313
CD
5786 [BZ #15309]
5787 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5788
872c0acd
MM
57892013-04-06 Marko Myllynen <myllynen@redhat.com>
5790
5791 [BZ #15264]
5792 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5793
26510bdd
CD
57942013-04-06 Carlos O'Donell <carlos@redhat.com>
5795
5796 * Makefile.in (regen-ulps): New target.
5797 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5798 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5799 [ifneq (no,$(PERL)] (regen-ulps): New target.
5800 [ifeq (no,$(PERL)] (regen-ulps): New target.
5801 * math/libm-test.inc (ulps_file_name): Define.
5802 (output_dir): New variable.
5803 (options): Add "output-dir" option.
5804 (parse_opt): Handle 'o' case.
5805 (main): If output_dir is non-NULL use it as a prefix
5806 otherwise use "".
5807 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5808
a01f19c8
CD
58092013-04-06 Carlos O'Donell <carlos@redhat.com>
5810
5811 [BZ #10060, #10062]
5812 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5813 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5814 fail configure if __sync_val_compare_and_swap is not inlined.
5815 * sysdeps/i386/configure: Regenerate.
5816 * configure.in: Build for i686 when configured for i386.
5817 * configure: Regenerate.
5818 * README: Remove i386 reference.
5819
b7a329a5
CD
58202013-04-06 Carlos O'Donell <carlos@redhat.com>
5821
5822 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5823 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5824
bf0f50df
TS
58252013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5826
ee091edf
TS
5827 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5828 (lmsnanval): New variables.
5829 (F): Add conversion tests.
5830 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5831 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5832
a8b792d6
TS
5833 * stdio-common/tstdiomisc.c (F): Properly collect individual
5834 tests' results.
5835
a1cbf437
TS
5836 [BZ #14686, #15336]
5837 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5838 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5839 Instead, use input NaN values or generate a qNaN by arithmetic
5840 operation. Also fix bugs to comply with the standard.
5841 * math/libm-test.inc (remainder_test): Add more tests.
5842
8b43a0c9
TS
5843 [BZ #15335, #15342]
5844 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5845 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5846 input NaN values or generate a qNaN by arithmetic operation.
5847
d91da4ce
TS
5848 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5849 unreachable code.
5850
bf0f50df
TS
5851 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5852 definitions.
5853
05e166c8
JM
58542013-04-03 Joseph Myers <joseph@codesourcery.com>
5855
5856 [BZ #14478]
5857 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5858 underflowed result.
5859 * math/s_cexpf.c (__cexpf): Likewise.
5860 * math/s_cexpl.c (__cexpl): Likewise.
5861 * math/libm-test.inc (cexp_test): Add more tests.
5862
1cef1b19
AS
58632013-04-03 Andreas Schwab <schwab@suse.de>
5864
5865 [BZ #15330]
5866 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5867 order arrays from heap if bigger than alloca cutoff.
5868
74d87055
TS
58692013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5870
5871 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5872 (SNAN_TESTS_double): Refer to GCC PR56831.
5873 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5874 GCC PR56828.
5875
d755bba4
SP
58762013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5877
90d5d5bb
SP
5878 * Rules (bench): Move bench.out after the run is complete.
5879
73e0cd5d
SP
5880 * Rules (bench): Echo currently running benchmark.
5881
64aabd4b
SP
5882 * benchtests/Makefile (bench): Add atan and slowatan.
5883 * benchtests/atan-inputs: New file.
5884 * benchtests/slowatan-inputs: New file.
5885 * benchtests/slowatan.c: New file.
5886
c871eccd
SP
5887 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5888 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5889 its value.
5890
d755bba4
SP
5891 [BZ #15305]
5892 * sysdeps/unix/sysv/linux/kernel-features.h
5893 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5894 __ASSUME_XFS_RESTRICTED_CHOWN.
5895 * sysdeps/unix/sysv/linux/pathconf.c
5896 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5897 Save and restore errno.
5898
52ce4860
JM
58992013-04-02 Joseph Myers <joseph@codesourcery.com>
5900
5901 [BZ #15327]
5902 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5903 arguments using __kernel_casinh.
5904 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5905 arguments using __kernel_casinhf.
5906 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5907 arguments using __kernel_casinhl.
5908 * math/libm-test.inc (cacosh_test): Add more tests.
5909 * sysdeps/i386/fpu/libm-test-ulps: Update.
5910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5911
81f311c2
SP
59122013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5913
e7906a47
SP
5914 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5915 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5916
92e3664b
SP
5917 * bench/Makefile (bench): Add sin and slowsin.
5918 * benchtests/sin-inputs: New file.
5919 * benchtests/slowsin-inputs: New file.
5920 * benchtests/slowsin.c: New file.
5921
81f311c2
SP
5922 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5923 (bench): Add slowexp and slowpow.
5924 (exp-ITER): Increase iterations.
5925 (pow-ITER): Likewise.
5926 * benchtests/exp-inputs: Change input.
5927 * benchtests/pow-inputs: Likewise.
5928 * benchtests/slowexp-inputs: New file.
5929 * benchtests/slowexp.c: New file.
5930 * benchtests/slowpow-inputs: New file.
5931 * benchtests/slowpow.c: New file.
5932
ab0f1aa9
AZ
59332013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5934
5935 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5936 instructions.
5937 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5938 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5939 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5940 * benchtests/Makefile: Add rint benchtest.
5941 * benchtests/rint-inputs: Input for rint benchtest.
5942
57267616
TS
59432013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5944
5945 * Versions.def (libm): Add GLIBC_2.18.
5946 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5947 hidden libm prototypes.
5948 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5949 * math/Makefile (libm-calls): Add s_issignaling.
5950 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5951 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5952 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5953 declaration.
5954 * math/math.h [__USE_GNU] (issignaling): New macro.
5955 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5956 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5957 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5958 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5959 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5960 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5961 * manual/arith.texi (issignaling): New section.
5962 * manual/libm-err-tab.pl (@all_functions): Update comment.
5963 * math/gen-libm-test.pl (parse_args): Apply special handling for
5964 issignaling.
5965 * math/libm-test.inc (print_float, issignaling_test): New
5966 functions.
5967 (check_float_internal): Add issignaling checks.
5968 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5969 default definition.
5970 * sysdeps/powerpc/math-tests.h: New file.
5971 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5972 tests.
5973 * math/test-snan.c (TEST_FUNC): Likewise.
5974
6142896d
DM
59752013-03-30 David S. Miller <davem@davemloft.net>
5976
5977 * po/de.po: Update from translation team.
5978
ccc8cadf
JM
59792013-03-30 Joseph Myers <joseph@codesourcery.com>
5980
5981 [BZ #10357]
5982 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5983 imaginary part less than 1.0 and real part less than 0.5
5984 specially.
5985 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5986 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5987 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5988 (cacos_test): Add more tests.
5989 (casin_test): Likewise.
5990 (casinh_test): Likewise.
5991 * sysdeps/i386/fpu/libm-test-ulps: Update.
5992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5993
0f6a8d4b
SP
59942013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5995
0d1029de
SP
5996 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5997 ONE with its value.
5998
c2d94018
SP
5999 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6000 (__pow_mp): Replace ONE and MONE with their values.
6001 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6002 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6003 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6004 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6005 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6006 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6007
27ec37f1
SP
6008 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6009
a64d7e0e
SP
6010 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6011 (__pow_mp): Replace ZERO and MZERO with their values.
6012 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6013 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6014 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6015 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6016 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6017 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6018 (__sqr): Likewise.
6019
d26dd3eb
SP
6020 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6021
0f6a8d4b
SP
6022 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6023
e57b0c61
RM
60242013-03-28 Roland McGrath <roland@hack.frob.com>
6025
6026 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6027 Declare with __attribute__ ((weak)).
6028 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6029 Call __call_tls_dtors only if it's not NULL.
6030
356b3480
RM
60312013-03-28 Roland McGrath <roland@hack.frob.com>
6032
288f7d79
RM
6033 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6034 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6035 magic __ehdr_start linker symbol if it's defined.
6036 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6037 them up here if it was already done.
6038
dc0a0263
RM
6039 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6040 (_dl_aux_init): Use const in cast when setting it.
6041 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6042 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6043 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6044
3d3436ae
RM
6045 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6046 Declare them here.
6047 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6048 * csu/libc-tls.c: Nor here.
6049 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6050
356b3480
RM
6051 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6052 (__libc_message): Never call vsyslog.
6053
b0f1246a
AM
60542013-03-28 Alan Modra <amodra@gmail.com>
6055
6056 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6057 Define as empty.
6058 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6059 Likewise.
6060
fbbe2b9a
AZ
60612013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6062
6063 [BZ #15214]
6064 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6065 underflow.
6066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6067
1728ab37
SP
60682013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6069
7a86be6e
SP
6070 [BZ #15304]
6071 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6072 Don't add gid passed as argument.
6073
1728ab37
SP
6074 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6075
3a7182a1
JM
60762013-03-27 Joseph Myers <joseph@codesourcery.com>
6077
6078 [BZ #15307]
6079 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6080 imaginary part between 1.0 and 1.5 and real part less than 0.5
6081 specially.
6082 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6083 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6084 * math/libm-test.inc (cacos_test): Add more tests.
6085 (casin_test): Likewise.
6086 (casinh_test): Likewise.
6087 * sysdeps/i386/fpu/libm-test-ulps: Update.
6088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6089
6f2e90e7
SP
60902013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6091
5739f705
SP
6092 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6093 constants.
6094 (norm): Likewise.
6095 (denorm): Likewise.
6096 (__dbl_mp): Likewise.
6097 (add_magnitudes): Likewise.
6098 (sub_magnitudes): Likewise.
6099 (__add): Likewise.
6100 (__sub): Likewise.
6101 (__mul): Likewise.
6102 (__sqr): Likewise.
6103 (__inv): Likewise.
6104 (__dvd): Likewise.
6105
e375e83d
SP
6106 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6107 commented code.
6108 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6109 (__dubcos): Likewise.
6110 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6111 (__ieee754_acos): Likewise.
6112 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6113 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6114 (__exp1): Likewise.
6115 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6116 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6117 (log1): Likewise.
6118 (my_log2): Likewise.
6119 (checkint): Likewise.
6120 * sysdeps/ieee754/dbl-64/e_remainder.c
6121 (__ieee754_remainder): Likewise.
6122 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6123 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6124 (bsloww): Likewise.
6125 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6126
6f2e90e7
SP
6127 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6128 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6129 MANTISSA_STORE_T to store computations on mantissa. Use
6130 macros for rounding and division.
6131 (denorm): Likewise.
6132 (__dbl_mp): Likewise.
6133 (add_magnitudes): Likewise.
6134 (sub_magnitudes): Likewise.
6135 (__mul): Likewise.
6136 (__sqr): Likewise.
6137 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6138 powers of two in terms of TWOPOW macro.
6139 (mp_no): Make type of mantissa as MANTISSA_T.
6140 [!RADIXI]: Define RADIXI.
6141 [!TWO52]: Define TWO52.
6142 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6143
fce14d4e
AZ
61442013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6145
6146 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6147 llroundl symbol when building for PPC32.
6148
9ad027fb
MW
61492013-03-24 Mark H Weaver <mhw@netris.org>
6150
6151 * manual/arith.texi (Normalization Functions): Fix prototypes for
6152 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6153
e42a38dd
AZ
61542013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6155
6156 [BZ #13889]
6157 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6158 high value to check if expl overflow.
6159 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6160 to check for underflow and overflow.
6161 * math/libm-test.inc: Add exp test.
6162
2e0fb521
DL
61632013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6164
6165 [BZ #11120]
6166 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6167 with NOT_IN_libc.
6168
b5784d95
AZ
61692013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6170
6171 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6172 symbol.
6173
5aa4a1a1
TS
61742013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6175
bdef0be7
TS
6176 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6177 wrap blocks consisting of several statements.
6178
5aa4a1a1
TS
6179 * sysdeps/generic/math-tests.h: New file.
6180 * sysdeps/i386/fpu/math-tests.h: Likewise.
6181 * math/test-snan.c: Include it.
6182 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6183
98c48fe5
JM
61842013-03-21 Joseph Myers <joseph@codesourcery.com>
6185
6186 [BZ #15285]
6187 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6188 (__ieee754_j0l): Do not improve calculations using cos of twice
6189 input for inputs above LDBL_MAX / 2.0L.
6190 (__ieee754_y0l): Likewise.
6191 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6192 (__ieee754_j1l): Do not improve calculations using cos of twice
6193 input for inputs above LDBL_MAX / 2.0L.
6194 (__ieee754_y1l): Likewise.
6195 * math/libm-test.inc (j0_test): Add another test.
6196 (j1_test): Likewise.
6197 (y0_test): Likewise.
6198 (y1_test): Likewise.
6199 * sysdeps/i386/fpu/libm-test-ulps: Update.
6200
3775a8bc
SP
62012013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6202
6203 * Rules ($(objpfx)bench-%.c): Include code from a C source
6204 file.
6205
0a1b2ae6
JM
62062013-03-21 Joseph Myers <joseph@codesourcery.com>
6207
6208 [BZ #15287]
6209 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6210 imaginary part 1.0 and real part less than 0.5 specially.
6211 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6212 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6213 * math/libm-test.inc (cacos_test): Add more tests.
6214 (casin_test): Likewise.
6215 (casinh_test): Likewise.
6216 * sysdeps/i386/fpu/libm-test-ulps: Update.
6217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6218
b33d4ce4
SP
62192013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6220
6221 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6222 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6223
bef0b507
JM
62242013-03-20 Joseph Myers <joseph@codesourcery.com>
6225
6226 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6227 * config.make.in (config-cflags-sse4): Remove variable.
6228 (config-cflags-avx): Likewise.
6229 (config-cflags-sse2avx): Likewise.
6230 (config-cflags-novzeroupper): Likewise.
6231 (config-asflags-i686): Likewise.
6232 (have-mfma4): Likewise.
6233 (have-as-vis3): Likewise.
6234 (MIG): Likewise.
6235 * configure.in (MIG): Do not AC_SUBST.
6236 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6237 (libc_cv_cc_sse4): Do not AC_SUBST.
6238 (libc_cv_cc_avx): Likewise.
6239 (libc_cv_cc_sse2avx): Likewise.
6240 (libc_cv_cc_novzeroupper): Likewise.
6241 (libc_cv_cc_fma4): Likewise.
6242 (libc_cv_as_i686): Likewise.
6243 (libc_cv_sparc_as_vis3): Likewise.
6244 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6245 LIBC_CONFIG_VAR.
6246 (config-asflags-i686): Likewise.
6247 (config-cflags-avx): Likewise.
6248 (config-cflags-sse2avx): Likewise.
6249 (have-mfma4): Likewise.
6250 (config-cflags-novzeroupper): Likewise.
6251 * sysdeps/mach/configure.in (MIG): Likewise.
6252 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6253 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6254 LIBC_CONFIG_VAR.
6255 (config-cflags-avx): Likewise.
6256 (config-cflags-sse2avx): Likewise.
6257 (have-mfma4): Likewise.
6258 (config-cflags-novzeroupper): Likewise.
6259 * configure: Regenerated.
6260 * sysdeps/i386/configure: Likewise.
6261 * sysdeps/mach/configure: Likewise.
6262 * sysdeps/sparc/configure: Likewise.
6263 * sysdeps/x86_64/configure: Likewise.
6264
912cc4b3
RM
62652013-03-20 Roland McGrath <roland@hack.frob.com>
6266
6267 [BZ #14812]
6268 * locale/programs/localedef.c (options): Put N_ translation marker
6269 on argument names, not just descriptions.
6270
04eed2b0
MS
62712013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6272
6273 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6274
a065ceff
OB
62752013-03-20 Ondřej Bílka <neleai@seznam.cz>
6276
9bb2a810 6277 [BZ #14176]
a065ceff
OB
6278 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6279
a600e5ce
RM
62802013-03-19 Roland McGrath <roland@hack.frob.com>
6281
6282 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6283 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6284 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6285 [!BEFORE_ABORT] (before_abort): New function.
6286 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6287 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6288 (writev_for_fatal): New function.
6289 (WRITEV_FOR_FATAL): New macro; call that.
6290 (backtrace_and_maps): New function.
6291 (BEFORE_ABORT): New macro; call that.
6292 (struct str_list): Type removed.
6293 (__libc_message, __libc_fatal): Functions removed.
6294 Include <sysdeps/posix/libc_fatal.c> instead.
6295
6b18bea6
JM
62962013-03-19 Joseph Myers <joseph@codesourcery.com>
6297
6298 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6299 constants.
6300 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6301 double constants.
6302
aaa8cb4b
AS
63032013-03-19 Andreas Schwab <schwab@suse.de>
6304
44673770
AS
6305 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6306 * sysdeps/gnu/configure: Regenerate.
6307
aaa8cb4b
AS
6308 * configure.in: Substitute libc_cv_rtlddir.
6309 * configure: Regenerate.
6310 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6311 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6312 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6313 * elf/Makefile (install-others, CFLAGS-interp.c)
6314 (ldso_install, common-ldd-rewrite): Likewise.
6315 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6316 $(inst_slibdir)/$(rtld-installed-name).
6317 * scripts/rellns-sh: Add -p option.
6318 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6319 for source.
6320
d3cfc668
SP
63212013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6322
6323 * manual/nptl.texi: Renamed to ...
6324 * manual/threads.texi: ... this.
6325 * manual/Makefile (chapters): Update.
6326
0e2b9cdd
RM
63272013-03-18 Roland McGrath <roland@hack.frob.com>
6328
6329 [BZ #14812]
6330 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6331 on argument names, not just descriptions.
0e2b9cdd
RM
6332 * malloc/memusagestat.c (options): Likewise.
6333 * nss/getent.c (options): Likewise.
63270c24
RM
6334
63352013-03-18 Benno Schulenberg <bensberg@justemail.net>
6336
6337 [BZ #14812]
6338 * iconv/iconv_prog.c (options): Put N_ translation marker
6339 on argument names, not just descriptions.
6340 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6341
b2e1393c
OB
63422013-03-18 Ondrej Bilka <neleai@seznam.cz>
6343
6344 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6345 implementation which is faster on all x86_64 architectures.
6346 Tested on AMD, Intel Nehalem, SNB, IVB.
6347 * sysdeps/x86_64/strnlen.S: Likewise.
6348
6349 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6350 Remove all multiarch strlen and strnlen versions.
6351 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6352 Remove strlen and strnlen related parts.
6353
6354 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6355 Inline strlen part.
6356 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6357
6358 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6359 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6360 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6361 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6362 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6363 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6364
ec4ff04d
CD
63652013-03-17 Carlos O'Donell <carlos@redhat.com>
6366
6367 * manual/memory.texi (Malloc Tunable Parameters):
6368 Sort parameters alphabetically. Add comments for missing entries.
6369
cd18e90a
DM
63702013-03-17 David S. Miller <davem@davemloft.net>
6371
6372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6373
2a185d32
JM
63742013-03-16 Joseph Myers <joseph@codesourcery.com>
6375
d2f9799e
JM
6376 [BZ #15283]
6377 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6378 for arguments at most half maximum finite value.
6379 * math/libm-test.inc (j0_test): Add more tests.
6380 (j1_test): Likewise.
6381 (y0_test): Likewise.
6382 (y1_test): Likewise.
6383 * sysdeps/i386/fpu/libm-test-ulps: Update.
6384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6385
2a185d32
JM
6386 [BZ #14155]
6387 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6388 1 / x and functions P and Q for arguments above 0x1p256L.
6389 (__ieee754_y0l): Likewise.
6390 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6391 (__ieee754_y1l): Likewise.
6392 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6393 (j1_test): Likewise.
6394 (y0_test): Likewise.
6395 (y1_test): Likewise.
6396
6cbec759
TS
63972013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6398
6399 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6400 variable.
6401
bc16e260
RM
64022013-03-15 Roland McGrath <roland@hack.frob.com>
6403
aefc9b8c
RM
6404 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6405 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6406 zero since it's initialized to EXEC_PAGESIZE.
6407
bc16e260
RM
6408 * sysdeps/unix/sysv/linux/ldsodefs.h
6409 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6410 * sysdeps/generic/ldsodefs.h: ... here.
6411
a57da955
TS
64122013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6413
af00a34d
TS
6414 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6415
495ded2c
TS
6416 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6417 math/test-snan.c.
6418 * math/test-snan.c: Renamed from
6419 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6420 * math/Makefile (tests): Add test-snan.
6421 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6422 test-powerpc-snan.
6423
777b0332
TS
6424 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6425 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6426 functions.
6427 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6428 __builtin_nan family of functions.
6429 * math/libm-test.inc (initialize): Initialize qnan_value with
6430 __builtin_nan family of functions.
6431 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6432 Remove variables.
6433 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6434 Remove functions.
6435 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6436 storage class. Initialize qNaN_var and sNaN_var with
6437 __builtin_nan and __builtin_nans families of functions,
6438 respectively.
6439
64d063b8
TS
6440 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6441 (sqrt_test): Remove duplicate test with qNaN input.
6442 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6443 (round_test, signbit_test, significand_test): Note missing +/-Inf
6444 as well as qNaN tests.
6445
67e971f1
TS
6446 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6447 qNaN_var. Fix a few strings, too.
6448 * math/libm-test.inc (nan_value): Rename to qnan_value.
6449 * math/gen-libm-test.pl (%beautify): Adjust to that.
6450 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6451 * math/test-misc.c (main): Likewise.
6452 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6453 to __qnan_bytes, and __qnan_union, respectively.
6454 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6455 Likewise.
6456 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6457 and lqnanval, respectively.
6458 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6459 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6460 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6461 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6462
64487e12
TS
6463 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6464 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6465 doubles.
6466
e015e27b
TS
6467 * math/test-misc.c (main): Fix copy'n'pastos.
6468 * misc/tst-efgcvt.c (special): Likewise.
6469
a57da955
TS
6470 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6471 Remove declarations.
6472
1e380345
SP
64732013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6474
6475 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6476 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6477 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6478 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6479
ef26eece
AZ
64802013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6481
6482 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6483 macro to return vdso values correctly in IFUNC implementations.
6484 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6485 Optimization by using IFUNC.
6486
8cfdb7e0
SP
64872013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6488 Richard Henderson <rth@redhat.com>
6489 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6490
6491 * Makefile.in (bench): New target.
6492 * NEWS: Mention the benchmark framework.
6493 * Rules (bench): Likewise.
6494 (binaries-bench): Generate binaries for functions to
6495 benchmark.
6496 * benchtests/Makefile: New makefile for benchmark tests.
6497 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6498 programs.
6499 * benchtests/exp-inputs: New input file for EXP function.
6500 * benchtests/pow-inputs: New input file for POW function.
6501 * scripts/bench.pl: New script to generate source files for
6502 benchmark programs.
6503
bcda9880
SP
65042013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6505
d22ca8cd
SP
6506 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6507 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6508 computations on mantissa. Use macros for rounding and
6509 division.
6510 (denorm): Likewise.
6511 (__dbl_mp): Likewise.
6512 (add_magnitudes): Likewise.
6513 (sub_magnitudes): Likewise.
6514 (__mul): Likewise.
6515 (__sqr): Likewise.
6516 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6517 powers of two in terms of TWOPOW macro.
6518 (mp_no): Make type of mantissa as MANTISSA_T.
6519 [!RADIXI]: Define RADIXI.
6520 [!TWO52]: Define TWO52.
6521 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6522
bcda9880
SP
6523 * manual/nptl.texi (cindex): Modify threads to pthreads.
6524
06d5adfb
JM
65252013-03-15 Joseph Myers <joseph@codesourcery.com>
6526
6527 * sysdeps/x86_64/preconfigure: Regenerated.
6528
41c7328e
JM
65292013-03-14 Joseph Myers <joseph@codesourcery.com>
6530
6531 [BZ #14155]
6532 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6533 0x1p28 and above.
6534 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6535 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6536 0x1p28 and above.
6537 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6538 * math/libm-test.inc (j0_test): Do not allow one spurious
6539 underflow exception.
6540 (y1_test): Likewise.
6541
e25cfa60
SP
65422013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6543
0409959c
SP
6544 * manual/Makefile (chapters): Add nptl.
6545 * manual/debug.texi (Debugging Support): Add link to Threads
6546 chapter.
6547 * manual/nptl.texi: New file.
6548
e25cfa60
SP
6549 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6550
58a1335e
PB
65512013-03-14 Petr Baudis <pasky@ucw.cz>
6552
6553 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6554 for non-NULL pointer before the memory validity test. Pointed
6555 out by Holger Brunck <holger.brunck@keymile.com>.
6556
9dc7c64f
AS
65572013-03-13 Andreas Schwab <schwab@suse.de>
6558
6559 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6560 instead of .os.
6561
54206aa6
JM
65622013-03-13 Joseph Myers <joseph@codesourcery.com>
6563
6564 * timezone/zic.c: Update from tzcode 2013b.
6565
e98cdb38
CD
65662013-03-12 Carlos O'Donell <carlos@redhat.com>
6567
6568 * manual/install.texi (Configuring and compiling):
6569 Mention i686 and i586.
6570 * INSTALL: Regenerate.
6571
9967e003
RM
65722013-03-12 Roland McGrath <roland@hack.frob.com>
6573
6574 * sysdeps/init_array/elf-init.c: New file.
6575 * csu/elf-init.c
6576 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6577 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6578
6579 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6580 __gmon_start__ as global, but as static with a .preinit_array pointer.
6581 * sysdeps/init_array/gmon-start.c: New file. Use that.
6582 * sysdeps/init_array/crti.S: New file, empty except for comments.
6583 * sysdeps/init_array/crtn.S: Likewise.
6584
e6b5a293 65852013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6586
6587 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6588 definining bcopy.
80f844c9
OB
6589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6590 Remove Prefer_SSE_for_memop.
6591 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6592 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6593 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6595 memset-x86-64.
80f844c9 6596 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6597 Remove bzero, memset ifunc support.
80f844c9
OB
6598 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6599 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6600 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6601 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6602
fb6b0fcb
AS
66032013-03-11 Andreas Schwab <schwab@suse.de>
6604
6605 [BZ #15234]
6606 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6607 by SHLIB_COMPAT.
6608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6609 (GLIBC_2.16): Remove pthread_atfork.
6610
3e6bd4b1
PP
66112013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6612
6613 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6614 (ptestcases.h): Likewise.
6615
222d7f00
RM
66162013-03-08 Roland McGrath <roland@hack.frob.com>
6617
6618 * Makeconfig ($(common-objpfx)config.status): Depend on
6619 sysdeps/*/preconfigure{,.in} too.
6620
1ba4f030
JM
66212013-03-08 Joseph Myers <joseph@codesourcery.com>
6622
a222d91a
JM
6623 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6624 (__free_hook): Use void * instead of __malloc_ptr_t.
6625 (__malloc_hook): Likewise.
6626 (__realloc_hook): Likewise.
6627 (__memalign_hook): Likewise.
6628 (__after_morecore_hook): Likewise.
6629 * malloc/arena.c (save_malloc_hook): Likewise.
6630 (save_free_hook): Likewise.
6631 * malloc/hooks.c (malloc_hook_ini): Likewise.
6632 (realloc_hook_ini): Likewise.
6633 (memalign_hook_ini): Likewise.
6634 * malloc/malloc.c (malloc_hook_ini): Likewise.
6635 (realloc_hook_ini): Likewise.
6636 (memalign_hook_ini): Likewise.
6637 (__free_hook): Likewise.
6638 (__malloc_hook): Likewise.
6639 (__realloc_hook): Likewise.
6640 (__memalign_hook): Likewise.
6641 (__libc_malloc): Likewise.
6642 (__libc_free): Likewise.
6643 (__libc_realloc): Likewise.
6644 (__libc_memalign): Likewise.
6645 (__libc_valloc): Likewise.
6646 (__libc_pvalloc): Likewise.
6647 (__libc_calloc): Likewise.
6648 (__posix_memalign): Likewise.
6649 * malloc/morecore.c (__sbrk): Likewise.
6650 (__default_morecore): Likewise.
6651
5cc45e10
JM
6652 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6653
dd54b864
JM
6654 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6655 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6656 __malloc_ptrdiff_t.
6657
1ba4f030
JM
6658 * malloc/malloc.h (__malloc_size_t): Remove macro.
6659 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6660 __malloc_size_t.
6661 (old_memalign_hook): Likewise.
6662 (old_realloc_hook): Likewise.
6663 (struct hdr): Likewise.
6664 (flood): Likewise.
6665 (mallochook): Likewise.
6666 (memalignhook): Likewise.
6667 (reallochook): Likewise.
6668 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6669 (tr_old_realloc_hook): Likewise.
6670 (tr_old_memalign_hook): Likewise.
6671 (tr_mallochook): Likewise.
6672 (tr_reallochook): Likewise.
6673 (tr_memalignhook): Likewise.
6674
edf66e57
AZ
66752013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6676
6677 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6678 default_ldbl_pack and using as default implementation.
6679 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6680 implementation.
6681 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6682 redundant definition.
6683 (ldbl_insert_mantissa): Likewise.
6684 (ldbl_canonicalize): Likewise.
6685 (ldbl_nearbyint): Likewise.
6686 (ldbl_pack): Rename to ldbl_pack_ppc.
6687 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6688 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6689 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6690
6d9145d8
SP
66912013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6692
6693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6694 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6695 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6696 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6698 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6699 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6700 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6701
4dd4e157
AJ
67022013-03-07 Andreas Jaeger <aj@suse.de>
6703
6704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6705 bits/mman-linux.h.
6706
adbb8027
SP
67072013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6708
ce544b5b
SP
6709 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6710 Include mpa.h and declare __MPEXP.
6711 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6712 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6713 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6714 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6715 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6716 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6717 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6718
4cc149fd
SP
6719 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6720 (__slowpow): Use long double EXPL and LOGL functions to
6721 compute POW.
6722 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6723 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6724 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6725 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6726 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6727 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6728
e6ebd4a7
SP
6729 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6730 intermediate variable to calculate exponent.
6731 (__sqr): Likewise.
6732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6733 Likewise.
6734 (__sqr): Likewise.
6735
82a9811d
SP
6736 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6737 [!NO__SQR]: Define __sqr.
6738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6739 and NO__SQR. Remove all code except __mul and __sqr. Include
6740 sysdeps/ieee754/dbl-64/mpa.c.
6741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6742
adbb8027
SP
6743 [BZ #12723]
6744 * posix/Makefile (tests): Add tst-pathconf.
6745 * posix/tst-pathconf.c: New test case.
6746 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6747 _PC_PIPE_BUF.
6748 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6749
39120df9
PF
67502013-03-06 Patsy Franklin <pfrankli@redhat.com>
6751
6752 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6753
67525cb8
AJ
67542013-03-06 Andreas Jaeger <aj@suse.de>
6755
664a9ce4
AJ
6756 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6757 definition via __MAP_ANONYMOUS.
6758
8e39047d
AJ
6759 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6760 it's not part of Linux headers.
6761
67525cb8
AJ
6762 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6763 (MAP_HUGE_MASK): Define.
6764
6765 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6766 Define.
6767 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6768 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6769 Define.
6770 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6771 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6772 Define.
6773 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6774 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6775 Define.
6776 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6777
6778 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6779 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6780 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6781 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6782 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6783 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6784
6785 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6786 Handle f2fs.
6787
6788 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6789 Handle f2fs and efivarfs.
6790
6791 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6792 f2fs.
6793
6794 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6795 (EFIVARFS_MAGIC): Add.
6796 (F2FS_LINK_MAX): Add.
6797
e1b42695
PP
67982013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6799
6800 * stdio-common/vfprintf.c: Replace __builtin_expect with
6801 __glibc_unlikely.
6802
2d67d91a
JM
68032013-03-06 Joseph Myers <joseph@codesourcery.com>
6804
6805 [BZ #13550]
6806 * sysdeps/generic/bp-sym.h: Remove file.
6807 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6808 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6809 <bp-sym.h> and <bp-asm.h>.
6810 (__longjmp): Don't use BP_SYM.
6811 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6812 and <bp-asm.h>.
6813 (memcpy): Don't use BP_SYM.
6814 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6815 <bp-sym.h> and <bp-asm.h>.
6816 (memcpy): Don't use BP_SYM.
6817 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6818 <bp-asm.h>.
6819 (memcpy): Don't use BP_SYM.
6820 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6821 <bp-asm.h>.
6822 (memset): Don't use BP_SYM.
6823 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6824 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6825 (__bzero): Don't use BP_SYM.
6826 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6827 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6828 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6829 <bp-sym.h> and <bp-asm.h>.
6830 (memcmp): Don't use BP_SYM. Remove comment about bounded
6831 pointers.
6832 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6833 <bp-sym.h> and <bp-asm.h>.
6834 (memcpy): Don't use BP_SYM.
6835 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6836 <bp-sym.h> and <bp-asm.h>.
6837 (memset): Don't use BP_SYM.
6838 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6839 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6840 (__bzero): Don't use BP_SYM.
6841 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6842 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6843 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6844 <bp-sym.h> and <bp-asm.h>.
6845 (strncmp): Don't use BP_SYM. Remove comment about bounded
6846 pointers.
6847 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6848 <bp-sym.h> and <bp-asm.h>.
6849 (memcpy): Don't use BP_SYM.
6850 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6851 <bp-sym.h> and <bp-asm.h>.
6852 (memset): Don't use BP_SYM.
6853 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6854 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6855 (__bzero): Don't use BP_SYM.
6856 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6857 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6858 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6859 <bp-sym.h> and <bp-asm.h>.
6860 (__memchr): Don't use BP_SYM.
6861 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6862 <bp-sym.h> and <bp-asm.h>.
6863 (memcmp): Don't use BP_SYM. Remove comment about bounded
6864 pointers.
6865 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6866 <bp-sym.h> and <bp-asm.h>.
6867 (memcpy): Don't use BP_SYM.
6868 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6869 <bp-sym.h> and <bp-asm.h>.
6870 (__mempcpy): Don't use BP_SYM.
6871 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6872 <bp-sym.h> and <bp-asm.h>.
6873 (__memrchr): Don't use BP_SYM.
6874 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6875 <bp-sym.h> and <bp-asm.h>.
6876 (memset): Don't use BP_SYM.
6877 (__bzero): Likewise.
6878 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6879 <bp-sym.h> and <bp-asm.h>.
6880 (__rawmemchr): Don't use BP_SYM.
6881 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6882 <bp-sym.h> and <bp-asm.h>.
6883 (__STRCMP): Don't use BP_SYM.
6884 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6885 <bp-sym.h> and <bp-asm.h>.
6886 (strchr): Don't use BP_SYM.
6887 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6888 <bp-sym.h> and <bp-asm.h>.
6889 (__strchrnul): Don't use BP_SYM.
6890 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6891 <bp-sym.h> and <bp-asm.h>.
6892 (strlen): Don't use BP_SYM.
6893 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6894 <bp-sym.h> and <bp-asm.h>.
6895 (strncmp): Don't use BP_SYM. Remove comment about bounded
6896 pointers.
6897 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6898 <bp-sym.h> and <bp-asm.h>.
6899 (__strnlen): Don't use BP_SYM.
6900 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6901 <bp-sym.h> and <bp-asm.h>.
6902 (__GI__setjmp): Don't use BP_SYM.
6903 (_setjmp): Likewise.
6904 (__sigsetjmp): Likewise.
6905 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6906 (L(start_addresses)): Don't use BP_SYM.
6907 (_start): Likewise.
6908 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6909 <bp-asm.h>.
6910 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6911 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6912 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6913 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6914 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6915 <bp-asm.h>.
6916 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6917 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6918 about bounded pointers.
6919 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6920 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6921 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6922 <bp-asm.h>.
6923 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6924 about bounded pointers. Remove GKM FIXME comments.
6925 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6926 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6927 <bp-asm.h>.
6928 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6929 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6930 Remove GKM FIXME comments.
6931 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6932 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6933 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6934 <bp-asm.h>.
6935 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6936 about bounded pointers. Remove GKM FIXME comment.
6937 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6938 and <bp-asm.h>.
6939 (strncmp): Don't use BP_SYM. Remove comment about bounded
6940 pointers.
6941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6942 <bp-sym.h> and <bp-asm.h>.
6943 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6945 <bp-sym.h> and <bp-asm.h>.
6946 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6947 comment.
6948
cdcf361f
PP
69492013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6950
6951 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6952 call free(NULL).
6953
3c4a2b15
DM
69542013-03-05 David S. Miller <davem@davemloft.net>
6955
6956 * po/es.po: Update from translation team.
6957
cdcf361f 69582013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6959
6960 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6961 <bits/mman-linux.h>.
6962 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6963 is fine.
6964 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6965 <bits/mman-linux.h> to end of file.
6966 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6967 is fine.
6968 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6969 <bits/mman-linux.h> to end of file.
6970 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6971 is fine.
6972 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6973 <bits/mman-linux.h> to end of file.
6974
6975 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6976 (MCL_CURRENT, MCL_FUTURE): Define here.
6977
5f67c04f
AK
69782013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6979
8a4473cc 6980 [BZ #15232]
5f67c04f
AK
6981 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6982 attribute_hidden.
6983 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6984
c3e94a95
AK
69852013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6986
6987 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6988 fourth parameter needed for rt_sigprocmask syscall.
6989 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6990 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6991 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6992 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6993 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6994 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6995
cfb6382a
JM
69962013-03-04 Joseph Myers <joseph@codesourcery.com>
6997
6998 [BZ #13550]
6999 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7000 comment about bounded pointers.
7001 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7002 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7003
539d8e01
AJ
70042013-03-04 Andreas Jaeger <aj@suse.de>
7005
7006 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7007 common definitions.
7008
7009 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7010 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7011 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7012 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7013 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
7014 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7015
2e167a70 70162013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
7017
7018 [BZ #15055]
7019 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7020 __ieee754_sqrl instead of __sqrl.
7021
68508633
JM
70222013-03-01 Joseph Myers <joseph@codesourcery.com>
7023
7024 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7025 * sysdeps/powerpc/fpu_control.h: ... here.
7026 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7027 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7028 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7029 * sysdeps/powerpc/bits/mathinline.h: ... here.
7030
7775448e
RM
70312013-03-01 Roland McGrath <roland@hack.frob.com>
7032
7033 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7034 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7035 to just [NEED_DL_SYSINFO_DSO].
7036 * elf/dl-support.c: Likewise.
7037 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7038 * elf/rtld.c (dl_main): Likewise.
7039 * elf/setup-vdso.h (setup_vdso): Likewise.
7040 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7041 * sysdeps/unix/sysv/linux/dl-sysdep.c
7042 (_dl_discover_osversion): Likewise.
7043
4e9b5995
CD
70442013-03-01 Carlos O'Donell <carlos@redhat.com>
7045
7046 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7047 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7048
e23872c8
SP
70492013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7050
e5c74c63
SP
7051 * NEWS: Mention libm performance improvements and non-x86 PI
7052 futex support.
7053
e23872c8
SP
7054 * csu/libc-start.c (__pthread_initialize_minimal): Change
7055 function arguments.
7056 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7057
b5510883
JM
70582013-02-28 Joseph Myers <joseph@codesourcery.com>
7059
7060 [BZ #13550]
7061 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7062 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7063 <bp-sym.h> and <bp-asm.h>.
7064 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7065 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7066 and <bp-asm.h>.
7067 (memcpy): Don't use BP_SYM.
7068 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7069 <bp-asm.h>.
7070 (__mpn_add_n): Don't use BP_SYM.
7071 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7072 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7073 and <bp-asm.h>.
7074 (__mpn_addmul_1): Don't use BP_SYM.
7075 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7076 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7077 <bp-sym.h>.
7078 (_setjmp): Don't use BP_SYM.
7079 (__novmx_setjmp): Likewise.
7080 (__GI__setjmp): Likewise.
7081 (__vmx_setjmp): Likewise.
7082 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7083 <bp-sym.h>.
7084 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7085 (__bzero): Don't use BP_SYM.
7086 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7087 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7088 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7089 <bp-sym.h> and <bp-asm.h>.
7090 (memcpy): Don't use BP_SYM.
7091 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7092 <bp-sym.h> and <bp-asm.h>.
7093 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7094 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7095 <bp-sym.h> and <bp-asm.h>.
7096 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7097 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7098 <bp-asm.h>.
7099 (__mpn_lshift): Don't use BP_SYM.
7100 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7101 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7102 <bp-asm.h>.
7103 (memset): Don't use BP_SYM.
7104 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7105 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7106 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7107 <bp-asm.h>.
7108 (__mpn_mul_1): Don't use BP_SYM.
7109 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7110 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7111 <bp-sym.h> and <bp-asm.h>.
7112 (memcmp): Don't use BP_SYM.
7113 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7114 <bp-sym.h> and <bp-asm.h>.
7115 (memcpy): Don't use BP_SYM.
7116 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7117 <bp-sym.h> and <bp-asm.h>.
7118 (memset): Don't use BP_SYM.
7119 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7120 <bp-sym.h> and <bp-asm.h>.
7121 (strncmp): Don't use BP_SYM.
7122 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7123 <bp-sym.h> and <bp-asm.h>.
7124 (memcpy): Don't use BP_SYM.
7125 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7126 <bp-sym.h> and <bp-asm.h>.
7127 (memset): Don't use BP_SYM.
7128 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7129 <bp-sym.h> and <bp-asm.h>.
7130 (__memchr): Don't use BP_SYM.
7131 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7132 <bp-sym.h> and <bp-asm.h>.
7133 (memcmp): Don't use BP_SYM.
7134 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7135 <bp-sym.h> and <bp-asm.h>.
7136 (memcpy): Don't use BP_SYM.
7137 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7138 <bp-sym.h> and <bp-asm.h>.
7139 (__mempcpy): Don't use BP_SYM.
7140 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7141 <bp-sym.h> and <bp-asm.h>.
7142 (__memrchr): Don't use BP_SYM.
7143 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7144 <bp-sym.h> and <bp-asm.h>.
7145 (memset): Don't use BP_SYM.
7146 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7147 <bp-sym.h> and <bp-asm.h>.
7148 (__rawmemchr): Don't use BP_SYM.
7149 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7150 <bp-sym.h> and <bp-asm.h>.
7151 (__STRCMP): Don't use BP_SYM.
7152 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7153 <bp-sym.h> and <bp-asm.h>.
7154 (strchr): Don't use BP_SYM.
7155 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7156 <bp-sym.h> and <bp-asm.h>.
7157 (__strchrnul): Don't use BP_SYM.
7158 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7159 <bp-sym.h> and <bp-asm.h>.
7160 (strlen): Don't use BP_SYM.
7161 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7162 <bp-sym.h> and <bp-asm.h>.
7163 (strncmp): Don't use BP_SYM.
7164 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7165 <bp-sym.h> and <bp-asm.h>.
7166 (__strnlen): Don't use BP_SYM.
7167 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7168 <bp-asm.h>.
7169 (__mpn_rshift): Don't use BP_SYM.
7170 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7171 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7172 <bp-sym.h> and <bp-asm.h>.
7173 (__sigsetjmp): Don't use BP_SYM.
7174 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7175 (L(start_addresses)): Don't use BP_SYM.
7176 (_start): Likewise.
7177 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7178 <bp-asm.h>.
7179 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7180 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7181 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7182 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7183 <bp-asm.h>.
7184 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7185 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7186 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7187 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7188 <bp-asm.h>.
7189 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7190 comments.
7191 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7192 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7193 <bp-asm.h>.
7194 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7195 FIXME comments.
7196 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7197 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7198 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7199 <bp-asm.h>.
7200 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7201 comment.
7202 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7203 and <bp-asm.h>.
7204 (strncmp): Don't use BP_SYM,
7205 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7206 <bp-asm.h>.
7207 (__mpn_sub_n): Don't use BP_SYM.
7208 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7209 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7210 and <bp-asm.h>.
7211 (__mpn_submul_1): Don't use BP_SYM.
7212 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7214 <bp-sym.h> and <bp-asm.h>.
7215 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7217 <bp-sym.h> and <bp-asm.h>.
7218 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7219 comment.
7220
8d19fe64
SP
72212013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7222
7223 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7224 Use ZK to minimize writes to Z.
7225 (sub_magnitudes): Simplify code a bit.
7226 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7227 Use ZK to minimize writes to Z.
7228 (sub_magnitudes): Simplify code a bit.
7229
85bd816a
RM
72302013-02-27 Roland McGrath <roland@hack.frob.com>
7231
7232 * csu/gmon-start.c: Add special exception to license text.
7233
b5977bf2
RH
72342013-02-27 Richard Henderson <rth@redhat.com>
7235
7236 * scripts/config.guess: Update from config.git.
7237 * scripts/config.sub: Likewise.
7238
11d6e2f2
SP
72392013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7240
09c14ed2
SP
7241 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7242
a688864e
SP
7243 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7244
6295157a
SP
7245 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7246
b8de2202
SP
7247 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7248
11d6e2f2
SP
7249 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7250
7e80ddb8
RM
72512013-02-26 Roland McGrath <roland@hack.frob.com>
7252
7253 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7254 [$(build-shared = yes].
7e80ddb8 7255
7da6d9ed
SP
72562013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7257
45f05884
SP
7258 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7259 (__mul): Reduce iterations for calculating mantissa.
7260
2236d359
SP
7261 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7262 MPTWO.
7263 (__mpranred): Likewise.
7264
7da6d9ed
SP
7265 [BZ #15160]
7266 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7267 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7268
b7688c42
PE
72692013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7270
7271 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7272 Define __attribute__.
7273
53a5c423
SP
72742013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7275
7276 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7277 unused.
7278 * posix/regex_internal.h (__attribute): Remove.
7279 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7280 (re_string_context_at): Likewise.
7281 (bitset_not): Use __attribute__ and mark function as possibly
7282 unused.
7283 (bitset_merge): Likewise.
7284 (bitset_mask): Likewise.
7285 (re_string_char_size_at): Likewise.
7286 (re_string_wchar_at): Likewise.
7287 (re_string_elem_size_at): Likewise.
7288
60f5a8b5
SP
72892013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7290
2a983a2e
SP
7291 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7292 code.
7293 (cc32): Likewise.
7294
e69804d1
SP
7295 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7296 (__acr): Likewise.
7297 (__cpy): Likewise.
7298 (norm): Likewise.
7299 (denorm): Likewise.
7300 (__dbl_mp): Likewise.
7301 (add_magnitudes): Likewise.
7302 (sub_magnitudes): Likewise.
7303 (__mul): Likewise.
7304 (__inv): Likewise.
7305
2f22a1e8
SP
7306 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7307 style.
7308
8930ddc7
SP
7309 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7310 style.
7311
dc60cb11
SP
7312 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7313 code.
7314
60f5a8b5
SP
7315 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7316 up changes with default code.
7317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7318 Likewise.
7319
b4d1fd33
AM
73202013-02-24 Allan McRae <allan@archlinux.org>
7321
faf6f8bc
AM
7322 * manual/socket.texi (The Internet Namespace): Order menu items
7323 to match that in the file.
7324
b4d1fd33
AM
7325 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7326 node listing of the info page menu.
7327
2366713d
JM
73282013-02-21 Joseph Myers <joseph@codesourcery.com>
7329
7330 [BZ #13550]
7331 * sysdeps/i386/bp-asm.h: Remove file.
7332 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7333 (PARMS): Do not use macros from bp-asm.h.
7334 (S1): Likewise.
7335 (S2): Likewise.
7336 (SIZE): Likewise.
7337 (__mpn_add_n): Do not use BP_SYM
7338 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7339 "bp-asm.h".
7340 (PARMS): Do not use macros from bp-asm.h.
7341 (S1): Likewise.
7342 (SIZE): Likewise.
7343 (__mpn_addmul_1): Do not use BP_SYM
7344 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7345 "bp-asm.h".
7346 (PARMS): Do not use macros from bp-asm.h.
7347 (SIGMSK): Likewise.
7348 (_setjmp): Likewise. Do not use BP_SYM.
7349 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7350 "bp-asm.h".
7351 (PARMS): Do not use macros from bp-asm.h.
7352 (SIGMSK): Likewise.
7353 (setjmp): Likewise. Do not use BP_SYM.
7354 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7355 "bp-asm.h".
7356 (PARMS): Do not use macros from bp-asm.h.
7357 (__frexp): Do not use BP_SYM.
7358 (frexp): Likewise.
7359 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7360 "bp-asm.h".
7361 (PARMS): Do not use macros from bp-asm.h.
7362 (__frexpf): Do not use BP_SYM.
7363 (frexpf): Likewise.
7364 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7365 "bp-asm.h".
7366 (PARMS): Do not use macros from bp-asm.h.
7367 (__frexpl): Do not use BP_SYM.
7368 (frexpl): Likewise.
7369 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7370 "bp-asm.h".
7371 (PARMS): Do not use macros from bp-asm.h.
7372 (__remquo): Do not use BP_SYM.
7373 (remquo): Likewise.
7374 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7375 "bp-asm.h".
7376 (PARMS): Do not use macros from bp-asm.h.
7377 (__remquof): Do not use BP_SYM.
7378 (remquof): Likewise.
7379 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7380 "bp-asm.h".
7381 (PARMS): Do not use macros from bp-asm.h.
7382 (__remquol): Do not use BP_SYM.
7383 (remquol): Likewise.
7384 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7385 "bp-asm.h".
7386 (PARMS): Do not use macros from bp-asm.h.
7387 (DEST): Likewise.
7388 (SRC): Likewise.
7389 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7390 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7391 "bp-asm.h".
7392 (PARMS): Do not use macros from bp-asm.h.
7393 (strlen): Do not use BP_SYM.
7394 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7395 "bp-asm.h".
7396 (PARMS): Do not use macros from bp-asm.h.
7397 (S1): Likewise.
7398 (S2): Likewise.
7399 (SIZE): Likewise.
7400 (__mpn_add_n): Do not use BP_SYM.
7401 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7402 "bp-asm.h".
7403 (PARMS): Do not use macros from bp-asm.h.
7404 (S1): Likewise.
7405 (SIZE): Likewise.
7406 (__mpn_addmul_1): Do not use BP_SYM.
7407 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7408 weak_alias.
7409 (bzero): Likewise.
7410 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7411 "bp-asm.h".
7412 (PARMS): Do not use macros from bp-asm.h.
7413 (S): Likewise.
7414 (SIZE): Likewise.
7415 (__mpn_lshift): Do not use BP_SYM.
7416 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7417 "bp-asm.h".
7418 (PARMS): Do not use macros from bp-asm.h.
7419 (DEST): Likewise.
7420 (SRC): Likewise.
7421 (LEN): Likewise.
7422 (memcpy): Likewise. Do not use BP_SYM.
7423 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7424 libc_hidden_def and weak_alias.
7425 (mempcpy): Do not use BP_SYM in weak_alias.
7426 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7427 "bp-asm.h".
7428 (PARMS): Do not use macros from bp-asm.h.
7429 (DEST): Likewise.
7430 (LEN): Likewise.
7431 [!BZERO_P] (CHR): Likewise.
7432 (memset): Likewise. Do not use BP_SYM.
7433 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7434 "bp-asm.h".
7435 (PARMS): Do not use macros from bp-asm.h.
7436 (S1): Likewise.
7437 (SIZE): Likewise.
7438 (__mpn_mul_1): Do not use BP_SYM.
7439 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7440 "bp-asm.h".
7441 (PARMS): Do not use macros from bp-asm.h.
7442 (S): Likewise.
7443 (SIZE): Likewise.
7444 (__mpn_rshift): Do not use BP_SYM.
7445 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7446 "bp-asm.h".
7447 (PARMS): Do not use macros from bp-asm.h.
7448 (STR): Likewise.
7449 (CHR): Likewise.
7450 (strchr): Likewise. Do not use BP_SYM.
7451 (index): Do not use BP_SYM in weak_alias.
7452 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7453 "bp-asm.h".
7454 (PARMS): Do not use macros from bp-asm.h.
7455 (DEST): Likewise.
7456 (SRC): Likewise.
7457 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7458 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7459 "bp-asm.h".
7460 (PARMS): Do not use macros from bp-asm.h.
7461 (strlen): Do not use BP_SYM.
7462 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7463 "bp-asm.h".
7464 (PARMS): Do not use macros from bp-asm.h.
7465 (S1): Likewise.
7466 (S2): Likewise.
7467 (SIZE): Likewise.
7468 (__mpn_sub_n): Do not use BP_SYM.
7469 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7470 "bp-asm.h".
7471 (PARMS): Do not use macros from bp-asm.h.
7472 (S1): Likewise.
7473 (SIZE): Likewise.
7474 (__mpn_submul_1): Do not use BP_SYM.
7475 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7476 "bp-asm.h".
7477 (PARMS): Do not use macros from bp-asm.h.
7478 (S1): Likewise.
7479 (S2): Likewise.
7480 (SIZE): Likewise.
7481 (__mpn_add_n): Do not use BP_SYM.
7482 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7483 weak_alias.
7484 (bzero): Likewise.
7485 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7486 "bp-asm.h".
7487 (PARMS): Do not use macros from bp-asm.h.
7488 (BLK2): Likewise.
7489 (LEN): Likewise.
7490 (memcmp): Do not use BP_SYM.
7491 (bcmp): Do not use BP_SYM in weak_alias.
7492 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7493 "bp-asm.h".
7494 (PARMS): Do not use macros from bp-asm.h.
7495 (DEST): Likewise.
7496 (SRC): Likewise.
7497 (LEN): Likewise.
7498 (memcpy): Likewise. Do not use BP_SYM.
7499 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7500 "bp-asm.h".
7501 (PARMS): Do not use macros from bp-asm.h.
7502 (DEST): Likewise.
7503 (SRC): Likewise.
7504 (LEN): Likewise.
7505 (memmove): Likewise. Do not use BP_SYM.
7506 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7507 "bp-asm.h".
7508 (PARMS): Do not use macros from bp-asm.h.
7509 (DEST): Likewise.
7510 (SRC): Likewise.
7511 (LEN): Likewise.
7512 (__mempcpy): Likewise. Do not use BP_SYM.
7513 (mempcpy): Do not use BP_SYM in weak_alias.
7514 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7515 "bp-asm.h".
7516 (PARMS): Do not use macros from bp-asm.h.
7517 (DEST): Likewise.
7518 (LEN): Likewise.
7519 [!BZERO_P] (CHR): Likewise.
7520 (memset): Likewise. Do not use BP_SYM.
7521 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7522 "bp-asm.h".
7523 (PARMS): Do not use macros from bp-asm.h.
7524 (STR2): Likewise.
7525 (strcmp): Do not use BP_SYM.
7526 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7527 "bp-asm.h".
7528 (PARMS): Do not use macros from bp-asm.h.
7529 (STR): Likewise.
7530 (DELIM): Likewise.
7531 [USE_AS_STRTOK_R] (SAVE): Likewise.
7532 (FUNCTION): Likewise. Do not use BP_SYM.
7533 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7534 aliases.
7535 (strtok_r): Likewise.
7536 (__GI___strtok_r): Likewise.
7537 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7538 (PARMS): Do not use macros from bp-asm.h.
7539 (S): Likewise.
7540 (SIZE): Likewise.
7541 (__mpn_lshift): Do not use BP_SYM.
7542 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7543 (PARMS): Do not use macros from bp-asm.h.
7544 (STR): Likewise.
7545 (CHR): Likewise.
7546 (__memchr): Do not use BP_SYM.
7547 (memchr): Do not use BP_SYM in weak_alias.
7548 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7549 (PARMS): Do not use macros from bp-asm.h.
7550 (BLK2): Likewise.
7551 (LEN): Likewise.
7552 (memcmp): Do not use BP_SYM.
7553 (bcmp): Do not use BP_SYM in weak_alias.
7554 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7555 (PARMS): Do not use macros from bp-asm.h.
7556 (S1): Likewise.
7557 (SIZE): Likewise.
7558 (__mpn_mul_1): Do not use BP_SYM.
7559 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7560 "bp-asm.h".
7561 (PARMS): Do not use macros from bp-asm.h.
7562 (STR): Likewise.
7563 (CHR): Likewise.
7564 (__rawmemchr): Do not use BP_SYM.
7565 (rawmemchr): Do not use BP_SYM in weak_alias.
7566 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7567 (PARMS): Do not use macros from bp-asm.h.
7568 (S): Likewise.
7569 (SIZE): Likewise.
7570 (__mpn_rshift): Do not use BP_SYM.
7571 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7572 (PARMS): Do not use macros from bp-asm.h.
7573 (SIGMSK): Likewise.
7574 (__sigsetjmp): Likewise. Do not use BP_SYM.
7575 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7576 (_start): Do not use BP_SYM.
7577 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7578 (PARMS): Do not use macros from bp-asm.h.
7579 (DEST): Likewise.
7580 (SRC): Likewise.
7581 (__stpcpy): Likewise. Do not use BP_SYM.
7582 (stpcpy): Do not use BP_SYM in weak_alias.
7583 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7584 "bp-asm.h".
7585 (PARMS): Do not use macros from bp-asm.h.
7586 (DEST): Likewise.
7587 (SRC): Likewise.
7588 (LEN): Likewise.
7589 (__stpncpy): Likewise. Do not use BP_SYM.
7590 (stpncpy): Do not use BP_SYM in weak_alias.
7591 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7592 (PARMS): Do not use macros from bp-asm.h.
7593 (STR): Likewise.
7594 (CHR): Likewise.
7595 (strchr): Likewise. Do not use BP_SYM.
7596 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7597 "bp-asm.h".
7598 (PARMS): Do not use macros from bp-asm.h.
7599 (STR): Likewise.
7600 (CHR): Likewise.
7601 (__strchrnul): Likewise. Do not use BP_SYM.
7602 (strchrnul): Do not use BP_SYM in weak_alias.
7603 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7604 "bp-asm.h".
7605 (PARMS): Do not use macros from bp-asm.h.
7606 (STOP): Likewise.
7607 (strcspn): Do not use BP_SYM.
7608 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7609 "bp-asm.h".
7610 (PARMS): Do not use macros from bp-asm.h.
7611 (STR): Likewise.
7612 (STOP): Likewise.
7613 (strpbrk): Likewise. Do not use BP_SYM.
7614 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7615 "bp-asm.h".
7616 (PARMS): Do not use macros from bp-asm.h.
7617 (STR): Likewise.
7618 (CHR): Likewise.
7619 (strrchr): Likewise. Do not use BP_SYM.
7620 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7621 (PARMS): Do not use macros from bp-asm.h.
7622 (SKIP): Likewise.
7623 (strspn): Do not use BP_SYM.
7624 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7625 (PARMS): Do not use macros from bp-asm.h.
7626 (STR): Likewise.
7627 (DELIM): Likewise.
7628 (SAVE): Likewise.
7629 (FUNCTION): Likewise. Do not use BP_SYM.
7630 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7631 aliases.
7632 (strtok_r): Likewise.
7633 (__GI___strtok_r): Likewise.
7634 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7635 (PARMS): Do not use macros from bp-asm.h.
7636 (S1): Likewise.
7637 (S2): Likewise.
7638 (SIZE): Likewise.
7639 (__mpn_sub_n): Do not use BP_SYM.
7640 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7641 "bp-asm.h".
7642 (PARMS): Do not use macros from bp-asm.h.
7643 (S1): Likewise.
7644 (SIZE): Likewise.
7645 (__mpn_submul_1): Do not use BP_SYM.
7646 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7647 <bp-sym.h>.
7648 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7649 and <bp-asm.h>.
7650 (PARMS): Do not use macros from bp-asm.h.
7651 (FLAGS): Likewise.
7652 (PTID): Likewise.
7653 (TLS): Likewise.
7654 (CTID): Likewise.
7655 (__clone): Do not use BP_SYM.
7656 (clone): Do not use BP_SYM in weak_alias.
7657 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7658 and <bp-asm.h>.
7659 (PARMS): Do not use macros from bp-asm.h.
7660 (LEN): Likewise.
7661 (__mmap64): Do not use BP_SYM.
7662 (mmap64): Do not use BP_SYM in weak_alias.
7663 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7664 <bp-sym.h> and <bp-asm.h>.
7665 (PARMS): Do not use macros from bp-asm.h.
7666 (__posix_fadvise64_l64): Do not use BP_SYM.
7667 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7668 (PARMS): Do not use macros from bp-asm.h.
7669 (NSOPS): Likewise.
7670 (semtimedop): Do not use BP_SYM.
7671 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7672 and <bp-asm.h>.
7673
582a3cff
AM
76742013-02-21 Allan McRae <allan@archlinux.org>
7675
7676 * manual/message.texi (Charset conversion in gettext):
7677 Move @end statement to beginning of line.
7678
bab8a695
SP
76792013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7680
80945231
SP
7681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7682 static.
7683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7684 Likewise.
7685
bab8a695
SP
7686 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7687 (denorm): Likewise.
7688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7689 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7690
e21d7aa7
AK
76912013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7692
7693 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7694 tail-call to the resolved function if pltexit isn't needed.
7695
4c7a4263
SP
76962013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7697
7698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7699 or Y being zero as being unlikely.
7700 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7701 Likewise.
7702
41f49342
CD
77032013-02-20 Carlos O'Donell <carlos@redhat.com>
7704
7705 * manual/nss.texi (System Databases and Name Service Switch):
7706 Remove frobnicate @pxref.
7707
50022a93
TS
77082013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7709
7710 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7711 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7712
08cbd996
PM
77132013-02-20 Petr Machata <pmachata@redhat.com>
7714
7715 * elf/elf.h (R_ARM_TARGET1): New macro.
7716 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7717 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7718 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7719 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7720 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7721 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7722 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7723 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7724 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7725 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7726 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7727 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7728 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7729 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7730 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7731 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7732 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7733 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7734 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7735 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7736 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7737 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7738 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7739 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7740 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7741 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7742 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7743 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7744 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7745 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7746 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7747 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7748 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7749 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7750 (R_ARM_THM_GOT_BREL12): Likewise.
7751 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7752 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7753 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7754 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7755 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7756 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7757 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7758 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7759 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7760
c7b275d6
TS
77612013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7762
7763 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7764 __attribute_used__ to __attribute__ ((unused)).
7765
20cd7fb3
SP
77662013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7767
7768 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7769 powerpc mpa.c.
7770 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7771 comment formatting.
7772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7773
92945b52
JM
77742013-02-19 Joseph Myers <joseph@codesourcery.com>
7775
7776 [BZ #13550]
7777 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7778 Remove macro.
7779 (ENTER): Remove both macro definitions.
7780 (LEAVE): Likewise.
7781 (CHECK_BOUNDS_LOW): Likewise.
7782 (CHECK_BOUNDS_HIGH): Likewise.
7783 (CHECK_BOUNDS_BOTH): Likewise.
7784 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7785 (RETURN_BOUNDED_POINTER): Likewise.
7786 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7787 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7788 (POP_ERRNO_LOCATION_RETURN): Likewise.
7789 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7790 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7791 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7792 macros.
7793 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7794 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7795 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7796 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7797 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7798 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7799 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7800 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7801 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7802 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7803 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7804 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7805 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7806 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7807 removed macros.
7808 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7809 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7810 macros.
7811 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7812 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7813 * sysdeps/i386/i586/memset.S (memset): Likewise.
7814 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7815 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7816 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7817 macros.
7818 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7819 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7820 Change uses of L(2) to L(out).
7821 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7822 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7823 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7824 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7825 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7826 removed macros.
7827 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7828 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7829 macros.
7830 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7831 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7832 (RETURN): Do not use macro LEAVE.
7833 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7834 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7835 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7836 * sysdeps/i386/i686/memset.S (memset): Likewise.
7837 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7838 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7839 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7840 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7841 Likewise.
7842 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7843 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7844 L(1_2) and L(1_3) into L(1).
7845 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7846 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7847 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7848 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7849 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7850 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7851 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7852 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7853 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7854 macros.
7855 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7856 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7857 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7858 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7859 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7860 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7861 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7862 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7863 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7864 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7865 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7866 * sysdeps/i386/strspn.S (strspn): Likewise.
7867 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7868 conditional code.
7869 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7870 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7871 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7872 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7873 L(1_3) into L(1_1).
7874 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7875 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7876 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7877 macros.
7878 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7879
2389741a
JJ
78802013-02-19 Jakub Jelinek <jakub@redhat.com>
7881
7882 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7883 macro.
7884
2016b3cd
SP
78852013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7886
e4f22324
SP
7887 * math/atest-exp.c (exp_mpn): Remove ROUND.
7888 * math/atest-exp2.c (exp_mpn): Likewise.
7889 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7890
2016b3cd
SP
7891 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7892 * stdlib/tst-tls-atexit-lib.c: Likewise.
7893 * stdlib/tst-tls-atexit.c: Likewise.
7894
4be9b544
MF
78952013-02-18 Mike Frysinger <vapier@gentoo.org>
7896
7897 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7898 and __attribute_alloc_size__.
7899
2f62b9ee
MF
79002013-02-18 Mike Frysinger <vapier@gentoo.org>
7901
7902 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7903 __attribute_alloc_size__.
7904 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7905 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7906
6ff444c4
MF
79072013-02-18 Mike Frysinger <vapier@gentoo.org>
7908
7909 * include/programs/xmalloc.h: New file.
7910 * catgets/gencat.c: Include it.
7911 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7912 * elf/pldd.c: Likewise.
7913 * iconv/iconv_charmap.c: Likewise.
7914 * iconv/iconvconfig.c: Likewise.
7915 * iconv/strtab.c: Likewise.
7916 * locale/programs/locale.c: Likewise.
7917 * locale/programs/localedef.h: Likewise.
7918 * locale/programs/simple-hash.c: Likewise.
7919 * nscd/nscd.h: Likewise.
7920 * nss/makedb.c: Likewise.
7921 * sysdeps/generic/ldconfig.h: Likewise.
7922
be179c8a
SP
79232013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7924
ba384f6e
SP
7925 * Versions.def: Add GLIBC_2.18.
7926 * include/link.h (struct link_map): New member l_tls_dtor_count.
7927 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7928 (__call_tls_dtors): Likewise.
7929 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7930 __cxa_thread_atexit_impl.
7931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7932 Likewise.
7933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7934 Likewise.
7935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7936 Likewise.
7937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7938 Likewise.
7939 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7941 Likewise.
7942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7943 Likewise.
7944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7946 Likewise.
7947 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7948 (tests): Add test case tst-tls-atexit.
7949 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7950 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7951 (GLIBC_PRIVATE): Add __call_tls_dtors.
7952 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7953 for libstdc++.
7954 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7955 * stdlib/tst-tls-atexit.c: New test case.
7956 * stdlib/tst-tls-atexit-lib.c: New test case.
7957
ffaa74cf 7958 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7959
be179c8a
SP
7960 * elf/Versions (ld): Add _dl_find_dso_for_object.
7961 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7962 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7963 (dl_open_worker): Use _dl_find_dso_for_object.
7964 * elf/dl-sym.c (do_sym): Likewise.
7965 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7966
f78b5caa
AK
79672013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7968
7969 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7970 Syntactic changes only.
7971 (_dl_runtime_profile): Do a tail-call to the resolved function.
7972
29691210
JM
79732013-02-17 Joseph Myers <joseph@codesourcery.com>
7974
7975 [BZ #13550]
7976 * sysdeps/x86_64/bp-asm.h: Remove file.
7977 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7978 <bp-sym.h> and <bp-asm.h>.
7979 (__clone): Do not use BP_SYM.
7980 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7981 <bp-sym.h> and <bp-asm.h>.
7982 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7983 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7984 "bp-asm.h".
7985 (_setjmp): Do not use BP_SYM.
7986 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7987 "bp-asm.h".
7988 (setjmp): Do not use BP_SYM.
7989 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7990 libc_hidden_def.
7991 (mempcpy): Do not use BP_SYM in weak_alias.
7992 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7993 "bp-asm.h".
7994 (strchr): Do not use BP_SYM.
7995 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7996 "bp-asm.h".
7997 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7998 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7999 (_start): Do not use BP_SYM.
8000 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8001 "bp-asm.h".
8002 (strcat): Do not use BP_SYM.
8003 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8004 "bp-asm.h".
8005 (STRCMP): Do not use BP_SYM.
8006 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8007 "bp-asm.h".
8008 (STRCPY): Do not use BP_SYM.
8009 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8010 "bp-asm.h".
8011 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8012 "bp-asm.h".
8013 (FUNCTION): Do not use BP_SYM.
8014 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8015 weak_alias.
8016 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8017
f238fd19
AJ
80182013-02-17 Andreas Jaeger <aj@suse.de>
8019
8020 * time/Versions: Sort entries.
8021 * string/Versions: Likewise.
8022 * resolv/Versions: Likewise.
8023 * posix/Versions: Likewise.
8024 * iconv/Versions: Likewise.
8025 * elf/Versions: Likewise.
8026 * wcsmbs/Versions: Likewise.
8027
bd07f23c 80282013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 8029
22af19f9
SP
8030 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8031 loop termination condition.
8032
4709fe76
SP
8033 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8034 variable to calculate EZ.
8035 (__sqr): Likewise.
2d0e0f29
SP
8036
8037 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8038 the lower precision input.
8039
daaa7713
JM
80402013-02-15 Joseph Myers <joseph@codesourcery.com>
8041
8042 [BZ #13550]
8043 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8044 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8045 (run-via-rtld-prefix): Do not handle %-bp tests.
8046 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8047 (all-object-suffixes): Remove .ob.
8048 (bppfx): Remove variable.
8049 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8050 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8051 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8052 [$(build-bounded) = yes] (libtype.ob): Likewise.
8053 * Makerules (elide-routines.ob): Remove variable.
8054 (do-tests-clean): Do not handle *-bp.out.
8055 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8056 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8057 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8058 (tests): Do not include $(tests-bp.out).
8059 (xtests): Do not include $(xtests-bp.out).
8060 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8061 [$(build-bounded) = yes] ($(addprefix
8062 $(objpfx),$(binaries-bounded))): Remove rule.
8063 ($(objpfx)%-bp.out): Remove rule.
8064 * config.make.in (build-bounded): Remove variable.
8065 * crypt/Makefile [$(build-bounded) = yes]
8066 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8067 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8068 append to variable.
8069 [$(build-bounded) = yes] (install-lib): Likewise.
8070 [$(build-bounded) = yes] (generated): Likewise.
8071 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8072 Remove rule.
8073 * intl/Makefile [$(build-bounded) = yes]
8074 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8075 * math/Makefile [$(build-bounded) = yes]
8076 ($(tests:%=$(objpfx)%-bp): Likewise.
8077 * misc/Makefile [$(build-bounded) = yes]
8078 ($(objpfx)tst-tsearch-bp): Likewise.
8079 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8080 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8081 Remove dependency.
8082 * string/Makefile (o-objects.ob): Remove variable.
8083 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8084 (CFLAGS-.ob): Remove variable.
8085 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8086 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8087 both definitions of variable.
8088 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8089 (ASFLAGS-.ob): Remove variable.
8090
e97ed6dd
JM
80912013-02-14 Joseph Myers <joseph@codesourcery.com>
8092
2bdd4ca6
JM
8093 [BZ #13550]
8094 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8095 Remove __BOUNDED_POINTERS__ from condition.
8096 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8097 * string/bits/string2.h [!__NO_STRING_INLINES &&
8098 !__BOUNDED_POINTERS__]: Likewise.
8099 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8100 Likewise.
8101 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8102 Remove conditional code.
8103 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8104 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8105 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8106 condition.
8107
e97ed6dd
JM
8108 [BZ #13550]
8109 * csu/libc-start.c: Do not include <bp-sym.h>.
8110 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8111 * elf/dl-open.c: Do not include <bp-sym.h>.
8112 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8113 * math/fegetenv.c: Do not include <bp-sym.h>.
8114 (fegetenv): Do not use BP_SYM in versioned symbols.
8115 * nptl/sysdeps/pthread/bits/libc-lockP.h
8116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8117 <bp-sym.h>.
8118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8119 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8121 (__pthread_mutex_destroy): Likewise.
8122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8123 (__pthread_mutex_lock): Likewise.
8124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8125 (__pthread_mutex_trylock): Likewise.
8126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8127 (__pthread_mutex_unlock): Likewise.
8128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8129 (__pthread_mutexattr_init): Likewise.
8130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8131 (__pthread_mutexattr_destroy): Likewise.
8132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8133 (__pthread_mutexattr_settype): Likewise.
8134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8135 (__pthread_rwlock_init): Likewise.
8136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8137 (__pthread_rwlock_destroy): Likewise.
8138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8139 (__pthread_rwlock_rdlock): Likewise.
8140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8141 (__pthread_rwlock_tryrdlock): Likewise.
8142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8143 (__pthread_rwlock_wrlock): Likewise.
8144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8145 (__pthread_rwlock_trywrlock): Likewise.
8146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8147 (__pthread_rwlock_unlock): Likewise.
8148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8149 (__pthread_key_create): Likewise.
8150 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8151 (__pthread_setspecific): Likewise.
8152 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8153 (__pthread_getspecific): Likewise.
8154 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8155 Likewise.
8156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8157 (_pthread_cleanup_push_defer): Likewise.
8158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8159 (_pthread_cleanup_pop_restore): Likewise.
8160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8161 (pthread_setcancelstate): Likewise.
8162 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8163 <bp-sym.h>.
8164 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8165 (memchr): Do not use BP_SYM in weak_alias.
8166 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8167 (fegetenv): Do not use BP_SYM in versioned symbols.
8168 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8169 (fesetenv): Do not use BP_SYM in versioned symbols.
8170 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8171 (feupdateenv): Do not use BP_SYM in versioned symbols.
8172 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8173 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8174 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8175 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8176 (open64): Do not use BP_SYM in weak_alias.
8177 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8178 (fegetenv): Do not use BP_SYM in versioned symbols.
8179 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8180 (fesetenv): Do not use BP_SYM in versioned symbols.
8181 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8182 (feupdateenv): Do not use BP_SYM in versioned symbols.
8183 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8184 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8185 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8186 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8187 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8188 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8189 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8190 <bp-sym.h>.
8191 (__libc_start_main): Do not use BP_SYM.
8192
d6752ccd
SP
81932013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8194
cb57ce60
SP
8195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8196 redundant return line.
8197 (norm): Likewise.
8198 (denorm): Likewise.
8199 (dbl_mp): Likewise.
8200 (sub_magnitudes): Likewise.
8201 (__add): Likewise.
8202 (__sub): Likewise.
8203 (__mul): Likewise.
8204 (__inv): Likewise.
8205 (__dvd): Likewise.
8206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8207 (norm): Likewise.
8208 (denorm): Likewise.
8209 (dbl_mp): Likewise.
8210 (sub_magnitudes): Likewise.
8211 (__add): Likewise.
8212 (__sub): Likewise.
8213 (__mul): Likewise.
8214 (__inv): Likewise.
8215 (__dvd): Likewise.
8216
f414520d
SP
8217 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8218 instead of __mul.
8219 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8220 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8221 (cc32): Likewise.
8222
d6752ccd
SP
8223 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8224 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8225 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8226 of __mul for squares.
8227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8228 function
8229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8230 Likewise.
8231 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8232 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8233
70d9946a
JM
82342013-02-13 Joseph Myers <joseph@codesourcery.com>
8235
8236 [BZ #13550]
8237 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8238 code.
8239 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8240 prototype or function definition. Rename ubp_* variables and
8241 parameters. Remove argv definitions conditional on
8242 [__BOUNDED_POINTERS__].
8243 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8244 * elf/dl-runtime.c (_dl_fixup): Likewise.
8245 * include/set-hooks.h (RUN_HOOK): Likewise.
8246 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8247 definition.
8248 * string/strcpy.c (strcpy): Do not use __unbounded.
8249 * sysdeps/generic/frame.h (struct layout): Likewise.
8250 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8251 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8252 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8253 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8254 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8255 (__backtrace): Likewise.
8256 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8257 use __ptrvalue.
8258 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8259 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8260 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8261 Likewise.
8262 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8263 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8264 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8265 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8266 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8267 Do not use __unbounded.
8268 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8269 Rename __unboundedrlimits parameter to rlimits in prototype.
8270 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8271 Do not use __unbounded.
8272 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8273 not use __ptrvalue.
8274 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8275 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8276 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8277 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8278 __ptrvalue or __unbounded.
8279 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8280 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8281 use __unbounded.
8282 (__new_msgctl): Do not use __ptrvalue.
8283 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8284 __unbounded.
8285 (__libc_msgrcv): Do not use __ptrvalue.
8286 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8287 startup_info): Do not use __unbounded.
8288 (__libc_start_main): Likewise. Rename ubp_* variables and
8289 parameters. Remove argv definitions conditional on
8290 [__BOUNDED_POINTERS__].
8291 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8292 __ptrvalue.
8293 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8294 use __unbounded.
8295 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8296 or __ptrvalue.
8297 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8298 use __unbounded.
8299 (__new_shmctl): Do not use __ptrvalue.
8300 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8301 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8302 Likewise.
8303 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8304 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8305 (__libc_sigaction): Likewise.
8306 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8307 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8308 Likewise.
8309 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8310
cc7834d6
OB
83112013-02-13 Ondřej Bílka <neleai@seznam.cz>
8312
ffb1ec7b 8313 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8314
8315 * string/mempcpy.c: Implement by calling memcpy.
8316
bdf02814
SP
83172013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8318
c2af38aa
SP
8319 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8320
4e92d59e
SP
8321 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8322 evaluation.
8323
909279a5
SP
8324 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8325 values in the mantissa.
8326
bdf02814
SP
8327 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8328 minimize writes to Z.
8329 (sub_magnitudes): Simplify code a bit.
8330
cd525923
RM
83312013-02-12 Roland McGrath <roland@hack.frob.com>
8332
8333 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8334 from the message. The linker prefixes all warnings with that already.
8335
7e2f0d2d
AS
83362013-02-12 Andreas Schwab <schwab@suse.de>
8337
a445af0b
AS
8338 [BZ #15078]
8339 * posix/regexec.c (extend_buffers): Add parameter min_len.
8340 (check_matching): Pass minimum needed length.
8341 (clean_state_log_if_needed): Likewise.
8342 (get_subexp): Likewise.
8343 * posix/Makefile (tests): Add bug-regex34.
8344 (bug-regex34-ENV): Define.
8345 * posix/bug-regex34.c: New file.
8346
7e2f0d2d
AS
8347 [BZ #11561]
8348 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8349 elements compare against the byte sequence of it, not its name.
8350 * posix/Makefile (tests): Add bug-regex35.
8351 (bug-regex35-ENV): Define.
8352 * posix/bug-regex35.c: New file.
8353
a175b684
TV
83542013-02-11 Tom de Vries <tom@codesourcery.com>
8355
8356 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8357 comment.
8358 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8359 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8360 (CHECK_EOL): Add undef.
8361
310998fe 83622013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8363
8364 * bits/stdlib-bsearch.h: New file.
8365 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8366 * stdlib/stdlib.h: Likewise.
41eda41d 8367
8ded91fb
RM
83682013-02-11 Roland McGrath <roland@hack.frob.com>
8369
8370 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8371 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8372 declaration.
8373 * manual/search.texi (Array Search Function): Add missing const in
8374 lfind prototype.
8375 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8376 declaration to use rlim_t.
8377 (Basic Scheduling Functions): Remove erroneous const from
8378 sched_getparam prototype. Remove erroneous * from
8379 sched_get_priority_max and sched_get_priority_min prototypes.
8380 (Resource Usage): Fix summary @comment on vtimes to refer to
8381 sys/vtimes.h rather than vtimes.h.
8382 Add missing *s in vtimes prototype.
8383 (Limits on Resources): Fix ulimit prototype to return long int.
8384 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8385 prototypes to use long int rather than double.
8386 (BSD Random): Fix initstate and setstate to use char *, not void *.
8387 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8388 prototype to make second argument 'struct aiocb64 *const[]'.
8389 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8390 (Status of AIO Operations): Remove erroneous const in aio_return and
8391 aio_return64 prototypes.
8392 (Synchronizing I/O): Fix sync prototype to return void.
8393 * manual/startup.texi (Suboptions): Remove an erroneous const in
8394 getsubopt prototype.
8395 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8396 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8397 use size_t rather than int.
8398 (Scanning All Users): Likewise for getpwent_r.
8399 (Setting Groups): Add missing const to setgroups prototype.
8400 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8401 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8402 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8403 'const void *' rather than 'const char *'.
8404 (Host Address Functions): Likewise for inet_ntop.
8405 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8406 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8407 ssize_t for return value.
8408 (Sending Data): Likewise for send, sendto, sendmsg.
8409 (Socket Option Functions): Add a missing const in setsockopt prototype.
8410 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8411 use wchar_t for the argument.
8412 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8413 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8414 take no arguments.
8415 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8416 double/float/long double for second argument.
8417 Fix return types of significand, significandf, significandl.
8418 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8419 argument in fchmod prototype.
8420 (File Owner): Use uid_t and gid_t in fchown prototype.
8421 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8422 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8423 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8424 use 'const struct dirent **' as argument types to CMP function pointer
8425 argument.
8426 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8427 (File Times): Fix summary magic @comment for struct utimbuf and utime
8428 to refer to utime.h, not time.h.
8429 * manual/string.texi (Argz Functions): Add missing const in
8430 argz_extract and argz_next prototypes.
8431 (Finding Tokens in a String): Likewise for basename.
8432 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8433 (Copying and Concatenation): Fix typo in wmemmove prototype.
8434 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8435 (Signal Stack): Remove erroneous const in sigstack prototype.
8436 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8437 prototype.
8438 (Simple Calendar Time): Likewise for stime.
8439 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8440 prototype.
8441 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8442 say sys/sysctl.h instead.
8443 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8444 and vsyslog prototypes.
8445
fe77fe6d
TV
84462013-02-11 Tom de Vries <tom@codesourcery.com>
8447
8448 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8449 Remove.
8450
3a09b620
RM
84512013-02-11 Roland McGrath <roland@hack.frob.com>
8452
8453 * misc/sys/mman.h: Fix typo in mremap comment.
8454
550a0b89
RM
84552013-02-08 Roland McGrath <roland@hack.frob.com>
8456
8457 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8458 the '\0' terminator.
8459
a2da1673
JM
84602013-02-08 Joseph Myers <joseph@codesourcery.com>
8461
8462 [BZ #13550]
8463 * debug/segfault.c: Don't include <bp-checks.h>.
8464 * sysdeps/generic/bp-checks.h: Remove file.
8465 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8466 (__GETDENTS): Don't use CHECK_N.
8467 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8468 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8469 (__getgroups): Don't use CHECK_N.
8470 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8471 (setgroups): Don't use CHECK_N.
8472 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8473 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8474 (__libc_msgrcv): Don't use CHECK_N.
8475 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8476 (__libc_msgsnd): Don't use CHECK_N.
8477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8478 <bp-checks.h>.
8479 (__libc_pread): Don't use CHECK_N.
8480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8481 include <bp-checks.h>.
8482 (__libc_pread64): Don't use CHECK_N.
8483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8484 include <bp-checks.h>.
8485 (__libc_pwrite): Don't use CHECK_N.
8486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8487 include <bp-checks.h>.
8488 (__libc_pwrite64): Don't use CHECK_N.
8489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8490 <bp-checks.h>.
8491 (__libc_pread): Don't use CHECK_N.
8492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8493 include <bp-checks.h>.
8494 (__libc_pread64): Don't use CHECK_N.
8495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8496 include <bp-checks.h>.
8497 (__libc_pwrite): Don't use CHECK_N.
8498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8499 include <bp-checks.h>.
8500 (__libc_pwrite64): Don't use CHECK_N.
8501 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8502 (do_pread): Don't use CHECK_N.
8503 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8504 (do_pread64): Don't use CHECK_N.
8505 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8506 (do_pwrite): Don't use CHECK_N.
8507 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8508 (do_pwrite64): Don't use CHECK_N.
8509 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8510 (__libc_readv): Don't use CHECK_N.
8511 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8512 (semop): Don't use CHECK_N.
8513 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8514 <bp-checks.h>.
8515 (semtimedop): Don't use CHECK_N.
8516 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8517 (__libc_pread): Don't use CHECK_N.
8518 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8519 <bp-checks.h>.
8520 (__libc_pread64): Don't use CHECK_N.
8521 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8522 <bp-checks.h>.
8523 (__libc_pwrite): Don't use CHECK_N.
8524 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8525 <bp-checks.h>.
8526 (__libc_pwrite64): Don't use CHECK_N.
8527 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8528 <bp-checks.h>.
8529 (__libc_msgrcv): Don't use CHECK_N.
8530 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8531 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8532 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8533 (__libc_writev): Don't use CHECK_N.
8534
b84660a8
RM
85352013-02-08 Roland McGrath <roland@hack.frob.com>
8536
7f3e75f8
RM
8537 * string/strcpy.c: Removed unused variable.
8538
b84660a8
RM
8539 * Makeconfig (+sysdep-includes): Define with := rather than =.
8540 Use an existing include/ subdir of each sysdeps dir before it.
8541
471514d3
CD
85422013-02-08 Carlos O'Donell <carlos@redhat.com>
8543
8544 * nscd/connection.c (register_traced_file): Comment function.
8545 [HAVE_INOTIFY] (union __inev): Define.
8546 [HAVE_INOTIFY] (inotify_check_files): New function.
8547 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8548 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8549 clear_db_cache.
8550 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8551
b2d3c3be
CD
85522013-02-08 Carlos O'Donell <carlos@redhat.com>
8553
8554 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8555 loaded if not already and that a failure is permanent.
8556
b39949d2
CD
85572013-02-08 Carlos O'Donell <carlos@redhat.com>
8558
ddacd1db 8559 [BZ #15006]
b39949d2
CD
8560 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8561 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8562
b2c9eff4
JM
85632013-02-08 Joseph Myers <joseph@codesourcery.com>
8564
f3aae3f3
JM
8565 [BZ #13550]
8566 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8567 (CHECK_1_NULL_OK): Likewise.
8568 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8569 (__fxstat): Do not use CHECK_1.
8570 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8571 <bp-checks.h>.
8572 (___fxstat64): Do not use CHECK_1.
8573 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8574 <bp-checks.h>.
8575 (__fxstatat): Do not use CHECK_1.
8576 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8577 <bp-checks.h>.
8578 (__fxstatat64): Do not use CHECK_1.
8579 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8580 <bp-checks.h>.
8581 (__fxstat): Do not use CHECK_1.
8582 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8583 <bp-checks.h>.
8584 (__fxstatat): Do not use CHECK_1.
8585 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8586 <bp-checks.h>.
8587 (__getresgid): Do not use CHECK_1.
8588 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8589 <bp-checks.h>.
8590 (__getresuid): Do not use CHECK_1.
8591 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8592 <bp-checks.h>.
8593 (__lxstat): Do not use CHECK_1.
8594 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8595 <bp-checks.h>.
8596 (__old_msgctl): Do not use CHECK_1.
8597 (__new_msgctl): Likewise.
8598 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8599 <bp-checks.h>.
8600 (__new_setrlimit): Do not use CHECK_1.
8601 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8602 <bp-checks.h>.
8603 (__old_shmctl): Do not use CHECK_1.
8604 (__new_shmctl): Likewise.
8605 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8606 <bp-checks.h>.
8607 (__xstat): Do not use CHECK_1.
8608 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8609 (__lxstat): Do not use CHECK_1.
8610 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8611 <bp-checks.h>.
8612 (___lxstat64): Do not use CHECK_1.
8613 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8614 (__old_msgctl): Do not use CHECK_1.
8615 (__new_msgctl): Likewise.
8616 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8617 <bp-checks.h>.
8618 (__gettimeofday): Do not use CHECK_1.
8619 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8620 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8621 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8622 <bp-checks.h>.
8623 (__gettimeofday): Do not use CHECK_1.
8624 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8625 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8626 (__new_shmctl): Do not use CHECK_1.
8627 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8628 <bp-checks.h>.
8629 (do_sigtimedwait): Do not use CHECK_1.
8630 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8631 <bp-checks.h>.
8632 (do_sigwaitinfo): Do not use CHECK_1.
8633 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8634 <bp-checks.h>.
8635 (msgctl): Do not use CHECK_1.
8636 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8637 <bp-checks.h>.
8638 (shmctl): Do not use CHECK_1.
8639 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8640 (ustat): Do not use CHECK_1.
8641 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8642 <bp-checks.h>.
8643 (__fxstat): Do not use CHECK_1.
8644 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8645 <bp-checks.h>.
8646 (__fxstatat): Do not use CHECK_1.
8647 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8648 <bp-checks.h>.
8649 (__lxstat): Do not use CHECK_1.
8650 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8651 <bp-checks.h>.
8652 (__xstat): Do not use CHECK_1.
8653 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8654 (__xstat): Do not use CHECK_1.
8655 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8656 (___xstat64): Do not use CHECK_1.
8657
b2c9eff4
JM
8658 [BZ #13550]
8659 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8660 definitions.
8661 (CHECK_BOUNDS_HIGH): Likewise.
8662 * string/strcpy.c: Do not include <bp-checks.h>.
8663 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8664
f1d70dad
RM
86652013-02-07 Roland McGrath <roland@hack.frob.com>
8666
8667 * nscd/nscd-client.h (__nscd_drop_map_ref):
8668 Add __attribute__ ((unused)).
8669 * nis/nss-nisplus.h (niserr2nss): Likewise.
8670
8671 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8672 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8673
8674 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8675 Remove inline keyword.
8676 * include/rounding-mode.h (round_away): Likewise.
8677 * libio/wfileops.c (adjust_wide_data): Likewise.
8678 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8679 (__m128i_strloadu_tolower): Likewise.
8680 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8681 (__m128i_strloadu_tolower): Likewise.
8682 * time/mktime.c (ydhms_diff): Likewise.
8683 * locale/elem-hash.h (elem_hash): Likewise.
8684 * locale/setlocale.c (setdata): Likewise.
8685 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8686 (re_string_wchar_at): Likewise.
8687 (bitset_not, bitset_merge, bitset_mask): Likewise.
8688 [!(__GNUC__ > 3)] (inline): Remove macro.
8689 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8690 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8691 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8692 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8693 * string/memcmp.c (memcmp_bytes): Likewise.
8694 * locale/programs/locarchive.c (compute_hashval): Likewise.
8695 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8696 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8697 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8698 * nss/getent.c (print_rpc, print_protocols): Likewise.
8699 (print_passwd, print_group, print_aliases): Likewise.
8700 * nis/nss-nisplus.h (niserr2nss): Likewise.
8701 * nscd/connections.c (restart_p): Likewise.
8702 Change return type to bool.
8703
eab55bfb
RM
87042013-02-05 Roland McGrath <roland@hack.frob.com>
8705
7bd642f5
RM
8706 * Makeconfig (all-Depend-files): Add existing
8707 $(sorted-subdirs:=/Depend) files.
8708 (all-subdirs): Remove nss.
8709 * sysdeps/unix/inet/Subdirs: Add it here instead.
8710 * hesiod/Depend: New file.
8711
573c29b2
RM
8712 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8713 instead of calling alloca.
8714
b2e25af0
RM
8715 * io/lseek.c (__lseek): Rename to __libc_lseek.
8716 Define __lseek as an alias.
8717
eab55bfb
RM
8718 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8719
9a0d1941
CD
87202013-02-04 Carlos O'Donell <carlos@redhat.com>
8721
8722 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8723 else clause and remove check for non-standard endianness.
8724
b83bbec4
DM
87252013-02-04 David S. Miller <davem@davemloft.net>
8726
8727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8728
6277fdab
JM
87292013-02-04 Joseph Myers <joseph@codesourcery.com>
8730
8731 [BZ #13550]
8732 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8733 (__ubp_memchr): Remove prototype.
8734 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8735 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8736 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8737 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8738 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8739 Remove alias.
8740 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8741 (__ubp_memchr): Likewise.
8742 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8743 (__ubp_memchr): Likewise.
8744 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8745 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8746 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8747 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8748 CHECK_STRING.
8749 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8750 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8751 (__getcwd): Do not use CHECK_STRING.
8752 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8753 <bp-checks.h>.
8754 (__real_chown): Do not use CHECK_STRING.
8755 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8756 <bp-checks.h>.
8757 (fchownat): Do not use CHECK_STRING.
8758 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8759 CHECK_STRING.
8760 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8761 <bp-checks.h>.
8762 (__lchown): Do not use CHECK_STRING.
8763 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8764 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8765 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8766 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8768 include <bp-checks.h>.
8769 (truncate64): Do not use CHECK_STRING.
8770 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8771 <bp-checks.h>.
8772 (__real_chown): Do not use CHECK_STRING.
8773 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8774 <bp-checks.h>.
8775 (__lchown): Do not use CHECK_STRING.
8776 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8777 <bp-checks.h>.
8778 (__chown): Do not use CHECK_STRING.
8779 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8780 <bp-checks.h>.
8781 (truncate64): Do not use CHECK_STRING.
8782 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8783 Likewise.
8784 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8785 (__xmknod): Do not use CHECK_STRING.
8786 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8787 <bp-checks.h>.
8788 (__xmknodat): Do not use CHECK_STRING.
8789 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8790 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8791
903ae060
AS
87922013-02-04 Andreas Schwab <schwab@suse.de>
8793
8794 [BZ #14142]
8795 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8796 * include/netdb.h: Likewise for h_errno.
8797 * elf/tst-stackguard1.c: Include <tls.h>.
8798
542f9466
JK
87992013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8800
8801 * elf/link.h (struct link_map): Extend the l_addr comment.
8802 * include/link.h (struct link_map): Likewise.
8803
e782a927
JM
88042013-02-01 Joseph Myers <joseph@codesourcery.com>
8805
8806 [BZ #13550]
8807 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8808 (BOUNDED_1): Remove macro.
8809 * debug/backtrace.c: Don't include <bp-checks.h>.
8810 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8811 (__backtrace): Likewise.
8812 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8813 <bp-checks.h>.
8814 (__backtrace): Don't use BOUNDED_1.
8815 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8816 <bp-checks.h>.
8817 (__backtrace): Don't use BOUNDED_1.
8818 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8819 (__backtrace): Don't use BOUNDED_1.
8820 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8821 (shmat): Don't use BOUNDED_N.
8822
8cf28c5e
JM
88232013-01-31 Joseph Myers <joseph@codesourcery.com>
8824
3a7ac8a0
JM
8825 [BZ #13550]
8826 * sysdeps/generic/bp-start.h: Remove file.
8827 * csu/libc-start.c: Don't include <bp-start.h>.
8828 (LIBC_START_MAIN): Set up __environ directly instead of using
8829 INIT_ARGV_and_ENVIRON.
8830 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8831 <bp-start.h>.
8832
f3499f95
JM
8833 [BZ #13550]
8834 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8835 definitions.
8836 (CHECK_FCNTL): Likewise.
8837 (CHECK_N_PAGES): Likewise.
8838
32a45bea
JM
8839 [BZ #13550]
8840 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8841 definitions.
8842 (CHECK_SIGSET_NULL_OK): Likewise.
8843 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8844 <bp-checks.h>.
8845 (sigpending): Don't use CHECK_SIGSET.
8846 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8847 <bp-checks.h>.
8848 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8849 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8850 <bp-checks.h>.
8851 (do_sigsuspend): Don't use CHECK_SIGSET.
8852 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8853 use CHECK_SIGSET.
8854 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8855 (do_sigwait): Don't use CHECK_SIGSET.
8856 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8857 use CHECK_SIGSET.
8858 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8859 include <bp-checks.h>.
8860 (sigpending): Don't use CHECK_SIGSET.
8861 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8862 include <bp-checks.h>.
8863 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8864 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8865 <bp-checks.h>.
8866 (sigpending): Don't use CHECK_SIGSET.
8867 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8868 <bp-checks.h>.
8869 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8870
2e8a5c8c
JM
8871 [BZ #13550]
8872 * sysdeps/generic/bp-semctl.h: Remove file.
8873 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8874 <bp-checks.h> and <bp-semctl.h>.
8875 (__old_semctl): Don't use CHECK_SEMCTL.
8876 (__new_semctl): Likewise.
8877 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8878 and <bp-semctl.h>.
8879 (__old_semctl): Don't use CHECK_SEMCTL.
8880 (__new_semctl): Likewise.
8881 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8882 <bp-checks.h> and <bp-semctl.h>.
8883 (__old_semctl): Don't use CHECK_SEMCTL.
8884 (__new_semctl): Likewise.
8885 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8886 <bp-checks.h> and <bp-semctl.h>.
8887 (semctl): Don't use CHECK_SEMCTL.
8888
c2d54929
JM
8889 [BZ #13550]
8890 * Makerules (elide-bp-thunks): Remove variable.
8891 (elide-routines.oS): Don't use $(elide-bp-thunks).
8892 (elide-routines.os): Likewise.
8893 (elide-routines.o): Likewise.
8894 (elide-routines.op): Likewise.
8895 (elide-routines.og): Likewise.
8896 (objects): Don't use $(bp-thunks).
8897 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8898 include.
8899 (common-generated): Do not add s-proto-bp.d.
8900 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8901 (int): Likewise.
8902 (typ): Likewise.
8903 Do not generate makefile rules for bounded-pointer thunks.
8904 * sysdeps/generic/bp-thunks.h: Remove file.
8905 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8906 * sysdeps/unix/s-proto-bp.S: Likewise.
8907
8cf28c5e
JM
8908 [BZ #15062]
8909 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8910 parts of result separately when argument is not close to line from
8911 -i to i and one part of argument is small.
8912 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8913 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8914 * math/libm-test.inc (cacos_test): Add more tests.
8915 (casin_test): Likewise.
8916 (casinh_test): Likewise.
8917 * sysdeps/i386/fpu/libm-test-ulps: Update.
8918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8919
c4e33b8d
DM
89202013-01-31 David S. Miller <davem@davemloft.net>
8921
8922 * po/de.po: Update from translation team.
8923
3b60b421
MK
89242013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8925
8926 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8927
bb931195
TS
89282013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8929
b5a5da23
TS
8930 * configure.in (_AC_PROG_CC_C89): New definition.
8931 * configure: Regenerate.
8932
bb931195
TS
8933 * configure.in (AC_PROG_CPP): New definition.
8934 * configure: Regenerate.
8935
8c53a12c
JM
89362013-01-23 Joseph Myers <joseph@codesourcery.com>
8937
8938 * debug/tst-backtrace.h: New file.
8939 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8940 (ret): Remove variable.
8941 (x): Likewise.
8942 (FAIL): Remove macro.
8943 (NO_INLINE): Likewise.
8944 (fn1): Use match function instead of strstr.
8945 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8946 (ret): Remove variable.
8947 (x): Likewise.
8948 (FAIL): Remove macro.
8949 (NO_INLINE): Likewise.
8950 (fn): Use match function instead of strstr.
8951 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8952 (ret): Remove variable.
8953 (x): Likewise.
8954 (FAIL): Remove macro.
8955 (NO_INLINE): Likewise.
8956 (handle_signal): Use match function instead of strstr.
8957 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8958 (ret): Remove variable.
8959 (x): Likewise.
8960 (FAIL): Remove macro.
8961 (NO_INLINE): Likewise.
8962 (handle_signal): Use match function instead of strstr.
8963
4858fa2a
RM
89642013-01-23 Roland McGrath <roland@hack.frob.com>
8965
8966 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8967
bae8e7f5
DM
89682013-01-23 David S. Miller <davem@davemloft.net>
8969
8970 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8971 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8972 argument of CAS if possible.
8973 * sysdeps/sparc/sparc64/bits/atomic.h
8974 (__arch_compare_and_exchange_val_32_acq): Likewise.
8975 (__arch_compare_and_exchange_val_64_acq): Likewise.
8976
9cbbc4ae
PT
89772013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8978
8979 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8980 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8981 Include <limits.h>.
67b3f58c 8982 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8983
5655a0b5
AC
89842013-01-23 Adam Conrad <adconrad@0c3.net>
8985
8986 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8987 (LDFLAGS-tst-array5): Likewise.
8988
052aff95
JM
89892013-01-23 Joseph Myers <joseph@codesourcery.com>
8990
8991 [BZ #15036]
8992 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8993 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8994 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8995 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8996
7c1e01aa
DM
89972013-01-21 David S. Miller <davem@davemloft.net>
8998
8999 * sysdeps/sparc/backtrace.c: New file.
9000 * sysdeps/sparc/sparc32/backtrace.h: New file.
9001 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9002 * sysdeps/sparc/sparc64/backtrace.h: New file.
9003 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9004 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9005 -funwind-tables.
9006
ab087e0a
AS
90072013-01-21 Andreas Schwab <schwab@suse.de>
9008
9009 [BZ #15020]
9010 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9011 closed its stdout.
9012
ed689c2f
AS
90132013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9014
9015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9016 "mpa2.h".
9017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9018
31d470ac
JM
90192013-01-18 Joseph Myers <joseph@codesourcery.com>
9020 Mark Mitchell <mark@codesourcery.com>
9021 Tom de Vries <tom@codesourcery.com>
9022 Paul Pluzhnikov <ppluzhnikov@google.com>
9023
9024 * debug/tst-backtrace2.c: New file.
9025 * debug/tst-backtrace3.c: Likewise.
9026 * debug/tst-backtrace4.c: Likewise.
9027 * debug/tst-backtrace5.c: Likewise.
9028 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9029 (CFLAGS-tst-backtrace3.c): Likewise.
9030 (CFLAGS-tst-backtrace4.c): Likewise.
9031 (CFLAGS-tst-backtrace5.c): Likewise.
9032 (LDFLAGS-tst-backtrace2): Likewise.
9033 (LDFLAGS-tst-backtrace3): Likewise.
9034 (LDFLAGS-tst-backtrace4): Likewise.
9035 (LDFLAGS-tst-backtrace5): Likewise.
9036 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9037 tst-backtrace4 and tst-backtrace5.
9038
90567f30 90392013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
9040 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9041
9042 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9043 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9044 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9045 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9047 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9048 "+r" and remove output regs list as redundant. Add explicit inline
9049 asm to specify register of return val to work around compiler codegen
9050 bug. Remove (int) cast on return value. Add return type parameter to
9051 use in macro so that this macro does not truncate return value for
9052 64-bit values.
9053 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9054 pass to INTERNAL_VSYSCALL_NCS.
9055 (INLINE_VSYSCALL): Add 'long int' as return type to
9056 INTERNAL_VSYSCALL_NCS macro invocation.
9057 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9058 INTERNAL_VSYSCALL_NCS macro invocation.
9059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9060
d3b9ea61
SP
90612013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9062
0b57daeb
SP
9063 [BZ #14496]
9064 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9065 Fix application of SIMD FP exception mask.
9066
caa99d06
SP
9067 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9068 mp_no from a power of two.
9069 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9070 __mpexp_twomm1. Use __pow_mp.
9071
d3b9ea61
SP
9072 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9073 multiplication.
9074
1dbaee3c
DM
90752013-01-17 David S. Miller <davem@davemloft.net>
9076
9077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9078
728d7b43
JM
90792013-01-17 Joseph Myers <joseph@codesourcery.com>
9080
9081 [BZ #15023]
9082 * include/complex.h: Condition contents on [!_COMPLEX_H].
9083 (__kernel_casinhf): New prototype.
9084 (__kernel_casinh): Likewise.
9085 (__kernel_casinhl): Likewise.
9086 * math/Makefile (libm_calls): Add k_casinh.
9087 * math/k_casinh.c: New file.
9088 * math/k_casinhf.c: Likewise.
9089 * math/k_casinhl.c: Likewise.
9090 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9091 finite nonzero arguments.
9092 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9093 finite nonzero arguments.
9094 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9095 finite nonzero arguments.
9096 * math/s_casinh.c: Do not include <float.h>.
9097 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9098 * math/s_casinhf.c: Do not include <float.h>.
9099 (__casinhf): Move code for finite nonzero arguments to
9100 k_casinhf.c.
9101 * math/s_casinhl.c: Do not include <float.h>.
9102 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9103 redefine.
9104 (__casinhl): Move code for finite nonzero arguments to
9105 k_casinhl.c.
9106 * math/libm-test.inc (cacos_test): Add more tests.
9107 * sysdeps/i386/fpu/libm-test-ulps: Update.
9108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9109
2a26ef3a
PT
91102013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9111
9112 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9113 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9114 [!HAVE_MREMAP]: Remove [defined linux] case.
9115 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9116
a897655d
SP
91172013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9118
9119 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9120
881ebe89 91212013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
9122
9123 * elf/elf.h (R_386_SIZE32): New relocation.
9124 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9125 R_386_SIZE32.
9126 (elf_machine_rela): Likewise.
9127 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9128 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9129
59981e9b
JM
91302013-01-17 Joseph Myers <joseph@codesourcery.com>
9131
9132 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9133 (FP_FAST_FMA): Do not define.
9134 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9135 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9136 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9137 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9138 !_SOFT_FLOAT]: Likewise.
9139 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9140 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9141 value.
9142 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9143 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9144 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9145 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9146 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9147 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9148 file.
9149
cfa8054f
AS
91502013-01-16 Andreas Schwab <schwab@suse.de>
9151
9152 [BZ #14327]
9153 * include/stdlib.h (__mktemp): Add declaration.
9154 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9155 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9156
dd930cc5
SP
91572013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9158
881ebe89
SP
9159 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9160 definitions.
9161 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9162 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9163 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9164 definitions here.
9165 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9166 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9167 definitions.
9168 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9169 and ONE.
9170 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9171 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9172 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9173 definitions.
9174 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9175 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9176 definitions.
9177 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9178
dd930cc5
SP
9179 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9180
c19a9f89
DM
91812013-01-15 David S. Miller <davem@davemloft.net>
9182
1aa61767
DM
9183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9184 trunc{,f} to libm-sysdep_routes.
9185 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9187 file.
9188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9190 file.
9191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9192 file.
9193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9195 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9196 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9197 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9198 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9199 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9200 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9201
c42d5e98
DM
9202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9203 nearbyint{,f} to libm-sysdep_routes.
9204 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9206 New file.
9207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9208 file.
9209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9210 New file.
9211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9212 file.
9213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9215 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9216 file.
9217 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9218 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9219 file.
9220 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9221 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9222 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9223
c19a9f89
DM
9224 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9225 libc_feholdexcept and libc_fesetenv.
9226
357679d2
MF
92272013-01-15 Mike Frysinger <vapier@gentoo.org>
9228
9229 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9230
65a82e3d
DM
92312013-01-14 David S. Miller <davem@davemloft.net>
9232
8b954ab9
DM
9233 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9234 (SPARC_ASM_VIS2_IFUNC): Likewise.
9235 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9237 use of 'siam' instruction.
9238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9239 Likewise.
9240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9241 Likewise.
9242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9243 Likewise.
9244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9249 file.
9250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9251 file.
9252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9253 file.
9254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9255 file.
9256 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9258 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9261 new VIS2 routines.
9262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9265 Likewise.
9266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9267 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9268 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9271 routines to libm-sysdep_routines.
9272 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9273
65a82e3d
DM
9274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9275 fdim/fdimf to libm-sysdep_routines.
9276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9277 file.
9278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9280 file.
9281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9284 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9285 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9286 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9287 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9288
e34ab705
SP
92892013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9290
2a91b573
SP
9291 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9292 to optimize copies.
9293
1066a534
SP
9294 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9295 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9297
e34ab705
SP
9298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9299 local variable MPTWO.
9300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9301 Likewise.
9302
aba5e596
MF
93032013-01-13 Mike Frysinger <vapier@gentoo.org>
9304
9305 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9306 GLOB_NOESCAPE.
9307
e557e9e5
MF
93082013-01-13 Mike Frysinger <vapier@gentoo.org>
9309
9310 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9311
0428cec9
MF
93122013-01-13 Mike Frysinger <vapier@gentoo.org>
9313
9314 * manual/pattern.texi (glob_t): Document gl_flags.
9315 (glob64_t): Likewise.
9316
8794a964
DM
93172013-01-11 David S. Miller <davem@davemloft.net>
9318
66438c3f
RM
9319 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9320 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9321 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9322 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9323 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9324 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9325 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9326 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9327 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9328 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9329 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9330 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9331 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9332
4ae4244d
DM
9333 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9334 sparc V9 rather than using V8 code.
9335 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9336 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9337
8794a964
DM
9338 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9339 Move to...
9340 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9341 Here.
9342
6270516e
RM
93432013-01-11 Roland McGrath <roland@hack.frob.com>
9344
9345 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9346 not in the main loop.
9347 * configure: Regenerated.
9348
6a57d931
JM
93492013-01-11 Joseph Myers <joseph@codesourcery.com>
9350
9351 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9352 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9353 to just #else.
9354 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9355 [!__GLIBC_HAVE_LONG_LONG] case.
9356 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9357 condition to just #else.
9358 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9359 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9360 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9361 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9362 unconditional.
9363 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9364 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9365 #elif condition to just #else.
9366 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9367 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9368 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9369 #elif condition to just #else.
9370
0e8529e9
SE
93712013-01-11 Steve Ellcey <sellcey@mips.com>
9372
9373 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9374 (EF_MIPS_ARCH_64): Fix value.
9375 (EF_MIPS_ARCH_32R2): New.
9376 (EF_MIPS_ARCH_64R2): New.
9377
740b3dbe
L
93782013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9379
9380 * Makeconfig (+link-pie-before-libc): New.
9381 (+link-pie-after-libc): Likewise.
9382 (+link-pie-tests): Likewise.
9383 (+link-pie): Rewritten.
9384 (link-before-libc): Remove $(config-LDFLAGS).
9385 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9386 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9387 (config-LDFLAGS): Renamed to ...
9388 (rtld-LDFLAGS): This.
9389 (rtld-tests-LDFLAGS): New macro.
9390 (link-libc-rpath-link): Likewise.
9391 (link-libc-tests-rpath-link): Likewise.
9392 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9393 (link-libc): Prepand $(link-libc-rpath-link).
9394 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9395 (test-program-prefix): New macro.
9396 (test-via-rtld-prefix): Likewise.
9397 (test-program-cmd): Likewise.
9398 (host-test-program-cmd): Likewise.
9399 * Makefile ($(common-objpfx)testrun.sh): Replace
9400 $(run-program-prefix) with $(test-program-prefix).
9401 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9402 $(rtld-LDFLAGS).
9403 ($(common-objpfx)shlib.lds): Likewise.
9404 (build-module-helper): Likewise.
9405 ($(common-objpfx)format.lds): Likewise.
9406 * Rules (binaries-pie-tests): New.
9407 (binaries-pie-notests): Likewise.
9408 (binaries-pie): Rewritten.
9409 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9410 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9411 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9412 (make-test-out): Replace $(host-built-program-cmd) with
9413 $(host-test-program-cmd).
9414 * config.make.in (build-hardcoded-path-in-tests): New variable.
9415 * configure.in (--enable-hardcoded-path-in-tests): New configure
9416 option.
9417 (hardcoded_path_in_tests): New AC_SUBST.
9418 * configure: Regenerated.
9419 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9420 $(built-program-cmd) with $(test-program-cmd).
9421 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9422 (test_program_cmd): This.
9423 * elf/Makefile ($(objpfx)order.out): Run test with
9424 $(test-program-prefix).
9425 ($(objpfx)order2.out): Likewise.
9426 ($(objpfx)tst-initorder.out): Likewise.
9427 ($(objpfx)tst-initorder2.out): Likewise.
9428 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9429 $(test-program-cmd).
9430 ($(objpfx)tst-array1-static.out): Likewise.
9431 ($(objpfx)tst-array2.out): Likewise.
9432 ($(objpfx)tst-array3.out): Likewise.
9433 ($(objpfx)tst-array4.out): Likewise.
9434 ($(objpfx)tst-array5.out): Likewise.
9435 ($(objpfx)tst-array5-static.out): Likewise.
9436 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9437 $(test-program-cmd).
9438 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9439 $(run-program-prefix) with $(test-program-prefix).
9440 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9441 (test_program_prefix): This.
9442 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9443 $(run-program-prefix) with $(test-program-prefix).
9444 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9445 (test_program_prefix): This.
9446 * iconvdata/tst-tables.sh: Likewise.
9447 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9448 $(run-program-prefix) with $(test-program-prefix).
9449 ($(objpfx)tst-translit.out): Likewise.
9450 ($(objpfx)tst-gettext2.out): Likewise.
9451 ($(objpfx)tst-gettext4.out): Likewise.
9452 ($(objpfx)tst-gettext6.out): Likewise.
9453 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9454 (test_program_prefix): This.
9455 * intl/tst-gettext2.sh: Likewise.
9456 * intl/tst-gettext4.sh Likewise.
9457 * intl/tst-gettext6.sh: Likewise.
9458 * intl/tst-translit.sh: Likewise.
9459 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9460 with $(test-program-cmd).
9461 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9462 $(run-program-prefix) with $(test-program-prefix).
9463 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9464 (test_program_prefix): This.
9465 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9466 $(run-program-prefix) with $(test-program-prefix).
9467 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9468 (test_program_prefix): This.
9469 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9470 * posix/Makefile ($(objpfx)globtest.out): Replace
9471 $(run-via-rtld-prefix) and $(test-wrapper) with
9472 $(test-program-prefix) and $(test-via-rtld-prefix).
9473 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9474 $(test-program-prefix).
9475 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9476 $(host-test-program-cmd).
9477 (tst-spawn-ARGS): Likewise.
9478 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9479 $(test-program-prefix).
9480 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9481 (test_via_rtld_prefix): This.
9482 (test_wrapper): Renamed to ...
9483 (test_program_prefix): This.
9484 (run_program_prefix): Replaced by test_program_prefix.
9485 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9486 (test_program_prefix): This.
9487 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9488 with $(host-test-program-cmd).
9489 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9490 $(run-program-prefix) with $(test-program-prefix).
9491 ($(objpfx)tst-printf.out): Likewise.
9492 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9493 $(test-program-cmd).
9494 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9495 (test_program_prefix): This.
9496 * stdio-common/tst-unbputc.sh: Likewise.
9497 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9498 $(run-program-prefix) with $(test-program-prefix).
9499 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9500 (test_program_prefix): This.
9501 * string/Makefile ($(objpfx)tst-svc.out): Replace
9502 $(built-program-cmd) with $(test-program-cmd).
9503
c6fe55cf
AJ
95042013-01-11 Andreas Jaeger <aj@suse.de>
9505
9506 [BZ #15003]
9507 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9508 value. Sync with Linux 3.7.
9509
9e6919c8
DM
95102013-01-10 David S. Miller <davem@davemloft.net>
9511
9512 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9513 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9514 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9515
1c9f1a02
RM
95162013-01-10 Roland McGrath <roland@hack.frob.com>
9517
9518 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9519 never set.
9520 * configure: Regenerated.
9521
b9de2dde
DM
95222013-01-10 David S. Miller <davem@davemloft.net>
9523
9524 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9525 sparc V9 rather than using V8 code.
9526 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9527 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9528
e7f68ef4
RM
95292013-01-10 Roland McGrath <roland@hack.frob.com>
9530
9531 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9532 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9533 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9534 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9535 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9536 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9537 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9538 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9539 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9540 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9541 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9542 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9543 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9544 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9545 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9546 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9547 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9548 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9549 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9550 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9551 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9552 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9553 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9554 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9555 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9556 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9557 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9558
5a47cc9c
DM
95592013-01-10 David S. Miller <davem@davemloft.net>
9560
9561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9562
4cf8f209
L
95632013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9564
9565 * posix/Makefile (tests-static): New variable.
9566 (tests): Add $(tests-static).
9567 (tst-exec-static-ARGS): New variable.
9568 (tst-spawn-static-ARGS): Likewise.
9569 * posix/tst-exec-static.c: New file.
9570 * posix/tst-spawn-static.c: Likewise.
9571 * posix/tst-exec.c: Support run directly.
9572 * posix/tst-spawn.c: Likewise.
9573
fed0faa1
JM
95742013-01-10 Joseph Myers <joseph@codesourcery.com>
9575
828beb13
JM
9576 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9577 long.
9578 * math/bits/mathcalls.h (llrint): Likewise.
9579 (llround): Likewise.
9580 * stdlib/stdlib.h (struct drand48_data): Likewise.
9581 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9582 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9583 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9584 Likewise.
9585 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9586 Likewise.
9587 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9588 (elf_greg_t): Likewise.
9589 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9590 (__jmp_buf): Likewise.
9591 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9592 definitions.
9593 (llrint): Likewise, for all definitions.
9594 (llrintl): Likewise.
9595
fed0faa1
JM
9596 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9597 Remove [__GNUC__] condition.
9598 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9599 condition to just [__USE_ISOC99].
9600 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9601
1a20cb20
L
96022013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9603
9604 [BZ #14200]
9605 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9606 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9607 defined.
9608 (_POSIX_V6_ILP32_OFF32): Likewise.
9609 (_XBS5_ILP32_OFF32): Likewise.
9610 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9611 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9612
751b85f7
SP
96132013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9614
7490eb81
SP
9615 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9616
751b85f7
SP
9617 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9618 doubles __mpexp_twomm1. Adjust usage.
9619 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9620 Remove.
9621
988197f0
AS
96222013-01-10 Andreas Schwab <schwab@suse.de>
9623
9624 [BZ #14964]
9625 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9626 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9627
e83d7298
DM
96282013-01-09 David S. Miller <davem@davemloft.net>
9629
034ed64b 9630 [BZ #15003]
e83d7298
DM
9631 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9632 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9633 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9634 TCP_FASTOPEN): Define.
9635 (tcp_repair_opt): New structure.
9636 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9637 enum values.
9638 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9639 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9640 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9641 (tcp_cookie_transactions): New structure.
9642
d5e0b9bd
AB
96432013-01-09 Anton Blanchard <anton@samba.org>
9644
9645 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9646 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9647 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9648 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9649
0c07e3ea
JM
96502013-01-09 Joseph Myers <joseph@codesourcery.com>
9651
9652 * include/features.h (__USE_ANSI): Remove.
9653
232f7002
RM
96542013-01-09 Roland McGrath <roland@hack.frob.com>
9655
ad98e30c
RM
9656 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9657
232f7002
RM
9658 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9659
950c99ca
SP
96602013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9661
b5792741
SP
9662 * sysdeps/s390/fpu/libm-test-ulps: Update.
9663
47cf2278
SP
9664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9665
950c99ca
SP
9666 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9667 (__acr): Likewise.
9668 (__cpy): Likewise.
9669 (norm): Likewise.
9670 (denorm): Likewise.
9671 (__mp_dbl): Likewise.
9672 (__dbl_mp): Likewise.
9673 (add_magnitudes): Likewise.
9674 (sub_magnitudes): Likewise.
9675 (__add): Likewise.
9676 (__sub): Likewise.
9677 (__mul): Likewise.
9678 (__inv): Likewise.
9679 (__dvd): Likewise.
9680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9681 (__acr): Likewise.
9682 (__cpy): Likewise.
9683 (norm): Likewise.
9684 (denorm): Likewise.
9685 (__mp_dbl): Likewise.
9686 (__dbl_mp): Likewise.
9687 (add_magnitudes): Likewise.
9688 (sub_magnitudes): Likewise.
9689 (__add): Likewise.
9690 (__sub): Likewise.
9691 (__mul): Likewise.
9692 (__inv): Likewise.
9693 (__dvd): Likewise.
9694 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9695 (__acr): Likewise.
9696 (__cpy): Likewise.
9697 (norm): Likewise.
9698 (denorm): Likewise.
9699 (__mp_dbl): Likewise.
9700 (__dbl_mp): Likewise.
9701 (add_magnitudes): Likewise.
9702 (sub_magnitudes): Likewise.
9703 (__add): Likewise.
9704 (__sub): Likewise.
9705 (__mul): Likewise.
9706 (__inv): Likewise.
9707 (__dvd): Likewise.
9708
eede9df9
JM
97092013-01-08 Joseph Myers <joseph@codesourcery.com>
9710
9711 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9712 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9713 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9714 2 && __USE_EXTERN_INLINES]: Likewise.
9715
c40ea3d9
AJ
97162013-01-08 Andreas Jaeger <aj@suse.de>
9717
9718 [BZ# 14985]
9719 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9720 Remove.
9721 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9722 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9723
2ccdea26
AB
97242013-01-07 Anton Blanchard <anton@samba.org>
9725
9726 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9727 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9728 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9729 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9730 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9731 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9732 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9733 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9735 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9736 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9737 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9738 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9739 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9740 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9741 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9742 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9743 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9744 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9745 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9746 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9747 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9748 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9749 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9750 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9751 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9752 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9753 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9754 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9755 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9756 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9758 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9759 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9760 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9761 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9762 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9763 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9764 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9765 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9766 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9767 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9768 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9769
a9708fed
JM
97702013-01-07 Joseph Myers <joseph@codesourcery.com>
9771
375607b9
JM
9772 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9773 (__MALLOC_PMT): Likewise.
9774 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9775 [__GNUC__], only on [_LIBC].
9776 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9777 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9778 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9779 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9780 forward declaration.
9781 (realloc_hook_ini): Likewise.
9782 (memalign_hook_ini): Likewise.
9783 (__libc_memalign): Do not use __MALLOC_PMT in variable
9784 declaration.
9785 (__libc_valloc): Likewise.
9786 (__libc_pvalloc): Likewise.
9787 (__libc_calloc): Likewise.
9788 (__posix_memalign): Likewise.
9789
a9708fed
JM
9790 [BZ #14996]
9791 * math/s_casinh.c: Include <float.h>.
9792 (__casinh): Do not do computation with squaring and square root
9793 for large arguments.
9794 * math/s_casinhf.c: Include <float.h>.
9795 (__casinhf): Do not do computation with squaring and square root
9796 for large arguments.
9797 * math/s_casinhl.c: Include <float.h>.
9798 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9799 (__casinhl): Do not do computation with squaring and square root
9800 for large arguments.
9801 * math/libm-test.inc (casin_test): Add more tests.
9802 (casinh_test): Likewise.
9803 * sysdeps/i386/fpu/libm-test-ulps: Update.
9804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9805
afec409a
L
98062013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9807
9808 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9809 (__x86_64_raw_data_cache_size): Likewise.
9810 (__x86_64_data_cache_size_half): Likewise.
9811 (__x86_64_raw_data_cache_size_half): Likewise.
9812 (__x86_64_shared_cache_size): Likewise.
9813 (__x86_64_raw_shared_cache_size): Likewise.
9814 (__x86_64_shared_cache_size_half): Likewise.
9815 (__x86_64_raw_shared_cache_size_half): Likewise.
9816 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9817 to ...
9818 (__x86_data_cache_size): This.
9819 (__x86_64_raw_data_cache_size): Renamed to ...
9820 (__x86_raw_data_cache_size): This.
9821 (__x86_64_data_cache_size_half): Renamed to ...
9822 (__x86_data_cache_size_half): This.
9823 (__x86_64_raw_data_cache_size_half): Renamed to ...
9824 (__x86_raw_data_cache_size_half): This.
9825 (__x86_64_shared_cache_size): Renamed to ...
9826 (__x86_shared_cache_size): This.
9827 (__x86_64_raw_shared_cache_size): Renamed to ...
9828 (__x86_raw_shared_cache_size): This.
9829 (__x86_64_shared_cache_size_half): Renamed to ...
9830 (__x86_shared_cache_size_half): This.
9831 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9832 (__x86_raw_shared_cache_size_half): This.
9833 * sysdeps/x86_64/memcpy.S: Updated.
9834 * sysdeps/x86_64/memset.S: Likewise.
9835 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9836 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9837 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9838
0b3986d0
DM
98392013-01-04 David S. Miller <davem@davemloft.net>
9840
9841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9842
e47686e9
AS
98432013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9844
d643bac1
AS
9845 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9846 1 to avoid redefinition warning.
9847 (__USE_GNU): Don't define.
9848 (init_signaling_nan): Protoize.
9849
e47686e9
AS
9850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9851
b18decba
SP
98522013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9853
fffb407f
SP
9854 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9856 (__cpymn): Likewise.
9857 (norm): Remove commented code.
9858 (denorm): Likewise.
9859 (__mp_dbl): Likewise.
9860 (__inv): Likewise.
9861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9862 (__cpymn): Likewise.
9863 (norm): Remove commented code.
9864 (denorm): Likewise.
9865 (__mp_dbl): Likewise.
9866 (__inv): Likewise.
9867
b18decba
SP
9868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9869 mp_no value for 1.0 and 2.0.
9870 (norm): Use RADIXI instead of radixi.d.
9871 (denorm): Likewise.
9872 (__mul): Use 0.0 instead of zero.d.
9873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9874 mp_no value for 1.0 and 2.0.
9875 (norm): Use RADIXI instead of radixi.d.
9876 (denorm): Likewise.
9877 (__mul): Use 0.0 instead of zero.d.
9878
cdc1c96f
JM
98792013-01-04 Joseph Myers <joseph@codesourcery.com>
9880
9881 [BZ #14994]
9882 * math/s_casinh.c (__casinh): Reduce finite argument to first
9883 quadrant then set signs of results at the end.
9884 * math/s_casinhf.c (__casinhf): Likewise.
9885 * math/s_casinhl.c (__casinhl): Likewise.
9886 * math/libm-test.inc (casin_test): Add more tests.
9887 (casinh_test): Likewise.
9888 * sysdeps/i386/fpu/libm-test-ulps: Update.
9889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9890
302913e1
SP
98912013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9892
6420d207
SP
9893 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9894
a9e48ab4
SP
9895 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9896
b7837264
SP
9897 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9898 declarations.
9899 (denorm): Likewise.
9900 (__mp_dbl): Likewise.
9901 (__inv): Likewise.
9902
f8af25d2
SP
9903 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9904 and adjust the header comment.
9905
302913e1
SP
9906 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9907 variable name from declaration.
9908
5d7dd1ca
L
99092013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9910
9911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9912 Initialize COMMON_CPUID_INDEX_7 element.
9913 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9914 (CPUID_RTM): Likewise.
9915 (HAS_RTM): Likewise.
9916 (COMMON_CPUID_INDEX_7): New enum.
9917
2f5f40f4
AS
99182013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9919
9920 [BZ #14981]
9921 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9922 size is zero, record memory as freed.
9923
4056f4a0
AJ
99242013-01-03 Andreas Jaeger <aj@suse.de>
9925
9926 * po/ia.po: Add new Interlingua translation.
9927
ab15736f 99282012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9929
9930 * locale/programs/localedef.c: Fix description of '--posix' flag.
9931
568035b7
JM
99322013-01-02 Joseph Myers <joseph@codesourcery.com>
9933
e6898b8d
JM
9934 * NEWS: Update dates in second copyright notice.
9935 * README: Update copyright dates in example.
9936 * manual/libc.texinfo: Update copyright dates.
9937 * scripts/test-installation.pl: Update copyright date in --version
9938 output.
9939
0e2f9562
JM
9940 * hurd/ctty-input.c: Fix copyright notice formatting.
9941 * hurd/ctty-output.c: Likewise.
9942 * hurd/dtable.c: Likewise.
9943 * hurd/hurd-raise.c: Likewise.
9944 * hurd/hurdprio.c: Likewise.
9945 * hurd/msgportdemux.c: Likewise.
9946 * misc/sys/file.h: Likewise.
9947 * misc/sys/ioctl.h: Likewise.
9948 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9949 * sysdeps/mach/hurd/chdir.c: Likewise.
9950 * sysdeps/mach/hurd/fchdir.c: Likewise.
9951 * sysdeps/mach/hurd/rename.c: Likewise.
9952 * sysdeps/mach/hurd/rmdir.c: Likewise.
9953 * sysdeps/mach/hurd/seekdir.c: Likewise.
9954 * sysdeps/mach/hurd/setsid.c: Likewise.
9955 * sysdeps/posix/wait3.c: Likewise.
9956
568035b7
JM
9957 * All files with FSF copyright notices: Update copyright dates
9958 using scripts/update-copyrights.
9959 * intl/plural.c: Regenerated.
9960 * locale/programs/charmap-kw.h: Likewise.
9961 * locale/programs/locfile-kw.h: Likewise.
9962
da08f647
SP
99632013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9964
0f5477af
SP
9965 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9966 four values.
9967
44e0d4c2
SP
9968 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9969 calculation loop and add branch prediction.
9970
4d55b4e5
SP
9971 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9972 check access beyond bounds of m1np.
9973
da08f647
SP
9974 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9975 MPTWO.
9976 (__inv): Remove local variable MPTWO to use the global
9977 constant.
9978 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9979 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9980 variable MPTWO.
9981 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9982 MP3HALFS static const.
9983
8e051029
DM
99842013-01-01 David S. Miller <davem@davemloft.net>
9985
9986 * po/ca.po: Update from translation team.
9987
f4cf5f2d
JM
99882013-01-01 Joseph Myers <joseph@codesourcery.com>
9989
9990 * scripts/update-copyrights: New file.
9991 * Makeconfig: Reformat copyright notice.
9992 * ctype/ctype.h: Likewise.
9993 * debug/swprintf_chk.c: Likewise.
9994 * elf/dl-cache.c: Likewise.
9995 * elf/dl-debug.c: Likewise.
9996 * elf/dl-object.c: Likewise.
9997 * grp/initgroups.c: Likewise.
9998 * hurd/Makefile: Likewise.
9999 * hurd/hurd/signal.h: Likewise.
10000 * hurd/hurdfault.c: Likewise.
10001 * hurd/hurdioctl.c: Likewise.
10002 * hurd/hurdlookup.c: Likewise.
10003 * hurd/intr-msg.c: Likewise.
10004 * iconv/gconv_open.c: Likewise.
10005 * libio/swprintf.c: Likewise.
10006 * locale/lc-ctype.c: Likewise.
10007 * locale/nl_langinfo.c: Likewise.
10008 * mach/Machrules: Likewise.
10009 * mach/Makefile: Likewise.
10010 * malloc/obstack.h: Likewise.
10011 * manual/Makefile: Likewise.
10012 * manual/tsort.awk: Likewise.
10013 * misc/bits/stab.def: Likewise.
10014 * nis/nis_print_group_entry.c: Likewise.
10015 * nis/nis_table.c: Likewise.
10016 * nis/nss_compat/compat-pwd.c: Likewise.
10017 * nis/nss_compat/compat-spwd.c: Likewise.
10018 * po/Makefile: Likewise.
10019 * posix/fnmatch.c: Likewise.
10020 * posix/regex.h: Likewise.
10021 * resolv/Makefile: Likewise.
10022 * resolv/nss_dns/dns-network.c: Likewise.
10023 * resolv/res_hconf.c: Likewise.
10024 * scripts/gen-sorted.awk: Likewise.
10025 * soft-fp/soft-fp.h: Likewise.
10026 * stdio-common/printf.h: Likewise.
10027 * stdlib/monetary.h: Likewise.
10028 * stdlib/random.c: Likewise.
10029 * stdlib/random_r.c: Likewise.
10030 * sysdeps/generic/Makefile: Likewise.
10031 * sysdeps/gnu/Makefile: Likewise.
10032 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10033 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10034 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10035 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10036 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10037 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10038 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10039 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10040 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10041 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10042 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10043 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10044 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10045 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10046 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10047 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10048 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10049 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10050 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10051 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10052 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10053 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10054 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10055 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10056 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10057 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10058 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10059 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10060 * sysdeps/mach/hurd/errnos.awk: Likewise.
10061 * sysdeps/mach/hurd/fork.c: Likewise.
10062 * sysdeps/mach/hurd/getcwd.c: Likewise.
10063 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10064 * sysdeps/mach/hurd/mmap.c: Likewise.
10065 * sysdeps/mach/hurd/utimes.c: Likewise.
10066 * sysdeps/mach/hurd/xmknod.c: Likewise.
10067 * sysdeps/posix/profil.c: Likewise.
10068 * sysdeps/posix/readdir_r.c: Likewise.
10069 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10070 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10071 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10072 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10074 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10075 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10076 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10077 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10078 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10079 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10080 * sysdeps/pthread/lio_listio.c: Likewise.
10081 * sysdeps/sparc/dl-procinfo.h: Likewise.
10082 * sysdeps/unix/i386/sysdep.S: Likewise.
10083 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10084 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10085 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10086 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10088 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10089 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10090 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10091 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10092 * sysdeps/wordsize-32/divdi3.c: Likewise.
10093 * time/sys/time.h: Likewise.
10094 * wcsmbs/Makefile: Likewise.
10095
0549fbba
DM
100962013-01-01 David S. Miller <davem@davemloft.net>
10097
a141f1a7
DM
10098 * po/fr.po: Update from translation team.
10099
0549fbba
DM
10100 * catgets/gencat.c: Update copyright year.
10101 * csu/version.c: Likewise.
10102 * debug/catchsegv.sh: Likewise.
10103 * debug/pcprofiledump.c: Likewise.
10104 * debug/xtrace.sh: Likewise.
10105 * elf/ldconfig.c: Likewise.
10106 * elf/ldd.bash.in: Likewise.
10107 * elf/pldd.c: Likewise.
10108 * elf/sotruss.ksh: Likewise.
10109 * elf/sprof.c: Likewise.
10110 * iconv/iconv_prog.c: Likewise.
10111 * iconv/iconvconfig.c: Likewise.
10112 * locale/programs/locale.c: Likewise.
10113 * locale/programs/localedef.c: Likewise.
10114 * login/programs/pt_chown.c: Likewise.
10115 * malloc/memusage.sh: Likewise.
10116 * malloc/memusagestat.c: Likewise.
10117 * malloc/mtrace.pl: Likewise.
10118 * nscd/nscd.c: Likewise.
10119 * nss/getent.c: Likewise.
10120 * nss/makedb.c: Likewise.
10121 * posix/getconf.c: Likewise.
10122
18ea052c
SP
101232012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10124
10125 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10126 numbers.
10127
9c89fca6
MF
101282012-12-30 Mike Frysinger <vapier@gentoo.org>
10129
10130 * math/bits/mathcalls.h (modf): Use __nonnull.
10131
085ec079
SP
101322012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10133
10134 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10135 (split): Use macro CN instead of the bare value.
10136 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10137 could be used.
10138 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10139 instead of the bare value.
10140 (power1): Likewise.
10141
6d9f97e1
SP
101422012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10143
d63f73be
SP
10144 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10145 __ATAN_TWOM.
10146 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10147
6d9f97e1
SP
10148 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10149 their values.
10150 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10151 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10152 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10153 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10154
4c4febf5
AJ
101552012-12-28 Andreas Jaeger <aj@suse.de>
10156
af5843ef
AJ
10157 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10158 values are from Linux 3.7.
10159
4c4febf5
AJ
10160 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10161 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10162
99136f82
SP
101632012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10164
2f216c3c 10165 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10166 TRUE case.
10167
99136f82
SP
10168 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10169 (norm): Likewise.
10170 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10171 variables with preprocessor constants.
10172 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10173 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10174 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10175
7fffbdff
BH
101762012-12-27 Bruno Haible <bruno@clisp.org>
10177
10178 [BZ #14317]
10179 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10180 only if needed.
10181
b76eb5f0
SP
101822012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10183
31a7fe5c
SP
10184 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10185 and use variable directly.
10186 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10187
b76eb5f0
SP
10188 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10189 MPONE.
10190 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10191 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10192 variable MPONE.
10193 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10194 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10195 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10196 include directive. Remove local variable MPONE.
10197 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10198 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10199 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10200
2c8bfe7d
DM
102012012-12-25 David S. Miller <davem@davemloft.net>
10202
10203 * version.h (RELEASE): Set to "development".
10204 (VERSION): Set to "2.17.90".
10205 * NEWS: Add 2.18 section.
10206
147d03b0
DM
102072012-12-21 David S. Miller <davem@davemloft.net>
10208
10209 * po/hr.po: Update from translation team.
10210
a8ebb2b9
AK
102112012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10212
10213 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10214
95b4f1b6
SE
102152012-12-19 Steve Ellcey <sellcey@mips.com>
10216
b2d94007 10217 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10218
cedb2a90
MS
102192012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10220
10221 * manual/contrib.texi (Contributors): Spelling correction.
10222
bbf527d6
DM
102232012-12-15 David S. Miller <davem@davemloft.net>
10224
10225 * po/ru.po: Update from translation team.
10226
bc38c906
DM
102272012-12-13 David S. Miller <davem@davemloft.net>
10228
85429b1a
DM
10229 * NEWS: Mention IFUNC testsuite enhancements.
10230
d283e353
DM
10231 * po/pl.po: Update from translation team.
10232 * po/bg.po: Likewise.
10233
bc38c906
DM
10234 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10235 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10236
a181b0d7
DM
102372012-12-11 David S. Miller <davem@davemloft.net>
10238
4641d57e
DM
10239 * po/sv.po: Update from translation team.
10240
f7bc6495
DM
10241 * po/vi.po: Update from translation team.
10242
6fc9048f
DM
10243 * po/cs.po: Update from translation team.
10244
a181b0d7
DM
10245 * po/de.po: Update from translation team.
10246 * po/eo.po: Likewise.
10247 * po/nl.po: Likewise.
10248
f70bfe80
SP
102492012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10250
3c8b4190
SP
10251 [BZ #14246]
10252 * manual/argp.texi (Argp Helper Functions): Move node to follow
10253 Argp Parsing State.
10254
f70bfe80
SP
10255 [BZ #14872]
10256 * manual/conf.texi (Limits on File System Capacity): Mention if
10257 terminating null is included in the max size.
10258
188f0adf
AJ
102592012-12-10 Andreas Jaeger <aj@suse.de>
10260
10261 * po/cs.po: Update from translation team.
10262
56e7d3ad
SP
102632012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10264
10265 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10266 void pointer and cast to uintptr_t.
10267 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10268 path.
10269 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10270 * sysdeps/s390/s390-64/memset.S: Likewise.
10271
76f2d2ea 102722012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10273
10274 [BZ #14833]
10275 * menual/message.texi (Message Translation): Fix typos.
10276 (Helper programs for gettext): Likewise.
10277
67cbf9a2
AS
102782012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10279
10280 [BZ #14898]
10281 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10282 Change to -1.
10283
682d0e9a
DM
102842012-12-07 David S. Miller <davem@davemloft.net>
10285
10286 * po/libc.pot: Update.
10287
573cd484
RH
102882012-12-07 Richard Henderson <rth@redhat.com>
10289
7e9da188 10290 [BZ #10114]
573cd484
RH
10291 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10292 normal/normal case to before the switch.
10293 (_FP_DIV): Likewise.
10294
e933a943
MF
102952012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10296 Mike Frysinger <vapier@gentoo.org>
10297
10298 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10299 check for __NR_fadvise64_64.
10300
82123268
CM
103012012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10302
10303 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10304 0, not just to plain "0" as a statement.
10305 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10306 with cw.
10307
d9814526
JM
103082012-12-06 Joseph Myers <joseph@codesourcery.com>
10309
10310 * NEWS: Use sourceware.org in Bugzilla URL.
10311
7728c574
SP
103122012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10313
f16946dd
SP
10314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10315 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10316
5704bbcb
SP
10317 * stdio-common/tst-put-error.c (do_test): Add newline to the
10318 padded test to ensure flush.
10319
17aa0516
JL
103202012-12-05 Jeff Law <law@redhat.com>
10321
10322 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10323
363313b5
JM
103242012-12-05 Joseph Myers <joseph@codesourcery.com>
10325
effbd42a
JM
10326 * README: Don't refer to ports add-on as distributed separately.
10327 Mention AArch64 in list of systems supported in the ports add-on.
10328
87600365
JM
10329 * LICENSES: Add more non-FSF copyright and license notices.
10330
a0d7066a
JM
10331 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10332 ((unused)).
10333
66ca5a5b
JM
10334 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10335
363313b5
JM
10336 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10337 10000 as width of padded output.
10338
b37984ad
JM
103392012-12-04 Joseph Myers <joseph@codesourcery.com>
10340
9003570a
JM
10341 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10342
b37984ad
JM
10343 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10344 variable LX with __attribute__ ((unused)).
10345 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10346 Likewise.
10347 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10348 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10349 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10350 with __attribute__ ((unused)).
10351
c8df52ec
DM
103522012-12-04 David S. Miller <davem@abraco.davemloft.net>
10353
10354 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10355
b3b099af
JM
103562012-12-04 Joseph Myers <joseph@codesourcery.com>
10357
c33aa6e3
JM
10358 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10359 (CFLAGS-nldbl-acos.c): New variable.
10360 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10361 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10362 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10363 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10364 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10365 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10366 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10367 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10368 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10369 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10370 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10371 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10372 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10373 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10374 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10375 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10376 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10377 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10378 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10379 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10380 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10381 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10382 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10383 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10384 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10385 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10386 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10387 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10388 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10389 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10390 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10391 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10392 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10393 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10394 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10395 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10396 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10397 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10398 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10399 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10400 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10401 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10402 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10403 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10404 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10405 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10406 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10407 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10408 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10409 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10410 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10411 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10412 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10413 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10414 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10415 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10416 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10417 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10418 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10419 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10420 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10421 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10422 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10423 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10424 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10425 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10426 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10427 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10428 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10429 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10430 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10431 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10432 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10433 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10434 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10435 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10436 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10437 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10438 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10439 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10440 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10441 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10442 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10443 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10444 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10445 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10446 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10447 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10448 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10449 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10450 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10451 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10452 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10453 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10454 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10455 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10456 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10457
20f0018d
JM
10458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10459 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10460
b3b099af
JM
10461 [BZ #14914]
10462 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10463 whole low double instead of just low 47 bits when splitting values
10464 into two parts.
10465
029264d1
AM
104662012-12-03 Allan McRae <allan@archlinux.org>
10467
10468 * manual/stdio.texi (Predefined Printf Handlers): Remove
10469 @hsep and @vsep usage.
10470
c9d6789e
MF
104712012-12-03 Mike Frysinger <vapier@gentoo.org>
10472
10473 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10474 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10475
4b7634a5
JL
104762012-12-03 Jeff Law <law@redhat.com>
10477
10478 * time/sys/time.h (settimeofday): Do not mark TV argument
10479 as __nonnull.
10480
eb6cbd24
MF
104812012-12-01 Mike Frysinger <vapier@gentoo.org>
10482
10483 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10484 when currently writing and seek to current position when not.
10485 * libio/Makefile (tests): Remove bug-fclose1.
10486 * libio/bug-fclose1.c: Delete.
10487
f638872a
JM
104882012-12-01 Joseph Myers <joseph@codesourcery.com>
10489
10490 * manual/arith.texi (feenableexcept): Fix typo.
10491 (fedisableexcept): Likewise.
10492
48085d14
RM
104932012-11-30 Roland McGrath <roland@hack.frob.com>
10494
10495 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10496 second, differently-typed declaration, rather than a cast.
10497
1a538b9f
SP
104982012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10499
10500 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10501 * include/rpc/svc.h: ... here.
10502
d07f2ff1 105032012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10504
10505 [BZ #13013]
10506 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10507 depending n and resplen2 to catch cases where answer
10508 equals answerp2.
10509
c93ec1f0
CD
105102012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10511
10512 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10513 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10514
37db69de
MF
105152012-11-29 Mike Frysinger <vapier@gentoo.org>
10516
10517 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10518
e10c4e4f
RM
105192012-11-29 Roland McGrath <roland@hack.frob.com>
10520
10521 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10522
2af1b328
JL
105232012-11-28 Jeff Law <law@redhat.com>
10524
10525 [BZ #13761]
10526 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10527 dataset_temporary. Track alloca usage into alloca_used.
10528 If dataset is large allocate and release it via malloc/free.
10529
111db5b1
FW
105302012-06-04 Florian Weimer <fweimer@redhat.com>
10531
f06cc227 10532 [BZ #14197]
111db5b1
FW
10533 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10534
dd694abd
DM
105352012-11-28 David S. Miller <davem@davemloft.net>
10536
10537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10538
9984dd01
JM
105392012-11-28 Joseph Myers <joseph@codesourcery.com>
10540
10541 [BZ #14803]
10542 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10543 of pi/2 rounded to nearest to 64 bits.
10544 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10545 nearest to 64 bits.
10546 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10547 bits.
10548
14bc93a9
JL
105492012-11-28 Jeff Law <law@redhat.com>
10550 Martin Osvald <mosvald@redhat.com>
10551
10552 [BZ #14889]
10553 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10554 * sunrpc/svc.c: Include time.h.
10555 (__svc_accept_failed): New function.
10556 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10557 any reason other than EINTR, call __svc_accept_failed.
10558 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10559 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10560
e3c6aa3a
AS
105612012-11-28 Andreas Schwab <schwab@suse.de>
10562
10563 * scripts/abilist.awk: Also handle indirect functions in .opd
10564 section.
10565
1bead169
JM
105662012-11-28 Joseph Myers <joseph@codesourcery.com>
10567
10568 [BZ #13881]
10569 * sysdeps/x86/fpu/powl_helper.c: New file.
10570 * sysdeps/x86/fpu/Makefile: Likewise.
10571 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10572 (p3): New object.
10573 (__ieee754_powl): Use __powl_helper for finite arguments except
10574 integer exponents below 8.
10575 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10576 (p3): New object.
10577 (__ieee754_powl): Use __powl_helper for finite arguments except
10578 integer exponents below 8.
10579 * math/libm-test.inc (pow_test): Add more tests and enable some
10580 previously disabled tests.
10581 * sysdeps/i386/fpu/libm-test-ulps: Update.
10582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10583
0817d63d
SP
105842012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10585 Carlos O'Donell <carlos_odonell@mentor.com>
10586
10587 * nss/makedb.c (is_prime): Assert that input is odd and greater
10588 than 4. Note that fact in a comment too.
10589 (next_prime): Add 4 to input.
10590
de2fd463
SP
105912012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10592
10593 [BZ #11741]
10594 * libio/Makefile (tests): Add test case tst-fwrite-error.
10595 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10596 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10597 * libio/tst-fwrite-error.c: New test case.
10598
c515fb51
L
105992012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10600
10601 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10602 before casting to void *.
10603 * include/libc-internal.h (__pointer_type): New macro.
10604 (__integer_if_pointer_type_sub): Likewise.
10605 (__integer_if_pointer_type): Likewise.
10606 (cast_to_integer): Likewise.
10607 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10608 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10609 before casting to atomic64_t.
10610 (atomic_exchange_acq): Likewise.
10611 (__arch_exchange_and_add_body): Likewise.
10612 (__arch_add_body): Likewise.
10613 (atomic_add_negative): Likewise.
10614 (atomic_add_zero): Likewise.
10615
4cf77aa9
JM
106162012-11-26 Joseph Myers <joseph@codesourcery.com>
10617
10618 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10619 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10620 (add_fdes): Likewise.
10621 (linear_search_fdes): Likewise.
10622 (binary_search_unencoded_fdes): Likewise.
10623
d260b3b4
AS
106242012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10625
10626 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10627
67060746
AC
106282012-11-24 Adam Conrad <adconrad@0c3.net>
10629
10630 * configure.in: Autodetect C++ header directories.
10631 * configure: Regenerated.
10632
800938a1
MF
106332012-11-23 Mike Frysinger <vapier@gentoo.org>
10634
10635 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10636
4e6e34e6
AS
106372012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10638
10639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10640
7c7feb47
JM
106412012-11-22 Joseph Myers <joseph@codesourcery.com>
10642
7184dcdf
JM
10643 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10644 LDBL_MANT_DIG == 106]: Disable some tests.
10645 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10646 Likewise.
10647 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10648 Likewise.
10649
0a42601f
JM
10650 [BZ #14871]
10651 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10652 input for small inputs. Return +/- pi/2 for large inputs.
10653 * math/libm-test.inc (atan_test): Add more tests.
10654
79c9b9fe
JM
10655 * sysdeps/generic/unwind-dw2-fde-glibc.c
10656 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10657 __attribute__ ((unused)).
10658
c60d3bf2
JM
10659 [BZ #14645]
10660 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10661 x * y if x and y are nonzero and z is zero.
10662
ef1e0867
JM
10663 [BZ #14811]
10664 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10665 nonzero exponents with absolute value below 0x1p-117 to +/-
10666 0x1p-117.
10667
1468ded3
JM
10668 [BZ #14869]
10669 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10670 up arguments below 2**-450, not just those below 2**-500.
10671 * math/libm-test.inc (hypot_test): Add another test.
10672
8e27e3cc
JM
10673 [BZ #14868]
10674 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10675 Return a+b for ratio over 2**120, not 2**60.
10676 * math/libm-test.inc (hypot_test): Add another test.
10677
c9c0279b
JM
10678 * math/libm-test.inc (clog_test): Use
10679 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10680 (clog10_test): Likewise.
10681
7c7feb47
JM
10682 [BZ #6778]
10683 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10684
fff1530e
AS
106852012-11-22 Andreas Schwab <schwab@suse.de>
10686
10687 * sysdeps/i386/fpu/libm-test-ulps: Update.
10688
94558d30
PT
106892012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10690
10691 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10692 printf output with newline.
10693
7e1be741
L
106942012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10695
6bfea974
L
10696 [BZ #14865]
10697 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10698 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10699 -z nodlopen, -z initfirst and -z execstack support.
10700 * configure: Regenerated.
10701
7e1be741
L
10702 * elf/elf.h (DF_1_NODIRECT): New macro.
10703 (DF_1_IGNMULDEF): Likewise.
10704 (DF_1_NOKSYMS): Likewise.
10705 (DF_1_NOHDR): Likewise.
10706 (DF_1_EDITED): Likewise.
10707 (DF_1_NORELOC): Likewise.
10708 (DF_1_SYMINTPOSE): Likewise.
10709 (DF_1_GLOBAUDIT): Likewise.
10710 (DF_1_SINGLETON): Likewise.
10711 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10712 DT_1_SUPPORTED_MASK bits.
10713 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10714
105ce2ce
CD
107152012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10716
10717 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10718
123be9de
TS
107192012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10720
d072f3f7
TS
10721 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10722 macro.
10723
123be9de
TS
10724 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10725 (sendmmsg): Move declarations...
10726 * socket/sys/socket.h: ... here.
10727 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10728 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10729 include it from...
10730 * socket/recvmmsg.c: ... this new file.
10731 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10732 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10733 definition of __sendmmsg hidden.
10734 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10735 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10736 Move ENOSYS stub into and include it from...
10737 * socket/sendmmsg.c: ... this new file.
10738 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10739 (sysdep_routines): Move recvmmsg and sendmmsg...
10740 * socket/Makefile (routines): ... here.
10741 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10742 (GLIBC_PRIVATE): Add __sendmmsg.
10743 * include/sys/socket.h (__sendmmsg): Add declarations.
10744 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10745 sendmmsg.
10746
cf9a5d18
JM
107472012-11-20 Joseph Myers <joseph@codesourcery.com>
10748
10749 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10750 variable I1 with __attribute__ ((unused)).
10751 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10752
ecd4caf9
JM
107532012-11-19 Joseph Myers <joseph@codesourcery.com>
10754
be14d48f
JM
10755 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10756 DUMMY variables with __attribute__ ((unused)).
10757
ecd4caf9
JM
10758 * bits/byteswap.h: Include <bits/types.h>.
10759 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10760
986cab95
PT
107612012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10762
10763 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10764 string_t. Do not manually set errno.
10765 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10766 length with __strnlen. Make sure to both set errno and return it on
10767 failure.
10768
6d33cc9d
DM
107692012-11-19 David S. Miller <davem@davemloft.net>
10770
10771 With help from Joseph Myers.
10772 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10773 very large arguments properly.
10774 * math/libm-test.inc (atan_test): New tests.
10775 (atan2_test): New tests.
10776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10778
ee663277
JM
107792012-11-19 Joseph Myers <joseph@codesourcery.com>
10780
877f2d8e
JM
10781 [BZ #14856]
10782 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10783 Define to 3.
10784
116fc08a
JM
10785 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10786 [POSIX] (EADDRNOTAVAIL): Likewise.
10787 [POSIX] (EAFNOSUPPORT): Likewise.
10788 [POSIX] (EALREADY): Likewise.
10789 [POSIX] (ECONNABORTED): Likewise.
10790 [POSIX] (ECONNREFUSED): Likewise.
10791 [POSIX] (ECONNRESET): Likewise.
10792 [POSIX] (EDESTADDRREQ): Likewise.
10793 [POSIX] (EDQUOT): Likewise.
10794 [POSIX] (EHOSTUNREACH): Likewise.
10795 [POSIX] (EIDRM): Likewise.
10796 [POSIX] (EISCONN): Likewise.
10797 [POSIX] (ELOOP): Likewise.
10798 [POSIX] (EMULTIHOP): Likewise.
10799 [POSIX] (ENETDOWN): Likewise.
10800 [POSIX] (ENETUNREACH): Likewise.
10801 [POSIX] (ENOBUFS): Likewise.
10802 [POSIX] (ENODATA): Likewise.
10803 [POSIX] (ENOLINK): Likewise.
10804 [POSIX] (ENOMSG): Likewise.
10805 [POSIX] (ENOPROTOOPT): Likewise.
10806 [POSIX] (ENOSR): Likewise.
10807 [POSIX] (ENOSTR): Likewise.
10808 [POSIX] (ENOTCONN): Likewise.
10809 [POSIX] (ENOTSOCK): Likewise.
10810 [POSIX] (EOPNOTSUPP): Likewise.
10811 [POSIX] (EOVERFLOW): Likewise.
10812 [POSIX] (EPROTO): Likewise.
10813 [POSIX] (EPROTONOSUPPORT): Likewise.
10814 [POSIX] (EPROTOTYPE): Likewise.
10815 [POSIX] (ESTALE): Likewise.
10816 [POSIX] (ETIME): Likewise.
10817 [POSIX] (ETXTBSY): Likewise.
10818 [POSIX] (EWOULDBLOCK): Likewise.
10819 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10820 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10821 [POSIX] (SEEK_CUR): Likewise.
10822 [POSIX] (SEEK_END): Likewise.
10823 [POSIX || UNIX98] (mode_t): Do not require.
10824 [POSIX] (off_t): Likewise.
10825 [POSIX] (pid_t): Likewise.
10826 [POSIX] (sys/stat.h): Do not allow header.
10827 [POSIX] (unistd.h): Likewise.
10828 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10829 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10830 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10831 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10832 require.
10833 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10834 sigevent): Specify elements.
10835 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10836 entry.
10837 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10838 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10839
a483863f
JM
10840 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10841 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10842 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10843 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10844 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10845 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10846 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10847 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10848 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10849 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10850 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10851 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10852 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10853 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10854 Likewise.
10855 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10856 Likewise.
10857 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10858 Likewise.
10859 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10860 Likewise.
10861 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10862 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10863 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10864 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10865 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10866 Specify lower bound on value.
10867 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10868 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10869 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10870 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10871 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10872 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10873 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10874 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10875 value.
10876 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10877 as optional.
10878 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10879 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10880 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10881 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10882 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10883 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10884 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10885 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10886 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10887 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10888 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10889 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10890 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10891 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10892 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10893 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10894 entry.
10895 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10896 optional.
10897 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10898 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10899 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10900 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10901 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10902 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10903 Likewise.
10904 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10905 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10906 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10907 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10908 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10909 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10910 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10911 as optional.
10912 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10913 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10914 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10915 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10916 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10917 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10918 specify as optional.
10919 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10920 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10921 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10922 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10923 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10924 [XPG3] (NL_LANGMAX): Likewise.
10925 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10926 [POSIX || XPG3] (NL_NMAX): Likewise.
10927 [POSIX || XPG3] (NL_SETMAX): Likewise.
10928 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10929 [XPG3] (NZERO): Likewise.
10930 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10931 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10932 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10933 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10934 (REG_ERANGE): Expect.
10935 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10936 optional-constant.
10937 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10938 Use (void) in prototype.
10939 [POSIX] (*_t): Allow.
10940 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10941 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10942 (WRDE_BADVAL): Expect.
10943
5ba924e3
JM
10944 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10945 expect.
10946 [XPG3 || XPG4] (O_RSYNC): Likewise.
10947 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10948 Likewise.
10949 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10950 [XPG3 || XPG4] (sigqueue): Likewise.
10951 [XPG3 || XPG4] (sigtimedwait): Likewise.
10952 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10953 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10954 [XPG3 || XPG4] (vsnprintf): Likewise.
10955 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10956 Likewise.
10957 [XPG3 || XPG4] (blksize_t): Likewise.
10958 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10959 Likewise.
10960 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10961 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10962 [XPG3 || XPG4] (struct itimerspec): Likewise.
10963 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10964 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10965 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10966 [XPG3 || XPG4] (clockid_t): Likewise.
10967 [XPG3 || XPG4] (timer_t): Likewise.
10968 [XPG3 || XPG4] (clock_getres): Likewise.
10969 [XPG3 || XPG4] (clock_gettime): Likewise.
10970 [XPG3 || XPG4] (clock_settime): Likewise.
10971 [XPG3 || XPG4] (nanosleep): Likewise.
10972 [XPG3 || XPG4] (timer_create): Likewise.
10973 [XPG3 || XPG4] (timer_delete): Likewise.
10974 [XPG3 || XPG4] (timer_gettime): Likewise.
10975 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10976 [XPG3 || XPG4] (timer_settime): Likewise.
10977 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10978 [XPG3 || XPG4] (getlogin_r): Likewise.
10979 [XPG3 || XPG4] (pread): Likewise.
10980 [XPG3 || XPG4] (pthread_atfork): Likewise.
10981 [XPG3 || XPG4] (pwrite): Likewise.
10982
ee663277
JM
10983 [BZ #14835]
10984 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10985 <bits/siginfo.h>.
10986
942caa16
PT
109872012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10988
e19af380
PT
10989 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10990 finalizing MALLSTREAM.
10991
942caa16
PT
10992 * sysdeps/mach/hurd/syncfs.c: New file.
10993
cfde9b46
SP
109942012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10995
10996 [BZ #14719]
10997 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10998 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10999 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11000 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11001 (_nss_dns_gethostbyname4_r): Likewise.
11002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11003 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11004
f6da27e5
PH
110052012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11006
11007 [BZ #13763]
11008 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11009
6665d4a2
SM
110102012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11011
1f51ee92
SM
11012 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11013 * elf/cache.c (print_entry): Print ",AArch64" for
11014 FLAG_AARCH64_LIB64
11015
6665d4a2
SM
11016 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11017 * elf/cache.c (print_entry): Print ",hard-float" for
11018 FLAG_ARM_LIBHF.
11019
05b227bd
DM
110202012-11-18 David S. Miller <davem@davemloft.net>
11021
11022 With help from Joseph Myers.
11023 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11024 cutoff to 2**-13.
11025 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11026 cutoff to 2**-25.
11027 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11028 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11029 small.
11030 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11031 * math/libm-test.inc (y0_test): New tests.
11032 (y1_test): New tests.
11033 * sysdeps/i386/fpu/libm-test-ulps: Update.
11034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11036
786b0b67
AS
110372012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11038
11039 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11040 64-bit targets.
11041 * configure: Regenerated.
11042
8e18b86d
DM
110432012-11-17 David S. Miller <davem@davemloft.net>
11044
11045 [BZ #14811]
11046 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11047 nonzero exponents with absolute value below 0x1p-128 to +/-
11048 0x1p-128.
11049
531f1ae0
JM
110502012-11-17 Joseph Myers <joseph@codesourcery.com>
11051
12df29e2
JM
11052 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11053
150dc1a0
JM
11054 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11055
531f1ae0
JM
11056 * posix/getconf-speclist.c: New file.
11057 * posix/posix-envs.def: Likewise.
11058 * posix/confstr.c (START_ENV_GROUP): New macro.
11059 (END_ENV_GROUP): Likewise.
11060 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11061 (KNOWN_PRESENT_ENV_STRING): Likewise.
11062 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11063 (UNKNOWN_ENVIRONMENT): Likewise.
11064 (confstr): Include posix-envs.def instead of handling
11065 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11066 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11067 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11068 (END_ENV_GROUP): Likewise.
11069 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11070 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11071 (UNKNOWN_ENVIRONMENT): Likewise.
11072 (__sysconf): Include posix-envs.def instead of handling associated
11073 cases directly here.
11074 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11075 preprocessing getconf-speclist.c rather than running getconf or
11076 generating empty file.
11077
a93f9cbc
PT
110782012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11079
11080 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11081
d64d9f87
AL
110822012-11-16 Andrej Lajovic <natrij@gmail.com>
11083
11084 [BZ #14672]
11085 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11086
447885eb
DM
110872012-11-16 David S. Miller <davem@davemloft.net>
11088
11089 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11090 smaller than LDBL_EPSILON/2.0L, just return xm1.
11091
bcbf9830
L
110922012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11093
11094 * elf/tst-array1.c (init): Set constructor priority to 1000.
11095 (fini): Set destructor priority to 1000.
11096 * elf/tst-array2dep.c: Likewise.
11097
2b766585
SP
110982012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11099
11100 [BZ #11741]
11101 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11102 (_IO_new_file_xsputn): Also return EOF if none of the input
11103 data was written when overflow failed.
11104 * libio/iopadn.c (_IO_padn): Likewise.
11105 * libio/iowpadn.c (_IO_wpadn): Likewise.
11106 * stdio-common/tst-put-error.c: Add copyright notice.
11107 (do_test): Add case for printing padded string.
11108 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11109 _IO_padn returned error.
11110 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11111 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11112 return EOF.
11113
b1848fde
SP
111142012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11115
11116 * libio/libioP.h: Add comment note that the references to C++
11117 bits are now obsolete.
11118
2fd89785
MS
111192012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11120
11121 * math/libm-test.inc (check_complex): Use asprintf.
11122
e3ea5409
JM
111232012-11-14 Joseph Myers <joseph@codesourcery.com>
11124
11125 * debug/pcprofiledump.c (print_version): Update copyright year.
11126 * malloc/memusagestat.c (print_version): Likewise.
11127
2e64d265
L
111282012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11129
11130 [BZ #14831]
11131 * elf/Makefile (tests): Add tst-audit8.
11132 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11133 ($(objpfx)tst-audit8.out): New target.
11134 (tst-audit8-ENV): New variable.
11135 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11136 audit if l_reloc_result is NULL.
11137 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11138 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11139 * elf/tst-audit8.c: New file.
11140
c485e4d2
MS
111412012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11142
11143 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11144 * misc/Makefile (CFLAGS-select.c): Define.
11145 * posix/Makefile (CFLAGS-pause.c): Define.
11146
3a0d900a
DM
111472012-11-13 David S. Miller <davem@davemloft.net>
11148
11149 * crypt/Makefile: Move test targets after toplevel Rules
11150 inclusion. Grab any necessary sysdep routines when linking.
11151 * crypt/md5.c (md5_process_block): Remove define, we will always
11152 name it __md5_process_block.
11153 (md5_finish_ctx): Update md5_process_block call.
11154 (md5_stream): Likewise.
11155 (md5_process_bytes): Likewise.
11156 (md5_process_block): Rename to __md5_process_block and move to ...
11157 * crypt/md5-block.c: ... here.
11158 * crypt/sha256.c (sha256_process_block): Move to ...
11159 * crypt/sha256-block.c: ... here.
11160 * crypt/sha512.c (sha512_process_block): Move to ...
11161 * crypt/sha512-block.c: ... here.
11162 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11163 path.
11164 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11165 * sysdeps/sparc/sparc64/multiarch/Makefile
11166 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11167 crypt subdir.
11168 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11169 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11170 multiarch changes.
11171 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11172 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11173 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11174 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11175 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11176 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11177 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11178 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11179 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11180 file.
11181 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11182 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11183 file.
11184 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11185
8ca89318
JM
111862012-11-13 Joseph Myers <joseph@codesourcery.com>
11187
e27d476a
JM
11188 * timezone/tzselect.ksh: Update from tzcode git revision
11189 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11190 * timezone/zdump.c: Likewise.
11191 * timezone/zic.c: Likewise.
11192 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11193 in TZVERSION setting, not $(PKGVERSION).
11194 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11195 REPORT_BUGS_TO settings.
11196
8ca89318
JM
11197 [BZ #14838]
11198 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11199 macro.
11200
47594329
MS
112012012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11202
11203 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11204 detection to immediately after _FP_ROUND().
11205 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11206 bits are 0.
11207
640ac3f1
DM
112082012-11-11 David S. Miller <davem@davemloft.net>
11209
11210 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11211 inttypes.h
11212 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11213 __close rather than their public counterparts.
11214
3d2577bb
JM
112152012-11-10 Joseph Myers <joseph@codesourcery.com>
11216
11217 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11218 file.
11219 [UNIX98] (sem_timedwait): Do not expect.
11220 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11221 [XPG4 || UNIX98] (sockatmark): Do not expect.
11222 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11223 (clock_getcpuclockid): Do not expect.
11224 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11225 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11226 Do not expect.
11227 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11228 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11229 [UNIX98] (vwscanf): Likewise.
11230 [UNIX98] (vswscanf): Likewise.
11231
fb1ae1ee
JM
112322012-11-09 Joseph Myers <joseph@codesourcery.com>
11233
9ec6f8bd
JM
11234 * timezone/version.h: Remove file.
11235 * timezone/README: Do not refer to version.h.
11236 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11237 $(objpfx)version.h.
11238 ($(objpfx)zdump.o): Likewise.
c3f81911 11239 ($(objpfx)version.h): New target.
9ec6f8bd 11240
0aa8f8a1
JM
11241 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11242 2012i.
11243 * timezone/README: Don't mention modification to tzselect.ksh.
11244 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11245 work on unmodified tzselect.ksh. Substitute version numbers in
11246 tzselect.ksh.
11247
4e87147f
JM
11248 * Makefile (format-me): Remove.
11249 (INSTALL): Adjust indentation. Use commands directly instead of
11250 using $(format-me).
11251
8b748aed
JM
11252 * aclocal.m4 (ACX_PKGVERSION): New macro.
11253 (ACX_BUGURL): Likewise.
11254 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11255 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11256 (REPORT_BUGS_TO): Likewise.
11257 * configure: Regenerated.
11258 * config.h.in (PKGVERSION): New macro.
11259 (REPORT_BUGS_TO): Likewise.
11260 * config.make.in (PKGVERSION): New variable.
11261 (PKGVERSION_TEXI): Likewise.
11262 (REPORT_BUGS_TO): Likewise.
11263 (REPORT_BUGS_TEXI): Likewise.
11264 * Makefile (format-me): Use -I$(common-objpfx)manual.
11265 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11266 ($(common-objpfx)manual/%): New target.
11267 (manual/%): Remove target.
11268 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11269 (print_version): Use PKGVERSION.
11270 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11271 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11272 and REPORT_BUGS_TO.
11273 ($(objpfx)xtrace): Likewise.
11274 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11275 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11276 (print_version): Use PKGVERSION.
11277 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11278 (do_version): Use PKGVERSION.
11279 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11280 REPORT_BUGS_TO.
11281 (common-ldd-rewrite): Likewise.
11282 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11283 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11284 (print_version): Use PKGVERSION.
11285 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11286 * elf/pldd.c (argp_program_bug_address): Remove variable.
11287 (more_help): New function.
11288 (argp): Use more_help.
11289 (print_version): Use PKGVERSION.
11290 * elf/sln.c (main): Use PKGVERSION.
11291 (usage): Use REPORT_BUGS_TO.
11292 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11293 (top level): Use PKGVERSION.
11294 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11295 (print_version): Use PKGVERSION.
11296 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11297 (print_version): Use PKGVERSION.
11298 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11299 (print_version): Use PKGVERSION.
11300 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11301 (print_version): Use PKGVERSION.
11302 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11303 (print_version): Use PKGVERSION.
11304 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11305 (print_version): Use PKGVERSION.
11306 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11307 and BUGURL.
11308 ($(objpfx)memusage): Likewise.
11309 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11310 (do_version): Use PKGVERSION.
11311 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11312 (print_version): Use PKGVERSION.
11313 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11314 ($PKGVERSION): New variable.
11315 ($REPORT_BUGS_TO): Likewise.
11316 (usage): Use $REPORT_BUGS_TO.
11317 (top level): Use $PKGVERSION.
11318 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11319 ($(objpfx)pkgvers.texi): New rule.
11320 ($(objpfx)stamp-pkgvers): Likewise.
11321 * manual/install.texi: Include pkgvers.texi.
11322 (--with-pkgversion): Document new configure option.
11323 (--with-bugurl): Likewise.
11324 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11325 than necessarily for this particular distribution. Use
11326 REPORT_BUGS_TO for where to report bugs.
11327 * INSTALL: Regenerated.
11328 * manual/libc.texinfo: Include pkgvers.texi.
11329 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11330 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11331 (print_version): Use PKGVERSION.
11332 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11333 (print_version): Use PKGVERSION.
11334 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11335 (print_version): Use PKGVERSION.
11336 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11337 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11338 macro.
11339 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11340 (print_version): Use PKGVERSION.
11341 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11342 (print_version): Use PKGVERSION.
11343 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11344 and PKGVERSION.
11345
92e4b6a9
JM
11346 * timezone/checktab.awk: Update from tzcode 2012i.
11347 * timezone/ialloc.c: Likewise.
11348 * timezone/private.h: Likewise.
11349 * timezone/scheck.c: Likewise.
11350 * timezone/tzfile.h: Likewise.
11351 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11352 (TZVERSION): Hardcode tzcode version number.
11353 * timezone/zdump.c: Update from tzcode 2012i.
11354 * timezone/zic.c: Likewise.
11355 * timezone/version.h: New file.
11356 * timezone/README: Describe version.h. Update upstream location.
11357
9bde902c
JM
11358 [BZ #14824]
11359 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11360 (mktemp): Enable declaration.
11361 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11362 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11363 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11364 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11365 Likewise.
11366 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11367 Likewise.
11368 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11369 Likewise.
11370 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11371 Likewise.
11372 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11373 Likewise.
11374 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11375 Likewise.
11376
fb1ae1ee
JM
11377 [BZ #14821]
11378 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11379 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11380 for copies of such integer values.
11381 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11382 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11383
2c1adbcb
AJ
113842012-11-09 Andreas Jaeger <aj@suse.de>
11385
11386 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11387 definitions and declarations that are provided by
11388 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11389
d0f8457e
AK
113902012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11391
3a235abb 11392 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11393 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11394 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11395 definition.
11396
57241e26
MS
113972012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11398
11399 * elf/elf.h: Update comment before AArch64 relocations.
11400
60e8270d
DM
114012012-11-07 David S. Miller <davem@davemloft.net>
11402
11403 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11404 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11405 (__start_context): Declare.
11406 (__makecontext_ret): Delete.
11407 (__makecontext): Hook up __start_context instead of
11408 __makecontext_ret.
11409 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11410 (sysdep_routines): Add __start_context when in stdlib.
11411
0fbb0fbc
JM
114122012-11-07 Joseph Myers <joseph@codesourcery.com>
11413
11414 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11415 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11416 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11417 hardcoded "nm".
11418 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11419 (READELF): New variable. Use it instead of hardcoded "readelf".
11420
eb48db7e
L
114212012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11422
11423 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11424 * sysdeps/x86/Makefile: Here.
11425 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11426 * sysdeps/x86/tst-xmmymm.sh: This.
11427
05bcf62a
JM
114282012-11-07 Joseph Myers <joseph@codesourcery.com>
11429
c4b6cf53
JM
11430 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11431 expectations.
11432 [UNIX98] (pthread_barrier_t): Do not expect.
11433 [UNIX98] (pthread_barrierattr_t): Likewise.
11434 [UNIX98] (pthread_spinlock_t): Likewise.
11435 [UNIX98] (pthread_barrier_destroy): Likewise.
11436 [UNIX98] (pthread_barrier_init): Likewise.
11437 [UNIX98] (pthread_barrier_wait): Likewise.
11438 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11439 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11440 [UNIX98] (pthread_barrierattr_init): Likewise.
11441 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11442 [UNIX98] (pthread_getcpuclockid): Likewise.
11443 [UNIX98] (pthread_mutex_timedlock): Likewise.
11444 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11445 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11446 [UNIX98] (pthread_sigmask): Likewise.
11447 [UNIX98] (pthread_spin_destroy): Likewise.
11448 [UNIX98] (pthread_spin_init): Likewise.
11449 [UNIX98] (pthread_spin_lock): Likewise.
11450 [UNIX98] (pthread_spin_trylock): Likewise.
11451 [UNIX98] (pthread_spin_unlock): Likewise.
11452 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11453 Do not expect.
11454 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11455 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11456 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11457 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11458 [XPG3 || XPG4] (pthread_key_t): Likewise.
11459 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11460 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11461 [XPG3 || XPG4] (pthread_once_t): Likewise.
11462 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11463 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11464 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11465 [XPG3 || XPG4] (pthread_t): Likewise.
11466
cbe6e120
JM
11467 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11468 not expect.
11469 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11470
1b126443
JM
11471 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11472 Change function return type to int.
11473
b961a573
JM
11474 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11475 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11476 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11477 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11478 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11479 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11480 [!POSIX] (posix_madvise): Likewise.
11481 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11482 && !UNIX98].
11483 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11484 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11485 (mode_t): Likewise.
11486 (posix_mem_offset): Likewise.
11487 (posix_typed_mem_get_info): Likewise.
11488 (posix_typed_mem_open): Likewise.
11489
9e188909
JM
11490 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11491 Change condition to [XOPEN2K8].
11492
05bcf62a
JM
11493 * conform/conformtest.pl: Preprocess allow-header data with -x c
11494 instead of from stdin.
11495 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11496 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11497 [C99-based standards] (cerfc): Likewise.
11498 [C99-based standards] (cexp2): Likewise.
11499 [C99-based standards] (cexpm1): Likewise.
11500 [C99-based standards] (clog10): Likewise.
11501 [C99-based standards] (clog1p): Likewise.
11502 [C99-based standards] (clog2): Likewise.
11503 [C99-based standards] (clgamma): Likewise.
11504 [C99-based standards] (ctgamma): Likewise.
11505 [C99-based standards] (cerff): Likewise.
11506 [C99-based standards] (cerfcf): Likewise.
11507 [C99-based standards] (cexp2f): Likewise.
11508 [C99-based standards] (cexpm1f): Likewise.
11509 [C99-based standards] (clog10f): Likewise.
11510 [C99-based standards] (clog1pf): Likewise.
11511 [C99-based standards] (clog2f): Likewise.
11512 [C99-based standards] (clgammaf): Likewise.
11513 [C99-based standards] (ctgammaf): Likewise.
11514 [C99-based standards] (cerfl): Likewise.
11515 [C99-based standards] (cerfcl): Likewise.
11516 [C99-based standards] (cexp2l): Likewise.
11517 [C99-based standards] (cexpm1l): Likewise.
11518 [C99-based standards] (clog10l): Likewise.
11519 [C99-based standards] (clog1pl): Likewise.
11520 [C99-based standards] (clog2l): Likewise.
11521 [C99-based standards] (clgammal): Likewise.
11522 [C99-based standards] (ctgammal): Likewise.
11523 * conform/data/inttypes.h-data [C99-based standards]: Include
11524 stdint.h-data. Remove all expectations for stdint.h contents.
11525 [C99-based standards] (PRI*): Do not allow.
11526 [C99-based standards] (SCN*): Likewise.
11527 [C99-based standards] (*_t): Likewise.
11528 [C99-based-standards] (PRId8): Expect macro.
11529 [C99-based-standards] (PRIi8): Likewise.
11530 [C99-based-standards] (PRIo8): Likewise.
11531 [C99-based-standards] (PRIu8): Likewise.
11532 [C99-based-standards] (PRIx8): Likewise.
11533 [C99-based-standards] (PRIX8): Likewise.
11534 [C99-based-standards] (SCNd8): Likewise.
11535 [C99-based-standards] (SCNi8): Likewise.
11536 [C99-based-standards] (SCNo8): Likewise.
11537 [C99-based-standards] (SCNu8): Likewise.
11538 [C99-based-standards] (SCNx8): Likewise.
11539 [C99-based-standards] (PRIdLEAST8): Likewise.
11540 [C99-based-standards] (PRIiLEAST8): Likewise.
11541 [C99-based-standards] (PRIoLEAST8): Likewise.
11542 [C99-based-standards] (PRIuLEAST8): Likewise.
11543 [C99-based-standards] (PRIxLEAST8): Likewise.
11544 [C99-based-standards] (PRIXLEAST8): Likewise.
11545 [C99-based-standards] (SCNdLEAST8): Likewise.
11546 [C99-based-standards] (SCNiLEAST8): Likewise.
11547 [C99-based-standards] (SCNoLEAST8): Likewise.
11548 [C99-based-standards] (SCNuLEAST8): Likewise.
11549 [C99-based-standards] (SCNxLEAST8): Likewise.
11550 [C99-based-standards] (PRIdFAST8): Likewise.
11551 [C99-based-standards] (PRIiFAST8): Likewise.
11552 [C99-based-standards] (PRIoFAST8): Likewise.
11553 [C99-based-standards] (PRIuFAST8): Likewise.
11554 [C99-based-standards] (PRIxFAST8): Likewise.
11555 [C99-based-standards] (PRIXFAST8): Likewise.
11556 [C99-based-standards] (SCNdFAST8): Likewise.
11557 [C99-based-standards] (SCNiFAST8): Likewise.
11558 [C99-based-standards] (SCNoFAST8): Likewise.
11559 [C99-based-standards] (SCNuFAST8): Likewise.
11560 [C99-based-standards] (SCNxFAST8): Likewise.
11561 [C99-based-standards] (PRId16): Likewise.
11562 [C99-based-standards] (PRIi16): Likewise.
11563 [C99-based-standards] (PRIo16): Likewise.
11564 [C99-based-standards] (PRIu16): Likewise.
11565 [C99-based-standards] (PRIx16): Likewise.
11566 [C99-based-standards] (PRIX16): Likewise.
11567 [C99-based-standards] (SCNd16): Likewise.
11568 [C99-based-standards] (SCNi16): Likewise.
11569 [C99-based-standards] (SCNo16): Likewise.
11570 [C99-based-standards] (SCNu16): Likewise.
11571 [C99-based-standards] (SCNx16): Likewise.
11572 [C99-based-standards] (PRIdLEAST16): Likewise.
11573 [C99-based-standards] (PRIiLEAST16): Likewise.
11574 [C99-based-standards] (PRIoLEAST16): Likewise.
11575 [C99-based-standards] (PRIuLEAST16): Likewise.
11576 [C99-based-standards] (PRIxLEAST16): Likewise.
11577 [C99-based-standards] (PRIXLEAST16): Likewise.
11578 [C99-based-standards] (SCNdLEAST16): Likewise.
11579 [C99-based-standards] (SCNiLEAST16): Likewise.
11580 [C99-based-standards] (SCNoLEAST16): Likewise.
11581 [C99-based-standards] (SCNuLEAST16): Likewise.
11582 [C99-based-standards] (SCNxLEAST16): Likewise.
11583 [C99-based-standards] (PRIdFAST16): Likewise.
11584 [C99-based-standards] (PRIiFAST16): Likewise.
11585 [C99-based-standards] (PRIoFAST16): Likewise.
11586 [C99-based-standards] (PRIuFAST16): Likewise.
11587 [C99-based-standards] (PRIxFAST16): Likewise.
11588 [C99-based-standards] (PRIXFAST16): Likewise.
11589 [C99-based-standards] (SCNdFAST16): Likewise.
11590 [C99-based-standards] (SCNiFAST16): Likewise.
11591 [C99-based-standards] (SCNoFAST16): Likewise.
11592 [C99-based-standards] (SCNuFAST16): Likewise.
11593 [C99-based-standards] (SCNxFAST16): Likewise.
11594 [C99-based-standards] (PRId32): Likewise.
11595 [C99-based-standards] (PRIi32): Likewise.
11596 [C99-based-standards] (PRIo32): Likewise.
11597 [C99-based-standards] (PRIu32): Likewise.
11598 [C99-based-standards] (PRIx32): Likewise.
11599 [C99-based-standards] (PRIX32): Likewise.
11600 [C99-based-standards] (SCNd32): Likewise.
11601 [C99-based-standards] (SCNi32): Likewise.
11602 [C99-based-standards] (SCNo32): Likewise.
11603 [C99-based-standards] (SCNu32): Likewise.
11604 [C99-based-standards] (SCNx32): Likewise.
11605 [C99-based-standards] (PRIdLEAST32): Likewise.
11606 [C99-based-standards] (PRIiLEAST32): Likewise.
11607 [C99-based-standards] (PRIoLEAST32): Likewise.
11608 [C99-based-standards] (PRIuLEAST32): Likewise.
11609 [C99-based-standards] (PRIxLEAST32): Likewise.
11610 [C99-based-standards] (PRIXLEAST32): Likewise.
11611 [C99-based-standards] (SCNdLEAST32): Likewise.
11612 [C99-based-standards] (SCNiLEAST32): Likewise.
11613 [C99-based-standards] (SCNoLEAST32): Likewise.
11614 [C99-based-standards] (SCNuLEAST32): Likewise.
11615 [C99-based-standards] (SCNxLEAST32): Likewise.
11616 [C99-based-standards] (PRIdFAST32): Likewise.
11617 [C99-based-standards] (PRIiFAST32): Likewise.
11618 [C99-based-standards] (PRIoFAST32): Likewise.
11619 [C99-based-standards] (PRIuFAST32): Likewise.
11620 [C99-based-standards] (PRIxFAST32): Likewise.
11621 [C99-based-standards] (PRIXFAST32): Likewise.
11622 [C99-based-standards] (SCNdFAST32): Likewise.
11623 [C99-based-standards] (SCNiFAST32): Likewise.
11624 [C99-based-standards] (SCNoFAST32): Likewise.
11625 [C99-based-standards] (SCNuFAST32): Likewise.
11626 [C99-based-standards] (SCNxFAST32): Likewise.
11627 [C99-based-standards] (PRId64): Likewise.
11628 [C99-based-standards] (PRIi64): Likewise.
11629 [C99-based-standards] (PRIo64): Likewise.
11630 [C99-based-standards] (PRIu64): Likewise.
11631 [C99-based-standards] (PRIx64): Likewise.
11632 [C99-based-standards] (PRIX64): Likewise.
11633 [C99-based-standards] (SCNd64): Likewise.
11634 [C99-based-standards] (SCNi64): Likewise.
11635 [C99-based-standards] (SCNo64): Likewise.
11636 [C99-based-standards] (SCNu64): Likewise.
11637 [C99-based-standards] (SCNx64): Likewise.
11638 [C99-based-standards] (PRIdLEAST64): Likewise.
11639 [C99-based-standards] (PRIiLEAST64): Likewise.
11640 [C99-based-standards] (PRIoLEAST64): Likewise.
11641 [C99-based-standards] (PRIuLEAST64): Likewise.
11642 [C99-based-standards] (PRIxLEAST64): Likewise.
11643 [C99-based-standards] (PRIXLEAST64): Likewise.
11644 [C99-based-standards] (SCNdLEAST64): Likewise.
11645 [C99-based-standards] (SCNiLEAST64): Likewise.
11646 [C99-based-standards] (SCNoLEAST64): Likewise.
11647 [C99-based-standards] (SCNuLEAST64): Likewise.
11648 [C99-based-standards] (SCNxLEAST64): Likewise.
11649 [C99-based-standards] (PRIdFAST64): Likewise.
11650 [C99-based-standards] (PRIiFAST64): Likewise.
11651 [C99-based-standards] (PRIoFAST64): Likewise.
11652 [C99-based-standards] (PRIuFAST64): Likewise.
11653 [C99-based-standards] (PRIxFAST64): Likewise.
11654 [C99-based-standards] (PRIXFAST64): Likewise.
11655 [C99-based-standards] (SCNdFAST64): Likewise.
11656 [C99-based-standards] (SCNiFAST64): Likewise.
11657 [C99-based-standards] (SCNoFAST64): Likewise.
11658 [C99-based-standards] (SCNuFAST64): Likewise.
11659 [C99-based-standards] (SCNxFAST64): Likewise.
11660 [C99-based-standards] (PRIdMAX): Likewise.
11661 [C99-based-standards] (PRIiMAX): Likewise.
11662 [C99-based-standards] (PRIoMAX): Likewise.
11663 [C99-based-standards] (PRIuMAX): Likewise.
11664 [C99-based-standards] (PRIxMAX): Likewise.
11665 [C99-based-standards] (PRIXMAX): Likewise.
11666 [C99-based-standards] (SCNdMAX): Likewise.
11667 [C99-based-standards] (SCNiMAX): Likewise.
11668 [C99-based-standards] (SCNoMAX): Likewise.
11669 [C99-based-standards] (SCNuMAX): Likewise.
11670 [C99-based-standards] (SCNxMAX): Likewise.
11671 [C99-based-standards] (PRIdPTR): Likewise.
11672 [C99-based-standards] (PRIiPTR): Likewise.
11673 [C99-based-standards] (PRIoPTR): Likewise.
11674 [C99-based-standards] (PRIuPTR): Likewise.
11675 [C99-based-standards] (PRIxPTR): Likewise.
11676 [C99-based-standards] (PRIXPTR): Likewise.
11677 [C99-based-standards] (SCNdPTR): Likewise.
11678 [C99-based-standards] (SCNiPTR): Likewise.
11679 [C99-based-standards] (SCNoPTR): Likewise.
11680 [C99-based-standards] (SCNuPTR): Likewise.
11681 [C99-based-standards] (SCNxPTR): Likewise.
11682 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11683 allow.
11684 * conform/data/stdint.h-data: Update comments to clarify
11685 requirements.
11686 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11687 type.
11688 [C99-based standards] (INT8_MAX): Likewise.
11689 [C99-based standards] (INT16_MIN): Likewise.
11690 [C99-based standards] (INT16_MAX): Likewise.
11691 [C99-based standards] (INT32_MIN): Likewise.
11692 [C99-based standards] (INT32_MAX): Likewise.
11693 [C99-based standards] (INT64_MIN): Likewise.
11694 [C99-based standards] (INT64_MAX): Likewise.
11695 [C99-based standards] (UINT8_MAX): Likewise.
11696 [C99-based standards] (UINT16_MAX): Likewise.
11697 [C99-based standards] (UINT32_MAX): Likewise.
11698 [C99-based standards] (UINT64_MAX): Likewise.
11699 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11700 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11701 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11702 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11703 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11704 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11705 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11706 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11707 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11708 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11709 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11710 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11711 [C99-based standards] (INT_FAST8_MIN): Likewise.
11712 [C99-based standards] (INT_FAST8_MAX): Likewise.
11713 [C99-based standards] (INT_FAST16_MIN): Likewise.
11714 [C99-based standards] (INT_FAST16_MAX): Likewise.
11715 [C99-based standards] (INT_FAST32_MIN): Likewise.
11716 [C99-based standards] (INT_FAST32_MAX): Likewise.
11717 [C99-based standards] (INT_FAST64_MIN): Likewise.
11718 [C99-based standards] (INT_FAST64_MAX): Likewise.
11719 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11720 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11721 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11722 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11723 [C99-based standards] (INTPTR_MIN): Likewise.
11724 [C99-based standards] (INTPTR_MAX): Likewise.
11725 [C99-based standards] (UINTPTR_MAX): Likewise.
11726 [C99-based standards] (INTMAX_MIN): Likewise.
11727 [C99-based standards] (INTMAX_MAX): Likewise.
11728 [C99-based standards] (UINTMAX_MAX): Likewise.
11729 [C99-based standards] (PTRDIFF_MIN): Likewise.
11730 [C99-based standards] (PTRDIFF_MAX): Likewise.
11731 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11732 [C99-based standards] (SIZE_MAX): Likewise.
11733 [C99-based standards] (WCHAR_MAX): Likewise.
11734 [C99-based standards] (WINT_MAX): Likewise.
11735 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11736 constraint on value.
11737 [C99-based standards] (WCHAR_MIN): Likewise.
11738 [C99-based standards] (WINT_MIN): Likewise.
11739 [C99-based standards] (*_t): Allow.
11740 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11741 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11742 Include math.h-data and complex.h-data. Remove all expectations
11743 of math.h and complex.h contents.
11744 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11745 at end of line.
11746 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11747 (struct tm): Expect tag.
11748 [C99-based-standards] (wcstof): Expect function.
11749 [C99-based-standards] (wcstold): Likewise.
11750 [C99-based-standards] (wcstoll): Likewise.
11751 [C99-based-standards] (wcstoull): Likewise.
11752 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11753 macro-int-constant. Specify type.
11754 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11755 constraint on value.
11756 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11757 Specify type.
11758 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11759 Specify value.
11760 [ISO C standards]: Do not allow headers.
11761 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11762 wcs[abcdefghijklmnopqrstuvwxyz]*.
11763 [ISO C standards] (*_t): Do not allow.
11764 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11765 Expect function.
11766 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11767 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11768 Specify type.
11769 [ISO C standards]: Do not allow headers.
11770 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11771 is[abcdefghijklmnopqrstuvwxyz]*.
11772 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11773 to[abcdefghijklmnopqrstuvwxyz]*.
11774 [ISO C standards] (*_t): Do not allow.
11775 * conform/data/stdalign.h-data: New file.
11776 * conform/data/stdbool.h-data: Likewise.
11777 * conform/data/stdnoreturn.h-data: Likewise.
11778
7514feb8
RM
117792012-11-07 Roland McGrath <roland@hack.frob.com>
11780
11781 [BZ #14815]
11782 * manual/filesys.texi (Directory Entries): Typo fix.
11783 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11784
19b2ecfc
MS
117852012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11786
11787 * elf/elf.h (EM_AARCH64): New macro.
11788 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11789 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11790 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11791 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11792 (R_AARCH64_TLSDESC): Likewise.
11793 (NT_ARM_TLS): Likewise.
11794 (NT_ARM_HW_BREAK): Likewise.
11795 (NT_ARM_HW_WATCH): Likewise.
11796
60e235ee
JM
117972012-11-07 Joseph Myers <joseph@codesourcery.com>
11798
11799 [BZ #14811]
11800 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11801 (__ieee754_powl): Saturate nonzero exponents with absolute value
11802 below 0x1p-79 to +/- 0x1p-79.
11803 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11804 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11805 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11806 nonzero exponents with absolute value below 0x1p-32 to +/-
11807 0x1p-32.
11808 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11809 (__ieee754_powl): Saturate nonzero exponents with absolute value
11810 below 0x1p-79 to +/- 0x1p-79.
11811 * math/libm-test.inc (pow_test): Add more tests.
11812
0ab234b7
AK
118132012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11814
11815 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11816 _dl_s390_cap_flags with kernel. Increase string length.
11817 (_dl_s390_platforms): Add z196 and zEC12.
11818
45832f74
JM
118192012-11-07 Joseph Myers <joseph@codesourcery.com>
11820
11821 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11822 Change XOPEN21K to XOPEN2K.
11823
19218757
MK
118242012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11825
11826 * string/memmove.c: Use memcpy when possible.
11827
c5f45721
AJ
118282012-11-06 Andreas Jaeger <aj@suse.de>
11829
11830 * po/eo.po: Update from translation team.
11831
82477c28
JM
118322012-11-06 Joseph Myers <joseph@codesourcery.com>
11833
11834 [BZ #14793]
11835 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11836 exponent and small x and y exponents, scale x or y up. Increase
11837 by 2 the exponent used in scaling up.
11838 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11839 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11840 * math/libm-test.inc (fma_test): Add more tests.
11841 (fma_test_towardzero): Likewise.
11842 (fma_test_downward): Likewise.
11843 (fma_test_upward): Likewise.
11844
99252c8c
JM
118452012-11-05 Joseph Myers <joseph@codesourcery.com>
11846
acfa885f
JM
11847 [BZ #14805]
11848 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11849 fenv_t *.
11850
99252c8c
JM
11851 [BZ #14801]
11852 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11853 namespace for names of struct fields.
11854 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11855 fenv_t fields.
11856 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11857 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11858
d6d98dea
ST
118592012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11860
11861 [BZ #3665]
11862 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11863
e10bb107
TS
118642012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11865
11866 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11867 PTR_DEMANGLE.
11868
11869 [BZ #5246]
11870 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11871 PTR_DEMANGLE.
11872
a0c2940d
JM
118732012-11-04 Joseph Myers <joseph@codesourcery.com>
11874
11875 [BZ #14797]
11876 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11877 definitely overflow as x * y not x * y + z.
11878 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11879 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11880 * math/libm-test.inc (fma_test): Add more tests.
11881 (fma_test_towardzero): Likewise.
11882 (fma_test_downward): Likewise.
11883 (fma_test_upward): Likewise.
11884
b830319d
TS
118852012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11886
11887 [BZ #157]
11888
11889 * include/stub-tag.h: Remove file.
11890 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11891 '#include' of it.
11892 * manual/maint.texi (Porting): Don't reference it.
11893 * Makerules ($(objpfx)stubs): Likewise.
11894 * dirent/closedir.c: Don't include <stub-tag.h>.
11895 * dirent/dirfd.c: Likewise.
11896 * dirent/fdopendir.c: Likewise.
11897 * dirent/getdents.c: Likewise.
11898 * dirent/getdents64.c: Likewise.
11899 * dirent/opendir.c: Likewise.
11900 * dirent/readdir.c: Likewise.
11901 * dirent/readdir64.c: Likewise.
11902 * dirent/readdir64_r.c: Likewise.
11903 * dirent/readdir_r.c: Likewise.
11904 * dirent/rewinddir.c: Likewise.
11905 * dirent/seekdir.c: Likewise.
11906 * dirent/telldir.c: Likewise.
11907 * gmon/profil.c: Likewise.
11908 * grp/setgroups.c: Likewise.
11909 * inet/if_index.c: Likewise.
11910 * io/access.c: Likewise.
11911 * io/chdir.c: Likewise.
11912 * io/chmod.c: Likewise.
11913 * io/chown.c: Likewise.
11914 * io/close.c: Likewise.
11915 * io/dup.c: Likewise.
11916 * io/dup2.c: Likewise.
11917 * io/dup3.c: Likewise.
11918 * io/euidaccess.c: Likewise.
11919 * io/faccessat.c: Likewise.
11920 * io/fchdir.c: Likewise.
11921 * io/fchmod.c: Likewise.
11922 * io/fchmodat.c: Likewise.
11923 * io/fchown.c: Likewise.
11924 * io/fchownat.c: Likewise.
11925 * io/fcntl.c: Likewise.
11926 * io/flock.c: Likewise.
11927 * io/fstatfs.c: Likewise.
11928 * io/fstatfs64.c: Likewise.
11929 * io/fstatvfs.c: Likewise.
11930 * io/fstatvfs64.c: Likewise.
11931 * io/futimens.c: Likewise.
11932 * io/fxstat.c: Likewise.
11933 * io/fxstat64.c: Likewise.
11934 * io/fxstatat.c: Likewise.
11935 * io/fxstatat64.c: Likewise.
11936 * io/getcwd.c: Likewise.
11937 * io/isatty.c: Likewise.
11938 * io/lchmod.c: Likewise.
11939 * io/lchown.c: Likewise.
11940 * io/link.c: Likewise.
11941 * io/linkat.c: Likewise.
11942 * io/lseek.c: Likewise.
11943 * io/lseek64.c: Likewise.
11944 * io/lxstat64.c: Likewise.
11945 * io/mkdir.c: Likewise.
11946 * io/mkdirat.c: Likewise.
11947 * io/mkfifo.c: Likewise.
11948 * io/mkfifoat.c: Likewise.
11949 * io/open.c: Likewise.
11950 * io/open64.c: Likewise.
11951 * io/openat.c: Likewise.
11952 * io/openat64.c: Likewise.
11953 * io/pipe.c: Likewise.
11954 * io/pipe2.c: Likewise.
11955 * io/poll.c: Likewise.
11956 * io/posix_fadvise.c: Likewise.
11957 * io/posix_fadvise64.c: Likewise.
11958 * io/posix_fallocate.c: Likewise.
11959 * io/posix_fallocate64.c: Likewise.
11960 * io/read.c: Likewise.
11961 * io/readlink.c: Likewise.
11962 * io/readlinkat.c: Likewise.
11963 * io/rmdir.c: Likewise.
11964 * io/sendfile.c: Likewise.
11965 * io/sendfile64.c: Likewise.
11966 * io/statfs.c: Likewise.
11967 * io/statfs64.c: Likewise.
11968 * io/statvfs.c: Likewise.
11969 * io/statvfs64.c: Likewise.
11970 * io/symlink.c: Likewise.
11971 * io/symlinkat.c: Likewise.
11972 * io/ttyname.c: Likewise.
11973 * io/ttyname_r.c: Likewise.
11974 * io/umask.c: Likewise.
11975 * io/unlink.c: Likewise.
11976 * io/unlinkat.c: Likewise.
11977 * io/utime.c: Likewise.
11978 * io/utimensat.c: Likewise.
11979 * io/write.c: Likewise.
11980 * io/xmknod.c: Likewise.
11981 * io/xmknodat.c: Likewise.
11982 * io/xstat.c: Likewise.
11983 * io/xstat64.c: Likewise.
11984 * login/getpt.c: Likewise.
11985 * login/grantpt.c: Likewise.
11986 * login/unlockpt.c: Likewise.
11987 * math/e_acoshl.c: Likewise.
11988 * math/e_acosl.c: Likewise.
11989 * math/e_asinl.c: Likewise.
11990 * math/e_atan2l.c: Likewise.
11991 * math/e_atanhl.c: Likewise.
11992 * math/e_coshl.c: Likewise.
11993 * math/e_expl.c: Likewise.
11994 * math/e_fmodl.c: Likewise.
11995 * math/e_gammal_r.c: Likewise.
11996 * math/e_hypotl.c: Likewise.
11997 * math/e_j0l.c: Likewise.
11998 * math/e_j1l.c: Likewise.
11999 * math/e_jnl.c: Likewise.
12000 * math/e_lgammal_r.c: Likewise.
12001 * math/e_log10l.c: Likewise.
12002 * math/e_log2l.c: Likewise.
12003 * math/e_logl.c: Likewise.
12004 * math/e_powl.c: Likewise.
12005 * math/e_rem_pio2l.c: Likewise.
12006 * math/e_sinhl.c: Likewise.
12007 * math/e_sqrtl.c: Likewise.
12008 * math/fclrexcpt.c: Likewise.
12009 * math/fedisblxcpt.c: Likewise.
12010 * math/feenablxcpt.c: Likewise.
12011 * math/fegetenv.c: Likewise.
12012 * math/fegetexcept.c: Likewise.
12013 * math/fegetround.c: Likewise.
12014 * math/feholdexcpt.c: Likewise.
12015 * math/fesetenv.c: Likewise.
12016 * math/fesetround.c: Likewise.
12017 * math/feupdateenv.c: Likewise.
12018 * math/fgetexcptflg.c: Likewise.
12019 * math/fraiseexcpt.c: Likewise.
12020 * math/fsetexcptflg.c: Likewise.
12021 * math/ftestexcept.c: Likewise.
12022 * math/k_cosl.c: Likewise.
12023 * math/k_rem_pio2l.c: Likewise.
12024 * math/k_sinl.c: Likewise.
12025 * math/k_tanl.c: Likewise.
12026 * math/s_asinhl.c: Likewise.
12027 * math/s_atanl.c: Likewise.
12028 * math/s_cbrtl.c: Likewise.
12029 * math/s_erfl.c: Likewise.
12030 * math/s_expm1l.c: Likewise.
12031 * math/s_log1pl.c: Likewise.
12032 * math/s_tanhl.c: Likewise.
12033 * misc/acct.c: Likewise.
12034 * misc/brk.c: Likewise.
12035 * misc/chflags.c: Likewise.
12036 * misc/chroot.c: Likewise.
12037 * misc/fchflags.c: Likewise.
12038 * misc/fgetxattr.c: Likewise.
12039 * misc/flistxattr.c: Likewise.
12040 * misc/fremovexattr.c: Likewise.
12041 * misc/fsetxattr.c: Likewise.
12042 * misc/fsync.c: Likewise.
12043 * misc/ftruncate.c: Likewise.
12044 * misc/futimes.c: Likewise.
12045 * misc/futimesat.c: Likewise.
12046 * misc/getdomain.c: Likewise.
12047 * misc/getdtsz.c: Likewise.
12048 * misc/gethostid.c: Likewise.
12049 * misc/gethostname.c: Likewise.
12050 * misc/getloadavg.c: Likewise.
12051 * misc/getpagesize.c: Likewise.
12052 * misc/getsysstats.c: Likewise.
12053 * misc/getxattr.c: Likewise.
12054 * misc/gtty.c: Likewise.
12055 * misc/ioctl.c: Likewise.
12056 * misc/lgetxattr.c: Likewise.
12057 * misc/listxattr.c: Likewise.
12058 * misc/llistxattr.c: Likewise.
12059 * misc/lremovexattr.c: Likewise.
12060 * misc/lsetxattr.c: Likewise.
12061 * misc/lutimes.c: Likewise.
12062 * misc/madvise.c: Likewise.
12063 * misc/mincore.c: Likewise.
12064 * misc/mlock.c: Likewise.
12065 * misc/mlockall.c: Likewise.
12066 * misc/mmap.c: Likewise.
12067 * misc/mprotect.c: Likewise.
12068 * misc/msync.c: Likewise.
12069 * misc/munlock.c: Likewise.
12070 * misc/munlockall.c: Likewise.
12071 * misc/munmap.c: Likewise.
12072 * misc/preadv.c: Likewise.
12073 * misc/preadv64.c: Likewise.
12074 * misc/ptrace.c: Likewise.
12075 * misc/pwritev.c: Likewise.
12076 * misc/pwritev64.c: Likewise.
12077 * misc/readv.c: Likewise.
12078 * misc/reboot.c: Likewise.
12079 * misc/remap_file_pages.c: Likewise.
12080 * misc/removexattr.c: Likewise.
12081 * misc/revoke.c: Likewise.
12082 * misc/select.c: Likewise.
12083 * misc/setdomain.c: Likewise.
12084 * misc/setegid.c: Likewise.
12085 * misc/seteuid.c: Likewise.
12086 * misc/sethostid.c: Likewise.
12087 * misc/sethostname.c: Likewise.
12088 * misc/setregid.c: Likewise.
12089 * misc/setreuid.c: Likewise.
12090 * misc/setxattr.c: Likewise.
12091 * misc/sstk.c: Likewise.
12092 * misc/stty.c: Likewise.
12093 * misc/swapoff.c: Likewise.
12094 * misc/swapon.c: Likewise.
12095 * misc/sync.c: Likewise.
12096 * misc/syncfs.c: Likewise.
12097 * misc/syscall.c: Likewise.
12098 * misc/truncate.c: Likewise.
12099 * misc/ualarm.c: Likewise.
12100 * misc/usleep.c: Likewise.
12101 * misc/ustat.c: Likewise.
12102 * misc/utimes.c: Likewise.
12103 * misc/vhangup.c: Likewise.
12104 * misc/writev.c: Likewise.
12105 * posix/_exit.c: Likewise.
12106 * posix/alarm.c: Likewise.
12107 * posix/execve.c: Likewise.
12108 * posix/fexecve.c: Likewise.
12109 * posix/fork.c: Likewise.
12110 * posix/fpathconf.c: Likewise.
12111 * posix/getaddrinfo.c: Likewise.
12112 * posix/getegid.c: Likewise.
12113 * posix/geteuid.c: Likewise.
12114 * posix/getgid.c: Likewise.
12115 * posix/getgroups.c: Likewise.
12116 * posix/getlogin.c: Likewise.
12117 * posix/getlogin_r.c: Likewise.
12118 * posix/getpgid.c: Likewise.
12119 * posix/getpid.c: Likewise.
12120 * posix/getppid.c: Likewise.
12121 * posix/getresgid.c: Likewise.
12122 * posix/getresuid.c: Likewise.
12123 * posix/getsid.c: Likewise.
12124 * posix/getuid.c: Likewise.
12125 * posix/glob64.c: Likewise.
12126 * posix/nanosleep.c: Likewise.
12127 * posix/pathconf.c: Likewise.
12128 * posix/pause.c: Likewise.
12129 * posix/posix_madvise.c: Likewise.
12130 * posix/pread.c: Likewise.
12131 * posix/pread64.c: Likewise.
12132 * posix/pwrite.c: Likewise.
12133 * posix/pwrite64.c: Likewise.
12134 * posix/sched_getaffinity.c: Likewise.
12135 * posix/sched_getp.c: Likewise.
12136 * posix/sched_gets.c: Likewise.
12137 * posix/sched_primax.c: Likewise.
12138 * posix/sched_primin.c: Likewise.
12139 * posix/sched_rr_gi.c: Likewise.
12140 * posix/sched_setaffinity.c: Likewise.
12141 * posix/sched_setp.c: Likewise.
12142 * posix/sched_sets.c: Likewise.
12143 * posix/sched_yield.c: Likewise.
12144 * posix/setgid.c: Likewise.
12145 * posix/setlogin.c: Likewise.
12146 * posix/setpgid.c: Likewise.
12147 * posix/setresgid.c: Likewise.
12148 * posix/setresuid.c: Likewise.
12149 * posix/setsid.c: Likewise.
12150 * posix/setuid.c: Likewise.
12151 * posix/sleep.c: Likewise.
12152 * posix/spawni.c: Likewise.
12153 * posix/sysconf.c: Likewise.
12154 * posix/times.c: Likewise.
12155 * posix/wait.c: Likewise.
12156 * posix/wait3.c: Likewise.
12157 * posix/wait4.c: Likewise.
12158 * posix/waitpid.c: Likewise.
12159 * resolv/gai_sigqueue.c: Likewise.
12160 * resource/getpriority.c: Likewise.
12161 * resource/getrlimit.c: Likewise.
12162 * resource/getrusage.c: Likewise.
12163 * resource/nice.c: Likewise.
12164 * resource/setpriority.c: Likewise.
12165 * resource/setrlimit.c: Likewise.
12166 * resource/ulimit.c: Likewise.
12167 * rt/aio_cancel.c: Likewise.
12168 * rt/aio_fsync.c: Likewise.
12169 * rt/aio_read.c: Likewise.
12170 * rt/aio_sigqueue.c: Likewise.
12171 * rt/aio_suspend.c: Likewise.
12172 * rt/aio_write.c: Likewise.
12173 * rt/clock_getres.c: Likewise.
12174 * rt/clock_gettime.c: Likewise.
12175 * rt/clock_nanosleep.c: Likewise.
12176 * rt/clock_settime.c: Likewise.
12177 * rt/lio_listio.c: Likewise.
12178 * rt/mq_close.c: Likewise.
12179 * rt/mq_getattr.c: Likewise.
12180 * rt/mq_notify.c: Likewise.
12181 * rt/mq_open.c: Likewise.
12182 * rt/mq_receive.c: Likewise.
12183 * rt/mq_send.c: Likewise.
12184 * rt/mq_setattr.c: Likewise.
12185 * rt/mq_timedreceive.c: Likewise.
12186 * rt/mq_timedsend.c: Likewise.
12187 * rt/mq_unlink.c: Likewise.
12188 * rt/shm_open.c: Likewise.
12189 * rt/shm_unlink.c: Likewise.
12190 * rt/timer_create.c: Likewise.
12191 * rt/timer_delete.c: Likewise.
12192 * rt/timer_getoverr.c: Likewise.
12193 * rt/timer_gettime.c: Likewise.
12194 * rt/timer_settime.c: Likewise.
12195 * setjmp/__longjmp.c: Likewise.
12196 * setjmp/setjmp.c: Likewise.
12197 * signal/kill.c: Likewise.
12198 * signal/killpg.c: Likewise.
12199 * signal/raise.c: Likewise.
12200 * signal/sigaction.c: Likewise.
12201 * signal/sigaltstack.c: Likewise.
12202 * signal/sigblock.c: Likewise.
12203 * signal/sigignore.c: Likewise.
12204 * signal/sigintr.c: Likewise.
12205 * signal/signal.c: Likewise.
12206 * signal/sigpause.c: Likewise.
12207 * signal/sigpending.c: Likewise.
12208 * signal/sigqueue.c: Likewise.
12209 * signal/sigreturn.c: Likewise.
12210 * signal/sigset.c: Likewise.
12211 * signal/sigsetmask.c: Likewise.
12212 * signal/sigstack.c: Likewise.
12213 * signal/sigsuspend.c: Likewise.
12214 * signal/sigtimedwait.c: Likewise.
12215 * signal/sigvec.c: Likewise.
12216 * signal/sigwait.c: Likewise.
12217 * signal/sigwaitinfo.c: Likewise.
12218 * signal/sysv_signal.c: Likewise.
12219 * socket/accept.c: Likewise.
12220 * socket/accept4.c: Likewise.
12221 * socket/bind.c: Likewise.
12222 * socket/connect.c: Likewise.
12223 * socket/getpeername.c: Likewise.
12224 * socket/getsockname.c: Likewise.
12225 * socket/getsockopt.c: Likewise.
12226 * socket/isfdtype.c: Likewise.
12227 * socket/listen.c: Likewise.
12228 * socket/recv.c: Likewise.
12229 * socket/recvfrom.c: Likewise.
12230 * socket/recvmsg.c: Likewise.
12231 * socket/send.c: Likewise.
12232 * socket/sendmsg.c: Likewise.
12233 * socket/sendto.c: Likewise.
12234 * socket/setsockopt.c: Likewise.
12235 * socket/shutdown.c: Likewise.
12236 * socket/sockatmark.c: Likewise.
12237 * socket/socket.c: Likewise.
12238 * socket/socketpair.c: Likewise.
12239 * stdio-common/ctermid.c: Likewise.
12240 * stdio-common/cuserid.c: Likewise.
12241 * stdio-common/remove.c: Likewise.
12242 * stdio-common/rename.c: Likewise.
12243 * stdio-common/renameat.c: Likewise.
12244 * stdio-common/tempname.c: Likewise.
12245 * stdlib/getcontext.c: Likewise.
12246 * stdlib/makecontext.c: Likewise.
12247 * stdlib/setcontext.c: Likewise.
12248 * stdlib/swapcontext.c: Likewise.
12249 * stdlib/system.c: Likewise.
12250 * streams/fattach.c: Likewise.
12251 * streams/fdetach.c: Likewise.
12252 * streams/getmsg.c: Likewise.
12253 * streams/getpmsg.c: Likewise.
12254 * streams/putmsg.c: Likewise.
12255 * streams/putpmsg.c: Likewise.
12256 * sysdeps/unix/bsd/getpt.c: Likewise.
12257 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12258 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12259 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12261 Likewise.
12262 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12263 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12264 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12265 * sysvipc/msgctl.c: Likewise.
12266 * sysvipc/msgget.c: Likewise.
12267 * sysvipc/msgrcv.c: Likewise.
12268 * sysvipc/msgsnd.c: Likewise.
12269 * sysvipc/semctl.c: Likewise.
12270 * sysvipc/semget.c: Likewise.
12271 * sysvipc/semop.c: Likewise.
12272 * sysvipc/semtimedop.c: Likewise.
12273 * sysvipc/shmat.c: Likewise.
12274 * sysvipc/shmctl.c: Likewise.
12275 * sysvipc/shmdt.c: Likewise.
12276 * sysvipc/shmget.c: Likewise.
12277 * termios/tcdrain.c: Likewise.
12278 * termios/tcflow.c: Likewise.
12279 * termios/tcflush.c: Likewise.
12280 * termios/tcgetattr.c: Likewise.
12281 * termios/tcgetpgrp.c: Likewise.
12282 * termios/tcsendbrk.c: Likewise.
12283 * termios/tcsetattr.c: Likewise.
12284 * termios/tcsetpgrp.c: Likewise.
12285 * time/adjtime.c: Likewise.
12286 * time/clock.c: Likewise.
12287 * time/getitimer.c: Likewise.
12288 * time/gettimeofday.c: Likewise.
12289 * time/setitimer.c: Likewise.
12290 * time/settimeofday.c: Likewise.
12291 * time/stime.c: Likewise.
12292 * time/time.c: Likewise.
12293
122942012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12295
a20492cf
PT
12296 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12297 /usr/old/bin.
12298
72e182e3
PT
12299 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12300 instead of spaces.
12301 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12302
fbeafede
JM
123032012-11-03 Joseph Myers <joseph@codesourcery.com>
12304
5b5b04d6
JM
12305 [BZ #14796]
12306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12307 FE_TONEAREST before applying Dekker multiplication and Knuth
12308 addition. Clear inexact exceptions and check for exact zero
12309 results afterwards.
12310 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12311 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12312 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12313 * math/libm-test.inc (fma_test): Add more tests.
12314 (fma_test_towardzero): Likewise.
12315 (fma_test_downward): Likewise.
12316 (fma_test_upward): Likewise.
12317 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12318 function.
12319 (libc_fesetround): New macro.
12320 (libc_fesetroundf): Likewise.
12321 (libc_fesetroundl): Likewise.
12322 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12323 function.
12324 (libc_fesetround_387): Likewise.
12325 (libc_fesetroundf): New macro.
12326 (libc_fesetround): Likewise.
12327 (libc_fesetroundl): Likewise.
12328 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12329 function.
12330 (libc_fesetroundf): New macro.
12331 (libc_fesetround): Likewise.
12332 (libc_fesetroundl): Likewise.
12333 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12334 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12335 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12336 libm_hidden_ver.
12337 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12338 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12339 libm_hidden_def.
12340 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12341 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12342 libm_hidden_ver.
12343 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12344 libm_hidden_def.
12345
fbeafede
JM
12346 [BZ #3439]
12347 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12348 integer constant usable in #if and use that to give value to enum
12349 constant.
12350 (FE_DIVBYZERO): Likewise.
12351 (FE_UNDERFLOW): Likewise.
12352 (FE_OVERFLOW): Likewise.
12353 (FE_INVALID): Likewise.
12354 (FE_INVALID_SNAN): Likewise.
12355 (FE_INVALID_ISI): Likewise.
12356 (FE_INVALID_IDI): Likewise.
12357 (FE_INVALID_ZDZ): Likewise.
12358 (FE_INVALID_IMZ): Likewise.
12359 (FE_INVALID_COMPARE): Likewise.
12360 (FE_INVALID_SOFTWARE): Likewise.
12361 (FE_INVALID_SQRT): Likewise.
12362 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12363 (FE_TONEAREST): Likewise.
12364 (FE_TOWARDZERO): Likewise.
12365 (FE_UPWARD): Likewise.
12366 (FE_DOWNWARD): Likewise.
12367 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12368 (FE_DIVBYZERO): Likewise.
12369 (FE_OVERFLOW): Likewise.
12370 (FE_UNDERFLOW): Likewise.
12371 (FE_INEXACT): Likewise.
12372 (FE_TONEAREST): Likewise.
12373 (FE_DOWNWARD): Likewise.
12374 (FE_UPWARD): Likewise.
12375 (FE_TOWARDZERO): Likewise.
12376 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12377 (FE_UNDERFLOW): Likewise.
12378 (FE_OVERFLOW): Likewise.
12379 (FE_DIVBYZERO): Likewise.
12380 (FE_INVALID): Likewise.
12381 (FE_TONEAREST): Likewise.
12382 (FE_TOWARDZERO): Likewise.
12383 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12384 (FE_OVERFLOW): Likewise.
12385 (FE_UNDERFLOW): Likewise.
12386 (FE_DIVBYZERO): Likewise.
12387 (FE_INEXACT): Likewise.
12388 (FE_TONEAREST): Likewise.
12389 (FE_TOWARDZERO): Likewise.
12390 (FE_UPWARD): Likewise.
12391 (FE_DOWNWARD): Likewise.
12392 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12393 (FE_DIVBYZERO): Likewise.
12394 (FE_OVERFLOW): Likewise.
12395 (FE_UNDERFLOW): Likewise.
12396 (FE_INEXACT): Likewise.
12397 (FE_TONEAREST): Likewise.
12398 (FE_DOWNWARD): Likewise.
12399 (FE_UPWARD): Likewise.
12400 (FE_TOWARDZERO): Likewise.
12401
105ca950
CM
124022012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12403
12404 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12405
a542b389
AS
124062012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12407
12408 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12409 commands. Quote $PWD.
12410 (blacklist_exports): Don't use remove_newlines. Replace "declare
12411 -x" by "export".
12412 (remove_newlines): Remove.
12413
f62c8abc
L
124142012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12415
12416 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12417 * stdlib/stdlib.h (atof): Moved to ...
12418 * include/bits/stdlib-float.h: Here. New file.
12419 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12420 * stdlib/bits/stdlib-float.h: New file.
12421 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12422 -mno-sse -mno-mmx.
12423 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12424 <xmmintrin.h>.
12425
0155d5b2
JM
124262012-11-02 Joseph Myers <joseph@codesourcery.com>
12427
a68d0680
JM
12428 * conform/conformtest.pl (@headers): Add fenv.h.
12429 * conform/data/fenv.h-data: New file.
12430 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12431 include of <math/fenv.h>.
12432
caf7f573
JM
12433 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12434 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12435 && !UNIX98]. Enables tests for XOPEN2K8.
12436 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12437 POSIX2008]: Likewise.
12438
6c073ad6
JM
12439 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12440 (struct rusage): Do not expect type or its members.
12441
0155d5b2
JM
12442 [BZ #3439]
12443 * math/math.h (FP_NAN): Define macro to integer constant usable in
12444 #if and use that to give value to enum constant.
12445 (FP_INFINITE): Likewise.
12446 (FP_ZERO): Likewise.
12447 (FP_SUBNORMAL): Likewise.
12448 (FP_NORMAL): Likewise.
12449
b5dcacb4
AS
124502012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12451
12452 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12453 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12454 arguments.
12455
f7934be8
RM
124562012-11-02 Roland McGrath <roland@hack.frob.com>
12457
12458 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12459 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12460 autoconf-time if not.
12461 * configure.in: Remove AC_PREREQ.
12462
d7d08bde
TMQMF
124632012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12464
12465 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12466 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12467 of the internal implementation.
12468
dcdae19a
JM
124692012-11-02 Joseph Myers <joseph@codesourcery.com>
12470
12471 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12472 except include of <misc/sys/syslog.h>.
12473
d6cffd3e
AS
124742012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12475
12476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12477 function returns with a NULL context exit with zero.
12478
b3563932
TMQMF
124792012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12480
12481 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12482
b288a93d
L
124832012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12484
12485 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12486 (run_program_cmd): This.
12487 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12488 (tst_langinfo): New variable. Use it.
12489
a2421a68
SAS
124902012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12491
12492 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12493 floating point opcodes.
12494
6f796e1b
TS
124952012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12496
7402596b
TS
12497 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12498 variable.
12499
d0d4f868
TS
12500 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12501
6f796e1b
TS
12502 * sysdeps/mach/hurd/powerpc: Remove directory.
12503 * sysdeps/mach/powerpc: Likewise.
12504
4da224a2
AS
125052012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12506
12507 * scripts/check-local-headers.sh: Ignore c++ headers.
12508
341dd673
TS
125092012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12510
12511 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12512 __libc_cleanup_region_start argument.
12513
473611b2
JM
125142012-11-01 Joseph Myers <joseph@codesourcery.com>
12515
12516 [BZ #14784]
12517 [BZ #14785]
12518 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12519 x * y using scaling, not as x * y + z.
12520 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12521 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12522 * math/libm-test.inc (fma_test): Add more tests.
12523 (fma_test_towardzero): Likewise.
12524 (fma_test_downward): Likewise.
12525 (fma_test_upward): Likewise.
12526
4078da3d
TS
125272012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12528
12529 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12530
903252aa
JM
125312012-10-31 Joseph Myers <joseph@codesourcery.com>
12532
12533 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12534 New variable.
12535
cbc818d0
TS
125362012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12537
12538 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12539
5a03cb1e
AS
125402012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12541
12542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12543 Fix sort order.
12544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12545 Likewise.
12546
90aff2ff
TMQMF
125472012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12548
12549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12550 Fix the order of the list for glibc 2.17.
12551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12552 Likewise.
12553
1818fcb7
AS
125542012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12555
12556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12557
ef82f4da
JM
125582012-10-31 Joseph Myers <joseph@codesourcery.com>
12559
16a0e2ec
JM
12560 [BZ #14610]
12561 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12562 for low part of x being zero before using __atanl (y).
12563 * math/libm-test.inc (atan2_test): Add another test.
12564
0eb69512
JM
12565 * manual/install.texi (Configuring and compiling): Document
12566 general use of test-wrapper and test-wrapper-env.
12567 * INSTALL: Regenerated.
12568
ef82f4da
JM
12569 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12570 (__fma): Do not extract and scale down low bits on after-rounding
12571 systems when result rounded to normal precision would have normal
12572 exponent.
12573 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12574 (__fmal): Do not extract and scale down low bits on after-rounding
12575 systems when result rounded to normal precision would have normal
12576 exponent.
12577 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12578 (__fmal): Do not extract and scale down low bits on after-rounding
12579 systems when result rounded to normal precision would have normal
12580 exponent.
12581 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12582 macro.
12583 (fma_test): Add more tests.
12584 (fma_test_towardzero): Likewise.
12585 (fma_test_downward): Likewise.
12586 (fma_test_upward): Likewise.
12587
954ef0d9
L
125882012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12589
12590 * sysdeps/i386/tininess.h: Renamed to ...
12591 * sysdeps/x86/tininess.h: This.
12592 * sysdeps/x86_64/tininess.h: Removed.
12593
df61ffb2
JM
125942012-10-30 Joseph Myers <joseph@codesourcery.com>
12595
12596 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12597 input. Use $(build-program-cmd).
12598 ($(objpfx)tst-array1-static.out): Likewise.
12599 ($(objpfx)tst-array2.out): Likewise.
12600 ($(objpfx)tst-array3.out): Likewise.
12601 ($(objpfx)tst-array4.out): Likewise.
12602 ($(objpfx)tst-array5.out): Likewise.
12603 ($(objpfx)tst-array5-static.out): Likewise.
12604
01767843
CM
126052012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12606
47cc1490
CM
12607 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12608 if defined.
12609
01767843
CM
12610 * nss/nsswitch.h (nss_interface_function): Provide new
12611 macro for use with NSS functions.
12612 * grp/initgroups.c: Use new macro.
12613 * nss/getXXbyYY.c: Likewise.
12614 * nss/getXXbyYY_r.c: Likewise.
12615 * nss/getXXent.c: Likewise.
12616 * nss/getXXent_r.c: Likewise.
12617 * sysdeps/posix/getaddrinfo.c: Likewise.
12618
8321aa97
AJ
126192012-10-30 Andreas Jaeger <aj@suse.de>
12620
12621 * po/ru.po: Update Russion translation from translation project.
12622
2a27fd6d
JM
126232012-10-30 Joseph Myers <joseph@codesourcery.com>
12624
8627a232
JM
12625 [BZ #14152]
12626 [BZ #14783]
12627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12628 result and shift together with sticky bit instead of replicating
12629 round-to-nearest rounding.
12630 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12631 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12632 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12633 missing underflow exceptions.
12634 (fma_test_towardzero): Add more tests.
12635 (fma_test_downward): Likewise.
12636 (fma_test_upward): Likewise.
12637
2a27fd6d
JM
12638 [BZ #14047]
12639 * sysdeps/generic/tininess.h: New file.
12640 * sysdeps/i386/tininess.h: Likewise.
12641 * sysdeps/sh/tininess.h: Likewise.
12642 * sysdeps/x86_64/tininess.h: Likewise.
12643 * stdlib/tst-strtod-underflow.c: Likewise.
12644 * stdlib/tst-tininess.c: Likewise.
12645 * stdlib/strtod_l.c: Include <tininess.h>.
12646 (round_and_return): Do not set errno for exact underflow cases.
12647 Force an underflow exception when setting errno for underflow.
12648 Determine underflow based on rounding to normal precision if
12649 TININESS_AFTER_ROUNDING.
12650 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12651 ERANGE for exact underflow cases.
12652 * stdlib/Makefile (tests): Add tst-tininess and
12653 tst-strtod-underflow.
12654 ($(objpfx)tst-tininess): Use $(link-libm).
12655 ($(objpfx)tst-strtod-underflow): Likewise.
12656
e7170363
AJ
126572012-10-30 Andreas Jaeger <aj@suse.de>
12658
e5088dc6
AJ
12659 [BZ#14767]
12660 * elf/Makefile (tests): Remove conditional for have-initfini-array
12661 since this is now always required and the variable does not exist
12662 anymore.
12663 (tests-static): Likewise.
12664 (modules-names): Likewise.
12665
e7170363 12666 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12667
12668 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12669 merged with constructor/destructor.
12670 (init_array): Likewise.
12671 * elf/tst-array2dep.c (fini_array): Likewise.
12672 (init_array): Likewise.
12673
60457d8a
MF
126742012-10-29 Mike Frysinger <vapier@gentoo.org>
12675
12676 * manual/message.texi: Delete @cartouche tags.
12677
8bece752
PT
126782012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12679
94ce799f
PT
12680 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12681 EOPNOTSUPP.
12682 * sysdeps/mach/hurd/fsync.c: Likewise.
12683
8bece752
PT
12684 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12685 [_POSIX_REALTIME_SIGNALS]: Change condition to
12686 [_POSIX_REALTIME_SIGNALS > 0].
12687
86ebe6b1
AJ
126882012-10-27 Andreas Jaeger <aj@suse.de>
12689
12690 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12691 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12692 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12693 [__WORDSIZE != 64]: Likewise.
12694
54399c08
L
126952012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12696
12697 * iconvdata/tst-table.sh: Remove ${SHELL}.
12698 * iconvdata/tst-tables.sh: Likewise.
12699
e2211bed
DM
127002012-10-25 David S. Miller <davem@davemloft.net>
12701
12702 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12703 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12704 of strtoull.
12705
f303f97c
DM
12706 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12707 ifunc-impl-list.c
12708 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12709 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12710 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12711 file.
12712
1e9d84cd
RM
127132012-10-25 Roland McGrath <roland@hack.frob.com>
12714
12715 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12716 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12717 __getdirentries.
12718
df381762
JM
127192012-10-25 Joseph Myers <joseph@codesourcery.com>
12720 Jim Blandy <jimb@codesourcery.com>
12721
12722 * scripts/cross-test-ssh.sh: New file.
12723 * manual/install.texi (Configuring and compiling): Document use of
12724 cross-test-ssh.sh.
12725 * INSTALL: Regenerated.
12726
bff64913
PT
127272012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12728
12729 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12730 EOPNOTSUPP.
12731
25fe8932
JM
127322012-10-25 Joseph Myers <joseph@codesourcery.com>
12733
12734 * Makeconfig (run-program-prefix): Fix comment.
12735
cc1290d0
JM
127362012-10-24 Joseph Myers <joseph@codesourcery.com>
12737 Jim Blandy <jimb@codesourcery.com>
12738
12739 * Makeconfig (test-wrapper): New variable,
12740 (test-wrapper-env): Likewise.
12741 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12742 (run-built-tests): Define to yes.
12743 (run-program-prefix): Use $(test-wrapper).
12744 (built-program-cmd): Likewise.
12745 * Rules (make-test-out): Use $(test-wrapper-env) and
12746 $(host-built-program-cmd).
12747 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12748 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12749 tst-pathopt.sh.
12750 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12751 $(test-wrapper-env) to tst-rtld-load-self.sh.
12752 ($(objpfx)order2.out): Use $(test-wrapper).
12753 ($(objpfx)tst-initorder.out): Likewise.
12754 ($(objpfx)tst-initorder2.out): Likewise.
12755 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12756 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12757 (test_wrapper_env): New variable. Use it to run ld.so.
12758 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12759 Use it to run ld.so.
12760 (test_wrapper_env): Likewise.
12761 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12762 $(test-wrapper) to run-iconv-test.sh.
12763 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12764 (ICONV): Use $test_wrapper.
12765 * posix/Makefile ($(objpfx)globtest.out): Pass
12766 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12767 globtest.sh, not $(run-program-prefix).
12768 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12769 (test_wrapper): Likewise.
12770 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12771 set together with run_via_rtld_prefix.
12772 (run_program_prefix): Define in terms of test_wrapper and
12773 run_via_rtld_prefix.
12774
6e6249d0
RM
127752012-10-24 Roland McGrath <roland@hack.frob.com>
12776
12777 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12778 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12779 Targets removed.
12780
12781 [BZ #14743]
12782 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12783 Declare __clock_getres, __clock_gettime, __clock_settime,
12784 __clock_nanosleep, and __clock_getcpuclockid.
12785 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12786 Remove librt_hidden_def (clock_gettime).
12787 * sysdeps/unix/clock_gettime.c: Likewise.
12788 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12789 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12790 * rt/clock_getres.c: Define __clock_getres as an alias.
12791 * sysdeps/posix/clock_getres.c: Likewise.
12792 * rt/clock_settime.c: Define __clock_settime as an alias.
12793 * sysdeps/unix/clock_settime.c: Likewise.
12794 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12795 * sysdeps/unix/clock_nanosleep.c: Likewise.
12796 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12797 * rt/clock-compat.c: New file.
12798 * rt/Makefile (librt-routines): Add clock-compat and move
12799 $(clock-routines) to ...
12800 (routines): ... here, new variable.
12801 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12802 Don't add get_clockfreq here.
12803 * rt/Versions (libc: GLIBC_2.17): New version set.
12804 Add clock_* symbols here.
12805 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12806 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12807 (GLIBC_2.17): Add clock_* symbols.
12808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12810 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12812 Likewise.
12813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12814 Likewise.
12815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12819 * NEWS: Mention the move.
12820
12821 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12822 Use __open, __read, __close rather than their public counterparts.
12823 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12824 (__get_clockfreq_via_cpuinfo): Likewise.
12825 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12826 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12827
12828 * config.h.in (HAVE_IFUNC): New #undef.
12829 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12830 was successful.
12831 * configure: Regenerated.
12832
0cae3f4b
MF
128332012-10-24 Mike Frysinger <vapier@gentoo.org>
12834
12835 * configure.in: Move READELF check to start of file.
12836 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12837 libc_cv_asm_gnu_indirect_function in the process.
12838 * configure: Regenerated.
12839
8175a253
MF
128402012-10-24 Mike Frysinger <vapier@gentoo.org>
12841
12842 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12843 send the output to /dev/null.
12844 (libc_cv_cc_with_libunwind): Likewise.
12845 (libc_cv_as_noexecstack): Likewise.
12846 * configure: Regenerate.
12847
0708a7d1
JM
128482012-10-24 Joseph Myers <joseph@codesourcery.com>
12849
10b40d85
JM
12850 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12851
0708a7d1
JM
12852 * posix/globtest.sh (TMPDIR): Do not set.
12853 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12854 (testout): Likewise.
12855
9fddec1a
AJ
128562012-10-24 Andreas Jaeger <aj@suse.de>
12857
3a8db22f
AJ
12858 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12859 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12860 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12861 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12862 posix_fadvise64, posix_fallocate64.
12863
9fddec1a
AJ
12864 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12865 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12866 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12867 Likewise.
12868 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12869 Likewise.
12870 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12871
12872 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12873 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12874 <bits/fcntl-linux.h>.
12875 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12876
12877 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12878 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12879 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12880 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12881 [__WORDSIZE != 64]: Likewise.
12882
ebfd1bbd
JM
128832012-10-23 Joseph Myers <joseph@codesourcery.com>
12884
03ac099f
JM
12885 * Makeconfig (run-built-tests): New variable.
12886 * Rules [$(cross-compiling) = yes]: Change condition to
12887 [$(run-built-tests) = no].
12888 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12889 to [$(run-built-tests) = yes].
12890 * elf/Makefile [$(cross-compiling) = no]: Likewise
12891 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12892 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12893 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12894 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12895 * io/Makefile [$(cross-compiling) = no]: Likewise.
12896 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12897 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12898 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12899 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12900 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12901 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12902 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12903 * string/Makefile [$(cross-compiling) = no]: Likewise.
12904
ebfd1bbd
JM
12905 * posix/Makefile ($(objpfx)globtest.out): Pass
12906 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12907 $(rtld-installed-name).
12908 * posix/globtest.sh (elf_objpfx): Remove variable.
12909 (rtld_installed_name): Likewise.
12910 (library_path): Likewise.
12911 (run_program_prefix): New variable. Use for running globtest
12912 binary.
12913
166bca24
JB
129142012-10-23 Jim Blandy <jimb@codesourcery.com>
12915 Joseph Myers <joseph@codesourcery.com>
12916
12917 * Makeconfig (host-built-program-cmd): New variable.
12918 * elf/Makefile (tst-stackguard1-ARGS): Use
12919 $(host-built-program-cmd).
12920 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12921 (tst-spawn-ARGS): Likewise.
12922 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12923
88866099
JM
129242012-10-23 Joseph Myers <joseph@codesourcery.com>
12925 Jim Blandy <jimb@codesourcery.com>
12926
12927 * Makeconfig (run-via-rtld-prefix): New variable.
12928 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12929 (built-program-cmd): Likewise.
12930
b4b4c296
AJ
129312012-10-22 Andreas Jaeger <aj@suse.de>
12932
12933 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12934 __O_RSYNC if it exists, otherwise to O_SYNC.
12935
6fb54a22
JB
129362012-10-22 Jim Blandy <jimb@codesourcery.com>
12937 Joseph Myers <joseph@codesourcery.com>
12938
12939 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12940 /dev/null.
12941 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12942 from /dev/null
12943 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12944 /dev/null.
12945
481b90b9
AJ
129462012-10-22 Andreas Jaeger <aj@suse.de>
12947
2a0e2669
AJ
12948 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12949 Define always.
12950 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12951
76e38f9a
AJ
12952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12953 bits/fcntl-linux.h.
12954
7cd37b43
AJ
12955 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12956 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12957
481b90b9
AJ
12958 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12959 to __O_LARGEFILE.
12960 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12961 to __O_LARGEFILE.
12962
aba75984
JB
129632012-10-21 Jim Blandy <jimb@codesourcery.com>
12964 Joseph Myers <joseph@codesourcery.com>
12965
12966 * config.make.in (NM): New variable.
12967
88d4247f
AJ
129682012-10-21 Andreas Jaeger <aj@suse.de>
12969
12970 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12971 definitions and declarations that are provided by
12972 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12973
f2eed205
L
129742012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12975
12976 [BZ #14683]
12977 * elf/Makefile (tests-static): Add tst-leaks1-static.
12978 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12979 ($(objpfx)tst-leaks1-static): New rule.
12980 ($(objpfx)tst-leaks1-static-mem): Likewise.
12981 (tst-leaks1-static-ENV): New macro.
12982 * elf/dl-open.c (dl_open_worker): Check the main application
12983 only if SHARED is defined.
12984 * elf/tst-leaks1-static.c: New file.
12985
335e6931
AJ
129862012-10-20 Andreas Jaeger <aj@suse.de>
12987
12988 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12989 generic values for Linux.
12990 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12991 and declarations that are provided by <bits/fcntl-linux.h> and
12992 include <bits/fcntl-linux.h>.
12993 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12994 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12995
ac5c94d3
RM
129962012-10-20 Roland McGrath <roland@hack.frob.com>
12997
12998 * io/fcntl.h: Move include of <bits/types.h> to the top and
12999 include it unconditionally.
13000
de54b33a
L
130012012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13002
228cfb01
L
13003 * wcsmbs/Makefile (tests-ifunc): New variable.
13004 (tests): Add $(tests-ifunc).
13005 * wcsmbs/test-wcschr-ifunc.c: New file.
13006 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13007 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13008 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13009 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13010 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13011
69f07e5f
L
13012 * string/Makefile (tests-ifunc): New variable.
13013 (tests): Add $(tests-ifunc).
13014 * string/test-memccpy.c (TEST_NAME): New macro.
13015 * string/test-memchr.c (TEST_NAME): Likewise.
13016 * string/test-memcmp.c (TEST_NAME): Likewise.
13017 * string/test-memcpy.c (TEST_NAME): Likewise.
13018 * string/test-memmem.c (TEST_NAME): Likewise.
13019 * string/test-memmove.c (TEST_NAME): Likewise.
13020 * string/test-memset.c (TEST_NAME): Likewise.
13021 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13022 * string/test-stpcpy.c (TEST_NAME): Likewise.
13023 * string/test-stpncpy.c (TEST_NAME): Likewise.
13024 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13025 * string/test-strcasestr.c (TEST_NAME): Likewise.
13026 * string/test-strcat.c (TEST_NAME): Likewise.
13027 * string/test-strchr.c (TEST_NAME): Likewise.
13028 * string/test-strcmp.c(TEST_NAME): Likewise.
13029 * string/test-strcpy.c (TEST_NAME): Likewise.
13030 * string/test-strcspn.c (TEST_NAME): Likewise.
13031 * string/test-strlen.c (TEST_NAME): Likewise.
13032 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13033 * string/test-strncmp.c (TEST_NAME): Likewise.
13034 * string/test-strncpy.c (TEST_NAME): Likewise.
13035 * string/test-strnlen.c (TEST_NAME): Likewise.
13036 * string/test-strpbrk.c (TEST_NAME): Likewise.
13037 * string/test-strrchr.c (TEST_NAME): Likewise.
13038 * string/test-strspn.c (TEST_NAME): Likewise.
13039 * string/test-strstr.c (TEST_NAME): Likewise.
13040 * string/test-bcopy-ifunc.c: New file.
13041 * string/test-bzero-ifunc.c: Likewise.
13042 * string/test-memccpy-ifunc.c: Likewise.
13043 * string/test-memchr-ifunc.c: Likewise.
13044 * string/test-memcmp-ifunc.c: Likewise.
13045 * string/test-memcpy-ifunc.c: Likewise.
13046 * string/test-memmem-ifunc.c: Likewise.
13047 * string/test-memmove-ifunc.c: Likewise.
13048 * string/test-mempcpy-ifunc.c: Likewise.
13049 * string/test-memset-ifunc.c: Likewise.
13050 * string/test-rawmemchr-ifunc.c: Likewise.
13051 * string/test-stpcpy-ifunc.c: Likewise.
13052 * string/test-stpncpy-ifunc.c: Likewise.
13053 * string/test-strcasecmp-ifunc.c: Likewise.
13054 * string/test-strcasestr-ifunc.c: Likewise.
13055 * string/test-strcat-ifunc.c: Likewise.
13056 * string/test-strchr-ifunc.c: Likewise.
13057 * string/test-strchrnul-ifunc.c: Likewise.
13058 * string/test-strcmp-ifunc.c: Likewise.
13059 * string/test-strcpy-ifunc.c: Likewise.
13060 * string/test-strcspn-ifunc.c: Likewise.
13061 * string/test-strlen-ifunc.c: Likewise.
13062 * string/test-strncasecmp-ifunc.c: Likewise.
13063 * string/test-strncat-ifunc.c: Likewise.
13064 * string/test-strncmp-ifunc.c: Likewise.
13065 * string/test-strncpy-ifunc.c: Likewise.
13066 * string/test-strnlen-ifunc.c: Likewise.
13067 * string/test-strpbrk-ifunc.c: Likewise.
13068 * string/test-strrchr-ifunc.c: Likewise.
13069 * string/test-strspn-ifunc.c: Likewise.
13070 * string/test-strstr-ifunc.c: Likewise.
13071
de54b33a
L
13072 * debug/Makefile (tests-ifunc): New variable.
13073 (tests): Add $(tests-ifunc).
13074 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13075 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13076 * debug/test-stpcpy_chk-ifunc.c: New file.
13077 * debug/test-strcpy_chk-ifunc.c: Likewise.
13078
88481c16
SP
130792012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13080
13081 [BZ #13601]
13082 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13083 header is not read in.
13084
135948bd
JM
130852012-10-19 Joseph Myers <joseph@codesourcery.com>
13086
89f1c388
JM
13087 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13088 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13089 directly. Pass built executable to script as
13090 $(built-program-cmd).
13091 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13092 $testprogram without using LD_LIBRARY_PATH and $ldso.
13093
e40a0d21
JM
13094 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13095 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13096 $(rtld-installed-name).
13097 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13098 (rtld_installed_name): Likewise.
13099 (library_path): Likewise.
13100 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13101 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13102 $(run-program-prefix) to tst-tables.sh.
13103 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13104 it to run tst-table-from and tst-table-to.
13105 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13106 Pass it to tst-table.sh.
13107 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13108 $(run-program-prefix) to tst-gettext.sh.
13109 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13110 tst-translit.sh.
13111 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13112 tst-gettext2.sh.
13113 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13114 to run tst-gettext.
13115 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13116 to run tst-gettext2.
13117 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13118 to run tst-translit.
13119 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13120 $(run-program-prefix) to tst-mtrace.sh.
13121 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13122 to run tst-mtrace.
13123 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13124 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13125 $(rtld-installed-name).
13126 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13127 (rtld_installed_name): Likewise.
13128 (run_program_prefix): New variable. Use it to run wordexp-test.
13129
728e272a
JM
13130 * Makeconfig (ARCH): Remove all definitions.
13131 (machine): Likewise.
13132 [ARCH]: Remove conditional code.
13133 [!objdir]: Give error.
13134 [!objdir] (objpfx): Remove.
13135 [!objdir] (common-objpfx): Likewise.
13136 [!objdir] (common-objdir): Likewise.
13137 * configure.in (config_makefile): Remove. Hardcode Makefile in
13138 AC_CONFIG_FILES call.
13139 * configure: Regenerated.
13140
d528cdcf
JM
13141 [BZ #13888]
13142 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13143 or TMPDIR.
13144 (testout): Likewise.
13145
135948bd
JM
13146 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13147 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13148 $(rtld-installed-name).
13149 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13150 (rtld_installed_name): Likwise.
13151 (runit): Remove function.
13152 (run_getconf): New variable, Use it for running getconf binary.
13153
38c78296
L
131542012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13155
13156 [BZ #14716]
13157 * string/test-memmem.c (check_result): New function.
13158 (do_one_test): Use it.
13159 (check1): New function.
13160 (test_main): Use it.
13161
d077f65f
MT
131622012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13163
13164 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13165
ced52c71
JM
131662012-10-18 Joseph Myers <joseph@codesourcery.com>
13167
13168 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13169 (_G_LSEEK64): Likewise.
13170 (_G_MMAP64): Likewise.
13171 (_G_FSTAT64): Likewise.
13172 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13173 (_G_LSEEK64): Likewise.
13174 (_G_MMAP64): Likewise.
13175 (_G_FSTAT64): Likewise.
13176 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13177 unconditional. Call __mmap64 directly.
13178 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13179 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13180 __lseek64 directly.
13181 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13182 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13183 __mmap64 directly.
13184 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13185 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13186 __lseek64 directly.
13187 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13188 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13189 __lseek64 directly.
13190 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13191 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13192 __lseek64 directly.
13193 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13194 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13195 __fxstat64 directly.
13196 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13197 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13198 unconditional.
13199 (freopen64) [!_G_OPEN64]: Remove conditional code.
13200 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13201 unconditional.
13202 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13203 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13204 unconditional.
13205 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13206 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13207 unconditional.
13208 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13209 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13210 unconditional.
13211 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13212 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13213 unconditional.
13214 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13215 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13216 unconditional.
13217 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13218 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13219 unconditional.
13220 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13221
b741de23
SP
132222012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13223
13224 [BZ #12140]
13225 * manual/memory.texi (Malloc Tunable Parameters): Add note
13226 about free list pointers overwriting some perturb bytes.
13227 Wording suggested by Roland McGrath.
13228
f9b9d9c9
JM
132292012-10-17 Joseph Myers <joseph@codesourcery.com>
13230
13231 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13232 (lgamma_test): Likewise.
13233 (tgamma_test): Likewise.
13234
172a631a
FW
132352012-10-16 Florian Weimer <fweimer@redhat.com>
13236
13237 [BZ #14700]
13238 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13239 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13240
e9f37252
MK
132412012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13242
13243 * NEWS: Mention BZ #14716.
13244 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13245 when removing AVAILABLE1_USES_J macro.
13246
d394eb74
L
132472012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13248
13249 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13250 (__bswap_64): __uint64_t for unsigned 64-bit int.
13251
ca38dc17
AS
132522012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13253
13254 * include/string.h (memmem): Declare libc hidden alias.
13255 * string/memmem.c (memmem): Define libc hidden alias.
13256 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13257 __read, __close instead of open, read, close.
13258
9a387d1f
L
132592012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13260
ac49ecaf
L
13261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13262 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13263 global and hidden.
13264 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13265 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13266 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13267 Likewise.
13268 (__rawmemchr_sse2): Likewise.
13269 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13270 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13271 (__strchr_sse2): Likewise.
13272 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13273 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13274 (__strcasecmp_sse2): Likewise.
13275 (__strncasecmp_sse2): Likewise.
13276 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13277 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13278 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13279 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13280 (__strrchr_sse2): Likewise.
13281 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13282 ifunc-impl-list.c.
13283 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13284 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13285 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13286 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13287 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13288 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13289 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13290 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13291 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13292 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13293 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13294 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13295 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13296 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13297 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13298 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13299 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13300 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13301 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13302 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13303 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13304 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13305 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13306 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13307 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13308 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13309 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13310 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13311 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13312 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13313
b090e8ea
L
13314 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13315 global and hidden.
13316 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13317 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13318 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13319 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13320 Likewise.
13321 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13322 Likewise.
13323 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13324 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13325 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13326 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13327 ifunc-impl-list.c.
13328 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13329 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13330 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13331 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13332 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13333 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13334 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13335 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13336 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13337 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13338 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13339 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13340 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13341 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13342 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13343 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13344 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13345 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13346 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13347 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13348 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13349 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13350 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13351 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13352 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13353 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13354 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13355 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13356 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13357 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13358 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13359 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13360 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13361 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13362 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13363 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13364 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13365 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13366 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13367 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13368 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13369
11dd4af6
L
13370 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13371 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13372 * include/ifunc-impl-list.h: New file.
13373 * misc/ifunc-impl-list.c: Likewise.
13374 * misc/Makefile (routines): Add ifunc-impl-list.
13375 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13376 * string/test-string.h: Include <ifunc-impl-list.h>.
13377 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13378 impl_array): New variables.
13379 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13380 are defined.
13381 (test_init): Call __libc_ifunc_impl_list to initialize
13382 func_list if TEST_IFUNC and TEST_NAME are defined.
13383
9a387d1f
L
13384 * string/Makefile (strop-tests): Add bcopy and bzero.
13385 * string/test-bcopy.c: New file.
13386 * string/test-bzero.c: Likewise.
13387 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13388 defined.
13389 * string/test-memset.c: Support bzero test if TEST_BZERO is
13390 defined.
13391 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13392 __libc_memmove.
13393 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13394 __libc_memset.
13395 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13396 of memset.
13397
472371b9
JM
133982012-10-10 Joseph Myers <joseph@codesourcery.com>
13399
1e4a9536
JM
13400 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13401 * configure: Regenerated.
13402
d173d12e
JM
13403 * Makeconfig (+link-static-before-libc): Don't include
13404 $(link-static-libc).
13405
472371b9
JM
13406 * libio/libio.h (_IO_pos_t): Remove.
13407
89a3ad0b
AO
134082012-10-10 Alexandre Oliva <aoliva@redhat.com>
13409
13410 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13411 McGrath.
13412
e7451425
AO
134132012-10-10 Alexandre Oliva <aoliva@redhat.com>
13414
13415 * crypt/crypt-entry.c: Include fips-private.h.
13416 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13417 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13418 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13419 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13420
4ba74a35
AO
134212012-10-10 Alexandre Oliva <aoliva@redhat.com>
13422
13423 * crypt/crypt-private.h: Include stdbool.h.
13424 (_ufc_setup_salt_r): Return bool.
13425 * crypt/crypt-entry.c: Include errno.h.
13426 (__crypt_r): Return NULL with EINVAL for bad salt.
13427 * crypt/crypt_util.c (bad_for_salt): New.
13428 (_ufc_setup_salt_r): Check that salt is long enough and within
13429 the specified alphabet.
13430 * crypt/badsalttest.c: New file.
13431 * crypt/Makefile (tests): Add it.
13432 ($(objpfx)badsalttest): New.
13433
f96f1242
MK
134342012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13435
13436 * NEWS: Add entry for BZ #14602.
13437
0e8e0c1c
JM
134382012-10-09 Joseph Myers <joseph@codesourcery.com>
13439
13440 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13441 type-generic.
13442 * math/libm-test.inc: Update comment listing what functions and
13443 macros are tested.
13444 (isgreater_test): New function.
13445 (isgreaterequal_test): Likewise.
13446 (isless_test): Likewise.
13447 (islessequal_test): Likewise.
13448 (islessgreater_test): Likewise.
13449 (isunordered_test): Likewise.
13450 (main): Call the new functions.
13451
273edc5e
RM
134522012-10-09 Roland McGrath <roland@hack.frob.com>
13453
b8493de0
RM
13454 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13455 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13456 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13457 * sysdeps/i386/configure: Regenerated.
13458 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13459 * sysdeps/mach/configure: Regenerated.
13460 * sysdeps/mach/hurd/configure: Regenerated.
13461 * sysdeps/powerpc/configure: Regenerated.
13462 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13463 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13464 * sysdeps/s390/s390-32/configure: Regenerated.
13465 * sysdeps/s390/s390-64/configure: Regenerated.
13466 * sysdeps/sh/configure: Regenerated.
13467 * sysdeps/sparc/configure: Regenerated.
13468 * sysdeps/unix/sysv/linux/configure: Regenerated.
13469 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13470 * sysdeps/x86_64/configure: Regenerated.
13471
273edc5e
RM
13472 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13473 defined. Don't check if MAP is NULL.
13474
c8450f70
JM
134752012-10-09 Joseph Myers <joseph@codesourcery.com>
13476
13477 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13478 (_G_stat64): Likewise.
13479 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13480 (_G_stat64): Likewise.
13481 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13482 instead of struct _G_stat64.
13483 * libio/fileops.c (mmap_remap_check): Likewise.
13484 (decide_maybe_mmap): Likewise.
13485 (_IO_new_file_seekoff): Likewise.
13486 (_IO_file_stat): Likewise.
13487 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13488 _G_off64_t.
13489 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13490 instead of struct _G_stat64.
13491 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13492
57e605ba
MK
134932012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13494
13495 [BZ #14602]
13496 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13497 Replace with ...
13498 (CHECK_EOL): New macro.
13499 (two_way_short_needle): Check beginning of haystack for EOL. Use
13500 CHECK_EOL.
13501 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13502 Replace with CHECK_EOL.
13503 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13504 Replace with CHECK_EOL.
13505
ef1bb361
JM
135062012-10-08 Joseph Myers <joseph@codesourcery.com>
13507
13508 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13509 type-generic.
13510 * math/libm-test.inc: Update comment listing what functions and
13511 macros are tested.
13512 (finite_test): New function.
13513 (isinf_test): Likewise.
13514 (isnan_test): Likewise.
13515 (fpclassify_test): Test subnormal input.
13516 (isfinite_test): Likewise.
13517 (isnormal_test): Likewise.
13518 (main): Call the new functions.
13519
55f11534
JN
135202012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13521
13522 [BZ #14660]
13523 * Makerules (%.dynsym): Force C locale when running
13524 $(OBJDUMP) --dynamic-syms.
13525
1ab29350
AS
135262012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13527
13528 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13529 <stdint.h>.
13530
f1ecb7ef
DM
135312012-10-06 David S. Miller <davem@davemloft.net>
13532
13533 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13534 upper 32-bits of the length value in %o2 since we use branch-on-register
13535 tests which consider the entire 64-bit register.
13536
5d41d91a
L
135372012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13538
13539 * string/test-strstr.c (check2): Add a test for page boundary.
13540
3baddb72
DM
135412012-10-05 David S. Miller <davem@davemloft.net>
13542
13543 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13544 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13545 file.
13546 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13547 sysdep_routines.
13548 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13549 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13550 and bzero when HWCAP_SPARC_CRYPTO is present.
13551
9cee5585
L
135522012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13553
d7e0dab9
L
13554 [BZ #14602]
13555 * string/test-strstr.c (check2): New function.
13556 (test_main): Call check2.
13557
03759f47
L
13558 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13559 and bug-strchr1.
13560 * string/bug-strcasestr1.c (do_test): Moved to ...
13561 * string/test-strcasestr.c (check1): Here. New function.
13562 (do_one_test): Break out result checking code into ...
13563 (check_result): This. New function.
13564 (do_one_test): Call check_result.
13565 (test_main): Call check1.
13566 * string/bug-strchr1.c (do_test): Moved to ...
13567 * string/test-strchr.c (check1): Here. New function.
13568 (do_one_test): Break out result checking code into ...
13569 (check_result): This. New function.
13570 (do_one_test): Call check_result.
13571 (test_main): Call check1.
13572 * string/bug-strstr1.c (main): Moved to ...
046f153e 13573 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13574 (do_one_test): Break out result checking code into ...
13575 (check_result): This. New function.
13576 (do_one_test): Call check_result.
13577 (test_main): Call check1.
13578 * string/bug-strcasestr1.c: Removed.
13579 * string/bug-strchr1.c: Likewise.
13580 * string/bug-strstr1.c: Likewise.
13581
53cea63e
L
13582 * elf/Makefile (dl-routines): Add hwcaps.
13583 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13584 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13585 (_dl_important_hwcaps): Moved to ...
13586 * elf/dl-hwcaps.c: Here. New file.
13587 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13588
9cee5585 13589 [BZ #14557]
bb859b06
L
13590 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13591 if IS_IN_rtld isn't defined.
13592
9cee5585
L
13593 * elf/dl-support.c (_dl_sysinfo_map): New.
13594 Include "get-dynamic-info.h" and "setup-vdso.h".
13595 (_dl_non_dynamic_init): Call setup_vdso.
13596 * elf/dynamic-link.h: Don't include <assert.h>.
13597 (elf_get_dynamic_info): Moved to ...
13598 * elf/get-dynamic-info.h: Here. New file.
13599 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13600 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13601 * elf/setup-vdso.h: Here. New file.
13602 * elf/rtld.c: Include "setup-vdso.h".
13603 (dl_main): Call setup_vdso.
13604
23c31b76
JM
136052012-10-05 Joseph Myers <joseph@codesourcery.com>
13606
28234b07
JM
13607 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13608 creal in comment listing functions tested. List finite, isinf,
13609 isnan, isless, islessequal, isgreater, isgreaterequal,
13610 islessgreater, isunordered, lgamma_r and pow10 as functions and
13611 macros not tested. Mention which functions not tested are aliases
13612 for other functions. Fix typo. Note that signs of NaNs are not
13613 tested.
13614
23c31b76
JM
13615 * scripts/config.guess: Update from config.git.
13616 * scripts/config.sub: Likewise.
13617
9043e228
RM
136182012-10-04 Roland McGrath <roland@hack.frob.com>
13619
13620 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13621 * misc/madvise.c (madvise): Renamed to __madvise.
13622 Make madvise a weak alias.
13623 * include/sys/mman.h: Declare __madvise.
13624 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13625 * sysdeps/unix/syscalls.list
13626 (madvise): Make __madvise the strong name, and madvise a weak alias.
13627 * sysdeps/unix/sysv/linux/syscalls.list
13628 (madvise, mmap): Remove redundant entries.
13629 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13630 * malloc/malloc.c (mtrim): Likewise.
13631 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13632
f57f8055
RM
136332012-10-03 Roland McGrath <roland@hack.frob.com>
13634
13635 * sysdeps/mach/hurd/dl-cache.c: File removed.
13636 * config.h.in (USE_LDCONFIG): New #undef.
13637 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13638 * configure: Regenerated.
13639 * elf/Makefile (dl-routines): Add dl-cache only under
13640 [$(use-ldconfig) = yes].
13641 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13642 cache on [USE_LDCONFIG].
13643 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13644 [USE_LDCONFIG].
13645 * elf/rtld.c (dl_main): Likewise.
13646
5bb0c10a
PT
136472012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13648
13649 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13650 _SC_LEVEL4_CACHE_LINESIZE.
13651
010188c6
RM
136522012-10-03 Roland McGrath <roland@hack.frob.com>
13653
13654 * sysdeps/unix/bsd/confstr.h: File removed.
13655
b6c5ec07
AO
136562012-10-02 Alexandre Oliva <aoliva@redhat.com>
13657
13658 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13659 sys/sdt-config.h.
13660
408223d4
RM
136612012-10-02 Roland McGrath <roland@hack.frob.com>
13662
13663 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13664 Make 'mapoff' field ElfW(Off) rather than off_t.
13665
bb9510dc
DL
136662012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13667
fc997c6e
DL
13668 * nscd/Makefile: Remove nscd-cflags and all its users.
13669 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13670 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13671
bb9510dc
DL
13672 [BZ #10631]
13673 * malloc.c (malloc_printerr): Clarify error message.
13674
05699367
L
136752012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13676
13677 [BZ #14648]
13678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13679 Set bit_FMA_Usable if FMA is supported.
13680 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13681 macro.
13682 (bit_FMA4_Usable): Updated.
13683 (index_FMA_Usable): New macro.
13684 (CPUID_FMA): Likewise
13685 (HAS_FMA): Defined with bit_FMA_Usable.
13686
51367701
RM
136872012-10-01 Roland McGrath <roland@hack.frob.com>
13688
13689 * bits/types.h (__swblk_t): Type removed.
13690 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13691 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13692 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13693 (__SWBLK_T_TYPE): Likewise.
13694 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13695 (__SWBLK_T_TYPE): Likewise.
13696 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13697 (__SWBLK_T_TYPE): Likewise.
13698 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13699 (__SWBLK_T_TYPE): Likewise.
13700
4d57bf63 137012012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13702 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13703
13704 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13705 (xdr_mapname): Use YPMAXMAP as maxsize.
13706 (xdr_peername): Use YPMAXPEER as maxsize.
13707 (xdr_keydat): Use YPAXRECORD as maxsize.
13708 (xdr_valdat): Use YPMAXRECORD as maxsize.
13709
93c65d43
RM
137102012-10-01 Roland McGrath <roland@hack.frob.com>
13711
497a03d6
RM
13712 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13713
93c65d43
RM
13714 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13715 * csu/init-first.c: ... here.
13716 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13717 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13718 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13719 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13720 * sysdeps/i386/init-first.c: File removed.
13721 * sysdeps/sh/init-first.c: File removed.
13722
bec749fd
JM
137232012-10-01 Joseph Myers <joseph@codesourcery.com>
13724
13725 [BZ #14645]
13726 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13727 if x * y might underflow to zero and z is zero.
13728 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13729 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13730 * math/libm-test.inc (min_subnorm_value): New variable.
13731 (fma_test): Add more tests.
13732 (fma_test_towardzero): Likewise.
13733 (fma_test_downward): Likewise
13734 (fma_test_upward): Likewise.
13735 (initialize): Set min_subnorm_value.
13736
8ec5b013
JM
137372012-09-29 Joseph Myers <joseph@codesourcery.com>
13738
13739 [BZ #14638]
13740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13741 0 + 0.
13742 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13743 mode for addition resulting in exact zero.
13744 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13745 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13746 exact 0 + 0.
13747 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13748 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13749 * math/libm-test.inc (fma_test): Add more tests.
13750 (fma_test_towardzero): New function.
13751 (fma_test_downward): Likewise.
13752 (fma_test_upward): Likewise.
13753 (main): Call the new functions.
13754
b1fa802e
DM
137552012-09-28 David S. Miller <davem@davemloft.net>
13756
13757 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13758
d3b9fd9e
RM
137592012-09-28 Roland McGrath <roland@hack.frob.com>
13760
ea4d37b3
RM
13761 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13762 instead of SIGALRM.
13763
ac51c949
RM
13764 * sysdeps/gnu/_G_config.h: Moved to ...
13765 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13766 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13767 * sysdeps/generic/_G_config.h: ... here.
13768
28c195f7
RM
13769 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13770
848917f9
RM
13771 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13772
6bacf05b
RM
13773 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13774 Conditionalize target on [libnss_test1.so-version].
13775
91363dbb
RM
13776 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13777
cc87f7d8
RM
13778 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13779 (elfobjdir): Move out of conditionals.
13780
b1c608fe
RM
13781 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13782 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13783 (__nss_lookup_function): Conditionalize label remove_from_tree on
13784 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13785
1d9a6d96
DM
137862012-09-28 David S. Miller <davem@davemloft.net>
13787
13788 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13789 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13790 file.
13791 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13792 sysdep_routines.
13793 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13794 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13795 when HWCAP_SPARC_CRYPTO is present.
13796
72581615
PT
137972012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13798
13799 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13800
715a900c
JL
138012012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13802
13803 [BZ #6530]
13804 * stdio-common/vfprintf.c (process_string_arg): Revert
13805 2000-07-22 change.
13806
138072011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13808
13809 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13810 for testcase.
13811 * stdio-common/tst-sprintf.c: Include <locale.h>
13812 (main): Test sprintf's handling of incomplete multibyte
13813 characters.
13814
9bac1d86
L
138152012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13816
13817 * elf/dl-runtime.c (VERSYMIDX): Removed.
13818 * elf/dl-version.c (VERSYMIDX): Likewise.
13819 * elf/do-rel.h (VERSYMIDX): Likewise.
13820 (VALIDX): Likewise.
13821 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13822 * elf/rtld.c (VALIDX): Likewise.
13823 (ADDRIDX): Likewise.
9bac1d86
L
13824 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13825 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13826 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13827 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13828 (VALIDX): Likewise.
13829 (ADDRIDX): Likewise.
9bac1d86 13830
b31606c0
PT
138312012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13832
13833 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13834
11541177
JL
138352012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13836
13837 [BZ #11438]
13838 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13839 to global scope.
13840 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13841 addresses are in the same scope as 192.0.2/24.
13842 * posix/gai.conf: Document new scope table defaults.
13843
adb26fae
SP
138442012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13845
13846 [BZ #5298]
13847 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13848 for ftell. Compute offsets from write pointers instead.
13849 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13850
4573c6b0
SP
138512012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13852
13853 [BZ #14543]
13854 * libio/Makefile (tests): New test case tst-fseek.
13855 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13856 combination works in wide mode.
13857 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13858 state when the external buffer state changes.
13859
aa9bbfe6
DM
138602012-09-27 David S. Miller <davem@davemloft.net>
13861
13862 [BZ #14376]
13863 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13864 pass reloc->r_addend in as the 'high' argument to
13865 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13866
784421e7
DM
13867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13868
c39bc8b8
PT
138692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13870
13871 * rt/tst-aio2.c: Include <pthread.h>.
13872 * rt/tst-aio3.c: Likewise.
13873
1ccc2399
SE
138742012-09-27 Steve Ellcey <sellcey@mips.com>
13875
13876 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13877
31ed4153
L
138782012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13879
25f5f885
L
13880 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13881 contents on [SHARED].
31ed4153 13882
b7bfe116
MP
138832012-09-26 Marek Polacek <polacek@redhat.com>
13884
13885 [BZ #14530]
13886 [BZ #13741]
13887 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13888 for C++ and GCC <4.3 as well as for non GCC compilers.
13889
43c4edba
MT
138902012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13891
13892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13893
6a1bf82f
RM
138942012-09-25 Roland McGrath <roland@hack.frob.com>
13895
13896 * Makefile.in (all, install): Declare with .PHONY.
13897 Reported by Michael Hope <michael.hope@linaro.org>.
13898
8ad11b9a
TMQMF
138992012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13900
13901 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13902 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13903 system header.
13904 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13905 Likewise.
13906 (sydep_routines): Add the new and the internal functions.
13907 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13908 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13910 (GLIBC_2.17): Add the new function.
13911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13912 (GLIBC_2.17): Likewise.
13913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13914 (GLIBC_2.17): Likewise.
13915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13916 (GLIBC_2.17): Likewise.
13917 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13918
7e2fca8d
AM
139192012-09-25 Alan Modra <amodra@gmail.com>
13920
13921 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13922 Add release barrier before setting once_control to say
13923 initialisation is done. Add hints on lwarx. Use macro in
13924 place of isync.
13925 (clear_once_control): Add release barrier.
13926
b87c4b24
JM
139272012-09-25 Joseph Myers <joseph@codesourcery.com>
13928
d032e0d2
JM
13929 [BZ #13629]
13930 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13931 specially.
13932 * math/s_clog10.c (__clog10): Likewise.
13933 * math/s_clog10f.c (__clog10f): Likewise.
13934 * math/s_clog10l.c (__clog10l): Likewise.
13935 * math/s_clogf.c (__clogf): Likewise.
13936 * math/s_clogl.c (__clogl): Likewise.
13937 * math/Makefile (libm-calls): Add x2y2m1.
13938 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13939 (__x2y2m1): Likewise.
13940 (__x2y2m1l): Likewise.
13941 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13942 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13943 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13944 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13945 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13946 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13947 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13948 * sysdeps/i386/fpu/libm-test-ulps: Update.
13949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13950
b87c4b24
JM
13951 [BZ #14621]
13952 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13953 int as type of variable DEPTH.
13954 (glob): Use size_t instead of int as type of variables NEWCOUNT
13955 and OLD_PATHC.
13956
6d3bf199
LD
139572012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13958
22bf5c17
LD
13959 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13960 Add s_sincosf-sse2.
13961 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13962 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13963 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13964 macros for using routine as __sincosf_ia32.
13965 Use macro for function declaration and weak_alias.
13966 * sysdeps/i386/fpu/libm-test-ulps: Update.
13967
13968 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13970
13971 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13972 subnormal argument.
13973 * math/s_cexpf.c (__cexpf): Likewise.
13974 * math/s_csinf.c (__csinf): Likewise.
13975 * math/s_csinhf.c (__csinhf): Likewise.
13976 * math/s_ctanf.c (__ctanf): Likewise.
13977 * math/s_ctanhf.c (__ctanhf): Likewise.
13978 * math/s_ccosh.c (__ccoshf): Likewise.
13979 * math/s_cexp.c (__cexpl): Likewise.
13980 * math/s_csin.c (__csin): Likewise.
13981 * math/s_csinh.c (__csinh): Likewise.
13982 * math/s_ctan.c (__ctan): Likewise.
13983 * math/s_ctanh.c (ctanh): Likewise.
13984 * math/s_ccoshl.c (__ccoshl): Likewise.
13985 * math/s_cexpl.c (__cexpl): Likewise.
13986 * math/s_csinl.c (__csinl): Likewise.
13987 * math/s_csinhl.c (__csinhl): Likewise.
13988 * math/s_ctanl.c (__ctanl): Likewise.
13989 * math/s_ctanhl.c (__ctanhl): Likewise.
13990
203e5603
JM
139912012-09-25 Joseph Myers <joseph@codesourcery.com>
13992
13993 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13994 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13995 (_IO_off_t): Define to __off_t, not _G_off_t.
13996 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13997 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13998 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13999 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14000 type of __dummy and __dummy2 fields.
14001 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14002 (_G_ssize_t): Likewise.
14003 (_G_off_t): Likewise.
14004 (_G_pid_t): Likewise.
14005 (_G_uid_t): Likewise.
14006 (_G_wchar_t): Likewise.
14007 (_G_wint_t): Likewise.
14008 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14009 (_G_ssize_t): Likewise.
14010 (_G_off_t): Likewise.
14011 (_G_pid_t): Likewise.
14012 (_G_uid_t): Likewise.
14013 (_G_wchar_t): Likewise.
14014 (_G_wint_t): Likewise.
14015 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14016 (_G_ssize_t): Likewise.
14017 (_G_off_t): Likewise.
14018 (_G_pid_t): Likewise.
14019 (_G_uid_t): Likewise.
14020 (_G_wchar_t): Likewise.
14021 (_G_wint_t): Likewise.
14022
9fab36eb
SP
140232012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14024
14025 * malloc/arena.c: Include malloc-sysdep.h.
14026 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14027 is sufficient to shrink the heap or an unmap is needed.
14028 * sysdeps/generic/malloc-sysdep.h: New file. Define
14029 new function check_may_shrink_heap.
14030 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14031 new function check_may_shrink_heap.
14032
2b4f00d1
SP
140332012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14034
14035 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14036 comments.
14037
9a9028b1
DL
140382012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14039
57c69bef
DL
14040 * catgets/test-gencat.sh: Add "set -e".
14041 * elf/tst-pathopt.sh: Likewise.
14042 * grp/tst_fgetgrent.sh: Likewise.
14043 * iconvdata/run-iconv-test.sh: Likewise.
14044 * intl/tst-gettext.sh: Likewise.
14045 * intl/tst-gettext2.sh: Likewise.
14046 * intl/tst-gettext4.sh: Likewise.
14047 * intl/tst-gettext6.sh: Likewise.
14048 * intl/tst-translit.sh: Likewise.
14049 * io/ftwtest-sh: Likewise.
14050 * libio/test-freopen.sh: Likewise.
14051 * malloc/tst-mtrace.sh: Likewise.
14052 * posix/globtest.sh: Likewise.
14053 * posix/tst-getconf.sh: Likewise.
14054 * posix/wordexp-tst.sh: Likewise.
14055 * stdio-common/tst-printf.sh: Likewise.
14056 * stdio-common/tst-unbputc.sh: Likewise.
14057 * stdlib/tst-fmtmsg.sh: Likewise.
14058 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14059 * catgets/Makefile: Do not specify -e option when running
14060 testsuite shell scripts.
14061 * elf/Makefile: Likewise.
14062 * grp/Makefile: Likewise.
14063 * iconvdata/Makefile: Likewise.
14064 * intl/Makefile: Likewise.
14065 * io/Makefile: Likewise.
14066 * libio/Makefile: Likewise.
14067 * malloc/Makefile: Likewise.
14068 * posix/Makefile: Likewise.
14069 * stdio-common/Makefile: Likewise.
14070 * stdlib/Makefile: Likewise.
14071 * sysdeps/x86_64/Makefile: Likewise.
14072
9a9028b1
DL
14073 * io/ftwtest-sh: Add copyright header.
14074 * posix/globtest.sh: Likewise.
14075 * posix/tst-getconf.sh: Likewise.
14076 * posix/wordexp-tst.sh: Likewise.
14077 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14078
ced6f16e
L
140792012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14080
94b32c39
L
14081 [BZ #13679]
14082 * Makeconfig (+link): Defined as $(+link-static) if
14083 $(build-shared) isn't yes.
14084 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14085 isn't yes.
14086 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14087
189e935b
L
14088 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14089
ced6f16e
L
14090 [BZ #14562]
14091 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14092 new chunk size with MALLOC_ALIGN_MASK.
14093
a9f8e53a
JM
140942012-09-24 Joseph Myers <joseph@codesourcery.com>
14095
14096 [BZ #5044]
14097 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14098 <rounding-mode.h>.
14099 (__printf_fphex): Determine rounding using get_rounding_mode and
14100 round_away.
14101 * stdio-common/tst-printf-round.c (struct hex_test): New
14102 structure.
14103 (hex_tests): New variable.
14104 (test_hex_in_one_mode): New function.
14105 (do_test): Also run tests for hex float output.
14106
43153109
JM
141072012-09-21 Joseph Myers <joseph@codesourcery.com>
14108
14109 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14110 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14111 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14112 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14113 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14114 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14115 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14116 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14117
8a26625d
JM
141182012-09-20 Joseph Myers <joseph@codesourcery.com>
14119
14120 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14121 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14122 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14123 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14124
f3fd569c
DL
141252012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14126
14127 [BZ #14579]
14128 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14129 mode only.
14130 * elf/tst-rtld-load-self.sh: New test.
14131 * elf/Makefile: Run it.
14132
63bbedd4
JM
141332012-09-18 Joseph Myers <joseph@codesourcery.com>
14134
14135 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14136 (tst-writev-ENV): Remove.
14137 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14138
626f8b6a
CM
141392012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14140
14141 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14142
b7aaa4d6
JM
141432012-09-17 Joseph Myers <joseph@codesourcery.com>
14144
14145 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14146 unconditional.
14147 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14148 Likewise.
14149 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14150 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14151 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14152 Likewise.
14153
65513990
L
141542012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14155
14156 [BZ #14587]
14157 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14158 * config.make.in (have-cpp-asm-debuginfo): Removed.
14159 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14160 * configure: Regenerated.
14161
784761be
JM
141622012-09-14 Joseph Myers <joseph@codesourcery.com>
14163
14164 [BZ #5044]
14165 * stdio-common/printf_fp.c: Include <stdbool.h> and
14166 <rounding-mode.h>.
14167 (___printf_fp): Determine rounding using get_rounding_mode and
14168 round_away.
14169 * stdio-common/tst-printf-round.c: New file.
14170 * stdio-common/Makefile (tests): Add tst-printf-round.
14171 (link-libm): New variable.
14172 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14173
9503345f
L
141742012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14175
14176 [BZ #14576]
14177 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14178 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14179 Likewise.
14180 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14181 Likewise.
14182
ad35fc00
JM
141832012-09-13 Joseph Myers <joseph@codesourcery.com>
14184
14185 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14186 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14187 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14188 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14189
6c9b0f68
JM
141902012-09-12 Joseph Myers <joseph@codesourcery.com>
14191
14192 [BZ #14518]
14193 * include/rounding-mode.h: New file.
14194 * sysdeps/generic/get-rounding-mode.h: Likewise.
14195 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14196 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14197 (MAX_VALUE): New macro.
14198 (MIN_VALUE): Likewise.
14199 (overflow_value): New function.
14200 (underflow_value): Likewise.
14201 (round_and_return): Use overflow_value and underflow_value to
14202 determine return values in overflow and underflow cases. Use
14203 round_away to determine rounding depending on rounding mode.
14204 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14205 determine return values in overflow and underflow cases.
14206 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14207 (struct test_results): New structure.
14208 (struct test): Use struct test_results to store expected results
14209 for all rounding modes.
14210 (TEST): Include expected results for all rounding modes.
14211 (test_in_one_mode): New function.
14212 (do_test): Use test_in_one_mode to compute and check results.
14213 Check results for all rounding modes.
14214 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14215 $(link-libm).
14216
19fcedd5
AM
142172012-12-09 Allan McRae <allan@archlinux.org>
14218
1e9d84cd 14219 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14220
8bbfd2f1
JM
142212012-09-11 Joseph Myers <joseph@codesourcery.com>
14222
14223 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14224 (_G_int32_t): Likewise.
14225 (_G_uint16_t): Likewise.
14226 (_G_uint32_t): Likewise.
14227 (_G_HAVE_BOOL): Likewise.
14228 (_G_HAVE_ATEXIT): Likewise.
14229 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14230 (_G_HAVE_IO_FILE_OPEN): Likewise.
14231 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14232 (_G_int32_t): Likewise.
14233 (_G_uint16_t): Likewise.
14234 (_G_uint32_t): Likewise.
14235 (_G_HAVE_BOOL): Likewise.
14236 (_G_HAVE_ATEXIT): Likewise.
14237 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14238 (_G_HAVE_IO_FILE_OPEN): Likewise.
14239 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14240 (_G_int32_t): Likewise.
14241 (_G_uint16_t): Likewise.
14242 (_G_uint32_t): Likewise.
14243 (_G_HAVE_BOOL): Likewise.
14244 (_G_HAVE_ATEXIT): Likewise.
14245 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14246 (_G_HAVE_IO_FILE_OPEN): Likewise.
14247
b1dc5912
L
142482012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14249
14250 * csu/libc-tls.c: Update copyright years.
14251
0e886ef9
JM
142522012-09-10 Joseph Myers <joseph@codesourcery.com>
14253
28361c5e
JM
14254 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14255 [!_G_USING_THUNKS]: Remove conditional code.
14256 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14257 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14258
0e886ef9
JM
14259 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14260 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14261 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14262 (_G_VTABLE_LABEL_PREFIX): Likewise.
14263 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14264 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14265 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14266 (_G_VTABLE_LABEL_PREFIX): Likewise.
14267 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14268 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14269 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14270 (_G_VTABLE_LABEL_PREFIX): Likewise.
14271 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14272
bcba7aa2
L
142732012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14274
14275 * libio/Makefile: Include ../Makeconfig before tests.
14276 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14277 only if $(build-shared) is yes.
14278
06585ee8
L
14279 * iconv/gconv_db.c: Update copyright years.
14280
80ccd52c
LD
142812012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14282
14283 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14284 unwind info if defined PIC. Fix special cases description.
14285 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14286
14287 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14288 DP_HI_MASK entry.
14289 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14290
691bc9c1
L
142912012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14292
3d9b46b3
L
14293 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14294
de2139a9
L
14295 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14296 is NULL.
14297
5ca78dd0
L
14298 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14299 (LDLIBS-tst-chk4): This.
14300 (LDFLAGS-tst-chk5): Renamed to ...
14301 (LDLIBS-tst-chk5): This.
14302 (LDFLAGS-tst-chk6): Renamed to ...
14303 (LDLIBS-tst-chk6): This.
14304 (LDFLAGS-tst-lfschk4): Renamed to ...
14305 (LDLIBS-tst-lfschk4): This.
14306 (LDFLAGS-tst-lfschk5): Renamed to ...
14307 (LDLIBS-tst-lfschk5): This.
14308 (LDFLAGS-tst-lfschk6): Renamed to ...
14309 (LDLIBS-tst-lfschk6): This.
14310
691bc9c1
L
14311 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14312 on $(common-objpfx)soversions.mk.
14313
65cafb1c
JM
143142012-09-07 Joseph Myers <joseph@codesourcery.com>
14315
14316 [BZ #10014]
14317 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14318 example host name.
14319
c78ab094
SP
143202012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14321
14322 * malloc/arena.c (arena_get_retry): New function that gets
14323 another arena for the caller to try its request on.
14324 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14325 current arena cannot fulfill the request.
14326 (__libc_memalign): Likewise.
14327 (__libc_memalign): Likewise.
14328 (__libc_pvalloc): Likewise.
14329 (__libc_calloc): Likewise.
14330
01f49f59
JT
143312012-09-05 John Tobey <john.tobey@gmail.com>
14332
14333 [BZ #13542]
14334 * manual/arith.texi (Operations on Complex): Fix description
14335 of carg branch cut.
14336
4c23fed5
JM
143372012-09-06 Joseph Myers <joseph@codesourcery.com>
14338
1d3c8572
JM
14339 [BZ #10014]
14340 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14341 host name.
14342
4c23fed5
JM
14343 [BZ #10038]
14344 * manual/memory.texi (Memory): Make order of menu items match
14345 order of sections.
14346
04570aaa
L
143472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14348
14349 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14350 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14351 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14352
b80af2f4
L
143532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14354
14355 * csu/libc-tls.c (static_dtv): Renamed to ...
14356 (_dl_static_dtv): This. Make it global.
14357 (_dl_initial_dtv): Removed.
14358 (__libc_setup_tls): Updated.
14359 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14360 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14361 DL_INITIAL_DTV.
14362
2abe9f15
PM
143632012-09-06 Petr Machata <pmachata@redhat.com>
14364
14365 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14366 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14367 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14368 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14369
0948c3af
L
143702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14371
14372 [BZ #14545]
14373 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14374 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14375 freeing dtv[-1].
14376
a5055ad1
L
143772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14378
14379 [BZ #14544]
14380 * Makeconfig (link-static-before-libc): Replace $(+prector)
14381 with $(+prectorT).
14382 (link-static-after-libc): Replace $(+postctor) with
14383 $(+postctorT).
14384 (link-bounded): Replace $(+prector)/$(+postctor) with
14385 $(+prectorT)/$(+postctorT).
14386 (+prectorT): New macro.
14387 (+postctorT): Likewise.
14388
ed8c2ecd
JM
143892012-09-06 Joseph Myers <joseph@codesourcery.com>
14390
14391 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14392 (round_str): Handle values above the maximum for IBM long double
14393 as inexact.
14394 * stdlib/tst-strtod-round.c (tests): Regenerated.
14395
14c996c8
AK
143962012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14397
14398 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14399 assembler flag.
14400 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14401 zarch_nohighgprs around the zarch optimized routines.
14402 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14403 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14404 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14405 for zarch.
14406
430d6ce6
DM
144072012-09-05 David S. Miller <davem@davemloft.net>
14408
14409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14410
ff04dda4
DM
14411 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14412 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14413 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14414 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14415 entries.
14416
24d4e01b
AO
144172012-09-05 Alexandre Oliva <aoliva@redhat.com>
14418
14419 * malloc/arena.c: Fold copyright years.
14420 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14421
61d58174
AO
144222012-09-05 Alexandre Oliva <aoliva@redhat.com>
14423
14424 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14425
20196a5e
AO
144262012-09-05 Alexandre Oliva <aoliva@redhat.com>
14427
14428 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14429
5c447383
AO
144302012-09-05 Alexandre Oliva <aoliva@redhat.com>
14431
14432 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14433 change internal state upon failure.
14434
fad64255
AO
144352012-09-05 Alexandre Oliva <aoliva@redhat.com>
14436
14437 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14438 * malloc/memusage.c (mmap): Likewise.
14439 (mmap64, mremap): Likewise. Adjust name in comment.
14440
1ffb8c90
SP
144412012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14442
14443 * libio/fileops.c: Fix typos in comments.
14444 * libio/oldfileops.c: Likewise.
14445 * libio/wfileops.c: Likewise.
14446
6ef9cc37
SP
144472012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14448
14449 [BZ #1349]
14450 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14451 (tst-malloc-usable-ENV): Set environment for test case.
14452 * malloc/hooks.c (malloc_check_get_size): New function to get
14453 requested size.
14454 * malloc/malloc.c (musable): Use malloc_check_get_size.
14455 * malloc/tst-malloc-usable.c: New test case.
14456
4d038ae3
AS
144572012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14458
14459 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14460
c4e85184
AM
144612012-09-05 Allan McRae <allan@archlinux.org>
14462
b9dafc56 14463 [BZ #13966]
c4e85184
AM
14464 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14465 determine header location.
14466 * configure: Regenerated.
14467
e1343020
AS
144682012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14469
14470 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14471 float format.
14472 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14473 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14474 format.
e1343020
AS
14475 (test): Regenerate.
14476
0a9f1987
DM
144772012-09-04 David S. Miller <davem@davemloft.net>
14478
14479 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14480 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14481 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14482
29237804
FW
144832012-09-04 Florian Weimer <fweimer@redhat.com>
14484
14485 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14486 failures.
14487
edb3cb88
FW
14488 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14489
60160d83
JM
144902012-09-04 Joseph Myers <joseph@codesourcery.com>
14491
14492 [BZ #9914]
14493 * libio/iogetdelim.c: Include <limits.h>.
14494 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14495 + len + 1 would overflow.
14496
bcd6c8dc
AJ
144972012-09-03 Andreas Jaeger <aj@suse.de>
14498
14499 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14500 * sysdeps/i386/fpu/libm-test-ulps: Update.
14501
4ffffbd2
LD
145022012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14503
14504 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14505 Add s_sinf-sse2, s_conf-sse2.
14506
14507 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14508 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14509 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14510 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14511
14512 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14513 for using routine as __sinf_ia32.
14514 Use macro for function declaration and weak_alias.
14515 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14516 for using routine as __cosf_ia32.
14517 Use macro for function declaration and weak_alias.
14518
14519 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14520 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14521
14522 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14523 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14525
14526 * math/libm-test.inc (cos_test): Add more test cases.
14527 (sin_test): Likewise.
14528 (sincos_test): Likewise.
14529
511fa286
AK
145302012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14531
14532 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14533 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14534 hidden.
14535 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14536
5f30cfec
L
145372012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14538
14539 [BZ #14538]
14540 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14541 first element of the GOT.
14542 (elf_machine_load_address): Return the difference between
14543 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14544
0786794f
AM
145452012-09-01 Allan McRae <allan@archlinux.org>
14546
5f30cfec
L
14547 [BZ #13412]
14548 * configure.in (AWK): Require gawk version 3.0 or later.
14549 * configure: Regenerated.
0786794f 14550
26889eac
JM
145512012-09-01 Joseph Myers <joseph@codesourcery.com>
14552
14553 * sysdeps/unix/sysv/linux/kernel-features.h
14554 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14555 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14556 [__NR_clock_getres]: Make code unconditional.
14557 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14558 (clock_getcpuclockid): Remove code left unreachable by removal of
14559 conditionals.
14560 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14561 code unconditional.
14562 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14563 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14564 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14565 Make code unconditional.
14566 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14567 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14568 * sysdeps/unix/sysv/linux/clock_settime.c
14569 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14570 conditional code.
14571 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14572 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14573
d22e28b0
L
145742012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14575
14576 [BZ #14476]
14577 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14578 scripts/test-installation.pl.
14579
14580 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14581 and $ld_so_version if it is set.
14582
050af9c4
SP
145832012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14584
14585 [BZ #14516]
14586 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14587 failure if reading from procfs failed.
14588 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14589
ad845c0b
JM
145902012-08-27 Joseph Myers <joseph@codesourcery.com>
14591
14592 * sysdeps/unix/sysv/linux/kernel-features.h
14593 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14594 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14595 Remove conditional code.
14596 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14597 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14598 Remove conditional code.
14599 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14600 * sysdeps/unix/sysv/linux/i386/fxstat.c
14601 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14602 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14603 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14604 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14605 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14606 * sysdeps/unix/sysv/linux/i386/lxstat.c
14607 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14608 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14609 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14610 Remove conditional code.
14611 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14612 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14613 Remove conditional code.
14614 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14615 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14616 <kernel-features.h>.
14617 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14618 Remove.
14619 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14620 Remove conditional code.
14621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14622 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14623 Remove conditional.
14624
5dbf56af
MF
146252012-08-27 Mike Frysinger <vapier@gentoo.org>
14626
14627 [BZ #5400]
14628 * NEWS: Add fixed bug number.
14629
d6e70f43
JM
146302012-08-27 Joseph Myers <joseph@codesourcery.com>
14631
7efb4737
JM
14632 [BZ #14519]
14633 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14634 underflowing exponent in case of negative sign.
14635 * stdlib/tst-strtod-round-data: Add more tests.
14636 * stdlib/tst-strtod-round.c (tests): Regenerated.
14637
af92131a
JM
14638 [BZ #3479]
14639 * stdlib/strtod_l.c (NDIG): Remove.
14640 (HEXNDIG): Likewise.
14641 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14642 smallest representable value.
14643 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14644 lie within an exact representation of 1/2 ulp of the result.
14645 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14646 unconditionally.
14647 (TENS_P9_IDX): Define unconditionally.
14648 (TENS_P9_SIZE): Likewise.
14649 (TENS_P10_IDX): Likewise.
14650 (TENS_P10_SIZE): Likewise.
14651 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14652 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14653 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14654 entries for 10^2^13 and 10^2^14.
14655 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14656 (TENS_P13_IDX): Define.
14657 (TENS_P13_SIZE): Likewise.
14658 (TENS_P14_IDX): Likewise.
14659 (TENS_P14_SIZE): Likewise.
14660 (_fpioconst_pow10): Change array size to
14661 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14662 unconditional.
14663 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14664 1024]: Add entries for 10^2^13 and 10^2^14.
14665 [LAST_POW10 > _LAST_POW10]: Remove #error.
14666 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14667 (_fpioconst_pow10): Change array size to
14668 FPIOCONST_POW10_ARRAY_SIZE.
14669 * stdlib/gen-fpioconst.c: New file.
14670 * stdlib/gen-tst-strtod-round.c: Likewise.
14671 * stdlib/tst-strtod-round-data: Likewise.
14672 * stdlib/tst-strtod-round.c: Likewise.
14673 * stdlib/Makefile (tests): Add tst-strtod-round.
14674
d6e70f43
JM
14675 [BZ #14459]
14676 * stdlib/strtod_l.c: Include <stdint.h>.
14677 (NDEBUG): Do not define.
14678 (round_and_return): Change EXPONENT parameter to type intmax_t.
14679 Rearrange calculations to avoid internal overflow possibilities.
14680 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14681 Rearrange calculations to avoid internal overflow possibilities.
14682 Assert that number fits inside MPNSIZE limbs.
14683 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14684 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14685 calculations and add assertions to avoid internal overflow
14686 possibilities. Add casts to avoid signed/unsigned operations.
14687 * stdlib/tst-strtod-overflow.c: New file.
14688 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14689
1f529f7d
MP
146902012-08-25 Marek Polacek <polacek@redhat.com>
14691
14692 * time/time.h: Fix some typos in comments.
14693
59a629f1
RM
146942012-08-23 Roland McGrath <roland@hack.frob.com>
14695
14696 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14697 * posix/tst-rfc3484-2.c: Likewise.
14698 * posix/tst-rfc3484-3.c: Likewise.
14699
d3bafbc9
SM
147002012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14701
14702 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14703 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14704
4efcc022
JM
147052012-08-23 Joseph Myers <joseph@codesourcery.com>
14706
14707 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14708 #include of fxstatat64.c.
14709
3cc3ef96
RM
147102012-08-22 Roland McGrath <roland@hack.frob.com>
14711
f04e2132
RM
14712 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14713 * shadow/getspent_r.c: Likewise.
14714 * shadow/getspnam.c: Likewise.
14715 * shadow/getspnam_r.c: Likewise.
14716 * gshadow/getsgent.c: Likewise.
14717 * gshadow/getsgent_r.c: Likewise.
14718 * gshadow/getsgnam.c: Likewise.
14719 * gshadow/getsgnam_r.c: Likewise.
14720 * inet/getnetbyad.c: Likewise.
14721 * inet/getnetbyad_r.c: Likewise.
14722 * inet/getnetbynm.c: Likewise.
14723 * inet/getnetbynm_r.c: Likewise.
14724 * inet/getnetent.c: Likewise.
14725 * inet/getnetent_r.c: Likewise.
14726 * inet/getproto.c: Likewise.
14727 * inet/getproto_r.c: Likewise.
14728 * inet/getprtent.c: Likewise.
14729 * inet/getprtent_r.c: Likewise.
14730 * inet/getprtname.c: Likewise.
14731 * inet/getprtname_r.c: Likewise.
14732 * inet/getrpcbyname.c: Likewise.
14733 * inet/getrpcbyname_r.c: Likewise.
14734 * inet/getrpcbynumber.c: Likewise.
14735 * inet/getrpcbynumber_r.c: Likewise.
14736 * inet/getrpcent.c: Likewise.
14737 * inet/getrpcent_r.c: Likewise.
14738 * inet/getaliasent.c: Likewise.
14739 * inet/getaliasent_r.c: Likewise.
14740 * inet/getaliasname.c: Likewise.
14741 * inet/getaliasname_r.c: Likewise.
14742 * nscd/getgrgid_r.c: Likewise.
14743 * nscd/getgrnam_r.c: Likewise.
14744 * nscd/gethstbyad_r.c: Likewise.
14745 * nscd/gethstbynm3_r.c: Likewise.
14746 * nscd/getpwnam_r.c: Likewise.
14747 * nscd/getpwuid_r.c: Likewise.
14748 * nscd/getsrvbynm_r.c: Likewise.
14749 * nscd/getsrvbypt_r.c: Likewise.
14750 * nscd/gai.c: Likewise.
14751
c53d909c
RM
14752 * configure.in (build_nscd): New substituted variable, set
14753 by --disable-build-nscd and defaults to $use_nscd.
14754 * configure: Regenerated.
14755 * config.make.in (build-nscd): New substituted variable.
14756 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14757 Change conditional to require [$(build-nscd) = yes] as well.
14758 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14759
3cc3ef96
RM
14760 [BZ# 13696]
14761 * configure.in (use_nscd): New substituted variable, set by
14762 --disable-nscd. If enabled, define USE_NSCD.
14763 * configure: Regenerated.
14764 * config.h.in: Add USE_NSCD.
14765 * config.make.in (use-nscd): New substituted variable.
14766 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14767 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14768 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14769 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14770 (CFLAGS-getgrnam_r.c): Likewise.
14771 (CFLAGS-initgroups.c): Likewise.
14772 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14773 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14774 Variables removed.
14775 * inet/getnetgrent_r.c
14776 (nscd_setnetgrent): New function, broken out of ...
14777 (setnetgrent): ... here. Call it.
14778 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14779 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14780 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14781 * nscd/Makefile (routines, aux): Move definitions after include of
14782 Makeconfig. Conditionalize on [$(use-nscd) != no].
14783 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14784 Conditionalize on [USE_NSCD].
14785 (is_nscd, nscd_init_cb): Likewise.
14786 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14787 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14788 * nss/nss_db/db-init.c: Likewise.
14789 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14790 [USE_NSCD].
14791 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14792 (make_request): Use it.
14793 (cache_valid_p): New function.
14794 (__check_pf): Use it.
14795 * NEWS: Add item for --disable-nscd.
14796
07e51550
DL
147972012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14798
14799 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14800 to support sed >= 4.2.1-20-ga9bf076.
14801 * configure: Regenerated.
14802
35a5b08b
RM
148032012-08-22 Roland McGrath <roland@hack.frob.com>
14804
14805 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14806 Conditionalize whole body on [IREL].
14807
8479f23a
JL
148082012-08-22 Jeff Law <law@redhat.com>
14809
14810 [BZ #14505]
14811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14812 if the family is PF_UNSPEC.
14813
48da0b21
MF
148142012-08-22 Mike Frysinger <vapier@gentoo.org>
14815
14816 * Makerules (lib-version): Rename from V.
14817 (install-lib-nosubdir): Change V to lib-version.
14818
15d0da8c
WS
148192012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14820
14821 [BZ #14252]
14822 * powerpc32/power6/wcschr.c: New file.
14823 * powerpc32/power6/wcscpy.c: New file.
14824 * powerpc32/power6/wcsrchr.c: New file.
14825 * powerpc64/power6/wcschr.c: New file.
14826 * powerpc64/power6/wcscpy.c: New file.
14827 * powerpc64/power6/wcsrchr.c: New file.
14828
bcca0895
MK
148292012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14830
14831 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14832 (two_way_short_needle): Use it.
5a4aaa33
RM
14833 * string/strstr.c (AVAILABLE1_USES_J): Define.
14834 * string/strcasestr.c: Likewise.
99677e57
MK
14835
14836 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14837 array references.
14838 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14839
400726de
MK
14840 [BZ #11607]
14841 * NEWS: Add an entry.
14842 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14843 define their defaults.
14844 (two_way_short_needle): Detect end-of-string on-the-fly.
14845 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14846 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14847 * string/bug-strcasestr1.c: New test.
14848 * string/Makefile: Run it.
14849
20a71f2c
MK
148502012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14851
14852 [BZ #11607]
14853 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14854 the first character.
14855
21ad0558
RM
148562012-08-21 Roland McGrath <roland@hack.frob.com>
14857
14858 * csu/elf-init.c (__libc_csu_irel): Function removed.
14859 * csu/libc-start.c (apply_irel): New function.
14860 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14861
0e1d9911
JM
148622012-08-21 Joseph Myers <joseph@codesourcery.com>
14863
14864 * sysdeps/unix/sysv/linux/kernel-features.h
14865 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14866 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14867 <kernel-features.h>.
14868 [__NR_fadvise64_64]: Make code unconditional.
14869 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14870 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14871 !__NR_fadvise64_64)]: Likewise.
14872 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14873 !__NR_fadvise64_64))]: Likewise.
14874 [__NR_fadvise64]: Make code unconditional.
14875 [!__NR_fadvise64]: Remove conditional code.
14876 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14877 <kernel-features.h>.
14878 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14879 unconditional.
14880 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14881 conditional code.
14882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14883 not include <kernel-features.h>.
14884 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14885 unconditional.
14886 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14887 conditional code.
14888 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14889 include <kernel-features.h>.
14890 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14891 unconditional.
14892 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14893 conditional code.
14894
14a50c9d
WS
148952012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14896
14897 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14898 slight instruction rearrangements per scrollpipe analysis.
14899 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14900
c0f4faf0
RM
149012012-08-20 Roland McGrath <roland@hack.frob.com>
14902
696da859
RM
14903 * manual/syslog.texi (syslog; vsyslog, closelog):
14904 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14905 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14906
c0f4faf0
RM
14907 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14908 DSOCAPS to match condition on defining it.
14909
348363b2
JM
149102012-08-20 Joseph Myers <joseph@codesourcery.com>
14911
a35cbf28
JM
14912 * sysdeps/unix/sysv/linux/kernel-features.h
14913 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14915 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14916 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14918 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14919 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14921 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14922 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14923
445f7ecd
JM
14924 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14925 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14926
348363b2
JM
14927 * sysdeps/unix/sysv/linux/kernel-features.h
14928 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14929 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14930 unconditional.
14931 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14932 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14933 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14934 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14935 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14936 Make code unconditional.
14937 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14938 (__mmap64) [!__NR_mmap2]: Likewise.
14939 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14940 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14941 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14942 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14943 [__NR_mmap2]: Make code unconditional.
14944 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14945 (__mmap64) [!__NR_mmap2]: Likewise.
14946
bc5bc0e5
AK
149472012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14948
14949 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14950
88d506de
AJ
149512012-08-18 Andreas Jaeger <aj@suse.de>
14952
14953 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14954
493387d2
MF
149552012-08-18 Mike Frysinger <vapier@gentoo.org>
14956
14957 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14958 * include/unistd.h (__have_sock_cloexec): Likewise.
14959 (__have_pipe2): Likewise.
14960 (__have_dup3): Likewise.
14961
a277af22
MF
149622012-08-18 Mike Frysinger <vapier@gentoo.org>
14963
14964 [BZ #9685]
14965 * include/unistd.h (__have_pipe2): Change define into an extern int.
14966 (__have_dup3): Likewise.
14967 * socket/have_sock_cloexec.c: Include fcntl.h.
14968 (__have_pipe2): New variable.
14969 (__have_dup3): Likewise.
14970
fdab8fd3
MF
149712012-08-17 Mike Frysinger <vapier@gentoo.org>
14972
14973 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14974
31035e80
MP
149752012-08-17 Marek Polacek <polacek@redhat.com>
14976
14977 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14978 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14979
3bd9e993
RM
149802012-08-17 Roland McGrath <roland@hack.frob.com>
14981
c91c505f
RM
14982 * configure.in: Add AC_SUBST for sysheaders.
14983 * configure: Regenerated.
14984 * config.make.in (sysheaders): New substituted variable.
14985
7c6f9d53
RM
14986 * sysdeps/unix/mkfifo.c: Moved ...
14987 * sysdeps/posix/mkfifo.c: ... here.
14988 * sysdeps/unix/mkfifoat.c: Moved ...
14989 * sysdeps/posix/mkfifoat.c: ... here.
14990
14991 * sysdeps/unix/utime.c: Moved ...
14992 * sysdeps/posix/utime.c: ... here.
14993
14994 * sysdeps/unix/time.c: Moved ...
14995 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14996 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14997 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14998
14999 * sysdeps/unix/nice.c: Moved ...
15000 * sysdeps/posix/nice.c: ... here.
15001
15002 * sysdeps/unix/alarm.c: Moved ...
15003 * sysdeps/posix/alarm.c: ... here.
15004
3bd9e993
RM
15005 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15006
d1f09384
JL
150072012-08-17 Jeff Law <law@redhat.com>
15008
15009 * intl/Makefile (codeset_mo): New variable.
15010 ($(codeset_mo)): New target.
15011 (tst-codeset.out): Depend on that. Remove explicit rule.
15012 (tst-gettext3.out, tst-gettext5.out): Likewise.
15013 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15014 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15015 * intl/tst-codeset.sh: Remove.
15016 * intl/tst-gettext3.sh: Likewise.
15017 * intl/tst-gettext5.sh: Likewise.
15018
2ae1ae5c
RM
150192012-08-17 Roland McGrath <roland@hack.frob.com>
15020
c31fdb83
RM
15021 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15022 * sysdeps/unix/syscalls.list: ... here.
15023
a0844057
RM
15024 * sysdeps/posix/getaddrinfo.c
15025 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15026 (gaiconf_init, gaiconf_reload): Use them.
15027 [!_STATBUF_ST_NSEC]
15028 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15029 Define using time_t rather than struct timespec.
15030
750c1f2a
RM
15031 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15032 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15033 Macros removed.
15034 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15035 [!NO_THREADS].
15036 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15037 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15038 Likewise.
15039
2ae1ae5c
RM
15040 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15041 __libc_cleanup_push argument.
15042
e66a42f5
RM
15043 * bits/param.h: New file.
15044 * misc/sys/param.h: New file.
15045 * include/sys/param.h: New file.
15046 * misc/Makefile (headers): Add bits/param.h.
15047 * sysdeps/generic/sys/param.h: File removed.
15048 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15049 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15050 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 15051 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 15052
b7c08a66
RM
15053 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15054 last change.
15055
b2e1c562
RM
15056 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15057 [_IO_MTSAFE_IO].
15058 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15059 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15060 New macros.
15061
c75ccd4c
RM
15062 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15063 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15064 rather than -D_IO_MTSAFE_IO conditionally.
15065 * stdio-common/Makefile (CPPFLAGS): Likewise.
15066 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15067 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15068 Use $(libio-mtsafe).
15069 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15070 of -D_IO_MTSAFE_IO.
15071 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15072 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15073 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15074 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15075 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15076 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15077 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15078 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15079 (CFLAGS-fread_u_chk.c): Likewise.
15080 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15081 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15082 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15083 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15084 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15085 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15086 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15087 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15088 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15089
15090 * libio/Makefile: Test [$(libc-reentrant) = yes]
15091 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15092
15093 * Makeconfig
15094 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15095 * sysdeps/pthread/configure: File removed.
15096 * sysdeps/pthread/Makeconfig: New file.
15097 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15098 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15099
d9195db8
GB
151002012-08-16 Gary Benson <gbenson@redhat.com>
15101
15102 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15103 unmapping the first object in a namespace.
15104
86466cd9
RM
151052012-08-16 Roland McGrath <roland@hack.frob.com>
15106
15107 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15108 (__internal_setnetgrent): ... this. Add internal_function to
15109 definition. Add libc_hidden_def.
15110 (setnetgrent): Update caller.
15111 (internal_endnetgrent): Renamed to ...
15112 (__internal_endnetgrent): ... this. Add internal_function to
15113 definition. Add libc_hidden_def.
15114 (endnetgrent): Update caller.
15115 (internal_getnetgrent_r): Renamed to ...
15116 (__internal_getnetgrent_r): ... this. Add internal_function to
15117 definition. Add libc_hidden_def.
15118 (__getnetgrent_r): Update caller.
15119 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15120
c3c8283c
JM
151212012-08-16 Joseph Myers <joseph@codesourcery.com>
15122
15123 * stdlib/longlong.h: Update from GCC.
15124
db1ee0a8
RM
151252012-08-16 Roland McGrath <roland@hack.frob.com>
15126
15127 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15128 on _QL, which is set by umul_ppmm but never used.
15129 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15130 variables, which are set by GMP macros but never used.
15131 * stdio-common/_itowa.c (_itowa): Likewise.
15132 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15133 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15134
30f69637
CD
151352012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15136
15137 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15138 struct La_sh_regs is not constant.
15139 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15140 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15141 and struct La_sparc64_regs are not constant.
15142
93a78ac4
JM
151432012-08-16 Joseph Myers <joseph@codesourcery.com>
15144
15145 * sysdeps/unix/sysv/linux/kernel-features.h
15146 (__ASSUME_POSIX_TIMERS): Remove.
15147 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15148 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15149 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15150 Make code unconditional.
15151 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15152 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15153 Make code unconditional.
15154 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15155 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15156 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15157 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15158 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15159 Make code unconditional.
15160 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15161 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15162 (__libc_missing_posix_timers): Remove.
15163
dd924cd7
RM
151642012-08-15 Roland McGrath <roland@hack.frob.com>
15165
4b4f2771
RM
15166 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15167 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15168
601c888b
RM
15169 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15170
176790a7
RM
15171 * elf/dl-sym.c: Include <stdlib.h>.
15172
329bc018
RM
15173 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15174 constants, which avoids warnings in 32-bit builds.
15175
e04e272d
RM
15176 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15177 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15178
952bf94a
RM
15179 * misc/lseek.c: File moved to ...
15180 * io/lseek.c: ... here.
15181
7c99b50a
RM
15182 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15183
dd924cd7
RM
15184 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15185 shifting LEN more than 31 bits at once.
15186
b3f479a8
LD
151872012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15188
15189 [BZ #14195]
8c4ae0d4
RM
15190 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15191 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15192 * string/test-strncasecmp.c (check1): Renamed to...
15193 (bz12205): ...this.
15194 (bz14195): Add new testcase for two empty input strings and N > 0.
15195 (test_main): Call new testcase, adapt for renamed function.
15196
9c55864e
AJ
151972012-08-15 Andreas Jaeger <aj@suse.de>
15198
15199 [BZ #14090]
15200 * crypt/md5test2.c: New test, based on test supplied by Serge
15201 Belyshev <belyshev@depni.sinp.msu.ru>.
15202 * crypt/Makefile (xtests): Add md5test-giant..
15203 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15204
02dcb6c5
PE
152052012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15206
15207 [BZ #14090]
15208 * crypt/md5.c (md5_process_block): Don't assume the buffer
15209 length is less than 2**32.
15210 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15211 length is less than 2**64.
15212
a3f95dcc
RM
152132012-08-15 Roland McGrath <roland@hack.frob.com>
15214
be75d758
RM
15215 * string/str-two-way.h: Include <sys/param.h>.
15216 (MAX): Macro removed.
15217
7312ca90
RM
15218 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15219 Move #define and #undef of memmove to just before and after
15220 including <string.h>.
15221
9a0a5486
RM
15222 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15223 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15224 and after including <string.h>. Move declarations of
15225 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15226 to before #include "string/memmove.c".
15227
67cc348d
RM
15228 * include/dirent.h: Declare __getdirentries.
15229
a3f95dcc
RM
15230 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15231 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15232
ca98e171
MF
152332012-08-14 Mike Frysinger <vapier@gentoo.org>
15234
15235 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15236 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15237 * sysdeps/i386/configure: Regenerated.
15238 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15239 STABS_CURRENT_FILE, and STABS_FUN.
15240 (END): Remove call to STABS_FUN_END.
15241 (STABS_CURRENT_FILE1): Delete.
15242 (STABS_CURRENT_FILE): Likewise.
15243 (STABS_FUN): Likewise.
15244 (STABS_FUN_END): Likewise.
15245 (STABS_FUN2): Likewise.
15246 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15247 * sysdeps/x86_64/configure: Regenerated.
15248
5908bf46
RM
152492012-08-14 Roland McGrath <roland@hack.frob.com>
15250
15251 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15252 * elf/dl-lookup.c: Likewise.
5908bf46 15253
f2c05b9e
JM
152542012-08-14 Joseph Myers <joseph@codesourcery.com>
15255
15256 * sysdeps/unix/sysv/linux/kernel-features.h
15257 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15258 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15259 unconditionally.
15260 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15261 unconditionally.
15262 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15263 condition on __ASSUME_CLONE_THREAD_FLAGS.
15264
e11f5155
AJ
152652012-08-14 Andreas Jaeger <aj@suse.de>
15266
15267 * sysdeps/i386/fpu/libm-test-ulps: Update.
15268
51a9ba86
MK
152692012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15270
2fdd4f78
AJ
15271 * include/atomic.h (atomic_exchange_and_add): Split into ...
15272 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15273 New atomic macros.
51a9ba86 15274
ba6cba9e
MT
152752012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15276
15277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15278
42443a47
JL
152792012-08-13 Jeff Law <law@redhat.com>
15280
15281 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15282 null byte in the output string.
15283
121dce05
JM
152842012-08-10 Joseph Myers <joseph@codesourcery.com>
15285
15286 * sysdeps/unix/sysv/linux/kernel-features.h
15287 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15288 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15289 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15290 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15291 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15292 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15293 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15294
bf51f568
JL
152952012-08-09 Jeff Law <law@redhat.com>
15296
15297 [BZ #13939]
15298 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15299 When avoid_arena is set, don't retry in the that arena. Pick the
15300 next one, whatever it might be.
15301 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15302 (arena_lock): Pass in new parameter to arena_get2.
15303 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15304 arena_get2.
15305 (__libc_malloc): Unify retrying after main arena failure with
15306 __libc_memalign version.
15307 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15308
f85fa270
L
153092012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15310
15311 [BZ #14166]
15312 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15313 to __redirect_strstr.
15314 (__strstr_sse42): Use typeof __redirect_strstr.
15315 (__strstr_ia32): Likewise.
15316 (__libc_strstr): New prototype.
15317 (strstr): Renamed to ...
15318 (__libc_strstr): This.
15319 (strstr): New strong alias of __libc_strstr.
15320 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15321 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15322 __redirect_time.
15323 Include <time.h>.
15324 (__libc_time): New prototype.
15325 (time_ifunc): Replace time with __libc_time.
15326 (time): New strong alias and hidden definition of __libc_time.
15327 (__GI_time): Remove strong alias.
15328 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15329 Include <stddef.h>.
15330 (memmove): Redefined to __redirect_memmove.
15331 (__memmove_sse2): Use typeof __redirect_memmove.
15332 (__memmove_ssse3): Likewise.
15333 (__memmove_ssse3_back): Likewise.
15334 (__libc_memmove): New prototype.
15335 (memmove): Renamed to ...
15336 (__libc_memmove): This.
15337 (memmove): New strong alias of __libc_memmove.
15338
33b4a91e
MS
153392012-08-08 Mark Salter <msalter@redhat.com>
15340
15341 * elf/elf.h
15342 (R_MN10300_TLS_GD): Define.
15343 (R_MN10300_TLS_LD): Likewise.
15344 (R_MN10300_TLS_LDO): Likewise.
15345 (R_MN10300_TLS_GOTIE): Likewise.
15346 (R_MN10300_TLS_IE): Likewise.
15347 (R_MN10300_TLS_LE): Likewise.
15348 (R_MN10300_TLS_DTPMOD): Likewise.
15349 (R_MN10300_TLS_DTPOFF): Likewise.
15350 (R_MN10300_TLS_TPOFF): Likewise.
15351 (R_MN10300_SYM_DIFF): Likewise.
15352 (R_MN10300_ALIGN): Likewise.
15353 (R_MN10300_NUM): Update.
15354
b36137f1
JM
153552012-08-08 Joseph Myers <joseph@codesourcery.com>
15356
15357 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15358 Remove.
15359
cdd915fd
RM
153602012-08-08 Roland McGrath <roland@hack.frob.com>
15361
a2433aac
RM
15362 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15363
cdd915fd
RM
15364 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15365 sysdeps/unix -> sysdeps/posix move.
15366 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15367
bf9b740a
AM
153682012-08-07 Allan McRae <allan@archlinux.org>
15369
15370 [BZ #14303]
15371 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15372 (SUNOS_CPP): Likewise.
15373 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15374 not found.
15375 (open_input): Call CPP using execvp.
15376
93df14ee
JM
153772012-08-07 Joseph Myers <joseph@codesourcery.com>
15378
15379 * sysdeps/unix/sysv/linux/kernel-features.h
15380 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15381 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15382 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15383 (__ASSUME_WAITID_SYSCALL): Likewise.
15384 * sysdeps/unix/sysv/linux/dl-execstack.c
15385 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15386 code unconditional.
15387 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15388 conditional code.
15389 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15390 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15391 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15392 code.
15393 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15394 unconditional.
15395 [__ASSUME_WAITID_SYSCALL]: Likewise.
15396 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15397
d34689de
RM
153982012-08-07 Roland McGrath <roland@hack.frob.com>
15399
a281decc
RM
15400 * sysdeps/unix/closedir.c: Renamed to ...
15401 * sysdeps/posix/closedir.c: ... here.
15402 * sysdeps/unix/dirfd.c: Renamed to ...
15403 * sysdeps/posix/dirfd.c: ... here.
15404 * sysdeps/unix/dirstream.h: Renamed to ...
15405 * sysdeps/posix/dirstream.h: ... here.
15406 * sysdeps/unix/fdopendir.c: Renamed to ...
15407 * sysdeps/posix/fdopendir.c: ... here.
15408 * sysdeps/unix/opendir.c: Renamed to ...
15409 * sysdeps/posix/opendir.c: ... here.
15410 * sysdeps/unix/readdir.c: Renamed to ...
15411 * sysdeps/posix/readdir.c: ... here.
15412 * sysdeps/unix/readdir_r.c: Renamed to ...
15413 * sysdeps/posix/readdir_r.c: ... here.
15414 * sysdeps/unix/rewinddir.c: Renamed to ...
15415 * sysdeps/posix/rewinddir.c: ... here.
15416 * sysdeps/unix/seekdir.c: Renamed to ...
15417 * sysdeps/posix/seekdir.c: ... here.
15418 * sysdeps/unix/telldir.c: Renamed to ...
15419 * sysdeps/posix/telldir.c: ... here.
15420 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15421 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15422 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15423 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15424
22895b47
RM
15425 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15426 * bits/fcntl.h: ... here.
15427
707a53b6
RM
15428 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15429 not 0.
15430 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15431 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15432 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15433 (struct flock): Move l_start, l_len to the beginning.
15434 Use __pid_t for l_pid.
15435 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15436 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15437 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15438 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15439 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15440 [__USE_LARGEFILE64] (struct flock64): New type.
15441 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15442
f0bd3e25
RM
15443 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15444 * bits/dirent.h: ... here.
15445
d34689de
RM
15446 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15447 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15448
6dad2c06
JM
154492012-08-07 Joseph Myers <joseph@codesourcery.com>
15450
15451 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15452 Change from 2.6.0 to 2.6.16.
15453 * sysdeps/unix/sysv/linux/configure: Regenerated.
15454 * sysdeps/unix/sysv/linux/kernel-features.h
15455 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15456 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15457 version.
15458 (__ASSUME_UTIMES): Likewise.
15459 (__ASSUME_CLONE_STOPPED): Remove.
15460 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15461 architectures, not kernel version.
15462 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15463 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15464 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15465 (__ASSUME_WAITID_SYSCALL): Likewise.
15466 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15467 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15468 * README: State 2.6.16 as minimum Linux kernel version. Do not
15469 refer to older versions.
15470
03af9520
RM
154712012-08-06 Roland McGrath <roland@hack.frob.com>
15472
8e49df1d
RM
15473 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15474 Define alphasort64 as an alias.
15475 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15476 Define versionsort64 as an alias.
15477 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15478 Define scandir64 as an alias.
15479 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15480 Define scandirat64 as an alias.
15481 * dirent/alphasort64.c (alphasort64):
15482 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15483 * dirent/versionsort64.c: Likewise.
15484 * dirent/scandir64.c: Likewise.
15485 * dirent/scandirat64.c: Likewise.
15486 * sysdeps/wordsize-64/alphasort.c: File removed.
15487 * sysdeps/wordsize-64/alphasort64.c: File removed.
15488 * sysdeps/wordsize-64/scandir.c: File removed.
15489 * sysdeps/wordsize-64/scandir64.c: File removed.
15490 * sysdeps/wordsize-64/scandirat.c: File removed.
15491 * sysdeps/wordsize-64/scandirat64.c: File removed.
15492 * sysdeps/wordsize-64/versionsort.c: File removed.
15493 * sysdeps/wordsize-64/versionsort64.c: File removed.
15494 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15495 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15496 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15497 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15498 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15499 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15500 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15501 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15502
15503 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15504 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15505 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15506 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15507 [defined __arch64__ || defined __sparcv9]
15508 (__INO_T_MATCHES_INO64_T): New macro.
15509 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15510 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15511 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15512 * sysdeps/unix/sysv/linux/bits/dirent.h
15513 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15514 (_DIRENT_MATCHES_DIRENT64): New macro.
15515
03af9520
RM
15516 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15517 Define lockf64 as an alias.
15518 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15519 Define fseeko64 as an alias.
15520 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15521 Define ftello64 as an alias.
15522 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15523 Define _IO_fgetpos64 and fgetpos64 as aliases.
15524 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15525 Define _IO_fsetpos64 and fsetpos64 as aliases.
15526 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15527 Conditionalize body on this.
15528 * libio/fseeko64.c: Likewise.
15529 * libio/ftello64.c: Likewise.
15530 * libio/iofgetpos64.c: Likewise.
15531 * libio/iofsetpos64.c: Likewise.
15532 * sysdeps/wordsize-64/lockf.c: File removed.
15533 * sysdeps/wordsize-64/lockf64.c: File removed.
15534 * sysdeps/wordsize-64/fseeko.c: File removed.
15535 * sysdeps/wordsize-64/fseeko64.c: File removed.
15536 * sysdeps/wordsize-64/ftello.c: File removed.
15537 * sysdeps/wordsize-64/ftello64.c: File removed.
15538 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15539 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15540 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15541 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15542 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15543 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15544 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15545 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15546 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15547 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15548 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15549 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15550 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15551 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15552
15553 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15554 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15555 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15556 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15557 [defined __arch64__ || defined __sparcv9]
15558 (__OFF_T_MATCHES_OFF64_T): New macro.
15559 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15560 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15561 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15562 (__OFF_T_MATCHES_OFF64_T): New macro.
15563
c5757acd
L
155642012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15565
15566 * stdlib/secure-getenv.c (__secure_getenv): Replace
15567 GLIBC_2_16 with GLIBC_2_17.
15568
3a31811e
L
155692012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15570
15571 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15572 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15573
faa2bccb
DM
155742012-08-03 David S. Miller <davem@davemloft.net>
15575
15576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15577
85fe1997
JM
155782012-08-03 Joseph Myers <joseph@codesourcery.com>
15579
15580 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15581 Remove.
15582 (__ASSUME_CORRECT_SI_PID): Likewise.
15583 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15584 (__ASSUME_TMPFS_NAME): Likewise.
15585 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15586 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15587 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15588 (HAVE_AUX_SECURE): Make definition unconditional.
15589 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15590 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15591
4f75b7a0
RM
155922012-08-03 Roland McGrath <roland@hack.frob.com>
15593
15594 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15595 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15596 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15597 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15598 __eloop_threshold instead of SYMLOOP_MAX.
15599
15600 * sysdeps/generic/eloop-threshold.h: New file.
15601 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15602 of MAXSYMLINKS.
15603 * elf/chroot_canon.c (chroot_canon): Likewise.
15604
7aab07e4
JM
156052012-08-03 Joseph Myers <joseph@codesourcery.com>
15606
15607 [BZ #13717]
15608 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15609 Change to 2.6.0 everywhere.
15610 * sysdeps/unix/sysv/linux/configure: Regenerated.
15611 * sysdeps/unix/sysv/linux/kernel-features.h
15612 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15613 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15614 kernel versions.
15615 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15616 (__ASSUME_FUTEX_REQUEUE): Remove.
15617 (__ASSUME_STATFS64): Define unconditionally.
15618 (__ASSUME_AT_SECURE): Likewise.
15619 (__ASSUME_CORRECT_SI_PID): Likewise.
15620 (__ASSUME_TGKILL): Define without depending on kernel version for
15621 i386.
15622 (__ASSUME_UTIMES): Likewise.
15623 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15624 kernel version.
15625 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15626 (__ASSUME_TMPFS_NAME): Likewise.
15627 * README: Update reference to Linux kernel versions.
15628
b67e9372
MP
156292012-08-02 Marek Polacek <polacek@redhat.com>
15630
1f529f7d 15631 [BZ# 14150]
b67e9372
MP
15632 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15633 libc_cv_asm_type_prefix with %.
15634 * configure: Regenerated.
d2441631
RM
15635 * include/libc-symbols.h: Remove comment about
15636 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15637 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15638 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15639 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15640 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15641 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15642 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15643 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15644 * elf/tst-unique2mod1.c: Likewise.
15645 * elf/tst-unique1mod2.c: Likewise.
15646 * elf/tst-unique1mod1.c: Likewise.
15647 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15648 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15649 Replace ASM_TYPE_DIRECTIVE with .type.
15650 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15651 * sysdeps/i386/sysdep.h: Likewise.
15652 * sysdeps/x86_64/sysdep.h: Likewise.
15653 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15655 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15656 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15657 * sysdeps/powerpc/powerpc32/sysdep.h:
15658 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15659 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15660 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15661 * sysdeps/i386/fpu/e_powf.S: Likewise.
15662 * sysdeps/i386/fpu/e_expl.S: Likewise.
15663 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15664 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15665 * sysdeps/i386/fpu/e_pow.S: Likewise.
15666 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15667 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15668 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15669 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15670 * sysdeps/i386/fpu/e_log2.S: Likewise.
15671 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15672 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15673 * sysdeps/i386/fpu/e_powl.S: Likewise.
15674 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15675 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15676 * sysdeps/i386/fpu/e_logl.S: Likewise.
15677 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15678 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15679 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15680 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15681 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15682 * sysdeps/i386/fpu/e_log.S: Likewise.
15683 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15684 * sysdeps/i386/fpu/e_logf.S: Likewise.
15685 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15686 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15687 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15688 * sysdeps/i386/fpu/e_log10.S: Likewise.
15689 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15690 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15691 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15692 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15693 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15694 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15695 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15696 * sysdeps/i386/i686/strtok.S: Likewise.
15697 * sysdeps/i386/i386-mcount.S: Likewise.
15698 * sysdeps/i386/strtok.S: Likewise.
15699 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15700 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15701 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15702 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15703 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15704 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15705 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15706 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15707 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15708 * sysdeps/x86_64/_mcount.S: Likewise.
15709 * sysdeps/x86_64/strtok.S: Likewise.
15710 * sysdeps/sh/_mcount.S: Likewise.
15711
2747bf9a
RM
157122012-08-01 Roland McGrath <roland@hack.frob.com>
15713
15714 * libio/iofopen.c: Include <fcntl.h>.
15715 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15716 (_IO_fopen64, fopen64): Define as aliases.
15717 * libio/iofopen64.c: Include <fcntl.h>.
15718 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15719 Conditionalize body on this.
15720 * sysdeps/wordsize-64/iofopen.c: File removed.
15721 * sysdeps/wordsize-64/iofopen64.c: File removed.
15722
3fb791b8
MP
157232012-08-01 Marek Polacek <polacek@redhat.com>
15724
15725 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15726 Use dlfcn directly instead of a variable.
15727 (binfmt-subdir): Do not define.
15728 (dlfcn): Likewise.
15729
a9f1039f
JM
157302012-08-01 Joseph Myers <joseph@codesourcery.com>
15731
23bddc06
JM
15732 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15733 Remove all definitions.
15734 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15735 <kernel-features.h>.
15736 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15737 (miss_F_GETOWN_EX): Remove all definitions.
15738 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15739 macro definition.
15740 [!__ASSUME_FCNTL64]: Remove conditional code.
15741 [__ASSUME_FCNTL64]: Make code unconditional.
15742 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15743 <kernel-features.h>.
15744 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15745 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15746 (lockf64) [__NR_fcntl64]: Make code unconditional.
15747 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15748
a9f1039f
JM
15749 * sysdeps/unix/sysv/linux/kernel-features.h
15750 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15751 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15752 Make code unconditional.
15753 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15754 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15756 [__NR_vfork]: Make code unconditional.
15757 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15758 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15760 [__NR_vfork]: Make code unconditional.
15761 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15762 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15763
09c0ee5f
RM
157642012-08-01 Roland McGrath <roland@hack.frob.com>
15765
48aec5b9
RM
15766 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15767 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15768
cd97c966
RM
15769 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15770 Define mkstemp64 as an alias.
3f55550c
RM
15771 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15772 Define mkstemps64 as an alias.
cd97c966
RM
15773 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15774 Define mkostemp64 as an alias.
b8625cfc
RM
15775 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15776 Define mkostemps64 as an alias.
cd97c966
RM
15777 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15778 Conditionalize body on this.
15779 * misc/mkostemp64.c: Likewise.
b8625cfc 15780 * misc/mkostemps64.c: Likewise.
3f55550c 15781 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15782 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15783 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15784 * sysdeps/wordsize-64/mkostemp.c: File removed.
15785 * sysdeps/wordsize-64/mkstemp.c: File removed.
15786 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15787 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15788 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15789 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15790
09c0ee5f
RM
15791 [BZ #14138]
15792 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15793 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15794 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15795 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15796
15797 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15798 compat_symbol macros from <shlib-compat.h> rather than the underlying
15799 default_symbol_version and symbol_version macros, so that DEFAULT
15800 lines in shlib-versions are respected.
15801 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15802
7e66ee51
FW
158032012-08-01 Florian Weimer <fweimer@redhat.com>
15804
15805 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15806 Declare with warn_unused_result.
15807 (setgid, setregid, setegid, setresgid): Likewise.
15808 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15809 Likewise.
15810 * WUR-REPORT: Remove set*id functions.
15811
d2a54255
PT
158122012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15813
15814 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15815
7ecdb005
RM
158162012-07-31 Roland McGrath <roland@hack.frob.com>
15817
b4180a5e 15818 [BZ #10191]
789bd351
RM
15819 * include/sys/socket.h (__libc_accept, __libc_accept4):
15820 Add attribute_hidden.
15821 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15822
40ce302d
RM
15823 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15824 use of PTR_MANGLE.
15825 * inet/getnetgrent_r.c (setup): Likewise.
15826
7ecdb005
RM
15827 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15828
e2eabb2c
DM
158292012-07-31 David S. Miller <davem@davemloft.net>
15830
15831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15832
d0419dbf
JM
158332012-07-31 Joseph Myers <joseph@codesourcery.com>
15834
15835 [BZ #13629]
15836 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15837 value between 1.0 and 2.0 and smaller part has absolute value less
15838 than 1.0.
15839 * math/s_clog10.c (__clog10): Likewise.
15840 * math/s_clog10f.c (__clog10f): Likewise.
15841 * math/s_clog10l.c (__clog10l): Likewise.
15842 * math/s_clogf.c (__clogf): Likewise.
15843 * math/s_clogl.c (__clogl): Likewise.
15844 * math/libm-test.inc (clog_test): Add more tests.
15845 (clog10_test): Likewise.
15846 * sysdeps/i386/fpu/libm-test-ulps: Update.
15847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15848
2bc13872
FW
158492012-07-31 Florian Weimer <fweimer@redhat.com>
15850
15851 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15852 Exit with zero in case no suitable GID is found, and write a
15853 message to standard error.
15854
bea9b193
RM
158552012-07-30 Roland McGrath <roland@hack.frob.com>
15856
15857 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15858 rather than to 1.
15859 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15860 (MAXPATHLEN): Removed.
15861 (NOGROUP, NODEV): New macros.
15862 (setbit, clrbit, isset, isclr): New macros.
15863 (howmany, roundup, powerof2): New macros.
15864 (DEV_BSIZE): New macro.
15865
15866 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15867 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15868
15869 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15870 definition on [!__NO_LONG_DOUBLE_MATH].
15871
15872 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15873 PTR_MANGLE and PTR_DEMANGLE.
15874
15875 * socket/accept4.c (accept4): Rename to __libc_accept4.
15876 Define accept4 as a weak alias.
15877
15878 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15879 on [_DIRENT_HAVE_D_TYPE].
15880 * io/ftw.c (ftw_dir): Likewise.
15881
15882 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15883
15884 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15885
15886 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15887 Use the BSD numbers rather than the arbitrary ones we had.
15888 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15889 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15890 (SIGXCPU, SIGXFSZ): New macros.
15891 (_NSIG): Now 32.
15892
15893 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15894 initializer on [_LIBC_REENTRANT].
15895
15896 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15897 definitions inside [_POSIX_MAPPED_FILES].
15898
15899 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15900
15901 * dirent/opendir.c: Include <fcntl.h>.
15902
15903 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15904 (__libc_getspecific): Likewise.
15905 (__libc_key_create): Likewise.
15906
15907 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15908 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15909 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15910 (tmpfile64): Define as alias.
15911 * sysdeps/wordsize-64/tmpfile.c: File removed.
15912 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15913 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15914 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15915
15916 * stdio-common/vfscanf.c: Include <stdbool.h>.
15917 * nss/makedb.c: Likewise.
15918 * stdio-common/_i18n_number.h: Likewise.
15919 * argp/argp-help.c: Likewise.
15920 * posix/wordexp.c: Likewise.
15921 * sysdeps/posix/spawni.c: Likewise.
15922 * nss/nss_files/files-initgroups.c: Likewise.
15923 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15924 * nss/nss_files/files-initgroups.c: Likewise.
15925 * nss/nss_db/db-netgrp.c: Likewise.
15926 * nss/nss_db/db-initgroups.c: Likewise.
15927 * io/fchmodat.c: Include <sys/stat.h>.
15928
15929 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15930 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15931
15932 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15933 [HAVE_MMAP].
15934
15935 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15936 Add multiple inclusion protection.
15937
e5abc686
DM
159382012-07-27 David S. Miller <davem@davemloft.net>
15939
15940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15941
815e6fa3
GB
159422012-07-27 Gary Benson <gbenson@redhat.com>
15943
15944 [BZ #14298]
15945 * elf/rtld.c: Include <stap-probe.h>.
15946 (dl_main): Added static probes "init_start" and "init_complete".
15947 * elf/dl-load.c: Include <stap-probe.h>.
15948 (lose): Take new parameter "nsid".
15949 Added static probe "map_failed".
15950 (_dl_map_object_from_fd): Pass namespace id to lose.
15951 Added static probe "map_start".
15952 (open_verify): Pass namespace id to lose.
15953 * elf/dl-open.c: Include <stap-probe.h>.
15954 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15955 and "reloc_complete".
15956 * elf/dl-close.c: Include <stap-probe.h>.
15957 (_dl_close_worker): Added static probes "unmap_start" and
15958 "unmap_complete".
15959 * elf/rtld-debugger-interface.txt: New file documenting the above.
15960
9f98c16c
RM
159612012-07-26 Roland McGrath <roland@hack.frob.com>
15962
15963 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15964 rather than a string variable.
15965 * sunrpc/rpc_main.c (h_output): Likewise.
15966 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15967
f3c22df3
PT
159682012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15969
15970 * inet/check_native.c: New file.
15971
3129cfc6
JM
159722012-07-26 Joseph Myers <joseph@codesourcery.com>
15973
da865e95
JM
15974 [BZ #13629]
15975 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15976 if larger part has absolute value 1.0.
15977 * math/s_clog10.c (__clog10): Likewise.
15978 * math/s_clog10f.c (__clog10f): Likewise.
15979 * math/s_clog10l.c (__clog10l): Likewise.
15980 * math/s_clogf.c (__clogf): Likewise.
15981 * math/s_clogl.c (__clogl): Likewise.
15982 * math/libm-test.inc (clog_test): Add more tests.
15983 (clog10_test): Likewise.
15984 * sysdeps/i386/fpu/libm-test-ulps: Update.
15985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15986
3129cfc6
JM
15987 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15988 (pltexit): Likewise.
15989 (La_regs): Likewise.
15990 (La_retval): Likewise.
15991 (int_retval): Likewise.
15992 Update #error for removed macros to refer only to definitions in
15993 tst-audit.h.
15994 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15995 macro.
15996 (pltexit): Likewise.
15997 (La_regs): Likewise.
15998 (La_retval): Likewise.
15999 (int_retval): Likewise.
16000 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16001 macro.
16002 (pltexit): Likewise.
16003 (La_regs): Likewise.
16004 (La_retval): Likewise.
16005 (int_retval): Likewise.
16006 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16007 macro.
16008 (pltexit): Likewise.
16009 (La_regs): Likewise.
16010 (La_retval): Likewise.
16011 (int_retval): Likewise.
16012 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16013 macro.
16014 (pltexit): Likewise.
16015 (La_regs): Likewise.
16016 (La_retval): Likewise.
16017 (int_retval): Likewise.
16018 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16019 macro.
16020 (pltexit): Likewise.
16021 (La_regs): Likewise.
16022 (La_retval): Likewise.
16023 (int_retval): Likewise.
16024 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16025 macro.
16026 (pltexit): Likewise.
16027 (La_regs): Likewise.
16028 (La_retval): Likewise.
16029 (int_retval): Likewise.
16030 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16031 macro definitions in tst-audit.h.
16032 * sysdeps/i386/tst-audit.h: New file.
16033 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16034 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16035 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16036 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16037 * sysdeps/sh/tst-audit.h: Likewise.
16038 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16039 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16040 * sysdeps/x86_64/tst-audit.h: Likewise.
16041
bfc07087
AJ
160422012-07-26 Andreas Jaeger <aj@suse.de>
16043
b1b2aaf8
AJ
16044 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16045 ptrace.
16046
16047 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16048 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16049 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16050 PTRACE_O_MASK.
16051 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16052 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16053 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16054
bfc07087
AJ
16055 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16056 value.
16057
16058 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16059 _sigsys.
16060 (si_call_addr, si_syscall, si_arch): Define new macro.
16061 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16062 _sigsys.
16063 (si_call_addr, si_syscall, si_arch): Define new marcro.
16064 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16065 _sigsys.
16066 (si_call_addr, si_syscall, si_arch): Define new macro.
16067 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16068 _sigsys.
16069 (si_call_addr, si_syscall, si_arch): Define new macro.
16070
89b4b02f
JM
160712012-07-25 Joseph Myers <joseph@codesourcery.com>
16072
16073 [BZ #13717]
16074 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16075 Change to 2.4.21 where previously 2.4.1.
16076 * sysdeps/unix/sysv/linux/configure: Regenerated.
16077 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16078 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16079 Linux kernel version.
16080 (__ASSUME_STD_AUXV): Remove.
16081 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16082 kernel version.
16083 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16084 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16085 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16086 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16087 (__ASSUME_NETLINK_SUPPORT): Likewise.
16088 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16089 (__no_netlink_support): Remove conditional definition.
16090 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16091 Remove.
16092 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16093 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16094 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16095 (if_nameindex_ioctl): Remove.
16096 (if_nameindex_netlink): Do not handle __no_netlink_support.
16097 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16098 code.
16099 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16100 Remove conditional code.
16101 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16102 code.
16103 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16104 unconditional.
16105 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16106 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16107 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16108 Remove.
16109 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16110 [!__ASSUME_STD_AUXV]: Remove conditional code.
16111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16112 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16113 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16115 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16116 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16117 code.
16118 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16120 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16121 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16122 conditional code.
16123 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16125 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16126 code.
16127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16128 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16129 conditional code.
16130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16131 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16132 code unconditional.
16133 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16134 conditional code.
16135 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16136 unconditional.
16137 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16138 conditional code.
16139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16140 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16141 unconditional.
16142 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16143 conditional code.
16144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16145 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16146 code unconditional.
16147 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16148 conditional code.
16149 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16150 unconditional.
16151 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16152 conditional code.
16153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16154 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16155 code unconditional.
16156 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16157 conditional code.
16158 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16159 unconditional.
16160 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16161 conditional code.
16162
842a39cd
AS
161632012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16164
16165 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16166 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16167 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16168 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16169 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16170 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16171 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16172 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16173 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16174 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16175 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16176 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16177 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16178 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16179 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16180 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16181 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16182 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16183 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16185 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16186 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16187 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16188
84b3fd84
FW
161892012-07-25 Florian Weimer <fweimer@redhat.com>
16190
16191 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16192 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16193 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16194 Introduce __libc_secure_getenv.
0c7936d5
FW
16195 * stdlib/Versions (2.17): Add secure_getenv
16196 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16197 * stdlib/secure-getenv.c: Rename __secure_getenv to
16198 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16199 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16200 * stdlib/tst-secure-getenv.c: New.
16201 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16202 * manual/startup.texi (Environment Access): Document
16203 secure_getenv.
84b3fd84
FW
16204 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16205 __libc_secure_getenv.
16206 * inet/ruserpass.c (ruserpass): Likewise.
16207 * malloc/mtrace.c (mtrace): Likewise.
16208 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16209 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16210 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16211 * sysdeps/posix/tempname.c: Likewise. Evaluate
16212 HAVE_SECURE_GETENV.
16213 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16214 __secure_getenv to __libc_secure_getenv.
84b3fd84 16215 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16217 Likewise.
16218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16219 Likewise.
16220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16222 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16227
56e49b71
JM
162282012-07-25 Joseph Myers <joseph@codesourcery.com>
16229
16230 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16231 (struct La_i86_retval): Likewise.
16232 (struct La_x86_64_regs): Likewise.
16233 (struct La_x86_64_retval): Likewise.
16234 (struct La_x32_regs): Likewise.
16235 (struct La_x32_retval): Likewise.
16236 (struct La_ppc32_regs): Likewise.
16237 (struct La_ppc32_retval): Likewise.
16238 (struct La_ppc64_regs): Likewise.
16239 (struct La_ppc64_retval): Likewise.
16240 (struct La_sh_regs): Likewise.
16241 (struct La_sh_retval): Likewise.
16242 (struct La_s390_32_regs): Likewise.
16243 (struct La_s390_32_retval): Likewise.
16244 (struct La_s390_64_regs): Likewise.
16245 (struct La_s390_64_retval): Likewise.
16246 (struct La_sparc32_regs): Likewise.
16247 (struct La_sparc32_retval): Likewise.
16248 (struct La_sparc64_regs): Likewise.
16249 (struct La_sparc64_retval): Likewise.
16250 (struct audit_ifaces): Remove architecture-specific pltenter and
16251 pltexit members.
16252 * sysdeps/i386/ldsodefs.h: New file.
16253 * sysdeps/powerpc/ldsodefs.h: Likewise.
16254 * sysdeps/s390/ldsodefs.h: Likewise.
16255 * sysdeps/sh/ldsodefs.h: Likewise.
16256 * sysdeps/sparc/ldsodefs.h: Likewise.
16257 * sysdeps/x86_64/ldsodefs.h: Likewise.
16258
354691b7
MP
162592012-07-25 Marek Polacek <polacek@redhat.com>
16260
16261 [BZ #6808]
16262 * math/libm-test.inc (yn_test): Add another test.
16263 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16264 to ERANGE when the result is +-Inf.
16265 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16266 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16267 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16268 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16269
bf9e2071
JM
162702012-07-24 Joseph Myers <joseph@codesourcery.com>
16271
16272 * conform/data/time.h-data (NULL): Use macro-constant. Require
16273 equal to 0.
16274 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16275 clock_t.
16276 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16277
57633811
TS
162782012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16279
16280 * configure.in <sysdeps resolving>: Correct printing
16281 Implies_before.
16282 * configure: Regenerate.
16283
c23c33b0
TS
162842012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16285
16286 * math/w_ilogb.c: Include <limits.h>.
16287 * math/w_ilogbl.c: Likewise.
16288
b5982523
JM
162892012-07-20 Joseph Myers <joseph@codesourcery.com>
16290
16291 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16292 va_copy. Document allowing for unavailable va_copy only as
16293 pre-C99 compatibility.
16294 * manual/string.texi (Copying and Concatenation): Use va_copy
16295 instead of __va_copy in concat example.
16296
ac4ea442
PT
162972012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16298
16299 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16300 (__sendto): Use create_address_port. Initialize APORT and deallocate
16301 it if not null.
16302
f98eafbd
PT
16303 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16304 with O_NOLINK passed to __file_name_lookup.
16305
898c7aab
PT
16306 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16307 with O_NOLINK passed to __file_name_lookup.
16308
0ced335a
PT
16309 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16310 negative N or less than NGIDS.
16311
b3404dbd
PT
16312 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16313 type to string_t. Set ERANGE as errno and return it if NAME is not big
16314 enough. Use memcpy instead of strncpy.
16315
0f48659e
JM
163162012-07-20 Joseph Myers <joseph@codesourcery.com>
16317
16318 * elf/Makefile (check-data): Remove.
16319 (localplt.data): New vpath directive.
16320 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16321 instead of $(check-data).
16322 * scripts/data/localplt-generic.data: Move to ...
16323 * sysdeps/generic/localplt.data: ... here.
16324 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16325 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16326 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16328 ... here.
16329 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16331 ... here.
16332 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16334 ... here.
16335 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16337 ... here.
16338 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16340 ... here.
16341 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16343 ... here.
16344
d37cbdaa
AZ
163452012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16346
16347 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16348 PPC32 and PPC64 files.
16349 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16350 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16351
46f85fc2
AK
163522012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16353
16354 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16355 __makecontext_ret to ...
16356 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16357 ... here and call exit if uc_link is NULL. New file.
16358 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16359 __makecontext_ret.S.
16360 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16361 __makecontext_ret to ...
16362 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16363 ... here and call exit if uc_link is NULL. New file.
16364 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16365 __makecontext_ret.S.
16366
08f43f9b
AK
163672012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16368
16369 * elf/elf.h (R_390_IRELATIVE): New definition.
16370 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16371 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16372 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16373 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16374 (elf_machine_lazy_rel): Likewise.
16375 * sysdeps/s390/dl-irel.h: New file.
16376 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16377 * sysdeps/s390/s390-64/memset.S: New asm code.
16378 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16379 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16380 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16381 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16382 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16383 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16384 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16385 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16386 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16387 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16388 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16389 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16390 * sysdeps/s390/s390-32/memset.S: New asm code.
16391 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16392
3b05db33
MP
163932012-07-17 Marek Polacek <polacek@redhat.com>
16394
16395 [BZ #14349]
16396 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16397 * sysdeps/s390/s390-64/configure.in: Likewise.
16398 * sysdeps/sparc/configure.in: Likewise.
16399 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16400 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16401 * sysdeps/i386/configure.in: Likewise.
16402 * sysdeps/x86_64/configure.in: Likewise.
16403 * sysdeps/sh/configure.in: Likewise.
16404 * sysdeps/s390/s390-32/configure: Regenerated.
16405 * sysdeps/s390/s390-64/configure: Likewise.
16406 * sysdeps/x86_64/configure: Likewise.
16407 * sysdeps/sh/configure: Likewise.
16408 * sysdeps/powerpc/powerpc64/configure: Likewise.
16409 * sysdeps/powerpc/powerpc32/configure: Likewise.
16410 * sysdeps/sparc/configure: Likwise.
16411 * sysdeps/i386/configure: Likewise.
16412
a66877c6
MP
16413 * elf/dl-open.c: Comment fixes.
16414
cfc82fd8
JM
164152012-07-17 Joseph Myers <joseph@codesourcery.com>
16416
bd29910a
JM
16417 * Makefile [CXX] (check-data): Remove.
16418 [CXX] (c++-types.data): New vpath directive.
16419 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16420 vpath. Do not allow for C++ type data being missing.
16421 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16422 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16423 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16424 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16425 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16426 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16427 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16429 ... here.
16430 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16432 ... here.
16433 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16435 ... here.
16436 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16438 ... here.
16439 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16441 ... here.
16442 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16444 ... here.
16445 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16447 ... here.
16448 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16450
cfc82fd8
JM
16451 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16452 definitions to architecture-specific files.
16453 (TLS_IE): Likewise.
16454 (TLS_LD): Likewise.
16455 (TLS_GD): Likewise.
16456 * sysdeps/i386/tls-macros.h: New file.
16457 * sysdeps/powerpc/tls-macros.h: Likewise.
16458 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16459 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16460 * sysdeps/sh/tls-macros.h: Likewise.
16461 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16462 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16463 * sysdeps/x86_64/tls-macros.h: Likewise.
16464
f7db3170
TS
164652012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16466
07cbfc23
TS
16467 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16468 zero value for regular exit case.
16469
f7db3170
TS
16470 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16471 (__start_context): Preserve zero value for regular exit case.
16472
dc97c227
TS
164732012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16474 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16475
16476 * manual/setjmp.texi (setcontext): Clarify normal process
16477 termination when uc_link is the null pointer.
16478 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16479 exit call.
16480
d0cd7d02
AS
164812012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16482
16483 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16484 preprocessor. Test for each exception mask separately.
16485
dd318934
AJ
164862012-07-16 Andreas Jaeger <aj@suse.de>
16487
16488 * po/ru.po: Update from translation team.
16489
8048311a
JM
164902012-07-15 Joseph Myers <joseph@codesourcery.com>
16491
16492 * conform/data/string.h-data (NULL): Use macro-constant. Require
16493 equal to 0.
16494 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16495 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16496 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16497 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16498 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16499
b637d46e
AJ
165002012-07-13 Andreas Jaeger <aj@suse.de>
16501
16502 * po/fr.po: Update from translation team.
16503
541428fe
MP
165042012-07-12 Marek Polacek <polacek@redhat.com>
16505
16506 [BZ #14173]
16507 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16508 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16509 loop condition.
16510
ec332e94
JM
165112012-07-12 Joseph Myers <joseph@codesourcery.com>
16512
16513 [BZ #13717]
16514 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16515 Change to 2.4.1 where previously 2.4.0.
16516 * sysdeps/unix/sysv/linux/configure: Regenerated.
16517 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16518 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16519 version.
16520 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16521 (__ASSUME_AT_CLKTCK): Remove.
16522 (__ASSUME_AT_PAGESIZE): Likewise.
16523 (__ASSUME_AT_XID): Likewise.
16524 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16525 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16526 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16527 unconditionally.
16528 (HAVE_AUX_PAGESIZE): Likewise.
16529 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16530 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16531 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16532
7b6e99be
JB
165332012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16534
16535 [BZ #14307]
16536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16537 the temporary buffer used to invoke __gethostbyname2_r,
16538 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16539 host_data / struct gaih_addrtuple.
16540 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16541 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16542 header file nss/nsswitch.h.
16543 * nss/nsswitch.h (global scope): Add definition of implementation
16544 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16545 resolv/nss_dns/dns-host.c).
16546
608404eb
AJ
165472012-07-11 Andreas Jaeger <aj@suse.de>
16548
16549 * po/fr.po: Update from translation team.
16550
71220aca
AJ
16551 * po/sv.po: Update from translation team
16552 * po/fr.po: Another update from translation team.
16553
28cfe843
AZ
165542012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16555
16556 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16557 for subnormals or multiply small sinh result by itself.
16558 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16560
6b90f981
DM
165612012-07-11 David S. Miller <davem@davemloft.net>
16562
16563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16564
c6825772
AS
165652012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16566
16567 [BZ #14347]
16568 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16569 (INTERNAL_MARK): Shift it here.
16570
7b8e0d49
MP
165712012-07-10 Marek Polacek <polacek@redhat.com>
16572
16573 [BZ #14151]
16574 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16575 libc_cv_asm_global_directive with .globl.
16576 * configure: Regenerated.
16577 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16578 with .globl.
16579 * sysdeps/i386/configure: Regenerated.
16580 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16581 with .globl.
16582 * sysdeps/x86_64/configure: Regenerated.
16583 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16584 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16585 * elf/tst-unique2mod2.c: Likewise.
16586 * elf/tst-unique2mod1.c: Likewise.
16587 * elf/tst-unique1mod2.c: Likewise.
16588 * elf/tst-unique1mod1.c: Likewise.
16589 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16590 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16591 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16592 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16593 * sysdeps/mach/sysdep.h: Likewise.
16594 * sysdeps/i386/sysdep.h: Likewise.
16595 * sysdeps/i386/i386-mcount.S: Likewise.
16596 * sysdeps/x86_64/_mcount.S: Likewise.
16597 * sysdeps/x86_64/sysdep.h: Likewise.
16598 * sysdeps/sh/_mcount.S: Likewise.
16599 * sysdeps/sh/sysdep.h: Likewise.
16600 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16601 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16602 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16603 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16604 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16605 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16606 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16607 * locale/localeinfo.h: Likewise.
16608 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16609 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16610
6c55cda3
RM
166112012-07-09 Roland McGrath <roland@hack.frob.com>
16612
16613 [BZ #14336]
16614 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16615 system".
16616 * manual/message.texi (The Uniforum approach): Likewise.
16617 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16618 (glibc iconv Implementation): Likewise.
16619
638a572e
JM
166202012-07-09 Joseph Myers <joseph@codesourcery.com>
16621
16622 [BZ #14337]
16623 * math/s_clog.c (__clog): Avoid scaling a value down where that
16624 could result in underflow.
16625 * math/s_clog10.c (__clog10): Likewise.
16626 * math/s_clog10f.c (__clog10f): Likewise.
16627 * math/s_clog10l.c (__clog10l): Likewise.
16628 * math/s_clogf.c (__clogf): Likewise.
16629 * math/s_clogl.c (__clogl): Likewise.
16630 * math/libm-test.inc (clog_test): Add more tests.
16631 (clog10_test): Likewise.
16632 * sysdeps/i386/fpu/libm-test-ulps: Update.
16633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16634
261f4859
AS
166352012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16636
0abaf3e4
AS
16637 [BZ #14283]
16638 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16639 by 7 not 8 to examine high bit of fractional part.
16640
261f4859
AS
16641 [BZ #14042]
16642 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16643 for call to __mcount_internal.
16644 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16645 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16646 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16647
f17ac40d
JM
166482012-07-06 Joseph Myers <joseph@codesourcery.com>
16649
9ad63c23
JM
16650 [BZ #14154]
16651 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16652 approximation for values within 0x1p-13f of an odd multiple of
16653 pi/4.
16654 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16655 exception. Add more tests.
16656 * sysdeps/i386/fpu/libm-test-ulps: Update.
16657
f17ac40d
JM
16658 [BZ #6778]
16659 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16660 inputs and return -1 for them. Do not check for +Inf in case not
16661 reachable for +Inf.
16662 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16663 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16664 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16665 and return -1 for them. Do not check for +Inf in case not
16666 reachable for +Inf.
16667 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16668 define.
16669 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16670 and return -1 for them. Do not check for +Inf in case not
16671 reachable for +Inf.
16672 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16673 spurious underflow.
16674 * sysdeps/i386/fpu/libm-test-ulps: Update.
16675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16676
fb21f89b
MF
166772012-07-06 Mike Frysinger <vapier@gentoo.org>
16678
16679 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16680
cdfe2c5e
JM
166812012-07-05 Joseph Myers <joseph@codesourcery.com>
16682
16683 [BZ #14157]
16684 [BZ #14331]
16685 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16686 could result in spurious underflow. Scale down values above
16687 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16688 * math/s_csqrtf.c (__csqrtf): Likewise.
16689 * math/s_csqrtl.c (__csqrtl): Likewise.
16690 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16691 spurious underflow.
16692 * sysdeps/i386/fpu/libm-test-ulps: Update.
16693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16694
70d35b67
AS
166952012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16696
704bc459
AS
16697 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16698 xopen-msg.sed.
16699 * catgets/xopen-msg.awk: New file.
16700 * catgets/xopen-msg.sed: Removed.
16701
70d35b67
AS
16702 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16703 po2text.sed.
16704 * intl/po2test.awk: New file.
16705 * intl/po2test.sed: Removed.
16706
ca61cf32
JM
167072012-07-04 Joseph Myers <joseph@codesourcery.com>
16708
16709 [BZ #14328]
16710 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16711 or multiply small sinh result by itself.
16712 * math/s_ctanf.c (__ctanf): Likewise.
16713 * math/s_ctanh.c (__ctanh): Likewise.
16714 * math/s_ctanhf.c (__ctanhf): Likewise.
16715 * math/s_ctanhl.c (__ctanhl): Likewise.
16716 * math/s_ctanl.c (__ctanl): Likewise.
16717 * math/libm-test.inc (ctan_test_tonearest): New function.
16718 (ctan_test_towardzero): Likewise.
16719 (ctan_test_downward): Likewise.
16720 (ctan_test_upward): Likewise.
16721 (ctanh_test_tonearest): Likewise.
16722 (ctanh_test_towardzero): Likewise.
16723 (ctanh_test_downward): Likewise.
16724 (ctanh_test_upward): Likewise.
16725 (main): Call these new functions.
16726 * sysdeps/i386/fpu/libm-test-ulps: Update.
16727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16728
ca48a46a
MF
167292012-07-03 Mike Frysinger <vapier@gentoo.org>
16730
16731 * .gitignore: Delete /ports entry.
16732
9d63d37d
AJ
167332012-07-03 Andreas Jaeger <aj@suse.de>
16734
16735 * po/bg.po: Update from translation team.
16736 * po/cs.po: Likewise.
16737 * po/de.po: Likewise.
16738 * po/hr.po: Likewise.
16739 * po/nl.pl: Likewise.
16740 * po/pl.po: Likewise.
16741 * po/vi.po: Likewise.
16742
370ca3d2
JM
167432012-07-03 Joseph Myers <joseph@codesourcery.com>
16744
95f5a9a8
JM
16745 * Makeconfig [!+link] (+link-before-libc): New variable.
16746 [!+link] (+link-after-libc): Likewise.
16747 [!+link] (+link-tests): Likewise.
16748 [!+link] (+link): Define in terms of $(+link-before-libc) and
16749 $(+link-after-libc).
16750 [!+link-static] (+link-static-before-libc): New variable.
16751 [!+link-static] (+link-static-after-libc): Likewise.
16752 [!+link-static] (+link-static-tests): Likewise.
16753 [!+link-static] (+link-static): Define in terms of
16754 $(+link-static-before-libc) and $(+link-static-after-libc).
16755 [build-shared] (link-libc-before-gnulib): New variable.
16756 [build-shared] (link-libc-tests): Likewise.
16757 [build-shared] (link-libc): Define in terms of
16758 $(link-libc-before-gnulib).
16759 [!build-shared] (link-libc-tests): New variable.
16760 (link-libc-static-tests): New variable.
16761 [!gnulib] (gnulib-arch): New variable.
16762 [!gnulib] (gnulib-tests): Likewise.
16763 [!gnulib] (static-gnulib-arch): Likewise.
16764 [!gnulib] (static-gnulib-tests): Likewise.
16765 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16766 Define with "=" instead of ":=".
16767 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16768 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16769 * Rules (binaries-all-notests): New variable.
16770 (binaries-all-tests): Likewise.
16771 (binaries-static-notests): Likewise.
16772 (binaries-static-tests): Likewise.
16773 (binaries-all): Define using $(binaries-all-notests) and
16774 $(binaries-all-tests).
16775 (binaries-static): Define using $(binaries-static-notests) and
16776 $(binaries-static-tests).
16777 (binaries-shared-tests): New variable.
16778 (binaries-shared-notests): Likewise.
16779 (binaries-shared): Remove variable.
16780 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16781 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16782 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16783 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16784 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16785 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16786 * elf/Makefile (sln-modules): New variable.
16787 (extra-objs): Add $(sln-modules:=.o).
16788 (ldconfig-modules): Add static-stubs.
16789 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16790 * elf/static-stubs.c: New file.
16791
7a845b2c
JM
16792 [BZ #14283]
16793 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16794 by 7 not 8 to examine high bit of fractional part. Use volatile
16795 variables when splitting into final array of floats if
16796 __FLT_EVAL_METHOD__ != 0.
16797 * math/libm-test.inc (cos_test): Add another test.
16798 (sin_test): Likewise.
16799 * sysdeps/i386/fpu/libm-test-ulps: Update.
16800
e2283f38
JM
16801 [BZ #14273]
16802 * math/libm-test.inc (cosh_test): Add more tests.
16803
370ca3d2
JM
16804 * version.h (RELEASE): Set to "development".
16805 (VERSION): Set to "2.16.90".
16806
ee9247c3
CD
168072012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16808
16809 * NEWS: Update copyright. Remove last-updated date.
16810 Mention math library bug fixes and timezone data changes.
16811 * README: Mention GNU/Hurd, x32, and HPPA support status.
16812
4648c381
TS
168132012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16814
16815 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16816
aac78a43
AJ
168172012-06-27 Andreas Jaeger <aj@suse.de>
16818
16819 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16820
ed3dbfad
AJ
168212012-06-25 Andreas Jaeger <aj@suse.de>
16822
16823 * sysdeps/s390/fpu/libm-test-ulps: Update.
16824
4d0ee855
AS
168252012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16826 Thomas Schwinge <thomas@codesourcery.com>
16827
16828 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16829 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16830 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16831 fanotify_mark.
16832
af1bce34
TS
168332012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16834
a9fa33ba
TS
16835 * sysdeps/mach/start.c: Remove file.
16836 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16837 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16838 * sysdeps/sh/init-first.c: Likewise.
16839
58f902b8
TS
16840 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16841 registers for frame unwinding purposes, add CFI directives.
16842 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16843 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16844 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16845 Likewise.
16846
1518f58b
TS
16847 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16848 __fortify_fail returning.
16849 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16850
db9b5059
TS
16851 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16852 sysdeps/sh/____longjmp_chk.S.
16853 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16854 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16855 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16856 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16857
967705fe
TS
16858 * sysdeps/sh/abort-instr.h: New file.
16859 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16860 process in case exit returns.
16861
a9def8c4
TS
16862 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16863 initialize the GOT register before use.
16864
2a649725
TS
16865 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16866 calculation of ARGC > 4.
16867
af1bce34
TS
16868 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16869 meaningful names to some local labels.
16870
d230f50a
KK
168712012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16872 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16873
16874 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16875 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16876 (__arch_compare_and_exchange_val_16_acq): Likewise.
16877 (__arch_compare_and_exchange_val_32_acq): Likewise.
16878 (atomic_exchange_and_add): Fix gUSA sequence.
16879 (atomic_add): Likewise.
16880 (atomic_add_negative): Likewise.
16881 (atomic_add_zero): Likewise.
16882 (atomic_bit_test_set): Likewise.
16883
0479b305
AS
168842012-06-22 Andreas Schwab <schwab@redhat.com>
16885
16886 [BZ #13579]
16887 * include/link.h (struct link_map): Add l_free_initfini.
16888 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16889 l_initfini.
16890 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16891 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16892 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16893 set.
16894
0e3933b9
CD
168952012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16896
16897 * configure.in: Use AC_LANG_SOURCE.
16898 * configure: Regenerate.
16899
4248b1b1
RM
169002012-06-22 Roland McGrath <roland@hack.frob.com>
16901
16902 * configure.in (libc_cv_localstatedir): New substituted variable.
16903 * configure: Regenerated.
16904 * config.make.in (localstatedir): New variable, substituted from
16905 libc_cv_localstatedir.
16906 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16907 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16908 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16909 * sysdeps/gnu/configure: Regenerated.
16910
006dd861
JL
169112012-06-21 Jeff Law <law@redhat.com>
16912
16913 [BZ #14277]
16914 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16915 free. Simplify list management for _LIBC case.
16916
79662d42
JM
169172012-06-21 Joseph Myers <joseph@codesourcery.com>
16918
b7abb4bf
JM
16919 [BZ #14273]
16920 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16921 Clear sign bit of 64-bit integer value before comparing against
16922 overflow value.
16923
79662d42
JM
16924 * sysdeps/mach/configure: Regenerated.
16925
1f150908
L
169262012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16927
16928 [BZ #14278]
16929 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16930
28363bbf
JL
169312012-06-21 Jeff Law <law@redhat.com>
16932
16933 [BZ #13882]
16934 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16935 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16936 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16937 * elf/dl-open.c (dl_open_worker): Likewise.
16938
09615db4
CD
169392012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16940
16941 * scripts/list-sources.sh: Scan PORTS for translations.
16942 * po/libc.pot: Regenerated.
16943
2174c6dd
AJ
169442012-06-21 Andreas Jaeger <aj@suse.de>
16945
16946 [BZ #12194]
16947 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16948 warning.
16949 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16950 * bits/byteswap-16.h (__bswap_16): Likewise.
16951 * bits/byteswap.h (__bswap_constant_16): Likewise.
16952
3ee947b1
L
169532012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16954
16955 [BZ #14117]
a2f34833
L
16956 * sysdeps/i386/fpu_control.h: Removed.
16957 * sysdeps/x86_64/fpu_control.h: Moved to ...
16958 * sysdeps/x86/fpu_control.h: Here.
16959
3ee947b1
L
16960 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16961 (_FPU_SETCW): Likewise.
16962
ed1825f8
L
169632012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16964
25f1282a
L
16965 [BZ #14117]
16966 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16967 * sysdeps/x86/fpu/bits/mathinline.h: This.
16968 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16969
ed1825f8
L
16970 [BZ #14050]
16971 [BZ #14117]
16972 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16973 functions if __x86_64__ is defined.
16974
36d54b74
CLT
169752012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16976
16977 * string/endian.h: Add !__ASSEMBLER__ condition for including
16978 conversion interfaces.
16979
10285c21
JM
169802012-06-15 Joseph Myers <joseph@codesourcery.com>
16981
16982 [BZ #14241]
16983 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16984 of ABS(x) in calculating zero to negative powers other than odd
16985 integers.
16986 * math/libm-test.inc (pow_test): Add more tests.
16987
06c5abbd
AJ
169882012-06-15 Andreas Jaeger <aj@suse.de>
16989
16990 * manual/contrib.texi (Contributors): Update entry of Liubov
16991 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16992 Machado Filho.
16993
a3aeac40
CH
169942012-06-15 Cyril Hrubis <metan@ucw.cz>
16995
16996 * string/string.h: Add __wur to GNU version of strerror_r.
16997
49bdf4c1
L
169982012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16999
17000 [BZ #14229]
17001 * string/Makefile (tests): Add tst-strtok_r.
17002 * string/tst-strtok_r.c: New file.
17003 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17004 RAX_LP/RDX_LP on SAVE_PTR.
17005
834f9b8d
RM
170062012-06-14 Roland McGrath <roland@hack.frob.com>
17007
17008 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17009
75fa1921
JM
170102012-06-14 Joseph Myers <joseph@codesourcery.com>
17011
17012 * libm_test.inc (csqrt_test): Allow more spurious underflow
17013 exceptions.
17014 (j0_test): Likewise.
17015 (j1_test): Likewise.
17016 (y0_test): Likewise.
17017 (y1_test): Likewise.
17018
771766df
CD
170192012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17020
17021 * po/Makefile (libc.pot): Use UTF-8 charset.
17022
ceb9e56b
PP
170232012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17024
17025 [BZ #14210]
17026 Suppress sign-conversion warning from FD_SET.
17027 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17028 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17029 not unsigned long int.
17030 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17031
ddb28975
L
170322012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17033
17034 [BZ #14050]
17035 [BZ #14117]
17036 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17037 __extern_always_inline instead of __extern_inline.
17038 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17039 (__signbit): Likewise.
17040 (__signbitl): Support C++ namespace.
17041 (lrintf): New inline function.
17042 (lrint): Likewise.
17043 (llrintf): Likewise.
17044 (llrint): Likewise.
17045 (fmaxf): Likewise.
17046 (fmax): Likewise.
17047 (fminf): Likewise.
17048 (fmin): Likewise.
17049 (rint): Likewise.
17050 (rintf): Likewise.
17051 (ceil): Likewise.
17052 (ceilf): Likewise.
17053 (floor): Likewise.
17054 (floorf): Likewise.
17055 (nearbyint): Likewise.
17056 (nearbyintf): Likewise.
17057
d7b4fb26
TS
170582012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17059
17060 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17061 non-default versions.
17062
eb55f5c2
RM
170632012-06-11 Roland McGrath <roland@hack.frob.com>
17064
17065 [BZ #14218]
17066 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17067
366af02c
TS
170682012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17069
99ff6e5c
TS
17070 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17071 (FE_UPWARD, FE_DOWNWARD): Don't define.
17072 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17073 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17074
366af02c
TS
17075 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17076 reading it.
17077 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17078 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17079
793ea851
KK
170802012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17081
17082 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17083 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17084 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17085 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17086
a728a38f
L
170872012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17088
17089 [BZ #14117]
c08010c7
L
17090 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17091 * sysdeps/i386/fpu/Implies: New file.
17092 * sysdeps/x86_64/fpu/Implies: Likewise.
17093 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17094 * sysdeps/x86/fpu/bits/fenv.h: This.
17095
a728a38f
L
17096 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17097 __SSE_MATH__.
17098
6e230d11
SP
170992012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17100
17101 [BZ #14134]
17102 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17103 character 0xffff that matches the last element of the
17104 conversion table.
17105
1b671feb
AZ
171062012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17107
17108 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17109 fmodl commit.
17110
6043738b
AZ
171112012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17112
17113 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17114 values higher than 25.6283.
17115
34ae0b32
AZ
171162012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17117
17118 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17119 subnormal exponent extraction and add some __builtin_expect.
17120 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17121 Fix for subnormal mantissa calculation.
17122
1214ec8f
MF
171232012-06-04 Mike Frysinger <vapier@gentoo.org>
17124
17125 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17126 cpu2 is -1 and errno is not ENOSYS.
17127
f3d1f93c
L
171282012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17129
17130 [BZ #14117]
0e4a3cd7
L
17131 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17132 * sysdeps/x86/bits/string.h: This.
17133 * sysdeps/x86_64/bits/string.h: Removed.
17134
6704c645
L
17135 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17136 if not compiling for x86-64, but compiling for >= i486.
17137
48495318
L
17138 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17139 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17140
14adcbfc
L
17141 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17142 New macro from Linux kernel 3.4.0.
17143 (FP_XSTATE_MAGIC2): Likewise.
17144 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17145 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17146 (struct _fpx_sw_bytes): New struct.
17147 (struct _xsave_hdr): Likewise.
17148 (struct _ymmh_state): Likewise.
17149 (struct _xstate): Likewise.
17150
68e408ab
L
17151 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17152 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17153 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17154 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17155 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17156 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17157
f3d1f93c
L
17158 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17159 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17160 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17161 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17162 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17163 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17164
d9dc34cd
TMQMF
171652012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17166
17167 [BZ #13743]
17168 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17169 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17170 (sysdep_headers): Include sys/platform/ppc.h.
17171 * sysdeps/powerpc/test-gettimebase.c: Test for
17172 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17173 * manual/Makefile (appendices): Include platform.texi.
17174 * manual/contrib.texi (Contributors): Update @node pointers.
17175 * manual/maint.texi (Maintenance): Likewise.
17176 (Platform): New node.
17177 * manual/platform.texi: New file. Document the new features.
17178
4af3879c
SP
171792012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17180 Jakub Jelinek <jakub@redhat.com>
17181
17182 [BZ #14188]
17183 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17184 where __builtin_expect is unavailable.
17185
2fd6ff13
DM
171862012-06-03 David S. Miller <davem@davemloft.net>
17187
17188 * stdlib/longlong.h: Updated from GCC.
17189
173f7220
AS
171902012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17191
17192 [BZ #14042]
17193 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17194 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17195 __mcount_internal.
17196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17197 (GLIBC_2.16): Likewise.
17198
f34a1c6f
L
171992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17200
17201 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17202
88a4576f
JM
172032012-06-01 Joseph Myers <joseph@codesourcery.com>
17204
ea32bcdd
JM
17205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17206 (default-abi): New variable.
17207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17208 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17209 variable.
17210 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17211 Likewise.
17212 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17213 Likewise.
17214 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17215 Likewise.
17216
88a4576f
JM
17217 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17218 definition. Document in comment.
17219
402fe938
DM
172202012-06-01 David S. Miller <davem@davemloft.net>
17221
17222 * stdlib/longlong.h: Updated from GCC.
17223
3553723f
L
172242012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17225
17226 [BZ #14117]
3bd872c4
L
17227 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17228 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17229 sys/debugreg.h sys/io.h here.
17230 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17231 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17232 sys/io.h.
17233 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17234 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17235 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17236 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17237 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17238 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17239
3553723f
L
17240 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17241 Define only if __x86_64__ is defined.
17242
4842e4fe
JM
172432012-06-01 Joseph Myers <joseph@codesourcery.com>
17244
c5bfe3d5
JM
17245 [BZ #14048]
17246 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17247 Use int64_t for variable i.
17248 * math/libm-test.inc (fmod_test): Add more tests.
17249
4842e4fe
JM
17250 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17251 z computation is not scheduled after fetestexcept.
17252 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17253 Use math_force_eval instead of asm to ensure calculation scheduled
17254 before exception test.
17255 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17256 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17257
efb73488
AJ
172582012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17259
17260 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17261 computation is not scheduled after fetestexcept.
17262
29bcce7c
L
172632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17264
17265 [BZ #14117]
17266 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17267 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17268
73a68f94
AZ
172692012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17270
17271 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17272 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17273
67b6df78
L
172742012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17275
edf2933a 17276 [BZ #14117]
ebc64a18
L
17277 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17278 <bits/wordsize.h>.
17279 (__WCHAR_MIN): Support __WORDSIZE == 64.
17280 (__WCHAR_MAX): Likewise.
17281
edf2933a
L
17282 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17283 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17284
57c6cf40
L
17285 [BZ #14183]
17286 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17287 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17288
67b6df78 17289 [BZ #14117]
8eb6281e
L
17290 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17291 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17292
aac639f4
L
17293 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17294 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17295
67b6df78
L
17296 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17297 Defined to 1 if __x86_64__ isn't defined.
17298 (_STAT_VER_LINUX_OLD): New.
17299 (st_atime): Remove duplicate.
17300 (st_mtime): Likewise.
17301 (st_ctime): Likewise.
17302
1c2cfe81
DM
173032012-05-31 David S. Miller <davem@davemloft.net>
17304
17305 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17306 entries.
17307
5be8418c
AS
173082012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17309
e7725326
AS
17310 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17311 gen-libm-test.pl.
17312
5be8418c
AS
17313 [BZ #14132]
17314 * elf/dl-reloc.c: Include <_itoa.h>.
17315 (_dl_reloc_bad_type): Remove use of INTUSE.
17316 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17317 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17318 * stdio-common/psiginfo.c (psiginfo): Likewise.
17319 * stdio-common/psignal.c (psignal): Likewise.
17320 * string/strsignal.c (strsignal): Likewise.
17321 * include/signal.h (_sys_siglist): Declare hidden proto.
17322 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17323 INTVARDEF with libc_hidden_data_def.
17324 * stdio-common/itoa-udigits.c: Likewise.
17325 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17326 (_itoa_lower_digits_internal): Remove declaration.
17327 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17328 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17329 (_sys_sigabbrev_internal): Remove aliases.
17330 (_sys_siglist): Define hidden alias.
17331
507352f1
MT
173322012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17333
17334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17335 bits/sysctl.h.
17336
42bbb1c3
L
173372012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17338
17339 [BZ #14117]
6bd784b6
L
17340 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17341 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17342
8bca20f0
L
17343 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17344 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17345 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17346 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17347 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17348 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17349
f9e890a9
L
17350 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17351 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17352 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17353
471101a1
L
17354 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17355 with __addr.
17356 (insw): Likewise.
17357 (insl): Likewise.
17358 (outsb): Likewise.
17359 (outsw): Likewise.
17360 (outsl): Likewise.
17361
6451c862
L
17362 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17363 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17364 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17365
a254b8c9
L
17366 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17367 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17368 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17369 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17370 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17371 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17372
b8dfdd92
L
17373 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17374 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17375
578cd270
L
17376 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17377 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17378
de662f5f
L
17379 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17380 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17381 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17382
25653439
L
17383 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17384 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17385 to ...
17386 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17387
6bad24a0
L
17388 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17389 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17390 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17391
42bbb1c3
L
17392 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17393 for x86-64.
17394 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17395
2d10d547
JM
173962012-05-31 Joseph Myers <joseph@codesourcery.com>
17397
17398 * math/math.h (M_El): Use two more decimal places.
17399 (M_LOG2El): Likewise.
17400 (M_LOG10El): Likewise.
17401 (M_LN2l): Likewise.
17402 (M_LN10l): Likewise.
17403 (M_PIl): Likewise.
17404 (M_PI_2l): Likewise.
17405 (M_PI_4l): Likewise.
17406 (M_1_PIl): Likewise.
17407 (M_2_PIl): Likewise.
17408 (M_2_SQRTPIl): Likewise.
17409 (M_SQRT2l): Likewise.
17410 (M_SQRT1_2l): Likewise.
17411
f230c29b
DM
174122012-05-31 David S. Miller <davem@davemloft.net>
17413
17414 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17415 values between float registers.
17416 * sysdeps/sparc/sparc64/memset.S: Likewise.
17417 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17418
fed806c3
MF
174192012-05-31 Mike Frysinger <vapier@gentoo.org>
17420
17421 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17422 -D_FORTIFY_SOURCE=1.
17423 (CPPFLAGS-tst-longjmp_chk.c): Define.
17424 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17425 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17426 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17427 CFLAGS-tst-wchar-h.c.
17428
30917259
MP
174292012-05-31 Marek Polacek <polacek@redhat.com>
17430
17431 [BZ #14132]
17432 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17433 __endmntent_internal): Remove declaration.
17434 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17435 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17436 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17437
1c58d5dc
DM
174382012-05-30 David S. Miller <davem@davemloft.net>
17439
17440 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17441 (___Q_simulate_exceptions): Use real FP ops rather than writing
17442 into the %fsr.
17443 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17444 Likewise.
17445
7dc00e0d
L
174462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17447
17448 [BZ #14117]
0bd53985
L
17449 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17450 * sysdeps/x86/bits/xtitypes.h: This.
17451
3a257e66
L
17452 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17453 * sysdeps/x86/bits/wordsize.h: This.
17454
62f62904
L
17455 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17456 * sysdeps/x86/bits/huge_vall.h: This.
17457
404fe9d9
L
17458 * sysdeps/i386/bits/select.h: Removed.
17459 * sysdeps/x86_64/bits/select.h: Renamed to ...
17460 * sysdeps/x86/bits/select.h: This.
17461
d48d0446
L
17462 * sysdeps/i386/bits/setjmp.h: Removed.
17463 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17464 * sysdeps/x86/bits/setjmp.h: This.
17465
7dc00e0d
L
17466 * sysdeps/i386/bits/mathdef.h: Removed.
17467 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17468 * sysdeps/x86/bits/mathdef.h: This.
17469
03277f8f
AS
174702012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17471
17472 [BZ #14132]
17473 * include/sys/socket.h (__connect_internal)
17474 (__libc_sa_len_internal): Remove declaration.
17475 (__connect, __libc_sa_len): Declare hidden_proto.
17476 (SA_LEN): Remove use of INTUSE.
17477 * socket/connect.c: Add libc_hidden_def.
17478 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17479 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17480 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17481 alias.
17482 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17483 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17484 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17485 of adding _internal alias.
17486
13764867
L
174872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17488
17489 [BZ #14117]
6bd97696
L
17490 * sysdeps/i386/bits/link.h: Removed.
17491 * sysdeps/i386/bits/linkmap.h: Likewise.
17492 * sysdeps/x86_64/bits/link.h: Renamed to ...
17493 * sysdeps/x86/bits/link.h: This.
17494 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17495 * sysdeps/x86/bits/linkmap.h: This.
17496
f726f0bb
L
17497 * sysdeps/i386/bits/endian.h: Removed.
17498 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17499 * sysdeps/x86/bits/endian.h: This.
17500
13764867
L
17501 * sysdeps/i386/bits/byteswap.h: Removed.
17502 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17503 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17504 * sysdeps/x86/bits/byteswap.h: This.
17505 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17506 * sysdeps/x86/bits/byteswap-16.h: This.
17507 * sysdeps/i386/Implies: Add x86.
17508 * sysdeps/x86_64/Implies: Likewise.
17509
ae251b0b
DM
175102012-05-30 David S. Miller <davem@davemloft.net>
17511
17512 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17513 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17514 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17515 (FP_TRAPPING_EXCEPTIONS): Define.
17516 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17517 (FP_TRAPPING_EXCEPTIONS): Define.
17518 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17519 subnormals only when inexact has been signalled or underflow
17520 exceptions are enabled.
17521 (_FP_PACK_CANONICAL): Likewise.
17522
d5c90867
L
175232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17524
17525 [BZ #14183]
17526 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17527 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17528
63f1549e
RH
175292012-05-30 Richard Henderson <rth@twiddle.net>
17530
8d8f2279
RH
17531 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17532 with #ifndef NOT_IN_libc.
17533
63f1549e
RH
17534 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17535 marked to avoid plt entry.
17536
0ab0291b
L
175372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17538
17539 [BZ #14112]
17540 * Makeconfig (default-abi): New macro.
17541 (abi-includes): Likewise.
17542 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17543 $(abi-$(default-abi)-lib-soname) for soname if defined.
17544 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17545 abi-variants.
17546 * Makefile (installed-stubs): Likewise.
17547 * include/stubs-biarch.h: Removed.
17548 * scripts/lib-names.awk: Only handle one library at a time.
17549 * scripts/soversions.awk: Remove WORDSIZE support.
17550 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17551 entries.
17552 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17553 Removed.
17554 (syscall-list-default-condition): Likewise.
17555 (syscall-list-default-condition): Likewise.
17556 (syscall-list-includes): Likewise.
17557 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17558 syscall-list-* with abi-*. Handle undefined abi-variants.
17559 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17560 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17561 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17562 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17563 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17564 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17565 Removed.
17566 (syscall-list-32-options): Likewise.
17567 (syscall-list-32-condition): Likewise.
17568 (syscall-list-64-options): Likewise.
17569 (syscall-list-64-condition): Likewise.
17570 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17571 macro.
17572 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17573 Renamed to ...
17574 (abi-*): This.
17575 (abi-64-ld-soname): New macro.
17576 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17577 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17578 Renamed to ...
17579 (abi-*): This.
17580 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17581 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17582
4da0431d
JM
175832012-05-30 Joseph Myers <joseph@codesourcery.com>
17584
3a85279c
JM
17585 * sysdeps/unix/sysv/linux/kernel-features.h
17586 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17587 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17588 include <kernel-features.h>.
17589 [!__NR_ftruncate64]: Remove conditional code.
17590 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17591 [__NR_ftruncate64]: Make code unconditional.
17592 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17593 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17594 include <kernel-features.h>.
17595 [!__NR_ftruncate64]: Remove conditional code.
17596 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17597 [__NR_ftruncate64]: Make code unconditional.
17598 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17600 include <kernel-features.h>.
17601 [!__NR_ftruncate64]: Remove conditional code.
17602 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17603 [__NR_ftruncate64]: Make code unconditional.
17604 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17606 include <kernel-features.h>.
17607 [!__NR_ftruncate64]: Remove conditional code.
17608 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17609 [__NR_ftruncate64]: Make code unconditional.
17610 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17611
4da0431d
JM
17612 * configure.in (libc_cv_fpie): Weaken to a compile test using
17613 LIBC_TRY_CC_OPTION.
17614 * configure: Regenerated.
17615
11ef492c
AK
176162012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17617
17618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17622 Refreshed.
17623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17629 Refreshed.
17630
d66ef399
DM
176312012-05-27 David S. Miller <davem@davemloft.net>
17632
17633 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17634 (___Q_zero): New.
17635 (__Q_simulate_exceptions): Return void. Change to simulate
17636 exceptions by writing into the %fsr.
17637 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17638 (__Qp_handle_exceptions): Likewise.
17639 (numbers): Delete.
17640 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17641 __Qp_handle_exceptions.
17642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17643 __Qp_handle_exceptions.
17644 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17645 as unused and give dummy FP_RND_NEAREST initializer.
17646 (FP_INHIBIT_RESULTS): Define.
17647 (___Q_simulate_exceptions): Update declaration.
17648 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17649 formatting.
17650 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17651 as unused and give dummy FP_RND_NEAREST initializer.
17652 (__Qp_handle_exceptions): Update declaration.
17653 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17654 formatting.
17655
04fb54b5
TS
176562012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17657
17658 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17659 the temporary FPU control word.
17660 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17661 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17662 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17663 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17664 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17665 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17666 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17667 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17668 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17669 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17670 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17671
3f99608f
KK
176722012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17673
17674 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17675 fields.
17676
65a4de4e
CLT
176772012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17678
17679 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17680 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17681 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17682 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17683 Likewise.
17684 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17685 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17686 Likewise.
17687
15749d40
UD
176882012-05-27 Ulrich Drepper <drepper@gmail.com>
17689
17690 * po/h.po: Update from translation team.
17691
25dbcb27
AS
176922012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17693
3d3f8e55
AS
17694 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17695
25dbcb27
AS
17696 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17697 handling of denormals.
17698 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17699 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17700 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17701 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17702 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17703 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17704 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17705 Likewise.
17706
7ad47a80 177072012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17708
17709 [BZ #14152]
17710 * math/libm-test.inc (fma_test): Don't always expect underflow
17711 exception.
17712
9c6ea9fa
SP
177132012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17714
17715 [BZ #12416]
17716 * elf/tst-execstack.c: Include stackinfo.h.
17717 (do_test): Adjust test case to ensure that pthread_getattr_np
17718 behaviour remains the same after marking stack executable.
17719
a8239222
JM
177202012-05-25 Joseph Myers <joseph@codesourcery.com>
17721
17722 * sysdeps/unix/sysv/linux/kernel-features.h
17723 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17724 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17725 kernel-features.h.
17726 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17727 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17728 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17729 kernel-features.h.
17730 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17731 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17732
918b5606
L
177332012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17734
17735 * configure.in: Define the default includes to being none.
17736 * configure: Regenerated.
17737
3a097cc7
RM
177382012-05-25 Roland McGrath <roland@hack.frob.com>
17739
8422c9a5
RM
17740 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17741 * sysdeps/x86_64/setjmp.S: Likewise.
17742 * sysdeps/i386/bsd-setjmp.S: Likewise.
17743 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17744 * sysdeps/i386/setjmp.S: Likewise.
17745 * sysdeps/i386/__longjmp.S: Likewise.
17746 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17747 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17748
3a097cc7
RM
17749 * include/stap-probe.h: New file.
17750 * configure.in: Handle --enable-systemtap.
17751 * configure: Regenerated.
17752 * config.h.in (USE_STAP_PROBE): New #undef.
17753 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17754 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17755 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17756
21708942
JM
177572012-05-25 Joseph Myers <joseph@codesourcery.com>
17758
17759 [BZ #13717]
17760 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17761 to 2.4.0 where earlier.
17762 * sysdeps/unix/sysv/linux/configure: Regenerated.
17763 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17764 <kernel-features.h>.
17765 [__ASSUME_32BITUIDS]: Make code unconditional.
17766 [!__ASSUME_32BITUIDS]: Remove conditional code.
17767 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17768 <kernel-features.h>.
17769 [__ASSUME_32BITUIDS]: Make code unconditional.
17770 [!__ASSUME_32BITUIDS]: Remove conditional code.
17771 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17772 [__ASSUME_32BITUIDS]: Make code unconditional.
17773 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17774 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17775 <kernel-features.h>.
17776 [__ASSUME_32BITUIDS]: Make code unconditional.
17777 [!__ASSUME_32BITUIDS]: Remove conditional code.
17778 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17779 <kernel-features.h>.
17780 [__ASSUME_32BITUIDS]: Make code unconditional.
17781 [!__ASSUME_32BITUIDS]: Remove conditional code.
17782 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17783 <kernel-features.h>.
17784 [__ASSUME_32BITUIDS]: Make code unconditional.
17785 [!__ASSUME_32BITUIDS]: Remove conditional code.
17786 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17787 <kernel-features.h>.
17788 [__ASSUME_32BITUIDS]: Make code unconditional.
17789 [!__ASSUME_32BITUIDS]: Remove conditional code.
17790 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17791 <kernel-features.h>.
17792 [__ASSUME_32BITUIDS]: Make code unconditional.
17793 [!__ASSUME_32BITUIDS]: Remove conditional code.
17794 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17795 <kernel-features.h>.
17796 [__ASSUME_32BITUIDS]: Make code unconditional.
17797 [!__ASSUME_32BITUIDS]: Remove conditional code.
17798 * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.c: Do not include
17807 <kernel-features.h>.
17808 [__ASSUME_32BITUIDS]: Make code unconditional.
17809 [!__ASSUME_32BITUIDS]: Remove conditional code.
17810 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17811 <kernel-features.h>.
17812 [__ASSUME_32BITUIDS]: Make code unconditional.
17813 [!__ASSUME_32BITUIDS]: Remove conditional code.
17814 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17815 <kernel-features.h>.
17816 [__NR_setresgid] (__setresgid): Do not declare.
17817 [__ASSUME_32BITUIDS]: Make code unconditional.
17818 [!__ASSUME_32BITUIDS]: Remove conditional code.
17819 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17820 <kernel-features.h>.
17821 [__NR_setresuid] (__setresuid): Do not declare.
17822 [__ASSUME_32BITUIDS]: Make code unconditional.
17823 [!__ASSUME_32BITUIDS]: Remove conditional code.
17824 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17825 <kernel-features.h>.
17826 [__ASSUME_32BITUIDS]: Make code unconditional.
17827 [!__ASSUME_32BITUIDS]: Remove conditional code.
17828 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17829 <kernel-features.h>.
17830 [__ASSUME_32BITUIDS]: Make code unconditional.
17831 [!__ASSUME_32BITUIDS]: Remove conditional code.
17832 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17833 <kernel-features.h>.
17834 [__ASSUME_32BITUIDS]: Make code unconditional.
17835 [!__ASSUME_32BITUIDS]: Remove conditional code.
17836 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17837 <kernel-features.h>.
17838 [__ASSUME_32BITUIDS]: Make code unconditional.
17839 [!__ASSUME_32BITUIDS]: Remove conditional code.
17840 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17841 <kernel-features.h>.
17842 [__ASSUME_32BITUIDS]: Make code unconditional.
17843 [!__ASSUME_32BITUIDS]: Remove conditional code.
17844 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17845 <kernel-features.h>.
17846 [__ASSUME_32BITUIDS]: Make code unconditional.
17847 [!__ASSUME_32BITUIDS]: Remove conditional code.
17848 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17849 <kernel-features.h>.
17850 [__ASSUME_32BITUIDS]: Make code unconditional.
17851 [!__ASSUME_32BITUIDS]: Remove conditional code.
17852 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17853 <kernel-features.h>.
17854 [__ASSUME_32BITUIDS]: Make code unconditional.
17855 [!__ASSUME_32BITUIDS]: Remove conditional code.
17856 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17857 <kernel-features.h>.
17858 [__ASSUME_32BITUIDS]: Make code unconditional.
17859 [!__ASSUME_32BITUIDS]: Remove conditional code.
17860 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17861 <kernel-features.h>.
17862 [__ASSUME_32BITUIDS]: Make code unconditional.
17863 [!__ASSUME_32BITUIDS]: Remove conditional code.
17864 * sysdeps/unix/sysv/linux/kernel-features.h
17865 (__ASSUME_SETRESUID_SYSCALL): Remove.
17866 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17867 (__ASSUME_32BITUIDS): Likewise.
17868 (__ASSUME_LDT_WORKS): Likewise.
17869 (__ASSUME_O_DIRECTORY): Likewise.
17870 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17871 architecture but not kernel version.
17872 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17873 (__ASSUME_MMAP2_SYSCALL): Likewise.
17874 (__ASSUME_STAT64_SYSCALL): Likewise.
17875 (__ASSUME_IPC64): Likewise.
17876 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17877 <kernel-features.h>.
17878 [__ASSUME_32BITUIDS]: Make code unconditional.
17879 [!__ASSUME_32BITUIDS]: Remove conditional code.
17880 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17881 <kernel-features.h>.
17882 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17883 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17884 132096]: Remove conditional code.
17885 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17886 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17887 <kernel-features.h>.
17888 [__ASSUME_32BITUIDS]: Make code unconditional.
17889 [!__ASSUME_32BITUIDS]: Remove conditional code.
17890 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17891 <kernel-features.h>.
17892 [__ASSUME_32BITUIDS]: Make code unconditional.
17893 [!__ASSUME_32BITUIDS]: Remove conditional code.
17894 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17895 <kernel-features.h>.
17896 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17897 unconditional.
17898 (__setresgid): Do not declare.
17899 [__ASSUME_32BITUIDS]: Make code unconditional.
17900 [!__ASSUME_32BITUIDS]: Remove conditional code.
17901 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17902 <kernel-features.h>.
17903 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17904 unconditional.
17905 (__setresuid): Do not declare.
17906 [__ASSUME_32BITUIDS]: Make code unconditional.
17907 [!__ASSUME_32BITUIDS]: Remove conditional code.
17908 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17909 <kernel-features.h>.
17910 [__ASSUME_32BITUIDS]: Make code unconditional.
17911 [!__ASSUME_32BITUIDS]: Remove conditional code.
17912 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17913 <kernel-features.h>.
17914 [__ASSUME_32BITUIDS]: Make code unconditional.
17915 [!__ASSUME_32BITUIDS]: Remove conditional code.
17916
a386f1cc
RH
179172012-05-25 Richard Henderson <rth@twiddle.net>
17918
17919 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17920 dl_hwcap to ifunc resolver.
17921 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17922 elf_ifunc_invoke.
17923 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17924 dl_hwcap to ifunc resolver.
17925 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17926
b6550497
JM
179272012-05-24 Joseph Myers <joseph@codesourcery.com>
17928
17929 [BZ #14153]
17930 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17931 for |x| <= 2**-26, not 2**-57.
17932 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17933 exception.
17934
b0bc23a1
JL
179352012-05-24 Jeff Law <law@redhat.com>
17936
17937 * stdio-common/Makefile (tests): Add bug25.
17938 * stdio-common/bug25.c: New test.
17939
347c92e9
L
179402012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17941
17942 [BZ #13576]
17943 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17944 multiple of MALLOC_ALIGNMENT in size.
17945 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17946
6bcc8b3f
JM
179472012-05-24 Joseph Myers <joseph@codesourcery.com>
17948
17949 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17950 Require >= 256.
17951 (FILENAME_MAX): Use macro-int-constant.
17952 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17953 (_IOFBF): Use macro-int-constant.
17954 (_IOLBF): Likewise.
17955 (_IONBF): Likewise.
17956 (SEEK_CUR): Likewise.
17957 (SEEK_END): Likewise.
17958 (SEEK_SET): Likewise.
17959 (TMP_MAX): Likewise.
17960 (EOF): Use macro-int-constant. Require < 0.
17961 (NULL): Use macro-constant. Require == 0.
17962 (stdin): Require type to be FILE *.
17963 (stdout): Likewise.
17964 (stderr): Likewise.
17965 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17966 macro-int-constant.
17967 (EXIT_SUCCESS): Likewise.
17968 (NULL): Use macro-constant. Require == 0.
17969 (RAND_MAX): Use macro-int-constant.
17970 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17971 [C99-based standards] (strtof): Require function.
17972 [C99-based standards] (strtold): Likewise.
17973 [C99-based standards] (strtoll): Likewise.
17974 [C99-based standards] (strtoull): Likewise.
17975 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17976 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17977 [ISO || ISO99 || ISO11] (math.h): Likewise.
17978 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17979 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17980 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17981
d18ea0c5
AS
179822012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17983
17984 [BZ #14132]
56d25bb8
AS
17985 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17986 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17987 * intl/dgettext.c (DCGETTEXT): Likewise.
17988 * intl/gettext.c (DCGETTEXT): Likewise.
17989 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17990 * posix/regex_internal.h (gettext): Likewise.
17991 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17992 Remove declaration.
17993 * include/argz.h (__argz_count_internal)
17994 (__argz_stringify_internal): Remove declaration.
17995 (__argz_count, __argz_stringify): Declare hidden proto.
17996 * intl/dcgettext.c: Remove use of INTDEF.
17997 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17998 * string/argz-stringify.c: Likewise.
17999 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18000 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18001 Declare hidden proto.
d18ea0c5
AS
18002 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18003 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18004 Declare hidden proto.
18005 * include/stdio.h (__asprintf_internal): Don't declare.
18006 (__asprintf): Don't define as macro. Declare hidden proto.
18007 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18008 (__fsetlocking): Declare hidden proto.
18009 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18010 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18011 hidden proto.
18012 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18013 (_IO_setlinebuf): Remove use of INTUSE.
18014 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18015 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18016 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18017 Remove declaration.
18018 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18019 (_IO_do_flush): Remove use of INTUSE.
18020 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18021 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18022 (_IO_adjust_column, _IO_least_wmarker)
18023 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18024 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18025 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18026 (_IO_default_doallocate, _IO_wdefault_doallocate)
18027 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18028 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18029 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18030 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18031 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18032 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18033 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18034 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18035 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18036 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18037 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18038 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18039 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18040 proto.
18041 (_IO_flush_all_internal, _IO_adjust_column_internal)
18042 (_IO_default_uflow_internal, _IO_default_finish_internal)
18043 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18044 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18045 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18046 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18047 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18048 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18049 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18050 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18051 (_IO_file_close_internal, _IO_file_close_it_internal)
18052 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18053 (_IO_file_init_internal, _IO_file_attach_internal)
18054 (_IO_file_fopen_internal, _IO_file_read_internal)
18055 (_IO_file_sync_internal, _IO_file_seek_internal)
18056 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18057 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18058 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18059 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18060 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18061 (_IO_list_all_internal, _IO_link_in_internal)
18062 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18063 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18064 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18065 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18066 (_IO_do_write_internal, _IO_padn_internal)
18067 (_IO_getline_info_internal, _IO_getline_internal)
18068 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18069 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18070 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18071 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18072 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18073 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18074 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18075 with libc_hidden_ver, remove use of INTUSE.
18076 * libio/genops.c: Likewise.
18077 * libio/freopen.c: Likewise.
18078 * libio/freopen64.c: Likewise.
18079 * libio/iofclose.c: Likewise.
18080 * libio/iofdopen.c: Likewise.
18081 * libio/iofflush.c: Likewise.
18082 * libio/iofflush_u.c: Likewise.
18083 * libio/iofgets.c: Likewise.
18084 * libio/iofgets_u.c: Likewise.
18085 * libio/iofopen.c: Likewise.
18086 * libio/iofopncook.c: Likewise.
18087 * libio/iofread.c: Likewise.
18088 * libio/iofread_u.c: Likewise.
18089 * libio/ioftell.c: Likewise.
18090 * libio/iofwrite.c: Likewise.
18091 * libio/iogetline.c: Likewise.
18092 * libio/iogets.c: Likewise.
18093 * libio/iogetwline.c: Likewise.
18094 * libio/iopadn.c: Likewise.
18095 * libio/iopopen.c: Likewise.
18096 * libio/ioseekoff.c: Likewise.
18097 * libio/ioseekpos.c: Likewise.
18098 * libio/iosetbuffer.c: Likewise.
18099 * libio/iosetvbuf.c: Likewise.
18100 * libio/ioungetc.c: Likewise.
18101 * libio/ioungetwc.c: Likewise.
18102 * libio/iovdprintf.c: Likewise.
18103 * libio/iovsprintf.c: Likewise.
18104 * libio/iovsscanf.c: Likewise.
18105 * libio/memstream.c: Likewise.
18106 * libio/obprintf.c: Likewise.
18107 * libio/oldfileops.c: Likewise.
18108 * libio/oldiofclose.c: Likewise.
18109 * libio/oldiofdopen.c: Likewise.
18110 * libio/oldiofopen.c: Likewise.
18111 * libio/oldiopopen.c: Likewise.
18112 * libio/oldstdfiles.c: Likewise.
18113 * libio/putc.c: Likewise.
18114 * libio/setbuf.c: Likewise.
18115 * libio/setlinebuf.c: Likewise.
18116 * libio/stdfiles.c: Likewise.
18117 * libio/strops.c: Likewise.
18118 * libio/vasprintf.c: Likewise.
18119 * libio/vscanf.c: Likewise.
18120 * libio/vsnprintf.c: Likewise.
18121 * libio/vswprintf.c: Likewise.
18122 * libio/wfiledoalloc.c: Likewise.
18123 * libio/wfileops.c: Likewise.
18124 * libio/wgenops.c: Likewise.
18125 * libio/wmemstream.c: Likewise.
18126 * libio/wstrops.c: Likewise.
18127 * libio/__fpurge.c: Likewise.
18128 * libio/__fsetlocking.c: Likewise.
18129 * assert/assert.c: Likewise.
18130 * debug/fgets_chk.c: Likewise.
18131 * debug/fgets_u_chk.c: Likewise.
18132 * debug/fread_chk.c: Likewise.
18133 * debug/fread_u_chk.c: Likewise.
18134 * debug/gets_chk.c: Likewise.
18135 * debug/obprintf_chk.c: Likewise.
18136 * debug/vasprintf_chk.c: Likewise.
18137 * debug/vdprintf_chk.c: Likewise.
18138 * debug/vsnprintf_chk.c: Likewise.
18139 * debug/vsprintf_chk.c: Likewise.
18140 * malloc/mtrace.c: Likewise.
18141 * misc/error.c: Likewise.
18142 * misc/syslog.c: Likewise.
18143 * stdio-common/asprintf.c: Likewise.
18144 * stdio-common/fxprintf.c: Likewise.
18145 * stdio-common/getw.c: Likewise.
18146 * stdio-common/isoc99_fscanf.c: Likewise.
18147 * stdio-common/isoc99_scanf.c: Likewise.
18148 * stdio-common/isoc99_vfscanf.c: Likewise.
18149 * stdio-common/isoc99_vscanf.c: Likewise.
18150 * stdio-common/isoc99_vsscanf.c: Likewise.
18151 * stdio-common/printf-prs.c: Likewise.
18152 * stdio-common/printf_fp.c: Likewise.
18153 * stdio-common/printf_fphex.c: Likewise.
18154 * stdio-common/printf_size.c: Likewise.
18155 * stdio-common/putw.c: Likewise.
18156 * stdio-common/scanf.c: Likewise.
18157 * stdio-common/sprintf.c: Likewise.
18158 * stdio-common/tmpfile.c: Likewise.
18159 * stdio-common/vfprintf.c: Likewise.
18160 * stdio-common/vfscanf.c: Likewise.
18161 * stdlib/strfmon_l.c: Likewise.
18162 * sunrpc/openchild.c: Likewise.
18163 * sunrpc/xdr_stdio.c: Likewise.
18164 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18165 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18166
d6c33fda
RM
181672012-05-24 Roland McGrath <roland@hack.frob.com>
18168
c1487492
RM
18169 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18170
18171 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18172 in the third column, to generate for the shared library an IFUNC
18173 that uses _dl_vdso_vsym.
18174 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18175 * Makeconfig (object-suffixes-noshared): New variable.
18176
18177 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18178 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18179 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18180 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18181
d6c33fda
RM
18182 [BZ #14132]
18183 * include/sys/time.h (__gettimeofday): Remove macro.
18184 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18185 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18186 Remove INTDEF.
18187 (__gettimeofday): Add libc_hidden_def.
18188 (gettimeofday): Add libc_hidden_weak.
18189 * sysdeps/mach/gettimeofday.c: Likewise.
18190 * sysdeps/posix/gettimeofday.c: Likewise.
18191 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18192 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18193 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18194 (__gettimeofday_internal): Remove strong_alias.
18195 (__gettimeofday): Add libc_hidden_def.
18196 (gettimeofday): Add libc_hidden_weak.
18197 * sysdeps/unix/syscalls.list (gettimeofday):
18198 Remove __gettimeofday_internal alias.
18199
b5a2bbe6
L
182002012-05-24 Daniel Jacobowitz <drow@false.org>
18201 H.J. Lu <hongjiu.lu@intel.com>
18202
18203 [BZ #12495]
18204 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18205 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18206 (largebin_index_32_big): New.
18207 (largebin_index): Use it for 16-byte alignment.
18208 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18209 correction with front_misalign.
18210
cfba4fda
L
182112012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18212
7f907421
L
18213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18215 Likewise.
18216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18217 Likewise.
18218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18219 Likewise.
18220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18221 Likewise.
18222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18223 Likewise.
18224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18225 Likewise.
18226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18227 Likewise.
18228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18229 Likewise.
18230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18231 Likewise.
18232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18233 Likewise.
18234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18235 Likewise.
18236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18237 Likewise.
18238
cfba4fda
L
18239 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18240 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18241
80bad0cc
JM
182422012-05-24 Joseph Myers <joseph@codesourcery.com>
18243
7a25eb06
JM
18244 [BZ #10846]
18245 [BZ #14036]
18246 * math/libm-test.inc (exp_test): Add test from bug 14036.
18247 (pow_test): Add test from bug 10846.
18248
795405f9
JM
18249 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18250 and other flags.
18251 (special_function): Do not include flags in test name.
18252 (parse_args): Likewise.
18253 * sysdeps/i386/fpu/libm-test-ulps: Update.
18254 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18255 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18256 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18258
80bad0cc
JM
18259 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18260 exceptions.
18261 * math/libm-test.inc ("Philosophy"): Update comment about
18262 exception testing.
18263 (UNDERFLOW_EXCEPTION): New macro.
18264 (UNDERFLOW_EXCEPTION_OK): Likewise.
18265 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18266 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18267 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18268 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18269 (INVALID_EXCEPTION_OK): Update value.
18270 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18271 (OVERFLOW_EXCEPTION_OK): Likewise.
18272 (IGNORE_ZERO_INF_SIGN): Likewise.
18273 (test_exceptions): Handle underflow exceptions.
18274 (acos_test): Update for underflow exception expectations.
18275 (cexp_test): Likewise.
18276 (clog_test): Likewise.
18277 (clog10_test): Likewise.
18278 (csqrt_test): Likewise.
18279 (ctan_test): Likewise.
18280 (ctanh_test): Likewise.
18281 (exp_test): Likewise.
18282 (exp10_test): Likewise.
18283 (exp2_test): Likewise.
18284 (expm1_test): Likewise.
18285 (fma_test): Likewise.
18286 (j0_test): Likewise.
18287 (jn_test): Likewise.
18288 (nexttoward_test): Likewise.
18289 (pow_test): Likewise.
18290 (scalbn_test): Likewise.
18291 (scalbln_test): Likewise.
18292 (tan_test): Likewise.
18293 (y1_test): Likewise.
18294 * sysdeps/i386/fpu/libm-test-ulps: Update.
18295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18296
9e0e3d0b
DM
182972012-05-23 David S. Miller <davem@davemloft.net>
18298
18299 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18300 (__libc_sigaction): Remove unused local variables.
18301
ccd0a08f
L
183022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18303
18304 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18305
62bdf9a6
PE
183062012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18307
f8591f80
PE
18308 mktime: avoid signed integer overflow
18309 * time/mktime.c (__mktime_internal): Do not mishandle the case
18310 where diff == INT_MIN.
18311
94c7d826
PE
18312 mktime: simplify computation of average
18313 * time/mktime.c (ranged_convert): Use new time_t_avg function
18314 instead of rolling our own (probably-slower) code.
18315
ce73d683
PE
18316 mktime: do not assume signed right shift propagates sign bit
18317 * time/mktime.c (isdst_differ): New static function.
18318 (__mktime_internal): No need to normalize tm_isdst now.
18319 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18320 tm_isdst values.
18321
72a22e59
PE
18322 mktime: merge another wrapv change from gnulib
18323 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18324 from some compilers.
18325
68605433
PE
18326 mktime: remove incorrect attempt at unusual arithmetics
18327 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18328 The code didn't really work on such machines anyway.
18329 (TYPE_MINIMUM): Assume two's complement.
18330 (twos_complement_arithmetic): Verify that long_int and time_t
18331 are two's complement (or unsigned, in the latter case).
18332
03cf7fe3
PE
18333 mktime: check signed shifts on long_int and time_t, too
18334 * time/mktime.c (SHR): Check that shifts work as desired
18335 on the types long_int and time_t too, as SHR is used on
18336 such types.
18337
f04dfbc2
PE
18338 mktime: do not assume 'long' is wide enough
18339 * time/mktime.c (verify): Move decl up.
18340 (long_int): New type.
18341 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18342 to remove assumption in the code that 'long' is wide enough to
18343 store year values. This assumption is not true on x32 and on
18344 some non-glibc platforms.
18345
62bdf9a6
PE
18346 mktime: merge wrapv change from gnulib
18347 * time/mktime.c (WRAPV): New macro.
18348 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18349 (guess_time_tm, __mktime_internal): Do not assume that signed
18350 integer overflow wraps around; modern compilers generate code
18351 where this assumption is no longer valid.
18352
5e292e4f
L
183532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18354
18355 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18356 Replace "jmp L(pseudo_end)" with "ret".
18357 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18358 Likewise.
18359
8caf8c87
AJ
183602012-05-23 Andreas Jaeger <aj@suse.de>
18361
18362 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18363 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18364
1a09dc56
AJ
183652012-05-23 Andreas Jaeger <aj@suse.de>
18366 Maximilian Attems <max@stro.at>
18367
18368 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18369 New macros.
18370
1c87aba0
L
183712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18372
18373 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18374 code so that pseudo_end is just ret and the stack pointer is
18375 correct also for static library in error case.
18376
40e45bd5
JM
183772012-05-23 Joseph Myers <joseph@codesourcery.com>
18378
c2670533
JM
18379 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18380 move to syscalls.list.
18381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18385
40e45bd5
JM
18386 * manual/install.texi (Running make install): Do not mention Linux
18387 kernel version for which pt_chown is not needed.
18388 (Linux): Do not mention problems with nscd with 2.0 kernels.
18389 * INSTALL: Regenerated.
18390
be08eda5
AJ
183912012-05-23 Andreas Jaeger <aj@suse.de>
18392
18393 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18394 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18395 macro.
18396 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18397 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18398 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18399 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18400 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18401 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18402 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18403 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18404 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18405 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18406 * sysdeps/unix/sysv/linux/bits/in.h
18407 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18408
a6a056bb
RM
184092012-05-22 Roland McGrath <roland@hack.frob.com>
18410
18411 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18412 (PREPARE_VERSION): Just use assert instead, it will be elided
18413 under [NDEBUG] anyway.
18414
c9009328
L
184152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18416
18417 * sysdeps/unix/sysv/linux/Makefile: Include
18418 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18419 (sysdep_routines): Remove sysctl.
c9009328
L
18420 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18421 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18422 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18423 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18424 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18425
73338355
AJ
184262012-05-22 Andreas Jaeger <aj@suse.de>
18427
18428 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18429 that pseudo_end is just ret and the stack pointer is correct also
18430 for static library in error case.
18431
d44638b0
PP
184322012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18433
18434 [BZ #14122]
18435 * nss/nsswitch.c (defconfig_entries): New variable.
18436 (__nss_database_lookup): Don't leak defconfig entries.
18437 (nss_parse_service_list): Don't leak on error paths.
18438 (free_database_entries): New function.
18439 (free_defconfig): New function.
18440 (free_mem): Move common code to free_database_entries.
18441
31a39bd8
L
184422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18443
da0331a8
L
18444 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18445 Add arch_prctl.
18446 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18447
31a39bd8
L
18448 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18449 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18450 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18451 New macro.
18452 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18453 (INTERNAL_SYSCALL_TYPES): Likewise.
18454 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18455 (LOAD_REGS_TYPES_[1-6]): Likewise.
18456 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18457 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18458
45470df3
AZ
184592012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18460
18461 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18462 copysignl for GLIBC_2_0.
18463 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18464 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18465 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18466 logbl for GLIBC_2_0.
18467 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18468 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18469
98a61bcb
L
184702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18471
a4f6e481
L
18472 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18473 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18474
f63d5db6
L
18475 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18476 Use "neg %eax".
18477
98a61bcb
L
18478 * time/mktime.c: Update copyright years.
18479
95770f14
PE
184802012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18481
6226efbd
PE
18482 mktime: merge comment-quoting-style change from gnulib
18483 * time/mktime.c: Quote 'like this' in comments.
18484 The GNU coding standards suggest that we no longer quote `like this',
18485 as "`" and "'" are typically rendered asymmetrically nowadays.
18486 The typical gnulib style is to quote 'like this' when quoting
18487 code, and "like this" when quoting English.
18488
b99e4f78
PE
18489 * time/mktime.c (compile-command): Add "-I.".
18490
643e01e6
PE
18491 mktime: merge mktime-internal.h change from gnulib
18492 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18493
2554247d
PE
18494 mktime: merge time_r change from gnulib
18495 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18496
826dd0ab
PE
18497 mktime: merge DEBUG change from gnulib
18498 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18499 case system <time.h> has a #define.
18500
bd83aabe
PE
18501 mktime: merge <sys/types.h> change from gnulib
18502 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18503 since <time.t> is now guaranteed to define time_t.
18504
95770f14
PE
18505 mktime: merge HAVE_CONFIG_H change from gnulib
18506 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18507
5e1a27a9
L
185082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18509
0e44a77e
L
18510 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18511 Use "neg %eax".
18512
5e1a27a9
L
18513 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18514 __rlim_t cast.
18515 (struct rusage): Use anonymous union to pad each field to
18516 __syscall_slong_t.
18517
46259bec
DM
185182012-05-21 David S. Miller <davem@davemloft.net>
18519
18520 * Makefules (o-iterator): Remove .s cases.
18521 (compile-command.s): Delete.
18522 (COMPILE.s): Delete.
18523 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18524
59f0c22e
JM
185252012-05-21 Joseph Myers <joseph@codesourcery.com>
18526
18527 * configure.in (libc_cv_predef_stack_protector): Only consider
18528 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18529 * configure: Regenerated.
18530
20c07380
L
185312012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18532
bbb3154b
L
18533 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18534 New macro. Use R*LP on int and pointer.
18535 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18536 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18537 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18538 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18539
20c07380
L
18540 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18541 [__WORDSIZE_TIME64_COMPAT32] instead of
18542 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18543 (struct utmp): Likewise.
18544 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18545 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18546 Renamed to ...
18547 (__WORDSIZE_TIME64_COMPAT32): This.
18548 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18549 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18550 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18551 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18552 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18553 (__WORDSIZE_TIME64_COMPAT32): New macro.
18554
d8d1017e
AJ
185552012-05-21 Andreas Jaeger <aj@suse.de>
18556
18557 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18558 only if [SHARED]. Add prototype for __wcschr_ia32.
18559
6c7fb145
RM
185602012-05-21 Roland McGrath <roland@hack.frob.com>
18561
18562 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18563 of %rbp unmolested in the jmp_buf while mangling the low bits.
18564 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18565 unmolested high bits of %rbp while demangling the low bits.
18566 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18567
66274218
AJ
185682012-05-21 Andreas Jaeger <aj@suse.de>
18569
07c58f8f
AJ
18570 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18571 * sunrpc/svc_simple.c: Use it for registerrpc.
18572 * sunrpc/xcrypt.c: Use it for passwd2des.
18573
66274218
AJ
18574 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18575
61f65140
L
185762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18577
18578 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18579 Don't define if [__SYSCALL_WORDSIZE != 32].
18580 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18581 New macro.
18582
5fefb436
AJ
185832012-05-21 Bruno Haible <bruno@clisp.org>
18584 Andreas Jaeger <aj@suse.de>
18585
18586 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18587 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18588 inptr and inend for must_buffer_ch.
18589 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18590 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18591 * stdio-common/Makefile (tests): Remove bug15.
18592 (bug15-ENV): Remove macro.
18593 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18594 anymore.
18595
d8e272ab
AJ
185962012-05-19 Andreas Jaeger <aj@suse.de>
18597 Roland McGrath <roland@hack.frob.com>
18598
18599 * manual/contrib.texi: Completely rewritten. It contains now an
18600 alphabetical list of contributors and their contributions.
18601
4a56a162
RH
186022012-05-21 Richard Henderson <rth@twiddle.net>
18603
18604 * misc/getauxval.c (__getauxval): Use unsigned long int.
18605 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18606 (getauxval): Use unsigned long int.
18607
d024d23c
L
186082012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18609
18610 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18611
cbc00a03
RM
186122012-05-21 Roland McGrath <roland@hack.frob.com>
18613
18614 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18615 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18616 __alignof__ (long double).
18617
478143fa
AZ
186182012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18619
18620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18621
c7683a6d
RH
186222012-05-20 Richard Henderson <rth@twiddle.net>
18623
18624 * misc/getauxval.c: New file.
18625 * misc/sys/auxv.h: New file.
18626 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18627 (routines): Add getauxval.
18628 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18629 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18630 * elf/dl-sysdep.c (_dl_auxv): Remove.
18631 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18632 * elf/dl-support.c (_dl_auxv): New variable.
18633 (_dl_aux_init): Initialize it.
18634 * manual/startup.texi (Auxiliary Vector): New node.
18635 * sysdeps/generic/bits/hwcap.h: New file.
18636 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18637 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18638 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18639 * sysdeps/sparc/sysdep.h: ... here. Include it.
18640 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18641 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18643 Update.
c7683a6d
RH
18644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18647 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18652
a6f1845d
AZ
186532012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18654
18655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18656
cbcbe830
DM
186572012-05-19 David S. Miller <davem@davemloft.net>
18658
18659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18660
e0b16cc2
JM
186612012-05-19 Joseph Myers <joseph@codesourcery.com>
18662
18663 [BZ #14123]
18664 * math/s_ccosh.c: Include <float.h>
18665 (__ccosh): Avoid internal overflow calculating sinh and cosh
18666 values before multiplying by sin and cos values.
18667 * math/s_ccoshf.c: Likewise.
18668 * math/s_ccoshl.c: Likewise.
18669 * math/s_csin.c: Likewise.
18670 * math/s_csinf.c: Likewise.
18671 * math/s_csinl.c: Likewise.
18672 * math/s_csinh.c: Likewise.
18673 * math/s_csinhf.c: Likewise.
18674 * math/s_csinhl.c: Likewise.
18675 * math/libm-test.inc (ccos_test): Add more tests.
18676 (ccosh_test): Likewise.
18677 (csin_test): Likewise.
18678 (csinh_test): Likewise.
18679 * sysdeps/i386/fpu/libm-test-ulps: Update.
18680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18681
6ad13e08
L
186822012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18683
f66f0ce8
L
18684 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18685 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18686
6ad13e08
L
18687 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18688
b1d072a7
JM
186892012-05-19 Joseph Myers <joseph@codesourcery.com>
18690
18691 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18692 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18693 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18694 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18695 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18696 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18697 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18698 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18699 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18700 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18701 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18702 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18703 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18704 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18705 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18706 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18707 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18708 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18709 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18710 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18711 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18712 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18713 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18714 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18715 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18716 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18717 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18718 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18719 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18720 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18721 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18722
9eae47cb
AJ
187232012-05-18 Andreas Jaeger <aj@suse.de>
18724
18725 * csu/.gitignore: Delete.
18726
bb07f69f
L
187272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18728
18729 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18730 (timex): Use __syscall_slong_t.
18731
e6bdb741
AJ
187322012-05-18 Andreas Jaeger <aj@suse.de>
18733 Carlos O'Donell <carlos_odonell@mentor.com>
18734
18735 * manual/install.texi (Configuring and compiling): Update
18736 description about files modified in the source directory.
d6c33fda 18737 * INSTALL: Regenerated.
e6bdb741 18738
1b74487e
L
187392012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18740
18741 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18742 value. Use "or" to set return value to -1.
18743 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18744 negate return value.
18745
a88b64b9
TMQMF
187462012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18747
18748 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18749 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18750 failure if the compiler has Graphite support disabled.
18751 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18752 Likewise.
18753 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18754 CFLAGS-memmove.c): Likewise.
18755 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18756 Likewise.
18757
3707636e
L
187582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18759
610b8622
L
18760 * sysdeps/x86_64/x32/_itoa.h: New file.
18761
7cd195df
L
18762 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18763 getdents system call only if kernel and user dirents have the
18764 same d_ino and d_off.
18765
94b07d20
L
18766 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18767 LLONG_MAX != LONG_MAX.
18768 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18769 (_fitoa_word): Likewise.
18770
18298070
L
18771 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18772 years.
18773 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18774 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18775 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18776
553c7ea4
L
18777 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18778 include <bits/wordsize.h>. Check __x86_64__ instead of
18779 __WORDSIZE.
18780 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18781 if __x86_64__ is defined. Use anonymous union on fpstate.
18782
3707636e
L
18783 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18784 anonymous union.
18785
b53ef01a
AS
187862012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18787
37fb1dc0
AS
18788 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18789 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18790 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18791 Refer to _rtld_local_ro instead of _rtld_global_ro.
18792 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18793 Likewise.
18794 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18795 Likewise.
18796 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18797 Likewise.
18798 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18799 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18800 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18801
b53ef01a
AS
18802 * sysdeps/powerpc/powerpc32/dl-machine.c
18803 (__elf_machine_runtime_setup) [PROF]: Don't reference
18804 _dl_prof_resolve.
18805
7a185db2
AJ
188062012-05-18 Andreas Jaeger <aj@suse.de>
18807
18808 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18809 function only available for GCCs before 3.4 since GCC 3.4
18810 introduced a builtin.
18811 (lrint): Likewise.
18812 (llrintf): Likewise.
18813 (llrint): Likewise.
18814 (fmaxf): Likewise.
18815 (fmax): Likewise.
18816 (fminf): Likewise.
18817 (fmin): Likewise.
18818 (rint): Likewise.
18819 (rintf): Likewise.
18820 (nearbyint): Likewise.
18821 (nearbyintf): Likewise.
18822 (ceil): Likewise.
18823 (ceilf): Likewise.
18824 (floor): Likewise.
18825 (floorf): Likewise.
18826
3e5aef87
L
188272012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18828
428bd707
L
18829 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18830 on both fields and cast pointer to __syscall_ulong_t.
18831
3e5aef87
L
18832 * bits/types.h (__fsword_t): New type.
18833 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18834 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18835 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18836 (__FSWORD_T_TYPE): Likewise.
18837 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18838 (__FSWORD_T_TYPE): Likewise.
18839 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18840 (__FSWORD_T_TYPE): Likewise.
18841 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18842 (__FSWORD_T_TYPE): Likewise.
18843 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18844 __SWORD_TYPE with __fsword_t.
18845 (statfs64): Likewise.
18846
1ba7c3dc
DM
188472012-05-17 David S. Miller <davem@davemloft.net>
18848
18849 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18850
59910343
AJ
188512012-05-17 Andreas Jaeger <aj@suse.de>
18852
18853 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18854 warning.
18855
2e4c1e9e
L
188562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18857
18858 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18859
de7f5ce7
AJ
188602012-05-17 Andreas Jaeger <aj@suse.de>
18861
18862 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18863 when it is used.
18864
286abc3d
CM
188652012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18866
18867 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18868
477cc68e
L
188692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18870
18871 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18872 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18873
1a0994f5
CD
188742012-05-17 Andreas Jaeger <aj@suse.de>
18875 Carlos O'Donell <carlos_odonell@mentor.com>
18876
18877 [BZ #14059]
18878 * sysdeps/x86_64/multiarch/init-arch.h
18879 (bit_YMM_Usable): Rename to...
18880 (bit_AVX_Usable): ... this.
18881 (bit_FMA4_Usable): New macro.
18882 (bit_XMM_state): New macro.
18883 (bit_YMM_state): New macro.
18884 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18885 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18886 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18887 (CPUID_OSXSAVE): New macro.
18888 (CPUID_AVX): New macro.
18889 (CPUID_FMA4): New macro.
18890 (index_YMM_Usable): Rename to...
18891 (index_AVX_Usable): ... this.
18892 (HAS_AVX): Use HAS_ARCH_FEATURE.
18893 (HAS_FMA4): Likewise.
18894 (HAS_YMM_USABLE): Remove.
18895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18896 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18897 are present.
18898 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18899 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18900 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18901 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18902 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18903
0af797de
CM
189042012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18905
18906 * math/libm-test.c: Support platforms without multiple rounding modes.
18907 * math/bug-nextafter.c: Support platforms without FP exceptions.
18908 * math/bug-nexttoward.c: Likewise.
18909 * math/test-fenv.c: Likewise.
18910 * math/test-misc.c: Likewise.
18911 * stdlib/bug-getcontext.c: Likewise.
18912
e39745ff
AJ
189132012-05-17 Andreas Jaeger <aj@suse.de>
18914
18915 * manual/examples/search.c (critter_cmp): Change signature to
18916 avoid warnings.
18917 * manual/string.texi (Collation Functions): Likewise.
18918
48970aba
L
189192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18920
18921 * bits/types.h: Fold copyright years.
18922 * bits/typesizes.h: Likewise.
18923 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18924 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18925 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18926 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18927 * time/time.h: Likewise.
18928
bedee953
PP
189292012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18930
18931 [BZ #208]
18932 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18933 in instead of returning them. Return void.
18934 (__libc_mallinfo): Accumulate over all arenas.
18935 (__malloc_stats): Adjust for change in int_mallinfo interface.
18936
61653dfb
RM
189372012-05-16 Roland McGrath <roland@hack.frob.com>
18938
30b99d79
RM
18939 [BZ #10375]
18940 * configure.in (NM): Add AC_CHECK_TOOL for it.
18941 (libc_extra_cflags): New substituted variable.
18942 Check for -fstack-protector being used implicitly.
18943 * configure: Regenerated.
18944 * config.make.in (config-extra-cflags): New variable,
18945 gets @libc_extra_cflags@.
18946 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18947
61653dfb
RM
18948 [BZ #10375]
18949 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18950 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18951 * configure: Regenerated.
18952 * config.make.in (CPPUNDEFS): New substituted variable.
18953 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18954 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18955 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18956
661768bb
L
189572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18958
18959 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18960 (mq_attr): Use __syscall_slong_t.
18961
d4261567
L
189622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18963
18964 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18965 Check __x86_64__ instead of __WORDSIZE.
18966 (_STAT_VER_LINUX): Likewise.
18967 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18968 __syscall_ulong_t and __syscall_slong_t.
18969 (stat64): Likewise.
18970
cf3ff365
L
189712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18972
18973 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18974
76cf3e4d
L
189752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18976
18977 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18978
a637753a
L
189792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18980
18981 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18982 __syscall_ulong_t.
18983
d5e05119
L
18984 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18985 include <bits/wordsize.h>. Check __x86_64__ instead of
18986 __WORDSIZE.
18987 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18988 defined.
18989 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18990
f62ee380
L
18991 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18992 include <bits/wordsize.h>. Check __x86_64__ instead of
18993 __WORDSIZE.
18994 (user_regs_struct): Use "__extension__ unsigned long long"
18995 instead of "unsigned long" if __x86_64__ is defined.
18996 (user): Likewise. Pad after pointer field if __ILP32__ is
18997 defined.
18998
4e124ced
JM
189992012-05-16 Joseph Myers <joseph@codesourcery.com>
19000
6a3951a0
JM
19001 * configure.in (makeinfo): Require version 4.5 or later. Allow
19002 versions 5 to 9.
19003 * configure: Regenerated.
19004 * manual/install.texi (texinfo): Increase version requirement to
19005 4.5 or later.
19006 * INSTALL: Regenerated.
19007
4e124ced
JM
19008 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19009
953ca31a
L
190102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19011
19012 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19013
617aca05
L
19014 * sysdeps/x86_64/x32/ffs.c: New file.
19015
5762f7ae
L
19016 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19017 __syscall_ulong_t.
19018 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19019 defined. Use __syscall_ulong_t.
19020 (shminfo): Use __syscall_ulong_t.
19021 (shm_info): Likewise.
19022
a26b6856
L
19023 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19024 __syscall_ulong_t.
19025
cb2b9ef7
L
19026 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19027 <bits/wordsize.h>.
19028 (msgqnum_t): Use __syscall_ulong_t.
19029 (msglen_t): Likewise.
19030 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19031 __syscall_ulong_t.
19032
34683bb0
L
19033 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19034 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19035
84a68786
L
19036 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19037
48baa5f1
L
19038 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19039 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19040
180be88b
L
19041 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19042 __syscall_slong_t.
19043
5e90c8ad
L
19044 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19045 include <bits/wordsize.h>. Check __x86_64__ instead of
19046 __WORDSIZE.
19047
23dfb58b
L
19048 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19049 "unsigned long long int" if __x86_64__ is defined.
19050 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19051
ce5d54b0
L
19052 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19053 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19054 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19055
13dc9eac
L
19056 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19057 <stdint.h>.
19058 (GET_PC): Cast to uintptr_t first.
19059 (GET_FRAME): Likewise.
19060 (GET_STACK): Likewise.
19061
a7895d15
L
19062 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19063 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19064 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19065 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19066 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19067 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19068 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19069 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19070 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19071 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19072 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19073 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19074 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19075 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19076 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19077 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19078 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19079 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19080 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19081 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19082 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19083 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19084 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19085 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19086 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19087 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19088 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19089 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19090 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19091
656416c9
AS
190922012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19093
5bd66283
AS
19094 * Makerules (+depfiles): Also collect depfiles from .oS in
19095 $(extra-objs).
19096 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19097 .oS, $(libnldbl-routines)).
19098
656416c9
AS
19099 * Makerules (native-compile-mkdep-flags): Define.
19100 * sunrpc/Makefile (extra-objs): Add $(addprefix
19101 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19102 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19103 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19104 calling $(make-target-directory).
19105
a46f2169
L
191062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19107
19108 * bits/types.h (__snseconds_t): Removed.
19109 * time/time.h (struct timespec): Replace __snseconds_t with
19110 __syscall_slong_t.
19111 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19112 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19113 Likewise.
19114 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19115 (__SNSECONDS_T_TYPE): Likewise.
19116 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19117 (__SNSECONDS_T_TYPE): Likewise.
19118 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19119 (__SNSECONDS_T_TYPE): Likewise.
19120
6af6528b
L
191212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19122
19123 * sysdeps/mach/hurd/bits/typesizes.h
19124 (__SYSCALL_SLONG_TYPE): New macro.
19125 (__SYSCALL_ULONG_TYPE): Likewise.
19126
de986b56
L
191272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19128
19129 * bits/types.h (__syscall_slong_t): New type.
19130 (__syscall_ulong_t): Likewise.
19131
19132 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19133 (__SYSCALL_ULONG_TYPE): Likewise.
19134 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19135 (__SYSCALL_SLONG_TYPE): Likewise.
19136 (__SYSCALL_ULONG_TYPE): Likewise.
19137 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19138 (__SYSCALL_SLONG_TYPE): Likewise.
19139 (__SYSCALL_ULONG_TYPE): Likewise.
19140 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19141 (__SYSCALL_SLONG_TYPE): Likewise.
19142 (__SYSCALL_ULONG_TYPE): Likewise.
19143
85736dc7
L
191442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19145
19146 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19147 Add sigaltstack-offsets.sym.
19148 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19149 <sigaltstack-offsets.h>.
19150 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19151 longjmp_msg pointer.
19152 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19153 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19154 signal stack.
19155 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19156
cc03b296
JM
191572012-05-15 Joseph Myers <joseph@codesourcery.com>
19158
a9538892
JM
19159 * elf/stackguard-macros.h: Remove file.
19160 * sysdeps/generic/stackguard-macros.h: New file.
19161 * sysdeps/i386/stackguard-macros.h: Likewise.
19162 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19163 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19164 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19165 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19166 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19167 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19168 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19169 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19170 <elf/stackguard-macros.h>.
19171
cc03b296
JM
19172 [BZ #14109]
19173 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19174 __aligned__ in attribute.
19175 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19176 (gregset_t): Likewise.
19177
93171016
L
191782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19179
19180 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19181 * sysdeps/x86_64/64/Implies-after: Here. New file.
19182 * sysdeps/x86_64/x32/Implies-after: New file.
19183
d86813a0
L
191842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19185
19186 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19187 and access return value for _dl_profile_fixup. Use R10_LP to
19188 load frame size.
19189
2953ec75
L
191902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19191
19192 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19193
3b550e9e
L
191942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19195
19196 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19197 * sysdeps/x86_64/x32/sysdep.h: New file.
19198
eda41706
L
191992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19200
19201 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19202 * sysdeps/x86_64/setjmp.S: Likewise.
19203
9ea01d93
AZ
192042012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19205
19206 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19207 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19208 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19209 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19210 remove unused global constant.
19211
02a91938
CM
192122012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19213
19214 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19215 include of <not-cancel.h>.
19216
6540185f
RM
192172012-05-15 Roland McGrath <roland@hack.frob.com>
19218
19219 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19220
509072a0
AJ
192212012-05-15 Jeff Law <law@redhat.com>
19222 Andreas Jaeger <aj@suse.de>
19223
19224 [BZ #13594]
19225 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19226 out from...
19227 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19228 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19229 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19230 code changing __hst_map_handle.map.
19231
ba75122d
RM
192322012-05-15 Roland McGrath <roland@hack.frob.com>
19233
19234 * configure.in (sysnames): Look for Implies-before and Implies-after
19235 files.
19236 * configure: Regenerated.
19237
890d8bd8
L
192382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19239
19240 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19241 8-byte data alignment with LP_SIZE alignment.
19242
f6ee6623
L
192432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19244
19245 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19246 into R10_LP.
19247
ea2626f6
L
192482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19249
19250 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19251
085f715e
L
192522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19253
19254 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19255 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19256 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19257 Likewise.
19258 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19259
be8498fc
L
192602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19261
19262 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19263 (stackinfo_sub_sp): Likewise.
19264
70bc83b9
L
192652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19266
19267 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19268 RAX_LP.
19269
9bc0b730
L
192702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19271
19272 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19273 into R*_LP.
19274
6d2850e7
L
192752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19276
19277 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19278 sizes into R*_LP.
19279
3cb84561
L
192802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19281
19282 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19283
54e2ed81
L
192842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19285
19286 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19287 into R11_LP and load __x86_64_shared_cache_size_half into
19288 R8_LP.
19289
8a17f349
L
192902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19291
19292 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19293 R8_LP.
19294
777b1eea
AZ
192952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19296
19297 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19298 logb for POWER7.
19299 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19300 logbf for POWER7.
19301 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19302 logbl for POWER7.
19303 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19304 powerpc32/power7/fpu/s_logb.c via #include.
19305 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19306 powerpc32/power7/fpu/s_logbf.c via #include.
19307 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19308 powerpc32/power7/fpu/s_logbl.c via #include.
19309
d20d4ac2
JM
193102012-05-15 Joseph Myers <joseph@codesourcery.com>
19311
19312 * README.libm: Remove file.
19313
6cdef1ab
L
193142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19315
19316 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19317 count for x32. Use R*_LP and omit operand-size suffix.
19318
0b254d8f
L
193192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19320
19321 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19322 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19323 * sysdeps/x86_64/x32/shlib-versions: New file.
19324
ceb809dc
RM
193252012-05-14 Roland McGrath <roland@hack.frob.com>
19326
19327 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19328 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19329 Use _dl_fatal_printf instead.
19330
37f1abd4
JM
193312012-05-14 Joseph Myers <joseph@codesourcery.com>
19332
19333 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19334 set if not set by the user. Do not allow for being unset.
19335 * sysdeps/unix/sysv/linux/configure: Regenerated.
19336
11de3a33
L
193372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19338
19339 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19340 the `q' suffix from lea and replace .quad with ASM_ADDR.
19341
e02f153a
L
193422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19343
19344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19345 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19346 instead of $17.
19347 (PTR_DEMANGLE): Likewise.
19348
520ae0fd
L
193492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19350
19351 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19352 (LP_OP): Likewise.
19353 (ASM_ADDR): Likewise.
19354 (RAX_LP): Likewise.
19355 (RBP_LP): Likewise.
19356 (RBX_LP): Likewise.
19357 (RCX_LP): Likewise.
19358 (RDI_LP): Likewise.
19359 (RSI_LP): Likewise.
19360 (RSP_LP): Likewise.
19361 (R8_LP): Likewise.
19362 (R9_LP): Likewise.
19363 (R10_LP): Likewise.
19364 (R10_LP): Likewise.
19365 (R11_LP): Likewise.
19366 (R12_LP): Likewise.
19367 (R13_LP): Likewise.
19368 (R14_LP): Likewise.
19369 (R15_LP): Likewise.
19370
b985be81
L
193712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19372
19373 * sysdeps/x86_64/x32/dl-machine.h: New file.
19374
6a4888ff
AJ
193752012-05-14 Andreas Jaeger <aj@suse.de>
19376
19377 * manual/Makefile (subdir): Remove export of subdir.
19378 (all): Remove target.
19379 (.PHONY): Remove all from list.
19380 (mkinstalldirs): Remove.
19381 (.PHONY): Remove installdirs from list.
19382 ($(inst_infodir)/libc.info): Use make-target-directory.
19383 (installdirs): Remove.
19384 (subdir_%): Remove.
19385 (glibc-targets): Remove.
19386 (lib): Remove.
19387 (stubs): Remove.
19388 ($(objpfx)stubs ../po/manual.pot): Remove.
19389 ($(objpfx)stamp%): Remove.
19390 (make-target-directory): Remove.
19391 (subdir_install): Remove.
19392 (routines): Remove.
19393 (aux): Remove.
19394 (sources): Remove.
19395 (objects): Remove.
19396 (headers): Remove.
19397
19398 [BZ #13750]
19399 * manual/.gitignore: Remove, it's not needed anymore.
19400 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19401 all files in it.
19402 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19403 directory.
19404 (texis): Renamed to $(objpfx)texis.
19405 (texis-path): New, contains path to generated files.
19406 (chapters.%): Use texis-path for complete path, add extra argument
19407 libc-texinfo.sh.
19408 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19409 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19410 (summary,texi, stamp-summary): Use complete path of
19411 files. Generate files in build dir.
19412 (dir-add.texi): Build in build dir.
19413 (libm-err.texi,stamp-libm-err): Likewise.
19414 (version.texi, stamp-version): Likewise.
19415 (.%c.texi): Likewise.
19416 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19417 (mostlyclean): Remove target.
19418 (realclean): Remove target.
19419 (generated): Add new variable with contents from mostlyclean and
19420 realclean, remove entries duplicated in common-mostlyclean, add
19421 stamp-libm-err and stamp-version.
19422 (generated-dirs): Add libc directory.
19423 ($(inst_infodir)/libc.info): Install files from build dir.
19424
19425 * manual/install.texi (Configuring and compiling): Adjust since
19426 the info files are not part of the tar ball anymore.
19427
7ac77294
AJ
194282012-05-14 Andreas Jaeger <aj@suse.de>
19429
19430 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19431 variable.
19432
ffb7875d
JM
194332012-05-14 Joseph Myers <joseph@codesourcery.com>
19434
19435 [BZ #13717]
19436 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19437 to 2.2.0 where earlier.
19438 * sysdeps/unix/sysv/linux/configure: Regenerated.
19439 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19440 Remove conditional code.
19441 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19442 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19443 Remove conditional code.
19444 [!__NR_lchown]: Likewise.
19445 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19446 [__NR_lchown]: Likewise.
19447 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19448 comment referencing __ASSUME_LCHOWN_SYSCALL.
19449 * sysdeps/unix/sysv/linux/i386/sigaction.c
19450 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19451 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19452 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19453 Remove conditional code.
19454 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19455 (__protocol_available): Remove #if 0 code.
19456 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19457 conditional code.
19458 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19459 * sysdeps/unix/sysv/linux/kernel-features.h
19460 (__ASSUME_GETCWD_SYSCALL): Don't define.
19461 (__ASSUME_REALTIME_SIGNALS): Likewise.
19462 (__ASSUME_PREAD_SYSCALL): Likewise.
19463 (__ASSUME_PWRITE_SYSCALL): Likewise.
19464 (__ASSUME_POLL_SYSCALL): Likewise.
19465 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19466 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19467 non-SPARC.
19468 (__ASSUME_SIOCGIFNAME): Don't define.
19469 (__ASSUME_MSG_NOSIGNAL): Likewise.
19470 (__ASSUME_SENDFILE): Define unconditionally.
19471 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19472 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19473 conditional code.
19474 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19475 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19476 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19477 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19478 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19479 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19480 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19482 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19483 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19485 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19486 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19488 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19489 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19491 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19492 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19494 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19495 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19497 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19498 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19500 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19501 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19503 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19504 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19505 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19506 Remove conditional code.
19507 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19508 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19509 Remove conditional code.
19510 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19511 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19512 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19513 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19514 Remove conditional code.
19515 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19516 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19517 Remove conditional code.
19518 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19519 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19520 Remove conditional code.
19521 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19522 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19523 Remove conditional code.
19524 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19525 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19526 Remove conditional code.
19527 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19528 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19529 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19530 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19531 * sysdeps/unix/sysv/linux/sigaction.c
19532 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19533 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19534 * sysdeps/unix/sysv/linux/sigpending.c
19535 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19536 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19537 * sysdeps/unix/sysv/linux/sigprocmask.c
19538 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19539 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19540 * sysdeps/unix/sysv/linux/sigsuspend.c
19541 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19542 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19543 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19544 (__libc_missing_rt_sigs): Remove.
19545 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19546 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19547 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19548 Remove conditional code.
19549 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19550 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19551 return 1.
19552 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19553 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19554 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19555 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19556
1bfb7291
AJ
195572012-05-14 Andreas Jaeger <aj@suse.de>
19558
caae5a81
AJ
19559 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19560 it's not used in glibc.
19561 (__coshm1): Likewise.
19562 (__acosh1p): Likewise.
19563 (__sgn): Likewise.
19564
1bfb7291
AJ
19565 * manual/string.texi (Copying and Concatenation): Add missing
19566 variable in concat example.
19567 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19568
c044d724
L
195692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19570
144c5467 19571 [BZ #14103]
c044d724
L
19572 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19573 __builtin_clzl with __builtin_clzll.
19574
2523c62b
L
195752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19576
19577 [BZ #14104]
19578 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19579 libc_freeres_ptr.
19580
d7bb4c42
LD
195812012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19582
19583 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19584 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19585 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19586 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19587
9dc4e1fb
MF
195882012-05-14 Mike Frysinger <vapier@gentoo.org>
19589
19590 * NEWS: Update ia64 info.
19591
c7df0112
AS
195922012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19593
19594 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19595 used as bcopy.
19596
dc70356c
TS
195972012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19598
19599 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19600 * sysdeps/unix/syscalls.list (dup3): Likewise.
19601 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19602 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19603
9fb1a21f
L
196042012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19605
19606 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19607 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19608
4822a2a5
L
196092012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19610
19611 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19612 thread pointer.
19613 (TLS_IE): Use mov/add instead of movq/addq to load thread
19614 pointer.
19615 (TLS_GD_PREFIX): New.
19616 (TLS_GD): Use it.
19617
842b81d6
DM
196182012-05-11 David S. Miller <davem@davemloft.net>
19619
19620 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19621 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19622 (_FPU_SETCW): Likewise.
19623
1cf463cd
L
196242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19625
19626 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19627 is 32-byte aligned.
19628
60cc4a18
AS
196292012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19630
19631 [BZ #11837]
19632 * iconvdata/gb18030.c: Update tables.
19633 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19634 characters specially.
19635 (BODY for TO_LOOP): Add encoding of missing ranges.
19636
febb44a4
TS
196372012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19638
19639 [BZ #13673]
19640 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19641 * sysdeps/mach/hurd/dup3.c: Likewise.
19642 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19643 * sysdeps/powerpc/memmove.c:: Likewise.
19644
0a10fb9e
L
196452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19646
19647 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19648 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19649
df8a552f
L
196502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19651
19652 * elf/elf.h (R_X86_64_RELATIVE64): New.
19653 (R_X86_64_NUM): Updated.
19654 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19655 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19656 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19657 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19658 tst-quad1pie tst-quad2pie
19659 (modules-names): Add tst-quadmod1 tst-quadmod2.
19660 ($(objpfx)tst-quad1): New dependency.
19661 ($(objpfx)tst-quad2): Likewise.
19662 ($(objpfx)tst-quad1pie): Likewise.
19663 ($(objpfx)tst-quad2pie): Likewise.
19664 * sysdeps/x86_64/tst-quad1.c: New file.
19665 * sysdeps/x86_64/tst-quad1pie.c: New file.
19666 * sysdeps/x86_64/tst-quad2.c: Likewise.
19667 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19668 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19669 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19670 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19671 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19672
f34d6f84
ST
196732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19674
f42d41d1
ST
19675 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19676 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19677 * streams/stropts.h (t_scalar_t): Define type.
19678
3c3571fc
ST
19679 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19680 (_PATH_PRESERVE): Set to "/var/lib".
19681 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19682
61f06bd3
ST
19683 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19684 instead of int.
19685
918d4d71
ST
19686 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19687 if __dir_mkfile succeeded.
19688
f34d6f84
ST
19689 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19690 checking for _hurd_dtablesize. Unlock it right after having
19691 finished _hurd_dtable allocation.
19692
10589b4a
TS
196932012-05-10 Thomas Schwinge <thomas@schwinge.name>
19694
674cdbc7
TS
19695 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19696 * sysdeps/mach/hurd/configure: Regenerated.
19697 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19698 special-casing to...
19699 * sysdeps/gnu/configure.in: ... this new file.
19700 * sysdeps/unix/sysv/linux/configure: Regenerated.
19701 * sysdeps/gnu/configure: New generated file.
19702
8e41b99f
TS
19703 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19704 for Linux: use nsec instead of usec, as well as:
19705 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19706 members of type struct timespec.
19707 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19708 New macros.
19709 (struct stat64): Likewise.
19710 (_STATBUF_ST_NSEC): New macro.
19711 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19712
10589b4a
TS
19713 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19714 __strtoul_internal rather than strtoul.
19715
63643c85
PT
197162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19717
19718 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19719 and reject them.
19720
3faebe6a
ST
197212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19722
19723 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19724 which preserves existing values.
19725 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19726
c6474b07
PT
197272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19728
19729 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19730 TIMEOUT values. Return EINVAL for NFDS values either negative or
19731 greater than FD_SETSIZE.
19732
1043890b
ST
197332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19734
19735 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19736 allocated, call __vm_protect to finish enabling the existing space, and
19737 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19738 allocate the remainder.
19739
37ed8b9b
PT
197402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19741
19742 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19743 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19744
db653660
ST
197452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19746
37ed8b9b
PT
19747 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19748 sysdeps/mach/hurd/readlink.c.
b29d4053 19749
db653660
ST
19750 * posix/tst-sysconf.c (posix_options): Only use
19751 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19752 _POSIX_SYNCHRONIZED_IO when they are defined
19753 * sysdeps/mach/hurd/bits/posix_opt.h:
19754 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19755 (_XOPEN_REALTIME): Undefine macro.
19756 (_XOPEN_REALTIME_THREADS): Undefine macro.
19757 (_XOPEN_SHM): Undefine macro.
19758 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19759 macro to -1.
19760 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19761 macro to -1.
19762 (_POSIX_ASYNC_IO): Undefine macro.
19763 (_POSIX_PRIORITIZED_IO): Undefine macro.
19764 (_POSIX_SPIN_LOCKS): Define macro to -1.
19765
ee16e894
ST
19766 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19767 SA_NODEFER, SA_RESETHAND.
19768 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19769 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19770 F_DUPFD_CLOEXEC.
19771
6103ae3b
TS
197722012-05-10 Thomas Schwinge <thomas@schwinge.name>
19773
19774 * elf/Makefile (pldd-modules): Define unconditionally.
19775
80b4e5f3
TS
197762012-05-10 Thomas Schwinge <thomas@schwinge.name>
19777
19778 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19779
edadcbd6
ST
197802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19781
19782 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19783 Return ENOENT when name is empty.
19784 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19785
80694780
TS
197862012-05-10 Thomas Schwinge <thomas@schwinge.name>
19787
1792c087
TS
19788 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19789
80694780
TS
19790 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19791
6b645f0d
ST
197922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19793
80694780
TS
19794 Fix mlock in all cases except non-readable pages.
19795 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19796 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19797
6b645f0d
ST
19798 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19799 (__mkdir): When path is `/', just fail with EEXIST.
19800 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19801
e468f8a3
TS
198022012-05-10 Thomas Schwinge <thomas@schwinge.name>
19803
19804 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19805 <sys/uio.h> (for writev).
19806 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19807 and <sys/param.h> (for MIN).
19808
a4186cff
PT
198092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19810
19811 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19812 REQUESTED_TIME. Properly set the remaining time and return EINTR
19813 if interrupted.
19814
510bbf14
TS
198152012-05-10 Thomas Schwinge <thomas@schwinge.name>
19816
19817 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19818 Depend on against $(link-rpcuserlibs).
19819
5d5722e8
ST
198202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19821
a4186cff
PT
19822 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19823 (__libc_stack_end): Do not use attribute_relro.
19824 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19825 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19826 to libthread-provided value.
a4186cff
PT
19827 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19828 attribute_relro.
5d5722e8 19829
37233df9
TS
198302012-05-10 Thomas Schwinge <thomas@schwinge.name>
19831
be971a2b
TS
19832 [BZ #3748]
19833 * bits/libc-lock.h (__libc_once_get): New macro.
19834 * sysdeps/mach/bits/libc-lock.h: Likewise.
19835 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19836 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19837 instead of using implementation details.
19838
37233df9
TS
19839 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19840 * libio/freopen.c: Likewise.
19841 * libio/freopen64.c: Likewise.
19842 * misc/syslog.c: Likewise.
19843 * nscd/connections.c: Likewise.
19844 * nscd/netgroupcache.c: Likewise.
19845 * sysdeps/posix/getcwd.c: Likewise.
19846
38de94a5
RM
198472012-05-10 Roland McGrath <roland@hack.frob.com>
19848
19849 * math/w_ilogbf.c: Add #include <limits.h>.
19850
67530489
ST
198512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19852
a4186cff 19853 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19854 path instead of returning without unlocking.
19855
67530489
ST
19856 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19857 immediate-write ioctls.
19858 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19859
5aa3a74a
TS
198602012-05-10 Thomas Schwinge <thomas@schwinge.name>
19861
18bad2ae
TS
19862 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19863 __builtin_frame_address instead of making assumptions about the
19864 location of the return address relative to DATA. Force early load of
19865 the return address.
19866 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19867 __builtin_frame_address.
19868
5aa3a74a
TS
19869 dup3 for GNU Hurd.
19870 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19871 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19872 implement dup3 and do some further code clean-ups.
19873 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19874 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19875
ecd0de9a
ST
198762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19877
cd9fa985
ST
19878 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19879
a4186cff
PT
19880 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19881 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19882 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19883 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19884 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19885 d->port.lock.
802ca5a5 19886
a4186cff
PT
19887 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19888 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19889 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19890
bcf55240
TS
198912012-05-10 Thomas Schwinge <thomas@schwinge.name>
19892
6960eb42
TS
19893 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19894 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19895 definitions.
19896
eb43375f
TS
19897 accept4 for GNU Hurd.
19898 * include/sys/socket.h (__libc_accept4): New prototype.
19899 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19900 to implement __libc_accept4.
19901 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19902 __libc_accept4.
19903 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19904
bcf55240
TS
19905 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19906 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19907 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19908 signal-defines.sym.
19909
6178c55b
ST
199102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19911
a4186cff 19912 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19913
6f080c2f
TS
199142012-05-10 Thomas Schwinge <thomas@schwinge.name>
19915
19916 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19917 assertion on O_CLOEXEC flag.
19918 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19919 * hurd/intern-fd.c: Likewise.
19920 * hurd/port2fd.c: Likewise.
19921
bcfe3a54
ST
199222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19923
19924 [BZ #3906]
19925 * bits/in.h (IPV6_PKTINFO): Define new macro.
19926 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19927
89c9aa49
AZ
199282012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19929
19930 [BZ #13954]
19931 [BZ #13955]
19932 [BZ #13956]
19933 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19934 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19935 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19936 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19937 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19938 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19939 * math/libm-test.inc (logb_test) : Additional logb tests.
19940
021db4be
AJ
199412012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19942 Andreas Jaeger <aj@suse.de>
19943
19944 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19945 * configure: Regenerated.
19946 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19947 * config.make.in (link-obsolete-rpc): New substituted variable.
19948 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19949 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19950 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19951 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19952 so that libc.a contains the symbols.
19953 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19954 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19955 * sunrpc/auth_none.c: Likewise.
19956 * sunrpc/auth_unix.c: Likewise.
19957 * sunrpc/authdes_prot.c: Likewise.
19958 * sunrpc/authuxprot.c: Likewise.
19959 * sunrpc/clnt_gen.c: Likewise.
19960 * sunrpc/clnt_perr.c: Likewise.
19961 * sunrpc/clnt_raw.c: Likewise.
19962 * sunrpc/clnt_simp.c: Likewise.
19963 * sunrpc/clnt_tcp.c: Likewise.
19964 * sunrpc/clnt_udp.c: Likewise.
19965 * sunrpc/clnt_unix.c: Likewise.
19966 * sunrpc/des_crypt.c: Likewise.
19967 * sunrpc/des_soft.c: Likewise.
19968 * sunrpc/get_myaddr.c: Likewise.
19969 * sunrpc/key_call.c: Likewise.
19970 * sunrpc/key_prot.c: Likewise.
19971 * sunrpc/netname.c: Likewise.
19972 * sunrpc/pm_getmaps.c: Likewise.
19973 * sunrpc/pm_getport.c: Likewise.
19974 * sunrpc/pmap_clnt.c: Likewise.
19975 * sunrpc/pmap_prot.c: Likewise.
19976 * sunrpc/pmap_prot2.c: Likewise.
19977 * sunrpc/pmap_rmt.c: Likewise.
19978 * sunrpc/publickey.c: Likewise.
19979 * sunrpc/rpc_cmsg.c: Likewise.
19980 * sunrpc/rpc_common.c: Likewise.
19981 * sunrpc/rpc_dtable.c: Likewise.
19982 * sunrpc/rpc_prot.c: Likewise.
19983 * sunrpc/rpc_thread.c: Likewise.
19984 * sunrpc/rtime.c: Likewise.
19985 * sunrpc/svc.c: Likewise.
19986 * sunrpc/svc_auth.c: Likewise.
19987 * sunrpc/svc_raw.c: Likewise.
19988 * sunrpc/svc_run.c: Likewise.
19989 * sunrpc/svc_tcp.c: Likewise.
19990 * sunrpc/svc_udp.c: Likewise.
19991 * sunrpc/svc_unix.c: Likewise.
19992 * sunrpc/svcauth_des.c: Likewise.
19993 * sunrpc/xcrypt.c: Likewise.
19994 * sunrpc/xdr.c: Likewise.
19995 * sunrpc/xdr_array.c: Likewise.
19996 * sunrpc/xdr_float.c: Likewise.
19997 * sunrpc/xdr_intXX_t.c: Likewise.
19998 * sunrpc/xdr_mem.c: Likewise.
19999 * sunrpc/xdr_rec.c: Likewise.
20000 * sunrpc/xdr_ref.c: Likewise.
20001 * sunrpc/xdr_sizeof.c: Likewise.
20002 * sunrpc/xdr_stdio.c: Likewise.
20003
b5c086a2
RM
200042012-05-10 Roland McGrath <roland@hack.frob.com>
20005
20006 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20007 change. Update copyright years.
20008
6d74dd09
JM
200092012-05-10 Joseph Myers <joseph@codesourcery.com>
20010
20011 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20012
28e72501
MK
200132012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20014 Joseph Myers <joseph@codesourcery.com>
20015 Paul Pluzhnikov <ppluzhnikov@google.com>
20016
20017 [BZ #14012]
20018 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20019 requiring rpcgen.
20020 [cross-compiling] (extra-libs): Likewise.
20021 [cross-compiling] (extra-libs-others): Likewise.
20022 [cross-compiling] (librpcsvc-routines): Likewise.
20023 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20024 [cross-compiling] (omit-deps): Likewise.
20025 (sunrpc-CPPFLAGS): New variable.
20026 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20027 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20028 (cross-rpcgen-objs): New variable.
20029 (extra-objs): Append $(cross-rpcgen-objs).
20030 ($(cross-rpcgen-objs)): New rule.
20031 ($(objpfx)cross-rpcgen): Likewise.
20032 (rpcgen-cmd): Define to use $(built-program-file). Expand
20033 comment.
20034 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20035 ($(objpfx)x%.stmp): Likewise.
20036 * sunrpc/proto.h [IS_IN_build] (_): Define.
20037 [IS_IN_build] (_libc_intl_domainname): Likewise.
20038
c8c59454
L
200392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20040
20041 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20042 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20043 and R_X86_64_TPOFF64.
20044
6f27cd16
JM
200452012-05-10 Joseph Myers <joseph@codesourcery.com>
20046
20047 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20048 sysdeps/unix/sysv/syscalls.list.
20049 (stime): Likewise.
20050 (utime): Likewise.
20051 * sysdeps/unix/sysv/syscalls.list: Remove file.
20052
02467e1c
PE
200532012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20054
20055 [BZ #3440]
20056 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20057 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20058 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20059 (__LC_IDENTIFICATION): Make these macros useful in #if
20060 expressions, as required by C99.
20061
da392631
AS
200622012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20063
20064 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20065 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20066 after this.
20067
8115f29b
L
200682012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20069
20070 * stdlib/longlong.h: Updated from GCC.
20071
bdd74070
AJ
200722012-05-09 Andreas Jaeger <aj@suse.de>
20073
edfe0dbe
AJ
20074 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20075 default is first entry.
20076 (run_mode): Set type.
20077 (main): Remove informal message about syslog.
20078 (options): Fix typo.
20079
bcfe3a54
ST
20080 [BZ #14053]
20081 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 20082 to asm.
bcfe3a54
ST
20083 (lrint): Likewise.
20084 (llrintf): Likewise.
20085 (llrint): Likewise.
20086 (rint): Likewise.
20087 (rintf): Likewise.
20088 (nearbyint): Likewise.
20089 (nearbyintf): Likewise.
bdd74070 20090
91d8d69e
AJ
200912012-05-09 Andreas Jaeger <aj@suse.de>
20092 Pedro Alves <palves@redhat.com>
20093
20094 * nscd/nscd.c (run_mode): Use enum.
20095 (main): Cleanup coding style issue.
20096
bb90b80b
AJ
200972012-05-09 Alexandre Oliva <aoliva@redhat.com>
20098 Andreas Jaeger <aj@suse.de>
20099
bcfe3a54
ST
20100 * nscd/nscd.c (go_background): Replaced with...
20101 (run_mode): ... this.
bb90b80b 20102 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
20103 (options): Add -F --foreground.
20104 (main): Implement it.
20105 (parse_opt): Parse it.
bb90b80b 20106
1a4b75a1
AJ
201072012-05-09 Andreas Jaeger <aj@suse.de>
20108
20109 [BZ #14083]
20110 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20111 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20112 -Wconversion warning.
20113 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20114 Likewise.
20115
b1cc2472
JM
201162012-05-09 Joseph Myers <joseph@codesourcery.com>
20117
20118 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20119 == 0.
20120 (LC_ALL): Use macro-int-constant.
20121 (LC_COLLATE): Likewise.
20122 (LC_CTYPE): Likewise.
20123 (LC_MESSAGES): Likewise.
20124 (LC_MONETARY): Likewise.
20125 (LC_NUMERIC): Likewise.
20126 (LC_TIME): Likewise.
20127 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20128 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20130 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20131 Specify type.
20132 [C99-based standards] (float_t): Expect type.
20133 [C99-based standards] (double_t): Expect type.
20134 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20135 type.
20136 [C99-based standards] (HUGE_VALL): Likewise.
20137 [C99-based standards] (INFINITY): Likewise.
20138 [C99-based standards] (NAN): Likewise.
20139 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20140 [C99-based standards] (FP_NAN): Likewise.
20141 [C99-based standards] (FP_NORMAL): Likewise.
20142 [C99-based standards] (FP_SUBNORMAL): Likewise.
20143 [C99-based standards] (FP_ZERO): Likewise.
20144 [C99-based standards] (FP_FAST_FMA): Use
20145 optional-macro-int-constant. Specify type. Require == 1.
20146 [C99-based standards] (FP_FAST_FMAF): Likewise.
20147 [C99-based standards] (FP_FAST_FMAL): Likewise.
20148 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20149 [C99-based standards] (FP_ILOGBNAN): Likewise.
20150 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20151 Specify type.
20152 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20153 [C99-based standards] (math_errhandling): Specify type.
20154 [ISO99 || ISO11] (signgam): Do not allow.
20155 [non-C99-based standards] (copysignf): Do not allow.
20156 [non-C99-based standards] (exp2f): Likewise.
20157 [non-C99-based standards] (log2f): Likewise.
20158 [non-C99-based standards] (modff): Allow.
20159 [non-C99-based standards] (erff): Do not allow.
20160 [non-C99-based standards] (erfcf): Likewise.
20161 [non-C99-based standards] (gammaf): Likewise.
20162 [non-C99-based standards] (hypotf): Likewise.
20163 [non-C99-based standards] (j0f): Likewise.
20164 [non-C99-based standards] (j1f): Likewise.
20165 [non-C99-based standards] (jnf): Likewise.
20166 [non-C99-based standards] (lgammaf): Likewise.
20167 [non-C99-based standards] (tgammaf): Likewise.
20168 [non-C99-based standards] (y0f): Likewise.
20169 [non-C99-based standards] (y1f): Likewise.
20170 [non-C99-based standards] (ynf): Likewise.
20171 [non-C99-based standards] (isnanf): Likewise.
20172 [non-C99-based standards] (acoshf): Likewise.
20173 [non-C99-based standards] (asinhf): Likewise.
20174 [non-C99-based standards] (atanhf): Likewise.
20175 [non-C99-based standards] (cbrtf): Likewise.
20176 [non-C99-based standards] (expm1f): Likewise.
20177 [non-C99-based standards] (ilogbf): Likewise.
20178 [non-C99-based standards] (log1pf): Likewise.
20179 [non-C99-based standards] (logbf): Likewise.
20180 [non-C99-based standards] (nextafterf): Likewise.
20181 [non-C99-based standards] (remainderf): Likewise.
20182 [non-C99-based standards] (rintf): Likewise.
20183 [non-C99-based standards] (scalbf): Likewise.
20184 [non-C99-based standards] (copysignl): Likewise.
20185 [non-C99-based standards] (exp2l): Likewise.
20186 [non-C99-based standards] (log2l): Likewise.
20187 [non-C99-based standards] (modfl): Allow.
20188 [non-C99-based standards] (erfl): Do not allow.
20189 [non-C99-based standards] (erfcl): Likewise.
20190 [non-C99-based standards] (gammal): Likewise.
20191 [non-C99-based standards] (hypotl): Likewise.
20192 [non-C99-based standards] (j0l): Likewise.
20193 [non-C99-based standards] (j1l): Likewise.
20194 [non-C99-based standards] (jnl): Likewise.
20195 [non-C99-based standards] (lgammal): Likewise.
20196 [non-C99-based standards] (tgammal): Likewise.
20197 [non-C99-based standards] (y0l): Likewise.
20198 [non-C99-based standards] (y1l): Likewise.
20199 [non-C99-based standards] (ynl): Likewise.
20200 [non-C99-based standards] (isnanl): Likewise.
20201 [non-C99-based standards] (acoshl): Likewise.
20202 [non-C99-based standards] (asinhl): Likewise.
20203 [non-C99-based standards] (atanhl): Likewise.
20204 [non-C99-based standards] (cbrtl): Likewise.
20205 [non-C99-based standards] (expm1l): Likewise.
20206 [non-C99-based standards] (ilogbl): Likewise.
20207 [non-C99-based standards] (log1pl): Likewise.
20208 [non-C99-based standards] (logbl): Likewise.
20209 [non-C99-based standards] (nextafterl): Likewise.
20210 [non-C99-based standards] (remainderl): Likewise.
20211 [non-C99-based standards] (rintl): Likewise.
20212 [non-C99-based standards] (scalbl): Likewise.
20213 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20214 [non-C99-based standards] (FP_*): Do not allow.
20215 [C99-based standards] (FP_*): Change to
20216 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20217 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20218 allow.
20219 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20220 (SIG_ERR): Likewise.
20221 [X/Open-based standards] (SIG_HOLD): Likewise.
20222 (SIG_IGN): Likewise.
20223 (SIGABRT): Use macro-int-constant. Specify type. Require
20224 positive value.
20225 (SIGFPE): Likewise.
20226 (SIGILL): Likewise.
20227 (SIGINT): Likewise.
20228 (SIGSEGV): Likewise.
20229 (SIGTER): Likewise.
20230 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20231 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20232 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20233 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20234 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20235 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20236 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20237 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20238 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20239 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20240 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20241 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20242 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20243 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20244 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20245 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20246 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20247 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20248 [X/Open-based standards] (SIGTRAP): Likewise.
20249 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20250 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20251 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20252 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20253 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20254 allow.
20255
b9f1922d
IW
202562012-05-08 Ian Wienand <ianw@vmware.com>
20257
20258 [BZ #14080]
20259 * time/tzset.c (__tzset_parse_tz): Update default rules for
20260 daylight time changes in the Energy Policy Act of 2005.
20261
1db86e88
AJ
202622012-05-09 Andreas Jaeger <aj@suse.de>
20263
20264 [BZ #13983]
20265 * elf/ldconfig.c (parse_conf): Change string to make clear that
20266 ldconfig only issued a warning if ld.so.conf does not exist.
20267
dee4a4e3
DM
202682012-05-08 David S. Miller <davem@davemloft.net>
20269
ee0db190
DM
20270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20271 movxtod instead of popping the value on the stack.
20272
dee4a4e3
DM
20273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20274
6a43ec98
CD
202752012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20276
20277 * config.h.in: Add HAVE_ARM_PCS_VFP.
20278
05c2c961
RMG
202792012-05-08 Roland Mc Grath <roland@hack.frob.com>
20280
bcfe3a54
ST
20281 [BZ #13979]
20282 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20283 checking but the checks are disabled for any reason.
05c2c961 20284
4b30f61a
L
202852012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20286
20287 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20288 and ELF64_R_TYPE with ELFW(R_TYPE).
20289
eee2bc67
JM
202902012-05-08 Joseph Myers <joseph@codesourcery.com>
20291
7ea5391a
JM
20292 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20293 (ulimit): Likewise.
20294
eee2bc67
JM
20295 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20296 (settimeofday): Likewise.
20297
abb66a67
MF
202982012-05-08 Mike Frysinger <vapier@gentoo.org>
20299
20300 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20301 a struct th_u2 inside the union, and move tu_block/tu_code into
20302 a new th_u3 union of tu_block/tu_code inside of that. Move
20303 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20304 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20305 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20306 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20307 (th_stuff): Change to th_u1.tu_stuff.
20308 (th_data): Define.
20309 (th_msg): Change to th_u1.th_u2.tu_data.
20310
7f18b530
DM
203112012-05-07 David S. Miller <davem@davemloft.net>
20312
05760585
DM
20313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20314
7f18b530
DM
20315 [BZ #14074]
20316 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20317 (SETUP_PIC_REG): Use it.
20318 (SETUP_PIC_REG_LEAF): Use it.
20319
495fd99f
JM
203202012-05-07 Joseph Myers <joseph@codesourcery.com>
20321
20322 [BZ #13885]
20323 [BZ #13923]
20324 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20325 USE_AS_EXPM1L.
20326 (EXPL_FINITE): Likewise.
20327 (FLDLOG): Likewise.
20328 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20329 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20330 e_expl.S.
20331 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20332 USE_AS_EXPM1L.
20333 (EXPL_FINITE): Likewise.
20334 (FLDLOG): Likewise.
20335 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20336 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20337 e_expl.S.
20338 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20339 test of -max_value argument for long double.
20340 * sysdeps/i386/fpu/libm-test-ulps: Update.
20341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20342
6693d694
DM
203432012-05-06 David S. Miller <davem@davemloft.net>
20344
20345 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20346 quad soft-float symbols whose references which are compiler
20347 generated.
20348 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20349
6c23e11c
JM
203502012-05-06 Joseph Myers <joseph@codesourcery.com>
20351
d8b82cad
JM
20352 [BZ #13884]
20353 [BZ #13914]
20354 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20355 USE_AS_EXP10L.
20356 (EXPL_FINITE): Likewise.
20357 (FLDLOG): Likewise.
20358 (c0): Likewise.
20359 (c1): Likewise.
20360 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20361 Adjust comments for base varying.
20362 (__expl_finite): Change alias to EXPL_FINITE.
20363 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20364 e_expl.S.
20365 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20366 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20367 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20368 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20369 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20370 USE_AS_EXP10L.
20371 (EXPL_FINITE): Likewise.
20372 (FLDLOG): Likewise.
20373 (c0): Likewise.
20374 (c1): Likewise.
20375 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20376 Adjust comments for base varying.
20377 (__expl_finite): Change alias to EXPL_FINITE.
20378 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20379 tests for bugs.
20380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20381
6c23e11c
JM
20382 [BZ #14064]
20383 * math/libm-test.inc (check_float_internal): Correct ulp
20384 calculation for subnormal expected results.
20385
29ba805c
AJ
203862012-05-06 Andreas Jaeger <aj@suse.de>
20387
20388 * Makeconfig (+math-flags): New, set to -frounding-math.
20389 (+cflags): Add +math-flags so that all of glibc gets compiled with
20390 it.
20391
20392 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20393
7b17aeda
JM
203942012-05-05 Joseph Myers <joseph@codesourcery.com>
20395
5779f134
JM
20396 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20397 Disable one test.
20398
41498f4d
JM
20399 [BZ #13787]
20400 [BZ #13922]
20401 [BZ #14036]
20402 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20403 (__ieee754_expl): Allow for and saturate large arguments.
20404 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20405 (u_threshold): Likewise.
20406 (__exp): Call __ieee754_exp before checking for overflow and
20407 underflow.
20408 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20409 (u_threshold): Likewise.
20410 (__expf): Call __ieee754_expf before checking for overflow and
20411 underflow.
20412 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20413 (u_threshold): Likewise.
20414 (__expl): Call __ieee754_expl before checking for overflow and
20415 underflow.
20416 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20417 (__ieee754_expl): Allow for and saturate large arguments.
20418 * math/libm-test.inc (exp_test): Add another test. Do not allow
20419 missing overflow exception on overflow.
20420 (expm1_test): Do not allow missing overflow exception on overflow.
20421
6698b8bf
JM
20422 * sysdeps/i386/fpu/e_expl.c: Move to ...
20423 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20424 rather than using inline asm.
20425 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20426 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20427 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20428
7b17aeda
JM
20429 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20430 (nice): Likewise.
20431 (poll): Likewise.
20432 (signal): Likewise.
20433 (time): Likewise.
20434 (times): Likewise.
20435
f7c85819
JM
204362012-05-04 Joseph Myers <joseph@codesourcery.com>
20437
20438 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20439 sysdeps/unix/common/syscalls.list.
20440 (fchmod): Likewise.
20441 (fchown): Likewise.
20442 (ftruncate): Likewise.
20443 (getrusage): Likewise.
20444 (gettimeofday): Likewise.
20445 (setpgid): Likewise.
20446 (setregid): Likewise.
20447 (setreuid): Likewise.
20448 (sigaction): Likewise.
20449 (truncate): Likewise.
20450 (vhangup): Likewise.
20451 * sysdeps/unix/common/syscalls.list: Remove file.
20452 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20453 * sysdeps/unix/sysv/linux/Implies: Likewise.
20454
336270d0
L
204552012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20456
20457 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20459 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20460 Moved to ...
20461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20462 Here.
20463 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20464 to ...
20465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20466 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20467 to ...
20468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20469 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20470 to ...
20471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20472 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20473 to ...
20474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20475 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20476 to ...
20477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20478 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20479 to ...
20480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20481 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20482 to ...
20483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20484 Here.
20485 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20486 to ...
20487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20488 Here.
20489 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20490 to ...
20491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20492 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20493 Moved to ...
20494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20495 Here.
20496 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20497 to ...
20498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20499
d128e450
JM
205002012-05-04 Joseph Myers <joseph@codesourcery.com>
20501
fa8ee516
JM
20502 * sysdeps/unix/common/bits/dirent.h: Remove file.
20503 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20504
d128e450
JM
20505 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20506 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20507 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20508 * sysdeps/unix/bsd/isatty.c: Likewise.
20509 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20510 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20511 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20512
ff8faaf0 205132012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20514
62881be4 20515 [BZ #13563]
31dc8730
AZ
20516 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20517 long double comparison inaccuracies.
20518 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20520
6fef930c
AS
205212012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20522
20523 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20524 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20525
8f203e6c
JM
205262012-05-04 Joseph Myers <joseph@codesourcery.com>
20527
20528 [BZ #14049]
20529 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20530 nonzero digits before rounding a hex value.
20531 * stdlib/tst-strtod.c (tests): Add another test.
20532
5197d9c2
AK
205332012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20534
20535 * sysdeps/s390/fpu/libm-test-ulps: Update.
20536
f0c1dedf
AJ
205372012-05-03 Andreas Jaeger <aj@suse.de>
20538
20539 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20540 does not get optimized out.
20541 (malloc_opt_barrier): New.
20542
a65ef2ae 205432012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20544 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20545
2b942cb7 20546 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20547 intermediate file deletion.
2b942cb7 20548 (generated): Add .symlist files.
a65ef2ae 20549
54b71e02
JM
205502012-05-03 Joseph Myers <joseph@codesourcery.com>
20551
20552 [BZ #13775]
20553 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20554 Redirect under this condition.
20555 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20556 [__USE_GNU] (__dprintf_chk): Not under this condition.
20557 [__USE_GNU] (__vdprintf_chk): Likewise.
20558 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20559 under this condition.
20560 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20561 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20562 [__USE_XOPEN2K8] (vdprintf): Likewise.
20563 [__USE_GNU] (__dprintf_chk): Not under this condition.
20564 [__USE_GNU] (__vdprintf_chk): Likewise.
20565 [__USE_GNU] (dprintf): Likewise.
20566 [__USE_GNU] (vdprintf): Likewise.
20567
d3dfcc41
RM
205682012-05-03 Roland McGrath <roland@hack.frob.com>
20569
20570 * elf/Makefile (common-generated): Set this instead of generated for
20571 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20572 $(all-built-dso)-derived lists.
20573
7ac30cc5
AJ
205742012-05-03 Andreas Jaeger <aj@suse.de>
20575
0c51e550
AJ
20576 * sysdeps/i386/fpu/libm-test-ulps: Update.
20577
7ac30cc5
AJ
20578 * FAQ: Removed.
20579 * FAQ.in: Likewise.
20580 * scripts/gen-FAQ.pl: Likewise.
20581 * manual/install.texi (Installation): Point to online location of
20582 FAQ.
20583 * Makefile (files-for-dist): Remove FAQ.
20584 (FAQ): Remove.
20585
d4c2917f
AM
205862012-05-02 Allan McRae <allan@archlinux.org>
20587
20588 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20589 (LDFLAGS-reldepmod5.so): Likewise.
20590 (LDFLAGS-reldep6mod1.so): Likewise.
20591 (LDFLAGS-reldep6mod4.so): Likewise.
20592 (LDFLAGS-reldep8mod3.so): Likewise.
20593 (LDFLAGS-unload4mod1.so): Likewise.
20594 (LDFLAGS-unload4mod2.so): Likewise.
20595 (LDFLAGS-tst-initorder): Likewise.
20596 (LDFLAGS-tst-initordera2.so): Likewise.
20597 (LDFLAGS-tst-initordera3.so): Likewise.
20598 (LDFLAGS-tst-initordera4.so): Likewise.
20599 (LDFLAGS-tst-initorderb2.so): Likewise.
20600 (LDFLAGS-noload): Likewise.
20601 (LDFLAGS-next): Likewise.
20602 (LDFLAGS-order2mod1.so): Likewise.
20603 (LDFLAGS-order2mod2.so): Likewise.
20604 (LDFLAGS-tst-initorder2): Likewise.
20605 (LDFLAGS-tst-initorder2a.so): Likewise.
20606 (LDFLAGS-tst-initorder2b.so): Likewise.
20607 (LDFLAGS-tst-initorder2c.so): Likewise.
20608 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20609
d77f993f
DM
206102012-05-02 David S. Miller <davem@davemloft.net>
20611
20612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20613
171a70b4
PP
206142012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20615
20616 [BZ #14055]
20617 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20618
0be196ad
AJ
206192012-05-02 Andreas Jaeger <aj@suse.de>
20620
20621 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20622 since we manipulate rounding mode.
20623 (CPPFLAGS-test-idouble.c): Likewise.
20624 (CPPFLAGS-test-ifloat.c): Likewise.
20625 (CFLAGS-test-ldouble.c): Likewise.
20626 (CFLAGS-test-double.c): Likewise.
20627 (CFLAGS-test-float.c): Likewise.
20628 (CFLAGS-test-misc.c): Likewise.
20629 (CFLAGS-test-test-fenv.c): Likewise.
20630
4f9d04aa
AZ
206312012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20632
2b942cb7
RM
20633 [BZ #2550]
20634 [BZ #2570]
20635 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20636 comparisons to determine direction to adjust input.
4f9d04aa 20637
82a79e7d
RM
206382012-05-01 Roland McGrath <roland@hack.frob.com>
20639
f5a01ca9
RM
20640 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20641 output to the target.
20642
90fe4186
RM
20643 * scripts/localplt.awk: New file.
20644 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20645 (check-localplt-CFLAGS): Variable removed.
20646 ($(all-built-dso:=.jmprel)): New static pattern rule.
20647 (generated): Add those targets.
20648 (localplt-built-dso): New variable.
20649 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20650
20651 * elf/check-localplt.c: File removed.
20652
82397ed6
RM
20653 * scripts/check-execstack.awk: New file.
20654 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20655 (check-execstack-CFLAGS): Variable removed.
20656 ($(objpfx)check-execstack.h): Target removed.
20657 ($(objpfx)execstack-default): New target.
20658 (generated): Add that instead of check-execstack.h.
20659 ($(all-built-dso:=.phdr)): New static pattern rule.
20660 (generated): Add those targets.
20661 * elf/check-execstack.c: File removed.
20662
82a79e7d
RM
20663 * scripts/check-textrel.awk: New file.
20664 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20665 (check-textrel-CFLAGS): Variable removed.
20666 (all-built-dso): Use := to define.o
20667 ($(all-built-dso:=.dyn)): New static pattern rule.
20668 (generated): Add those targets.
20669 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20670 * config.make.in (READELF): New substituted variable.
20671 * elf/check-textrel.c: File removed.
20672
62fde54f 206732012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20674
615605c9
JM
20675 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20676 allow.
20677 * conform/data/ctype.h-data [C99-based standards] (isblank):
20678 Expect function.
20679 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20680 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20681 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20682 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20683 Specify type. Require positive value.
20684 (EILSEQ): Likewise.
20685 (ERANGE): Likewise.
20686 [ISO || POSIX] (EILSEQ): Do not expect.
20687 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20688 Specify type. Require positive value.
20689 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20690 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20691 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20692 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20693 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20694 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20695 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20696 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20697 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20698 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20699 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20700 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20701 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20702 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20703 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20704 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20705 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20706 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20707 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20708 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20709 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20710 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20711 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20712 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20713 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20714 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20715 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20716 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20717 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20718 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20719 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20720 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20721 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20722 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20723 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20724 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20725 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20726 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20727 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20728 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20729 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20730 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20731 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20732 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20733 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20734 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20735 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20736 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20737 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20738 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20739 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20740 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20741 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20742 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20743 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20744 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20745 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20746 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20747 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20748 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20749 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20750 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20751 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20752 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20753 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20754 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20755 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20756 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20757 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20758 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20759 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20760 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20761 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20762 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20763 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20764 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20765 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20766 Require >= 2.
20767 (FLT_ROUNDS): Expect as macro, not constant.
20768 (FLT_MANT_DIG): Use macro-int-constant.
20769 (DBL_MANT_DIG): Likewise.
20770 (LDBL_MANT_DIG): Likewise.
20771 (FLT_DIG): Likewise.
20772 (DBL_DIG): Likewise.
20773 (LDBL_DIG): Likewise.
20774 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20775 (DBL_MIN_EXP): Likewise.
20776 (LDBL_MIN_EXP): Likewise.
20777 (FLT_MAX_EXP): Use macro-int-constant.
20778 (DBL_MAX_EXP): Likewise.
20779 (LDBL_MAX_EXP): Likewise.
20780 (FLT_MAX_10_EXP): Likewise.
20781 (DBL_MAX_10_EXP): Likewise.
20782 (LDBL_MAX_10_EXP): Likewise.
20783 (FLT_MAX): Use macro-constant.
20784 (DBL_MAX): Likewise.
20785 (LDBL_MAX): Likewise.
20786 (FLT_EPSILON): Use macro-constant. Give upper bound.
20787 (DBL_EPSILON): Likewise.
20788 (LDBL_EPSILON): Likewise.
20789 (FLT_MIN): Likewise.
20790 (DBL_MIN): Likewise.
20791 (LDBL_MIN): Likewise.
20792 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20793 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20794 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20795 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20796 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20797 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20798 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20799 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20800 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20801 [ISO11] (FLT_TRUE_MIN): Likewise.
20802 [ISO11] (LDBL_TRUE_MIN): Likewise.
20803 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20804 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20805 (SCHAR_MIN): Use macro-int-constant. Specify type.
20806 (SCHAR_MAX): Likewise.
20807 (UCHAR_MAX): Likewise.
20808 (CHAR_MIN): Likewise.
20809 (CHAR_MAX): Likewise.
20810 (MB_LEN_MAX): Use macro-int-constant.
20811 (SHRT_MIN): Use macro-int-constant. Specify type.
20812 (SHRT_MAX): Likewise.
20813 (USHRT_MAX): Likewise.
20814 (INT_MAX): Likewise.
20815 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20816 bound negative.
20817 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20818 bound with "U".
20819 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20820 bound with "L".
20821 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20822 bound negative. Suffix upper bound with "L".
20823 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20824 bound with "UL".
20825 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20826 Specify type.
20827 [C99-based standards] (LLONG_MAX): Likewise.
20828 [C99-based standards] (ULLONG_MAX): Likewise.
20829 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20830 == 0.
20831 [ISO11] (max_align_t): Require type.
20832 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20833
c9140a62
JM
20834 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20835 from $CFLAGS, without defining away __attribute__ calls.
20836 (checknamespace): Use $CFLAGS_namespace.
20837
9af0bf29
JM
20838 * conform/conformtest.pl (@keywords): Only include C99 keywords
20839 for standards based on C99 or C11.
20840
343222a2
JM
20841 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20842 Disable tests.
20843 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20844 UNIX98]: Likewise.
20845
661f8cf0
JM
20846 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20847 usability of symbols in #if.
20848
ee74b9cb
JM
20849 * conform/conformtest.pl: If macro or constant types start
20850 "promoted:", expect the symbol to be of the following type
20851 promoted by the integer promotions.
62fde54f 20852
aafc49b3
JM
20853 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20854 in one place. Also handle "macro-constant".
20855
fefdf574
JM
20856 * conform/conformtest.pl: Only accept expected macro values with
20857 "==". Parse all "macro" lines in one place.
20858 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20859
f2d922fe
JM
20860 * conform/conformtest.pl: Handle braced types on "constant" lines
20861 instead of handling "typed-constant".
20862 * conform/data/signal.h-data: Use "constant" instead of
20863 "typed-constant".
20864
d22956c9
JM
20865 * conform/conformtest.pl: Handle "optional-" at start of lines in
20866 one place rather than duplicating several cases. Handle each
20867 format of "macro" line with initial "optional-".
20868
028e2e38
JM
20869 * conform/conformtest.pl: Only accept expected constant or
20870 optional-constant values with "==". Parse all "constant" lines in
20871 one place. Parse all "optional-constant" lines in one place.
20872 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20873 * conform/data/fmtmsg.h-data: Likewise.
20874 * conform/data/netinet/in.h-data: Likewise.
20875 * conform/data/tar.h-data: Likewise.
20876 * conform/data/limits.h-data: Use "==" form on "constant" and
20877 "optional-constant" lines.
20878
1b8f2850
JM
20879 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20880 Use -std=c99 for XOPEN2K.
20881 (@knownproblems): Remove.
20882 (newtoken): Don't check %isknown.
20883
a05a144b
JM
20884 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20885 Do not expect macro.
20886 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20887 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20888 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20889 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20890 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20891 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20892 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20893 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20894 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20895 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20896 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20897 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20898 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20899 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20900 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20901 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20902 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20903 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20904 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20905 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20906 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20907 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20908 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20909 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20910 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20911 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20912 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20913 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20914 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20915 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20916 [XPG3] (acosh): Likewise.
20917 [XPG3] (asinh): Likewise.
20918 [XPG3] (atanh): Likewise.
20919 [XPG3] (cbrt): Likewise.
20920 [XPG3] (expm1): Likewise.
20921 [XPG3] (ilogb): Likewise.
20922 [XPG3] (log1p): Likewise.
20923 [XPG3] (logb): Likewise.
20924 [XPG3] (nextafter): Likewise.
20925 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20926 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20927 [XPG3] (remainder): Likewise.
20928 [XPG3] (rint): Likewise.
20929 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20930 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20931 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20932 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20933 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20934 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20935 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20936 [UNIX98 || XOPEN2K] (scalb): Expect.
20937 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20938 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20939 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20940 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20941 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20942 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20943 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20944 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20945 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20946 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20947 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20948 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20949 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20950 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20951 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20952 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20953 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20954 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20955 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20956 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20957 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20958 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20959 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20960 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20961 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20962 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20963 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20964 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20965 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20966 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20967 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20968 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20969 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20970 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20971 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20972 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20973 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20974 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20975 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20976 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20977 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20978 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20979 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20980 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20981 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20982 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20983 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20984 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20985 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20986 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20987 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20988 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20989 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20990 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20991 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20992 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20993 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20994 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20995 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20996 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20997 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20998 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20999 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21000 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21001 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21002 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21003 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21004 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21005 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21006 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21007 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21008 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21009 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21010 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21011 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21012 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21013 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21014 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21015 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21016 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21017 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21018 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21019 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21020 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21021 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21022 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21023 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21024 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21025 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21026 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21027 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21028 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21029 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21030 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21031 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21032 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21033 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21034 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21035 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21036 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21037 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21038 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21039 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21040 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21041 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21042 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21043 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21044 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21045 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21046 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21047 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21048 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21049 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21050 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21051 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21052 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21053 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21054 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21055 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21056 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21057 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21058 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21059 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21060 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21061 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21062 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21063 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21064 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21065 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21066 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21067 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21068 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21069 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21070 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21071 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21072 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21073 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21074
73c5ebe3
JM
21075 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21076 _XOPEN_SOURCE_EXTENDED for XPG4.
21077
39c33b6c
JM
21078 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21079
62fde54f
JM
21080 * Makeconfig (localtime): Remove variable.
21081 (inst_localtime-file): Likewise.
21082
0741d64c
AS
210832012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21084
21085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21086 Update.
21087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21088 Update.
21089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21090 Update.
21091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21092 Update.
21093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21094 Update.
21095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21096 Update.
21097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21098 Update.
21099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21100 Update.
21101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21102 Update.
21103
7cb029ee
JM
211042012-05-01 Joseph Myers <joseph@codesourcery.com>
21105
21106 [BZ #2550]
21107 [BZ #2570]
21108 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21109 comparisons to determine direction to adjust input.
21110 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21111 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21112 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21113 Likewise.
21114 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21115 Likewise.
21116 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21117 Likewise.
21118 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21119 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21120 Likewise.
21121 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21122 Likewise.
21123 * math/libm-test.inc (nexttoward_test): Add more tests.
21124
412bd966
AS
211252012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21126
21127 [BZ #14040]
21128 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21129 in version GLIBC_2.1, not GLIBC_2.0.
21130 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21131 Likewise.
21132
9568c0c2
JM
211332012-04-30 Joseph Myers <joseph@codesourcery.com>
21134
adfbc8ac
JM
21135 [BZ #13942]
21136 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21137 (1 - x) * (1 + x).
21138 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21139 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21140 * math/libm-test.inc (acos_test): Add more tests.
21141 (asin_test): Likewise.
21142 * sysdeps/i386/fpu/libm-test-ulps: Update.
21143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21144
5ba3cc69
JM
21145 [BZ #14034]
21146 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21147 of square root.
21148 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21149 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21150 * math/libm-test.inc (acos_test_tonearest): New function.
21151 (acos_test_towardzero): Likewise.
21152 (acos_test_downward): Likewise.
21153 (acos_test_upward): Likewise.
21154 (asin_test_tonearest): Likewise.
21155 (asin_test_towardzero): Likewise.
21156 (asin_test_downward): Likewise.
21157 (asin_test_upward): Likewise.
21158 (main): Call the new functions.
21159 * sysdeps/i386/fpu/libm-test-ulps: Update.
21160 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21161
9568c0c2
JM
21162 [BZ #13884]
21163 [BZ #13924]
21164 * math/e_exp10.c: Include <float.h>.
21165 (__ieee754_exp10): Handle underflow here rather than multiplying
21166 large negative argument by M_LN10.
21167 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21168 of __ieee754_expf.
21169 * math/e_exp10l.c: Include <float.h>.
21170 (__ieee754_exp10l): Handle underflow here rather than multiplying
21171 large negative argument by M_LN10l.
21172 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21173 spurious overflow exception on underflow.
21174
5ac3ea17
MP
211752012-04-29 Marek Polacek <polacek@redhat.com>
21176
21177 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21178 (__fortify_function): New macro.
21179 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21180 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21181 __extern_always_inline.
21182 * libio/bits/stdio2.h: Likewise.
21183 * libio/bits/stdio.h: Likewise.
21184 * string/string.h: Likewise.
21185 * string/bits/string3.h: Likewise.
21186 * include/stdio.h: Likewise.
21187 * stdlib/bits/stdlib.h: Likewise.
21188 * stdlib/stdlib.h: Likewise.
21189 * rt/bits/mqueue2.h: Likewise.
21190 * rt/mqueue.h: Likewise.
21191 * posix/bits/unistd.h: Likewise.
21192 * posix/unistd.h: Likewise.
21193 * io/bits/poll2.h: Likewise.
21194 * io/bits/fcntl2.h: Likewise.
21195 * io/fcntl.h: Likewise.
21196 * io/sys/poll.h: Likewise.
21197 * misc/bits/syslog.h: Likewise.
21198 * misc/bits/syslog-ldbl.h: Likewise.
21199 * misc/sys/syslog.h: Likewise.
21200 * socket/bits/socket2.h: Likewise.
21201 * socket/sys/socket.h: Likewise.
21202 * debug/tst-chk1.c: Likewise.
21203 * wcsmbs/bits/wchar2.h: Likewise.
21204 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21205 * wcsmbs/wchar.h: Likewise.
21206
ecf0ebfb
AJ
212072012-04-29 Andreas Jaeger <aj@suse.de>
21208
21209 * Makerules (tests): Remove enable-check-abi protection.
21210 (check-abi-warn): Remove.
21211 (check-abi-%): Remove check-abi-warn usage.
21212
21213 * configure.in: Remove check-abi configure option.
21214 * configure: Regenerated.
21215 * config.make.in (enable-check-abi): Remove.
21216
6d5c57fa
AS
212172012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21218
24c5d07e 21219 [BZ #14033]
ded5180a
AS
21220 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21221 double functions to double *_finite functions.
21222
7e0d315d
AS
21223 [BZ #13941]
21224 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21225 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21226 LDBL_MIN_EXP.
21227 * stdio-common/Makefile (tests): Add tst-sprintf3.
21228 * stdio-common/tst-sprintf3.c: New file.
21229
6d5c57fa
AS
21230 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21231 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21232
0749ff8b
JM
212332012-04-28 Joseph Myers <joseph@codesourcery.com>
21234
21235 * conform/conformtest.pl: Remove duplicate typed-constant
21236 handling.
21237
8dbd5d7b
DM
212382012-04-28 David S. Miller <davem@davemloft.net>
21239
21240 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21241 (check-abi-%): Remove AWK script prerequisite and explicit
21242 abilist directory.
21243 (check-abi): Rewrite to just diff the symlist with the abilist.
21244 (config-tls, config-abi-config): Delete, no longer used.
21245 (update-abi-%): Remove AWK script and explicit abilist directory.
21246 (update-abi): Rewrite to simply compare and conditionally copy the
21247 symlist and the sysdep abilist file. Remove update-abi-config
21248 checks.
21249 * abilist/ld.abilist: Remove.
21250 * abilist/libBrokenLocale.abilist: Remove.
21251 * abilist/libanl.abilist: Remove.
21252 * abilist/libcrypt.abilist: Remove.
21253 * abilist/libdl.abilist: Remove.
21254 * abilist/librt.abilist: Remove.
21255 * abilist/libthread_db.abilist: Remove.
21256 * abilist/libutil.abilist: Remove.
21257 * scripts/extract-abilist.awk: Remove.
21258 * scripts/merge-abilist.awk: Remove.
21259 * sysdeps/generic/libcidn.abilist: New file.
21260 * sysdeps/generic/libnss_compat.abilist: New file.
21261 * sysdeps/generic/libnss_db.abilist: New file.
21262 * sysdeps/generic/libnss_dns.abilist: New file.
21263 * sysdeps/generic/libnss_files.abilist: New file.
21264 * sysdeps/generic/libnss_hesiod.abilist: New file.
21265 * sysdeps/generic/libnss_nis.abilist: New file.
21266 * sysdeps/generic/libnss_nisplus.abilist: New file.
21267 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21268 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21269 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21270 file.
21271 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21272 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21273 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21274 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21275 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21276 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21277 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21278 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21279 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21280 file.
21281 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21282 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21283 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21284 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21285 file.
21286 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21287 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21288 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21289 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21290 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21291 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21292 file.
21293 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21294 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21295 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21296 file.
21297 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21299 New file.
21300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21301 New file.
21302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21303 New file.
21304 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21305 New file.
21306 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21307 New file.
21308 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21309 New file.
21310 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21311 New file.
21312 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21313 New file.
21314 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21315 New file.
21316 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21317 New file.
21318 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21319 New file.
21320 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21321 New file.
21322 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21323 New file.
21324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21325 file.
21326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21327 New file.
21328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21329 New file.
21330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21331 file.
21332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21333 New file.
21334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21335 New file.
21336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21337 file.
21338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21339 New file.
21340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21341 New file.
21342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21343 New file.
21344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21345 New file.
21346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21347 New file.
21348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21349 New file.
21350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21352 file.
21353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21354 New file.
21355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21356 file.
21357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21358 file.
21359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21360 file.
21361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21362 file.
21363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21364 file.
21365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21366 New file.
21367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21368 file.
21369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21370 file.
21371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21372 New file.
21373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21374 file.
21375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21377 file.
21378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21379 New file.
21380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21381 file.
21382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21383 file.
21384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21385 file.
21386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21387 file.
21388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21389 file.
21390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21391 New file.
21392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21393 file.
21394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21395 file.
21396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21397 New file.
21398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21399 file.
21400 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21401 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21402 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21403 file.
21404 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21405 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21406 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21407 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21408 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21409 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21410 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21411 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21412 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21413 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21416 file.
21417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21418 New file.
21419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21420 file.
21421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21422 file.
21423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21424 file.
21425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21426 file.
21427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21428 file.
21429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21430 New file.
21431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21432 New file.
21433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21434 file.
21435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21436 New file.
21437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21438 file.
21439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21441 file.
21442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21443 New file.
21444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21445 file.
21446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21447 file.
21448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21449 file.
21450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21451 file.
21452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21453 file.
21454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21455 New file.
21456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21457 New file.
21458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21459 file.
21460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21461 New file.
21462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21463 file.
21464
41d73a1b
JM
214652012-04-28 Joseph Myers <joseph@codesourcery.com>
21466
21467 * conform/conformtest.pl: Fix typo in handling typed-constant from
21468 allow-header.
21469
28aeeda4
JM
214702012-04-27 Joseph Myers <joseph@codesourcery.com>
21471
adae8f5e
JM
21472 * README: Cut down references to pre-2.6 Linux kernels and
21473 Linuxthreads. Update lists of configurations in libc and ports
21474 and sort alphabetically. Say "or newer" with Linux kernel version
21475 requirements.
21476
28aeeda4
JM
21477 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21478
a462cb63
RA
214792012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21480
21481 [BZ #887]
21482 * math/libm-test.inc (logb_test_downward): New test to expose
21483 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21484 rounding mode.
21485
6ad3493e
JM
214862012-04-27 Joseph Myers <joseph@codesourcery.com>
21487
21488 [BZ #14027]
21489 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21490 to be done.
21491 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21492 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21493
2ce4f015
JM
214942012-04-26 Joseph Myers <joseph@codesourcery.com>
21495
5aeb141a
JM
21496 * sysdeps/unix/i386/brk.S: Remove file.
21497 * sysdeps/unix/i386/dl-brk.S: Likewise.
21498 * sysdeps/unix/i386/pipe.S: Likewise.
21499 * sysdeps/unix/i386/sigreturn.S: Likewise.
21500 * sysdeps/unix/i386/syscall.S: Likewise.
21501 * sysdeps/unix/i386/vfork.S: Likewise.
21502 * sysdeps/unix/i386/wait.S: Likewise.
21503
7143acae
JM
21504 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21505 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21506
2ce4f015
JM
21507 * configure.in (arm*-none*): Do not allow without
21508 --enable-hacker-mode.
21509 (netbsd*): Remove case setting base_os.
21510 (386bsd*): Likewise.
21511 (freebsd*): Likewise.
21512 (bsdi*): Likewise.
21513 (osf*): Likewise.
21514 (sunos*): Likewise.
21515 (ultrix*): Likewise.
21516 (newsos*): Likewise.
21517 (dynix*): Likewise.
21518 (*bsd*): Likewise.
21519 (sysv*): Likewise.
21520 (isc*): Likewise.
21521 (esix*): Likewise.
21522 (sco*): Likewise.
21523 (minix*): Likewise.
21524 (irix4*): Likewise.
21525 (irix6*): Likewise.
21526 (solaris[2-9]*): Likewise.
21527 (none): Likewise.
21528 * configure: Regenerated.
21529
0ac229c8
AZ
215302012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21531
21532 [BZ #11521]
21533 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21534 overflow or cancellation in calculating denominator.
21535 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21536 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21537 down expression to avoid unexpected rounding in newer GCCs.
21538 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21539
33f244f4
DM
215402012-04-26 David S. Miller <davem@davemloft.net>
21541
21542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21543 long-double compat symbols.
21544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21557
cfa1f3e8
DM
215582012-04-25 David S. Miller <davem@davemloft.net>
21559
21560 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21561 HWCAP_* values only after the memory barriers have been defined.
21562 (atomic_full_barrier): Define.
21563 (atomic_read_barrier): Define.
21564 (atomic_write_barrier): Define.
21565
6e236b92
SP
215662012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21567
21568 * shlib-versions: Add libgcc_s version information.
21569 * sysdeps/generic/libgcc_s.h: Remove.
21570 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21571 libgcc_s.h.
21572 * sysdeps/gnu/unwind-resume.c: Likewise.
21573 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21574
aab39a09
DM
215752012-04-25 David S. Miller <davem@davemloft.net>
21576
21577 * sysdeps/unix/sparc/brk.S: Delete.
21578 * sysdeps/unix/sparc/dl-brk.S: Delete.
21579 * sysdeps/unix/sparc/pipe.S: Delete.
21580 * sysdeps/unix/sparc/sysdep.S: Delete.
21581 * sysdeps/unix/sparc/sysdep.h: Delete.
21582 * sysdeps/unix/sparc/vfork.S: Delete.
21583 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21584 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21585 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21586 ret_ERRVAL, r0, r1, MOVE): Define.
21587 (JUMPTARGET): Remove.
21588 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21589 sysdeps/unix/sparc/sysdep.h
21590 (ENTRY, END): Remove.
21591 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21592
a3cc4f48
JM
215932012-04-25 Joseph Myers <joseph@codesourcery.com>
21594
2ed8cda2
JM
21595 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21596 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21597 -DIS_IN_build.
21598
35d76d59
JM
21599 * timezone/README: Update upstream location and email address for
21600 tzcode and tzdata.
21601 * timezone/zdump.c: Update from tzcode 2012b.
21602 * timezone/zic.c: Likewise.
21603
a3cc4f48
JM
21604 * configure.in (libc_cv_as_needed): Remove test.
21605 * configure: Regenerated.
21606 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21607 conditional definition.
21608 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21609 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21610 * config.make.in (have-as-needed): Remove variable.
21611
ceab42c3
SP
216122012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21613 Paul Pluzhnikov <ppluzhnikov@google.com>
21614
21615 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21616 strings correctly.
21617
3ce2865f
CLT
216182012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21619
21620 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21621 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21622 * sysdeps/sh/strlen.S: Likewise.
21623
f37e0d68
JM
216242012-04-24 Joseph Myers <joseph@codesourcery.com>
21625
ae186e9a
JM
21626 * sysdeps/unix/fork.S: Remove file.
21627 * sysdeps/unix/i386/fork.S: Likewise.
21628 * sysdeps/unix/sparc/fork.S: Likewise.
21629
b96914af
JM
21630 * sysdeps/unix/system.c: Remove file.
21631 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21632
f37e0d68
JM
21633 * sysdeps/unix/getegid.S: Remove file.
21634 * sysdeps/unix/geteuid.S: Likewise.
21635
87ef29ca
RM
216362012-04-24 Roland McGrath <roland@hack.frob.com>
21637
83bcd236
RM
21638 * scripts/check-localplt.awk: New file.
21639 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21640 of diff.
21641 * scripts/data/localplt-generic.data: Add a comment.
21642
87ef29ca
RM
21643 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21644 NODE when __dir_mkfile failed.
21645 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21646 Reported by Ludovic Courtès <ludo@gnu.org>.
21647
e5a6e567
AJ
216482012-04-24 Andreas Jaeger <aj@suse.de>
21649
21650 * Makerules (common-clean): Also remove gen-as-const-headers
21651 files.
21652
c1820385
JM
216532012-04-24 Joseph Myers <joseph@codesourcery.com>
21654
21655 * Makerules (native-compile): Do not change working directory for
21656 build. Use $(OUTPUT_OPTION) in command.
21657 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21658
94e02fc4
AZ
216592012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21660
21661 [BZ #13886]
21662 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21663 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21664 * math/libm-test.inc (floor_test): Add more tests.
21665 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21666
3a533ca3
JM
216672012-04-24 Joseph Myers <joseph@codesourcery.com>
21668
940ab4b3
JM
21669 * sysdeps/unix/getdents.c: Remove file.
21670 * sysdeps/unix/sysv/getdents.c: Likewise.
21671 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21672
90e037bd
JM
21673 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21674 sysdeps/unix/mman/syscalls.list.
21675 (mmap): Likewise.
21676 (mprotect): Likewise.
21677 (msync): Likewise.
21678 (munmap): Likewise.
21679 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21680 * sysdeps/unix/mman/syscalls.list: Remove.
21681 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21682
3a533ca3
JM
21683 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21684 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21685 * configure: Regenerated.
21686 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21687 $(libgcc_s_suffix).
21688 * config.make.in (libgcc_s_suffix): Remove variable.
21689
1ad743de
JM
216902012-04-23 Joseph Myers <joseph@codesourcery.com>
21691
4ad451e2
JM
21692 * sysdeps/unix/sysv/gethostname.c: Move to ...
21693 * sysdeps/posix/gethostname.c: ... here.
21694
5e37ce39
JM
21695 * sysdeps/unix/execve.S: Remove file.
21696
1ad743de
JM
21697 * sysdeps/unix/_exit.S: Remove file.
21698
4e681b5b
AJ
216992012-04-23 Andreas Jaeger <aj@suse.de>
21700
21701 [BZ #13739]
21702 * manual/Makefile: Remove make dist support, there's no
21703 need for a stand-alone documentation tar ball.
21704 (TEXI2DVI): Define always, it's not in Makeconfig.
21705 (dist): Removed.
21706 (tar-it): Removed.
21707 (edition): Removed.
21708 (glibc-doc-$(edition).tar): Removed
21709 (%.Z): Removed.
21710 (%.gz): Removed.
21711 (%.uu): Removed.
21712 (ETAGS): Remove, it's in Makeconfig.
21713 (move-if-change): Remove, it's in Makeconfig.
21714
38686a03 217152012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21716
21717 [BZ #13970]
21718 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21719 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21720 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21721 (strtod_l, strtof_l, strtold_l): Remove __wur.
21722 It is not necessarily an error to ignore strtol's return value.
21723 One can reliably look at the stored endptr to decide whether
21724 the number had valid syntax.
21725
7c0616fa
AJ
217262012-04-21 Andreas Jaeger <aj@suse.de>
21727
803cb6b7 21728 [BZ #13739]
7c0616fa
AJ
21729 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21730
b0fe253f
JM
217312012-04-21 Joseph Myers <joseph@codesourcery.com>
21732
21733 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21734 * sysdeps/unix/sysv/Versions: Remove file.
21735
8280f22d
MT
217362012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21737
21738 [BZ #13927]
21739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21740
75ce411f 217412012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21742
21743 [BZ #7064]
21744 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21745 version from __vm86.
21746
097d59fa
JM
217472012-04-20 Joseph Myers <joseph@codesourcery.com>
21748
a90f3bcb
JM
21749 * sysdeps/unix/common/lxstat.c: Remove file.
21750 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21751
edc7ea78
JM
21752 * sysdeps/unix/sysv/Makefile: Remove file.
21753
cb78c221
JM
21754 * sysdeps/unix/sysv/direct.h: Remove file.
21755
efa6a45f
JM
21756 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21757 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21758 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21759 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21760 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21761 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21762 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21763
9c9f2d0c
JM
21764 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21765
4541c83b
JM
21766 * sysdeps/unix/xmknod.c: Remove file.
21767 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21768
f5d153a0
JM
21769 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21770
aa746595
JM
21771 * sysdeps/unix/sysv/i386/time.S: Remove file.
21772
cce5905e
JM
21773 * sysdeps/unix/fxstat.c: Remove file.
21774 * sysdeps/unix/xstat.c: Likewise.
21775 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21776
37fa3841
JM
21777 * sysdeps/unix/sysv/sigaction.c: Remove file.
21778
ff1962a3
JM
21779 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21780 (sysdep_headers): Remove variable.
21781 [termio.h not in sysdep_headers] (generated): Likewise.
21782 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21783 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21784 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21785 * sysdeps/unix/sysv/tcflow.c: Likewise.
21786 * sysdeps/unix/sysv/tcflush.c: Likewise.
21787 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21788 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21789 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21790 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21791 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21792
e7740d31
JM
21793 * sysdeps/unix/siglist.c: Remove file.
21794
ee06f18b
JM
21795 * sysdeps/unix/getppid.S: Remove file.
21796
097d59fa
JM
21797 * sysdeps/unix/mkdir.c: Remove file.
21798 * sysdeps/unix/rmdir.c: Likewise.
21799
ff3d51ec
AS
218002012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21801
21802 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21803 ERR_MAX value.
21804 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21805 errlist-compat value.
21806
50f81fd7
DM
218072012-04-18 David S. Miller <davem@davemloft.net>
21808
21809 * sysdeps/generic/memcopy.h (reg_char): Delete.
21810 * debug/strcat_chk.c: Use char, not reg_char.
21811 * debug/strcpy_chk.c: Likewise.
21812 * debug/strncat_chk.c: Likewise.
21813 * debug/strncpy_chk.c: Likewise.
21814 * string/memchr.c: Likewise.
21815 * string/memrchr.c: Likewise.
21816 * string/rawmemchr.c: Likewise.
21817 * string/strcat.c: Likewise.
21818 * string/strchr.c: Likewise.
21819 * string/strchrnul.c: Likewise.
21820 * string/strcmp.c: Likewise.
21821 * string/strcpy.c: Likewise.
21822 * string/strncat.c: Likewise.
21823 * string/strncmp.c: Likewise.
21824 * string/strncpy.c: Likewise.
21825
8ff41c46
WS
218262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21827
21828 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21829 __builtin_memcopy is called when src and dest ranges are known to not
21830 overlap.
21831
6b652f46
WS
218322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21833
21834 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21835 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21836 fwd_align_merge macro call.
21837 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21838 bwd_align_merge macro call.
21839 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21840
b282631e
WS
218412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21842
21843 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21844 bwd_align_merge macros.
21845 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21846 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21847 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21848
95aa737c
DM
218492012-04-18 David S. Miller <davem@davemloft.net>
21850
21851 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21852
7a99a614
AJ
218532012-04-18 Andreas Jaeger <aj@suse.de>
21854
21855 [BZ# 6794]
21856 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21857 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21858 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21859
21860 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21861 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21862 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21863
21864 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21865 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21866 Adjust for changed ldbl-128 files.
21867
21868 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21869 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21870 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21871
e5270c23
DM
218722012-04-17 David S. Miller <davem@davemloft.net>
21873
21874 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21875
fb5e92c9
AS
218762012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21877
21878 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21879 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21880 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21881 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21882 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21883 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21884
76da7265
AZ
218852012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21886
21887 [BZ #6794]
21888 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21889 * math/libm-test.inc: Add ilogb errno and exception tests.
21890 * math/w_ilogb.c: New file: ilogb wrapper.
21891 * math/w_ilogbf.c: New file: ilogbf wrapper.
21892 * math/w_ilogbl.c: New file: ilogbl wrapper.
21893 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21894 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21895 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21896 exception being thrown with 0.0 as argument.
21897 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21898 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21899 exception being thrown with 0.0 as argument.
21900 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21901 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21902 exception being thrown with 0.0 as argument.
21903 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21904 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21905 exception being thrown with 0.0 as argument.
21906 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21907 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21908 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21909 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21910 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21911 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21912 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21913 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21914 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21915
0396e69d
PB
219162012-04-17 Petr Baudis <pasky@ucw.cz>
21917
21918 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21919 with altivec.
21920
750b5926
MP
219212012-04-16 Marek Polacek <polacek@redhat.com>
21922
21923 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21924
751728a1
MP
219252012-04-16 Marek Polacek <polacek@redhat.com>
21926
21927 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21928 operands of fdivp instruction.
21929
34a27407
L
219302012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21931
21932 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21933 * elf/tst-auditmod3b.c: Likewise.
21934 * elf/tst-auditmod4b.c: Likewise.
21935 * elf/tst-auditmod5b.c: Likewise.
21936 * elf/tst-auditmod6b.c: Likewise.
21937 * elf/tst-auditmod6c.c: Likewise.
21938 * elf/tst-auditmod7b.c: Likewise.
21939 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21940 * sysdeps/x86_64/preconfigure.in: Likewise.
21941 * sysdeps/x86_64/preconfigure: Regenerated.
21942
7e73e17d
L
219432012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21944
21945 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21946 __ILP32__.
21947
c7a6ab72
AB
219482012-04-13 Antoine Balestrat <merkil33@gmail.com>
21949
21950 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21951 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21952
a9e8e0e0
CL
219532012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21954
21955 [BZ #13973]
21956 * locale/iso-639.def: Fix gl language name. Spotted by
21957 Yaron Shahrabani.
21958
ec98af7d
RM
219592012-04-12 Roland McGrath <roland@hack.frob.com>
21960
21961 [BZ #2074]
21962 * libio/libio.h (__io_write_fn): Update comment.
21963
247c3ede
PB
219642012-04-12 Petr Baudis <pasky@ucw.cz>
21965
21966 [BZ #2074]
21967 * stdio.texi (Hook Functions): The user provided writer function
21968 is not allowed to return -1.
21969
55939d6d
DM
219702012-04-11 David S. Miller <davem@davemloft.net>
21971
21972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21973
90020f5a
MF
219742012-04-11 Mike Frysinger <vapier@gentoo.org>
21975
21976 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21977 Add a leading slash to rtkaio.
21978
288f9098
JM
219792012-04-11 Jim Meyering <meyering@redhat.com>
21980
90020f5a
MF
21981 [BZ #11959]
21982 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21983 It is not necessarily an error to ignore fwrite's return
21984 value. One can reliably use ferror to test for errors after
21985 the fact.
288f9098 21986
4be2b570
L
219872012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21988
21989 * bits/types.h (__snseconds_t): New type.
21990 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21991
21992 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21993 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21994 (__SNSECONDS_T_TYPE): Likewise.
21995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21996 (__SNSECONDS_T_TYPE): Likewise.
21997 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21998 (__SNSECONDS_T_TYPE): Likewise.
21999
288f9098 220002012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
22001
22002 [BZ #2636]
22003 * manual/time.texi (Processor Time): Return type of times is
22004 elapsed real time since an arbitrary point in the past.
22005 (CPU Time): Move CLK_TCK from here...
22006 (Processor Time): ...to here. Correct description.
22007 * manual/conf.texi (Constants for Sysconf): Correct description of
22008 _SC_CLK_TCK.
22009
d7dd4413
DM
220102012-04-10 David S. Miller <davem@davemloft.net>
22011
22012 [BZ #13967]
22013 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22014 where the is a gap between DT_REL(A) and DT_JMPREL.
22015
b46068fc
L
220162012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22017
22018 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22019 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22020 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22021
73d65cc3
SP
220222012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22023
22024 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22025 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22026 (dl_main): Handle --inhibit-cache.
22027 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22028 _dl_inhibit_cache.
22029 * elf/dl-load.c (_dl_map_object): Use it.
22030 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22031
bcc8d661
JM
220322012-04-09 Joseph Myers <joseph@codesourcery.com>
22033
8f9a2fae
JM
22034 [BZ #13872]
22035 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22036 (__ieee754_powl): Saturate large exponents rather than testing for
22037 overflow of y*log2(x).
22038 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22039 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22040 exceptions.
22041
bcc8d661
JM
22042 [BZ #11521]
22043 * math/s_ctan.c: Include <float.h>.
22044 (__ctan): Avoid internal overflow or cancellation in calculating
22045 denominator.
22046 * math/s_ctanf.c: Likewise.
22047 * math/s_ctanl.c: Likewise.
22048 * math/s_ctanh.c: Likewise.
22049 * math/s_ctanhf.c: Likewise.
22050 * math/s_ctanhl.c: Likewise.
22051 * math/libm-test.inc (ctan_test): Add more tests.
22052 (ctanh_test): Likewise.
22053 * sysdeps/i386/fpu/libm-test-ulps: Update.
22054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22055
823fbbb4
AJ
220562012-04-09 Andreas Jaeger <aj@suse.de>
22057
03879793
AJ
22058 [BZ #6894]
22059 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22060 is an optional BSD extension.
22061
823fbbb4
AJ
22062 [BZ #10254]
22063 * manual/stdio.texi (Opening Streams): Document additional fopen
22064 parameters.
22065
8de131cb
RM
220662012-04-09 Roland McGrath <roland@hack.frob.com>
22067
22068 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22069 %eax without telling the compiler.
22070
c0ed9d7d
CD
220712012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22072
22073 [BZ # 13963]
22074 * manual/install.texi: Use sourceware.org.
22075
c483f6b4
JM
220762012-04-09 Joseph Myers <joseph@codesourcery.com>
22077
d7dd9453
JM
22078 [BZ #13873]
22079 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22080 (__ieee754_pow): Generate overflow and underflow using huge*huge
22081 and tiny*tiny rather than just returning constant infinity or zero
22082 for large exponents.
22083 * math/libm-test.inc (pow_test): Require overflow exceptions for
22084 applicable cases of large exponents.
22085
c483f6b4
JM
22086 [BZ #706]
22087 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22088 (__ieee754_pow): Use iterative multiplication algorithm only for
22089 integer exponents with absolute value below 1024. Check for odd
22090 integer exponents when using algorithm for real exponents.
22091 * math/libm-test.inc (pow_test): Add more tests.
22092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22093
d2de7579
JM
220942012-04-08 Joseph Myers <joseph@codesourcery.com>
22095
22096 [BZ #13705]
22097 * math/libm-test.inc (exp_test): Do not allow overflow exception
22098 on underflow test.
22099
f77f1232
AJ
221002012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22101
22102 [BZ #13705]
22103 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22104 instead of __kernel_standard_f.
22105
3884932b
MF
221062012-04-08 Mike Frysinger <vapier@gentoo.org>
22107
22108 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22109 * sysdeps/x86_64/memset_chk.S: Likewise.
22110
54472e9c
AJ
221112012-04-08 Andreas Jaeger <aj@suse.de>
22112
6ab0fbfc
AJ
22113 [BZ #10153]
22114 * manual/startup.texi (Environment Access): Describe return value
22115 for putenv and setenv.
22116
61efba8c
AJ
22117 [BZ #6895]
22118 * manual/filesys.texi (Directory Entries): Add description for
22119 DT_LNK.
22120
95c3f29a
AJ
22121 [BZ #6890]
22122 * manual/filesys.texi (Directory Entries): Clarify that it's file
22123 system not operating system in the description of DT_UNKNOWN.
22124
54472e9c
AJ
22125 [BZ #6578]
22126 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22127
624254b1
SC
221282012-04-08 Stephen Compall <s11@member.fsf.org>
22129
22130 [BZ #6649]
22131 * manual/llio.texi (Opening and Closing Files): Add cross
22132 reference to explain mode argument.
22133
1e4920e0
MF
221342012-04-07 Mike Frysinger <vapier@gentoo.org>
22135
22136 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22137 * sysdeps/x86_64/memset_chk.S: Likewise.
22138
5ed848f3
DM
221392012-04-07 David S. Miller <davem@davemloft.net>
22140
22141 * elf/elf.h (R_SPARC_WDISP10): Define.
22142 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22143 R_SPARC_SIZE32.
22144 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22145 R_SPARC_SIZE64 and R_SPARC_H34.
22146
96154cd8
CD
221472012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22148
22149 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22150 conditions and remove no longer applicable assertion.
22151
9904dc47
L
221522012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22153
22154 * bits/byteswap.h: Include <features.h>.
22155 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22156 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22157
f8887d0a
L
221582012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22159
22160 * bits/byteswap.h (__bswap_16): Removed.
22161 Include <bits/byteswap-16.h> to get __bswap_16.
22162 * sysdeps/i386/bits/byteswap.h: Likewise.
22163 * sysdeps/s390/bits/byteswap.h: Likewise.
22164 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22165 * bits/byteswap-16.h: New file.
22166 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22167 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22168 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22169 * string/Makefile (headers): Add bits/byteswap-16.h.
22170
62470f60
PP
221712012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22172
22173 [BZ #13895]
22174 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22175 extra indirection.
22176 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22177 * nss/tst-nss-static.c: New.
22178
4dad7bab
RM
221792012-04-06 Robert Millan <rmh@gnu.org>
22180
22181 [BZ #6486]
22182 * manual/llio.texi (File Position Primitive): lseek
22183 refers to WHENCE when it really means OFFSET.
22184
e9142a17
AJ
221852012-04-06 Andreas Jaeger <aj@suse.de>
22186
2c040eff
AJ
22187 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22188 strncmp declarations.
22189
e9142a17
AJ
22190 * abilist/libc.abilist: Add __poll and __ppoll.
22191
ff9f1c5f
DM
221922012-04-05 David S. Miller <davem@davemloft.net>
22193
dcd2ae90
DM
22194 * scripts/check-local-headers.sh: Accept a host triplet in the
22195 path matched by the exclude regexp.
22196
993eb054
DM
22197 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22198 definition.
22199 * sysdeps/powerpc/powerpc32/dl-machine.h
22200 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22201 * sysdeps/s390/s390-32/dl-machine.h
22202 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22203 * sysdeps/sparc/sparc32/dl-machine.h
22204 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22205 * sysdeps/sparc/sparc64/dl-machine.h
22206 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22207
ff9f1c5f
DM
22208 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22209 lazy binding.
48e2e132 22210 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22211 undefined symbol errors.
22212
48e2e132 22213 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22214 DT_NEEDED entries.
22215
e80d6f94
MM
222162012-04-05 Michael Matz <matz@suse.de>
22217
22218 [BZ #13592]
22219 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22220
349fa79f
AJ
222212012-04-05 Andreas Jaeger <aj@suse.de>
22222
22223 [BZ #13908]
22224 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22225 comment.
22226
f402708f
KK
222272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22228
22229 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22230 which ROUND is no valid rounding mode.
22231
2ecccfc9
KK
222322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22233
22234 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22235 read again.
22236 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22237
8a53f50f
KK
222382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22239
22240 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22241 an exception using FPU order intentionally.
22242
222432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22244
22245 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22246 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22247 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22248 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22249
d653abb7
SJ
222502012-04-05 Simon Josefsson <simon@josefsson.org>
22251
22252 [BZ #12340]
22253 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22254 EINVAL when BUFLEN is too smal.
22255
c3b1bf7d
TS
222562012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22257
22258 [BZ #13553]
22259 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22260 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22261
b1aa60f3
AJ
222622012-04-03 Andreas Jaeger <aj@suse.de>
22263
c3b1bf7d 22264 [BZ #13938]
67f60a26
AJ
22265 * manual/setjmp.texi (System V contexts): Fix sentence.
22266
b1aa60f3
AJ
22267 [BZ #13926]
22268 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22269 New macro for this case.
22270 [!__GNUC__] (__bswap_64): New inline function for this case.
22271 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22272 * bits/byteswap.h: Likewise.
22273 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22274 ull, guard with __GLIBC_HAVE_LONG_LONG.
22275
22276 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22277 __GLIBC_HAVE_LONG_LONG.
22278
22279 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22280 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22281
39c59c35
TMQMF
222822012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22283
22284 [BZ #13691]
22285 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22286 inptr and inend, rather than using last_ch.
22287
135ffda8
DM
222882012-04-02 David S. Miller <davem@davemloft.net>
22289
22290 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22291 * stdio-common/printf-parse.h (read_int): Change return type to
22292 'int', return -1 on INT_MAX overflow.
22293 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22294 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22295 overflows INT_MAX. Check for overflow of in-format-string precision
22296 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22297 SIZE_MAX not INT_MAX for integer overflow test.
22298 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22299 skip the construct in the format string but do not record anything.
22300 * stdio-common/bug22.c: Adjust to test both width/prevision
22301 INT_MAX overflow as well as total length INT_MAX overflow. Check
22302 explicitly for proper errno values.
22303
228c019e
TS
223042012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22305
302cadd3
TS
22306 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22307 CHAR_MAX.
22308 * string/test-strcmp.c [! WIDE]: Likewise.
22309 * time/tst-mktime2.c: Likewise for INT_MAX.
22310 * string/test-string.h: #include <sys/param.h> for MIN.
22311
228c019e
TS
22312 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22313 * sysdeps/i386/init-first.c (init): Likewise.
22314 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22315 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22316 * sysdeps/sh/init-first.c (init): Likewise.
22317
cfa633f5
UD
223182012-04-01 Ulrich Drepper <drepper@gmail.com>
22319
22320 * po/ru.po: Update from translation team.
d1635ef8 22321 * po/vi.po: Likewise.
cfa633f5 22322
6cd0a5ea
SP
223232012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22324
22325 * resolv/nss_dns/dns-host.c: Merge copyright years.
22326
4b43400f
LD
223272012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22328
22329 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22330 Optimize memcpy with prefetch if
22331 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22332 src, dst pointers have unequal 16 byte alignments.
22333
48c41d04
SP
223342012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22335
22336 [BZ #13928]
22337 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22338 from a CNAME entry and return the minimum ttl for the query.
22339 (gaih_getanswer_slice): Likewise.
22340
b8dc394d
JL
223412012-03-30 Jeff Law <law@redhat.com>
22342
22343 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22344 due to long keys.
22345 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22346 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22347
2f5a5ed0
JL
22348 * resolv/nss_dns/dns-host.c: Update copyright year.
22349
1d39e359
UD
223502012-03-30 Ulrich Drepper <drepper@gmail.com>
22351
c030f70c 22352 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22353 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22354
1d39e359
UD
22355 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22356 comments for sendmmsg.
22357
223582012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22359
22360 [BZ #13691]
22361 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22362 with only 1 character between 0x0041 and 0x01b0.
22363 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22364 * wcsmbs/tst-mbsnrtowcs.c: New file.
22365
20fde227
DM
223662012-03-29 David S. Miller <davem@davemloft.net>
22367
22368 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22369 small copies by hand.
22370
984a4237
JL
223712012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22372
22373 [BZ #13761]
22374 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22375 _nss_compat_initgroups_dyn): Fall back to malloc/free
22376 for large group memberships.
22377
18c9d62b
DM
223782012-03-28 David S. Miller <davem@davemloft.net>
22379
88d85d4f
DM
22380 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22381 that branches into memcpy.
22382 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22383 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22384 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22385 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22386 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22387 bits.
22388 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22389 implementation too.
22390 * sysdeps/sparc/mempcpy.S: New file.
22391
e5aa83e1
DM
22392 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22393 the IFUNC routine in the libc case.
22394 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22395
88570753
DM
22396 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22397 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22398 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22399 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22400 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22401 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22402 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22403 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22404
249d7567
DM
22405 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22406 loop to 256 bytes instead of 64 bytes and fix test signedness.
22407
18c9d62b
DM
22408 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22409 * sysdeps/sparc/sparc32/Makefile: rather than here...
22410 * sysdeps/sparc/sparc64/Makefile: and here.
22411
05f3d1f6
UD
224122012-03-28 Ulrich Drepper <drepper@gmail.com>
22413
22414 * malloc/mallocbug.c: Avoid warnings about unused variables.
22415
86ae07a8
JL
224162012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22417
22418 [BZ #13760]
22419 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22420 in the right place. Discard and retry query if response is
22421 larger than input buffer size.
22422
41bf21a1
JM
224232012-03-28 Joseph Myers <joseph@codesourcery.com>
22424
d6270972
JM
22425 [BZ #369]
22426 [BZ #2678]
22427 [BZ #3866]
22428 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22429 x for large integer exponent.
22430 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22431 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22432 sign of result as needed afterwards.
22433 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22434 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22435 result for underflowing pow the same as for overflow.
22436 (__kernel_standard_l): Handle powl overflow and underflow here
22437 rather than calling __kernel_standard.
22438 * math/libm-test.inc (pow_test): Add more tests.
22439
414fca03 22440 [BZ #3868]
41bf21a1
JM
22441 [BZ #13879]
22442 [BZ #13910]
22443 [BZ #13911]
22444 [BZ #13912]
22445 [BZ #13913]
22446 [BZ #13915]
22447 [BZ #13916]
22448 [BZ #13917]
22449 [BZ #13918]
22450 [BZ #13919]
22451 [BZ #13920]
22452 [BZ #13921]
22453 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22454 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22455 (__kernel_standard_l): New function.
22456 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22457 __kernel_standard.
22458 * math/w_acosl.c (__acosl): Likewise.
22459 * math/w_asinl.c (__asinl): Likewise.
22460 * math/w_atan2l.c (__atan2l): Likewise.
22461 * math/w_atanhl.c (__atanhl): Likewise.
22462 * math/w_coshl.c (__coshl): Likewise.
22463 * math/w_exp10l.c (__exp10l): Likewise.
22464 * math/w_exp2l.c (__exp2l): Likewise.
22465 * math/w_fmodl.c (__fmodl): Likewise.
22466 * math/w_hypotl.c (__hypotl): Likewise.
22467 * math/w_j0l.c (__j0l, __y0l): Likewise.
22468 * math/w_j1l.c (__j1l, __y1l): Likewise.
22469 * math/w_jnl.c (__jnl, __ynl): Likewise.
22470 * math/w_lgammal.c (__lgammal): Likewise.
22471 * math/w_log10l.c (__log10l): Likewise.
22472 * math/w_log2l.c (__log2l): Likewise.
22473 * math/w_logl.c (__logl): Likewise.
22474 * math/w_powl.c (__powl): Likewise.
22475 * math/w_remainderl.c (__remainderl): Likewise.
22476 * math/w_scalbl.c (sysv_scalbl): Likewise.
22477 * math/w_sinhl.c (__sinhl): Likewise.
22478 * math/w_sqrtl.c (__sqrtl): Likewise.
22479 * math/w_tgammal.c (__tgammal): Likewise.
22480 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22481 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22482 * math/libm-test.inc (acos_test): Add more tests.
22483 (acosh_test): Likewise.
22484 (asin_test): Likewise.
22485 (atanh_test): Likewise.
22486 (exp_test): Likewise.
22487 (exp10_test): Likewise.
22488 (exp2_test): Likewise.
22489 (expm1_test): Likewise.
22490 (lgamma_test): Likewise.
22491 (log_test): Likewise.
22492 (log10_test): Likewise.
22493 (log1p_test): Likewise.
22494 (log2_test): Likewise.
22495 (pow_test): Do not allow some spurious overflow exceptions.
22496 (sqrt_test): Add more tests.
22497 (tgamma_test): Likewise.
22498 (y0_test): Likewise.
22499 (y1_test): Likewise.
22500 (yn_test): Likewise.
22501
dd62fda6
AB
225022012-03-27 Anton Blanchard <anton@samba.org>
22503
22504 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22505 MAP_HUGETLB.
22506 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22507 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22508 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22509
1e3cdfda
AJ
225102012-03-27 David S. Miller <davem@davemloft.net>
22511
b855ab85
DM
22512 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22513
1e3cdfda
AJ
22514 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22515 have-as-vis3 check.
22516
225172012-03-27 Andreas Jaeger <aj@suse.de>
22518
22519 * sysdeps/x86_64/elf/configure.in: Moved to ...
22520 * sysdeps/x86_64/configure.in: ... here.
22521 * sysdeps/x86_64/elf/start.S: Moved to ...
22522 * sysdeps/x86_64/start.S: ... here.
22523 * sysdeps/x86_64/elf/configure: Delete.
22524
22525 * sysdeps/x86_64/configure.in: Merge contents from
22526 sysdeps/i386/configure.in (without i686 check).
22527
22528 * sysdeps/i386/elf/Versions: Merge into ...
22529 * sysdeps/i386/Versions: ... this.
22530 * sysdeps/i386/elf/Versions: Delete file.
22531 * sysdeps/i386/elf/start.S: Moved to ...
22532 * sysdeps/i386/start.S: ...here.
22533 * sysdeps/i386/elf/configure.in: Merge into...
22534 * sysdeps/i386/configure.in: ...here.
22535 * sysdeps/i386/elf/configure.in: Delete file.
22536 * sysdeps/i386/elf/configure: Delete file.
22537
22538 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22539 * debug/backtracesyms.c: ... here.
22540 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22541 * debug/backtracesymsfd.c: ... here.
22542 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22543 * sysdeps/generic/ifunc-sel.h: ... here.
22544
22545 * sysdeps/unix/i386/start.c: Delete file.
22546 * sysdeps/unix/sparc/start.c: Delete file.
22547 * sysdeps/unix/start.c: Delete file.
22548
22549 * sysdeps/sh/elf/configure.in: Moved to ...
22550 * sysdeps/sh/configure.in: ... here.
22551 * sysdeps/sh/elf/start.S: Moved to ...
22552 * sysdeps/sh/start.S: ... here.
22553 * sysdeps/sh/elf/configure: Delete file.
22554
22555 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22556 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22557 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22558 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22559 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22560 * sysdeps/powerpc/powerpc64/start.S: here.
22561 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22562 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22563 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22564 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22565 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22566
22567 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22568 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22569 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22570 * sysdeps/powerpc/powerpc32/start.S: ... here.
22571 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22572 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22573 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22574
22575 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22576 * sysdeps/powerpc/ifunc-sel.h: ... here.
22577 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22578 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22579
22580 * sysdeps/sparc/elf/configure.in: Moved to ...
22581 * sysdeps/sparc/configure.in: ... here.
22582 * sysdeps/sparc/elf/configure: Delete file.
22583 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22584 * sysdeps/sparc/sparc32/start.S: ... here.
22585 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22586 * sysdeps/sparc/sparc64/start.S: ... here.
22587 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22588 * sysdeps/sparc/sparc32/Makefile: ... this.
22589 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22590 * sysdeps/sparc/sparc64/Makefile: ... this.
22591
22592 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22593 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22594 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22595 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22596 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22597 * sysdeps/s390/s390-32/setjmp.S: ... here.
22598 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22599 * sysdeps/s390/s390-32/configure.in: ... here.
22600 * sysdeps/s390/s390-32/elf/configure: Delete file.
22601 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22602 * sysdeps/s390/s390-32/start.S: ... here.
22603
22604 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22605 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22606 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22607 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22608 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22609 * sysdeps/s390/s390-64/setjmp.S: ... here.
22610 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22611 * sysdeps/s390/s390-64/configure.in: ... here
22612 * sysdeps/s390/s390-64/elf/configure: Delete file.
22613 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22614 * sysdeps/s390/s390-64/start.S: ... here.
22615 * sysdeps/s390/s390-64/elf/configure: Delete.
22616
22617 * configure.in: Remove support for elf directories in sysdeps.
22618
22619 * configure: Regenerated.
22620 * sysdeps/i386/configure: Regenerated.
22621 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22622 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22623 * sysdeps/s390/s390-32/configure: Regenerated.
22624 * sysdeps/s390/s390-64/configure: Regenerated.
22625 * sysdeps/sh/configure: Regenerated.
22626 * sysdeps/sparc/configure: Regenerated.
22627 * sysdeps/x86_64/configure: Regenerated.
22628
a3f61311
AS
226292012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22630
c876e002
AS
22631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22632
a3f61311
AS
22633 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22634 denormal result into account.
22635
ac4c54f0
RM
226362012-03-25 Roland McGrath <roland@hack.frob.com>
22637
22638 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22639 Reported by Allan McRae <allan@archlinux.org>.
22640
6a9b9c02
JL
226412012-03-23 Jeff Law <law@redhat.com>
22642
22643 * nss/getnssent.c (__nss_getent): Fix typo.
22644
4c42a0c1
DM
226452012-03-23 David S. Miller <davem@davemloft.net>
22646
22647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22648
1532c7ac
L
226492012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22650
22651 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22652 to pad to uint64_t for each field.
22653 (dl_tls_index): Replace unsigned long with uint64_t.
22654
3ff42526
PP
226552012-03-23 Daniel Jacobowitz <dmj@google.com>
22656 Paul Pluzhnikov <ppluzhnikov@google.com>
22657
22658 [BZ #6528]
22659 * grp/Makefile (otherlibs): Don't set it.
22660 * inet/Makefile (otherlibs): Likewise.
22661 * login/Makefile (otherlibs): Likewise.
22662 * nscd/Makefile (otherlibs): Likewise.
22663 * posix/Makefile (otherlibs): Likewise.
22664 * pwd/Makefile (otherlibs): Likewise.
22665 * rt/Makefile (otherlibs): Likewise.
22666 * sunrpc/Makefile (otherlibs): Likewise.
22667 * nss/Makefile (otherlibs): Likewise.
22668 Add libnss_files to routines and static-only-routines.
22669 ($(objpfx)getent): Remove rule.
22670 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22671 static-only-routines.
22672
7c69cd14
JM
226732012-03-22 Joseph Myers <joseph@codesourcery.com>
22674
22675 [BZ #13892]
22676 * math/s_cexp.c: Include <float.h>.
22677 (__cexp): Handle exp result overflowing not necessarily
22678 overflowing both real and imaginary parts of result.
22679 * math/s_cexpf.c: Likewise.
22680 * math/s_cexpl.c: Likewise.
22681 * math/libm-test.inc (cexp_test): Add more tests.
22682 * sysdeps/i386/fpu/libm-test-ulps: Update.
22683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22684
81b035fe
L
226852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22686
22687 * include/link.h (ELFW): New macro.
22688 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22689 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22690
1da7940c
L
226912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22692
22693 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22694 with uint64_t.
22695
b749dbb9
L
226962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22697
22698 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22699 declaration.
22700 (struct La_x32_retval): Likewise.
22701
2ff87f3f
L
227022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22703
22704 * sysdeps/x86_64/preconfigure.in: New file.
22705 * sysdeps/x86_64/preconfigure: New generated file.
22706
c0df8e69
JM
227072012-03-22 Joseph Myers <joseph@codesourcery.com>
22708
48e44791
JM
22709 [BZ #13824]
22710 * math/e_exp2l.c: Include <float.h>.
22711 (__ieee754_exp2l): Handle overflow and underflow cases
22712 separately. Only pass fractional part of argument to
22713 __ieee754_expl.
22714 * math/libm-test.inc (exp2_test): Add more tests.
22715
c0df8e69
JM
22716 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22717 negating x to take absolute value.
22718 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22719 Likewise.
22720 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22721 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22722 Likewise.
22723 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22724 computing low part if x was negated.
22725 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22726
c8e43ba7
L
227272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22728
22729 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22730 la_x32_gnu_pltexit.
22731 (pltexit): Cast int_retval to ptrdiff_t.
22732 * elf/tst-auditmod3b.c: Likewise.
22733 * elf/tst-auditmod4b.c: Likewise.
22734 * elf/tst-auditmod5b.c: Likewise.
22735 * elf/tst-auditmod6b.c: Likewise.
22736 * elf/tst-auditmod6c.c: Likewise.
22737 * elf/tst-auditmod7b.c: Likewise.
22738
22739 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22740 and x32_gnu_pltexit.
22741
22742 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22743 __ELF_NATIVE_CLASS.
22744 (La_x32_regs): New macro.
22745 (La_x32_retval): Likewise.
22746 (la_x32_gnu_pltenter): New function prototype.
22747 (la_x32_gnu_pltexit): Likewise.
22748
7998fa78
AS
227492012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22750
dcb33988
AS
22751 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22752 exponent.
22753
233fc563
AS
22754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22755
7998fa78
AS
22756 * configure.in (libc_cv_cc_nofma): Check for option to disable
22757 generation of FMA instructions.
22758 * configure: Regenerate.
22759 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22760 * sysdeps/ieee754/dbl-64/Makefile: New file.
22761 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22762 Remove brandred-fma4.
22763 (CFLAGS-brandred-fma4.c): Remove.
22764 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22765 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22766 define.
22767 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22768 define.
22769
8e95c99a
L
227702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22771
22772 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22773 LLONG_MAX != LONG_MAX.
22774 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22775 (_fitoa_word): Likewise.
22776 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22777 LLONG_MAX != LONG_MAX.
22778 * stdio-common/_itowa.h: Include <_itoa.h>.
22779 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22780 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22781 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22782 only if not defined.
22783 (_ITOA_WORD_TYPE): Likewise.
22784 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22785 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22786
6f4db457
DM
227872012-03-21 David S. Miller <davem@davemloft.net>
22788
22789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22790
7785fe5a
L
227912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22792
22793 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22794 of x86_64 when setting libc_cv_slibdir, libdir and
22795 libc_cv_localedir.
22796 * sysdeps/unix/sysv/linux/configure: Regenerated.
22797
4535cd55
JM
227982012-03-21 Joseph Myers <joseph@codesourcery.com>
22799
22800 * manual/lang.texi (Old Varargs): Remove section.
22801 (How Variadic): Update menu.
22802 (va_start): Do not mention varargs.h.
22803
17228132
TS
228042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22805 Joseph Myers <joseph@codesourcery.com>
22806
22807 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22808 link test.
22809 * configure: Regenerated.
22810
8149f976
TS
228112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22812
05f3d1f6
UD
22813 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22814 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22815 conformtest.pl
8149f976 22816
1a4ac776
JM
228172012-03-21 Joseph Myers <joseph@codesourcery.com>
22818
be22ce65
JM
22819 * NOTES: Remove.
22820 * Makefile (files-for-dist): Remove NOTES.
22821 (NOTES): Remove rule.
22822 * README: Don't refer to NOTES.
22823 * manual/creature.texi: Don't include macros.texi.
22824 * manual/intro.texi (creature.texi): Remove comment referring to
22825 NOTES.
22826
40b601fb
JM
22827 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22828 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22829 * configure: Regenerated.
22830 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22831 LIBC_TRY_CC_OPTION.
22832 (libc_cv_as_i686): Likewise.
22833 (libc_cv_cc_avx): Likewise.
22834 (libc_cv_cc_sse2avx): Likewise.
22835 (libc_cv_cc_fma4): Likewise.
22836 (libc_cv_cc_novzeroupper): Likewise.
22837 * sysdeps/i386/configure: Regenerated.
22838
1a4ac776
JM
22839 [BZ #13883]
22840 * sysdeps/i386/fpu/s_cexp.S: Remove.
22841 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22842 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22843 * math/libm-test.inc (cexp_test): Add more tests.
22844 * sysdeps/i386/fpu/libm-test-ulps: Update.
22845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22846
a458e7fe
AM
228472012-03-21 Allan McRae <allan@archlinux.org>
22848
22849 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22850
0cb7efc5
JM
228512012-03-21 Joseph Myers <joseph@codesourcery.com>
22852
22853 [BZ #13871]
22854 * math/w_exp2.c: Do not include <float.h>.
22855 (o_threshold, u_threshold): Remove.
22856 (__exp2): Calculate result before checking finiteness and calling
22857 __kernel_standard.
22858 * math/w_exp2f.c: Likewise.
22859 * math/w_exp2l.c: Likewise.
22860 * math/libm-test.inc (exp2_test): Require overflow exception for
22861 1e6 input.
2460d3aa
JM
22862
22863 [BZ #3866]
22864 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22865 range of signed 64-bit integers before using fistpll. Remove
22866 checks for whether integers fit in mantissa bits.
22867 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22868 the range of signed 32-bit integers before using fistpl. Remove
22869 checks for whether integers fit in mantissa bits.
22870 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22871 (__ieee754_powl): Test for y outside the range of signed 64-bit
22872 integers before using fistpll. Reduce 64-bit values to 63-bit
22873 ones as needed.
22874 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22875 divide-by-zero is raised for zero to large negative powers.
22876 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22877 (__ieee754_powl): Test for y outside the range of signed 64-bit
22878 integers before using fistpll. Reduce 64-bit values to 63-bit
22879 ones as needed.
22880 * math/libm-test.inc (pow_test): Add more tests.
22881
eb96ffb0
L
228822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22883
22884 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22885 <stdio-common/_itoa.h>.
22886 * debug/segfault.c: Likewise.
22887 * elf/dl-cache.c: Likewise.
22888 * elf/dl-minimal.c: Likewise.
22889 * elf/dl-misc.c: Likewise.
22890 * elf/dl-sysdep.c: Likewise.
22891 * elf/dl-version.c: Likewise.
22892 * elf/rtld.c: Likewise.
22893 * hurd/hurdsock.c: Likewise.
22894 * hurd/lookup-retry.c: Likewise.
22895 * malloc/malloc.c: Likewise.
22896 * malloc/mtrace.c: Likewise.
22897 * nscd/nscd_getgr_r.c: Likewise.
22898 * nscd/nscd_getpw_r.c: Likewise.
22899 * nscd/nscd_getserv_r.c: Likewise.
22900 * posix/getopt_init.c: Likewise.
22901 * posix/wordexp.c: Likewise.
22902 * stdio-common/_itoa.c: Likewise.
22903 * stdio-common/printf_fphex.c: Likewise.
22904 * stdio-common/vfprintf.c: Likewise.
22905 * string/_strerror.c: Likewise.
22906 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22907 * sysdeps/i386/i686/hp-timing.h: Likewise.
22908 * sysdeps/mach/_strerror.c: Likewise.
22909 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22910 * sysdeps/mach/hurd/sethostid.c: Likewise.
22911 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22912 * sysdeps/mach/xpg-strerror.c: Likewise.
22913 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22914 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22915 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22916 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22917 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22918 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22919 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22920 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22921 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22922 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22923 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22924 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22925 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22926 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22927 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22928 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22929 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22930 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22931 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22932 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22933 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22934
22935 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22936
22937 * stdio-common/_itoa.h: Moved to ...
22938 * sysdeps/generic/_itoa.h: Here.
22939
22940 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22941
22942 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22943 instead of "_itoa.h" and "_itowa.h".
22944 * stdio-common/vfprintf.: Likewise.
22945
d1af992d
L
229462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22947
22948 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22949 <bits/wordsize.h>.
22950 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22951 (__signbit): Likwise.
22952 (llrintf): Likwise.
22953 (llrint): Likwise.
22954
114883e0
L
229552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22956
22957 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22958 __WORDSIZE != 64.
22959
c135cc1b
JM
229602012-03-20 Joseph Myers <joseph@codesourcery.com>
22961
22962 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22963 OVERFLOW_EXCEPTION_OK.
22964 * math/libm-test.inc ("Philosophy"): Update comment about
22965 exception testing.
22966 (OVERFLOW_EXCEPTION): Define.
22967 (OVERFLOW_EXCEPTION_OK): Likewise.
22968 (INVALID_EXCEPTION_OK): Renumber.
22969 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22970 (IGNORE_ZERO_INF_SIGN): Likewise.
22971 (test_exceptions): Handle FE_OVERFLOW.
22972 (exp10_test): Expect overflow exceptions.
22973 (exp2_test): Likewise.
22974 (expm1_test): Likewise.
22975 (nextafter_test): Likewise.
22976 (pow_test): Likewise.
22977 (scalbn_test): Likewise.
22978 (scalbln_test): Likewise.
22979
95443d88
L
229802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22981
22982 * sysdeps/x86_64/bits/atomic.h
22983 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22984 64bit integer.
22985 (atomic_exchange_acq): Likewise.
22986 (__arch_exchange_and_add_body): Likewise.
22987 (__arch_add_body): Likewise.
22988 (atomic_add_negative): Likewise.
22989 (atomic_add_zero): Likewise.
22990
490df6c4
L
229912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22992
c2722551 22993 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22994 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22995
5e52b189
L
229962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22997
22998 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22999 Check __x86_64__ instead of __WORDSIZE.
23000
a9879d4c
L
230012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23002
23003 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23004
5df98260
DM
230052012-03-19 David S. Miller <davem@davemloft.net>
23006
e1497744
DM
23007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23008
5df98260
DM
23009 * sysdeps/sparc/fpu/fenv_private.h: New file.
23010 * sysdeps/sparc/fpu/math_private.h: Use it.
23011 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23012 Remove.
23013 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23014 (libc_feholdexcept_setroundl): Remove.
23015 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23016 Remove.
23017 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23018 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23019
b4c35121
L
230202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23021
23022 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23023 int64_t instead of long int.
23024 (INSERT_WORDS64): Likwise.
23025
56965fd7
L
230262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23027
23028 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23029 _Unwind_GetCFA return to _Unwind_Ptr first.
23030
83d1aec8
JM
230312012-03-19 Joseph Myers <joseph@codesourcery.com>
23032
1897ad44
JM
23033 [BZ #13629]
23034 * math/s_clog.c: Include <float.h>.
23035 (__clog): Scale large or subnormal inputs.
23036 * math/s_clogf.c: Likewise.
23037 * math/s_clogl.c: Likewise.
23038 * math/s_clog10.c: Include <float.h>.
23039 (M_LOG10_2): Define.
23040 (__clog10): Scale large or subnormal inputs.
23041 * math/s_clog10f.c: Likewise.
23042 * math/s_clog10l.c: Likewise.
23043 * math/libm-test.inc (clog_test): Add more tests.
23044 (clog10_test): Likewise.
23045 * sysdeps/i386/fpu/libm-test-ulps: Update.
23046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23047
7726d6a9
JM
23048 [BZ #11451]
23049 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23050 x and y.
23051 * math/libm-test.inc (atan2_test): Add another test.
23052
83d1aec8
JM
23053 * Makerules (common-objdir-compile): Remove.
23054 * sysdeps/unix/Makefile (config-generated): Do not add
23055 $(unix-generated) to variable.
23056 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23057 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23058 Remove rule.
23059 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23060 Likewise.
23061 [generic bits/local_lim.h] (before-compile): Do not append to
23062 variable.
23063 [generic bits/local_lim.h] (common-generated): Likewise.
23064 [generic sys/param.h] (before-compile): Do not append to variable.
23065 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23066 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23067 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23068 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23069 include.
23070 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23071 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23072 [generic sys/param.h] ($(addprefix
23073 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23074 [generic sys/param.h] (common-generated): Do not append to
23075 variable.
23076 [generic sys/param.h] (sysdep_headers): Likewise.
23077 [generic bits/errno.h] (before-compile): Do not append to
23078 variable.
23079 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23080 rule.
23081 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23082 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23083 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23084 [generic bits/errno.h] (common-generated): Do not append to
23085 variable.
23086 [generic bits/ioctls.h] (before-compile): Do not append to
23087 variable.
23088 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23089 rule.
23090 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23091 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23092 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23093 rule.
23094 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23095 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23096 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23097 [generic bits/ioctls.h] (common-generated): Do not append to
23098 variable.
23099 [generic sys/syscall.h] (syscall.h): Remove variable.
23100 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23101 rule.
23102 [generic sys/syscall.h] (before-compile): Do not append to
23103 variable.
23104 [generic sys/syscall.h] (common-generated): Likewise.
23105 * sysdeps/unix/errnos-tmpl.c: Remove file.
23106 * sysdeps/unix/errnos.awk: Likewise.
23107 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23108 * sysdeps/unix/ioctls.awk: Likewise.
23109 * sysdeps/unix/mk-local_lim.c: Likewise.
23110 * sysdeps/unix/snarf-ioctls: Likewise.
23111
4851a949
RH
231122012-03-19 Richard Henderson <rth@twiddle.net>
23113
bd37f2ee
RH
23114 * sysdeps/i386/fpu/fenv_private.h: New file.
23115 * sysdeps/i386/fpu/math_private.h: Use it.
23116 (math_opt_barrier, math_force_eval): Remove.
23117 (libc_feholdexcept_setround_53bit): Remove.
23118 (libc_feupdateenv_53bit): Remove.
23119 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23120 (math_opt_barrier, math_force_eval): Remove.
23121 (libc_feholdexcept): Remove.
23122 (libc_feholdexcept_setround): Remove.
23123 (libc_fetestexcept, libc_fesetenv): Remove.
23124 (libc_feupdateenv_test): Remove.
23125 (libc_feupdateenv, libc_feholdsetround): Remove.
23126 (libc_feresetround): Remove.
23127
d0adc922
RH
23128 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23129 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23130
0fe0f1f8
RH
23131 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23132 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23133 (libc_feupdateenv_testl): New.
23134 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23135 (libc_feupdateenv_testf): New.
23136 (libc_feupdateenv): Use libc_feupdateenv_test.
23137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23138 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23139
eb92c487
RH
23140 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23141 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23142 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23143 (libc_feresetround_noex): New.
23144 (libc_feresetround_noexf): New.
23145 (libc_feresetround_noexl): New.
23146 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23147 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23148 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23149 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23150 SET_RESTORE_ROUND.
23151 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23152 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23153 (__cos): Likewise.
23154 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23155 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23156 SET_RESTORE_ROUND_NOEX.
23157 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23158 SET_RESTORE_ROUND_NOEXF.
23159 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23160 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23161 (libc_feholdsetroundf): New.
23162 (libc_feresetround, libc_feresetroundf): New.
23163
7d2e8012
RH
23164 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23165 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23166 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23167
b4dabbb4
RH
23168 * sysdeps/generic/math_private.h: Include <fenv.h>.
23169 (default_libc_feholdexcept): New.
23170 (default_libc_feholdexcept_setround): New.
23171 (default_libc_fesetenv, default_libc_feupdateenv): New.
23172 (libc_feholdexcept): Only define if undefined.
23173 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23174 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23175 (libc_feholdexcept_setroundl): Likewise.
23176 (libc_feholdexcept_setround_53bit): Likewise.
23177 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23178 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23179 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23180 (libc_feupdateenv_53bit): Likewise.
23181 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23182 (libc_feholdexcept): Convert from macro to inline function.
23183 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23184 (libc_fesetenv, libc_feupdateenv): Likewise.
23185
4851a949
RH
23186 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23187 not previously defined.
23188 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23189 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23190 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23191 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23192 * sysdeps/ieee754/flt-32/math_private.h: New file.
23193 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23194 math_private.h below SET_FLOAT_WORD.
23195 (__isnan, __isinf_ns, __finite): Remove.
23196 (__isnanf, __isinf_nsf, __finitef): Remove.
23197
e79d442e
AS
231982012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23199
23200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23201
90b80344
DM
232022012-03-17 David S. Miller <davem@davemloft.net>
23203
23204 [BZ #6471]
23205 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23206 for 2.16.
23207
edc21804
DM
232082012-03-16 David S. Miller <davem@davemloft.net>
23209
77e927af
DM
23210 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23211 warnings.
23212
374976dd
DM
23213 [BZ #6471]
23214 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23215 properly.
23216 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23217 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23218 sysdep_routines when subdir is sysvipc.
23219 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23220 __getshmlba helper.
23221
edc21804
DM
23222 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23223
473c3ef3
L
232242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23225
23226 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23227 [__LP64__].
23228
eb0f39b6
L
232292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23230
23231 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23232 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23233 (__lround): Renamed to ...
23234 (__llround): This. Replace long int with long long int.
23235 Define lround functions as aliases of llround functions.
23236 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23237
6b6cd74b
L
232382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23239
23240 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23241 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23242 adresses to uintptr_t. Replace "long int" and "unsigned long
23243 int" with "greg_t" on va_arg.
23244
f1a77b01
L
232452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23246
23247 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23248 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23249
23250 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23251 Move e_machine check before EI_CLASS check. Handle x32
23252 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23253 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23254 SKIP_EM_IA_64 and include
23255 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23256
23257 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23258 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23259 (add_system_dir): New macro.
23260
23261 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23262 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23263
11b90b9f
JM
232642012-03-16 Joseph Myers <joseph@codesourcery.com>
23265
c36e1d23
JM
23266 [BZ #2551]
23267 [BZ #2552]
23268 [BZ #2553]
23269 [BZ #2554]
23270 [BZ #2562]
23271 [BZ #2563]
23272 [BZ #2565]
23273 [BZ #2566]
23274 [BZ #2576]
23275 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23276 (y0): Likewise.
23277 * math/w_j0f.c (j0f): Likewise.
23278 (y0f): Likewise.
23279 * math/w_j0l.c (__j0l): Likewise.
23280 (__y0l): Likewise.
23281 * math/w_j1.c (j1): Likewise.
23282 (y1): Likewise.
23283 * math/w_j1f.c (j1f): Likewise.
23284 (y1f): Likewise.
23285 * math/w_j1l.c (__j1l): Likewise.
23286 (__y1l): Likewise.
23287 * math/w_jn.c (jn): Likewise.
23288 (yn): Likewise.
23289 * math/w_jnf.c (jnf): Likewise.
23290 (ynf): Likewise.
23291 * math/w_jnl.c (__jnl): Likewise.
23292 (__ynl): Likewise.
23293 * math/libm-test.inc (j0_test): Add more tests.
23294 (j1_test): Likewise.
23295 (jn_test): Likewise. Add trailing semicolon to existing test.
23296 (y0_test): Likewise.
23297 (y1_test): Likewise.
23298 * sysdeps/i386/fpu/libm-test-ulps: Update.
23299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23300
11b90b9f
JM
23301 [BZ #13851]
23302 [BZ #13854]
23303 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23304 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23305 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23306 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23307 (__tanl): Set errno for infinite argument.
23308 * sysdeps/i386/fpu/mptan.c: Remove.
23309 * sysdeps/i386/fpu/s_tan.S: Likewise.
23310 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23311 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23312 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23313 * math/libm-test.inc (tan_test): Add more tests and enable more
23314 tests for double and long double.
23315 * sysdeps/i386/fpu/libm-test-ulps: Update.
23316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23317
6a1bd2a1
JK
233182012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23319
23320 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23321 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23322
10a803e0
RM
233232012-03-16 Roland McGrath <roland@hack.frob.com>
23324
23325 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23326 * configure.in: Use it for both main tree and add-ons.
23327 * configure: Regenerated.
23328
f196c7f7
L
233292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23330
23331 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23332
8848d99d
JM
233332012-03-16 Joseph Myers <joseph@codesourcery.com>
23334
96cbe7f4
JM
23335 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23336 in comment.
23337
8848d99d
JM
23338 [BZ #13851]
23339 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23340 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23341 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23342 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23343 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23344 infinite argument.
23345 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23346 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23347 != 0 for prec == 2.
23348 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23349 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23350 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23351 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23352 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23353 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23354 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23355 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23356 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23357 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23358 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23359 * math/libm-test.inc (cos_test): Add more tests and enable more
23360 tests for long double.
23361 (sin_test): Likewise.
23362 (sincos_test): Likewise.
23363 * sysdeps/i386/fpu/libm-test-ulps: Update.
23364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23365
dd7f4703
DM
233662012-03-16 David S. Miller <davem@davemloft.net>
23367
23368 * sysdeps/sparc/fpu/math_private.h: New file.
23369
006f1daa
DM
233702012-03-15 David S. Miller <davem@davemloft.net>
23371
c0c83bc8
DM
23372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23373 file.
e6a62e18 23374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23376 file.
e6a62e18
DM
23377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23383 sysdep routines.
23384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23385
88cb87d9
DM
23386 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23387 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23388
006f1daa 23389 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23391 sparc-ifunc.h
006f1daa 23392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23394 Likewise.
23395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23396 Likewise.
006f1daa
DM
23397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23401 Likewise.
006f1daa
DM
23402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23407 Likewise.
23408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23409 Likewise.
006f1daa
DM
23410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23416 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23417 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23425 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23426 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23428 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23429 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23430 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23431 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23432 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23433 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23434
11e0098e
AS
234352012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23436
23437 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23438 scaling.
23439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23440
e85b09d0
AJ
234412012-03-15 Andreas Jaeger <aj@suse.de>
23442
23443 [BZ #13852]
23444 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23445 ieee754/flt-32 implementation for sin, cos and sincos.
23446 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23447 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23448 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23449 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23450 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23451 ieee754/flt-32 implementation for tan.
23452
23453 * math/libm-test.inc (cos_test): Enable some large input tests for
23454 float as well
23455 (sin_test): Likewise.
23456 (sincos_test): Likewise.
23457 (tan_test): Add tests for large input.
23458
23459 * sysdeps/i386/fpu/libm-test-ulps: Update.
23460
81c64153
AJ
234612012-03-15 Andreas Jaeger <aj@suse.de>
23462
23463 [BZ #13658]
23464 * math/libm-test.inc (cos_test): Add more test cases.
23465 (sin_test): Likewise.
23466 (sincos_test): Likewise.
23467
7bbfa5c6
AJ
234682012-03-15 Andreas Jaeger <aj@suse.de>
23469
23470 [BZ #13837]
23471 * math/libm-test.inc (cos_test): Add a test case for large input
23472 value.
23473 (sin_test): Likewise.
23474 (sincos_test): Likewise.
23475
234762012-03-15 Andreas Jaeger <aj@suse.de>,
23477 Joseph Myers <joseph@codesourcery.com>
23478
23479 [BZ #13658]
0671f479 23480 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23481 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23482 * sysdeps/i386/fpu/branred.c: Likewise.
23483 * sysdeps/i386/fpu/dosincos.c: Likewise.
23484 * sysdeps/i386/fpu/mpa.c: Likewise.
23485 * sysdeps/i386/fpu/s_cos.S: Likewise.
23486 * sysdeps/i386/fpu/s_sin.S: Likewise.
23487 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23488 * sysdeps/i386/fpu/sincos32.c: Likewise.
23489
23490 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23491 Define.
23492 (libc_feupdateenv_53bit): Define.
23493 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23494 Define.
23495 (libc_feupdateenv_53bit): Define.
23496
23497 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23498 53 bit (without extend i386 double precision).
23499
23500 * math/libm-test.inc (sincos_test): Add tests for large input.
23501 (sin): Likewise.
23502 (cos): Likewise.
23503
23504 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23505
9cad04ea
AS
235062012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23507
23508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23509
f7062b9a
DM
235102012-03-15 David S. Miller <davem@davemloft.net>
23511
23512 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23513 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23514 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23515 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23528 file.
f7062b9a 23529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23531 file.
f7062b9a 23532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23534 file.
f7062b9a 23535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23537 file.
f7062b9a
DM
23538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23539 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23540 fmin/fmax sysdep routines.
23541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23542
7bd951ff
DM
235432012-03-14 David S. Miller <davem@davemloft.net>
23544
559398ab
DM
23545 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23546 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23547 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23549 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23550 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23551 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23552 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23554 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23555 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23565 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23566 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23567 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23568 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23569 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23570 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23571 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23572 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23573 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23574 routines.
23575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23576 file.
559398ab 23577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23579 file.
559398ab 23580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23582 file.
559398ab 23583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23585 file.
559398ab 23586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23588 file.
559398ab 23589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23591 file.
23592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23593 file.
23594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23595 file.
23596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23597 file.
23598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23599 New file.
23600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23601 file.
23602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23603 file.
559398ab 23604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23606 file.
559398ab 23607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23609 file.
559398ab 23610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23612 file.
559398ab 23613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23615 VIS3 routines.
559398ab
DM
23616
23617 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23618 New file.
23619
5a1c1e32
DM
23620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23621
eae47a36
DM
23622 * sysdeps/sparc/configure.in: New file.
23623 * sysdeps/sparc/configure: Generate.
23624 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23625 * configure: Regenerate.
23626 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23627 * config.make.in (have-as-vis3): New.
23628 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23629 available use -Av9d instead of -Av9a.
23630 * sysdeps/sparc/sparc64/Makefile: Likewise.
23631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23633 New file.
23634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23635 file.
23636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23637 New file.
23638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23639 file.
eae47a36
DM
23640 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23641 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23642 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23643 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23644 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23645
c0c83bc8
DM
23646 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23647 fzeros/fnegs to load 0x80000000 into a float register instead of
23648 using the stack.
7bd951ff
DM
23649 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23650
bd951ccb
JM
236512012-03-14 Joseph Myers <joseph@codesourcery.com>
23652
23653 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23654 bits/syscall.h.
23655 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23656 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23657 ($(inst_includedir)/bits/syscall.h): Remove rule.
23658 ($(objpfx)bits/syscall.d): Include instead of
23659 $(objpfx)syscall-list.d.
23660 (generated): Change syscall-list.h and syscall-list.d to
23661 bits/syscall.h and bits/syscall.d.
23662
bb4e6db2
RM
236632012-03-14 Roland McGrath <roland@hack.frob.com>
23664
23665 [BZ #13846]
23666 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23667
aa4a2ae1
JM
236682012-03-14 Joseph Myers <joseph@codesourcery.com>
23669
e456826d
JM
23670 [BZ #13841]
23671 * math/s_csqrt.c: Include <float.h>.
23672 (__csqrt): Scale large or subnormal inputs.
23673 * math/s_csqrtf.c: Likewise.
23674 * math/s_csqrtl.c: Likewise.
23675 * math/libm-test.inc (csqrt_test): Add more tests.
23676 * sysdeps/i386/fpu/libm-test-ulps: Update.
23677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23678
aa4a2ae1
JM
23679 [BZ #13840]
23680 * math/libm-test.inc (hypot_test): Add more tests.
23681
7c10fd35
DM
236822012-03-13 David S. Miller <davem@davemloft.net>
23683
23684 [BZ #13840]
23685 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23686 double-precision for the calculation instead of scaling.
23687
f453b98b
JM
236882012-03-13 Joseph Myers <joseph@codesourcery.com>
23689
23690 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23691 manipulate bits before adding and subtracting TWO52[sx].
23692 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23693 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23694 Likewise.
23695 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23696
09a3453f
DM
236972012-03-13 David S. Miller <davem@davemloft.net>
23698
8e59da90
DM
23699 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23700 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23701 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23702 rtld-global-offsets.h
23703 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23704
2a8ab7f2
DM
23705 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23706 large parameters.
23707
10f62770
DM
23708 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23709
5f0bdb18
DM
23710 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23711 'err' in the ifdef scope in which it is actually used.
23712
09a3453f
DM
23713 * nss/nss_db/db-init.c: Include string.h
23714
b4b2eb5e
DM
237152012-03-12 David S. Miller <davem@davemloft.net>
23716
98bb2f1c
DM
23717 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23718 masking out of the most significant byte of random value used.
23719 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23720 Fix coding style in previous change.
23721
b4b2eb5e
DM
23722 * sysdeps/unix/sysv/linux/kernel-features.h
23723 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23724 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23725 expression.
23726 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23727 later.
23728
6e226b09
DM
237292012-03-11 David S. Miller <davem@davemloft.net>
23730
a1bcbd40
DM
23731 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23732 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23733 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23734 for 'resultvar' otherwise things get truncated on 64-bit.
23735
cb9d6174
DM
23736 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23737 Fix masking out of the most significant byte of random value used.
23738
6e226b09
DM
23739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23740
058c132d
AS
237412012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23742
23743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23744
2d2cd515
DM
237452012-03-09 David S. Miller <davem@davemloft.net>
23746
23747 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23748 variables with appropriate CPP guards.
23749 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23750 frame pointer, not the stack pointer. Correct layout comments. Fix test
23751 on resulting framesize and the management of the outregs buffer for pltexit.
23752 Preserve floating point return values across _dl_call_pltexit call.
23753 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23754 framesize and the management of the outregs buffer for pltexit.
23755 Preserve floating point return values across _dl_call_pltexit
23756 call.
23757 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23758 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23759 (print_exit): Fix format string for return register value.
23760
9a07f9d0
JM
237612012-03-10 Joseph Myers <joseph@codesourcery.com>
23762
23763 * sunrpc/Makefile (others): Add rpcgen.
23764 ($(objpfx)rpcgen): Remove special build rule and dependency on
23765 libc.
23766 * sunrpc/rpcgen.c: New file.
23767
547b5e30
PE
237682012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23769
c524201a
PE
23770 [BZ #13673]
23771 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23772 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23773 * sysdeps/i386/crti.S: Likewise.
23774 * sysdeps/i386/crtn.S: Likewise.
23775 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23776 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23777 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23778 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23779 * sysdeps/sh/crti.S: Likewise.
23780 * sysdeps/sh/crtn.S: Likewise.
23781 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23782
7b6235f2
PE
23783 [BZ #13673]
23784 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23785 with URL.
23786 * locale/programs/locfile-kw.gperf: Likewise.
23787 * locale/programs/charmap-kw.h: Regenerated.
23788 * locale/programs/locfile-kw.h: Likewise.
23789
547b5e30
PE
23790 [BZ #13673]
23791 * intl/plural.y: Replace FSF snail mail address with URL.
23792 * intl/plural.c: Regenerated.
23793
5f0a5dae
RH
237942012-03-09 Richard Henderson <rth@twiddle.net>
23795
23796 * include/math_private.h: Remove file.
23797 * math/math_private.h: Move file ...
23798 * sysdeps/generic/math_private.h: ... here.
23799
b8c03620
RH
23800 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23801 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23802 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23803
4e234f5d 23804 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23805 and <math_private.h>.
23806 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23807 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23808 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23809 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23810 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23811 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23812 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23813 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23814 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23815 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23816 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23817 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23818 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23819 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23820 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23821 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23822 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23823 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23824 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23825 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23826 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23827 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23828 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23829 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23830 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23831 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23832 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23833 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23834 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23835 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23836 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23837 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23838 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23839 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23840 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23841 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23842 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23843 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23844 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23845 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23846 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23847 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23848 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23849 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23850 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23851 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23852 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23853 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23854 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23855 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23856 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23857 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23858 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23859 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23860 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23861 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23862 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23863 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23864 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23865 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23866 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23867 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23869 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23870 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23871 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23872 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23873 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23874 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23875 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23876 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23877 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23878 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23879 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23880 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23881 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23882 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23883 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23884 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23885 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23886 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23887 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23888 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23889 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23890 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23891 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23892 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23893 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23894 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23895 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23896 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23897 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23898 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23899 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23900 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23901 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23902 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23903 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23904 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23905 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23906 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23907 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23908 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23909 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23910 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23911 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23912 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23913 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23914 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23915 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23916 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23917 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23918 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23919 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23920 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23921 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23922 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23923 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23924 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23925 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23926 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23927 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23928 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23929 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23930 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23931 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23932 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23933 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23934 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23935 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23936 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23937 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23938 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23939 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23940 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23941 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23942 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23943 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23944 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23945 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23946 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23947 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23948 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23949 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23950 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23951 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23952 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23953 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23954 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23955 * sysdeps/ieee754/k_standard.c: Likewise.
23956 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23957 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23958 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23959 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23960 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23961 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23962 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23963 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23964 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23965 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23966 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23967 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23968 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23969 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23970 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23971 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23972 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23973 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23974 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23975 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23976 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23977 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23978 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23979 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23980 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23981 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23982 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23983 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23984 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23985 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23986 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23987 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23988 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23989 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23990 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23991 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23992 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23993 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23994 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23995 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23996 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23997 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23998 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23999 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24000 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24001 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24002 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24003 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24004 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24005 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24006 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24007 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24008 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24009 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24010 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24011 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24012 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24013 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24014 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24015 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24016 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24017 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24018 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24019 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24020 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24021 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24022 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24023 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24024 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24025 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24026 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24027 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24028 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24029 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24030 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24031 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24032 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24033 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24034 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24035 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24036 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24037 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24038 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24039 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24040 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24041 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24042 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24043 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24044 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24045 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24046 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24047 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24048 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24049 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24050 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24051 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24052 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24053 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24054 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24055 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24056 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24057 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24058 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24059 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24060 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24061 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24062 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24063 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24064 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24065 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24066 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24067 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24068 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24069 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24070 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24071 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24072 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24073 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24074 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24075 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24076 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24077 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24078 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24079 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24080 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24081 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24082 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24083 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24084 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24085 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24086 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24087 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24088 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24089 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24090 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24091 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24092 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24093 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24094 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24095 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24096 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24097 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24098 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24099 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24100 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24101 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24102 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24103 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24104 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24105 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24106 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24107 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24108 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24109 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24110 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24111 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24112 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24113 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24114 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24115 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24116 * sysdeps/ieee754/s_lib_version.c: Likewise.
24117 * sysdeps/ieee754/s_matherr.c: Likewise.
24118 * sysdeps/ieee754/s_signgam.c: Likewise.
24119 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24120 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24121 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24122 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24123 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24124 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24125 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24126 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24127 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24128 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24129 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24130 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24131 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24132 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24133 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24134 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24135 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24136 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24137 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24138 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24139 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24140
1991fa03
JM
241412012-03-09 Joseph Myers <joseph@codesourcery.com>
24142
24143 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24144 * sunrpc/rpc_main.c: Likewise.
24145 * sunrpc/rpc_svcout.c: Likewise.
24146
60d6f5a6
DM
241472012-03-09 David S. Miller <davem@davemloft.net>
24148
24149 * include/math_private.h: New file.
24150
4962050e
JM
241512012-03-09 Joseph Myers <joseph@codesourcery.com>
24152
02a6f887
JM
24153 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24154 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24155 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24156 from <bits/socket_type.h>.
24157 (enum __socket_type): Don't define here.
24158 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24160 bits/socket_type.h.
24161
c6e013c1
JM
24162 [BZ #13566]
24163 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24164 checking __USE_GNU.
24165
4962050e
JM
24166 * Makerules ($(inst_includedir)/%.h): New rule.
24167 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24168 (install-others): Remove variable setting.
24169 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24170
38842f45
RH
241712012-03-08 Richard Henderson <rth@twiddle.net>
24172
67bb6da6
RH
24173 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24174 from macro to inline function; merge with the
24175 !__LIBC_INTERNAL_MATH_INLINES version.
24176 (__ieee754_sqrtf): Likewise.
24177
15194b4b
RH
24178 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24179 to inline function.
24180 (__rintf, __floor, __floorf): Likewise.
24181
64e21ede
RH
24182 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24183 macro to inline function.
24184 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24185
38842f45
RH
24186 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24187 not <math/math_private.h>.
24188
c64bf5fe
DM
241892012-03-08 David S. Miller <davem@davemloft.net>
24190
24191 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24192 copyright year.
24193 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24194
82d86f28
TS
241952012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24196
24197 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24198 normalization.
24199 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24200 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24201
aea5d727
UD
242022012-03-08 Ulrich Drepper <drepper@gmail.com>
24203
24204 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24205 be defined individually, they must be defined as a block. Define
24206 S for printing a string instead of hidint the different by using a
24207 macro for adding the 'l'.
24208 * stdio-common/tst-fphex-wide.c: Adjust.
24209
70bca0a3
MP
242102012-03-07 Marek Polacek <polacek@redhat.com>
24211
24212 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24213
65b81130
MP
242142012-03-08 Marek Polacek <polacek@redhat.com>
24215
24216 [BZ #13806]
24217 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24218 * stdio-common/tst-fphex.c: Define a few macros to make the
24219 test reusable. Use them.
24220 * stdio-common/tst-fphex-wide.c: New file.
24221
07037eeb
JM
242222012-03-08 Joseph Myers <joseph@codesourcery.com>
24223
a7a93d50
JM
24224 [BZ #6911]
24225 * manual/macros.texi (gnusystems): New macro.
24226 (nongnusystems): Likewise.
24227 (gnulinuxhurdsystems): Likewise.
24228 (gnuhurdsystems): Likewise..
24229 (gnulinuxsystems): Likewise.
24230 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24231 variants of the GNU system, not "GNU system".
24232 * manual/conf.texi: Likewise.
24233 * manual/errno.texi: Likewise. Update example of errno macro
24234 expansion.
24235 * manual/filesys.texi: Likewise.
24236 (getumask): Document as specific to GNU/Hurd.
24237 * manual/install.texi: Likewise. Reword some references to
24238 GNU/Linux.
24239 * manual/intro.texi: Likewise.
24240 * manual/io.texi: Likewise.
24241 (File Name Portability): Detail which constraints are inapplicable
24242 to all GNU systems and which are only inapplicable to GNU/Hurd.
24243 * manual/job.texi: Likewise.
24244 * manual/llio.texi: Likewise.
24245 (O_NOCTTY): Document as present on GNU/Linux.
24246 * manual/maint.texi: Likewise.
24247 * manual/memory.texi: Likewise.
24248 * manual/pattern.texi: Likewise.
24249 * manual/pipe.texi: Likewise.
24250 * manual/process.texi: Likewise.
24251 * manual/resource.texi: Likewise.
24252 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24253 child on GNU/Hurd.
24254 * manual/setjmp.texi: Likewise.
24255 * manual/signal.texi: Likewise.
24256 * manual/startup.texi: Likewise.
24257 * manual/stdio.texi: Likewise.
24258 * manual/terminal.texi: Likewise.
24259 (ONLCR): Document as POSIX.
24260 (OXTABS): Document availability on GNU/Linux as XTABS.
24261 (ONOEOT): Document availability separately from other bits.
24262 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24263 * manual/time.texi: Likewise.
24264 * manual/users.texi: Likewise.
24265 * INSTALL: Regenerated.
24266 * sysdeps/gnu/errlist.c: Regenerated.
24267
07037eeb
JM
24268 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24269 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24270 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24271 puts.
24272 * configure: Regenerated.
24273
d1d3431a
JM
242742012-03-07 Joseph Myers <joseph@codesourcery.com>
24275
af6a1e37
JM
24276 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24277 default includes instead of AC_HEADER_CHECK.
24278 * sysdeps/i386/configure: Regenerated.
24279
d1d3431a
JM
24280 [BZ #10716]
24281 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24282 * math/s_cacoshf.c (__cacoshf): Likewise.
24283 * math/s_cacoshl.c (__cacoshl): Likewise.
24284 * math/s_casinh.c (__casinh): Set signs of result from argument.
24285 * math/s_casinhf.c (__casinhf): Likewise.
24286 * math/s_casinhl.c (__casinhl): Likewise.
24287 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24288 (casinh_test): Add more tests.
24289 * sysdeps/i386/fpu/libm-test-ulps: Update.
24290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24291
482ff4da
UD
242922012-03-07 Ulrich Drepper <drepper@gmail.com>
24293
872fda05
UD
24294 * po/zh_TW.po: Update from translation team.
24295
a4300c7a
UD
24296 * login/Makefile (distribute): Remove variable.
24297 * catgets/Makefile: Likewise.
24298 * mach/Makefile: Likewise.
24299 * malloc/Makefile: Likewise.
24300 * misc/Makefile: Likewise.
24301 * iconv/Makefile: Likewise.
24302 * nscd/Makefile: Likewise.
24303 * hurd/Makefile: Likewise.
24304 * manual/Makefile: Likewise.
24305 * locale/Makefile: Likewise.
24306 * intl/Makefile: Likewise.
24307 * conform/Makefile: Likewise.
24308 * nss/Makefile: Likewise.
24309 * time/Makefile: Likewise.
24310 * soft-fp/Makefile: Likewise.
24311 * dirent/Makefile: Likewise.
24312 * gmon/Makefile: Likewise.
24313 * po/Makefile: Likewise.
24314 * rt/Makefile: Likewise.
24315 * socket/Makefile: Likewise.
24316 * math/Makefile: Likewise.
24317 * signal/Makefile: Likewise.
24318 * debug/Makefile: Likewise.
24319 * elf/Makefile: Likewise.
24320 * timezone/Makefile: Likewise.
24321 * stdlib/Makefile: Likewise.
24322 * iconvdata/Makefile: Likewise.
24323 * sunrpc/Makefile: Likewise.
24324 * io/Makefile: Likewise.
24325 * argp/Makefile: Likewise.
24326 * inet/Makefile: Likewise.
24327 * hesiod/Makefile: Likewise.
24328 * grp/Makefile: Likewise.
24329 * csu/Makefile: Likewise.
24330 * wctype/Makefile: Likewise.
24331 * crypt/Makefile: Likewise.
24332 * libio/Makefile: Likewise.
24333 * string/Makefile: Likewise.
24334 * nis/Makefile: Likewise.
24335 * resolv/Makefile: Likewise.
24336 * stdio-common/Makefile: Likewise.
24337 * wcsmbs/Makefile: Likewise.
24338 * dlfcn/Makefile: Likewise.
24339 * posix/Makefile: Likewise.
24340
3b7c4e74 24341 [BZ #6959]
482ff4da
UD
24342 * timezone/Makefile: Don't install timezone files, just the programs
24343 and scripts.
24344
f72ed77d
UD
243452012-03-06 Ulrich Drepper <drepper@gmail.com>
24346
a000466f
UD
24347 * nss/databases.def: Add missing gshadow entry.
24348
f72ed77d
UD
24349 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24350
a53b7a4e
MP
243512012-03-06 Marek Polacek <polacek@redhat.com>
24352
24353 [BZ #13726]
24354 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24355 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24356 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24357 * stdio-common/tst-long-dbl-fphex.c: New file.
24358
e9258400
DM
243592012-03-06 David S. Miller <davem@davemloft.net>
24360
24361 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24362 (set_obp_int): New function.
24363 (get_obp_int): New function.
24364 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24365 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24366 Avoid unused variable warnings on 'val' and use builtin_expect.
24367 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24368 __builtin_expect.
e9258400
DM
24369 (INLINE_CLONE_SYSCALL): Likewise.
24370
3bd2c723
DM
243712012-03-05 David S. Miller <davem@davemloft.net>
24372
24373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24374
bbb78d03
AS
243752012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24376
884c5db4
AS
24377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24378
bbb78d03
AS
24379 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24380 only for |x| >= 40.
24381 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24382
1c9f702a 243832012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24384
24385 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24386 Replace gettimeofday with __vdso_gettimeofday.
24387
7be16f82
RM
24388 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24389 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24390 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24391
24392 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24393 time with __vdso_time.
24394
ed58a00f
JM
243952012-03-05 Joseph Myers <joseph@codesourcery.com>
24396
24397 * manual/lang.texi (size_t): Note types to which size_t may be
24398 equivalent with the GNU C Library, but do not describe when
24399 differences between them are significant.
24400
30ee4ced
AJ
244012012-03-05 Andreas Jaeger <aj@suse.de>
24402
24403 * sysdeps/i386/fpu/libm-test-ulps: Update.
24404
b7cd39e8
JM
244052012-03-05 Joseph Myers <joseph@codesourcery.com>
24406
24407 [BZ #3976]
24408 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24409 (__ieee754_pow): Save and restore rounding mode and use
24410 round-to-nearest for main computations.
24411 * math/libm-test.inc (pow_test_tonearest): New function.
24412 (pow_test_towardzero): Likewise.
24413 (pow_test_downward): Likewise.
24414 (pow_test_upward): Likewise.
24415 (main): Call the new functions.
24416 * sysdeps/i386/fpu/libm-test-ulps: Update.
24417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24418
24419 [BZ #3976]
24420 * math/libm-test.inc (cosh_test_tonearest): New function.
24421 (cosh_test_towardzero): Likewise.
24422 (cosh_test_downward): Likewise.
24423 (cosh_test_upward): Likewise.
24424 (sinh_test_tonearest): Likewise.
24425 (sinh_test_towardzero): Likewise.
24426 (sinh_test_downward): Likewise.
24427 (sinh_test_upward): Likewise.
24428 (main): Call the new functions.
24429 * sysdeps/i386/fpu/libm-test-ulps: Update.
24430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24431
6c6a98c9
TV
244322012-03-05 Tom de Vries <tom@codesourcery.com>
24433
24434 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24435 default stack guard is set in last bytes.
24436 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24437
21bb2d2e 244382012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24439
21bb2d2e 24440 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24441
21bb2d2e
AJ
24442 [BZ #13656]
24443 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24444 possibly allocate from heap instead of stack.
24445 * stdio-common/bug-vfprintf-nargs.c: New file.
24446 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24447
c6922934
AS
244482012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24449
24450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24451
bc957d53
MP
244522012-03-03 Marek Polacek <polacek@redhat.com>
24453
24454 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24455 * math/math_private.h: Likewise.
24456 * stdlib/tst-strtod.c: Likewise.
24457 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24458 * sysdeps/x86_64/bits/atomic.h: Likewise.
24459
6358490d
DM
244602012-03-02 David S. Miller <davem@davemloft.net>
24461
24462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24466 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24467 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24468 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24469 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24470
01ae168d
RM
244712012-03-02 Roland McGrath <roland@hack.frob.com>
24472
d9a17c07
RM
24473 [BZ #13792]
24474 * manual/examples/README: New file, says the example source files
24475 can be used under GPL>=2.
24476 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24477 line containing just "*/".
24478 * manual/examples/add.c: Add copyright header (GPL>=2).
24479 * manual/examples/argp-ex1.c: Likewise.
24480 * manual/examples/argp-ex2.c: Likewise.
24481 * manual/examples/argp-ex3.c: Likewise.
24482 * manual/examples/argp-ex4.c: Likewise.
24483 * manual/examples/atexit.c: Likewise.
24484 * manual/examples/db.c: Likewise.
24485 * manual/examples/dir.c: Likewise.
24486 * manual/examples/dir2.c: Likewise.
24487 * manual/examples/execinfo.c: Likewise.
24488 * manual/examples/filecli.c: Likewise.
24489 * manual/examples/filesrv.c: Likewise.
24490 * manual/examples/fmtmsgexpl.c: Likewise.
24491 * manual/examples/genpass.c: Likewise.
24492 * manual/examples/inetcli.c: Likewise.
24493 * manual/examples/inetsrv.c: Likewise.
24494 * manual/examples/isockad.c: Likewise.
24495 * manual/examples/longopt.c: Likewise.
24496 * manual/examples/memopen.c: Likewise.
24497 * manual/examples/memstrm.c: Likewise.
24498 * manual/examples/mkfsock.c: Likewise.
24499 * manual/examples/mkisock.c: Likewise.
24500 * manual/examples/mygetpass.c: Likewise.
24501 * manual/examples/pipe.c: Likewise.
24502 * manual/examples/popen.c: Likewise.
24503 * manual/examples/rprintf.c: Likewise.
24504 * manual/examples/search.c: Likewise.
24505 * manual/examples/select.c: Likewise.
24506 * manual/examples/setjmp.c: Likewise.
24507 * manual/examples/sigh1.c: Likewise.
24508 * manual/examples/sigusr.c: Likewise.
24509 * manual/examples/stpcpy.c: Likewise.
24510 * manual/examples/strdupa.c: Likewise.
24511 * manual/examples/strftim.c: Likewise.
24512 * manual/examples/strncat.c: Likewise.
24513 * manual/examples/subopt.c: Likewise.
24514 * manual/examples/swapcontext.c: Likewise.
24515 * manual/examples/termios.c: Likewise.
24516 * manual/examples/testopt.c: Likewise.
24517 * manual/examples/testpass.c: Likewise.
24518 * manual/examples/timeval_subtract.c: Likewise.
24519
01ae168d
RM
24520 [BZ #13792]
24521 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24522 function to ...
24523 * manual/timeval_subtract.c.texi: ... here, new file.
24524
49efa33d
DM
245252012-03-02 David S. Miller <davem@davemloft.net>
24526
24527 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24528
28afd92d
JM
245292012-03-02 Joseph Myers <joseph@codesourcery.com>
24530
804360ed
JM
24531 [BZ #3976]
24532 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24533 (__sin): Save and restore rounding mode and use round-to-nearest
24534 for all computations.
24535 (__cos): Save and restore rounding mode and use round-to-nearest
24536 for all computations.
24537 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24538 <fenv.h>.
24539 (tan): Save and restore rounding mode and use round-to-nearest for
24540 all computations.
24541 * math/libm-test.inc (cos_test_tonearest): New function.
24542 (cos_test_towardzero): Likewise.
24543 (cos_test_downward): Likewise.
24544 (cos_test_upward): Likewise.
24545 (sin_test_tonearest): Likewise.
24546 (sin_test_towardzero): Likewise.
24547 (sin_test_downward): Likewise.
24548 (sin_test_upward): Likewise.
24549 (tan_test_tonearest): Likewise.
24550 (tan_test_towardzero): Likewise.
24551 (tan_test_downward): Likewise.
24552 (tan_test_upward): Likewise.
24553 (main): Call the new functions.
24554 * sysdeps/i386/fpu/libm-test-ulps: Update.
24555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24556
a6d06d7b
JM
24557 [BZ #10135]
24558 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24559 small n, then large n, before computing and testing k+n.
24560 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24561 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24562 Likewise.
24563 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24564 Likewise.
24565 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24566 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24567 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24568 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24569 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24570 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24571 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24572 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24573 * math/libm-test.inc (scalbn_test): Add more tests.
24574 (scalbln_test): Likewise.
24575
07e12bb3
JM
24576 * manual/filesys.texi (mode_t): Describe constraints on size and
24577 signedness, not exact equivalence to a particular type.
24578 (ino_t): Likewise.
24579 (ino64_t): Likewise.
24580 (dev_t): Likewise.
24581 (nlink_t): Likewise.
24582 (blkcnt_t): Likewise.
24583 (blkcnt64_t): Likewise.
24584 * manual/llio.texi (off_t): Likewise.
24585
28afd92d
JM
24586 [BZ #3976]
24587 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24588 (__ieee754_exp): Save and restore rounding mode and use
24589 round-to-nearest for all computations.
24590 * math/libm-test.inc (exp_test_tonearest): New function.
24591 (exp_test_towardzero): Likewise.
24592 (exp_test_downward): Likewise.
24593 (exp_test_upward): Likewise.
24594 (main): Call the new functions.
24595 * sysdeps/i386/fpu/libm-test-ulps: Update.
24596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24597
b1eeb65d
CD
245982012-03-01 Chris Demetriou <cgd@google.com>
24599
24600 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24601 have predictable order.
24602
53362a4b
DM
246032012-03-01 David S. Miller <davem@davemloft.net>
24604
3c969083
DM
24605 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24606
759707de
DM
24607 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24608 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24609 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24610 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24611
dfdb8ff2
DM
24612 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24613 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24614 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24616 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24617 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24618 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24619 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24620 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24621
ead89f96
DM
24622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24623
7f66bd07
DM
24624 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24625 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24626 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24627
53362a4b
DM
24628 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24629 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24630 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24631 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24632 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24633 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24634 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24635 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24636 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24637 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24638 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24639 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24640 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24641 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24642 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24644 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24645 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24646 * sysdeps/sparc/elf/configure: Regenerated.
24647
7b1902cb
JM
246482012-03-01 Joseph Myers <joseph@codesourcery.com>
24649
bec039bc
JM
24650 * configure.in (AS, LD): Require binutils 2.20 or later.
24651 * configure: Regenerated.
24652 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24653 as required minimum version.
24654 * INSTALL: Regenerated.
24655
7b1902cb
JM
24656 [BZ #2541]
24657 [BZ #4108]
24658 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24659 before squaring exponent.
24660 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24661 bottom long double and 27 bits of top long double before squaring
24662 exponent.
24663 * math/libm-test.inc (erfc_test): Add more tests.
24664 * sysdeps/i386/fpu/libm-test-ulps: Update.
24665 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24667
f775c276
KT
246682012-03-01 Kai Tietz <ktietz@redhat.com>
24669
24670 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24671 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24672 containing bit-fields.
24673 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24674 * soft-fp/single.h (_FP_UNION_S): Likewise.
24675 * soft-fp/double.h (_FP_UNION_D): Likewise.
24676
5b8a4d4a
JM
246772012-02-29 Joseph Myers <joseph@codesourcery.com>
24678
0bab47b6
JM
24679 [BZ #13786]
24680 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24681 not include ../strcmp.S.
24682 [USE_AS_STRNCASECMP_L]: Likewise.
24683 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24684 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24685 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24686 (__strncasecmp_l_ia32): Define as alias to
24687 __strncasecmp_l_nonascii.
24688
0fcad3e2
JM
24689 [BZ #5794]
24690 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24691 * sysdeps/i386/fpu/libm-test-ulps: Update.
24692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24693
5b8a4d4a
JM
24694 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24696
8fdceb2e
JL
246972012-02-29 Jeff Law <law@redhat.com>
24698
24699 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24700 out of bounds read.
24701
1f393a11
MP
247022012-02-29 Marek Polacek <polacek@redhat.com>
24703
24704 [BZ #13706]
24705 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24706 * elf/Makefile: Add rules to run tst-unused-dep.out.
24707
8847f037
DM
247082012-02-28 David S. Miller <davem@davemloft.net>
24709
24710 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24711 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24712 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24713 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24714 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24715 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24716
169d7f11
JM
247172012-02-29 Joseph Myers <joseph@codesourcery.com>
24718
24719 * math/libm-test.inc (llround_test): Move one test from
24720 lround_test. Use TEST_f_L in moved test.
24721 (lround_test): Move misplaced test to llround_test. Add testcase
24722 from bug 2561.
24723
39adf059
UD
247242012-02-28 Ulrich Drepper <drepper@gmail.com>
24725
24726 * sysdeps/x86_64/fpu/e_expf.S: New file.
24727 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24728
71b5d1c5
SB
247292012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24730
24731 [BZ #13637]
24732 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24733 of remain_len that may cause incomplete multi-byte character and
24734 false match.
24735 * posix/bug-regex33.c: New file.
24736 * posix/Makefile (tests): Add bug-regex33.
24737
1f77f049
JM
247382012-02-28 Joseph Myers <joseph@codesourcery.com>
24739
24740 * manual/macros.texi: New file.
24741 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24742 * manual/libc.texinfo: Include macros.texi.
24743 * manual/creatute.texi: Likewise.
24744 * manual/install.texi: Likewise.
24745 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24746 @glibcadj{} in references to the GNU C Library.
24747 * manual/charset.texi: Likewise.
24748 * manual/conf.texi: Likewise.
24749 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24750 when not using those macros.
24751 * manual/creature.texi: Likewise.
24752 * manual/crypt.texi: Likewise.
24753 * manual/errno.texi: Likewise.
24754 * manual/filesys.texi: Likewise.
24755 * manual/header.texi: Likewise.
24756 * manual/install.texi: Likewise.
24757 * manual/intro.texi: Likewise.
24758 * manual/io.texi: Likewise.
24759 * manual/job.texi: Likewise.
24760 * manual/lang.texi: Likewise.
24761 * manual/libc.texiinfo: Likewise.
24762 * manual/llio.texi: Likewise.
24763 * manual/locale.texi: Likewise.
24764 * manual/maint.texi: Likewise.
24765 * manual/math.texi: Likewise.
24766 * manual/memory.texi: Likewise.
24767 * manual/message.texi: Likewise.
24768 * manual/nss.texi: Likewise.
24769 * manual/pattern.texi: Likewise.
24770 * manual/process.texi: Likewise.
24771 * manual/resource.texi: Likewise.
24772 * manual/search.texi: Likewise.
24773 * manual/setjmp.texi: Likewise.
24774 * manual/signal.texi: Likewise.
24775 * manual/socket.texi: Likewise.
24776 * manual/startup.texi: Likewise.
24777 * manual/stdio.texi: Likewise.
24778 * manual/string.texi: Likewise.
24779 * manual/sysinfo.texi: Likewise.
24780 * manual/syslog.texi: Likewise.
24781 * manual/terminal.texi: Likewise.
24782 * manual/time.texi: Likewise.
24783 * manual/users.texi: Likewise.
24784 * INSTALL: Regenerated.
24785 * NOTES: Regenerated.
d40c5d54 24786 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24787
450bf206
AS
247882012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24789
24790 * include/dirent.h: Include <dirstream.h> before
24791 <dirent/dirent.h>.
24792
741a235b
DM
247932012-02-28 David S. Miller <davem@davemloft.net>
24794
24795 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24796 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24797 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24798 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24799
d6b5aa58
DM
248002012-02-27 David S. Miller <davem@davemloft.net>
24801
1aff59a3
DM
24802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24804 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24805 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24806
d6b5aa58
DM
24807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24808 frame pointer instead of stack pointer relative arg slot.
24809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24810 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24811 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24812
433f48bf
CD
248132012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24814
24815 [BZ #3992]
24816 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24817
d674b76d
DM
248182012-02-27 David S. Miller <davem@davemloft.net>
24819
24820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24824 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24825 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24826 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24827 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24828
0e7727f7
JM
248292012-02-27 Joseph Myers <joseph@codesourcery.com>
24830
24831 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24832 later. Allow versions 5-9.
43be4ca2 24833 * configure: Regenerated.
0e7727f7
JM
24834 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24835 required minimum version and 4.6 as recommended version. Do not
24836 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24837 * INSTALL: Regenerated.
0e7727f7 24838
a78bc654
DM
248392012-02-27 David S. Miller <davem@davemloft.net>
24840
428d5830
DM
24841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24845 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24846 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24847 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24848 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24849
a78bc654
DM
24850 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24851 manipulate bits before adding and subtracting TWO112[sx].
24852 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24853
4579f81c
RM
248542012-02-27 Roland McGrath <roland@hack.frob.com>
24855
36c8acb4
RM
24856 [BZ #13775]
24857 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24858 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24859 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24860 being in POSIX, because they are in 1003.1-2008.
24861
84ad622b
RM
24862 * rt/tst-aio.c: Include <fcntl.h>.
24863 * rt/tst-aio7.c: Likewise.
24864 * rt/tst-aio64.c: Likewise.
24865
4579f81c
RM
24866 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24867
abd923db
JM
248682012-02-27 Joseph Myers <joseph@codesourcery.com>
24869
24870 * manual/install.texi (--with-headers): Describe headers as
24871 interface headers, not private headers.
24872 (Specific advice for GNU/Linux systems): Describe use of headers
24873 from "make headers_install", not private headers from older
24874 kernels.
43be4ca2 24875 * INSTALL: Regenerated.
abd923db
JM
24876 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24877 Change to 2.6.19.
24878 * sysdeps/unix/sysv/linux/configure: Regenerated.
24879
6664049b
JM
24880 * manual/llio.texi (fclean): Remove documentation.
24881
bb8b6697
JM
24882 * manual/Makefile (libc-texi-generated): New variable. Include
24883 version.texi.
24884 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24885 $(libc-texi-generated), not duplicated list of files.
24886 (version.texi, stamp-version): New rules.
24887 (realclean): Remove $(libc-texi-generated), not individual files
24888 from that list. Do not remove dir-add.texinfo.
24889 * manual/libc.texinfo: Comment out uses of edition numbers and
24890 references to printed manual. Remove last-updated dates.
24891 (EDITION): Comment out.
24892 (ISBN): Likewise.
24893 (VERSION, UPDATED): Remove.
24894 (version.texi): Include.
24895
12e5c3b9
AS
248962012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24897
24898 * sysdeps/posix/spawni.c: Include <signal.h>.
24899 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24900 * sysdeps/pthread/aio_fsync.c: Likewise.
24901
4efeffc1 249022012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24903
ba63ba08
UD
24904 * conform/Makefile (tests): Run only when not cross-compiling and
24905 when fast-check is not defined.
24906
d94a4670
UD
24907 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24908 * conform/data/limits.h-data: Fixes for POSIX2008.
24909 * conform/run-conformtest.sh: Run all tests.
24910 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24911 headers.
24912 * include/bits/dlfcn.h: Likewise.
24913 * include/langinfo.h: Likewise.
24914 * include/monetary.h: Likewise.
24915 * include/sys/poll.h: Likewise.
24916
24917 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24918 for __USE_GNU.
24919 * posix/spawn.h: Define __need_sigset_t.
24920 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24921 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24922 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24923 to get sigevent_t only.
24924 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24925 only for __USE_GNU.
24926 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24927 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24928 process_vm_writev only for __USE_GNU.
24929 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24930
24931 * conform/Makefile: For now ignore errors from run-conformtest.
24932 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24933 POSIX to avoid namespace pollution. Don't prepend headers.
24934 * conform/data/aio.h-data: Fixes for POSIX testing.
24935 * conform/data/fcntl.h-data: Likewise.
24936 * conform/data/glob.h-data: Likewise.
24937 * conform/data/grp.h-data: Likewise.
24938 * conform/data/pthread.h-data: Likewise.
24939 * conform/data/pwd.h-data: Likewise.
24940 * conform/data/signal.h-data: Likewise.
24941 * conform/data/spawn.h-data: Likewise.
24942 * conform/data/stdio.h-data: Likewise.
24943 * conform/data/stdlib.h-data: Likewise.
24944 * conform/data/stropts.h-data: Likewise.
24945 * conform/data/sys/mman.h-data: Likewise.
24946 * conform/data/sys/stat.h-data: Likewise.
24947 * conform/data/sys/types.h-data: Likewise.
24948 * conform/data/sys/wait.h-data: Likewise.
24949 * conform/data/time.h-data: Likewise.
24950 * conform/data/unistd.h-data: Likewise.
24951 * conform/data/utime.h-data: Likewise.
24952
24953 * io/sys/stat.h: fchmod was always in POSIX.
24954 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24955 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24956 * rt/aio.h: Define __need_timespec before including <time.h>.
24957 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24958 struct. Add forward declaration of pthread_attr_t and use it in
24959 sigevent.
24960 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24961 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24962 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24963 always remove CLK_TCK definition.
24964
c20105c3
AS
249652012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24966
24967 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24968
7a270350
UD
249692012-02-25 Ulrich Drepper <drepper@gmail.com>
24970
31341567
UD
24971 * conform/run-conformtest.sh: New file.
24972 * conform/Makefile: Run run-conformtest for tests.
24973 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24974 support.
24975
24976 * conform/data/uchar.h-data: New file.
24977 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24978 * conform/data/arpa/inet.h-data: Likewise.
24979 * conform/data/assert.h-data: Likewise.
24980 * conform/data/complex.h-data: Likewise.
24981 * conform/data/cpio.h-data: Likewise.
24982 * conform/data/ctype.h-data: Likewise.
24983 * conform/data/dirent.h-data: Likewise.
24984 * conform/data/dlfcn.h-data: Likewise.
24985 * conform/data/errno.h-data: Likewise.
24986 * conform/data/fcntl.h-data: Likewise.
24987 * conform/data/float.h-data: Likewise.
24988 * conform/data/fmtmsg.h-data: Likewise.
24989 * conform/data/fnmatch.h-data: Likewise.
24990 * conform/data/ftw.h-data: Likewise.
24991 * conform/data/glob.h-data: Likewise.
24992 * conform/data/grp.h-data: Likewise.
24993 * conform/data/iconv.h-data: Likewise.
24994 * conform/data/inttypes.h-data: Likewise.
24995 * conform/data/langinfo.h-data: Likewise.
24996 * conform/data/libgen.h-data: Likewise.
24997 * conform/data/limits.h-data: Likewise.
24998 * conform/data/locale.h-data: Likewise.
24999 * conform/data/math.h-data: Likewise.
25000 * conform/data/monetary.h-data: Likewise.
25001 * conform/data/mqueue.h-data: Likewise.
25002 * conform/data/ndbm.h-data: Likewise.
25003 * conform/data/net/if.h-data: Likewise.
25004 * conform/data/netdb.h-data: Likewise.
25005 * conform/data/netinet/in.h-data: Likewise.
25006 * conform/data/nl_types.h-data: Likewise.
25007 * conform/data/poll.h-data: Likewise.
25008 * conform/data/pthread.h-data: Likewise.
25009 * conform/data/pwd.h-data: Likewise.
25010 * conform/data/regex.h-data: Likewise.
25011 * conform/data/sched.h-data: Likewise.
25012 * conform/data/search.h-data: Likewise.
25013 * conform/data/semaphore.h-data: Likewise.
25014 * conform/data/setjmp.h-data: Likewise.
25015 * conform/data/signal.h-data: Likewise.
25016 * conform/data/spawn.h-data: Likewise.
25017 * conform/data/stdarg.h-data: Likewise.
25018 * conform/data/stdio.h-data: Likewise.
25019 * conform/data/stdlib.h-data: Likewise.
25020 * conform/data/string.h-data: Likewise.
25021 * conform/data/strings.h-data: Likewise.
25022 * conform/data/stropts.h-data: Likewise.
25023 * conform/data/sys/ipc.h-data: Likewise.
25024 * conform/data/sys/mman.h-data: Likewise.
25025 * conform/data/sys/msg.h-data: Likewise.
25026 * conform/data/sys/resource.h-data: Likewise.
25027 * conform/data/sys/select.h-data: Likewise.
25028 * conform/data/sys/sem.h-data: Likewise.
25029 * conform/data/sys/shm.h-data: Likewise.
25030 * conform/data/sys/socket.h-data: Likewise.
25031 * conform/data/sys/stat.h-data: Likewise.
25032 * conform/data/sys/statvfs.h-data: Likewise.
25033 * conform/data/sys/time.h-data: Likewise.
25034 * conform/data/sys/timeb.h-data: Likewise.
25035 * conform/data/sys/times.h-data: Likewise.
25036 * conform/data/sys/types.h-data: Likewise.
25037 * conform/data/sys/uio.h-data: Likewise.
25038 * conform/data/sys/un.h-data: Likewise.
25039 * conform/data/sys/utsname.h-data: Likewise.
25040 * conform/data/sys/wait.h-data: Likewise.
25041 * conform/data/syslog.h-data: Likewise.
25042 * conform/data/tar.h-data: Likewise.
25043 * conform/data/termios.h-data: Likewise.
25044 * conform/data/utime.h-data: Likewise.
25045 * conform/data/utmpx.h-data: Likewise.
25046 * conform/data/varargs.h-data: Likewise.
25047 * conform/data/wchar.h-data: Likewise.
25048 * conform/data/wctype.h-data: Likewise.
25049 * conform/data/wordexp.h-data: Likewise.
25050
25051 * include/stropts.h: New file.
25052 * include/uchar.h: New file.
25053 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25054 * include/assert.h: Likewise.
25055 * include/ctype.h: Likewise.
25056 * include/dirent.h: Likewise.
25057 * include/dlfcn.h: Likewise.
25058 * include/fcntl.h: Likewise.
25059 * include/fnmatch.h: Likewise.
25060 * include/glob.h: Likewise.
25061 * include/grp.h: Likewise.
25062 * include/libio.h: Likewise.
25063 * include/locale.h: Likewise.
25064 * include/math.h: Likewise.
25065 * include/net/if.h: Likewise.
25066 * include/netdb.h: Likewise.
25067 * include/netinet/in.h: Likewise.
25068 * include/pthread.h: Likewise.
25069 * include/pwd.h: Likewise.
25070 * include/regex.h: Likewise.
25071 * include/sched.h: Likewise.
25072 * include/search.h: Likewise.
25073 * include/setjmp.h: Likewise.
25074 * include/signal.h: Likewise.
25075 * include/stdio.h: Likewise.
25076 * include/stdlib.h: Likewise.
25077 * include/string.h: Likewise.
25078 * include/sys/cdefs.h: Likewise.
25079 * include/sys/mman.h: Likewise.
25080 * include/sys/msg.h: Likewise.
25081 * include/sys/resource.h: Likewise.
25082 * include/sys/select.h: Likewise.
25083 * include/sys/socket.h: Likewise.
25084 * include/sys/stat.h: Likewise.
25085 * include/sys/statvfs.h: Likewise.
25086 * include/sys/time.h: Likewise.
25087 * include/sys/times.h: Likewise.
25088 * include/sys/uio.h: Likewise.
25089 * include/sys/utsname.h: Likewise.
25090 * include/sys/wait.h: Likewise.
25091 * include/termios.h: Likewise.
25092 * include/time.h: Likewise.
25093 * include/ulimit.h: Likewise.
25094 * include/unistd.h: Likewise.
25095 * include/utime.h: Likewise.
25096 * include/wchar.h: Likewise.
25097 * include/wctype.h: Likewise.
25098 * include/wordexp.h: Likewise.
25099
25100 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25101
7a270350
UD
25102 * time/time.h: TIME_UTC must be a macro.
25103 Make timespec_get available for ISO C11 only as well.
25104
7724defc
UD
251052012-02-24 Ulrich Drepper <drepper@gmail.com>
25106
25107 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25108 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25109
6b1d1d46
JM
251102012-02-24 Joseph Myers <joseph@codesourcery.com>
25111
25112 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 25113
0f8bbd69
JM
251142012-02-24 Joseph Myers <joseph@codesourcery.com>
25115
25116 * manual/texinfo.tex: Update to version 2012-01-19.16.
25117
66ab80bc
JM
251182012-02-24 Joseph Myers <joseph@codesourcery.com>
25119
25120 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25121
74981cc5
RM
251222012-02-24 Roland McGrath <roland@hack.frob.com>
25123
ee968201
RM
25124 [BZ #13738]
25125 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25126 * manual/fdl-1.3.texi: New file.
25127 * manual/fdl-1.1.texi: File removed.
25128
74981cc5
RM
25129 [BZ #13738]
25130 * manual/libc.texinfo (FDL_VERSION): New @set.
25131 Use it for mention of FDL in cover text.
25132 (Documentation License): Use it in @include file name.
25133
7bb764bc
JM
251342012-02-22 Joseph Myers <joseph@codesourcery.com>
25135 Roland McGrath <roland@hack.frob.com>
25136
25137 [BZ #5461]
25138 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25139 not LONG_LONG_MAX and LONG_LONG_MIN.
25140 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25141 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25142 name.
25143 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25144
6cbeae47
JM
251452012-02-22 Joseph Myers <joseph@codesourcery.com>
25146
25147 [BZ #2547]
25148 [BZ #11365]
25149 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25150 manipulate bits before adding and subtracting TWO23[sx].
25151 * math/libm-test.inc (nearbyint_test): Add more tests.
25152
fe45ce09
JM
251532012-02-22 Joseph Myers <joseph@codesourcery.com>
25154
25155 [BZ #2548]
25156 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25157 bits before adding and subtracting TWO23[sx].
25158 * math/libm-test.inc (rint_test): Add more tests.
25159 (rint_test_tonearest): Likewise.
25160 (rint_test_towardzero): Likewise.
25161 (rint_test_downward): Likewise.
25162 (rint_test_upward: Likewise.
25163
ff3b3d82
JM
251642012-02-22 Joseph Myers <joseph@codesourcery.com>
25165
25166 [BZ #10110]
25167 * include/stdc-predef.h: New file. Extracted from features.h.
25168 * include/features.h: Include stdc-predef.h.
25169 * Makefile (headers): Add stdc-predef.h.
25170 * CONFORMANCE (Compiler limitations): Update.
25171
ef0aab35
JM
251722012-02-22 Joseph Myers <joseph@codesourcery.com>
25173
25174 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25175
58639409
DM
251762012-02-21 David S. Miller <davem@davemloft.net>
25177
25178 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25179 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25180
c0e70b25
DM
251812012-02-20 David S. Miller <davem@davemloft.net>
25182
25183 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25184 using a normal save/restore sequence, rather than allocating a
25185 dummy stack frame just to store a frame pointer and restore.
25186 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25187
fb06851d
JM
251882012-02-21 Joseph Myers <joseph@codesourcery.com>
25189
25190 * manual/install.texi: Fix stray word in line-wrapped comment.
25191
7a8b71c3
DM
251922012-02-20 David S. Miller <davem@davemloft.net>
25193
d510c123
DM
25194 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25195 both binutils and gcc support GOTDATA.
25196
0722d7c2
DM
25197 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25198 "rd %pc" in the PIC register setup sequences.
25199
3d2b3019
DM
25200 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25201 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25202 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25203 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25204 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25206 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25207 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25208 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25209 (SYSCALL_ERROR_HANDLER): Likewise.
25210 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25211 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25212 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25213 (SYSCALL_ERROR_HANDLER): Likewise.
25214
c80098a9
DM
25215 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25216 (HAVE_GCC_GOTDATA): New.
25217 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25218 relocation support in both binutils and gcc.
25219 * sysdeps/sparc/elf/configure: Regenerate.
25220
3a2545a0
DM
25221 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25222 * sysdeps/sparc/sparc32/elf/configure: Delete.
25223 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25224 * sysdeps/sparc/sparc64/elf/configure: Delete.
25225 * sysdeps/sparc/elf/configure.in: New file.
25226 * sysdeps/sparc/elf/configure: Generate.
25227
7a8b71c3
DM
25228 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25229 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25230 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25231 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25232 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25233
f1e86fca
JM
252342012-02-21 Joseph Myers <joseph@codesourcery.com>
25235
25236 * manual/install.texi: Do not mention specific glibc version
25237 numbers.
25238 * manual/libc.texinfo (VERSION, UPDATED): Update.
25239 (@copying): Use @copyright{} and range of years.
25240
0e7dfaef
JM
252412012-02-21 Joseph Myers <joseph@codesourcery.com>
25242
25243 [BZ #13695]
25244 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25245 [crti.S not in sysdirs] (generated): Do not append.
25246 [crti.S not in sysdirs] (omit-deps): Likewise.
25247 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25248 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25249 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25250 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25251 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25252 Likewise.
25253 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25254 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25255 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25256 * csu/defs.awk: Remove file.
25257 * sysdeps/generic/initfini.c: Likewise.
25258 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25259 variable.
25260 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25261 Likewise.
25262
599af3ca
JM
252632012-02-20 Joseph Myers <joseph@codesourcery.com>
25264
25265 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25266 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25267 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25268 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25269 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25270 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25271 <bits/epoll.h>.
25272 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25273 (__EPOLL_PACKED): Define to empty if not defined by
25274 <bits/epoll.h>.
25275 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25277 bits/epoll.h.
25278
0e499750
JM
252792012-02-20 Joseph Myers <joseph@codesourcery.com>
25280
25281 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25282 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25283 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25284 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25285 <bits/timerfd.h>.
25286 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25288 bits/timerfd.h.
25289
5ad91f6e
JM
252902012-02-20 Joseph Myers <joseph@codesourcery.com>
25291
25292 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25293 in C locale.
25294 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25295 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25296 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25298
06b99b02
AJ
252992012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25300
25301 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25302 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25303
7638c0fd
AS
253042012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25305
25306 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25307 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25308 defined.
25309 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25310 Likewise.
25311 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25312 entry for 2.16.
25313
92221550
AJ
253142012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25315
25316 * math/w_acos.c: Use non-signaling floating-point comparisons.
25317 * math/w_acosf.c: Likewise.
25318 * math/w_acosh.c: Likewise.
25319 * math/w_acoshf.c: Likewise.
25320 * math/w_acoshl.c: Likewise.
25321 * math/w_acosl.c: Likewise.
25322 * math/w_asin.c: Likewise.
25323 * math/w_asinf.c: Likewise.
25324 * math/w_asinl.c: Likewise.
25325 * math/w_atanh.c: Likewise.
25326 * math/w_atanhf.c: Likewise.
25327 * math/w_atanhl.c: Likewise.
25328 * math/w_exp2.c: Likewise.
25329 * math/w_exp2f.c: Likewise.
25330 * math/w_exp2l.c: Likewise.
25331 * math/w_j0.c: Likewise.
25332 * math/w_j0f.c: Likewise.
25333 * math/w_j0l.c: Likewise.
25334 * math/w_j1.c: Likewise.
25335 * math/w_j1f.c: Likewise.
25336 * math/w_j1l.c: Likewise.
25337 * math/w_jn.c: Likewise.
25338 * math/w_jnf.c: Likewise.
25339 * math/w_log.c: Likewise.
25340 * math/w_log10.c: Likewise.
25341 * math/w_log10f.c: Likewise.
25342 * math/w_log10l.c: Likewise.
25343 * math/w_log2.c: Likewise.
25344 * math/w_log2f.c: Likewise.
25345 * math/w_log2l.c: Likewise.
25346 * math/w_logf.c: Likewise.
25347 * math/w_logl.c: Likewise.
25348 * math/w_sqrt.c: Likewise.
25349 * math/w_sqrtf.c: Likewise.
25350 * math/w_sqrtl.c: Likewise.
25351 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25352 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25353 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25354 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25355 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25356
ebaf36eb
JM
253572012-02-19 Joseph Myers <joseph@codesourcery.com>
25358
25359 [BZ #9739]
25360 * manual/string.texi (strnlen): Use correct parameter name in
25361 equivalent expression.
25362
71c254a6
JM
253632012-02-19 Joseph Myers <joseph@codesourcery.com>
25364
25365 [BZ #11174]
25366 * manual/users.texi (seteuid): Consistently use neweuid for
25367 argument name.
25368
16d2c631
JM
253692012-02-19 Joseph Myers <joseph@codesourcery.com>
25370
25371 [BZ #13704]
25372 * manual/nss.texi (Services in the NSS configuration): Correct
25373 list of services in example configuration file.
25374
cd837b09
NB
253752012-02-19 Nick Bowler <nbowler@draconx.ca>
25376
25377 [BZ #11322]
25378 * manual/arith.texi: Remove statements about negative zero
25379 behaving identically to zero.
25380
02c4bbad
JM
253812012-02-18 Joseph Myers <joseph@codesourcery.com>
25382
25383 [BZ #5993]
25384 * manual/install.texi: Do not document upgrading from libc5.
25385
366842e7
JM
253862012-02-18 Joseph Myers <joseph@codesourcery.com>
25387
25388 [BZ #4596]
25389 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25390
dd54084d
DM
253912012-02-18 David S. Miller <davem@davemloft.net>
25392
25393 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25394 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25395 %o7 across the call.
25396 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25397 instead.
25398 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25399 SETUP_PIC_REG_LEAF.
25400 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25401 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25402 * sysdeps/sparc/crtn.S: Likewise.
25403
2bcc53a3
UD
254042012-02-17 Ulrich Drepper <drepper@gmail.com>
25405
25406 * aout/Makefile: Remove.
25407
09c093b5
RK
254082012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25409
25410 [BZ #13058]
25411 * manual/examples/argp-ex1.c (main): Format definition in GNU
25412 style.
25413 * manual/examples/argp-ex2.c (main): Likewise.
25414 * manual/examples/argp-ex3.c (main): Likewise.
25415 * manual/examples/argp-ex4.c (main): Likewise.
25416 * manual/examples/longopt.c (main): Use new-style prototype
25417 definition.
25418 * manual/examples/strncat.c (main): Specify return type and use
25419 (void) for arguments.
25420 * manual/examples/subopt.c (main): Use char **argv argument.
25421
2ee633a2
JM
254222012-02-17 Joseph Myers <joseph@codesourcery.com>
25423
25424 [BZ #5077]
25425 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25426 rounding modes.
25427
0520adde
FB
254282012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25429
25430 [BZ #6907]
25431 * manual/string.texi (strchr): Change when strchrnul is
25432 recommended.
25433
3f4081cd
DGM
254342012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25435
25436 [BZ #174]
25437 * manual/locale.texi (setlocale): Document LOCPATH.
25438
d1b10e78
JM
254392012-02-17 Joseph Myers <joseph@codesourcery.com>
25440
25441 [BZ #10210]
25442 * manual/process.texi (execle): Move @dots{} before last argument.
25443
79c6869c
PB
254442012-02-17 Paul Bolle <pebolle@tiscali.nl>
25445
25446 [BZ #12047]
25447 * manual/charset.texi (Generic Charset Conversion): Fix typo
25448 (LC_TYPE -> LC_CTYPE).
25449
cc6e48bc
NB
254502012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25451
25452 [BZ #5805]
25453 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25454 (scalbnf): Likewise.
25455 (scalbnl): Likewise.
25456 (scalbln): Likewise.
25457 (scalblnf): Likewise.
25458 (scalblnl): Likewise.
25459 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25460 (vwarnx): Likewise.
25461 (verr): Likewise.
25462 (verrx): Likewise.
25463 * manual/filesys.texi (telldir): Use braces around return type.
25464 * manual/llio.texi (mmap): Add space after comma.
25465 (mmap64): Likewise.
25466 * manual/math.texi (jn): Use @var{} on parameter names.
25467 (jnf): Likewise.
25468 (jnl): Likewise.
25469 (yn): Likewise.
25470 (ynf): Likewise.
25471 (ynl): Likewise.
25472 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25473 line.
25474 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25475 "...".
25476 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25477 (sched_get_priority_max): Likewise.
25478 * manual/signal.texi (sigvec): Add space after comma.
25479 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25480 names.
25481 (if_indextoname): Likewise.
25482 (if_freenameindex): Likewise.
25483 (sendto): Use ',' instead of '.' in prototype.
25484 * manual/startup.texi (syscall): Use @dots{} instead of literal
25485 "...".
25486 * manual/stdio.texi (__fpending): Separate initial words of
25487 paragraph from @deftypefun line.
25488 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25489 "...".
25490 (vsyslog): Use @var{} on parameter names.
25491 * manual/terminal.texi (stty): Use @var{} on parameter names.
25492 * manual/users.texi (getutmp): Use @var{} on parameter names.
25493 (getutmpx): Likewise.
25494
5b23062f
JM
254952012-02-17 Joseph Myers <joseph@codesourcery.com>
25496
25497 [BZ #6884]
25498 * manual/stdio.texi (fopen): Fix typos in description of
25499 ",ccs=STRING".
25500
8dee4833
AJ
255012012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25502
25503 [BZ #4026]
25504 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25505 get clock_id definition.
25506
9078ce93
TS
255072012-02-17 Thomas Schwinge <thomas@schwinge.name>
25508
25509 [BZ #4822]
25510 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25511 (madvise): Cast every argument to void on its own.
25512
3835c55f
JM
255132012-02-17 Joseph Myers <joseph@codesourcery.com>
25514
25515 [BZ #9902]
25516 * manual/startup.texi (Exit Status): Fix typo.
25517
35c47e37
JM
255182012-02-17 Joseph Myers <joseph@codesourcery.com>
25519
25520 [BZ #10140]
25521 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25522 * manual/examples/argp-ex2.c: Likewise.
25523 * manual/examples/argp-ex3.c: Likewise.
25524
e3b69ca7
RH
255252012-02-16 Richard Henderson <rth@redhat.com>
25526
25527 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25528 * sysdeps/s390/s390-32/initfini.c: Remove.
25529 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25530 * sysdeps/s390/s390-64/initfini.c: Remove.
25531
df83af67
KK
255322012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25533
25534 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25535 compiler output for sysdeps/generic/initfini.c.
25536 * sysdeps/sh/elf/initfini.c: Remove file.
25537
f63f3380
DM
255382012-02-16 David S. Miller <davem@davemloft.net>
25539
fb59b3a4
DM
25540 [BZ #11494]
25541 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25542
f63f3380
DM
25543 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25544 * sysdeps/sparc/crti.S: New file.
25545 * sysdeps/sparc/crtn.S: New file.
25546 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25547 * sysdeps/sparc/sparc64/Makefile: Likewise.
25548
df6a4a4a
MF
255492012-02-15 Mike Frysinger <vapier@gentoo.org>
25550
6dd8f3dc 25551 [BZ #3335]
df6a4a4a
MF
25552 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25553
1cac7236
RM
255542012-02-15 Roland McGrath <roland@hack.frob.com>
25555
d2c736f8
RM
25556 [BZ #4822]
25557 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25558
1cac7236
RM
25559 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25560 (write, read, close): Likewise.
25561 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25562
8e475601
JM
255632012-02-15 Joseph Myers <joseph@codesourcery.com>
25564
25565 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25566 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25567 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25568 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25569 <bits/signalfd.h>.
25570 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25572 bits/signalfd.h.
25573
ed656b40
MP
255742012-02-14 Marek Polacek <polacek@redhat.com>
25575
25576 * sysdeps/x86_64/crti.S: New file.
25577 * sysdeps/x86_64/crtn.S: New file.
25578 * sysdeps/x86_64/elf/initfini.c: Remove file.
25579
2a979d3a
JM
255802012-02-13 Joseph Myers <joseph@codesourcery.com>
25581
25582 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25583 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25584 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25585 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25586 <bits/inotify.h>.
25587 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25589 bits/inotify.h.
25590
2a418ac3
JM
255912012-02-13 Joseph Myers <joseph@codesourcery.com>
25592
25593 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25594 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25595 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25596 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25597 <bits/eventfd.h>.
25598 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25599 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25600 bits/eventfd.h.
25601
fb779be7
TS
256022012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25603
e19e83c5
RM
25604 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25605 __feraiseexcept instead of feraiseexcept.
7c35ffed 25606
fb779be7
TS
25607 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25608 nanosleep invocations.
25609 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25610 strings, and add error checking for a nanosleep invocations.
25611
59ba27a6
PE
256122012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25613
25614 Replace FSF snail mail address with URLs, as per GNU coding standards.
25615 Most of the snail mail addresses were wrong anyway, and omitting
25616 them makes the source code easier to maintain. Almost all of the
25617 changes are to license notices and to locale LC_IDENTIFICATION
25618 addresses, except for this one:
25619 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25620 not its snail mail address.
25621
57b957eb
RH
256222012-02-09 Richard Henderson <rth@twiddle.net>
25623
af850b1c
RH
25624 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25625 of kernel-features.h.
25626
57b957eb
RH
25627 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25628
6b73181a
MP
256292012-02-08 Marek Polacek <polacek@redhat.com>
25630
25631 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25632 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25633 * sysdeps/gnu/_G_config.h: Likewise.
25634 * sysdeps/generic/_G_config.h: Likewise.
25635
26ecc33a
AS
256362012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25637
6c6dbc63
AS
25638 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25639 tests.
25640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25641
e216c012
AS
25642 * sysdeps/powerpc/powerpc32/crti.S: New file.
25643 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25644 * sysdeps/powerpc/powerpc64/crti.S: New file.
25645 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25646
26ecc33a
AS
25647 * Makeconfig (have-initfini): Don't set.
25648 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25649 * configure.in (nopic_initfini): Don't substitute.
25650 * config.h.in (HAVE_INITFINI): Don't #undef.
25651 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25652 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25653
3add8e13
JM
256542012-02-08 Joseph Myers <joseph@codesourcery.com>
25655
25656 Support crti.S and crtn.S provided directly by architectures.
25657 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25658 [crti.S in sysdirs] (omit-deps): Likewise.
25659 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25660 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25661 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25662 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25663 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25664 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25665 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25666 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25667 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25668 compiler output for sysdeps/generic/initfini.c.
25669 * sysdeps/i386/elf/Makefile: Remove file.
25670 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25671
a22f12b4
MP
256722012-02-07 Marek Polacek <polacek@redhat.com>
25673
25674 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25675 * sysdeps/gnu/_G_config.h: Likewise.
25676 * sysdeps/mach/hurd/_G_config.h: Likewise.
25677
148cf100
MP
256782012-02-07 Marek Polacek <polacek@redhat.com>
25679
25680 * math/Makefile (tests): Add tst-CMPLX2.
25681 * math/tst-CMPLX2.c: New file.
25682
cfdc0dd7
AS
256832012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25684
84ba42c4
AS
25685 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25686
cfdc0dd7
AS
25687 * math/libm-test.inc (jn_test): Add missing L suffix.
25688
622c86f4
MP
256892012-02-06 Marek Polacek <polacek@redhat.com>
25690
25691 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25692 * sysdeps/i386/fpu/e_powf.S: Likewise.
25693 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25694 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25695 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25696 * sysdeps/i386/fpu/e_pow.S: Likewise.
25697 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25698 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25699 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25700 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25701 * sysdeps/i386/fpu/e_log2.S: Likewise.
25702 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25703 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25704 * sysdeps/i386/fpu/e_powl.S: Likewise.
25705 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25706 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25707 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25708 * sysdeps/i386/fpu/e_logl.S: Likewise.
25709 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25710 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25711 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25712 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25713 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25714 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25715 * sysdeps/i386/fpu/e_log.S: Likewise.
25716 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25717 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25718 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25719 * sysdeps/i386/fpu/e_logf.S: Likewise.
25720 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25721 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25722 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25723 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25724 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25725 * sysdeps/i386/fpu/e_log10.S: Likewise.
25726 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25727 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25728 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25729 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25730 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25731 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25732 * sysdeps/i386/asm-syntax.h: Likewise.
25733 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25734 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25735 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25736 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25737 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25738 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25739 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25740 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25741 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25742 * sysdeps/powerpc/sysdep.h: Likewise.
25743 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25744 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25745
d4a54ac6
JM
257462012-02-06 Joseph Myers <joseph@codesourcery.com>
25747
25748 [BZ #411]
25749 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25750
314054ea
JM
257512012-02-06 Joseph Myers <joseph@codesourcery.com>
25752
25753 * sysdeps/i386/sysdep.h: Include <features.h>.
25754 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25755 version.
25756
d8e0ca50
JM
257572012-02-05 Joseph Myers <joseph@codesourcery.com>
25758
25759 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25760 Define.
25761 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25762 LOAD_PIC_REG_STR.
25763
b1da7dd9
JM
257642012-02-03 Joseph Myers <joseph@codesourcery.com>
25765
25766 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25767 (SETUP_PIC_REG): Use GET_PC_THUNK.
25768 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25769 macro.
25770
9a1d9254
JM
257712012-02-03 Joseph Myers <joseph@codesourcery.com>
25772
25773 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25774 for non-PIC compilation.
25775 (SETUP_PIC_REG): Add .p2align directive.
25776 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25777 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25778 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25779 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25780 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25781 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25782 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25783 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25784 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25785 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25786 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25787 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25788 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25789 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25790 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25791 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25792 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25793 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25794 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25795 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25796 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25797 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25798 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25799 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25800 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25801 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25802 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25803 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25804 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25805 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25806 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25807 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25808 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25809 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25810 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25811 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25812 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25813 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25814 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25815 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25816 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25817
65dc3b75
JM
258182012-02-03 Joseph Myers <joseph@codesourcery.com>
25819
25820 * math/tst-CMPLX.c: Include <stdio.h>.
25821
d55bf177
JM
258222012-01-31 Joseph Myers <joseph@codesourcery.com>
25823
25824 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25825 float.
25826 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25827 * sysdeps/sparc/bits/mathdef.h: Likewise.
25828
69db4f8f
MP
258292012-01-31 Marek Polacek <polacek@redhat.com>
25830
25831 * libio/libio.h: Don't define _PARAMS.
25832 * locale/programs/config.h: Don't define PARAMS.
25833 * stdlib/strtol_l.c: Likewise.
25834 (__strtol_l): Remove PARAMS from the prototype.
25835
41b81892
UD
258362012-01-31 Ulrich Drepper <drepper@gmail.com>
25837
3b49edc0
UD
25838 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25839 names. Just use the correct names. Remove unnecessary wrapper
25840 functions.
25841 * malloc/arena.c: Likewise.
25842 * malloc/hooks.c: Likewise.
25843
41b81892
UD
25844 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25845 ARENA_TEST says not to. Simplify test for creation of a new arena.
25846 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25847
27a25b6e
UD
258482012-01-30 Ulrich Drepper <drepper@gmail.com>
25849
25850 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25851 into tail calls.
25852 (update_get_addr): New function.
25853 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25854 GET_ADDR_MODULE parameter.
25855
c8a89e7d
JM
258562012-01-30 Joseph Myers <joseph@codesourcery.com>
25857
25858 * crypt/cert.c: Remove __STDC__ conditionals.
25859 * crypt/crypt-entry.c: Likewise.
25860 * crypt/crypt_util.c: Likewise.
25861 * libio/filedoalloc.c: Likewise.
25862 * libio/fileops.c: Likewise.
25863 * libio/genops.c: Likewise.
25864 * libio/iofclose.c: Likewise.
25865 * libio/iofdopen.c: Likewise.
25866 * libio/iofopen.c: Likewise.
25867 * libio/iofopen64.c: Likewise.
25868 * libio/iogetdelim.c: Likewise.
25869 * libio/iopopen.c: Likewise.
25870 * libio/obprintf.c: Likewise.
25871 * libio/oldfileops.c: Likewise.
25872 * libio/oldiofclose.c: Likewise.
25873 * libio/oldiofdopen.c: Likewise.
25874 * libio/oldiofopen.c: Likewise.
25875 * libio/oldiopopen.c: Likewise.
25876 * libio/wfiledoalloc.c: Likewise.
25877 * libio/wgenops.c: Likewise.
25878 * locale/programs/xmalloc.c: Likewise.
25879 * misc/syslog.c: Likewise.
25880 * stdio-common/xbug.c: Likewise.
25881 * string/memchr.c: Likewise.
25882 * string/memcmp.c: Likewise.
25883 * string/memrchr.c: Likewise.
25884 * string/rawmemchr.c: Likewise.
25885 * sysdeps/posix/getcwd.c: Likewise.
25886 * time/strftime_l.c: Likewise.
25887
3b100462
JM
258882012-01-30 Joseph Myers <joseph@codesourcery.com>
25889
25890 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25891 * config.make.in (config-cflags-sse2avx): Define.
25892 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25893 Fix typo.
25894
607998af
CM
258952012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25896
25897 * scripts/config.guess: Update from upstream config git repository.
25898 * scripts/config.sub: Likewise.
25899
3601428f
CM
259002012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25901
3ac8b282
CM
25902 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25903 (EM_NUM): Update.
25904 (R_TILEPRO_*, R_TILEGX_*): New macros.
25905
e034841e
CM
25906 * scripts/firstversions.awk: Fix bug in version range handling.
25907
540d7568
CM
25908 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25909
3601428f
CM
25910 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25911
463de862
CM
25912 * include/sys/epoll.h: New file.
25913 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25914 libc_hidden_def.
25915
73139a76
UD
259162012-01-28 Ulrich Drepper <drepper@gmail.com>
25917
96bc5b45
UD
25918 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25919 Avoid unnecessary __WORDSIZE == 64 test.
25920 (fmaxf): Use VEX format if possible.
25921 (fmax): Likewise.
25922 (fminf): Likewise.
25923 (fmin): Likewise.
25924
56f6f6a2
UD
25925 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25926 * math/math_private.h: Remove libc_fegetround* and
25927 libc_fesetround*.
25928 * sysdeps/i386/configure.in: Check for -msse2avx.
25929 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25930 also if SSE2AVX is defined.
25931 Remove libc_fegetround* and libc_fesetround*.
25932 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25933 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25934 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25935 of HAS_YMM_USABLE.
25936 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25937 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25938 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25939 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25940 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25941
73139a76
UD
25942 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25943
d73f93a4
AZ
259442012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25945
25946 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25947 size is not set.
25948 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25949
6ee65ed6
UD
259502012-01-27 Ulrich Drepper <drepper@gmail.com>
25951
25952 [BZ #13618]
25953 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25954 relocation.
25955 * Makeconfig (libm): Define.
25956 * elf/Makefile: Add rules to build and run tst-relsort1.
25957 * elf/tst-relsort1.c: New file.
25958 * elf/tst-relsort1mod1.c: New file.
25959 * elf/tst-relsort1mod2.c: New file.
25960
8db21882
JM
259612012-01-27 Joseph Myers <joseph@codesourcery.com>
25962
25963 * math/s_ldexp.c: Remove __STDC__ conditionals.
25964 * math/s_ldexpf.c: Likewise.
25965 * math/s_ldexpl.c: Likewise.
25966 * math/s_nextafter.c: Likewise.
25967 * math/s_nexttowardf.c: Likewise.
25968 * math/s_significand.c: Likewise.
25969 * math/s_significandf.c: Likewise.
25970 * math/s_significandl.c: Likewise.
25971 * math/w_jnl.c: Likewise.
25972 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25973 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25974 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25975 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25976 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25977 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25978 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25979 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25980 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25981 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25982 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25983 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25984 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25985 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25986 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25987 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25988 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25989 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25990 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25991 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25992 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25993 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25994 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25995 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25996 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25997 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25998 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25999 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26000 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26001 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26002 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26003 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26004 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26005 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26006 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26007 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26008 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26009 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26010 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26011 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26012 * sysdeps/ieee754/k_standard.c: Likewise.
26013 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26014 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26015 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26016 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26017 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26018 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26019 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26020 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26021 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26022 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26023 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26024 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26025 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26026 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26027 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26028 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26029 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26030 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26031 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26032 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26033 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26034 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26035 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26036 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26037 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26038 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26039 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26040 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26041 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26042 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26043 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26044 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26045 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26046 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26047 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26048 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26049 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26050 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26051 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26052 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26053 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26054 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26055 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26056 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26057 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26058 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26059 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26060 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26061 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26062 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26063 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26064 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26065 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26066 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26067 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26068 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26069 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26070 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26071 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26072 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26073 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26074 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26075 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26076 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26077 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26078 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26079 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26080 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26081 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26082 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26083 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26084 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26085 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26086 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26087 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26088 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26089 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26090 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26091 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26092 * sysdeps/ieee754/s_matherr.c: Likewise.
26093 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26094 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26095 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26096 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26097
965a54a4
JM
260982012-01-26 Joseph Myers <joseph@codesourcery.com>
26099
26100 * crypt/md5.h: Remove __STDC__ conditionals.
26101 * libio/libioP.h: Likewise.
26102 * locale/programs/config.h: Likewise.
26103 * sysdeps/generic/sysdep.h: Likewise.
26104 * sysdeps/i386/asm-syntax.h: Likewise.
26105 * sysdeps/s390/asm-syntax.h: Likewise.
26106 * sysdeps/unix/sysdep.h: Likewise.
26107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26109
7071ad79
JM
261102012-01-26 Joseph Myers <joseph@codesourcery.com>
26111
26112 * libio/libio.h: Remove __STDC__ conditionals.
26113 * malloc/obstack.h: Likewise.
26114 * math/complex.h: Likewise.
26115 * math/math.h: Likewise.
26116 * sysdeps/generic/_G_config.h: Likewise.
26117 * sysdeps/gnu/_G_config.h: Likewise.
26118 * sysdeps/mach/hurd/_G_config.h: Likewise.
26119 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26120 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26121 * sysdeps/sparc/bits/mathdef.h: Likewise.
26122
afc5ed09
UD
261232012-01-26 Ulrich Drepper <drepper@gmail.com>
26124
26125 [BZ #13583]
26126 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 26127 Clean up HAS_* macros.
afc5ed09 26128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
26129 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26130 possible.
26131 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26132 HAS_AVX.
26133 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26134 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26135 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26136 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26137 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26138
bdb6de1d
JM
261392012-01-25 Joseph Myers <joseph@codesourcery.com>
26140
26141 * elf/tst-unique3.cc (gets): Remove declaration.
26142 * elf/tst-unique3lib.cc (gets): Likewise.
26143 * elf/tst-unique3lib2.cc (gets): Likewise.
26144 * elf/tst-unique4.cc (gets): Likewise.
26145
b15549e6
UD
261462012-01-24 Ulrich Drepper <drepper@gmail.com>
26147
26148 * include/stdio.h: Add C++ protection. Add gets declarations and
26149 definitions.
26150 * debug/tst-chk1.c: Don't declare gets here.
26151 * stdio-common/tst-gets.c: Likewise.
26152
a037381f
JM
261532012-01-24 Joseph Myers <joseph@codesourcery.com>
26154
26155 * posix/glob: Remove directory.
26156
f1d4aa75
JM
261572012-01-24 Joseph Myers <joseph@codesourcery.com>
26158
26159 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26160
81c0c964
PT
261612012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26162
26163 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26164 of the non-standard EPFNOSUPPORT.
26165
0ea698ae
ST
261662011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26167
26168 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26169 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26170 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26171
d220b117
UD
261722012-01-21 Ulrich Drepper <drepper@gmail.com>
26173
26174 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26175
3e1aa84e
UD
261762012-01-20 Ulrich Drepper <drepper@gmail.com>
26177
26178 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26179 transient errors.
26180 * nscd/grpcache.c (cache_addgr): Likewise.
26181 * nscd/hstcache.c (cache_addhst): Likewise.
26182 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26183 * nscd/pwdcache.c (cache_addpw): Likewise.
26184 * nscd/servicescache.c (cache_addserv): Likewise.
26185
400aa020
UD
261862012-01-16 Ulrich Drepper <drepper@gmail.com>
26187
d77e7869
UD
26188 * malloc/malloc.c: Various cleanups.
26189 * malloc/hooks.c: Likewise.
26190
400aa020
UD
26191 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26192 * stdlib/bug-fmtmsg1.c: New file.
26193
26194 * stdlib/fmtmsg.c (init): Add missing unlock.
26195 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26196
e0a309cf
MP
261972012-01-12 Marek Polacek <polacek@redhat.com>
26198
26199 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26200 and _GNU_SOURCE.
26201
929d11c7
WS
262022012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26203
26204 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26205 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26206 macro to ensure uniqueness of label name.
26207 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26208 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26209
41d0e869
UD
262102012-01-11 Ulrich Drepper <drepper@gmail.com>
26211
0cc5ed3b
UD
26212 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26213
41d0e869
UD
26214 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26215 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26216 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26217 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26218
a47a831a
UD
262192012-01-10 Ulrich Drepper <drepper@gmail.com>
26220
daa891c0
UD
26221 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26222
26223 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26224 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26225 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26226
e58ef0f2
UD
26227 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26228
a47a831a 26229 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26230 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26231 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26232 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26233
26234 * math/bits/math-finite.h: Add ldexp support.
26235
a0bfc9c7
MP
262362012-01-10 Marek Polacek <polacek@redhat.com>
26237
26238 * locale/programs/localedef.h (show_archive_content): Add noreturn
26239 attribute.
26240
d6e97a1d
UD
262412012-01-09 Ulrich Drepper <drepper@gmail.com>
26242
26243 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26244
d5835c26
UD
262452012-01-08 Ulrich Drepper <drepper@gmail.com>
26246
e5f484c6
UD
26247 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26248
d5835c26
UD
26249 * io/Makefile (headers): Add bits/poll2.h.
26250
d1f741e9
WS
262512011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26252
26253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26254 typo #include statement.
26255
ec09c1c4
UD
262562012-01-08 Ulrich Drepper <drepper@gmail.com>
26257
26258 * include/sys/cdefs.h: Define __attribute_alloc_size.
26259 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26260 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26261 * elf/pldd.c: Likewise.
26262 * iconv/iconv_charmap.c: Likewise.
26263 * iconv/iconvconfig.c: Likewise.
26264 * iconv/strtab.c: Likewise.
26265 * locale/programs/locale.c: Likewise.
26266 * locale/programs/localedef.h: Likewise.
26267 * locale/programs/simple-hash.c: Likewise.
26268 * nscd/nscd.h: Likewise.
26269 * nss/makedb.c: Likewise.
26270 * sysdeps/generic/ldconfig.h: Likewise.
26271 * locale/programs/localedef.c: Remove xmalloc prototype.
26272 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26273
20b38e03
PP
262742012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26275
26276 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26277 appropriate.
26278
a0da5fe1
UD
262792012-01-08 Ulrich Drepper <drepper@gmail.com>
26280
1d5a644a 26281 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26282 * math/tst-CMPLX.c: New file.
1d5a644a 26283
8784a6db
UD
26284 * math/complex.h (CMPLXL): Fix typo.
26285
d9a216c0
UD
26286 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26287 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26288 GLIBC_2.16.
26289 * debug/tst-chk1.c: Add poll and ppoll tests.
26290 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26291 * include/sys/poll.h: Add hidden proto for ppoll.
26292 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26293 * sysdeps/mach/hurd/ppoll.c: Likewise.
26294 * io/ppoll.c: Likewise.
26295 * debug/poll_chk.c: New file.
26296 * debug/ppoll_chk.c: New file.
26297 * include/bits/poll2.h: New file.
26298 * io/bits/poll2.h: New file.
26299
ac097f5c
UD
26300 [BZ #1350]
26301 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26302
2119dcfa
UD
26303 * configure.in: static is always set to yes. Remove.
26304 * config.make.in: Don't set build-static.
26305 * Makeconfig: Remove use of build-static.
26306 * dlfcn/Makefile: Likewise.
26307 * elf/Makefile: Likewise.
26308 * math/Makefile: Likewise.
26309 * misc/Makefile: Likewise.
26310 * nptl/Makefile: Likewise.
26311 * sysdeps/mach/hurd/Makefile: Likewise.
26312
121766a9
UD
26313 * configure.in: PWD_P is not used anymore.
26314 * config.make.in: Remove PWD_P entry.
26315
51a1d39c 26316 * configure.in: Remove last remnants of RANLIB.
8720d066 26317 No need to check for signed size_t anymore.
215f4bdc
UD
26318 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26319 and IA-64.
3857022a 26320 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26321 * aclocal.m4: Likewise.
26322
d3ed7225
UD
26323 * wcsmbs/mbrtoc16.c: Implement using towc function.
26324 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26325 * wcsmbs/wcsmbsload.c: Likewise.
26326 * iconv/gconv_simple.c: Likewise.
26327 * iconv/gconv_int.h: Likewise.
26328 * iconv/gconv_builtin.h: Likewise.
26329 * iconv/iconv_prog.c: Remove CHAR16 handling.
26330
26331 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26332
26333 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26334
a0da5fe1
UD
26335 * configure.in: Remove --with-elf and --enable-bounded options.
26336 Dont set base_machine for ia64. More non-ELF conditions removed.
26337 Remove testing and setting of leading underscore information.
26338 * config.make.in (build-bounded): Set to no.
26339 * config.h.in: Remove NO_UNDERSCORES entry.
26340 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26341 them.
26342 * csu/start.c: Remove !NO_UNDERSCORE code.
26343 * locale/localeinfo.h: Likewise.
26344 * sysdeps/generic/machine-gmon.h: Likewise.
26345 * sysdeps/generic/sysdep.h: Likewise.
26346 * sysdeps/i386/sysdep.h: Likewise.
26347 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26348 * sysdeps/mach/sysdep.h: Likewise.
26349 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26350 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26351 * sysdeps/sh/sysdep.h: Likewise.
26352 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26353 * sysdeps/unix/i386/sysdep.S: Likewise.
26354 * sysdeps/unix/sparc/start.c: Likewise.
26355 * sysdeps/unix/sparc/sysdep.S: Likewise.
26356 * sysdeps/unix/sparc/sysdep.h: Likewise.
26357 * sysdeps/unix/start.c: Likewise.
26358 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26359 * sysdeps/x86_64/sysdep.h: Likewise.
26360
df78418a
UD
263612012-01-07 Ulrich Drepper <drepper@gmail.com>
26362
a784e502
UD
26363 [BZ #13553]
26364 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26365 for non-gcc.
26366 * argp/argp-fmtstream.h: Use const instead __const.
26367 * argp/argp.h: Likewise.
26368 * assert/assert.h: Likewise.
26369 * bits/fenv.h: Likewise.
26370 * bits/sched.h: Likewise.
26371 * bits/sigset.h: Likewise.
26372 * bits/sigthread.h: Likewise.
26373 * catgets/nl_types.h: Likewise.
26374 * conform/data/pthread.h-data: Likewise.
26375 * crypt/crypt-private.h: Likewise.
26376 * crypt/crypt.h: Likewise.
26377 * crypt/crypt_util.c: Likewise.
26378 * ctype/ctype.h: Likewise.
26379 * debug/execinfo.h: Likewise.
26380 * debug/mbsnrtowcs_chk.c: Likewise.
26381 * debug/mbsrtowcs_chk.c: Likewise.
26382 * debug/wcsnrtombs_chk.c: Likewise.
26383 * debug/wcsrtombs_chk.c: Likewise.
26384 * debug/wcstombs_chk.c: Likewise.
26385 * dirent/dirent.h: Likewise.
26386 * dlfcn/dlfcn.h: Likewise.
26387 * elf/neededtest4.c: Likewise.
26388 * grp/grp.h: Likewise.
26389 * gshadow/gshadow.h: Likewise.
26390 * iconv/gconv.h: Likewise.
26391 * iconv/gconv_int.h: Likewise.
26392 * iconv/gconv_simple.c: Likewise.
26393 * iconv/iconv.h: Likewise.
26394 * iconv/loop.c: Likewise.
26395 * iconv/skeleton.c: Likewise.
26396 * include/aio.h: Likewise.
26397 * include/aliases.h: Likewise.
26398 * include/argz.h: Likewise.
26399 * include/arpa/inet.h: Likewise.
26400 * include/assert.h: Likewise.
26401 * include/dirent.h: Likewise.
26402 * include/dlfcn.h: Likewise.
26403 * include/execinfo.h: Likewise.
26404 * include/fcntl.h: Likewise.
26405 * include/fenv.h: Likewise.
26406 * include/glob.h: Likewise.
26407 * include/grp.h: Likewise.
26408 * include/libintl.h: Likewise.
26409 * include/mntent.h: Likewise.
26410 * include/netdb.h: Likewise.
26411 * include/pwd.h: Likewise.
26412 * include/rpc/netdb.h: Likewise.
26413 * include/sched.h: Likewise.
26414 * include/search.h: Likewise.
26415 * include/shadow.h: Likewise.
26416 * include/signal.h: Likewise.
26417 * include/stdio.h: Likewise.
26418 * include/stdlib.h: Likewise.
26419 * include/string.h: Likewise.
26420 * include/sys/socket.h: Likewise.
26421 * include/sys/stat.h: Likewise.
26422 * include/sys/statfs.h: Likewise.
26423 * include/sys/statvfs.h: Likewise.
26424 * include/sys/syslog.h: Likewise.
26425 * include/sys/time.h: Likewise.
26426 * include/sys/uio.h: Likewise.
26427 * include/time.h: Likewise.
26428 * include/unistd.h: Likewise.
26429 * include/utmp.h: Likewise.
26430 * include/wchar.h: Likewise.
26431 * include/wctype.h: Likewise.
26432 * inet/aliases.h: Likewise.
26433 * inet/arpa/inet.h: Likewise.
26434 * inet/netinet/ether.h: Likewise.
26435 * inet/netinet/in.h: Likewise.
26436 * intl/libintl.h: Likewise.
26437 * io/bits/fcntl2.h: Likewise.
26438 * io/fcntl.h: Likewise.
26439 * io/ftw.h: Likewise.
26440 * io/sys/poll.h: Likewise.
26441 * io/sys/stat.h: Likewise.
26442 * io/sys/statfs.h: Likewise.
26443 * io/sys/statvfs.h: Likewise.
26444 * io/utime.h: Likewise.
26445 * libio/bits/stdio.h: Likewise.
26446 * libio/bits/stdio2.h: Likewise.
26447 * libio/libio.h: Likewise.
26448 * libio/libioP.h: Likewise.
26449 * libio/stdio.h: Likewise.
26450 * locale/lc-ctype.c: Likewise.
26451 * locale/locale.h: Likewise.
26452 * login/utmp.h: Likewise.
26453 * malloc/arena.c: Likewise.
26454 * malloc/malloc.c: Likewise.
26455 * malloc/malloc.h: Likewise.
26456 * malloc/mcheck.c: Likewise.
26457 * malloc/mtrace.c: Likewise.
26458 * math/bits/mathcalls.h: Likewise.
26459 * math/fenv.h: Likewise.
26460 * math/math_private.h: Likewise.
26461 * misc/bits/error.h: Likewise.
26462 * misc/bits/syslog.h: Likewise.
26463 * misc/err.h: Likewise.
26464 * misc/error.h: Likewise.
26465 * misc/fstab.h: Likewise.
26466 * misc/mntent.h: Likewise.
26467 * misc/regexp.h: Likewise.
26468 * misc/search.h: Likewise.
26469 * misc/sgtty.h: Likewise.
26470 * misc/sys/mman.h: Likewise.
26471 * misc/sys/syslog.h: Likewise.
26472 * misc/sys/uio.h: Likewise.
26473 * misc/sys/xattr.h: Likewise.
26474 * misc/ttyent.h: Likewise.
26475 * nis/rpcsvc/ypclnt.h: Likewise.
26476 * nss/nss.h: Likewise.
26477 * posix/bits/unistd.h: Likewise.
26478 * posix/fnmatch.h: Likewise.
26479 * posix/glob.h: Likewise.
26480 * posix/sched.h: Likewise.
26481 * posix/spawn.h: Likewise.
26482 * posix/sys/wait.h: Likewise.
26483 * posix/unistd.h: Likewise.
26484 * posix/wordexp.h: Likewise.
26485 * pwd/pwd.h: Likewise.
26486 * resolv/netdb.h: Likewise.
26487 * resource/sys/resource.h: Likewise.
26488 * rt/aio.h: Likewise.
26489 * rt/bits/mqueue2.h: Likewise.
26490 * rt/mqueue.h: Likewise.
26491 * shadow/shadow.h: Likewise.
26492 * signal/signal.h: Likewise.
26493 * socket/send.c: Likewise.
26494 * socket/sendto.c: Likewise.
26495 * socket/sys/socket.h: Likewise.
26496 * stdio-common/printf.h: Likewise.
26497 * stdlib/bits/stdlib.h: Likewise.
26498 * stdlib/fmtmsg.h: Likewise.
26499 * stdlib/monetary.h: Likewise.
26500 * stdlib/stdlib.h: Likewise.
26501 * stdlib/ucontext.h: Likewise.
26502 * streams/stropts.h: Likewise.
26503 * string/argz.h: Likewise.
26504 * string/bits/string2.h: Likewise.
26505 * string/string.h: Likewise.
26506 * string/strings.h: Likewise.
26507 * sunrpc/rpc/auth.h: Likewise.
26508 * sunrpc/rpc/auth_des.h: Likewise.
26509 * sunrpc/rpc/clnt.h: Likewise.
26510 * sunrpc/rpc/netdb.h: Likewise.
26511 * sunrpc/rpc/pmap_clnt.h: Likewise.
26512 * sunrpc/rpc/xdr.h: Likewise.
26513 * sysdeps/generic/inttypes.h: Likewise.
26514 * sysdeps/generic/net/if.h: Likewise.
26515 * sysdeps/generic/sys/swap.h: Likewise.
26516 * sysdeps/gnu/net/if.h: Likewise.
26517 * sysdeps/gnu/utmpx.h: Likewise.
26518 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26519 * sysdeps/i386/i486/bits/string.h: Likewise.
26520 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26521 * sysdeps/s390/bits/string.h: Likewise.
26522 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26523 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26524 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26525 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26526 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26527 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26528 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26529 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26530 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26531 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26532 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26533 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26534 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26535 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26536 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26537 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26538 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26539 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26540 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26541 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26542 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26543 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26544 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26545 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26546 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26547 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26548 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26549 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26550 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26551 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26552 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26553 * sysvipc/sys/ipc.h: Likewise.
26554 * sysvipc/sys/msg.h: Likewise.
26555 * sysvipc/sys/sem.h: Likewise.
26556 * sysvipc/sys/shm.h: Likewise.
26557 * termios/termios.h: Likewise.
26558 * time/sys/time.h: Likewise.
26559 * time/time.h: Likewise.
26560 * wcsmbs/bits/wchar2.h: Likewise.
26561 * wcsmbs/uchar.h: Likewise.
26562 * wcsmbs/wchar.h: Likewise.
26563 * wctype/wctype.h: Likewise.
26564
0269750c
UD
26565 [BZ #13551]
26566 * Makeconfig: Remove all but ELF support including AIX support.
26567 * Makerules: Likewise.
26568 * config.h.in: Likewise.
26569 * config.make.in: Likewise.
26570 * configure: Likewise.
26571 * configure.in: Likewise.
26572 * csu/Makefile: Likewise.
26573 * csu/version.c: Likewise.
26574 * debug/Makefile: Likewise.
26575 * dlfcn/Makefile: Likewise.
26576 * elf/Makefile: Likewise.
26577 * extra-lib.mk: Likewise.
26578 * iconv/Makefile: Likewise.
26579 * include/libc-symbols.h: Likewise.
26580 * include/shlib-compat.h: Likewise.
26581 * resolv/Makefile: Likewise.
26582 * resolv/res_libc.c: Likewise.
26583 * rt/Makefile: Likewise.
26584 * sysdeps/i386/asm-syntax.h: Likewise.
26585 * sysdeps/i386/sysdep.h: Likewise.
26586 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26587 * sysdeps/mach/sysdep.h: Likewise.
26588 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26589 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26590 * sysdeps/s390/asm-syntax.h: Likewise.
26591 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26592 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26593 * sysdeps/sh/sysdep.h: Likewise.
26594 * sysdeps/unix/sparc/sysdep.h: Likewise.
26595 * sysdeps/wordsize-32/divdi3.c: Likewise.
26596 * sysdeps/x86_64/sysdep.h: Likewise.
26597
00bbd29b
UD
26598 * argp/Versions: Remove _argp_unlock_xxx.
26599
26600 [BZ #13559]
26601 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26602 * abilist/libBrokenLocale.abilist: Likewise.
26603 * abilist/libanl.abilist: Likewise.
26604 * abilist/libc.abilist: Likewise.
26605 * abilist/libcrypt.abilist: Likewise.
26606 * abilist/libdl.abilist: Likewise.
26607 * abilist/libm.abilist: Likewise.
26608 * abilist/libnsl.abilist: Likewise.
26609 * abilist/libpthread.abilist: Likewise.
26610 * abilist/libresolv.abilist: Likewise.
26611 * abilist/librt.abilist: Likewise.
26612 * abilist/libthread_db.abilist: Likewise.
26613 * abilist/libutil.abilist: Likewise.
26614 * abilist/libnss_db.abilist: New file.
26615
26616 * scripts/abilist.awk: Add support for indirect functions.
26617
a2693a0e
UD
26618 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26619
3f05895f
UD
26620 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26621
ecb6fb48
UD
26622 * shlib-versions: Remove entries for ports architectures.
26623
664f8cb9
UD
26624 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26625 files in ports.
26626 * elf/stackguard-macros.h: Remove support for IA-64.
26627 * elf/tst-auditmod1.c: Likewise.
26628 * sysdeps/generic/ldsodefs.h: Likewise.
26629
7ae81d88
UD
26630 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26631 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26632 configure files.
26633
bdeba135
UD
26634 [BZ #13552]
26635 * configure.in: Remove --enable-omitfp support.
26636 * FAQ.in: Adjust.
26637 * config.make.in: Likewise.
26638 * Makeconfig: Likewise.
26639 * manual/install.texi: Likewise.
26640
d75a0a62
UD
26641 In case anyone cares, the IA-64 architecture could move to ports.
26642 * sysdeps/ia64/*: Removed.
26643 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26644 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26645
dcc9756b
UD
26646 [BZ #13555]
26647 * configure.in: Remove entries for unsupported architectures.
26648
d3761ebc 26649 [BZ #13533]
9954432e
UD
26650 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26651 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26652 routines.
26653 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26654 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26655 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26656 fall back to using wcrtomb.
26657 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26658 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26659 renaming.
26660 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26661 * wcsmbs/tst-c16c32-1.c: New file.
26662
26663 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26664 local variable.
26665
c3a87236
UD
26666 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26667
28926a1b
UD
26668 * elf/tst-unique3.cc: Add explicit declaration of gets.
26669 * elf/tst-unique3lib.cc: Likewise.
26670 * elf/tst-unique3lib2.cc: Likewise.
26671 * elf/tst-unique4.cc: Likewise.
26672
df78418a
UD
26673 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26674
8ecd6b2a
JM
266752012-01-06 Joseph Myers <joseph@codesourcery.com>
26676
26677 [BZ #13566]
26678 * assert/assert.h (static_assert): Don't define for C++.
26679 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26680 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26681
9f115170
UD
266822012-01-03 Ulrich Drepper <drepper@gmail.com>
26683
5e0d0300
UD
26684 * iconv/loop.c (single loop): Fix assertion in storing of
26685 remaining bytes.
26686
9f115170
UD
26687 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26688
81fb02b0
UD
266892012-01-01 Ulrich Drepper <drepper@gmail.com>
26690
26691 * posix/getconf.c: Update copyright year.
26692 * nss/getent.c: Likewise.
a316c1f6 26693 * nss/makedb.c: Likewise.
81fb02b0
UD
26694 * iconv/iconvconfig.c: Likewise.
26695 * iconv/iconv_prog.c: Likewise.
26696 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26697 * elf/pldd.c: Likewise.
26698 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26699 * catgets/gencat.c: Likewise.
26700 * csu/version.c: Likewise.
26701 * elf/ldd.bash.in: Likewise.
26702 * elf/sprof.c (print_version): Likewise.
26703 * locale/programs/locale.c: Likewise.
26704 * locale/programs/localedef.c: Likewise.
a316c1f6 26705 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26706 * nscd/nscd.c (print_version): Likewise.
26707 * debug/xtrace.sh: Likewise.
26708 * malloc/memusage.sh: Likewise.
26709 * malloc/mtrace.pl: Likewise.
26710 * debug/catchsegv.sh: Likewise.
26711
2ba92745
JJ
267122011-12-30 Jakub Jelinek <jakub@redhat.com>
26713
26714 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26715 pure attribute.
26716
dadebdae
UD
267172011-12-24 Ulrich Drepper <drepper@gmail.com>
26718
d3761ebc 26719 [BZ #13533]
db6af3eb
UD
26720 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26721 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26722 transformations.
26723 * iconv/gconv_int.h: Likewise.
26724 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26725 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26726 from libc for GLIBC_2.16.
26727 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26728 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26729 * wcsmbs/uchar.h: Really define mbstate_t.
26730 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26731 * wcsmbs/c16rtomb.c: New file.
26732 * wcsmbs/mbrtoc16.c: New file.
26733 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26734 for C/POSIX locale.
26735 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26736 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26737
dadebdae
UD
26738 * wcsmbs/wchar.h: Add missing __restrict.
26739
67371b56
UD
267402011-12-23 Ulrich Drepper <drepper@gmail.com>
26741
74033a25
UD
26742 [BZ #13532]
26743 * time/Makefile (routines): Add timespec_get.
26744 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26745 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26746 timespec for ISO C11.
26747 * time/timespec_get.c: New file.
26748 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26749 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26750
380d7e87
UD
26751 [BZ #13531]
26752 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26753 * stdlib/stdlib.h: Declare aligned_alloc.
26754 * Versions.def: Add GLIBC_2.16 for libc.
26755 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26756
4e9e7a35
UD
26757 [BZ 13527]
26758 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26759 ISO C11.
26760
380d7e87 26761 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26762 code.
26763
03a71829
UD
26764 [BZ #13528]
26765 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26766
839e283e
UD
26767 [BZ #13529]
26768 * assert/assert.h (static_assert): Define.
26769
ce5294e2 26770 * version.h: Update for 2.16 development version.
90fa7312 26771
8d44e150 26772 [BZ #13526]
d7809905
UD
26773 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26774 _ISOC11_SOURCE.
26775
c0da14cd
UD
26776 * version.h (RELEASE): Bump for 2.15 release.
26777 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26778
530a3249
MP
26779 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26780 Patch by Marek Polacek <mpolacek@redhat.com>.
26781
67371b56
UD
26782 * bits/byteswap.h: Protect long long constants with __extension__.
26783 * sysdeps/i386/bits/byteswap.h: Likewise.
26784 * sysdeps/ia64/bits/byteswap.h: Likewise.
26785 * sysdeps/s390/bits/byteswap.h: Likewise.
26786 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26787
15db4de1
LD
267882011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26789
26790 [BZ #13540]
bbe315ea
LD
26791 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26792 destination buffer.
15db4de1
LD
26793 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26794
2b2596b1
MP
267952011-12-23 Marek Polacek <polacek@redhat.com>
26796
26797 * elf/dl-addr.c (determine_info): Add inline keyword.
26798 * elf/tst-auditmod4b.c (check_avx): Likewise.
26799 * elf/tst-auditmod6b.c (check_avx): Likewise.
26800 * elf/tst-auditmod6c.c (check_avx): Likewise.
26801 * elf/tst-auditmod7b.c (check_avx): Likewise.
26802
70c6c246
UD
268032011-12-23 Ulrich Drepper <drepper@gmail.com>
26804
26805 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26806 !__SSE_MATH__.
26807
c044cf14
LD
268082011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26809
15db4de1 26810 [BZ #13540]
c044cf14
LD
26811 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26812 processing for last bytes.
26813
6b13d9d9
BH
268142011-08-06 Bruno Haible <bruno@clisp.org>
26815
d455f537
BH
26816 [BZ #13061]
26817 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26818 U+0385, not to U+1FEE.
26819
6b13d9d9
BH
26820 [BZ #13062]
26821 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26822 entry for U+00A5 U+0301.
26823
db910efd
UD
268242011-12-22 Ulrich Drepper <drepper@gmail.com>
26825
27deeafc
UD
26826 [BZ #13166]
26827 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26828 buffer for the output is too small.
26829
aed9d171
UD
26830 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26831 optimization.
26832
db910efd
UD
26833 [BZ #13185]
26834 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26835 SSE flags if possible.
26836
2bd779ae
LD
268372011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26838
e7f9dac3 26839 [BZ #13540]
2bd779ae
LD
26840 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26841 processing for last bytes.
26842
154bfc16
JM
268432011-12-22 Joseph Myers <joseph@codesourcery.com>
26844
26845 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26846 (syscall-list-default-options, syscall-list-default-condition)
26847 (syscall-list-includes): Define.
26848 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26849 list of ABIs and options and #if conditions for each ABI. Do not
26850 handle common syscalls between ABIs specially.
26851 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26852 Remove.
26853 (syscall-list-variants, syscall-list-32bit-options)
26854 (syscall-list-32bit-condition, syscall-list-64bit-options)
26855 (syscall-list-64bit-condition): Define.
26856 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26857 (syscall-list-variants, syscall-list-32bit-options)
26858 (syscall-list-32bit-condition, syscall-list-64bit-options)
26859 (syscall-list-64bit-condition): Define.
26860 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26861 Remove.
26862 (syscall-list-variants, syscall-list-32bit-options)
26863 (syscall-list-32bit-condition, syscall-list-64bit-options)
26864 (syscall-list-64bit-condition): Define.
26865 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26866 Remove.
26867 (syscall-list-variants, syscall-list-32bit-options)
26868 (syscall-list-32bit-condition, syscall-list-64bit-options)
26869 (syscall-list-64bit-condition): Define.
26870
21eaf3a5
UD
268712011-12-22 Ulrich Drepper <drepper@gmail.com>
26872
16c6f992
UD
26873 * locale/iso-639.def: Add brx entry.
26874
41043168
UD
26875 [BZ #13328]
26876 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26877 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26878
21eaf3a5
UD
26879 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26880 __feraiseexcept_renamed.
26881
e3a851a2
UD
268822011-12-21 Ulrich Drepper <drepper@gmail.com>
26883
4920765e
UD
26884 [BZ #13538]
26885 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26886 EPOLLET with unsigned values.
26887 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26888 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26889
e3a851a2
UD
26890 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26891 to large cancellation.
26892 * math/s_cacoshf.c: Likewise.
26893 * math/s_cacoshl.c: Likewise.
26894
b27e24b8
RK
268952011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26896
26897 [BZ #13305]
aebefeee 26898 [BZ #12786]
b27e24b8
RK
26899 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26900 * math/s_cacoshf.c: Likewise.
26901 * math/s_cacoshl.c: Likewise.
26902
ee190f67
UD
269032011-12-21 Ulrich Drepper <drepper@gmail.com>
26904
26905 [BZ #13439]
26906 * iconv/gconv.h: Define __GCONV_SWAP.
26907 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26908 * iconvdata/utf-16.c: Likewise.
26909 * iconvdata/utf-32.c: Likewise.
26910
707f25df
AS
269112011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26912
26913 [BZ #13524]
26914 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26915 numerator after shifting it by one limb.
26916
d2daaa1e
RÁE
269172011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26918
26919 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26920 under [__USE_EXTERN_INLINES].
26921
a4647e72
UD
269222011-12-17 Ulrich Drepper <drepper@gmail.com>
26923
26924 [BZ #13446]
26925 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26926
f0b264f1
AZ
269272011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26928
26929 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26930 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26931 optimized code.
26932 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26933 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26934 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26935 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26936 for strncasecmp/strncasecmp_l compilation.
26937 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26938 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26939
8ef4f244
MP
269402011-12-08 Marek Polacek <mpolacek@redhat.com>
26941
26942 [BZ #13484]
26943 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26944 of __asm__.
26945
97ac2654
UD
269462011-12-17 Ulrich Drepper <drepper@gmail.com>
26947
26948 [BZ #13506]
26949 * time/tzfile.c (__tzfile_read): Check values from file header.
26950
91d2a845
WS
269512011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26952
26953 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26954 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26955 * powerpc/powerpc32/dl-start.S: Likewise.
26956 * powerpc/powerpc32/elf/start.S: Likewise.
26957 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26958 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26959 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26960 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26961 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26962 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26963 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26964 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26965 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26966 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26967 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26968 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26969 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26970 * powerpc/powerpc32/memset.S: Likewise.
26971 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26972 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26973 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26974 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26975 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26976 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26977 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26978 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26979 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26980 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26981 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26982 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26983 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26984
a1267ba1
AZ
269852011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26986
26987 * math/libm-test.inc: Added more nearbyint tests.
26988 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26989 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26990 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26991 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26992
ad8ac1bd
RL
269932011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26994
26995 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26996 FD_CLOEXEC.
26997
1d3e4b61
UD
269982011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26999
27000 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27001 Add wcscpy-ssse3 wcscpy-c.
27002 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27003 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27004 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27005 * sysdeps/x86_64/wcschr.S: New file.
27006 * sysdeps/x86_64/wcsrchr.S: New file.
27007 * string/test-strcmp.c: Remove checking of wcscmp function for
27008 wrong alignments.
27009 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27010 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27011 wcsrchr-sse2 wcsrchr-c.
27012 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27013 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27014 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27015 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27016 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27017 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27018 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27019 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27020 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27021 * wcsmbc/wcschr.c (WCSCHR): New macro.
27022
5b330a2d
UD
270232011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27024
27025 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27026 * wcsmbs/test-wcsrchr.c: New file.
27027 * string/test-strrchr.c: Add wcsrchr support.
27028 (WIDE): New macro.
27029 * wcsmbs/test-wcscpy.c: New file.
27030 * string/test-strcpy.c: Add wcscpy support.
27031 (WIDE): New macro.
26428b7c 27032
f039c043
UD
270332011-12-10 Ulrich Drepper <drepper@gmail.com>
27034
27035 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27036 the inner loop.
27037
850fb039
AS
270382011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27039
27040 [BZ #13472]
27041 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27042
4efbd5cb
UD
270432011-12-04 Ulrich Drepper <drepper@gmail.com>
27044
52ff5dd0 27045 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 27046 Minor optimizations.
52ff5dd0 27047
4efbd5cb
UD
27048 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27049 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27050 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27051
8a426e12
UD
270522011-12-03 Ulrich Drepper <drepper@gmail.com>
27053
aff2453d
UD
27054 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27055 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27056 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27057 for gcc to avoid warnings.
27058 * inet/Makefile (tests): Add tst-checks.
27059 * inet/tst-checks.c: New file.
27060
27061 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27062 warning.
27063
27064 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27065 __wmemcmp_sse2.
27066
27067 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27068 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27069
8a426e12
UD
27070 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27071
9bea3473
UD
270722011-12-02 Ulrich Drepper <drepper@gmail.com>
27073
3a965496
UD
27074 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27075 problem.
27076
9bea3473
UD
27077 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27078
f101631b
UD
270792011-11-29 Joseph Myers <joseph@codesourcery.com>
27080
27081 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27082 conditional on GCC version.
27083 (__arch_compare_and_exchange_val_8_acq)
27084 (__arch_compare_and_exchange_val_16_acq)
27085 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27086 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27087 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27088
a98275aa
UD
270892011-12-02 Joseph Myers <joseph@codesourcery.com>
27090
27091 * sysdeps/sh/backtrace.c: New file.
27092
d4cc29a2
AS
270932011-12-02 Andreas Schwab <schwab@redhat.com>
27094
27095 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27096 parenthesis.
27097
6257af2d
AS
270982011-12-01 Andreas Schwab <schwab@redhat.com>
27099
27100 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27101 falling back to utime.
27102
b5f44c1a
AS
271032011-11-30 Andreas Schwab <schwab@redhat.com>
27104
27105 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27106 expectations for float.
27107
f3a6cc0a
AS
271082011-11-29 Andreas Schwab <schwab@redhat.com>
27109
27110 * locale/weight.h (findidx): Add parameter len.
27111 * locale/weightwc.h (findidx): Likewise.
27112 * posix/fnmatch_loop.c (FCT): Adjust caller.
27113 * posix/regcomp.c (build_equiv_class): Likewise.
27114 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27115 * posix/regexec.c (check_node_accept_bytes): Likewise.
27116 * string/strcoll_l.c (STRCOLL): Likewise.
27117 * string/strxfrm_l.c (STRXFRM): Likewise.
27118
9d65ea3a
UD
271192011-11-17 Ulrich Drepper <drepper@gmail.com>
27120
27121 * Makefile.in: Remove CVSOPT handling.
27122 * configure.in: Remove use of AC_REVISION.
27123 * iconvdata/Makefile (distribute): No need to filter out CVS.
27124 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27125 handling.
27126
5583a086
AS
271272011-11-16 Andreas Schwab <schwab@redhat.com>
27128
27129 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27130 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27131 [USE_AS_STRNCASECMP_L]: Likewise.
27132 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27133 NO_TLS_DIRECT_SEG_REFS.
27134 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27135 Fix argument offsets for non-PIC.
27136 [USE_AS_STRNCASECMP_L]: Likewise.
27137 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27138 NO_TLS_DIRECT_SEG_REFS.
27139
d62a8200
UD
271402011-11-15 Ulrich Drepper <drepper@gmail.com>
27141
9d65ea3a 27142 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27143 O_CLOEXEC.
27144 * locale/loadlocale.c (_nl_load_locale): Likewise.
27145
09f93bd3
AS
271462011-11-15 Andreas Schwab <schwab@redhat.com>
27147
446514f9
AS
27148 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27149 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27150 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27151 (SYSCALL_GETTIME): Set errno on error.
27152
09f93bd3
AS
27153 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27154 count references to noai6ai_cached.
27155
312be3f9
UD
271562011-11-15 Ulrich Drepper <drepper@gmail.com>
27157
27158 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27159
27160 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27161 FD_CLOEXEC for /proc/self/maps.
27162
27163 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27164 FD_CLOEXEC for /proc/meminfo.
27165
27166 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27167 gai.conf.
27168
27169 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27170 FD_CLOEXEC for given file.
27171
27172 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27173
27174 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27175 FD_CLOEXEC for /etc/hosts.
27176 (_gethtent): Likewise.
27177
27178 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27179
27180 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27181 cancellation and set FD_CLOEXEC for /etc/netgroup.
27182
27183 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27184 reading /etc/publickey.
27185
27186 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27187 allow cancellation when reading /etc/group.
27188
27189 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27190 cancellation.
27191 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27192
27193 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27194 when using data file.
27195
27196 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27197
27198 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27199 (write_nis_obj): Use "c" and "e" in fopen.
27200
27201 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27202
27203 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27204
27205 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27206
27207 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27208
27209 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27210 locale.alias.
27211
27212 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27213
27214 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27215
27216 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27217
27218 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27219 file parsing and set FD_CLOEXEC.
27220
82af0fa8
UD
272212011-11-14 Ulrich Drepper <drepper@gmail.com>
27222
27223 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27224
a5fb313c
AS
272252011-11-14 Andreas Schwab <schwab@redhat.com>
27226
27227 * malloc/arena.c (arena_get2): Don't call reused_arena when
27228 _int_new_arena failed.
27229
6abf3465
UD
272302011-11-14 Ulrich Drepper <drepper@gmail.com>
27231
27232 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27233 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27234 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27235 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27236 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27237 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27238 to compile strcasecmp and strncasecmp.
27239 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27240 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27241
27242 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27243
76e3966e
UD
272442011-11-13 Ulrich Drepper <drepper@gmail.com>
27245
27246 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27247 locale-defines.sym to gen-as-const-headers.
27248 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27249 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27250 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27251 to compile strcasecmp and strncasecmp.
27252 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27253 strcasecmp_l and strncasecmp_l.
27254 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27255 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27256 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27257 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27258 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27259 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27260 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27261 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27262 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27263 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27264 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27265
ab26144e
UD
272662011-11-12 Ulrich Drepper <drepper@gmail.com>
27267
7edb22ef
UD
27268 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27269 result of SYSDEP_GETTIME_CPU to retval.
27270 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27271 parameter list to macro. Remove trailing semicolon. Adjust users.
27272
9694fc44
UD
27273 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27274 variable.
27275
8ad89ef8
UD
27276 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27277 mantissa words.
27278 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27279
0c822ef9
UD
27280 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27281 from unused variable.
27282
874e0564
UD
27283 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27284 DWARF definitions.
27285 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27286 for assembling.
27287
3a2edc79
UD
27288 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27289 over namespaces.
27290
f3c2577f
UD
27291 * sunrpc/rpc_prot.c (rejected): Fix case value.
27292
294ce126
UD
27293 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27294 unsigned long long int to avoid warnings in shift.
27295
5e2b63c6
UD
27296 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27297 of use of trans.
27298 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27299 variable tmp.
27300
e7f4b08e
UD
27301 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27302 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27303 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27304
ab26144e
UD
27305 * nis/nis_table.c (nis_list): Use variable of correct type for
27306 result of __follow_path call.
27307
8a6d5255
AZ
273082011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27309
27310 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27311 of math functions ceil, trunc, floor, round, and sqrt, when
27312 avaliable on the platform.
27313 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27314 name clash.
27315 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27316 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27317 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27318
aaddc98c
MP
273192011-10-30 Marek Polacek <mpolacek@redhat.com>
27320
27321 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27322 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27323
95b7042b
RM
273242011-11-11 Roland McGrath <roland@hack.frob.com>
27325
27326 * include/unistd.h: Fix __readlink return type.
27327 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27328
57769839
UD
273292011-11-11 Ulrich Drepper <drepper@gmail.com>
27330
27331 * stdlib/ucontext.h: Undo last change for makecontext.
27332
edc5984d
AS
273332011-11-11 Andreas Schwab <schwab@redhat.com>
27334
98591e58
AS
27335 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27336
edc5984d
AS
27337 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27338 * setjmp/setjmp.h: Mark functions as non-leaf.
27339 * setjmp/bits/setjmp2.h: Likewise.
27340 * stdlib/ucontext.h: Likewise.
27341
77cdc054
AS
273422011-11-10 Andreas Schwab <schwab@redhat.com>
27343
27344 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27345 (reused_arena): Don't check arena limit.
27346 (arena_get2): Atomically check arena limit.
27347
fe72eebd
UD
273482011-11-08 Ulrich Drepper <drepper@gmail.com>
27349
5f078c32
UD
27350 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27351 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27352
fe72eebd
UD
27353 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27354 instructions.
27355
ae1bc2fa
AS
273562011-11-07 Andreas Schwab <schwab@redhat.com>
27357
7583a88d
AS
27358 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27359 handler when locking.
27360
ae1bc2fa
AS
27361 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27362 Fix size of allocated buffer.
27363
10fb0bfa
AS
273642011-11-04 Andreas Schwab <schwab@redhat.com>
27365
998832a4
AS
27366 [BZ #10103]
27367 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27368 declarations for long double functions.
27369 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27370
10fb0bfa
AS
27371 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27372
3d7ba52b
AS
273732011-11-03 Andreas Schwab <schwab@redhat.com>
27374
a9ae54a1
AS
27375 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27376 installed.
27377
3d7ba52b
AS
27378 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27379 is disabled.
27380
bc8db248
ST
273812011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27382
27383 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27384
45b96dd6
AS
273852011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27386
647776f6
AS
27387 * include/alloca.h (stackinfo_alloca_round): Define.
27388 (extend_alloca): Use it.
27389 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27390 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27391 here.
27392
d91a8b93
AS
27393 * scripts/check-local-headers.sh: Ignore libaudit.h.
27394
45b96dd6
AS
27395 * nscd/Makefile (extra-objs): Make recursively expanded.
27396
432d41ce
UD
273972011-11-01 Ulrich Drepper <drepper@gmail.com>
27398
34372fc6
UD
27399 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27400 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27401
fadb59f8
UD
27402 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27403 * posix/tst-rfc3484-2.c: Likewise.
27404 * posix/tst-rfc3484-3.c: Likewise.
27405
78239589
UD
27406 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27407 process_vm_writev.
27408 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27409 process_vm_writev.
27410 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27411 process_vm_writev from libc using GLIBC_2.15 version.
27412
432d41ce
UD
27413 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27414
02f9c6cf
PP
274152011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27416
27417 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27418 stack usage.
27419
3a2c0242
UD
274202011-10-31 Ulrich Drepper <drepper@gmail.com>
27421
f4ec4833
UD
27422 [BZ #13367]
27423 * nss/getent.c (initgroups_keys): Show error message in case no group
27424 names are given.
27425
3a2c0242
UD
27426 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27427 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27428 __bump_nl_timestamp.
27429 * nscd/connections (nscd_init): When host database is served open
27430 netlink socket and request notification about configuration changes.
27431 (main_loop_poll): Track netlink file descriptor and bump timestamp
27432 in case data becomes available.
27433 (main_loop_epoll): Likewise.
27434 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27435 (database_pers_head): Add extra_data fileds.
27436 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27437 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27438 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27439 Adjust caller.
27440 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27441 in6ai data, call __free_in6ai.
27442 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27443 Add -DHAVE_NETLINK.
27444 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27445 interface information. Reuse previous data if netlink timestamp
27446 is not changed.
27447 (__bump_nl_timestamp): New function.
27448 (__free_in6ai): New function.
27449
636064eb
UD
274502011-10-30 Ulrich Drepper <drepper@gmail.com>
27451
27452 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27453 close_not_cancel_no_status here.
27454 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27455
9beb2334
UD
274562011-10-29 Ulrich Drepper <drepper@gmail.com>
27457
6ef76f3b
UD
27458 [BZ #13276]
27459 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27460 return value.
27461
0ffc4f3e 27462 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27463 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27464 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27465
cb95113e
UD
274662011-07-03 Andreas Jaeger <aj@suse.de>
27467
27468 [BZ #10709]
27469 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27470 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27471 * math/libm-test.inc (sin_test): Add test case.
27472
a1b560ff
UD
274732011-10-29 Ulrich Drepper <drepper@gmail.com>
27474
c9aaface
UD
27475 [BZ #13337]
27476 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27477 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27478
d272e7f1
UD
27479 * elf/chroot_canon.c (chroot_canon): Cleanups.
27480
1bc33071
UD
27481 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27482
1760874d
TJ
27483 [BZ #13335]
27484 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27485 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27486
51d91b18
UD
27487 * string/test-strchr.c: Make usable for strchrnul testing.
27488 * string/test-strchrnul.c: New file.
27489 * string/Makefile (strop-tests): Add strchrnul.
27490
a1b560ff 27491 * po/it.po: Update from translation team.
b611fb81 27492 * po/es.po: Likewise.
a1b560ff 27493
a5b81e1f
UD
274942011-10-28 Ulrich Drepper <drepper@gmail.com>
27495
fd52bc6d
UD
27496 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27497 the three constants needed as parameters. Drop the others.
27498 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27499 __m128i_strloadu_tolower.
52e4b9eb
UD
27500 Create and initialize variable zero and use it in all the places
27501 where _mm_setzero_si128 was used.
fd52bc6d 27502
a5b81e1f
UD
27503 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27504 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27505 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27506 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27507 anymore.
27508 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27509 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27510 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27511 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27512 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27513 __mpranred, __mptan.
27514 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27515 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27516 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27517 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27518 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27519 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27520 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27521 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27522 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27523
b4343346
AS
275242011-10-28 Andreas Schwab <schwab@redhat.com>
27525
0c92d8a8
AS
27526 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27527 redefine if SHARED.
27528 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27529
b4343346
AS
27530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27531 wide char related routines to wcsmbs subdir.
27532
3871f58f
AS
275332011-10-27 Andreas Schwab <schwab@redhat.com>
27534
27535 [BZ #13344]
27536 * misc/sys/cdefs.h (__THROWNL): Define.
27537 * posix/unistd.h: Use __THREADNL instead of __THREAD
27538 for memory synchronization functions.
27539
94d44d9f
RM
275402011-10-26 Roland McGrath <roland@hack.frob.com>
27541
21b64b15 27542 [BZ #13349]
94d44d9f
RM
27543 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27544 doesn't exist.
27545 * manual/stdio.texi (Obstack Streams): Node removed.
27546
f6ce9294
AS
275472011-10-26 Andreas Schwab <schwab@redhat.com>
27548
80479147
AS
27549 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27550 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27551 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27552
f6ce9294
AS
27553 * math/math_private.h (math_force_eval): Allow non-addressable
27554 arguments.
27555 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27556
618280a1
UD
275572011-10-25 Ulrich Drepper <drepper@gmail.com>
27558
e0016b11
UD
27559 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27560 file is not needed.
27561
27562 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27563 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27564 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27565 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27566 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27567 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27568 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27569 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27570 Add AVX variants.
27571 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27572 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27573 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27574 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27575 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27576 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27577 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27578 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27579 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27580 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27581 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27582 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27583 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27584 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27585 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27586 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27587 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27588 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27589 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27590
27591 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27592 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27593
618280a1
UD
27594 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27595 place. Use VEX encoding when compiling for AVX.
27596
37822576
AS
275972011-10-25 Andreas Schwab <schwab@redhat.com>
27598
1f1e1947
AS
27599 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27600 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27601
37822576
AS
27602 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27603
31ea014d
UD
276042011-10-25 Ulrich Drepper <drepper@gmail.com>
27605
d7826aa1 27606 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27607 useless if() expression.
d7826aa1
UD
27608 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27609 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27610 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27611 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27612 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27613 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27614 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27615 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27616 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27617 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27618 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27619 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27620 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27621 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27622 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27623 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27624 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27625 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27626 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27627
31ea014d
UD
27628 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27629
16437fec
AS
276302011-10-25 Andreas Schwab <schwab@redhat.com>
27631
27632 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27633 condition.
27634 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27635
31d3cc00
UD
276362011-10-25 Ulrich Drepper <drepper@gmail.com>
27637
27638 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27639 .text section. Avoid duplicate constants.
27640 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27641 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27642 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27643 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27644 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27645 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27646 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27647 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27648 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27649 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27650 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27651 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27652 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27653 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27654 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27655 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27656 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27657 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27658 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27659 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27660 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27661 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27662 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27663 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27664 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27665 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27666 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27667 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27668 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27669 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27670 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27671 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27672 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27673 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27674 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27675 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27676 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27677 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27678 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27679 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27680 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27681 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27682 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27683 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27684 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27685
58985aa9
UD
276862011-10-24 Ulrich Drepper <drepper@gmail.com>
27687
202c9deb
UD
27688 * sysdeps/x86_64/dla.h: Move to ...
27689 * sysdeps/x86_64/fpu/dla.h: ...here.
27690 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27691 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27692
af968f62
UD
27693 * config.make.in: Add have-mfma4 entry.
27694 * configure.in: Substitute libc_cv_cc_fma4.
27695 * math/Makefile (dbl-only-routines): Add sincostab.
27696 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27697 Use __sincostab not sincos.
27698 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27699 name is a macro.
27700 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27701 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27702 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27703 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27704 using __copysign.
27705 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27706 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27707 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27708 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27709 and __inv.
27710 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27711 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27712 __copysign.
27713 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27714 define aliases when function name is a macro.
27715 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27716 sysdeps/ieee754/dbl-64/sincos.tbl.
27717 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27718 fma4-enabled routines.
27719 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27720 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27721 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27722 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27723 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27724 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27725 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27726 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27727 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27728 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27729 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27730 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27731 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27732 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27733 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27734 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27735 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27736 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27737 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27738 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27739 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27740 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27741 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27742 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27743 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27744 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27745 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27746 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27747 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27748 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27749
58985aa9
UD
27750 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27751 rename.
27752 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27753 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27754 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27756 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27757 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27758 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27759 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27760
a201fbcf
AS
277612011-10-24 Andreas Schwab <schwab@redhat.com>
27762
27763 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27764
fc2ee42a
LD
277652011-10-23 Ulrich Drepper <drepper@gmail.com>
27766
bb3129bd
UD
27767 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27768
0275fff8
UD
27769 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27770 prediction.
27771 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27772
2fa2ae85
UD
27773 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27774 Remove unused variable magic_bits.
27775 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27776
fc2ee42a
LD
27777 * string/strnlen.c: Define and use STRNLEN macro.
27778 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27779 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27780 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27781 * wcsmbs/wcslen.c: Define and use WCSLEN.
27782 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27783 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27784 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27785 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27786 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27787 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27788 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27789
ce7dd29f
LD
277902011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27791
27792 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27793 strnlen-sse2-no-bsf.
27794 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27795 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27796 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27797 Add strnlen support.
27798 (USE_AS_STRNLEN): New macro.
27799 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27800 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27801 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27802 * sysdeps/x86_64/wcslen.S: New file.
27803
979c70a3
MZ
278042011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27805
27806 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27807 XMM-moves are used for copying on small sizes.
27808
2d09f82f
LD
278092011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27810
27811 * wcsmbs/Makefile (strop-tests): Add wcschr.
27812 * wcsmbs/test-wcschr.c: New file.
27813 * string/test-strchr.c: Update.
27814 Add wcschr support.
27815 (WIDE): New macro.
27816
619fccca
LD
278172011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27818
2d09f82f 27819 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27820 * wcsmbs/test-wcslen.c: New file.
27821 * string/test-strlen.c: Update.
27822 Add wcslen support.
27823 (WIDE): New macro.
27824
09f699ea
UD
278252011-10-23 Ulrich Drepper <drepper@gmail.com>
27826
27827 * po/it.po: Update from translation team.
27828
95584d3b
LD
278292011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27830
27831 * sysdeps/x86_64/wcscmp.S: Update.
27832 Fix wrong comparison semantics.
27833 wcscmp shall use signed comparison not unsigned.
27834 Don't use substraction to avoid overflow bug.
27835 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27836 * wcsmbc/wcscmp.c: Likewise.
27837 * string/test-strcmp.c: Likewise.
27838 Add new tests to check cases with negative values.
27839
c8b3296b
UD
278402011-10-23 Ulrich Drepper <drepper@gmail.com>
27841
27842 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27843 * sysdeps/x86_64/dla.h: ...here. New file.
27844 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27845 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27846 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27848 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27849 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27851 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27852 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27853
246ad57a
AS
278542011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27855
27856 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27857 __ynl_finite aliases.
27858
a1a87169
UD
278592011-10-22 Ulrich Drepper <drepper@gmail.com>
27860
0d355eb7
UD
27861 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27862
a1a87169
UD
27863 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27864 define DLA_FMA.
27865 [DLA_FMA] (EMULV): Use DLA_FMA.
27866 [DLA_FMA] (MUL12): Use EMULV.
27867 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27868 that are not needed.
27869 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27871 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27872 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27873 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27874 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27875 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27876
ee2aafe0
AS
278772011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27878
27879 * math/s_nan.c: Undef __nan.
27880 * math/s_nanf.c: Undef __nanf.
27881 * math/s_nanl.c: Undef __nanl.
27882 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27883 "math_private.h".
27884
bc62c2fb
UD
278852011-10-22 Ulrich Drepper <drepper@gmail.com>
27886
77425c63
UD
27887 * math/s_catan.c: Add branch predictions.
27888 * math/s_catanf.c: Likewise.
27889 * math/s_catanh.c: Likewise.
27890 * math/s_catanhf.c: Likewise.
27891 * math/s_catanhl.c: Likewise.
27892 * math/s_catanl.c: Likewise.
27893 * math/s_cexp.c: Likewise.
27894 * math/s_cexpf.c: Likewise.
27895 * math/s_cexpl.c: Likewise.
27896 * math/s_clog.c: Likewise.
27897 * math/s_clog10.c: Likewise.
27898 * math/s_clog10f.c: Likewise.
27899 * math/s_clog10l.c: Likewise.
27900 * math/s_clogf.c: Likewise.
27901 * math/s_clogl.c: Likewise.
27902 * math/s_csqrt.c: Likewise.
27903 * math/s_csqrtf.c: Likewise.
27904 * math/s_csqrtl.c: Likewise.
27905 * math/s_ctanf.c: Likewise.
27906 * math/s_ctanh.c: Likewise.
27907 * math/s_ctanhf.c: Likewise.
27908 * math/s_ctanhl.c: Likewise.
27909 * math/s_ctanl.c: Likewise.
27910
bc62c2fb
UD
27911 * math/math_private.h: Define __nan, __nanf, __nanl.
27912 * math/s_cacosh.c: Include <math_private.h>.
27913 * math/s_cacoshl.c: Likewise.
27914 * math/s_casinh.c: Likewise.
27915 * math/s_casinhf.c: Likewise.
27916 * math/s_casinhl.c: Likewise.
27917 * math/s_ccos.c: Rely entire on ccosh.
27918 * math/s_ccosf.c: Rely entire on ccoshf.
27919 * math/s_ccosl.c: Rely entirely on ccoshl.
27920 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27921 Remove tests for FE_INVALID.
27922 * math/s_ccoshf.c: Likewise.
27923 * math/s_ccoshl.c: Likewise.
27924 * math/s_csin.c: Likewise.
27925 * math/s_csinf.c: Likewise.
27926 * math/s_csinh.c Likewise.
27927 * math/s_csinhf.c: Likewise.
27928 * math/s_csinhl.c: Likewise.
27929 * math/s_csinl.c: Likewise.
27930 * math/s_ctan.c: Likewise.
27931 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27932 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27933 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27934
8ec250a4
UD
279352011-10-21 Ulrich Drepper <drepper@gmail.com>
27936
c196fed8
UD
27937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27938 compilation problems.
27939
8ec250a4
UD
27940 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27941 __builtin_expect.
27942
8d4f46c6
UD
279432011-10-20 Ulrich Drepper <drepper@gmail.com>
27944
ed72b654
UD
27945 * sysdeps/i386/configure.in: Test for -mfma4 option.
27946 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27947 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27948 COMMON_CPUID_INDEX_80000001.
27949 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27950 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27951 use it if FMA3 is not supported.
27952 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27953
8d4f46c6
UD
27954 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27955 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27956
d45c60c2
AS
279572011-10-20 Andreas Schwab <schwab@redhat.com>
27958
27959 [BZ #12892]
27960 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27961 it would create a cycle with a link time dependency.
27962
d9a4d2ab
UD
279632011-10-19 Ulrich Drepper <drepper@gmail.com>
27964
855d1560
UD
27965 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27966 instruction.
27967 * string/Makefile (strop-tests): Add rawmemchr.
27968 * string/test-rawmemchr.c: New file.
27969
d9a4d2ab
UD
27970 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27971 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27972 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27973 when compiling str{,n}casecmp and when AVX is available. Hook up
27974 new optimized code in initializers.
27975
8f3b1ffe
AS
279762011-10-19 Andreas Schwab <schwab@redhat.com>
27977
27978 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27979 __feraiseexcept instead of feraiseexcept.
27980
d38f1dba
UD
279812011-10-18 Ulrich Drepper <drepper@gmail.com>
27982
d9a8d0ab
UD
27983 * math/math_private.h: Define defaults for libc_fetestexcept and
27984 libc_feupdateenv.
27985 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27986 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27987 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27988 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27989 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27990 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27991 libc_fetestexcept and libc_feupdateenv.
27992
4855e3dd
UD
27993 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27994 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27995 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27996 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27997 libc_feholdexcept_setround.
27998
581d30e3
UD
27999 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28000 Add s_nearbyint-c and s_nearbyintf-c.
28001 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28002 nearbyintf inlines.
28003 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28004 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28005 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28006 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28007
d38f1dba
UD
28008 * math/math_private.h: Define defaults for libc_fegetround,
28009 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28010 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28011 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28012 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28013 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28014 standard functions.
28015 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28016 Remove comments and hacks for old compiler versions.
28017 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28018 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28019 libc_feholdexceptl.
28020
caa6c9d8
AS
280212011-10-18 Andreas Schwab <schwab@redhat.com>
28022
28023 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
28024 (__feraiseexcept_renamed): Add __NTH.
28025 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
28026 namespace violations.
28027
97c066e6
UD
280282011-10-17 Ulrich Drepper <drepper@gmail.com>
28029
99ce7b04
UD
28030 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28031
1004d182
UD
28032 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28033
228a984d
UD
28034 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28035 recently added interfaces.
28036 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28037
c8553a6a
UD
28038 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28039 about macro parameter expansion.
28040
ed22dcf6
UD
28041 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28042 __NO_MATH_INLINES is defined. Cleanups.
28043
28044 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28045 and __floorf is target has SSE4.1.
28046 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28047 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28048 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28049 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28050
b171c137
UD
28051 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28052 name.
28053 (floorf): Likewise.
28054
97c066e6
UD
28055 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28056
629f62ef
AS
280572011-10-17 Andreas Schwab <schwab@redhat.com>
28058
49a43d80
AS
28059 * misc/sys/cdefs.h: Fix last change.
28060
629f62ef
AS
28061 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28062 database lookup.
28063
e453f6cd
UD
280642011-10-16 Ulrich Drepper <drepper@gmail.com>
28065
aa78043a
UD
28066 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28067
ad0f5cad
UD
28068 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28069 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28070 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28071 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28072 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28073 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28074 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28075 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28076 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28077 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28078 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28079 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28080 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28081 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28082 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28083 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28084 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28085 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28086 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28087 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28088 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28089 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28090
28091 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28092 ceil, ceilf, floor, floorf.
28093
28094 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28095 Perform IRELATIVE relocations last.
28096
e453f6cd
UD
28097 * elf/do-rel.h: Add another parameter nrelative, replacing the
28098 local variable with the same name. Change name of the function
28099 to end in Rel or Rela (uppercase).
28100 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28101 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28102 elf_dynamic_do_##reloc function.
28103
fd5bdc09
UD
281042011-10-15 Ulrich Drepper <drepper@gmail.com>
28105
79b195b5
UD
28106 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28107 is sufficient, at least on modern CPUs.
28108
d4a28569
UD
28109 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28110
b61099b5
UD
28111 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28112 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28113
bcf01e6d
UD
28114 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28115 __expl_finite.
28116 * math/bits/math-finite.h: Add entries for exp.
28117 * math/e_expl.c: Add __*_finite alias.
28118 * sysdeps/i386/fpu/e_exp.S: Likewise.
28119 * sysdeps/i386/fpu/e_expf.S: Likewise.
28120 * sysdeps/i386/fpu/e_expl.c: Likewise.
28121 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28122 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28123 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28124 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28125 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28126 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28127 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28128
ba1a0d59
UD
28129 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28130 is sufficient, at least on modern CPUs.
28131
fd5bdc09
UD
28132 * ctype/ctype-info.c (__ctype_init): Define.
28133 * include/ctype.h (__ctype_init): Declare.
28134 (__ctype_b_loc): The variable is always initialized.
28135 (__ctype_toupper_loc): Likewise.
28136 (__ctype_tolower_loc): Likewise.
28137 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28138 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28139
7872cfb0
AS
281402011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28141
b468825a
AS
28142 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28143
7872cfb0
AS
28144 * configure.in: Also look in $cxxmachine/include for C++ system
28145 headers.
28146
be13f7bf
LD
281472011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28148
28149 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28150 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28151 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28152 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28153 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28154 (USE_AS_WMEMCMP): New macro.
28155 Fixing indents.
28156 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28157 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28158 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28159 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28160 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28161 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28162 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28163 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28164 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28165 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28166 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28167 (USE_AS_WMEMCMP): New macro.
28168 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28169 * sysdeps/string/test-memcmp.c: Update.
28170 Fix simple_wmemcmp.
28171 Add new tests.
28172 * wcsmbs/wmemcmp.c: Update.
28173 (WMEMCMP): New macro.
28174 Fix overflow bug.
28175
556a2007
AJ
281762011-10-12 Andreas Jaeger <aj@suse.de>
28177
28178 [BZ #13268]
28179 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28180
538faaa7
UD
281812011-10-15 Ulrich Drepper <drepper@gmail.com>
28182
ab6737ff
UD
28183 * libio/iofwide.c (do_length): Avoid warning.
28184
538faaa7
UD
28185 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28186
396a21b1
UD
281872011-10-14 Ulrich Drepper <drepper@gmail.com>
28188
cdf2901f
UD
28189 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28190
38ad40ce
UD
28191 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28192 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28193 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28194 * sysdeps/i386/i686/fpu/e_log.S: New file.
28195 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28196 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28197
396a21b1
UD
28198 * ctype/ctype.h: Add support for inlined isXXX functions when
28199 compiling C++ code.
28200
6b1f68c9
AS
282012011-10-14 Andreas Schwab <schwab@redhat.com>
28202
349290c0
AS
28203 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28204
6b1f68c9
AS
28205 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28206
f2282d42
RM
282072011-10-13 Roland McGrath <roland@hack.frob.com>
28208
28209 [BZ #13291]
28210 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28211
5298ffa8
AS
282122011-10-13 Andreas Schwab <schwab@redhat.com>
28213
714fad23
AS
28214 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28215 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28216 feraiseexcept.
28217
81dcc7fb
AS
28218 * sysdeps/x86_64/memrchr.S: Check for zero size.
28219
5298ffa8
AS
28220 * string/stratcliff.c: Add memrchr tests.
28221
951fbcec
LD
282222011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28223
28224 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28225 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28226 rawmemchr-sse2 rawmemchr-sse2-bsf.
28227 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28228 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28229 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28230 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28231 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28232 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28233 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28234 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28235 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28236 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28237 * string/memrchr.c (MEMRCHR): New macro.
28238
0ac5ae23
UD
282392011-10-12 Ulrich Drepper <drepper@gmail.com>
28240
28241 Add integration with gcc's -ffinite-math-only and optimize wrapper
28242 functions in libm.
28243 * Versions.def: Define GLIBC_2.15 version for libm.
28244 * math/Makefile (headers): Add bits/math-finite.h.
28245 * math/bits/math-finite.h: New file.
28246 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28247 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28248 * math/e_acoshl.c: Add __*_finite alias.
28249 * math/e_acosl.c: Likewise.
28250 * math/e_asinl.c: Likewise.
28251 * math/e_atan2l.c: Likewise.
28252 * math/e_atanhl.c: Likewise.
28253 * math/e_coshl.c: Likewise.
28254 * math/e_exp10.c: Likewise.
28255 * math/e_exp10f.c: Likewise.
28256 * math/e_exp10l.c: Likewise.
28257 * math/e_exp2l.c: Likewise.
28258 * math/e_fmodl.c: Likewise.
28259 * math/e_gammal_r.c: Likewise.
28260 * math/e_hypotl.c: Likewise.
28261 * math/e_j0l.c: Likewise.
28262 * math/e_j1l.c: Likewise.
28263 * math/e_jnl.c: Likewise.
28264 * math/e_lgammal_r.c: Likewise.
28265 * math/e_log10l.c: Likewise.
28266 * math/e_log2l.c: Likewise.
28267 * math/e_logl.c: Likewise.
28268 * math/e_powl.c: Likewise.
28269 * math/e_sinhl.c: Likewise.
28270 * math/e_sqrtl.c: Likewise.
28271 * math/e_scalb.c: Completely rewritten and optimized.
28272 * math/e_scalbf.c: Likewise.
28273 * math/e_scalbl.c: Likewise.
28274 * math/w_acos.c: Likewise.
28275 * math/w_acosf.c: Likewise.
28276 * math/w_acosl.c: Likewise.
28277 * math/w_acosh.c: Likewise.
28278 * math/w_acoshf.c: Likewise.
28279 * math/w_acoshl.c: Likewise.
28280 * math/w_asin.c: Likewise.
28281 * math/w_asinf.c: Likewise.
28282 * math/w_asinl.c: Likewise.
28283 * math/w_atan2.c: Likewise.
28284 * math/w_atan2f.c: Likewise.
28285 * math/w_atan2l.c: Likewise.
28286 * math/w_atanh.c: Likewise.
28287 * math/w_atanhf.c: Likewise.
28288 * math/w_atanhl.c: Likewise.
28289 * math/w_exp10.c: Likewise.
28290 * math/w_exp10f.c: Likewise.
28291 * math/w_exp10l.c: Likewise.
28292 * math/w_fmod.c: Likewise.
28293 * math/w_fmodf.c: Likewise.
28294 * math/w_fmodl.c: Likewise.
28295 * math/w_j0.c: Likewise.
28296 * math/w_j0f.c: Likewise.
28297 * math/w_j0l.c: Likewise.
28298 * math/w_j1.c: Likewise.
28299 * math/w_j1f.c: Likewise.
28300 * math/w_j1l.c: Likewise.
28301 * math/w_jn.c: Likewise.
28302 * math/w_jnf.c: Likewise.
28303 * math/w_log.c: Likewise.
28304 * math/w_logf.c: Likewise.
28305 * math/w_logl.c: Likewise.
28306 * math/w_log10.c: Likewise.
28307 * math/w_log10f.c: Likewise.
28308 * math/w_log10l.c: Likewise.
28309 * math/w_log2.c: Likewise.
28310 * math/w_log2f.c: Likewise.
28311 * math/w_log2l.c: Likewise.
28312 * math/w_pow.c: Likewise.
28313 * math/w_powf.c: Likewise.
28314 * math/w_powl.c: Likewise.
28315 * math/w_remainder.c: Likewise.
28316 * math/w_remainderf.c: Likewise.
28317 * math/w_remainderl.c: Likewise.
28318 * math/w_scalb.c: Likewise.
28319 * math/w_scalbf.c: Likewise.
28320 * math/w_scalbl.c: Likewise.
28321 * math/w_sqrt.c: Likewise.
28322 * math/w_sqrtf.c: Likewise.
28323 * math/w_sqrtl.c: Likewise.
28324 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28325 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28326 used.
28327 * math/math_private.h: Declare __kernel_standard_f.
28328 * math/w_cosh.c: Remove cruft and optimize a bit.
28329 * math/w_coshf.c: Likewise.
28330 * math/w_coshl.c: Likewise.
28331 * math/w_exp2.c: Likewise.
28332 * math/w_exp2f.c: Likewise.
28333 * math/w_exp2l.c: Likewise.
28334 * math/w_hypot.c: Likewise.
28335 * math/w_hypotf.c: Likewise.
28336 * math/w_hypotl.c: Likewise.
28337 * math/w_lgamma.c: Likewise.
28338 * math/w_lgamma_r.c: Likewise.
28339 * math/w_lgammaf.c: Likewise.
28340 * math/w_lgammaf_r.c: Likewise.
28341 * math/w_lgammal.c: Likewise.
28342 * math/w_lgammal_r.c: Likewise.
28343 * math/w_sinh.c: Likewise.
28344 * math/w_sinhf.c: Likewise.
28345 * math/w_sinhl.c: Likewise.
28346 * math/w_tgamma.c: Likewise.
28347 * math/w_tgammaf.c: Likewise.
28348 * math/w_tgammal.c: Likewise.
28349 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28350 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28351 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28352 Minor optimizations. Pretty printing. Remove cruft.
28353 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28354 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28355 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28356 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28357 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28358 * sysdeps/i386/fpu/e_asin.S: Likewise.
28359 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28360 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28361 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28362 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28363 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28364 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28365 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28366 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28367 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28368 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28369 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28370 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28371 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28372 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28373 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28374 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28375 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28376 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28377 * sysdeps/i386/fpu/e_log.S: Likewise.
28378 * sysdeps/i386/fpu/e_log10.S: Likewise.
28379 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28380 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28381 * sysdeps/i386/fpu/e_log2.S: Likewise.
28382 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28383 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28384 * sysdeps/i386/fpu/e_logf.S: Likewise.
28385 * sysdeps/i386/fpu/e_logl.S: Likewise.
28386 * sysdeps/i386/fpu/e_pow.S: Likewise.
28387 * sysdeps/i386/fpu/e_powf.S: Likewise.
28388 * sysdeps/i386/fpu/e_powl.S: Likewise.
28389 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28390 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28391 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28392 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28393 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28394 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28395 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28396 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28397 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28398 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28399 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28400 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28401 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28402 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28403 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28404 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28405 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28406 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28407 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28408 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28409 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28410 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28411 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28412 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28413 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28414 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28415 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28416 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28417 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28418 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28419 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28420 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28421 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28422 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28423 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28424 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28425 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28426 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28427 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28428 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28429 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28430 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28431 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28432 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28433 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28434 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28435 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28436 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28437 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28438 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28439 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28440 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28441 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28442 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28443 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28444 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28445 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28446 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28447 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28448 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28449 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28450 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28451 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28452 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28453 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28454 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28455 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28456 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28457 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28458 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28459 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28460 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28461 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28462 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28463 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28464 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28465 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28466 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28467 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28468 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28469 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28470 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28471 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28472 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28473 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28474 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28475 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28476 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28477 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28478 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28479 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28480 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28481 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28482 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28483 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28484 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28485 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28486 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28487 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28488 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28489 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28490 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28491 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28492 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28493 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28494 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28495 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28496 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28497 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28498 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28499 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28500 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28501 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28502 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28503 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28504 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28505 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28506 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28507 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28508 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28509 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28510 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28511 (__isnanf): Likewise.
28512 (__isinf_ns): Likewise.
28513 (__isinf_nsf): Likewise.
28514 (__finite): Likewise.
28515 (__finitef): Likewise.
28516 (__ieee754_sqrt): Define as macro.
28517 (__ieee754_sqrtf): Define as macro.
28518 (__ieee754_sqrtl): Define as macro.
28519 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28520 inlined copy.
28521 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28522 __FINITE_MATH_ONLY__ consistent.
28523 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28524
12cc2fcd
AS
285252011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28526
a843a204
AS
28527 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28528 of rawmemchr.
28529
12cc2fcd
AS
28530 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28531
c853acd5
UD
285322011-10-09 Ulrich Drepper <drepper@gmail.com>
28533
28534 * po/ja.po: Update from translation team.
28535
c658d255
RM
285362011-10-08 Roland McGrath <roland@hack.frob.com>
28537
110946e4
RM
28538 * locale/programs/locarchive.c (prepare_address_space): New function.
28539 (create_archive, enlarge_archive, open_archive): Use it.
28540
50604220
RM
28541 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28542 inside [SHARED], where it is used.
28543
c658d255
RM
28544 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28545
28546 * nss/getent.c (netgroup_keys): Remove unused variable.
28547 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28548
6a621eb7
UD
285492011-10-08 Ulrich Drepper <drepper@gmail.com>
28550
7edb55ce
UD
28551 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28552 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28553 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28554 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28555 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28556 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28557 * math/Makefile (libm-calls): Add s_isinf_ns.
28558 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28559 * math/multc3.c: Likewise.
28560 * math/s_casin.c: Likewise.
28561 * math/s_casinf.c: Likewise.
28562 * math/s_casinl.c: Likewise.
28563 * math/s_ccos.c: Likewise.
28564 * math/s_ccosf.c: Likewise.
28565 * math/s_ccosl.c: Likewise.
28566 * math/s_ctan.c: Likewise.
28567 * math/s_ctanf.c: Likewise.
28568 * math/s_ctanh.c: Likewise.
28569 * math/s_ctanhf.c: Likewise.
28570 * math/s_ctanhl.c: Likewise.
28571 * math/s_ctanl.c: Likewise.
28572 * math/w_fmod.c: Likewise.
28573 * math/w_fmodf.c: Likewise.
28574 * math/w_fmodl.c: Likewise.
28575 * math/w_remainder.c: Likewise.
28576 * math/w_remainderf.c: Likewise.
28577 * math/w_remainderl.c: Likewise.
28578 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28579 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28580 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28581 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28582 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28583 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28584 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28585 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28586
187da0ae
UD
28587 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28588 of the number.
28589 * stdio-common/printf_fphex.c: Likewise.
28590 * stdio-common/printf_size.c: Likewise.
28591
9277c064
UD
28592 * math/e_exp10.c: Include math_private.h using <...> not "...".
28593 * math/e_exp10f.c: Likewise.
28594 * math/e_exp10l.c: Likewise.
28595 * math/e_exp2l.c: Likewise.
28596 * math/e_j0l.c: Likewise.
28597 * math/e_j1l.c: Likewise.
28598 * math/e_jnl.c: Likewise.
28599 * math/e_lgammal_r.c: Likewise.
28600 * math/e_rem_pio2l.c: Likewise.
28601 * math/e_scalb.c: Likewise.
28602 * math/e_scalbf.c: Likewise.
28603 * math/e_scalbl.c: Likewise.
28604 * math/k_cosl.c: Likewise.
28605 * math/k_sinl.c: Likewise.
28606 * math/k_tanl.c: Likewise.
28607 * math/s_cacoshf.c: Likewise.
28608 * math/s_catan.c: Likewise.
28609 * math/s_catanf.c: Likewise.
28610 * math/s_catanh.c: Likewise.
28611 * math/s_catanhf.c: Likewise.
28612 * math/s_catanhl.c: Likewise.
28613 * math/s_catanl.c: Likewise.
28614 * math/s_ccosh.c: Likewise.
28615 * math/s_ccoshf.c: Likewise.
28616 * math/s_ccoshl.c: Likewise.
28617 * math/s_cexp.c: Likewise.
28618 * math/s_cexpf.c: Likewise.
28619 * math/s_cexpl.c: Likewise.
28620 * math/s_clog.c: Likewise.
28621 * math/s_clog10.c: Likewise.
28622 * math/s_clog10f.c: Likewise.
28623 * math/s_clog10l.c: Likewise.
28624 * math/s_clogf.c: Likewise.
28625 * math/s_clogl.c: Likewise.
28626 * math/s_csin.c: Likewise.
28627 * math/s_csinf.c: Likewise.
28628 * math/s_csinh.c: Likewise.
28629 * math/s_csinhf.c: Likewise.
28630 * math/s_csinhl.c: Likewise.
28631 * math/s_csinl.c: Likewise.
28632 * math/s_csqrt.c: Likewise.
28633 * math/s_csqrtf.c: Likewise.
28634 * math/s_csqrtl.c: Likewise.
28635 * math/s_ctan.c: Likewise.
28636 * math/s_ctanf.c: Likewise.
28637 * math/s_ctanh.c: Likewise.
28638 * math/s_ctanhf.c: Likewise.
28639 * math/s_ctanhl.c: Likewise.
28640 * math/s_ctanl.c: Likewise.
28641 * math/s_ldexp.c: Likewise.
28642 * math/s_ldexpf.c: Likewise.
28643 * math/s_ldexpl.c: Likewise.
28644 * math/s_significand.c: Likewise.
28645 * math/s_significandf.c: Likewise.
28646 * math/s_significandl.c: Likewise.
28647 * math/w_acos.c: Likewise.
28648 * math/w_acosf.c: Likewise.
28649 * math/w_acosh.c: Likewise.
28650 * math/w_acoshf.c: Likewise.
28651 * math/w_acoshl.c: Likewise.
28652 * math/w_acosl.c: Likewise.
28653 * math/w_asin.c: Likewise.
28654 * math/w_asinf.c: Likewise.
28655 * math/w_asinl.c: Likewise.
28656 * math/w_atan2.c: Likewise.
28657 * math/w_atan2f.c: Likewise.
28658 * math/w_atan2l.c: Likewise.
28659 * math/w_atanh.c: Likewise.
28660 * math/w_atanhf.c: Likewise.
28661 * math/w_atanhl.c: Likewise.
28662 * math/w_cosh.c: Likewise.
28663 * math/w_coshf.c: Likewise.
28664 * math/w_coshl.c: Likewise.
28665 * math/w_dremf.c: Likewise.
28666 * math/w_exp10.c: Likewise.
28667 * math/w_exp10f.c: Likewise.
28668 * math/w_exp10l.c: Likewise.
28669 * math/w_exp2.c: Likewise.
28670 * math/w_exp2f.c: Likewise.
28671 * math/w_fmod.c: Likewise.
28672 * math/w_fmodf.c: Likewise.
28673 * math/w_fmodl.c: Likewise.
28674 * math/w_hypot.c: Likewise.
28675 * math/w_hypotf.c: Likewise.
28676 * math/w_hypotl.c: Likewise.
28677 * math/w_j0.c: Likewise.
28678 * math/w_j0f.c: Likewise.
28679 * math/w_j0l.c: Likewise.
28680 * math/w_j1.c: Likewise.
28681 * math/w_j1f.c: Likewise.
28682 * math/w_j1l.c: Likewise.
28683 * math/w_jn.c: Likewise.
28684 * math/w_jnf.c: Likewise.
28685 * math/w_jnl.c: Likewise.
28686 * math/w_lgamma.c: Likewise.
28687 * math/w_lgamma_r.c: Likewise.
28688 * math/w_lgammaf.c: Likewise.
28689 * math/w_lgammaf_r.c: Likewise.
28690 * math/w_lgammal.c: Likewise.
28691 * math/w_lgammal_r.c: Likewise.
28692 * math/w_log.c: Likewise.
28693 * math/w_log10.c: Likewise.
28694 * math/w_log10f.c: Likewise.
28695 * math/w_log10l.c: Likewise.
28696 * math/w_log2.c: Likewise.
28697 * math/w_log2f.c: Likewise.
28698 * math/w_log2l.c: Likewise.
28699 * math/w_logf.c: Likewise.
28700 * math/w_logl.c: Likewise.
28701 * math/w_pow.c: Likewise.
28702 * math/w_powf.c: Likewise.
28703 * math/w_powl.c: Likewise.
28704 * math/w_remainder.c: Likewise.
28705 * math/w_remainderf.c: Likewise.
28706 * math/w_remainderl.c: Likewise.
28707 * math/w_scalb.c: Likewise.
28708 * math/w_scalbf.c: Likewise.
28709 * math/w_scalbl.c: Likewise.
28710 * math/w_sinh.c: Likewise.
28711 * math/w_sinhf.c: Likewise.
28712 * math/w_sinhl.c: Likewise.
28713 * math/w_sqrt.c: Likewise.
28714 * math/w_sqrtf.c: Likewise.
28715 * math/w_sqrtl.c: Likewise.
28716 * math/w_tgamma.c: Likewise.
28717 * math/w_tgammaf.c: Likewise.
28718 * math/w_tgammal.c: Likewise.
28719
6a621eb7
UD
28720 * po/ja.po: Update from translation team.
28721
bf582445
AJ
287222011-09-29 Andreas Jaeger <aj@suse.de>
28723
f9efbf3a
AJ
28724 [BZ #13179]
28725 * sunrpc/netname.c (netname2host): Fix logic.
28726
bf582445
AJ
28727 [BZ #6779]
28728 [BZ #6783]
28729 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28730 correctly.
28731 * math/w_remainder.c (__remainder): Likewise.
28732 * math/w_remainderf.c (__remainderf): Likewise.
28733 * math/libm-test.inc (remainder_test): Add test cases.
28734
48693bea
AK
287352011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28736
28737 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28738 sdiv_qrnnd.
28739
42622229
LD
287402011-10-07 Ulrich Drepper <drepper@gmail.com>
28741
28742 * string/test-memcmp.c: Avoid unncessary #defines.
28743 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28744
093ecf92
LD
287452011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28746
28747 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28748 Use new sse2 version for core i3 - i7 as it's faster
28749 than sse42 version.
28750 (bit_Prefer_PMINUB_for_stringop): New.
28751 * sysdeps/x86_64/rawmemchr.S: Update.
28752 Replace with faster SSE2 version.
28753 * sysdeps/x86_64/memrchr.S: New file.
28754 * sysdeps/x86_64/memchr.S: Update.
28755 Replace with faster SSE2 version.
28756
fde56e5c
MP
287572011-09-12 Marek Polacek <mpolacek@redhat.com>
28758
28759 * elf/dl-load.c (lose): Add cast to avoid warning.
28760
21fd49a9
UD
287612011-10-07 Ulrich Drepper <drepper@gmail.com>
28762
5a06e643
UD
28763 * po/ca.po: Update from translation team.
28764
684ae515
UD
28765 * inet/getnetgrent_r.c: Hook up nscd.
28766 * nscd/Makefile (routines): Add nscd_netgroup.
28767 (nscd-modules): Add netgroupcache.
28768 (CFLAGS-netgroupcache.c): Define.
28769 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28770 (cache_search): Add const to second parameter.
28771 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28772 INNETGR.
28773 (dbs): Add netgrdb entry.
28774 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28775 (verify_persistent_db): Handle netgrdb.
28776 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28777 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28778 GETFDNETGR.
28779 (netgroup_response_header): Define.
28780 (innetgroup_response_header): Define.
28781 (datahead): Add netgroup_response_header and innetgroup_response_header
28782 elements.
28783 * nscd/nscd.conf: Add entries for netgroup cache.
28784 * nscd/nscd.h (dbtype): Add netgrdb.
28785 (_PATH_NSCD_NETGROUP_DB): Define.
28786 (netgroup_iov_disabled): Declare.
28787 (xmalloc, xcalloc, xrealloc): Move declarations here.
28788 (cache_search): Adjust prototype.
28789 Add netgroup-related prototypes.
28790 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28791 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28792 (__nscd_innetgr): Declare.
28793 * nscd/selinux.c (perms): Use access_vector_t as element type and
28794 add netgroup-related initializers.
28795 * nscd/netgroupcache.c: New file.
28796 * nscd/nscd_netgroup.c: New file.
28797 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28798 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28799 For four parameters use innetgr.
28800 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28801 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28802 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28803 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28804
21fd49a9
UD
28805 * nscd/connections.c (register_traced_file): Don't register file
28806 for disabled databases.
28807
054c0457
UD
288082011-10-06 Ulrich Drepper <drepper@gmail.com>
28809
32b63198
UD
28810 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28811
054c0457
UD
28812 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28813 from tree and freeing node.
28814
64031225
JO
288152011-09-25 Jiri Olsa <jolsa@redhat.com>
28816
28817 * nss/nsswitch.c (__nss_database_lookup): Handle
28818 nss_parse_service_list out of memory case.
28819
0490345c
JO
288202011-09-15 Jiri Olsa <jolsa@redhat.com>
28821
28822 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28823 out of memory case.
28824
3a62d00d
AS
288252011-10-04 Andreas Schwab <schwab@redhat.com>
28826
28827 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28828 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28829 pass it down.
28830 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28831 elf_machine_rela, elf_machine_lazy_rel.
28832 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28833 (ELF_DYNAMIC_DO_REL): Likewise.
28834 (ELF_DYNAMIC_DO_RELA): Likewise.
28835 (ELF_DYNAMIC_RELOCATE): Likewise.
28836 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28837 to ELF_DYNAMIC_DO_REL.
28838 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28839 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28840 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28841 elf_machine_rela.
28842 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28843 skip_ifunc, don't call ifunc function if non-zero.
28844 (elf_machine_rela): Likewise.
28845 (elf_machine_lazy_rel): Likewise.
28846 (elf_machine_lazy_rela): Likewise.
28847 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28848 (elf_machine_lazy_rel): Likewise.
28849 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28850 Likewise.
28851 (elf_machine_lazy_rel): Likewise.
28852 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28853 Likewise.
28854 (elf_machine_lazy_rel): Likewise.
28855 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28856 (elf_machine_lazy_rel): Likewise.
28857 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28858 (elf_machine_lazy_rel): Likewise.
28859 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28860 (elf_machine_lazy_rel): Likewise.
28861 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28862 (elf_machine_lazy_rel): Likewise.
28863 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28864 (elf_machine_lazy_rel): Likewise.
28865 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28866 (elf_machine_lazy_rel): Likewise.
28867
68577918
UD
288682011-09-28 Ulrich Drepper <drepper@gmail.com>
28869
28870 * nss/nss_files/files-init.c (_nss_files_init): Use static
28871 initialization for all the *_traced_file variables.
28872
68822d74
AS
288732011-09-28 Andreas Schwab <schwab@redhat.com>
28874
28875 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28876
2056100b
RM
288772011-09-27 Roland McGrath <roland@hack.frob.com>
28878
28879 [BZ #13226]
28880 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28881
32c76b63
AS
288822011-09-27 Andreas Schwab <schwab@redhat.com>
28883
28884 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28885 Reread the line before reparsing it.
28886
bf972c9d
AS
288872011-09-26 Andreas Schwab <schwab@redhat.com>
28888
28889 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28890
e057a1b5
JM
288912011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28892 Maxim Kuvyrkov <maxim@codesourcery.com>
28893 Joseph Myers <joseph@codesourcery.com>
28894
28895 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28896 if needed for __stack_chk_guard.
28897
bc7e1c36
RM
288982011-09-19 Roland McGrath <roland@hack.frob.com>
28899
ecb1482f
RM
28900 * sysdeps/posix/spawni.c (script_execute): Always define it.
28901 It will be optimized away if unused.
28902 (maybe_script_execute): New function.
28903 (__spawni): Call it.
28904
bc7e1c36
RM
28905 * Makerules: Don't include tls.make.
28906 (config-tls): Always set to thread.
28907 * tls.make.c: File removed.
28908
1c3b002b
MF
289092011-09-19 Mike Frysinger <vapier@gentoo.org>
28910
28911 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28912 * config.make.in (CPPFLAGS-config): New substituted variable.
28913
2840865d
UD
289142011-09-15 Ulrich Drepper <drepper@gmail.com>
28915
88738eb6
UD
28916 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28917
cbf645a6 28918 [BZ #13192]
2840865d
UD
28919 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28920 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28921
b402e91a
RM
289222011-09-15 Roland McGrath <roland@hack.frob.com>
28923
28924 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28925 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28926 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28927 (CALL_FAIL): Likewise.
28928 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28929 (CALL_FAIL): Macro removed.
28930 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28931
4c1a1f71
UD
289322011-09-15 Ulrich Drepper <drepper@gmail.com>
28933
28934 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28935 for __FINITE_MATH_ONLY__ == 1.
28936
edc121be
AS
289372011-09-15 Andreas Schwab <schwab@redhat.com>
28938
28939 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28940 __ieee754_sqrt instead of sqrt.
28941 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28942 __ieee754_sqrtf instead of sqrtf.
28943 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28944 __floorf instead of floorf.
28945 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28946 __floorf, __truncf instead of floorf, truncf.
28947
cd205654
UD
289482011-09-14 Ulrich Drepper <drepper@gmail.com>
28949
ee4d0315
UD
28950 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28951
cd205654
UD
28952 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28953 __extern_always_inline.
28954 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28955 32-bit.
28956
48b67d71
AS
289572011-09-14 Andreas Schwab <schwab@redhat.com>
28958
28959 * elf/rtld.c (dl_main): Also relocate in dependency order when
28960 doing symbol dependency testing.
28961
1ae12c75
AS
289622011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28963
28964 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28965 Always define `refsym'.
28966
995a80df
AS
289672011-09-13 Andreas Schwab <schwab@redhat.com>
28968
e529793b
AS
28969 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28970 (__FD_ELT): Renamed from __FDELT.
28971 * misc/bits/select2.h (__FD_ELT): Likewise.
28972 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28973 __FD_MASK instead of __FDELT, __FDMASK.
28974 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28975 Likewise.
28976 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28977 Likewise.
28978
52d4fef8
AS
28979 * elf/Makefile (gen-ldd): Fix pattern.
28980
995a80df
AS
28981 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28982 (init_tls): Likewise.
28983
8682f8b0
UD
289842011-09-12 Ulrich Drepper <drepper@gmail.com>
28985
28986 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28987
de82006d
AS
289882011-09-12 Andreas Schwab <schwab@redhat.com>
28989
a7c8e6a1
AS
28990 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28991 `struct cmsghdr *' instead of `void *'.
28992 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28993 Likewise.
28994
0f31fe77
AS
289952011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28996
28997 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28998 if non-absolute.
28999 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29000 ldd_rewrite_script.
0f31fe77 29001
32b4c839
UD
290022011-09-11 Ulrich Drepper <drepper@gmail.com>
29003
83cd1420
UD
29004 * configure.in: Remove --with-tls option.
29005 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29006 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29007 out in case it is missing.
29008 * sysdeps/ia64/elf/configure.in: Likewise.
29009 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29010 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29011 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29012 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29013 * sysdeps/sh/elf/configure.in: Likewise.
29014 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29015 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29016 * sysdeps/x86_64/elf/configure.in: Likewise.
29017 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29018 * sysdeps/mach/hurd/tls.h: Likewise.
29019
633f745d
UD
29020 [BZ #13067]
29021 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29022
f318beb8
UD
29023 [BZ #13090]
29024 * configure.in: Fix use of AC_INIT.
29025
32b4c839
UD
29026 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29027
3ce1f295
UD
290282011-09-10 Ulrich Drepper <drepper@gmail.com>
29029
bb016596
UD
29030 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29031 __set_errno.
8e58439c
UD
29032 * malloc/hooks.c: Likewise.
29033
aebae053 29034 [BZ #11929]
02d46fc4
UD
29035 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29036 variables statically.
29037 (narenas): Initialize.
29038 (list_lock): Initialize.
bb016596
UD
29039 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29040 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
29041 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29042 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29043 Add initializers to main_arena and mp_.
29044 (malloc_state): Remove pagesize member. Change all users to use
29045 GLRO(dl_pagesize).
29046
29047 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29048 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29049 is always initialized.
29050
22a89187
UD
29051 * malloc/malloc.c: Removed unused configurations and dead code.
29052 * malloc/arena.c: Likewise.
29053 * malloc/hooks.c: Likewise.
02d46fc4 29054 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 29055
d063d164
UD
29056 * include/tls.h: Removed. USE___THREAD must always be defined.
29057 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29058 * elf/dl-libc.c: Likewise.
29059 * elf/dl-tsd.c: Likewise.
29060 * include/errno.h: Likewise.
29061 * include/netdb.h: Likewise.
29062 * include/resolv.h: Likewise.
29063 * inet/herrno-loc.c: Likewise.
29064 * inet/herrno.c: Likewise.
29065 * malloc/arena.c: Likewise.
29066 * malloc/hooks.c: Likewise.
29067 * malloc/malloc.c: Likewise.
29068 * resolv/res-state.c: Likewise.
29069 * resolv/res_libc.c: Likewise.
29070 * sysdeps/i386/dl-machine.h: Likewise.
29071 * sysdeps/ia64/dl-machine.h: Likewise.
29072 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29073 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29074 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29075 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29076 * sysdeps/sh/dl-machine.h: Likewise.
29077 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29078 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29079 * sysdeps/unix/i386/sysdep.S: Likewise.
29080 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29081 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29082 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29083 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29084 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29085 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29086 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29087 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29088 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29089 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29090 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29091 * sysdeps/x86_64/dl-machine.h: Likewise.
29092 * tls.make.c: Likewise.
29093
3ce1f295
UD
29094 * configure.in: Remove --with-__thread option. Make tests for
29095 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29096 tls_model attribute fail if no support is available. Remove
29097 USE_IN_LIBIO.
29098 * Makeconfig: Adjust for dropped configure option. All features are
29099 now mandatory.
29100 * Makerules: Likewise.
29101 * Versions.def: Likewise.
29102 * argp/argp-fmtstream.c: Likewise.
29103 * argp/argp-fmtstream.h: Likewise.
29104 * argp/argp-help.c: Likewise.
29105 * assert/assert.c: Likewise.
29106 * config.h.in: Likewise.
29107 * config.make.in: Likewise.
29108 * configure: Likewise.
29109 * configure.in: Likewise.
29110 * csu/Versions: Likewise.
29111 * csu/init.c: Likewise.
29112 * elf/tst-audit2.c: Likewise.
29113 * elf/tst-tls10.c: Likewise.
29114 * elf/tst-tls10.h: Likewise.
29115 * elf/tst-tls11.c: Likewise.
29116 * elf/tst-tls12.c: Likewise.
29117 * elf/tst-tls14.c: Likewise.
29118 * elf/tst-tlsmod11.c: Likewise.
29119 * elf/tst-tlsmod12.c: Likewise.
29120 * elf/tst-tlsmod13.c: Likewise.
29121 * elf/tst-tlsmod13a.c: Likewise.
29122 * elf/tst-tlsmod14a.c: Likewise.
29123 * elf/tst-tlsmod15b.c: Likewise.
29124 * elf/tst-tlsmod16a.c: Likewise.
29125 * elf/tst-tlsmod16b.c: Likewise.
29126 * elf/tst-tlsmod7.c: Likewise.
29127 * elf/tst-tlsmod8.c: Likewise.
29128 * elf/tst-tlsmod9.c: Likewise.
29129 * gmon/gmon.c: Likewise.
29130 * grp/fgetgrent_r.c: Likewise.
29131 * grp/putgrent.c: Likewise.
29132 * hurd/fopenport.c: Likewise.
29133 * include/libc-symbols.h: Likewise.
29134 * include/tls.h: Likewise.
29135 * intl/gettextP.h: Likewise.
29136 * intl/loadinfo.h: Likewise.
29137 * locale/global-locale.c: Likewise.
29138 * locale/localeinfo.h: Likewise.
29139 * mach/devstream.c: Likewise.
29140 * malloc/arena.c: Likewise.
29141 * malloc/set-freeres.c: Likewise.
29142 * misc/err.c: Likewise.
29143 * misc/getttyent.c: Likewise.
29144 * misc/mntent_r.c: Likewise.
29145 * posix/getopt.c: Likewise.
29146 * posix/wordexp.c: Likewise.
29147 * pwd/fgetpwent_r.c: Likewise.
29148 * resolv/Versions: Likewise.
29149 * resolv/res_hconf.c: Likewise.
29150 * shadow/fgetspent_r.c: Likewise.
29151 * shadow/putspent.c: Likewise.
29152 * stdio-common/printf_fphex.c: Likewise.
29153 * stdio-common/tmpfile.c: Likewise.
29154 * stdlib/abort.c: Likewise.
29155 * stdlib/fmtmsg.c: Likewise.
29156 * sunrpc/auth_unix.c: Likewise.
29157 * sunrpc/clnt_perr.c: Likewise.
29158 * sunrpc/clnt_tcp.c: Likewise.
29159 * sunrpc/clnt_udp.c: Likewise.
29160 * sunrpc/clnt_unix.c: Likewise.
29161 * sunrpc/openchild.c: Likewise.
29162 * sunrpc/svc_simple.c: Likewise.
29163 * sunrpc/svc_tcp.c: Likewise.
29164 * sunrpc/svc_udp.c: Likewise.
29165 * sunrpc/svc_unix.c: Likewise.
29166 * sunrpc/xdr.c: Likewise.
29167 * sunrpc/xdr_array.c: Likewise.
29168 * sunrpc/xdr_rec.c: Likewise.
29169 * sunrpc/xdr_ref.c: Likewise.
29170 * sunrpc/xdr_stdio.c: Likewise.
29171
1248c1c4
PB
291722011-09-09 Ulrich Drepper <drepper@gmail.com>
29173
29174 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29175
291762011-07-03 Andreas Jaeger <aj@suse.de>
29177
29178 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29179 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29180 regenerate with gen-libm-tests.pl.
29181
291822010-05-12 Petr Baudis <pasky@suse.cz>
29183
29184 [BZ #11589]
29185 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29186 around j0() zero points by switching to j1().
29187 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29188 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29189 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29190 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29191
f22e1074
UD
291922011-09-09 Ulrich Drepper <drepper@gmail.com>
29193
f19009c1
UD
29194 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29195 instead of 0.
29196 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29197 instead of 0.
f19009c1
UD
29198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29199 Patch in part by Pavel Roskin <proski@gnu.org>.
29200
3f8cc204
UD
29201 [BZ #13138]
29202 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29203 realloc.
29204 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29205 Free memory block if necessary.
29206
f22e1074
UD
29207 [BZ #12847]
29208 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29209 be NULL. Don't lock in this case.
29210
0a2349f9
RM
292112011-09-09 Roland McGrath <roland@hack.frob.com>
29212
29213 * elf/elf.h (ELFOSABI_GNU): New macro.
29214 (ELFOSABI_LINUX): Define to that.
29215
f3cdd467
DZ
292162011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29217
29218 * string/strncat.c (strncat): Undef the symbol in case it has been
29219 defined in bits/string.h.
29220
74718d13
UD
292212011-09-09 Ulrich Drepper <drepper@gmail.com>
29222
633e9e0f
UD
29223 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29224
0a2349f9 29225 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29226 link map.
29227
f9924780
AJ
292282011-08-17 Andreas Jaeger <aj@suse.de>
29229
29230 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29231
7f5517aa
PP
292322011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29233 Ian Lance Taylor <iant@google.com>
29234
29235 * math/libm-test.inc (lround_test): New testcase.
29236 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29237
762011fe
UD
292382011-09-08 Ulrich Drepper <drepper@gmail.com>
29239
92963737
UD
29240 * Makefile: Remove support for automatic cvs check-ins.
29241 * Makerules: Likewise.
29242 * config.make.in: Likewise.
29243 * configure.in: Likewise.
29244 * intl/Makefile: Likewise.
29245 * locale/Makefile: Likewise.
29246 * po/Makefile: Likewise.
29247 * posix/Makefile: Likewise.
29248 * sysdeps/gnu/Makefile: Likewise.
29249 * sysdeps/mach/hurd/Makefile: Likewise.
29250 * sysdeps/sparc/sparc32/Makefile: Likewise.
29251
b0727fd8
JS
29252 [BZ #13118]
29253 * posix/Makefile (bug-regex32-ENV): Define.
29254 Patch by John Stanley <jpsinthemix@verizon.net>.
29255
a0f33f99
UD
29256 * misc/Makefile (headers): Add bits/select2.h.
29257 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29258 * misc/bits/select2.h: New file.
29259 * include/bits/select2.h: New file.
29260 * debug/Makefile (routines): Add fdelt_chk.
29261 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29262 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29263 FD_ISSET.
29264 * debug/fdelt_chk.c: New file.
29265
762011fe
UD
29266 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29267 * wcsmbs/test-wmemcmp.c: Likewise.
29268 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29269 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29270
292712011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29272
29273 * string/Makefile (strop-tests): Add memcmp.
29274 * string/test-wmemcmp.c: New file.
29275 * string/test-memcmp.c: Add wmemcmp support.
29276
7f513ec8
RM
292772011-09-08 Roland McGrath <roland@hack.frob.com>
29278
0442afb4
RM
29279 [BZ #13153]
29280 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29281 2011-07-19 change.
29282
7f513ec8
RM
29283 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29284 garbage value in a __mach_port_mod_refs call in the cases of the
29285 task-self and thread-self ports.
29286
a12b2239
ST
292872011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29288
29289 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29290
610f9ab4
AS
292912011-09-08 Andreas Schwab <schwab@redhat.com>
29292
7f513ec8 29293 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29294
48882a1a
LD
292952011-09-07 Ulrich Drepper <drepper@gmail.com>
29296
b49865be
UD
29297 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29298
fdc86bc9
UD
29299 * elf/dl-libc.c (dlerror_run): Pass back error code from
29300 dl_catch_error.
29301
c966526a
UD
29302 [BZ #13123]
29303 * elf/dl-load.c (lose): Free l_origin if it is valid.
29304
48882a1a
LD
29305 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29306 names.
29307 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29308 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29309 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29310 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29311 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29312 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29313
77a2a8b4
AZ
293142011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29315
29316 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29317 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29318 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29319 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29320 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29321 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29322 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29323 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29324 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29325 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29326
24f579d8
AM
293272011-08-15 Alan Modra <amodra@gmail.com>
29328
29329 [BZ #13092]
29330 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29331 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29332 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29333 ppc_mcount to static-only-routines.
29334 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29335 __mcount_internal.
29336 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29337 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29338
3d4837df
UD
293392011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29340
29341 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29342 for finite and infinity parameters.
29343
22700377
WS
293442011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29345
29346 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29347 and add nop instructions for throughput optimization.
29348 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29349
5025581e
WS
293502011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29351
29352 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29353 aligned copy for power7 with vector-scalar instructions.
29354 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29355
08a300c9
L
293562011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29357
29358 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29359 AVX check.
29360
59178ef9
AS
293612011-09-07 Andreas Schwab <schwab@redhat.com>
29362
29363 [BZ #13144]
29364 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29365 last change.
29366
e38ba7ab
UD
293672011-09-07 Ulrich Drepper <drepper@gmail.com>
29368
29369 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29370 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29371 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29372 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29373 clock_gettime.
29374
d53a73ac
UD
293752011-09-06 Ulrich Drepper <drepper@gmail.com>
29376
fc8bffcc
UD
29377 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29378 Forgot to demangle the pointer.
29379
ceaa0c5d
UD
29380 * sysdeps/i386/sysdep.h: Define atom_text_section.
29381 * sysdeps/x86_64/sysdep.h: Likewise.
29382 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29383 section with atom_text_section.
29384 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29385 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29386 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29387 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29388 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29389
a77d3c17
UD
29390 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29391 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29392 already be defined. Change to take two parameters and don't assign
29393 result to variable. Adjust all users.
29394 Define INTERNAL_GETTIME if not already defined.
29395 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29396 call.
29397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29398 HAVE_CLOCK_GETTIME_VSYSCALL.
29399 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29400
d53a73ac
UD
29401 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29402 gettimeofday vsyscall, just use time.
29403
a8f84144
AS
294042011-09-06 Andreas Schwab <schwab@redhat.com>
29405
29406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29407 <errno.h>.
29408
ef606249
UD
294092011-09-06 Ulrich Drepper <drepper@gmail.com>
29410
29411 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29412 syscall on x86-64.
29413 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29414 syscall.
29415 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29416 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29417 syscall if possible.
29418
6585cb60
UD
294192011-09-05 Ulrich Drepper <drepper@gmail.com>
29420
29421 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29422 e_ident. Don't pass to find_mapsXX.
29423 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29424
a5f524e4
LD
294252011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29426
29427 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29428 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29429 * sysdeps/x86_64/multiarch/strchr.S: Update.
29430 Check bit_slow_BSF bit.
29431 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29432 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29433 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29434
554881ef
UD
294352011-09-05 Ulrich Drepper <drepper@gmail.com>
29436
d96de963
UD
29437 [BZ #13134]
29438 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29439 before glibc 2.15.
29440 (tryshell): Define.
29441 (__spawni): Change last parameter to be flag. Test
29442 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29443 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29444 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29445 * posix/spawni.c: Likewise.
29446 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29447 * posix/spawnp.c: Likewise. Change normal version to use
29448 SPAWN_XFLAGS_USE_PATH.
29449 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29450 SPAWN_XFLAGS_TRY_SHELL.
29451
d48e5868
UD
29452 [BZ #13150]
29453 * posix/glob.h: Remove gcc 1.x support.
29454
554881ef
UD
29455 [BZ #13068]
29456 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29457
693fb948
LD
294582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29459
29460 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29461 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29462 strrchr-sse2-bsf
29463 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29464 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29465 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29466 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29467 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29468 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29469
1b48c537
UD
294702011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29471
49d42c37
UD
29472 * sysdeps/x86_64/wcscmp.S: New file.
29473
1b48c537
UD
29474 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29475 wcscmp-c wcscmp-sse2
29476 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29477 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29478 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29479 * wcsmbs/wcscmp.c: Allow renaming.
29480
15c95c5d
DM
294812011-09-05 David S. Miller <davem@davemloft.net>
29482
29483 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29484 stack slot, rather than the struct return pointer slot.
29485 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29486 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29488 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29489
2f0ad8f3
UD
294902011-09-05 Ulrich Drepper <drepper@gmail.com>
29491
d88ae418
UD
29492 * po/ja.po: Update from translation team.
29493
2f0ad8f3
UD
29494 [BZ #13144]
29495 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29496 kernel in 64-bit binaries.
29497
5f4318d1
DM
294982011-09-01 David S. Miller <davem@davemloft.net>
29499
29500 * elf/elf.h (HWCAP_SPARC_*): Move to..
29501 * sysdeps/sparc/sysdep.h: this new file and add new values.
29502 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29503 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29504 _DL_HWCAP_COUNT to 24.
29505 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29506 entries.
29507 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29508 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29509 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29511 instead of magic constants.
29512 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29513
3ba57516
DM
295142011-08-31 David S. Miller <davem@davemloft.net>
29515
29516 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29518 Reimplement to do errno handling inline.
29519 (SYSCALL_ERROR_HANDLER): New macro.
29520 (__SYSCALL_STRING): Do not do errno handling in asm.
29521 (__CLONE_SYSCALL_STRING): Delete.
29522 (__INTERNAL_SYSCALL_STRING): Delete.
29523 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29524 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29525 (PSEUDO): Reimplement to do errno handling inline.
29526 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29527 (SYSCALL_ERROR_HANDLER): New macro.
29528 (__SYSCALL_STRING): Do not do errno handling in asm.
29529 (__CLONE_SYSCALL_STRING): Delete.
29530 (__INTERNAL_SYSCALL_STRING): Delete.
29531 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29532 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29533 i386.
29534 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29535 (inline_syscall*): Add 'err' argument.
29536 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29537 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29538 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29539 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29540
29541 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29542 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29543
2bc17433
AS
295442011-08-30 Andreas Schwab <schwab@redhat.com>
29545
29546 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29547
fbeb5f4d
JO
295482011-08-29 Jiri Olsa <jolsa@redhat.com>
29549
29550 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29551 directive.
29552
ad69cc26
DM
295532011-08-24 David S. Miller <davem@davemloft.net>
29554
29555 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29556
39dd69df
AS
295572011-08-24 Andreas Schwab <schwab@redhat.com>
29558
29559 * elf/Makefile: Add rules to build and run unload8 test.
29560 * elf/unload8.c: New file.
29561 * elf/unload8mod1.c: New file.
29562 * elf/unload8mod1x.c: New file.
29563 * elf/unload8mod2.c: New file.
29564 * elf/unload8mod3.c: New file.
29565
29566 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29567 it wasn't used.
29568
2c0b250a
DM
295692011-08-23 David S. Miller <davem@davemloft.net>
29570
29571 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29572 subtract stack bias.
29573 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29574 %sp not %fp in calculations.
29575 (_JMPBUF_UNWINDS_ADJ): Likewise.
29576
22044b48
DM
29577 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29578 (aio_suspend): Call it to force an exception region around the
29579 AIO_MISC_WAIT() invocation.
29580
2cae4995
AS
295812011-08-23 Andreas Schwab <schwab@redhat.com>
29582
29583 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29584 backslash.
29585
873a772e
AJ
295862011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29587
29588 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29589 protection macro.
29590 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29591 and <dl-machine.h>.
29592 (Elf64_FuncDesc): Remove.
29593
25ad0df1
DM
295942011-08-22 David S. Miller <davem@davemloft.net>
29595
29596 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29597 sigaltstack check, add missing cfi directives.
29598 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29599 missing cfi directives, and sigaltstack handling.
29600
e888bcbe
AS
296012011-08-16 Andreas Schwab <schwab@redhat.com>
29602
29603 [BZ #11724]
29604 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29605 object is seen twice.
29606 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29607
29608 * elf/Makefile (distribute): Add tst-initorder2.c.
29609 (tests): Add tst-initorder2.
29610 (modules-names): Add tst-initorder2a tst-initorder2b
29611 tst-initorder2c tst-initorder2d. Add rules to build them.
29612 ($(objpfx)tst-initorder2.out): New rule.
29613 * elf/tst-initorder2.c: New file.
29614 * elf/tst-initorder2.exp: New file.
29615
87162f46
AS
296162011-08-22 Andreas Schwab <schwab@redhat.com>
29617
70538b7f
AS
29618 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29619
f55ffe58
AS
29620 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29621 dependencies back to end of function.
29622
87162f46
AS
29623 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29624 $(elfobjdir)/ld.so.
29625
91b392a4
UD
296262011-08-21 Ulrich Drepper <drepper@gmail.com>
29627
29628 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29629 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29630 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29631 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29632 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29633 of __vdso_gettimeofday.
29634 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29635 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29636 attribute_hidden.
29637 (_libc_vdso_platform_setup): Remove initialization of
29638 __vdso_gettimeofday and __vdso_time.
29639
5c43483f
UD
296402011-08-20 Ulrich Drepper <drepper@gmail.com>
29641
775a77e7
UD
29642 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29643 and fgetc_unlocked.
29644 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29645 getc_unlocked.
89f447ed 29646
49c74ba9
UD
29647 * elf/dl-open.c (add_to_global): Report additions to the global scope
29648 for LD_DEBUG=scopes.
29649 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29650 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29651
5c43483f
UD
29652 [BZ #13114]
29653 * stdio-common/Makefile (tests): Add bug24.
29654 * stdio-common/bug24.c: New file.
29655
a101b025
AJ
296562011-08-19 Andreas Jaeger <aj@suse.de>
29657
29658 [BZ #13114]
29659 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29660 non-existant file when using close-on-exec mode.
29661
c88f1766
UD
296622011-08-20 Ulrich Drepper <drepper@gmail.com>
29663
0276a718
UD
29664 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29665 the very first instruction.
29666
c88f1766
UD
29667 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29668 the CFI state in the end.
29669 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29670 inclusion of dl-trampoline.h.
29671 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29672
51ccffa0
AS
296732011-08-19 Andreas Schwab <schwab@redhat.com>
29674
94d7165f
AS
29675 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29676 expectations for long double.
29677
51ccffa0
AS
29678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29679 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29680
fd708658 296812011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29682
29683 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29684 artificual limit depends upon the system page size.
29685
44f0a71e
UD
296862011-08-17 Ulrich Drepper <drepper@gmail.com>
29687
29688 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29689 * resolv/Makefile: Define CFLAGS-libresolv.
29690
8de79a24
AS
296912011-08-17 Andreas Schwab <schwab@redhat.com>
29692
29693 * nss/makedb.c (compute_tables): Make variables used in nested
29694 function static.
29695
27724598
UD
296962011-08-17 Ulrich Drepper <drepper@gmail.com>
29697
c5305d88
UD
29698 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29699 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29700 if buffer was too small.
29701
27724598
UD
29702 * elf/pldd.c (main): Attach to all threads in the process.
29703 Rewrite /proc handling to use *at functions.
29704
076fe015
UD
297052011-08-16 Ulrich Drepper <drepper@gmail.com>
29706
174baab3
UD
29707 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29708 specifies first scope to show.
29709 (dl_open_worker): Update callers. Move printing scope of new
29710 object to before the relocation.
44f0a71e 29711 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29712 * sysdeps/generic/ldsodefs.h: Update declaration.
29713
076fe015
UD
29714 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29715 string for the scope number.
29716
a60df2c3
UD
297172011-08-14 Ulrich Drepper <drepper@gmail.com>
29718
29719 * nscd/servicescache.c (cache_addserv): Make sure written is always
29720 initialized.
29721
5e4287d1
RM
297222011-08-14 Roland McGrath <roland@hack.frob.com>
29723
85ae0589
RM
29724 * sysdeps/i386/i486/bits/atomic.h
29725 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29726 statement expression, so as to suppress "set but not used" warning.
29727 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29728
69f63097
RM
29729 * string/strncat.c (STRNCAT): Use prototype definition.
29730
675456ef
RM
29731 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29732 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29733 -Iprograms here.
29734 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29735 (localedef-modules): Add localedef.
29736 (locale-modules): Add locale.
29737
5e4287d1
RM
29738 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29739 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29740 to avoid a warning.
29741
9c96ff23
DM
297422011-08-14 David S. Miller <davem@davemloft.net>
29743
29744 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29745 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29746
f9ddf089
UD
297472011-08-13 Ulrich Drepper <drepper@gmail.com>
29748
44f0a71e 29749 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29750 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29751 * elf/rtld.c (dl_main): Set l_name of vDSO.
29752 Call _dl_show_scope when DL_DEBUG_SCOPES.
29753 (process_dl_debug): Recognize scopes flag and also set it for all.
29754 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29755 Declare _dl_show_scope.
29756
1dc27704
UD
29757 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29758 (do_dlopen): Pass caller_dlopen to dl_open.
29759 (__libc_dlopen_mode): Initialize caller_dlopen.
29760
f9ddf089
UD
29761 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29762 of libc. Make tolower call locale-independent. Optimize a bit by
29763 using isdigit instead of isalnum.
29764 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29765
9ac533d3
UD
297662011-08-12 Ulrich Drepper <drepper@gmail.com>
29767
29768 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29769 was a dependency or dynamically loaded.
29770
89edf2e9
UD
297712011-08-11 Ulrich Drepper <drepper@gmail.com>
29772
8e999d29
UD
29773 * intl/l10nflist.c: Allow architecture-specific pop function.
29774 * sysdeps/x86_64/l10nflist.c: New file.
29775
89edf2e9
UD
29776 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29777 classification.
29778
14d96785
AS
297792011-08-10 Andreas Schwab <schwab@redhat.com>
29780
29781 * include/dirent.h: Add libc_hidden_proto for scandirat and
29782 scandirat64. Don't declare __scandirat64.
29783 * dirent/scandirat.c: Add libc_hidden_def.
29784 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29785 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29786
6761ac04
DM
297872011-08-10 David S. Miller <davem@davemloft.net>
29788
29789 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29790 enum.
29791 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29792 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29793 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29794
c55fbd1e
UD
297952011-08-09 Ulrich Drepper <drepper@gmail.com>
29796
29797 * Versions.def [libc]: Add GLIBC_2.15.
29798 * dirent/Makefile (routines): Add scandirat and scandirat64.
29799 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29800 GLIBC_2.15.
29801 * dirent/dirent.h: Declare scandirat and scandirat64.
29802 * dirent/scandirat.c: New file.
29803 * dirent/scandirat64.c: New file.
29804 * sysdeps/wordsize-64/scandirat.c: New file.
29805 * sysdeps/wordsize-64/scandirat64.c: New file.
29806 * dirent/opendir.c: Define opendirat.
29807 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29808 using scandirat.
29809 * dirent/scandir64.c: Adjust for scandir.c change.
29810 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29811 __scandirat64, and __scandir_cancel_handler.
29812 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29813 additional parameter and use openat instead of open (outside of ld.so).
29814 Add new __opendir as wrapper around __opendirat.
29815 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29816 here without requiring old scandirat implementation.
29817
879165f2
UD
298182011-08-08 Ulrich Drepper <drepper@gmail.com>
29819
29820 * dirent/scandir.c (cancel_handler): Renamed to
29821 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29822 defined. Adjust users.
29823 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29824 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29825
cb7e923b
UD
298262011-08-04 Ulrich Drepper <drepper@gmail.com>
29827
16292edd
UD
29828 * string/test-string.h (IMPL): Use __STRING to expand name and then
29829 stringify it.
29830
cb7e923b
UD
29831 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29832 of cleanups.
29833
cff82933
LD
298342011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29835
29836 * string/Makefile: Update.
29837 (strop-tests): Append strncat.
29838 * string/test-wcscmp.c: New file.
29839 New comprehensive test for wcscmp.
29840 * string/test-strcmp.c: Update.
29841 (WIDE): New define.
29842
9be9bfcc
AS
298432011-07-22 Andreas Schwab <schwab@redhat.com>
29844
29845 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29846 line.
29847
2e96f1c7
AS
298482011-07-26 Andreas Schwab <schwab@redhat.com>
29849
29850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29851 encoding to ACE if AI_IDN.
29852
85188888
JJ
298532011-08-01 Jakub Jelinek <jakub@redhat.com>
29854
29855 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29856 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29857
5fa16e9b
LD
298582011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29859
29860 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29861 Fix overflow bug in strncat.
29862 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29863
29864 * string/test-strncat.c: Update.
29865 Add new tests for checking overflow bugs.
29866
298672011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29868
29869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29870 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29871 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29872 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29873 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29874 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29875 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29876 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29877 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29878
29879 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29880 (USE_AS_STRCAT): Define.
29881 Add strcat and strncat support.
29882 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29883
8c1a459f
AS
298842011-07-25 Andreas Schwab <schwab@redhat.com>
29885
29886 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29887 __n bigger than INT_MAX+1.
29888 (__strncmp_g): Likewise.
29889
bba33c28
UD
298902011-07-23 Ulrich Drepper <drepper@gmail.com>
29891
798be72d
UD
29892 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29893 * libio/stido.h: Likewise.
29894
8accd4dc
UD
29895 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29896 (AF_NFC): Define.
29897 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29898 (AF_NFC): Define.
29899
cbff0d96
UD
29900 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29901 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29902 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29903 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29904 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29905
9191c04a
UD
29906 [BZ #13021]
29907 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29908 installed.
29909
bba33c28
UD
29910 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29911 typo.
29912 (_dl_x86_64_save_sse): Likewise.
29913
90f139dd
UD
299142011-07-22 Ulrich Drepper <drepper@gmail.com>
29915
1aae088a
UD
29916 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29917 OSXSAVE.
29918 (_dl_x86_64_save_sse): Likewise.
29919
8e2045f5
UD
29920 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29921
90f139dd
UD
29922 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29923
1d002f25
AS
299242011-07-21 Andreas Schwab <schwab@redhat.com>
29925
29926 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29927 change.
29928 (_dl_x86_64_save_sse): Use correct AVX check.
29929
21137f89
UD
299302011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29931
29932 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29933 bug in strncpy/strncat.
29934 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29935
a65c0b7a
UD
299362011-07-21 Ulrich Drepper <drepper@gmail.com>
29937
29938 * string/tester.c (test_strcat): Add tests for different alignments
29939 of source and destination.
29940 (test_strncat): Likewise.
29941
6986b98a
UD
299422011-07-20 Ulrich Drepper <drepper@gmail.com>
29943
90bb2039
UD
29944 [BZ #12852]
29945 * posix/glob.c (glob): Check passed in values before using them in
29946 expressions to avoid some overflows.
29947 (glob_in_dir): Likewise.
29948
5644ef54
UD
29949 [BZ #13007]
29950 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29951 check for AVX enablement so that we don't crash with old kernels and
29952 new hardware.
29953 * elf/tst-audit4.c: Add same checks here.
29954 * elf/tst-audit6.c: Likewise.
29955
29956 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29957
bfc9dc9b
AS
299582011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29959
29960 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29961
702e64bb
UD
299622011-07-20 Ulrich Drepper <drepper@gmail.com>
29963
29964 * po/cs.po: Update from translation team.
29965 * po/bg.po: Likewise.
29966
295e904f
MP
299672011-07-12 Marek Polacek <mpolacek@redhat.com>
29968
29969 * misc/sys/cdefs.h: Add support for const attribute.
29970 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29971 to gnu_dev_{major,minor,makedev} functions.
29972
3ff94596
MP
299732011-07-20 Marek Polacek <mpolacek@redhat.com>
29974
29975 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29976
28b59fca
AS
299772011-07-20 Andreas Schwab <schwab@redhat.com>
29978
29979 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29980 strlen results.
29981
19df733e
AK
299822011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29983
29984 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29985 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29986 register in order to avoid conflicts with the soft frame pointer
29987 being held in r11 when necessary.
29988 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29989 (INTERNAL_VSYSCALL_NCS): Likewise.
29990
c8835729
MP
299912011-07-14 Marek Polacek <mpolacek@redhat.com>
29992
29993 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29994 * elf/dl-fini.c (_dl_fini): Adjust caller.
29995 * elf/dl-close.c (_dl_close_worker): Likewise.
29996 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29997
b902330c
MP
299982011-07-15 Marek Polacek <mpolacek@redhat.com>
29999
8991e135
MP
30000 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30001 "aux_cache->nlibs < 0".
30002
b902330c
MP
30003 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30004 in the reload-count case.
30005
99710781
LD
300062011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30007
30008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30009 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30010 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30011 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30012 * sysdeps/x86_64/multiarch/strcat.S: New file.
30013 * sysdeps/x86_64/multiarch/strncat.S: New file.
30014 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30015 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30016 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30017 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30018 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30019 (USE_AS_STRCAT): Define.
30020 Add strcat and strncat support.
30021 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30022 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30023 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30024 * string/strncat.c: Update.
30025 (USE_AS_STRNCAT): Define.
30026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30027 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30028 and i7.
30029 * sysdeps/x86_64/multiarch/init-arch.h
30030 (bit_Prefer_PMINUB_for_stringop): New.
30031 (index_Prefer_PMINUB_for_stringop): Likewise.
30032 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30033 bit_Prefer_PMINUB_for_stringop.
30034
7dc6bd90
UD
300352011-07-19 Ulrich Drepper <drepper@gmail.com>
30036
30037 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30038 buffer64.
30039 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30040 of casting of buffer.
30041 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30042 buffer32 and buffer64.
30043 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30044 writes instead of casting of buffer.
30045 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30046 buffer32.
30047 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30048 casting of buffer.
30049
e0e72284
AS
300502011-07-19 Andreas Schwab <schwab@redhat.com>
30051
30052 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30053
feb1eb0b
UD
300542011-07-19 Ulrich Drepper <drepper@gmail.com>
30055
30056 * nscd/nscd.c (termination_handler): Don't do anything for a database
30057 if it has not yet been initialized.
30058
298711ff
UD
300592011-07-18 Ulrich Drepper <drepper@gmail.com>
30060
30061 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30062
300632011-07-15 Marek Polacek <mpolacek@redhat.com>
30064
30065 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30066
f9d68389
UD
300672011-07-18 Ulrich Drepper <drepper@gmail.com>
30068
30069 * po/nl.po: Update from translation team.
30070 * po/sv.po: Likewise.
30071
db290cf5
RM
300722011-07-16 Roland McGrath <roland@hack.frob.com>
30073
30074 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30075 now disallowed by GCC.
5c550700 30076
fd5e21c7
RM
30077 * configure.in (use-default-link): Default to yes if a test -shared
30078 link meets our qualifications.
30079 * configure: Regenerated.
30080
5c550700
RM
30081 * config.make.in (output-format): New variable.
30082 * configure.in: Check for ld --print-output-format support.
30083 * configure: Regenerated.
30084 * Makerules ($(common-objpfx)format.lds)
30085 [$(output-format) != unknown]: Just use $(output-format),
30086 instead of the linker-script munging.
30087
9fa2c032
RM
300882011-07-14 Roland McGrath <roland@hack.frob.com>
30089
a6928d51
RM
30090 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30091 of $(common-objpfx)shlib.lds.
30092 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30093
661607b3
RM
30094 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30095 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30096
9fa2c032
RM
30097 * configure.in (-z relro check): Adjust test code to add a large
30098 writable data section after it.
30099 * configure: Regenerated.
30100
defe9061
RM
301012011-07-11 Roland McGrath <roland@hack.frob.com>
30102
30103 * configure.in (-z relro check): Fix test code to make the variable
30104 truly const.
30105 * configure: Regenerated.
30106
319b9ad4
UD
301072011-07-11 Ulrich Drepper <drepper@gmail.com>
30108
30109 * nscd/nscd.h (struct traced_file): Define.
30110 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30111 elements. Add traced_files.
30112 (inotify_fd): Declare.
30113 (register_traced_file): Declare.
30114 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30115 (inotify_fd): Export.
30116 (resolv_conf_descr): Remove.
30117 (nscd_init): Move inotify descriptor creation to main.
30118 Don't register files for notification here.
30119 (register_traced_file): New function.
30120 (invalidate_cache): Don't use reset_res to determine whether to call
30121 res_init, go through the list of registered files.
30122 (main_loop_poll): The inotify descriptors are now stored in the
30123 structures for the traced files.
30124 (main_loop_epoll): Likewise
30125 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30126 to __nss_disable_nscd.
30127 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30128 for a database anymore. Check the records for all the registered
30129 files instead.
30130 * nss/Makefile (libnss_files-routines): Add files-init.
30131 (libnss_db-routines): Add db-init.
30132 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30133 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30134 * nss/nss_db/db-init.c: New file.
30135 * nss/nss_files/files-init.c: New file.
30136 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30137 __nss_lookup_function.
30138 (__nss_lookup_function): Call nss_load_library.
30139 (nss_load_all_libraries): New function.
30140 (__nss_disable_nscd): Take parameter with callback function for files
30141 to register. Set is_nscd. Load all the DSOs for the NSS modules
30142 used for the cached services.
30143 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30144 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30145 options for features to all the files in nscd.
30146
30147 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30148
23bee3e8
RM
301492011-07-10 Roland McGrath <roland@hack.frob.com>
30150
30151 * csu/elf-init.c (__libc_csu_init): Comment typo.
30152
46a5b7f0
UD
301532011-07-09 Ulrich Drepper <drepper@gmail.com>
30154
30155 * po/pl.po: Update from translation team.
30156 * po/ja.po: Likewise.
30157 * po/ru.po: Likewise.
30158 * po/ko.po: Likewise.
30159 * po/fr.po: Likewise.
30160
d30cf5bb
RM
301612011-07-09 Roland McGrath <roland@hack.frob.com>
30162
113ddea4
RM
30163 * configure.in (.ctors/.dtors header and trailer check):
30164 Use an empirical test on a built program.
30165 * configure: Regenerated.
30166
574920b4
RM
30167 * configure.in (-z relro check): Use an empirical test on a built DSO.
30168 Detect, but do not require, on ia64.
30169 * configure: Regenerated.
30170
d30cf5bb
RM
30171 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30172 Update tests that use readelf to use $READELF instead.
30173 * configure: Regenerated.
30174
8538fdb3
UD
301752011-07-08 Ulrich Drepper <drepper@gmail.com>
30176
30177 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30178 if the result is not used.
30179
04d08991
AJ
301802011-07-05 Andreas Jaeger <aj@suse.de>
30181
30182 [BZ#9696]
30183 * stdlib/tst-strtod.c: Add testcase.
30184
de283087
AD
301852011-07-07 Ulrich Drepper <drepper@gmail.com>
30186
4e5f31c8 30187 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30188 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30189 The latter has a higher limit. Take additional parameter to pass to
30190 the new function.
30191 (__pathconf): Pass file to __statfs_link_max.
30192 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30193 __statfs_link_max.
30194 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30195 __statfs_link_max.
30196
de283087
AD
30197 [BZ #12868]
30198 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30199 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30200 Handle Lustre.
30201 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30202 (__statfs_filesize_max): Likewise.
30203 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30204
c75fa153
AJ
302052011-07-05 Andreas Jaeger <aj@suse.de>
30206
30207 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30208
1a544854
UD
302092011-07-06 Marek Polacek <mpolacek@redhat.com>
30210
30211 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30212 `status' variable.
30213 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30214 Likewise.
30215
6f0eec67
UD
302162011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30217
30218 * Makefile (strop-tests): Add strncat.
30219 * string/test-strncat.c: New file.
30220
aae30307
UD
302212011-06-30 Marek Polacek <mpolacek@redhat.com>
30222
30223 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30224
c0cfb5eb
UD
302252011-06-21 Andreas Jaeger <aj@suse.de>
30226
30227 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30228 Copy rule from iconvdata/Makefile.
30229
01636b21
UD
302302011-07-06 Ulrich Drepper <drepper@gmail.com>
30231
30232 [BZ #12922]
30233 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30234 but no long options are defined, just return 'W'.
30235
9895c8bc
UD
302362011-06-22 Marek Polacek <mpolacek@redhat.com>
30237
30238 [BZ #9696]
30239 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30240
5d4cf042
UD
302412011-07-06 Ulrich Drepper <drepper@gmail.com>
30242
30243 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30244 netgroups to read.
960e5535 30245 (innetgr): Likewise.
5d4cf042 30246
751eb97e
RM
302472011-07-05 Roland McGrath <roland@hack.frob.com>
30248
30249 * config.make.in (install_root): Default to $(DESTDIR).
30250
f15f1e45
UD
302512011-07-05 Ulrich Drepper <drepper@gmail.com>
30252
30253 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30254
4e34ac6a
RM
302552011-07-02 Roland McGrath <roland@hack.frob.com>
30256
5e9b6af4
RM
30257 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30258
84f9ea0f
RM
30259 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30260 containing directory rather than embedding absolute directory names.
30261
ea5ee9f7
RM
30262 * scripts/check-local-headers.sh: Rewritten using awk.
30263 Match by word, not by line. Print error messages for matches.
30264 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30265
1b74661a
RM
30266 * Makerules [shlib-lds-flags empty]:
30267 ($(common-objpfx)libc_pic.opts): New target.
30268 ($(common-objpfx)libc_pic.os.clean): New target.
30269 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30270
30271 * config.make.in (OBJCOPY): New variable.
30272 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30273 * configure: Regenerated.
30274
f781ef40
RM
30275 * config.make.in (use-default-link): New variable.
30276 * configure.in (use_default_link): Grok --with-default-link to set it.
30277 * configure: Regenerated.
30278 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30279 (shlib-lds, shlib-lds-flags): Define to empty.
30280
2d4fa81e
RM
30281 * Makerules (shlib-lds): New variable.
30282 (shlib-lds-flags): New variable.
30283 (build-shlib, build-moduile, build-module-asneeded): Use it.
30284 ($(common-objpfx)libc.so): Use $(shlib-lds).
30285 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30286 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30287
31fffa6b
RM
30288 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30289 DT_FLAGS/DT_FLAGS_1 with zero flags.
30290
4e34ac6a
RM
30291 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30292 linker script munging.
30293
fcfc776b
UD
302942011-07-02 Ulrich Drepper <drepper@gmail.com>
30295
30296 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30297 as 128-bit value.
30298 * crypt/sha512.c (sha512_process_block): Perform total addition using
30299 128-bit if possible.
30300 (__sha512_finish_ctx): Likewise.
30301 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30302 as 64-bit value.
30303 * crypt/sha256.c (SWAP64): Define.
30304 (sha256_process_block): Perform total addition using 64-bit if
30305 possible.
30306 (__sha256_finish_ctx): Likewise.
30307
99231d9a
UD
303082011-07-01 Ulrich Drepper <drepper@gmail.com>
30309
30310 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30311 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30312 * nscd/hstcache.c (cache_addhst): Likewise.
30313 * nscd/grpcache.c (cache_addgr): Likewise.
30314 * nscd/aicache.c (addhstaiX): Likewise
30315 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30316
445b4a53
TK
303172011-07-01 Thorsten Kukuk <kukuk@suse.de>
30318
30319 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30321 * nscd/hstcache.c (cache_addhst): Likewise.
30322 * nscd/grpcache.c (cache_addgr): Likewise.
30323 * nscd/aicache.c (addhstaiX): Likewise
30324
6d4d8e8e
AS
303252011-07-01 Andreas Schwab <schwab@redhat.com>
30326
30327 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30328 domain only when needed.
30329
89f654c5
AS
303302011-06-30 Andreas Schwab <schwab@redhat.com>
30331
30332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30333 is always restored.
30334
cf3b23ff
UD
303352011-06-29 Ulrich Drepper <drepper@gmail.com>
30336
30337 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30338 are re-adding the entry.
30339 * nscd/servicescache.c (cache_addserv): Likewise.
30340
751626f9
AJ
303412011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30342
30343 * sysdeps/generic/dl-irel.h: fix protection against multiple
30344 inclusions.
30345 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30346
9113ea1f
UD
303472011-06-28 Ulrich Drepper <drepper@gmail.com>
30348
5c0b8d90
UD
30349 [BZ #12935]
30350 * malloc/memusage.sh: Fix quoting in message.
30351 * debug/xtrace.sh: Likewise.
30352
9113ea1f
UD
30353 * configure.in: Remove support for --experimental-malloc option, make
30354 it the default.
30355 * config.make.in: Likewise.
30356 * malloc/Makefile: Likewise.
30357
a4172181
AS
303582011-06-27 Andreas Schwab <schwab@redhat.com>
30359
30360 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30361 two-byte characters.
30362
78a7eee7
RM
303632011-06-27 Roland McGrath <roland@hack.frob.com>
30364
62bede13
RM
30365 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30366 AC_CACHE_CHECK invocation.
30367 * configure: Regenerated.
30368
78a7eee7
RM
30369 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30370
5ce33a62
UD
303712011-06-27 Ulrich Drepper <drepper@gmail.com>
30372
034807a9
UD
30373 [BZ #12350]
30374 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30375 bit from old_res_options.
30376
4902da17
UD
30377 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30378
5ce33a62
UD
30379 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30380 value type for setfct.
30381
c2344f56
L
303822011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30383
30384 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30385 __gettimeofday instead of gettimeofday.
30386
68468076
UD
303872011-06-26 Ulrich Drepper <drepper@gmail.com>
30388
30389 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30390
acb0d739
L
303912011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30392
30393 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30394
30395 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30396 info.
30397
8912479f
L
303982011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30399
30400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30401 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30402 strcpy-sse2-unaligned strncpy-sse2-unaligned
30403 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30404 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30405 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30406 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30407 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30408 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30409 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30410 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30411 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30412 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30413 (STRCPY): Support SSE2 and SSSE3 versions.
30414
d5495a11
UD
304152011-06-24 Ulrich Drepper <drepper@gmail.com>
30416
30417 [BZ #12874]
30418 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30419 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30420 kernels which artificially limit size of requests.
30421
0b1cbaae
L
304222011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30423
30424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30425 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30426 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30427 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30428 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30429 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30430 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30431 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30432 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30433 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30434 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30435 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30436 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30437 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30438 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30440 Enable unaligned load optimization for Intel Core i3, i5 and i7
30441 processors.
30442 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30443 Define.
30444 (index_Fast_Unaligned_Load): Define.
30445 (HAS_FAST_UNALIGNED_LOAD): Define.
30446
07f494a0
MP
304472011-06-23 Marek Polacek <mpolacek@redhat.com>
30448
30449 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30450
fa3fc0fe
UD
304512011-06-22 Ulrich Drepper <drepper@gmail.com>
30452
30453 [BZ #12907]
30454 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30455 until it is clear that the information is realy needed.
30456 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30457
e12df166
AS
304582011-06-22 Andreas Schwab <schwab@redhat.com>
30459
30460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30461
852eb34d
UD
304622011-06-22 Ulrich Drepper <drepper@gmail.com>
30463
84e2a551
UD
30464 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30465 /sys/devices/system/cpu/online if it is usable.
30466
852eb34d
UD
30467 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30468 reading the information from the /proc filesystem to once a second.
30469
6e502e19
UD
304702011-06-21 Andreas Jaeger <aj@suse.de>
30471
30472 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30473 NULL after inclusion of kernel headers.
30474
75d39ff2
UD
304752011-06-21 Ulrich Drepper <drepper@gmail.com>
30476
51f9aa6a
UD
30477 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30478 calls to internal_setent.
30479
c0244a9d
UD
30480 [BZ #12885]
30481 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30482 addresses using gethostbyname4_r ignore IPv4 addresses.
30483
c5e3c2ae
UD
30484 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30485 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30486
75d39ff2
UD
30487 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30488
42675c6f
DM
304892011-06-20 David S. Miller <davem@davemloft.net>
30490
30491 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30492 inclusions.
30493 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30494
30495 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30496 (elf_irel): Use it.
30497 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30498 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30499 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30500 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30501 * sysdeps/x86_64/dl-irel.h: Likewise.
30502
30503 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30504 * elf/dl-sym.c: Likewise.
30505
57912a71
UD
305062011-06-15 Ulrich Drepper <drepper@gmail.com>
30507
30508 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30509 need to dereference resplen2.
30510
ee22793d
AS
305112011-06-14 Andreas Schwab <schwab@redhat.com>
30512
30513 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30514
a9e836b0
UD
305152011-06-15 Ulrich Drepper <drepper@gmail.com>
30516
77fb9117
UD
30517 * Makeconfig: Define vardbdir and inst_vardbdir.
30518 * nss/Makefile: Add rules to install db-Makefile.
30519
40c1b22c
UD
30520 * nss/nss_db/db-XXX.c: Cleanup.
30521
9f2da732
UD
30522 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30523 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30524 GLIBC_PRIVATE.
30525 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30526 * nss/makedb.c: Implement -g option to specify that value strings
30527 are generated and should not be added to table iterated over for
30528 get*ent calls.
30529 * nss/nss_db/db-initgroups.c: New file.
30530
82e9a1f7
UD
30531 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30532 interface.
30533
c41af17e
UD
30534 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30535 (internal_getgrouplist): Adjust to name change.
30536 Update use_initgroups_entry if this is not the first call.
30537 * nss/databases.def: Add initgroups entry.
30538
a9e836b0
UD
30539 * nss/makedb.c (compute_tables): Check result of multiple hash table
30540 sizes to minimize maximum chain length.
30541
2666d441
UD
305422011-06-14 Ulrich Drepper <drepper@gmail.com>
30543
30544 * Versions.def: Add entry for libnss_db.
30545 * shlib-versions: Likewise.
30546 * nss/Makefile: Add rules to build libnss_db.
30547 * nss/Versions: Add libnss_db information. Organize libnss_files
30548 entries better.
30549 * nss/db-Makefile: Add gshadow support. Change rules for the new
30550 makedb progra. Some minor improvements to generate smaller files.
30551 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30552 here from...
30553 * nss/makedb.c: ...here.
30554 Improve database format to be smaller and require less memory at
30555 runtime.
30556 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30557 db anymore.
30558 * nss/nss_db/db-netgrp.c: Likewise.
30559 * nss/nss_db/db-open.c: Likewise.
30560 * nss/nss_files/flies-XXX.x: Adjust comments.
30561 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30562 * nss/nss_files/files-grp.c: Likewise.
30563 * nss/nss_files/files-hosts.c: Likewise.
30564 * nss/nss_files/files-network.c: Likewise.
30565 * nss/nss_files/files-proto.c: Likewise.
30566 * nss/nss_files/files-pwd.c: Likewise.
30567 * nss/nss_files/files-rpc.c: Likewise.
30568 * nss/nss_files/files-service.c: Likewise.
30569 * nss/nss_files/files-sgrp.c: Likewise.
30570 * nss/nss_files/files-spwd.c: Likewise.
30571 * nss/nss_db/db-alias.c: Removed.
30572 * nss/nss_db/dummy-db.h: Removed.
30573
9ee76b5a
UD
305742011-06-02 Ulrich Drepper <drepper@gmail.com>
30575
30576 * nss/makedb.c: Rewritten to not use database library.
30577 * nss/Makefile: Update to build new makedb program.
30578
c71ca1f8
AJ
305792011-06-14 Andreas Jaeger <aj@suse.de>
30580
30581 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30582 memset declaration.
30583
3154bfb8
UD
305842011-06-10 Andreas Schwab <schwab@redhat.com>
30585
30586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30587 tmpbuf.
30588
b350afab
RM
305892011-06-10 Roland McGrath <roland@hack.frob.com>
30590
decd4e50
RM
30591 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30592 * elf/Makefile ($(objpfx)ld.so): Likewise.
30593
5615eaf2
RM
30594 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30595 Don't list ld.so twice in dependencies.
30596
30597 * posix/bug-regex31.c: Include <stdlib.h>.
30598
30599 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30600
30601 * nis/nss_compat/compat-spwd.c
30602 (getspent_next_nss_netgr): Remove unused variable.
30603 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30604
30605 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30606 nonmembers" output to use the right array.
30607
30608 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30609
30610 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30611
30612 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30613 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30614 * catgets/gencat.c (read_input_file): Likewise.
30615 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30616
30617 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30618 variable definition inside #if's controlling its use.
30619
30620 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30621
30622 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30623
30624 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30625
30626 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30627 unreachable code.
30628
30629 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30630
b68e08db
RM
30631 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30632 * configure: Regenerated.
30633
b350afab
RM
30634 * Makerules: Revert last change.
30635 * elf/Makefile: Likewise.
30636
28368601
RM
306372011-06-09 Roland McGrath <roland@hack.frob.com>
30638
30639 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30640 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30641 (reloc-link): Likewise.
30642
11988f8f
UD
306432011-06-09 Ulrich Drepper <drepper@gmail.com>
30644
30645 * elf/Makefile: Add rules to build pldd.
30646 * elf/pldd.c: New file.
30647 * elf/pldd-xx.c: New file.
30648
e80fab37
UD
306492011-06-07 Ulrich Drepper <drepper@gmail.com>
30650
30651 * version.h: Update for 2.15 development version.
30652
9b849836
DM
306532011-06-07 David S. Miller <davem@davemloft.net>
30654
30655 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30656 ifuncs.
30657 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30658 elf_machine_lazy_rel): Likewise.
30659 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30660 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30661 elf_machine_lazy_rel): Likewise.
30662 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30663 dl_hwcap via passed in argument.
30664 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30665 Likewise.
30666
5a31b283
AK
306672011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30668
30669 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30670
069e52f8
RM
306712011-06-06 Roland McGrath <roland@hack.frob.com>
30672
30673 [BZ #12849]
30674 * manual/fdl-1.1.texi: New file, verbatim from:
30675 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30676 * manual/lgpl-2.1.texi: New file, verbatim from:
30677 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30678 * manual/Makefile (licenses): New variable, list those new file names.
30679 (texis): Use it.
30680 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30681
30682 * manual/fdl.texi: File removed.
30683 * manual/lesser.texi: File removed.
30684 * manual/libc.texinfo (Copying, Documentation License):
30685 Use new @include file names, put @appendix directive before @include.
30686
f16846a5
JJ
306872011-06-04 Jakub Jelinek <jakub@redhat.com>
30688
30689 [BZ #12841]
30690 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30691 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30692 (mq_open): Add __NTH.
30693
3d29045b
L
306942011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30695
30696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30697 Assume Intel Core i3/i5/i7 processor if AVX is available.
30698
8c297311
UD
306992011-05-31 Ulrich Drepper <drepper@gmail.com>
30700
30701 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30702 typo.
30703
c8fc0c91
UD
307042011-05-31 Andreas Schwab <schwab@redhat.com>
30705
30706 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30707 memory. Use alloca_account. Fix memory leak when retrying.
30708
5b27a807
UD
307092011-05-31 Ulrich Drepper <drepper@gmail.com>
30710
356f8bc6
UD
30711 * version.h (RELEASE): Bump for 2.14 release.
30712 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30713
5b27a807
UD
30714 * config.make.in (RANLIB): Remove entry.
30715
01f16ab0
UD
307162011-05-30 Ulrich Drepper <drepper@gmail.com>
30717
41fce8bd
UD
30718 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30719 (libc.pot): Work around missing support for .ksh extension in xgettext.
30720
4769ae77
UD
30721 [BZ #12684]
30722 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30723 if both request failed.
30724 (send_dg): In case of server errors clear resplen or *resplen2.
30725
6b1e7d19
UD
30726 [BZ #12454]
30727 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30728 when there are multiple maps.
30729 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30730 (_dl_fini): Remove test here.
30731
01f16ab0
UD
30732 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30733
b1ebd700
UD
307342011-05-29 Ulrich Drepper <drepper@gmail.com>
30735
7ae22829
UD
30736 [BZ #12350]
30737 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30738 bit from old_res_options.
30739 (gaih_inet): Likewise.
30740
553149f6 30741 [BZ #11099]
18a84741 30742 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30743 as signed.
30744
652ffab1
UD
30745 * resolv/res_init.c (res_setoptions): Make the code more compact.
30746
16985fd0
UD
30747 [BZ #11558]
30748 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30749 set RES_USEVC.
30750
0464f746
UD
30751 [BZ #11634]
30752 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30753
7d17596c
UD
30754 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30755
cf6bbbd7
UD
30756 [BZ #11781]
30757 * malloc/malloc.h: Declare malloc hook variables as volatile.
30758
13f1ab36
UD
30759 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30760 in last patch.
30761
b1ebd700
UD
30762 [BZ #11799]
30763 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30764 raise in the comment.
80e2212d
UD
30765 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30766 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30767 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30768
ce67228d
UD
307692011-05-28 Ulrich Drepper <drepper@gmail.com>
30770
8887a920
UD
30771 [BZ #12811]
30772 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30773 grow the buffers more if it already has to be sufficient.
30774 (build_wcs_upper_buffer): Likewise.
30775 * posix/regexec.c (check_matching): Likewise.
30776 (clean_state_log_if_needed): Likewise.
30777 (extend_buffers): Don't enlarge buffers beyond size of the input
30778 buffer.
30779 Patches mostly by Emil Wojak <emil@wojak.eu>.
30780 * posix/bug-regex32.c: New file.
30781 * posix/Makefile (tests): Add bug-regex32.
30782
4f031072
UD
30783 * locale/findlocale.c (_nl_find_locale): Return right away if
30784 _nl_explode_name failed.
30785 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30786
d0478f0c
UD
30787 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30788
de81b246
UD
30789 * debug/xtrace.sh: Unify messages.
30790 * malloc/memusage.sh: Likewise.
30791
c738465a
UD
30792 [BZ #12813]
30793 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30794 time symbol from vDSO. Substitute with vsyscall if not available.
30795 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30796 __vdso_time.
30797
f1f929d7
UD
30798 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30799 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30800 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30801 Add sendmmsg and internal_sendmmsg.
30802 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30803 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30804 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30805
ce67228d
UD
30806 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30807 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30808 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30809
e57420c6
UD
308102011-05-27 Ulrich Drepper <drepper@gmail.com>
30811
a8509ca5
UD
30812 [BZ #12813]
30813 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30814 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30815 available.
30816 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30817 __vdso_getcpu.
30818
e57420c6
UD
30819 [BZ #12814]
30820 * iconvdata/Makefile (tests): Add bug-iconv9.
30821 * iconvdata/bug-iconv9.c: New file.
30822
4d07db15
AS
308232011-05-27 Andreas Schwab <schwab@redhat.com>
30824
30825 [BZ #12814]
30826 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30827
ea486f69
JJ
308282011-05-25 Jakub Jelinek <jakub@redhat.com>
30829
30830 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30831 (struct user_regs_struct): Change intcs field back to cs.
30832
6f038433
UD
308332011-05-25 Ulrich Drepper <drepper@gmail.com>
30834
30835 * po/ja.po: Update from translation team.
30836
67f86a25
UD
308372011-05-23 Ulrich Drepper <drepper@gmail.com>
30838
30839 [BZ #12795]
30840 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30841 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30842
def7fbd6
AS
308432011-05-20 Andreas Schwab <schwab@redhat.com>
30844
30845 * stdlib/longlong.h: Update from GCC.
30846
f50ef8f1
AS
308472011-05-23 Andreas Schwab <schwab@redhat.com>
30848
30849 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30850 parameter name.
30851 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30852 Add parameter name.
30853 (__sysconf): Pass it down.
30854
de7ce8f1
UD
308552011-05-22 Ulrich Drepper <drepper@gmail.com>
30856
f2962a71
UD
30857 [BZ #12671]
30858 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30859 some situations.
30860 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30861 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30862 add in in __libc_use_alloca calls. Adjust callers.
30863 (glob): Use malloc in some situations.
30864
de7ce8f1
UD
30865 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30866 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30867 pltexit.
30868
aec84f53
UD
308692011-05-21 Ulrich Drepper <drepper@gmail.com>
30870
05bb4a68
UD
30871 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30872 and CLOCK_BOOTTIME_ALARM.
30873
7ea72f99
UD
30874 [BZ #12782]
30875 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30876 is returned.
30877
7e4afad5
UD
30878 * string/_strerror.c (__strerror_r): Print negative errors as signed
30879 numbers.
30880
8e211fec
UD
30881 [BZ #12777]
30882 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30883 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30884 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30885
f7d82dc9
UD
30886 * configure.in: Fix typo in redirection and correct removal of test
30887 files in two cases.
30888
cc9e536d
UD
30889 [BZ #12788]
30890 * locale/setlocale.c (new_composite_name): Fix test to check for
30891 identical name of all categories.
30892
aec84f53
UD
30893 [BZ #12792]
30894 * libio/filedoalloc.c (local_isatty): New function.
30895 (_IO_file_doallocate): Use local_isatty.
30896 * stdio-common/perror.c (perror): In case a new stream is used
30897 forward the stream error.
30898 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30899 error flag.
30900
78e64fdc
RT
309012011-05-20 Ulrich Drepper <drepper@gmail.com>
30902
34a9094f
UD
30903 [BZ #11869]
30904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30905 alloca.
30906 * include/alloca.h (extend_alloca_account): Define.
30907
78e64fdc
RT
30908 [BZ #11857]
30909 * posix/regex.h: Fix comments with documentation of user-accessible
30910 fields after compilation and describe correct free'ing of pattern
30911 after re_compile_pattern.
30912 Patch by Reuben Thomas <rrt@sc3d.org>.
30913
457bddfc
RA
309142011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30915
30916 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30917 and -mno-altivec to prevent the compiler from using Altivec and/or
30918 VSX instructions when the corresponding registers are not available.
30919
a4527b51
AS
309202011-05-19 Andreas Schwab <schwab@redhat.com>
30921
30922 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30923
ed690b2f
UD
309242011-05-19 Ulrich Drepper <drepper@gmail.com>
30925
30926 * libio/freopen.c (freopen): Use __dup2, not dup2.
30927 * libio/freopen64.c (freopen64): Likewise.
30928
8db73634
L
309292011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30930
30931 [BZ #12775]
30932 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30933 * math/Makefile (tests): Add test-powl.
30934 (CFLAGS-test-powl.c): Define.
30935 * math/test-powl.c: New file.
30936
0a197a9d
L
309372011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30938
30939 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30940
ee30c380
UD
309412011-05-17 Ulrich Drepper <drepper@gmail.com>
30942
30943 [BZ #11837]
30944 * iconvdata/gb18030.c: Update to GB18020-2005.
30945
6ce75379
UD
309462011-05-16 Ulrich Drepper <drepper@gmail.com>
30947
a4b89fd8
AR
30948 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30949 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30950 Patch by Aharon Robbins <arnold@skeeve.com>.
30951
ea389b12
UD
30952 [BZ #11892]
30953 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30954 on the stack.
30955
68a3f91f
UD
30956 [BZ #11895]
30957 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30958 through underflows.
30959
15cc7dd1
UD
30960 [BZ #12766]
30961 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30962 point to strings before performing equality test for error_one_per_line
30963 mode.
30964
f3799213
UD
30965 [BZ #11697]
30966 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30967
d79a9c94
UD
30968 [BZ #11820]
30969 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30970 (struct user_fpregs_struct): Avoid __uint*_t types.
30971
56e5eb46
UD
30972 [BZ #6420]
30973 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30974 symbol info. Use it instead of calling _dl_addr locally.
30975 (lock_and_info): New function.
30976 (tr_freehook): Call lock_and_info and pass symbol info as additional
30977 parameter to tr_where.
30978 (tr_mallochook): Likewise.
30979 (tr_reallochook): Likewise.
30980 (tr_memalignhook): Likewise.
30981
6ce75379
UD
30982 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30983 used and couldn't be at all thread-safe.
30984
f8a3b5bf
UD
309852011-05-15 Ulrich Drepper <drepper@gmail.com>
30986
94b7cc37
UD
30987 * libio/freopen.c (freopen): Don't close old file descriptor
30988 before the new one is opened. Instead dup the new file descriptor
30989 to the old one after the new stream is created.
30990 * libio/freopen64.c (freopen64): Likewise.
30991 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30992 * libio/fileops.c (_IO_new_file_close_it): Handle new
30993 _IO_FLAGS2_NOCLOSE flag.
30994 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30995 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30996 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30997 _IO_FLAGS2_NOCLOSE flag.
30998 * include/unistd.h: Add hidden_proto for dup3.
30999 Define __have_dup3.
31000 * io/dup3.c: Define hidden symbol.
31001 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31002
bd25564e
UD
31003 [BZ #7101]
31004 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31005 when an incomplete long option is used.
31006 * posix/tst-getopt_long1.c: New file.
31007 * posix/Makefile (tests): Add tst-getopt_long1.
31008
c84cfef4
UD
31009 [BZ #10138]
31010 * scripts/config.guess: Update from autoconf-2.68.
31011 * scripts/config.sub: Likewise.
31012
3b85df27
UD
31013 [BZ #10157]
31014 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31015 tests into ...
31016 (has_cpuclock): ...this. New function.
31017 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31018 macro here based on has_cpuclock code.
31019
15a856b1
UD
31020 [BZ #10149]
31021 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31022 First byte (not low byte) is now always NUL.
31023 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31024
05f399e6
UD
31025 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31026 Use non-cancelable interfaces.
31027
10a52685 31028 [BZ #9809]
94ecc67d
UD
31029 * locale/iso-639.def: Add entry for Sorani.
31030
f8a3b5bf
UD
31031 [BZ #11901]
31032 * include/stdlib.h: Move include protection to the right place.
31033 Define abort_msg_s. Declare __abort_msg with it.
31034 * stdlib/abort.c (__abort_msg): Adjust type.
31035 * assert/assert.c (__assert_fail_base): New function. Majority
31036 of code from __assert_fail. Allocate memory for __abort_msg with
31037 mmap.
31038 (__assert_fail): Now call __assert_fail_base.
31039 * assert/assert-perr.c: Remove bulk of implementation. Use
31040 __assert_fail_base.
31041 * include/assert.hL Declare __assert_fail_base.
31042 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31043 mmap.
31044 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31045
1af4e298
UD
310462011-05-14 Ulrich Drepper <drepper@gmail.com>
31047
f8a3b5bf 31048 [BZ #11952]
d26dfc60
MG
31049 [BZ #12453]
31050 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31051 until all modules are registered in the DTV.
31052 * elf/Makefile: Add rules to build and run tst-tls19.
31053 * elf/tst-tls19.c: New file.
31054 * elf/tst-tls19mod1.c: New file.
31055 * elf/tst-tls19mod2.c: New file.
31056 * elf/tst-tls19mod3.c: New file.
31057 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31058
2fc54d6f
UD
31059 [BZ #12083]
31060 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31061 correctly.
31062
98d76b46
UD
31063 [BZ #12601]
31064 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31065 two-byte sequence errors.
31066 * iconvdata/Makefile (tests): Add bug-iconv8.
31067 * iconvdata/bug-iconv8.c: New file.
31068
da3c19ef
UD
31069 [BZ #12626]
31070 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31071 buf2 definition.
31072
ca408c15
UD
31073 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31074
d6f67f7d
UD
31075 [BZ #12432]
31076 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31077 (dummy_getcfa): New function.
31078 (init): Get _Unwind_GetCFA address, use dummy if not found.
31079 (backtrace_helper): In recursion check, also check whether CFA changes.
31080 (__backtrace): Completely initialize arg.
31081
1af4e298 31082 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
31083 storing incomplete byte sequence in state object. Avoid testing for
31084 guaranteed too small input if we know there is enough data available.
1af4e298 31085
da62f81b
AS
310862011-05-11 Andreas Schwab <schwab@redhat.com>
31087
31088 * Makeconfig (+link-pie): Indent.
31089 * Rules (binaries-pie): Define if $(have-fpie) and
31090 $(build-shared).
31091 (binaries-shared): Also filter out $(binaries-pie).
31092 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31093 * nscd/Makefile (others-pie): Add nscd.
31094 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31095 ($(objpfx)nscd): Remove command override.
31096 * login/Makefile (others-pie): Add pt_chown.
31097 ($(objpfx)pt_chown): Remove command override.
31098 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31099 remove command overrides.
31100
fcabc0f8
UD
311012011-05-13 Ulrich Drepper <drepper@gmail.com>
31102
20030ae6
UD
31103 * libio/tst_putwc.c: Fix error messages.
31104
fcabc0f8
UD
31105 [BZ #12724]
31106 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31107 currently writing and seek to current position when not.
31108 * libio/Makefile (tests): Add bug-fclose1.
31109 * libio/bug-fclose1.c: New file.
31110
320a5dc0
PB
311112011-05-12 Ulrich Drepper <drepper@gmail.com>
31112
31113 [BZ #12511]
31114 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31115 don't set DF_1_NODELETE here.
31116 (do_lookup_x): When entering new entry test for copy relocation
31117 and if necessary set DF_1_NODELETE flag.
31118 * elf/tst-unique4.cc: New file.
31119 * elf/tst-unique4.h: New file.
31120 * elf/tst-unique4lib.cc: New file.
31121 * elf/Makefile: Add rules to build and run tst-unique4.
31122 Patch by Piotr Bury <pbury@goahead.com>.
31123
22836f52
UD
311242011-05-11 Ulrich Drepper <drepper@gmail.com>
31125
f574184a
UD
31126 [BZ #12052]
31127 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31128
e1fb097f
UD
31129 [BZ #12625]
31130 * misc/mntent_r.c (addmntent): Flush the stream after the output
31131
22836f52
UD
31132 [BZ #12393]
31133 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31134 (is_trusted_path_normalize): Skip initial colon. Append slash
31135 to empty buffer. Duplicate is_trusted_path code but allow
31136 constructed patch to be prefix.
31137 (is_dst): Allow $ORIGIN followed by /.
31138 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31139 Correct testing of result of is_trusted_path_normalize
31140 (decompose_rpath): Fix warning.
31141
7b3b0b2a
UD
311422011-05-10 Ulrich Drepper <drepper@gmail.com>
31143
31144 [BZ #11257]
31145 * grp/initgroups.c (internal_getgrouplist): When we found the service
31146 list through the initgroups entry in nsswitch.conf do not always
31147 continue on a successful lookup. Don't always use the
eac80ce2 31148 __nss_group_database value if it is set.
7b3b0b2a
UD
31149 * nss/nsswitch.conf (initgroups): Change action for successful db
31150 lookup to continue for compatibility.
31151
2a81eaa5
UD
311522011-05-09 Ulrich Drepper <drepper@gmail.com>
31153
be97a69e
UD
31154 [BZ #11532]
31155 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31156 and CP774 modules.
31157 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31158 and CP774 modules.
31159 * iconvdata/tst-tables.sh: Likewise.
31160 * iconvdata/cp770.c: New file.
31161 * iconvdata/cp771.c: New file.
31162 * iconvdata/cp772.c: New file.
31163 * iconvdata/cp773.c: New file.
31164 * iconvdata/cp774.c: New file.
31165 * iconvdata/testdata/CP770: New file.
31166 * iconvdata/testdata/CP770..UTF8: New file.
31167 * iconvdata/testdata/CP771: New file.
31168 * iconvdata/testdata/CP771..UTF8: New file.
31169 * iconvdata/testdata/CP772: New file.
31170 * iconvdata/testdata/CP772..UTF8: New file.
31171 * iconvdata/testdata/CP773: New file.
31172 * iconvdata/testdata/CP773..UTF8: New file.
31173 * iconvdata/testdata/CP774: New file.
31174 * iconvdata/testdata/CP774..UTF8: New file.
31175
31176 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31177 END CHARMAP line.
31178 * iconvdata/gen-8bit-gap.sh: Likewise.
31179 * iconvdata/gen-8bit.sh: Likewise.
31180
c1e9e399
UD
31181 * locale/iso-639.def: Add ary entry.
31182
24c55fb3 31183 [BZ #11258]
96b4b1b0
UD
31184 * locale/C-translit.h.in: Add U20A1 transliteration.
31185
bdc2f971
KB
31186 [BZ #12178]
31187 * locale/iso-639.def: Add wae entry.
31188 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31189
2952b117
UD
31190 [BZ #12545]
31191 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31192 for n.
31193
2a81eaa5
UD
31194 [BZ #12711]
31195 * locale/C-translit.h.in: Add entry for U20B9.
31196 Patch by pravin.d.s@gmail.com.
31197
28377d1b
UD
311982011-05-08 Ulrich Drepper <drepper@gmail.com>
31199
7fb90fb8
UD
31200 [BZ #12713]
31201 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31202 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31203 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31204 in rtld. Use *stat64.
7fb90fb8 31205 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31206 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31207 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31208 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31209 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31210 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31211 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31212 __fstatat64 macros.
7fb90fb8
UD
31213 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31214 * dirent/rewinddir.c: Add libc_hidden_def.
31215 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31216 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31217
28377d1b
UD
31218 * include/dirent.h (__alloc_dir): Add flags parameter.
31219 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31220 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31221 __alloc_dir.
31222 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31223 from fdopendir if O_CLOEXEC is already set.
31224
66bdbaa4
AM
312252011-03-15 Alan Modra <amodra@gmail.com>
31226
31227 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31228 l_tls_firstbyte_offset non-zero. Save padding offset in
31229 l_tls_firstbyte_offset for later use.
31230 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31231 freeing static tls block.
31232
95721191
JN
312332011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31234
31235 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31236 where #ifdef was intended. The intent is to prevent ARG_MAX from
31237 being defined by the kernel headers.
31238
f87dfb1f
UD
312392011-05-07 Ulrich Drepper <drepper@gmail.com>
31240
31241 [BZ #12734]
31242 * resolv/resolv.h: Define RES_NOTLDQUERY.
31243 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31244 no-tld-query and set RES_NOTLDQUERY.
31245 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31246 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31247 modern BIND to search name as TLD unless forbidden.
31248
47c3cd7a
UD
312492011-05-07 Petr Baudis <pasky@suse.cz>
31250 Ulrich Drepper <drepper@gmail.com>
31251
31252 [BZ #12393]
31253 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31254 (is_trusted_path): ...to here.
c1e9ea35 31255 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31256 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31257 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31258
8a35c912
PP
312592011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31260
31261 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31262 __BEGIN/__END_DECLS.
31263
acd41f47
UD
312642011-05-06 Ulrich Drepper <drepper@gmail.com>
31265
31266 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31267 NSS_STATUS_NOTFOUND if no record was found.
31268
597df647
AS
312692011-05-05 Andreas Schwab <schwab@redhat.com>
31270
31271 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31272 (headers-not-in-tirpc): Remove rpc/netdb.h
31273 * resolv/netdb.h: Revert last change.
31274
b9af1301
PP
312752011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31276
31277 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31278 circular dependency between libgcc.a and libc.a.
31279
4e34d5f5
AS
312802011-05-05 Andreas Schwab <schwab@redhat.com>
31281
31282 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31283 * nis/Makefile: Don't install rpcsvc/*.
31284 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31285 instead of <rpc/types.h>.
31286 (MAXHOSTNAMELEN): Define.
31287
00ee369c
AS
312882011-05-03 Andreas Schwab <schwab@redhat.com>
31289
31290 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31291
0b592a30
MB
312922011-04-28 Maciej Babinski <mbabinski@google.com>
31293
31294 [BZ #12714]
31295 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31296 gethostbyname4_r when IPv6 results are possible.
31297
6e04cbbe
UD
312982011-05-02 Ulrich Drepper <drepper@gmail.com>
31299
31300 [BZ #12723]
31301 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31302 _PC_PIPE_BUF handling.
31303
e4ecafe0
BH
313042011-04-30 Bruno Haible <bruno@clisp.org>
31305
31306 [BZ #12717]
31307 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31308 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31309 to 'int'.
31310 * inet/getnameinfo.c (getnameinfo): Likewise.
31311
125ee683
UD
313122011-04-29 Ulrich Drepper <drepper@gmail.com>
31313
31314 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31315 to groups setting in database lookup.
31316 * nss/nsswitch.conf: Add initgroups entry.
31317
b722481a
EB
313182011-04-22 Ulrich Drepper <drepper@gmail.com>
31319
31320 [BZ #12685]
31321 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31322 mode string.
31323 Patch by Eric Blake <eblake@redhat.com>.
31324
4df46dbd
L
313252011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31326
31327 * sunrpc/Makefile (need-export-routines): Add svc_run.
31328 (routines): Remove svc_run.
31329 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31330 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31331 * sunrpc/svc_run.c (svc_run): Likewise.
31332 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31333
e84142d2
UD
313342011-04-21 Ulrich Drepper <drepper@gmail.com>
31335
31336 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31337 problem in reallocation in last patch.
31338
877175d8
UD
313392011-04-20 Ulrich Drepper <drepper@gmail.com>
31340
31341 * sunrpc/Makefile: Move inclusion of Rules.
31342
ab8eed78
UD
313432011-04-19 Ulrich Drepper <drepper@gmail.com>
31344
31345 * nss/nss_files/files-initgroups.c: New file.
31346 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31347 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31348 _nss_files_initgroups_dyn.
31349
e3d8f584
RS
313502011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31351
31352 * elf/elf.h (R_ARM_IRELATIVE): Define.
31353
af190f45
UD
313542011-04-19 Ulrich Drepper <drepper@gmail.com>
31355
31356 * po/ru.po: Update from translation team.
31357
53cf59ef
UD
313582011-04-17 Ulrich Drepper <drepper@gmail.com>
31359
31360 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31361 dependencies.
31362
4c559bcd
MF
313632011-02-06 Mike Frysinger <vapier@gentoo.org>
31364
31365 [BZ #12653]
31366 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31367 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31368 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31369 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31370 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31371
4420675c
AS
313722011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31373
31374 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31375 differing bytes.
31376 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31377 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31378 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31379
75ea32ab
UD
313802011-04-17 Ulrich Drepper <drepper@gmail.com>
31381
31382 [BZ #12420]
31383 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31384 storing it.
31385 * stdlib/bug-getcontext.c: New file.
31386 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31387
27390476
AK
313882011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31389
31390 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31391 instructions into .machine "z9-109".
31392 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31393 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31394
10442705
AK
313952011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31396
31397 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31398 between environment variables and auxiliary vector.
31399
7b57bfe5
UD
314002011-04-16 Ulrich Drepper <drepper@gmail.com>
31401
31402 * Makefile: Add rules to build linkobj/libc.so.
31403 * include/libc-symbols.h: Define libc_hidden_nolink.
31404 * include/rpc/auth.h: Mark functions which are to be hidden.
31405 * include/rpc/auth_des.h: Likewise.
31406 * include/rpc/auth_unix.h: Likewise.
31407 * include/rpc/clnt.h: Likewise.
31408 * include/rpc/des_crypt.h: Likewise.
31409 * include/rpc/key_prot.h: Likewise.
31410 * include/rpc/pmap_clnt.h: Likewise.
31411 * include/rpc/pmap_prot.h: Likewise.
31412 * include/rpc/pmap_rmt.h: Likewise.
31413 * include/rpc/rpc_msg.h: Likewise.
31414 * include/rpc/svc.h: Likewise.
31415 * include/rpc/svc_auth.h: Likewise.
31416 * include/rpc/xdr.h: Likewise.
31417 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31418 * nss/Makefile: Likewise.
31419 * sunrpc/Makefile: Don't install headers. Build library with normal
31420 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31421 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31422 for the compat linking library. Remove use of INTDEF/INTUSE.
31423 * sunrpc/auth_none.c: Likewise.
31424 * sunrpc/auth_unix.c: Likewise.
31425 * sunrpc/authdes_prot.c: Likewise.
31426 * sunrpc/authuxprot.c: Likewise.
31427 * sunrpc/clnt_gen.c: Likewise.
31428 * sunrpc/clnt_perr.c: Likewise.
31429 * sunrpc/clnt_raw.c: Likewise.
31430 * sunrpc/clnt_simp.c: Likewise.
31431 * sunrpc/clnt_tcp.c: Likewise.
31432 * sunrpc/clnt_udp.c: Likewise.
31433 * sunrpc/clnt_unix.c: Likewise.
31434 * sunrpc/des_crypt.c: Likewise.
31435 * sunrpc/des_soft.c: Likewise.
31436 * sunrpc/get_myaddr.c: Likewise.
31437 * sunrpc/key_call.c: Likewise.
31438 * sunrpc/key_prot.c: Likewise.
31439 * sunrpc/netname.c: Likewise.
31440 * sunrpc/pm_getmaps.c: Likewise.
31441 * sunrpc/pm_getport.c: Likewise.
31442 * sunrpc/pmap_clnt.c: Likewise.
31443 * sunrpc/pmap_prot.c: Likewise.
31444 * sunrpc/pmap_prot2.c: Likewise.
31445 * sunrpc/pmap_rmt.c: Likewise.
31446 * sunrpc/publickey.c: Likewise.
31447 * sunrpc/rpc_cmsg.c: Likewise.
31448 * sunrpc/rpc_common.c: Likewise.
31449 * sunrpc/rpc_dtable.c: Likewise.
31450 * sunrpc/rpc_prot.c: Likewise.
31451 * sunrpc/rpc_thread.c: Likewise.
31452 * sunrpc/rtime.c: Likewise.
31453 * sunrpc/svc.c: Likewise.
31454 * sunrpc/svc_auth.c: Likewise.
31455 * sunrpc/svc_authux.c: Likewise.
31456 * sunrpc/svc_raw.c: Likewise.
31457 * sunrpc/svc_run.c: Likewise.
31458 * sunrpc/svc_simple.c: Likewise.
31459 * sunrpc/svc_tcp.c: Likewise.
31460 * sunrpc/svc_udp.c: Likewise.
31461 * sunrpc/svc_unix.c: Likewise.
31462 * sunrpc/svcauth_des.c: Likewise.
31463 * sunrpc/xcrypt.c: Likewise.
31464 * sunrpc/xdr.c: Likewise.
31465 * sunrpc/xdr_array.c: Likewise.
31466 * sunrpc/xdr_float.c: Likewise.
31467 * sunrpc/xdr_intXX_t.c: Likewise.
31468 * sunrpc/xdr_mem.c: Likewise.
31469 * sunrpc/xdr_rec.c: Likewise.
31470 * sunrpc/xdr_ref.c: Likewise.
31471 * sunrpc/xdr_sizeof.c: Likewise.
31472 * sunrpc/xdr_stdio.c: Likewise.
31473
e6c61494
UD
314742011-04-10 Ulrich Drepper <drepper@gmail.com>
31475
31476 [BZ #12650]
31477 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31478 * sysdeps/ia64/dl-tls.h: Likewise.
31479 * sysdeps/powerpc/dl-tls.h: Likewise.
31480 * sysdeps/s390/dl-tls.h: Likewise.
31481 * sysdeps/sh/dl-tls.h: Likewise.
31482 * sysdeps/sparc/dl-tls.h: Likewise.
31483 * sysdeps/x86_64/dl-tls.h: Likewise.
31484 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31485
34fe483e
AS
314862011-03-14 Andreas Schwab <schwab@redhat.com>
31487
31488 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31489 rpath element also skip the following colon.
31490 (expand_dynamic_string_token): Add is_path parameter and pass
31491 down to DL_DST_REQUIRED and _dl_dst_substitute.
31492 (decompose_rpath): Call expand_dynamic_string_token with
31493 non-zero is_path. Ignore empty rpaths.
31494 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31495 with zero is_path.
31496
f12a32e6
AS
314972011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31498
31499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31500 Make cancelable.
31501
38a7d692
UD
315022011-04-09 Ulrich Drepper <drepper@gmail.com>
31503
31504 [BZ #12655]
31505 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31506 Patch by Filipe David Manana <fdmanana@apache.org>.
31507
e451d22b
AS
315082011-04-07 Andreas Schwab <schwab@redhat.com>
31509
31510 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31511 Maintain aligned stack.
31512 (CHECK_RSP): Remove unused macro.
31513
dedc7c7b
UD
315142011-04-03 Ulrich Drepper <drepper@gmail.com>
31515
31516 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31517 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31518
94521213
UD
315192011-04-02 Ulrich Drepper <drepper@gmail.com>
31520
31521 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31522
8cb700c0 31523 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31524
0354e355
L
315252011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31526
31527 [BZ #12518]
31528 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31529 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31530 * sysdeps/x86_64/memmove.c: New file.
31531 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31532 (memcpy): Renamed to ...
31533 (__new_memcpy): This.
31534 (memcpy): Provide GLIBC_2_14 memcpy.
31535 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31536 (memcpy): Provide GLIBC_2_2_5 memcpy.
31537
8593482f
UD
315382011-04-01 Ulrich Drepper <drepper@gmail.com>
31539
31540 [BZ #12631]
31541 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31542
81a5726b
AS
315432011-03-30 Andreas Schwab <schwab@redhat.com>
31544
31545 * misc/syncfs.c: New file.
31546 * misc/Makefile (routines): Add syncfs.
31547 * posix/unistd.h: Declare syncfs.
31548 * sysdeps/unix/syscalls.list: Add syncfs.
31549
00e5419f
AS
315502011-04-01 Andreas Schwab <schwab@redhat.com>
31551
31552 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31553 open_by_handle_at.
31554 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31555 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31556 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31557 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31559 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31560 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31561
748876bf
UD
315622011-04-01 Ulrich Drepper <drepper@gmail.com>
31563
658e451d
UD
31564 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31565 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31566 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31567 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31568 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31569 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31570 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31571
748876bf
UD
31572 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31573 sync_file_range.c with -fexceptions.
31574 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31575 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31576 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31577 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31578 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31579 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31580 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31581 sync_file_range as cancellation point
31582 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31583 now a wrapper around __call_sync_file_range with cancellation handling.
31584 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31585 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31586 function name to __call_sync_file_range.
31587 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31588 Add call_sync_file_range.
748876bf 31589
6e63d5e1
AS
315902011-04-01 Andreas Schwab <schwab@redhat.com>
31591
31592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31593 bits/timex.h.
6e63d5e1 31594
46998f74
UD
315952011-04-01 Ulrich Drepper <drepper@gmail.com>
31596
4c1423ed
UD
31597 * iconv/iconv.h: Fix typo in comment.
31598 * io/fcntl.h: Likewise.
31599 * libio/stdio.h: Likewise.
31600 * posix/spawn.h: Likewise.
31601 * posix/unistd.h: Likewise.
31602 * stdlib/stdlib.h: Likewise.
31603 * time/time.h: Likewise.
31604 * wcsmbs/wchar.h: Likewise.
31605
158648c0
UD
31606 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31607 open_by_handle): Add.
31608 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31609 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31610 Augment a few comments.
31611 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31612 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31613 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31614 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31615 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31616 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31617 open_by_handle.
31618
46998f74
UD
31619 * io/fcntl.h (AT_EMPTY_PATH): Define.
31620
83fe108b
UD
316212011-03-30 Ulrich Drepper <drepper@gmail.com>
31622
31623 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31624 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31625 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31626 to...
31627 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31628 * Versions.def: Add GLIBC_2.14.
31629 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31630 Export.
83fe108b 31631
bb242059
UD
316322011-03-22 Ulrich Drepper <drepper@gmail.com>
31633
31634 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31635 round counter.
31636 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31637
c97a1282
L
316382011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31639
31640 [BZ #12597]
31641 * string/test-strncmp.c (do_page_test): New function.
31642 (check2): Likewise.
31643 (test_main): Call check2.
31644 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31645
2a115601
UD
316462011-03-20 Ulrich Drepper <drepper@gmail.com>
31647
31648 [BZ #12587]
31649 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31650 Handle cache information in CPU leaf 4.
31651 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31652
8126d904
UD
316532011-03-18 Ulrich Drepper <drepper@gmail.com>
31654
042c49c6 31655 [BZ #12583]
8126d904
UD
31656 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31657 character representation.
31658 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31659
ccfe366e
RA
316602011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31661
31662 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31663 END(__isnan) to END(__isnanf) to match function entry point/label
31664 EALIGN(__isnanf,...).
31665
c6e13027
JJ
316662011-03-10 Jakub Jelinek <jakub@redhat.com>
31667
31668 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31669
33f85a3f
UD
316702011-03-10 Ulrich Drepper <drepper@gmail.com>
31671
028478fa
UD
31672 [BZ #12510]
31673 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31674 copy from the symbol referenced in the relocation to initialize the
31675 used variable.
31676 Patch by Piotr Bury <pbury@goahead.com>.
31677 * elf/Makefile: Add rules to build and tst-unique3.
31678 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31679 * elf/tst-unique3.cc: New file.
31680 * elf/tst-unique3.h: New file.
31681 * elf/tst-unique3lib.cc: New file.
31682 * elf/tst-unique3lib2.cc: New file.
31683
33f85a3f
UD
31684 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31685
03592fc7
MF
316862011-03-10 Mike Frysinger <vapier@gentoo.org>
31687
31688 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31689 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31690 to _start.
03592fc7 31691
6a5ee102
UD
316922011-03-06 Ulrich Drepper <drepper@gmail.com>
31693
31694 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31695 to-be-loaded object along a path to loader is ld.so.
31696
7e4ba49c
HJ
316972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31698 Ulrich Drepper <drepper@gmail.com>
31699
31700 * sysdeps/x86_64/memset.S: After aligning destination, code
31701 branches to different locations depending on the value of
31702 misalignment, when multiarch is enabled. Fix this.
31703
317042011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31705
31706 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31707 Set _x86_64_preferred_memory_instruction for AMD processsors.
31708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31709 Set bit_Prefer_SSE_for_memop for AMD processors.
31710
13a804de
UD
317112011-03-04 Ulrich Drepper <drepper@gmail.com>
31712
31713 * libio/fmemopen.c (fmemopen): Optimize a bit.
31714
9d25c392
AS
317152011-03-03 Andreas Schwab <schwab@redhat.com>
31716
31717 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31718
a5543c6a
RM
317192011-03-03 Roland McGrath <roland@redhat.com>
31720
31721 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31722
012d35f7
DM
317232011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31724
7e4ba49c 31725 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31726 __bzero_ultra1 instead of __memset_ultra1.
31727
4bff6e01
AS
317282011-02-23 Andreas Schwab <schwab@redhat.com>
31729 Ulrich Drepper <drepper@gmail.com>
31730
31731 [BZ #12509]
31732 * include/link.h (struct link_map): Add l_orig_initfini.
31733 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31734 returning unsuccessfully.
31735 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31736 close of a file loaded at startup, restore the original l_initfini
31737 list.
31738 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31739 list, store the pointer.
31740 * elf/Makefile ($(objpfx)noload-mem): New rule.
31741 (noload-ENV): Define.
31742 (tests): Add $(objpfx)noload-mem.
31743 * elf/noload.c: Include <memcheck.h>.
31744 (main): Call mtrace. Close all opened handles.
31745
f2092faf
AS
317462011-02-17 Andreas Schwab <schwab@redhat.com>
31747
31748 [BZ #12454]
31749 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31750 dependencies are missing.
31751
6c8a2e88
ST
317522011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31753
f2092faf 31754 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31755 Hurd needs munmap.
31756 * sysdeps/mach/hurd/ifreq.h: New file.
31757
84a42118
PB
317582011-01-27 Petr Baudis <pasky@suse.cz>
31759 Ulrich Drepper <drepper@gmail.com>
31760
071f805e 31761 [BZ 12445]#
84a42118
PB
31762 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31763 to extend_alloca().
31764 * stdio-common/bug23.c: New file.
31765 * stdio-common/Makefile (tests): Add bug23.
31766
e23fe25b
AS
317672010-09-28 Andreas Schwab <schwab@redhat.com>
31768 Ulrich Drepper <drepper@gmail.com>
31769
31770 [BZ #12489]
31771 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31772 before performing relro protection. At old place add assertion
31773 to make sure nothing changed.
31774
d3f02e10
NS
317752011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31776 Glauber de Oliveira Costa <glommer@gmail.com>
31777
31778 * elf/elf.h: Add new ARM TLS relocs.
31779
d55fd7a5
RA
317802011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31781
31782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31783 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31784 cast from r3.
31785 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31786 'tests' variable.
31787 * sysdeps/wordsize-64/tst-writev.c: New file.
31788
2206397e
RA
317892011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31790
31791 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31792 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31793 insns in _dl_start to prevent a TOC reference before relocs are
31794 resolved.
31795
e9433893
UD
317962011-02-15 Ulrich Drepper <drepper@gmail.com>
31797
31798 [BZ #12469]
31799 * Makeconfig: Remove RANLIB definition.
31800 * Makerules: Don't use RANLIB.
31801 * aclocal.m4: Remove ranlib test.
31802 * configure.in: No need to check for ranlib.
31803 * elf/rtld-Rules: Don't use RANLIB.
31804
f75286c6
ST
318052011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31806
8e31c82d
ST
31807 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31808 protection macro.
31809 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31810 inclusion protection macro.
31811
f75286c6
ST
31812 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31813 SIGRTMIN and SIGRTMAX and print information in that case only when
31814 SIGRTMIN is defined.
31815
c1d0e639
JJ
318162011-02-11 Jakub Jelinek <jakub@redhat.com>
31817
31818 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31819 arginfo fn returning -1.
31820
31821 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31822 and thousands string is zero terminated.
31823
edf9294e
AS
318242011-02-03 Andreas Schwab <schwab@redhat.com>
31825
31826 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31827 sysdeps/unix/sysv/linux/bits/socket.h.
31828
2b7e92df
ST
318292011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31830
edf9294e
AS
31831 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31832 (__CPU_COUNT): Remove old macros.
31833 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31834 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31835 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31836 (__sched_cpualloc, __sched_cpufree): Add declarations.
31837
a4c7ea7b
UD
318382011-02-05 Ulrich Drepper <drepper@gmail.com>
31839
31840 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31841 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31842 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31843 (readdhstai): Return value of addhstaiX call.
31844 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31845 (addgrbyX): Return value returned by cache_addgr.
31846 (readdgrbyname): Return value returned by addgrbyX.
31847 (readdgrbygid): Likewise.
31848 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31849 (addpwbyX): Return value returned by cache_addpw.
31850 (readdpwbyname): Return value returned by addhstbyX.
31851 (readdpwbyuid): Likewise.
31852 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31853 (addservbyX): Return value returned by cache_addserv.
31854 (readdservbyname): Return value returned by addservbyX:
31855 (readdservbyport): Likewise.
31856 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31857 (addhstbyX): Return value returned by cache_addhst.
31858 (readdhstbyname): Return value returned by addhstbyX.
31859 (readdhstbyaddr): Likewise.
31860 (readdhstbynamev6): Likewise.
31861 (readdhstbyaddrv6): Likewise.
31862 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31863 (readdinitgroups): Return value returned by addinitgroupsX.
31864 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31865 (prune_cache): Keep track of timeout value of re-added entries.
31866 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31867 * nscd/nscd.h: Adjust prototypes of readd* functions.
31868
a0bf67cc
RM
318692011-02-04 Roland McGrath <roland@redhat.com>
31870
31871 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31872 (nis_stats): Likewise.
31873 * nis/nis_modify.c (nis_modify): Likewise.
31874 * nis/nis_remove.c (nis_remove): Likewise.
31875 * nis/nis_add.c (nis_add): Likewise.
31876
31877 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31878
31879 * posix/fnmatch_loop.c: Add some consts.
31880
31881 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31882
435b95eb
L
318832011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31884
31885 [BZ #12460]
31886 * config.make.in (config-cflags-novzeroupper): Define.
31887 * configure.in: Substitute libc_cv_cc_novzeroupper.
31888 * elf/Makefile (AVX-CFLAGS): Define.
31889 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31890 (CFLAGS-tst-auditmod4a.c): Likewise.
31891 (CFLAGS-tst-auditmod4b.c): Likewise.
31892 (CFLAGS-tst-auditmod6b.c): Likewise.
31893 (CFLAGS-tst-auditmod6c.c): Likewise.
31894 (CFLAGS-tst-auditmod7b.c): Likewise.
31895 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31896
8517b15e
UD
318972011-02-02 Ulrich Drepper <drepper@gmail.com>
31898
31899 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31900 function to the callback.
31901 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31902
10a656fe
AS
319032011-02-02 Andreas Schwab <schwab@redhat.com>
31904
31905 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31906 of errno.
31907
968dad0a
UD
319082011-01-19 Ulrich Drepper <drepper@gmail.com>
31909
9f94d2ea 31910 [BZ #11724]
968dad0a
UD
31911 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31912 of constructors.
31913 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31914 of destructors.
31915 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31916
31917 [BZ #11724]
31918 * elf/Makefile: Add rules to build and run new test.
31919 * elf/tst-initorder.c: New file.
31920 * elf/tst-initorder.exp: New file.
31921 * elf/tst-initordera1.c: New file.
31922 * elf/tst-initordera2.c: New file.
31923 * elf/tst-initordera3.c: New file.
31924 * elf/tst-initordera4.c: New file.
31925 * elf/tst-initorderb1.c: New file.
31926 * elf/tst-initorderb2.c: New file.
31927 * elf/tst-order-a1.c: New file.
31928 * elf/tst-order-a2.c: New file.
31929 * elf/tst-order-a3.c: New file.
31930 * elf/tst-order-a4.c: New file.
31931 * elf/tst-order-b1.c: New file.
31932 * elf/tst-order-b2.c: New file.
31933 * elf/tst-order-main.c: New file.
31934 New test case by George Gensure <werkt0@gmail.com>.
31935
86e92359
UD
319362010-10-01 Andreas Schwab <schwab@redhat.com>
31937
31938 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31939 decoding ACE if AI_CANONIDN.
31940
5d5732b0
UD
319412011-01-18 Ulrich Drepper <drepper@gmail.com>
31942
31943 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31944
a77e8cbc
UD
319452011-01-17 Ulrich Drepper <drepper@gmail.com>
31946
6392473f
UD
31947 * version.h (RELEASE): Bump for 2.13 release.
31948 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31949
620a0529
UD
31950 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31951
18ba70a5
UD
31952 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31953 MADV_NOHUGEPAGE.
32465c3e
UD
31954 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31955 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31956 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31957 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31958 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31959 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31960
c0dafcf1
UD
31961 * posix/getconf.c: Update copyright year.
31962 * catgets/gencat.c: Likewise.
31963 * csu/version.c: Likewise.
31964 * debug/catchsegv.sh: Likewise.
31965 * debug/xtrace.sh: Likewise.
31966 * elf/ldconfig.c: Likewise.
31967 * elf/ldd.bash.in: Likewise.
31968 * elf/sprof.c (print_version): Likewise.
31969 * iconv/iconv_prog.c: Likewise.
31970 * iconv/iconvconfig.c: Likewise.
31971 * locale/programs/locale.c: Likewise.
31972 * locale/programs/localedef.c: Likewise.
31973 * malloc/memusage.sh: Likewise.
31974 * malloc/mtrace.pl: Likewise.
31975 * nscd/nscd.c (print_version): Likewise.
31976 * nss/getent.c: Likewise.
31977
a77e8cbc
UD
31978 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31979 PF_CAIF, and PF_ALG.
31980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31981
77e8bddf
AS
319822011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31983
1f20b93a
AS
31984 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31985 (modules-names): Use them.
31986 (ifunc-test-modules, ifunc-pie-tests): Define.
31987 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31988 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31989 (test-extras): Likewise.
31990 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31991 $(compile-command.c).
31992 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31993 (all-built-dso): Define.
31994 (check-textrel.out, check-execstack.out): Depend on it.
31995
77e8bddf
AS
31996 * configure.in: Don't override --enable-multi-arch.
31997
bc425b33
UD
319982011-01-15 Ulrich Drepper <drepper@gmail.com>
31999
32000 [BZ #6812]
32001 * nscd/hstcache.c (tryagain): Define.
32002 (cache_addhst): Return tryagain not notfound for temporary errors.
32003 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32004 failed.
32005
794c3ad3
UD
320062011-01-14 Ulrich Drepper <drepper@gmail.com>
32007
70181fdd
UD
32008 [BZ #10563]
32009 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32010 to make the syscall.
32011 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32012
794c3ad3
UD
32013 [BZ #12378]
32014 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32015 and fall back to matching as normal character if the string ends before
32016 the matching ']' is found. This is what POSIX requires.
32017 * posix/testfnm.c: Adjust test result.
32018 * posix/globtest.sh: Adjust test result. Add new test.
32019 * posix/tst-fnmatch.input: Likewise.
32020 * posix/tst-fnmatch2.c: Add new test.
32021
68dc9497
AS
320222010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32023
32024 * elf/Makefile (check-execstack): Revert last change. Depend on
32025 check-execstack.h.
32026 (check-execstack.h): New target.
32027 (generated): Add check-execstack.h.
32028 * elf/check-execstack.c: Include "check-execstack.h".
32029 (main): Revert last change.
32030 (handle_file): Return zero if GNU_STACK is absent and
32031 DEFAULT_STACK_PERMS doesn't include PF_X.
32032
451f001b
UD
320332011-01-13 Ulrich Drepper <drepper@gmail.com>
32034
cfa28e56
UD
32035 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32036 in child fails because the descriptor is already closed.
8cf8ce17
UD
32037 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32038 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32039 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 32040
1086d70d
UD
32041 [BZ #12397]
32042 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32043 syscall.
32044
451f001b
UD
32045 [BZ #10484]
32046 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32047 temporary buffer used to handle multi lookups locally.
a85b5cb4 32048 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 32049
08769175
UD
320502011-01-12 Ulrich Drepper <drepper@gmail.com>
32051
32052 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32053 loader is ld.so.
32054
5e49c52e
UD
320552011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32056
32057 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32058 alignment for SSE2.
32059
60522a5f
UD
320602011-01-12 Ulrich Drepper <drepper@gmail.com>
32061
32062 [BZ #12394]
32063 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32064 characters. When rounding increased number of integer digits recompute
32065 number of groups.
32066 * stdio-common/tst-grouping.c: New file.
32067 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32068
f257bbd7
UD
320692011-01-09 Ulrich Drepper <drepper@gmail.com>
32070
32071 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32072 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32073
32074 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32075 void.
32076 * bits/select.h: Likewise.
32077
fa9c15cb
UD
320782011-01-08 Ulrich Drepper <drepper@gmail.com>
32079
32080 * po/ja.po: Update from translation team.
32081
16c2895f
DM
320822011-01-04 David S. Miller <davem@sunset.davemloft.net>
32083
32084 [BZ #11155]
32085 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32086 implementation just like for lxstat, fxstatat, et al.
32087
2543fef2
JM
320882010-12-27 Jim Meyering <meyering@redhat.com>
32089
32090 [BZ #12348]
32091 * posix/regexec.c (build_trtable): Return failure indication upon
32092 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32093
98727dbe
UD
320942010-12-25 Ulrich Drepper <drepper@gmail.com>
32095
5bd6dc5c
UD
32096 [BZ #12201]
32097 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32098 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32099 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32100 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32101
97983464
UD
32102 [BZ #12207]
32103 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32104
98727dbe
UD
32105 [BZ #12204]
32106 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32107 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32108
4a531bb0
L
321092010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32110
32111 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32112 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32113 script has SORT_BY_INIT_PRIORITY.
32114 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32115 NO_CTORS_DTORS_SECTIONS is defined.
32116 * elf/soinit.c: Likewise.
32117 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32118 NO_CTORS_DTORS_SECTIONS is defined.
32119 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32120 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32121 * sysdeps/sh/init-first.c: Likewise.
32122 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32123
07eb4b71
UD
321242010-12-24 Ulrich Drepper <drepper@gmail.com>
32125
32126 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32127 always use the slow path.
32128
30950a5f
RA
321292010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32130
32131 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32132 similar rule which adds the sysdep directories to the header search in
32133 order to pick up the correct platform stackinfo.h.
32134 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32135 perform test if it is, otherwise return successfully without testing.
32136 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32137 DEFAULT_STACK_PERMS define in stackinfo.h.
32138 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32139 defined in stackinfo.h.
32140 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32141 DEFAULT_STACK_PERMS defined in stackinfo.h.
32142 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32143 * sysdeps/ia64/stackinfo.h: Likewise.
32144 * sysdeps/s390/stackinfo.h: Likewise.
32145 * sysdeps/sh/stackinfo.h: Likewise.
32146 * sysdeps/sparc/stackinfo.h: Likewise.
32147 * sysdeps/x86_64/stackinfo.h: Likewise.
32148 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32149 PF_X for powerpc64. Retain PF_X for powerpc32.
32150
db753e2c
UD
321512010-12-19 Ulrich Drepper <drepper@gmail.com>
32152
14b697f7
UD
32153 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32154 accurately.
db753e2c
UD
32155 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32156 GETDENTS_64BIT_ALIGNED.
32157
28300719
UD
321582010-12-14 Ulrich Drepper <dreper@gmail.com>
32159
14b697f7 32160 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32161
4f197237
AS
321622010-12-10 Andreas Schwab <schwab@redhat.com>
32163
dbb0472f
AS
32164 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32165 _GNU_SOURCE.
32166
4f197237
AS
32167 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32168 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32169 Remove __restrict.
32170 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32171 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32172
fb88ac72
UD
321732010-12-09 Ulrich Drepper <drepper@gmail.com>
32174
32175 [BZ #11655]
32176 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32177 are initialized.
32178
42acbb92
JJ
321792010-12-09 Jakub Jelinek <jakub@redhat.com>
32180
32181 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32182
c038d98d
UD
321832010-12-03 Ulrich Drepper <drepper@gmail.com>
32184
32185 * po/it.po: Update from translation team.
32186
3a4a2499
L
321872010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32188
32189 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32190 unused codes.
32191
1e24cf6e
UD
321922010-11-30 Ulrich Drepper <drepper@gmail.com>
32193
32194 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32195
a7690819
AS
321962010-11-24 Andreas Schwab <schwab@redhat.com>
32197
32198 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32199 specially.
32200 (gaih_getanswer_slice): Likewise.
32201
3bf8d1b1
JJ
322022010-10-20 Jakub Jelinek <jakub@redhat.com>
32203
32204 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32205
6db52fbb
PB
322062010-05-31 Petr Baudis <pasky@suse.cz>
32207
32208 [BZ #11149]
32209 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32210 silently even in the chroot mode.
32211
eaca7569
UD
322122010-11-22 Ulrich Drepper <drepper@gmail.com>
32213
32214 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32215 last patch a bit. Pretty printing
32216
3056dcdb
UD
322172010-05-31 Petr Baudis <pasky@suse.cz>
32218
32219 [BZ #10085]
32220 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32221 initialization of skip_initgroups_dyn.
32222
cf7c9078
UD
322232010-11-19 Ulrich Drepper <drepper@gmail.com>
32224
32225 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32226 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32227
a1fb5e3e
UD
322282010-11-16 Ulrich Drepper <drepper@gmail.com>
32229
32230 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32231
3540d66b
AS
322322010-11-11 Andreas Schwab <schwab@redhat.com>
32233
32234 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32235 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32236 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32237 ($(objpfx)tst-fnmatch-mem): New rule.
32238 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32239 * posix/tst-fnmatch.c (main): Call mtrace.
32240
13b69574
L
322412010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32242
32243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32244 Support Intel processor model 6 and model 0x2c.
32245
da93d214
LM
322462010-11-10 Luis Machado <luisgpm@br.ibm.com>
32247
32248 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32249 signed comparison.
32250
8ca52c6e
L
322512010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32252
32253 [BZ #12205]
32254 * string/test-strncasecmp.c (check_result): New function.
32255 (do_one_test): Use it.
32256 (check1): New function.
32257 (test_main): Use it.
32258 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32259 Support strcasecmp and strncasecmp.
32260
69da074d
UD
322612010-11-08 Ulrich Drepper <drepper@gmail.com>
32262
32263 [BZ #12194]
32264 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32265 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32266
ff02d528
L
322672010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32268
32269 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32270 IFUNC support.
32271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32272 memset-x86-64.
32273 * sysdeps/x86_64/multiarch/bzero.S: New file.
32274 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32275 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32276 * sysdeps/x86_64/multiarch/memset.S: New file.
32277 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32279 Set bit_Prefer_SSE_for_memop for Intel processors.
32280 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32281 Define.
32282 (index_Prefer_SSE_for_memop): Define.
32283 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32284
344d0b54
LM
322852010-11-04 Luis Machado <luisgpm@br.ibm.com>
32286
32287 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32288 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32289
c0dde15b
UD
322902010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32291
32292 [BZ #12191]
32293 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32294 (__x86_64_raw_data_cache_size_half): Likewise.
32295 (__x86_64_raw_shared_cache_size): Likewise.
32296 (__x86_64_raw_shared_cache_size_half): Likewise.
32297
32298 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32299 (__x86_64_raw_data_cache_size_half): Likewise.
32300 (__x86_64_raw_shared_cache_size): Likewise.
32301 (__x86_64_raw_shared_cache_size_half): Likewise.
32302 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32303 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32304 and __x86_64_raw_shared_cache_size_half. Round
32305 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32306 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32307 to multiple of 256 bytes.
32308
0e516e0e
MS
323092010-11-03 Ulrich Drepper <drepper@gmail.com>
32310
32311 [BZ #12167]
32312 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32313 of inacessible symlinks. Verify result of symlink before returning it.
32314 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32315 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32316
0e012e87
ER
323172010-10-28 Erich Ritz <erichritz@gmail.com>
32318
32319 * math/math.h (isinf): Fix typo in comment.
32320
de0ff7bc
UD
323212010-11-01 Ulrich Drepper <drepper@gmail.com>
32322
32323 * po/da.po: Update from translation team.
32324
fa41c84d
UD
323252010-10-26 Ulrich Drepper <drepper@gmail.com>
32326
32327 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32328 is added to the list.
32329
f0967738
AK
323302010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32331 Ulrich Drepper <drepper@gmail.com>
32332
32333 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32334 the global list here. Move code to...
32335 (_dl_add_to_namespace_list): ...here. New function.
32336 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32337 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32338 * elf/dl-load.c (lose): Don't remove the element from the list.
32339 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32340 (_dl_map_object): Likewise.
32341
323422010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32343
32344 [BZ #12159]
32345 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32346 into all bytes of SSE register.
32347 Patch by Richard Li <richardpku@gmail.com>.
32348
f0967738 323492010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32350
32351 [BZ #12140]
32352 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32353 perturbing.
32354
d0b9e94f
MB
323552010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32356
32357 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32358 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32359 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32360 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32362 submachine.
32363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32364
8e9f92e9
AS
323652010-10-22 Andreas Schwab <schwab@redhat.com>
32366
32367 * include/dlfcn.h (__RTLD_SECURE): Define.
32368 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32369 mode & __RTLD_SECURE instead.
32370 (open_path): Rename preloaded parameter to secure.
32371 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32372 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32373 * elf/dl-deps.c (openaux): Likewise.
32374 * elf/rtld.c (struct map_args): Remove is_preloaded.
32375 (map_doit): Don't use it.
32376 (dl_main): Likewise.
32377 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32378 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32379
bc96fbda
AS
323802010-09-09 Andreas Schwab <schwab@redhat.com>
32381
32382 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32383 (sysd-rules-targets): Remove duplicates.
32384 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32385 rtld-%.$o dependency.
32386
22cd1c9b
AS
323872010-10-18 Andreas Schwab <schwab@redhat.com>
32388
32389 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32390 _dl_map_object do it.
32391
18edac48
UD
323922010-10-19 Ulrich Drepper <drepper@gmail.com>
32393
32394 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32395 fast fma builtins, define the macros in the C99 standard.
32396 (FP_FAST_FMAF): Likewise.
32397 (FP_FAST_FMAL): Likewise.
32398 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32399
32400 * bits/mathdef.h: Update copyright year.
32401 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32402
d2050124
MM
324032010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32404
32405 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32406 builtins, define the macros in the C99 standard.
32407 (FP_FAST_FMAF): Likewise.
32408 (FP_FAST_FMAL): Likewise.
32409 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32410 multiply/add.
32411 (FP_FAST_FMAF): Likewise.
32412
475facd1
JJ
324132010-10-15 Jakub Jelinek <jakub@redhat.com>
32414
32415 [BZ #3268]
32416 * math/libm-test.inc (fma_test): Some new testcases.
32417 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32418 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32419 y and infinite z. Do multiplication by C already in long double.
32420 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32422 y and infinite z. Do bitwise or of inexact bit into u.d.
32423 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32424 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32425 * sysdeps/i386/fpu/s_fma.S: Removed.
32426 * sysdeps/i386/fpu/s_fmal.S: Removed.
32427
7c08a05c
JJ
324282010-10-16 Jakub Jelinek <jakub@redhat.com>
32429
32430 [BZ #3268]
32431 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32432 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32433 computation is not scheduled after fetestexcept. Fix value
32434 of minimum denormal long double.
32435
f3f7372d
JJ
324362010-10-14 Jakub Jelinek <jakub@redhat.com>
32437
32438 [BZ #3268]
32439 * math/libm-test.inc (fma_test): Add some more tests.
32440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32441 correctly.
32442
14d43591
AS
324432010-10-15 Andreas Schwab <schwab@redhat.com>
32444
32445 * scripts/data/localplt-s390-linux-gnu.data: New file.
32446 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32447
5e908464
JJ
324482010-10-13 Jakub Jelinek <jakub@redhat.com>
32449
32450 [BZ #3268]
32451 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32452 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32453 instead of dbl-64.
32454 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32455 inlines.
32456 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32458 if one of x and y is very large and the other is subnormal.
32459 * sysdeps/s390/fpu/s_fmaf.c: New file.
32460 * sysdeps/s390/fpu/s_fma.c: New file.
32461 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32462 * sysdeps/powerpc/fpu/s_fma.S: New file.
32463 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32464 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32465 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32466
324672010-10-12 Jakub Jelinek <jakub@redhat.com>
32468
32469 [BZ #3268]
32470 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32471 fma tests.
32472 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32473 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32474 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32475 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32476 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32477 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32478 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32479
b833d51f
UD
324802010-10-12 Ulrich Drepper <drepper@redhat.com>
32481
32482 [BZ #12078]
32483 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32484 * posix/bug-regex31.input: Add test case.
32485
1751705d
UD
324862010-10-11 Ulrich Drepper <drepper@gmail.com>
32487
e9b9cbf5
UD
32488 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32489 * posix/bug-regex31.input: New file.
32490
32491 [BZ #12078]
32492 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32493 (parse_sub_exp): Fix last change, use postorder.
32494
ef06edbe
UD
32495 * posix/bug-regex31.c: New file.
32496 * posix/Makefile: Add rules to build and run bug-regex31.
32497
a129c80d
UD
32498 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32499
32500 [BZ #12078]
32501 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32502
b76b818e
UD
32503 [BZ #12108]
32504 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32505 to have entries in sys_siglist.
32506
1751705d
UD
32507 [BZ #12093]
32508 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32509 be NULL.
32510
9ff8d36f
JJ
325112010-10-07 Jakub Jelinek <jakub@redhat.com>
32512
32513 [BZ #3268]
32514 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32515 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32516 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32517 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32518 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32519 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32520 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32521 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32522 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32523 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32524 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32525 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32526 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32527 * math/ftestexcept.c (fetestexcept): Likewise.
32528 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32529 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32530 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32531 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32532 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32533 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32534 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32535
af325969
UD
325362010-10-11 Ulrich Drepper <drepper@gmail.com>
32537
c579b202 32538 [BZ #12107]
af325969
UD
32539 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32540 newline.
32541
67a67b95
UD
325422010-10-06 Ulrich Drepper <drepper@gmail.com>
32543
32544 * string/bug-strstr1.c: New file.
32545 * string/Makefile: Add rules to build and run bug-strstr1.
32546
5fb308bc
EB
325472010-10-05 Eric Blake <eblake@redhat.com>
32548
32549 [BZ #12092]
32550 * string/str-two-way.h (two_way_long_needle): Always clear memory
32551 when skipping input due to the shift table.
32552
45db99c7
UD
325532010-10-03 Ulrich Drepper <drepper@gmail.com>
32554
3b111893
UD
32555 [BZ #12005]
32556 * malloc/mcheck.c: Handle large requests.
32557
45db99c7
UD
32558 [BZ #12077]
32559 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32560 for strncmp and strncasecmp.
32561 * string/stratcliff.c: Add tests for strcmp and strncmp.
32562 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32563
cf7a1eb8
NI
325642010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32565
32566 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32567 __set_fpscr.
32568
6484ba5e
AJ
325692010-09-30 Andreas Jaeger <aj@suse.de>
32570
32571 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32572 (CGROUP_SUPER_MAGIC): Define.
32573 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32574 Handle btrfs and cgroup file systems.
32575 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32576 Likewise.
32577
91c42559
LM
325782010-09-27 Luis Machado <luisgpm@br.ibm.com>
32579
32580 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32581 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32582
87a97932
AK
325832010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32584
32585 [BZ #12067]
32586 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32587 trying to locate the ELF header.
32588
c21cc9bc
AS
325892010-09-27 Andreas Schwab <schwab@redhat.com>
32590
32591 [BZ #11611]
32592 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32593 Mask out sign-bit copies when constructing f_fsid.
32594
315970f6
PB
325952010-09-24 Petr Baudis <pasky@suse.cz>
32596
32597 * debug/stack_chk_fail_local.c: Add missing licence exception.
32598 * debug/warning-nop.c: Likewise.
32599
1ac7a2c7
JM
326002010-09-15 Joseph Myers <joseph@codesourcery.com>
32601
32602 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32603 implementing getdents64 using getdents syscall, set d_type if
32604 __ASSUME_GETDENTS32_D_TYPE.
32605
56801c50
AS
326062010-09-16 Andreas Schwab <schwab@redhat.com>
32607
32608 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32609 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32610
dda51327
UD
326112010-09-21 Ulrich Drepper <drepper@redhat.com>
32612
32613 [BZ #12037]
32614 * posix/unistd.h: Undo change of feature selection for ftruncate from
32615 2010-01-11.
32616
8ffcee4a
UD
326172010-09-20 Ulrich Drepper <drepper@redhat.com>
32618
a545ecd9 32619 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32620 detection.
32621
e24f0a8b
AS
326222010-09-20 Andreas Schwab <schwab@redhat.com>
32623
32624 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32625 fanotify_mark.
32626 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32627
7291c56f
AS
326282010-09-14 Andreas Schwab <schwab@redhat.com>
32629
32630 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32631 variables after CHECK_SP call.
32632 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32633
bc5fb037
AS
326342010-09-13 Andreas Schwab <schwab@redhat.com>
32635 Ulrich Drepper <drepper@redhat.com>
32636
32637 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32638 re-relocationg ld.so.
32639 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32640 _dl_init_paths call.
32641 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32642 here anymore.
32643
e66e7419
UD
326442010-09-14 Ulrich Drepper <drepper@redhat.com>
32645
32646 * resolv/res_init.c (__res_vinit): Count the default server we added.
32647
c044aa75
CLT
326482010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32649 Ulrich Drepper <drepper@redhat.com>
32650
32651 [BZ #11968]
32652 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32653 (____longjmp_chk): Use %ebx for saving value across system call.
32654 Add unwind info.
32655
32cf4069
AS
326562010-09-06 Andreas Schwab <schwab@redhat.com>
32657
32658 * manual/Makefile: Don't mix pattern rules with normal rules.
32659
817328ee
AS
326602010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32661
32662 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32663 operation.
32664 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32665 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32666 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32667 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32668 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32669 Likewise.
32670
29fddf61
UD
326712010-09-04 Ulrich Drepper <drepper@redhat.com>
32672
32673 [BZ #11979]
32674 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32675 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32676
0959ffc9
UD
326772010-09-02 Ulrich Drepper <drepper@redhat.com>
32678
32679 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32680 * sysdeps/x86_64/addmul_1.S: Likewise.
32681 * sysdeps/x86_64/lshift.S: Likewise.
32682 * sysdeps/x86_64/mul_1.S: Likewise.
32683 * sysdeps/x86_64/rshift.S: Likewise.
32684 * sysdeps/x86_64/sub_n.S: Likewise.
32685 * sysdeps/x86_64/submul_1.S: Likewise.
32686
ece29840
ST
326872010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32688
0959ffc9
UD
32689 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32690 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32691 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32692 * bits/sched.h [__need_schedparam]
ece29840 32693 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32694 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32695 (__defined_schedparam): Define to 1.
ece29840
ST
32696 (__sched_param): New structure, identical to sched_param.
32697 (__need_schedparam): Undefine.
32698
e53a31fe
MF
326992010-08-31 Mike Frysinger <vapier@gentoo.org>
32700
fdc0c10d
MF
32701 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32702 (epoll_create1): Declare.
32703
e53a31fe
MF
32704 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32705
a726d796
AS
327062010-08-31 Andreas Schwab <schwab@redhat.com>
32707
32708 [BZ #7066]
32709 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32710 shifting retval into place.
32711
2f3e3dc7
UD
327122010-09-01 Ulrich Drepper <drepper@redhat.com>
32713
f2933da9
UD
32714 * nis/rpcsvc/nis.h: Update copyright notice.
32715 * nis/rpcsvc/nis.x: Likewise.
32716 * nis/rpcsvc/nis_callback.h: Likewise.
32717 * nis/rpcsvc/nis_callback.x: Likewise.
32718 * nis/rpcsvc/nis_object.x: Likewise.
32719 * nis/rpcsvc/nis_tags.h: Likewise.
32720 * nis/rpcsvc/yp.h: Likewise.
32721 * nis/rpcsvc/yp.x: Likewise.
32722 * nis/rpcsvc/ypupd.h: Likewise.
32723 * nis/yp_xdr.c: Likewise.
32724 * nis/ypupdate_xdr.c: Likewise.
32725
2f3e3dc7
UD
32726 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32727 mainly the body of pmap_getport. Add parameters to specify timeouts.
32728 (pmap_getport): Use __libc_rpc_getport.
32729 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32730 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32731 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32732
f3dcc2f9
AS
327332010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32734
32735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32736 fanotify_mark.
32737
6d34eb5b
RM
327382010-08-27 Roland McGrath <roland@redhat.com>
32739
32740 * sysdeps/i386/i686/multiarch/Makefile
32741 (CFLAGS-varshift.c): New variable.
32742
9ea3de11
UD
327432010-08-27 Ulrich Drepper <drepper@redhat.com>
32744
c96d23fc
UD
32745 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32746 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32747
9ea3de11
UD
32748 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32749
32750 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32751
623aac7f
L
327522010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32753
32754 * sysdeps/x86_64/strlen.S: Unroll the loop.
32755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32756 strlen-sse2 strlen-sse2-bsf.
32757 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32758 __strlen_no_bsf if bit_Slow_BSF is set.
32759 (__strlen_sse42): Removed.
32760 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32761 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32762
8b2b7715
RM
327632010-08-25 Roland McGrath <roland@redhat.com>
32764
32765 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32766 * sysdeps/x86_64/multiarch/varshift.c: New file.
32767 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32768 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32769 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32770 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32771
e73015f2
L
327722010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32773
32774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32775 strlen-sse2 strlen-sse2-bsf.
32776 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32777 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32778 (__strlen_sse2): Removed.
32779 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32780 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32782 bit_Slow_BSF for Atom.
32783 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32784 (index_Slow_BSF): Define.
32785 (HAS_SLOW_BSF): Define.
32786
df24a73e
UD
327872010-08-25 Ulrich Drepper <drepper@redhat.com>
32788
32789 [BZ #10851]
32790 * resolv/res_init.c (__res_vinit): When no server address at all
32791 is given default to loopback.
32792
f2ac4868
RM
327932010-08-24 Roland McGrath <roland@redhat.com>
32794
09055553
RM
32795 * configure.in: Remove config-name.h generation.
32796 * configure: Regenerated.
32797 * config-name.in: File removed.
32798 * scripts/config-uname.sh: New file.
32799 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32800 ($(objdir)config-name.h): New target.
32801
f2ac4868
RM
32802 * sunrpc/rpc_parse.h: Avoid nested comment.
32803
73f27d5e
RH
328042010-08-24 Richard Henderson <rth@redhat.com>
32805 Ulrich Drepper <drepper@redhat.com>
32806 H.J. Lu <hongjiu.lu@intel.com>
32807
32808 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32810 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32811 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32812 _mm_alignr_epi8 with _mm_loadu_si128.
32813 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32814 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32815 (__m128i_shift_right): Removed.
32816 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32817 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32818 * sysdeps/x86_64/multiarch/varshift.h: New file.
32819 * sysdeps/x86_64/multiarch/varshift.S: New file.
32820
84b9230c
MF
328212010-08-21 Mike Frysinger <vapier@gentoo.org>
32822
32823 * configure.in: Move assembler checks to before sysdep dir checking.
32824
9bbd0ddc
PB
328252010-08-20 Petr Baudis <pasky@suse.cz>
32826
32827 * LICENSES: Sync the sunrpc license.
32828
9da4bb31
UD
328292010-08-19 Ulrich Drepper <drepper@redhat.com>
32830
a7ab6ec8
UD
32831 * sunrpc/auth_des.c: Update copyright notice once again.
32832 * sunrpc/auth_none.c: Likewise.
32833 * sunrpc/auth_unix.c: Likewise.
32834 * sunrpc/authdes_prot.c: Likewise.
32835 * sunrpc/authuxprot.c: Likewise.
32836 * sunrpc/bindrsvprt.c: Likewise.
32837 * sunrpc/clnt_gen.c: Likewise.
32838 * sunrpc/clnt_perr.c: Likewise.
32839 * sunrpc/clnt_raw.c: Likewise.
32840 * sunrpc/clnt_simp.c: Likewise.
32841 * sunrpc/clnt_tcp.c: Likewise.
32842 * sunrpc/clnt_udp.c: Likewise.
32843 * sunrpc/clnt_unix.c: Likewise.
32844 * sunrpc/des_crypt.c: Likewise.
32845 * sunrpc/des_soft.c: Likewise.
32846 * sunrpc/get_myaddr.c: Likewise.
32847 * sunrpc/getrpcport.c: Likewise.
32848 * sunrpc/key_call.c: Likewise.
32849 * sunrpc/key_prot.c: Likewise.
32850 * sunrpc/openchild.c: Likewise.
32851 * sunrpc/pm_getmaps.c: Likewise.
32852 * sunrpc/pm_getport.c: Likewise.
32853 * sunrpc/pmap_clnt.c: Likewise.
32854 * sunrpc/pmap_prot.c: Likewise.
32855 * sunrpc/pmap_prot2.c: Likewise.
32856 * sunrpc/pmap_rmt.c: Likewise.
32857 * sunrpc/rpc/auth.h: Likewise.
32858 * sunrpc/rpc/auth_unix.h: Likewise.
32859 * sunrpc/rpc/clnt.h: Likewise.
32860 * sunrpc/rpc/des_crypt.h: Likewise.
32861 * sunrpc/rpc/key_prot.h: Likewise.
32862 * sunrpc/rpc/netdb.h: Likewise.
32863 * sunrpc/rpc/pmap_clnt.h: Likewise.
32864 * sunrpc/rpc/pmap_prot.h: Likewise.
32865 * sunrpc/rpc/pmap_rmt.h: Likewise.
32866 * sunrpc/rpc/rpc.h: Likewise.
32867 * sunrpc/rpc/rpc_des.h: Likewise.
32868 * sunrpc/rpc/rpc_msg.h: Likewise.
32869 * sunrpc/rpc/svc.h: Likewise.
32870 * sunrpc/rpc/svc_auth.h: Likewise.
32871 * sunrpc/rpc/types.h: Likewise.
32872 * sunrpc/rpc/xdr.h: Likewise.
32873 * sunrpc/rpc_clntout.c: Likewise.
32874 * sunrpc/rpc_cmsg.c: Likewise.
32875 * sunrpc/rpc_common.c: Likewise.
32876 * sunrpc/rpc_cout.c: Likewise.
32877 * sunrpc/rpc_dtable.c: Likewise.
32878 * sunrpc/rpc_hout.c: Likewise.
32879 * sunrpc/rpc_main.c: Likewise.
32880 * sunrpc/rpc_parse.c: Likewise.
32881 * sunrpc/rpc_parse.h: Likewise.
32882 * sunrpc/rpc_prot.c: Likewise.
32883 * sunrpc/rpc_sample.c: Likewise.
32884 * sunrpc/rpc_scan.c: Likewise.
32885 * sunrpc/rpc_scan.h: Likewise.
32886 * sunrpc/rpc_svcout.c: Likewise.
32887 * sunrpc/rpc_tblout.c: Likewise.
32888 * sunrpc/rpc_util.c: Likewise.
32889 * sunrpc/rpc_util.h: Likewise.
32890 * sunrpc/rpcinfo.c: Likewise.
32891 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32892 * sunrpc/rpcsvc/key_prot.x: Likewise.
32893 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32894 * sunrpc/rpcsvc/mount.x: Likewise.
32895 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32896 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32897 * sunrpc/rpcsvc/rex.x: Likewise.
32898 * sunrpc/rpcsvc/rstat.x: Likewise.
32899 * sunrpc/rpcsvc/rusers.x: Likewise.
32900 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32901 * sunrpc/rpcsvc/spray.x: Likewise.
32902 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32903 * sunrpc/rtime.c: Likewise.
32904 * sunrpc/svc.c: Likewise.
32905 * sunrpc/svc_auth.c: Likewise.
32906 * sunrpc/svc_authux.c: Likewise.
32907 * sunrpc/svc_raw.c: Likewise.
32908 * sunrpc/svc_run.c: Likewise.
32909 * sunrpc/svc_simple.c: Likewise.
32910 * sunrpc/svc_tcp.c: Likewise.
32911 * sunrpc/svc_udp.c: Likewise.
32912 * sunrpc/svc_unix.c: Likewise.
32913 * sunrpc/svcauth_des.c: Likewise.
32914 * sunrpc/xcrypt.c: Likewise.
32915 * sunrpc/xdr.c: Likewise.
32916 * sunrpc/xdr_array.c: Likewise.
32917 * sunrpc/xdr_float.c: Likewise.
32918 * sunrpc/xdr_mem.c: Likewise.
32919 * sunrpc/xdr_rec.c: Likewise.
32920 * sunrpc/xdr_ref.c: Likewise.
32921 * sunrpc/xdr_sizeof.c: Likewise.
32922 * sunrpc/xdr_stdio.c: Likewise.
32923
9da4bb31
UD
32924 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32925 handling.
32926
bdaa77bc
AS
329272010-08-19 Andreas Schwab <schwab@redhat.com>
32928
32929 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32930
fe2f79db
LM
329312010-08-19 Luis Machado <luisgpm@br.ibm.com>
32932
32933 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32934 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32935 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32936 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32937 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32938 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32939 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32940 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32941 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32942 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32943 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32944 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32945 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32946 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32947
b9b42ee0
AB
329482010-07-26 Anton Blanchard <anton@samba.org>
32949
32950 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32951 * malloc/arena.c (heap_trim): Likewise.
32952
1c06ba31
UD
329532010-08-16 Ulrich Drepper <drepper@redhat.com>
32954
32955 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32956 here. Not...
32957 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32958 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32959
f8392f40
L
329602010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32961
32962 * sysdeps/i386/elf/Makefile: New file.
32963
3162f12e
AS
329642010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32965
32966 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32967 from fanotify_init.
32968 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32969 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32970
28c90b2c
UD
329712010-08-15 Ulrich Drepper <drepper@redhat.com>
32972
32973 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32974 of strncasecmp_l.
1feccb6c 32975 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32976
ca6bb004
UD
329772010-08-14 Ulrich Drepper <drepper@redhat.com>
32978
e9f82e0d
UD
32979 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32980 strncase_l-nonascii.
32981 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32982 Add strncase_l-ssse3.
32983 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32984 * sysdeps/x86_64/strcmp.S: Likewise.
32985 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32986 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32987 * sysdeps/x86_64/strncase.S: New file.
32988 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32989 * sysdeps/x86_64/strncase_l.S: New file.
32990 * string/Makefile (strop-tests): Add strncasecmp.
32991 * string/test-strncasecmp.c: New file.
32992
32993 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32994 warning.
32995
ca6bb004
UD
32996 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32997 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32998
052fa7b3
AS
329992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33000
33001 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33002
962dba78
UD
330032010-08-12 Ulrich Drepper <drepper@redhat.com>
33004
33005 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33006 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33007 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33008
bebff237
AM
330092010-05-01 Alan Modra <amodra@gmail.com>
33010
33011 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33012 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33013 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33014 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33015 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33016 tidying. Don't tail-call __sigjmp_save for static lib.
33017 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33018 save location.
33019 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33020 (CALL_MCOUNT): Add eh info, and nop after bl.
33021 (TAIL_CALL_SYSCALL_ERROR): New macro.
33022 (PSEUDO_RET): Use it.
33023 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33024 Correct save location of integer regs and cr.
33025 (_dl_profile_resolve): Correct cr save location. Delete nops
33026 after bl when SHARED. Reduce cfi size a little by better
33027 placement of cfi directives.
33028 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33029 make a stack frame. Instead use parm save area as a temp.
33030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33031 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33033 Don't make a stack frame for parent, use parm save area.
33034 Increase child stack frame to 112 bytes. Don't save unused reg,
33035 and adjust reg usage. Set up cfi on error recovery and
33036 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33038 (__makecontext): Add dummy nop after jump to exit.
33039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33040 Use correct parm save area and cr save, reduce stack frame.
33041 Correct cfi for possible PSEUDO_RET frame setup.
33042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33043 Branch to local label emitted by PSEUDO_RET rather than
33044 __syscall_error.
33045
02637374
AS
330462010-08-12 Andreas Schwab <schwab@redhat.com>
33047
33048 [BZ #11904]
33049 * locale/programs/locale.c (print_assignment): New function.
33050 (show_locale_vars): Use it.
33051
c3e2f19b
UD
330522010-08-11 Ulrich Drepper <drepper@redhat.com>
33053
3cdaa6ad
UD
33054 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33055 field.
33056 (struct statfs64): Likewise.
33057 (_STATFS_F_FLAGS): Define.
33058 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33059 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33060 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33061 (ST_VALID): Define locally.
33062 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33063 __statvfs_getflags, use the provided value.
33064 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33065 __ASSUME_STATFS_F_FLAGS.
33066
754f7da3
UD
33067 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33068
10b3bedc
UD
33069 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33070 Add sys/fanotify.h.
33071 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33072 fanotify_mask for GLIBC_2.13.
33073 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33074 fanotify_init and fanotify_mark.
33075 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33076 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33077
c08fb0d7
UD
33078 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33079 Add prlimit.
33080 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33081 prlimit64 for GLIBC_2.13.
33082 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33083 prlimit64.
33084 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33085 syscall.
33086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33087 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33088 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33089 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33090 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33091 add prlimit alias.
33092 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33093
15bac72b
UD
33094 [BZ #11903]
33095 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33096 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33097
c3e2f19b
UD
33098 * nss/Makefile: Add rules to build and run tst-nss-test1.
33099 * shlib-versions: Add entry for libnss_test1.
33100 * nss/nss_test1.c: New file.
33101 * nss/tst-nss-test1.c: New file.
33102
33103 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33104 (__nss_configure_lookup): Set appropriate entry in
33105 __nss_configure_lookup to true.
33106 * nss/nsswitch.h: Define enum with indeces of databases in
33107 databases and __nss_database_custom arrays. Declare
33108 __nss_database_custom.
33109 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33110 to avoid using nscd when custom rules are installed.
33111 * nss/getXXbyYY_r.c: Likewise.
33112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33113
33114 * nss/nss_files/files-parse.c: Whitespace fixes.
33115
f15ce4d8
UD
331162010-08-09 Ulrich Drepper <drepper@redhat.com>
33117
33118 [BZ #11883]
33119 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33120 * posix/fnmatch_loop.c: Likewise.
33121
d22e4cc9
AK
331222010-07-17 Andi Kleen <ak@linux.intel.com>
33123
33124 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33125 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33126 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33127 * Versions.def [GLIBC_2.13]: Add.
33128
805bc17d
UD
331292010-08-06 Ulrich Drepper <drepper@redhat.com>
33130
33131 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33132 Also fail if tpwd after pwuid call is NULL.
33133
5a42321d
ST
331342010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33135
33136 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33137 when converting to ms.
33138
fd3ebeda
ST
331392010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33140
33141 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33142 EOPNOTSUPP errors with ENOTTY.
33143 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33144 EOPNOTSUPP errors with ENOTTY.
33145
73507d3a
UD
331462010-07-31 Ulrich Drepper <drepper@redhat.com>
33147
33148 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33149 Add strcasecmp_l-ssse3.
33150 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33151 strcasecmp.
33152 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33153 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33154 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33155
fe36dd02
UD
331562010-07-30 Ulrich Drepper <drepper@redhat.com>
33157
66f6765a
UD
33158 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33159
42e08a54
UD
33160 * string/Makefile (strop-tests): Add strcasecmp.
33161 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33162 strcasecmp_l-nonascii.
33163 (gen-as-const-headers): Add locale-defines.sym.
33164 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33165 * sysdeps/x86_64/strcasecmp.S: New file.
33166 * sysdeps/x86_64/strcasecmp_l.S: New file.
33167 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33168 * sysdeps/x86_64/locale-defines.sym: New file.
33169 * string/test-strcasecmp.c: New file.
33170
fe36dd02
UD
33171 * string/test-strcasestr.c: Test both ends of the range of characters.
33172 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33173
48cbc0d6
RM
331742010-07-29 Roland McGrath <roland@redhat.com>
33175
76e6d6bc 33176 [BZ #11856]
48cbc0d6
RM
33177 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33178
880113d9
UD
331792010-07-27 Ulrich Drepper <drepper@redhat.com>
33180
33181 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33182 for ld.so.
33183
deb9cabb
AS
331842010-07-27 Andreas Schwab <schwab@redhat.com>
33185
33186 * manual/memory.texi (Malloc Tunable Parameters): Document
33187 M_PERTURB.
33188
1c7570ff
RM
331892010-07-26 Roland McGrath <roland@redhat.com>
33190
33191 [BZ #11840]
33192 * configure.in (-fgnu89-inline check): Set and substitute
33193 gnu89_inline, not libc_cv_gnu89_inline.
33194 * configure: Regenerated.
33195 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33196
24fb0f88
UD
331972010-07-26 Ulrich Drepper <drepper@redhat.com>
33198
33199 * string/test-strnlen.c: New file.
33200 * string/Makefile (strop-tests): Add strnlen.
33201 * string/tester.c (test_strnlen): Add a few more test cases.
33202 * string/tst-strlen.c: Better error reporting.
33203
33204 * sysdeps/x86_64/strnlen.S: New file.
33205
8e96b93a
UD
332062010-07-24 Ulrich Drepper <drepper@redhat.com>
33207
33208 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33209 lower-latency instructions.
33210
dbc676d4
UD
332112010-07-23 Ulrich Drepper <drepper@redhat.com>
33212
33213 * string/test-strcasestr.c: New file.
33214 * string/test-strstr.c: New file.
33215 * string/Makefile (strop-tests): Add strstr and strcasestr.
33216 * string/str-two-way.h: Don't undefine MAX.
33217 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33218
f6a31e0e
AS
332192010-07-21 Andreas Schwab <schwab@redhat.com>
33220
33221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33222 strcasestr-nonascii.
33223 (CFLAGS-strcasestr-nonascii.c): Define.
33224 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33225 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33226 Remove unused attribute.
33227
5dbc3b6c
RM
332282010-07-20 Roland McGrath <roland@redhat.com>
33229
33230 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33231 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33232 ld.so.cache was broken. With it, there is no way to disable dsocaps
33233 like LD_HWCAP_MASK can disable hwcaps.
33234
23d101d8
EPM
332352010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33236
33237 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33238
cc9f2e47
UD
332392010-07-16 Ulrich Drepper <drepper@redhat.com>
33240
33241 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33242 call in strcasestr.
33243 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33244 __strcasestr_sse42_nonascii.
33245 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33246 strcasestr-nonascii.c.
33247 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33248
77c1b069
LM
332492010-06-15 Luis Machado <luisgpm@br.ibm.com>
33250
33251 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33252 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33253 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33254 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33255
440566c3
UD
332562010-07-09 Ulrich Drepper <drepper@redhat.com>
33257
33258 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33259 fcntl.
33260
5be9d05d
AS
332612010-07-06 Andreas Schwab <schwab@redhat.com>
33262
c30b7ee2 33263 [BZ #11577]
5be9d05d
AS
33264 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33265 dl_signal_cerror.
33266
8a492a67
UD
332672010-07-06 Ulrich Drepper <drepper@redhat.com>
33268
33269 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33270 _PC_PIPE_BUF using F_GETPIPE_SZ.
33271
713df3d5
RM
332722010-07-05 Roland McGrath <roland@redhat.com>
33273
33274 * manual/arith.texi (Rounding Functions): Fix rint description
33275 implicit in round description.
33276
702e8f14
UD
332772010-07-02 Ulrich Drepper <drepper@redhat.com>
33278
33279 * elf/Makefile: Fix linking for a few tests to make recent linker
33280 happy.
33281
52ed8be9
AS
332822010-06-30 Andreas Schwab <schwab@redhat.com>
33283
33284 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33285 $(common-objpfx)libc_nonshared.a.
33286
f47c9a11
LM
332872010-06-21 Luis Machado <luisgpm@br.ibm.com>
33288
33289 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33290 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33291 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33292 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33293 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33294 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33295 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33296 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33311 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33312 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33313 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33314 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33315 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33316 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33317 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33318 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33319 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33320 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33321 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33322 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33337
6fb8cbcb
L
333382010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33339
33340 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33341 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33342 * string/memmove.c (memmove): Renamed to ...
33343 (MEMMOVE): ...this. Default to memmove.
33344 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33345 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33346 (END_CHK): Define.
33347 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33348 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33349 mempcpy-ssse3-back memmove-ssse3-back.
33350 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33351 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33352 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33353 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33354 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33355 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33356 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33357 * sysdeps/x86_64/multiarch/memmove.c: New file.
33358 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33359 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33360 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33361 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33362 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33363 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33364 Define.
33365 (index_Fast_Copy_Backward): Define.
33366 (HAS_ARCH_FEATURE): Define.
33367 (HAS_FAST_REP_STRING): Define.
33368 (HAS_FAST_COPY_BACKWARD): Define.
33369
4e733bac 333702010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33371
33372 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33373 Restore proper fallback handling.
33374
63c4ed22
UD
333752010-06-19 Ulrich Drepper <drepper@redhat.com>
33376
ac2b484c
UD
33377 [BZ #11701]
33378 * posix/group_member.c (__group_member): Correct checking loop.
33379
63c4ed22
UD
33380 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33381 OOM in getpwuid_r correctly. Return error number when the caller
33382 should return, otherwise -1.
33383 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33384 call returning > 0 value.
33385 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33386
765ade4b
AS
333872010-06-07 Andreas Schwab <schwab@redhat.com>
33388
33389 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33390 libc_nonshared.a from targets in modules-names.
33391
80da2e09
KS
333922010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33393
33394 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33395 requires it.
33396
158db122
LM
333972010-06-10 Luis Machado <luisgpm@br.ibm.com>
33398
33399 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33400 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33401 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33402 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33403
caa78cf8
AS
334042010-06-02 Andreas Schwab <schwab@redhat.com>
33405
33406 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33407
b2ef2c01
UD
334082010-06-14 Ulrich Drepper <drepper@redhat.com>
33409
33410 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33411 and F_GETPIPE_SZ.
33412 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33413 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33414 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33415 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33416 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33417 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33418
fbd643b6
RM
334192010-06-14 Roland McGrath <roland@redhat.com>
33420
33421 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33422
f32f2869
JJ
334232010-06-07 Jakub Jelinek <jakub@redhat.com>
33424
33425 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33426 __REDIRECT followed by __THROW.
33427 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33428 * posix/getopt.h (getopt): Likewise.
33429
2a50c078
EPM
334302010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33431
33432 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33433 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33434 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33435 in AT_FLAGS.
33436 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33437 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33438
eb5ad2eb
LM
334392010-05-28 Luis Machado <luisgpm@br.ibm.com>
33440
33441 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33442
3c88fe1e
L
334432010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33444
33445 [BZ #11640]
33446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33447 Properly check family and model.
33448
d2f73151
TY
334492010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33450
33451 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33452
ebd2e13d
LM
334532010-05-24 Luis Machado <luisgpm@br.ibm.com>
33454
33455 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33456
b32b8b45
UD
334572010-05-21 Ulrich Drepper <drepper@redhat.com>
33458
33459 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33460 symbol reference.
33461
9acbe24d
AS
334622010-05-19 Andreas Schwab <schwab@redhat.com>
33463
33464 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33465 symbol reference.
33466
f0ccf6ea
AS
334672010-05-21 Andreas Schwab <schwab@redhat.com>
33468
3d04ff3a
AS
33469 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33470 and internal_recvmmsg.
33471 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33472 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33473 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33474 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33475
f0ccf6ea
AS
33476 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33477 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33478 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33479
5b08ac57
AS
334802010-05-20 Andreas Schwab <schwab@redhat.com>
33481
33482 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33483
4828935d
LM
334842010-05-17 Luis Machado <luisgpm@br.ibm.com>
33485
33486 POWER7 optimizations.
33487 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33488 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33489
373d545e
UD
334902010-05-19 Ulrich Drepper <drepper@redhat.com>
33491
33492 * version.h: Update for 2.13 development version.
33493
21a2b1ae
AS
334942010-05-12 Andrew Stubbs <ams@codesourcery.com>
33495
33496 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33497 exceptions. Return 0.
33498
3f7dcb2b
RM
334992010-05-07 Roland McGrath <roland@redhat.com>
33500
33501 * elf/ldconfig.c (main): Add a const.
33502
5f24d53a 335032010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33504
a160f8d8
UD
33505 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33506 (args_options): Add no-idn option.
33507 (ahosts_keys_int): Add idn_flags to ai_flags.
33508 (parse_option): Handle 'i' option to clear idn_flags.
33509
5f24d53a
UD
33510 * malloc/malloc.c (_int_free): Possible race in the most recently
33511 added check. Only act on the data if no current modification
33512 happened.
265bb1ce
UD
33513
33514See ChangeLog.17 for earlier changes.