]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC floating point little-endian [2 of 15]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4ebd120c
AM
12013-10-04 Alan Modra <amodra@gmail.com>
2
3 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5 all uses of ieee854 long double macros and unions.
6 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
7 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12 Likewise.
13 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19 Simplify sign and nan test too.
20 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24 Likewise.
25 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27 Likewise.
28 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
32 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
33 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
34
1b6adf88
AM
352013-10-04 Alan Modra <amodra@gmail.com>
36
37 * stdio-common/printf_size.c (__printf_size): Don't use
38 union ieee854_long_double in fpnum union.
39 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
40 signbit macro to retrieve sign from long double.
41 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
42 retrieve sign from long double.
43 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
44 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
45 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47 * math/test-misc.c (main): Don't use union ieee854_long_double.
48
4cf69995
AM
492013-10-04 Alan Modra <amodra@gmail.com>
50
51 [BZ #15680]
52 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
53 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
54 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
55 calculation. Remove unnecessary test for denormal exponent.
56 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
57 Correct handling of denormals. Avoid undefined shift behaviour.
58 Correct normalisation of low mantissa when low double is denormal.
59 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
60 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
61 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
62 Correct normalisation of low mantissa. Test for overflow of high
63 mantissa and normalise.
64 (ldbl_nearbyint): Use more readable constant for two52.
65 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
66 (__mpn_construct_long_double): Fix test for overflow of high
67 mantissa and correct normalisation. Avoid undefined shift.
68
9605ca6c
AM
692013-10-04 Alan Modra <amodra@gmail.com>
70
71 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
72 (union ibm_extended_long_double): Define as an array of ieee754_double.
73 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
74 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
75 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
76 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
77 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
78 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
79 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
80 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
81 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
82 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
83 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
84
975569d0
JM
852013-10-03 Joseph Myers <joseph@codesourcery.com>
86
d3d23756
JM
87 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
88 page size instead of calling getpagesize.
89
975569d0
JM
90 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
91 (LOCFILE_ALIGN_MASK): Likewise.
92 (LOCFILE_ALIGN_UP): Likewise.
93 (LOCFILE_ALIGNED_P): Likewise.
94 * locale/programs/ld-collate.c (collate_output): Use the new
95 macros instead of __alignof__ (int32_t).
96 * locale/weight.h (findidx): Likewise.
97
b1fe1f2b
OB
982013-10-03 Ondřej Bílka <neleai@seznam.cz>
99
100 [BZ #431]
101 * manual/string.texi: Fix strncat and wcsncat.
102
5f855e35
BM
1032013-10-03 Brooks Moses <bmoses@google.com>
104
105 [BZ #15915]
106 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
107 * Makerules: ...here, and adjust associated comments.
108
3cef6009
WN
1092013-10-02 Will Newton <will.newton@linaro.org>
110
111 * malloc/Makefile: Add tst-pvalloc.
112 * malloc/tst-pvalloc.c: New file.
113
7815420b
WN
1142013-10-02 Will Newton <will.newton@linaro.org>
115
116 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
117 improve test coverage.
118
4868b204
WN
1192013-10-02 Will Newton <will.newton@linaro.org>
120
121 * malloc/Makefile: Add tst-posix_memalign.
122 * malloc/tst-posix_memalign.c: New file.
123
29c793b3
EB
1242013-10-01 Eric Blake <eblake@redhat.com>
125
126 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
127 Use __THROWNL rather than __THROW on static functions.
128
fd967522
PM
1292013-09-30 Petr Machata <pmachata@redhat.com>
130
131 * elf/elf.h (R_AARCH64_ABS16): New macro.
132 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
133 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
134 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
135 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
136 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
137 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
138 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
139 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
140 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
141 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
142 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
143 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
144 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
145 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
146 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
147 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
148 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
149 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
150 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
151 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
152 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
153 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
154 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
155 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
156 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
157 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
158 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
159 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
160 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
161 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
162 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
163 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
164 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
165 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
166 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
167 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
168 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
169 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
170 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
171 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
172 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
173 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
174 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
175 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
176 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
177 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
178 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
179 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
180 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
181 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
182 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
183 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
184 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
185 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
186 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
187 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
188 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
189 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
190 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
191 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
192 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
193 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
194 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
195 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
196 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
197 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
198 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
199 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
200 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
201 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
202 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
203 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
204 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
205 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
206 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
207 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
208 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
209 (R_AARCH64_TLSDESC_LDR): Likewise.
210 (R_AARCH64_TLSDESC_ADD): Likewise.
211 (R_AARCH64_TLSDESC_CALL): Likewise.
212
b2179107
AS
2132013-09-30 Andreas Schwab <schwab@suse.de>
214
215 [BZ #15048]
216 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
217 the nss database lookup.
218 * nscd/initgrcache.c (addinitgroupsX): Likewise.
219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
220
47f28d0a
MF
2212013-09-28 Mike Frysinger <vapier@gentoo.org>
222
223 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
224
2252013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
226
227 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
228 ${Bash-specific parameter/pattern/string} parameter expansion.
229 * sysdeps/unix/make-syscalls.sh: Likewise.
230
f4518a17
KK
2312013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
232
233 * sysdeps/sh/stackguard-macros.h: New file.
234
dc1a95c7
OB
2352013-09-26 Ondřej Bílka <neleai@seznam.cz>
236
237 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
238 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
239 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
240 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
241 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
242 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
243
5ebbff8f
AZ
2442013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
245
246 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
247 Fix thread ID register.
248
4fd2cf9f
JM
2492013-09-25 Joseph Myers <joseph@codesourcery.com>
250
251 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
252 [POSIX || UNIX98]: Require rather than permitting all symbols from
253 <time.h>.
254 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
255 element of struct sched_param.
256 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
257 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
258 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
259 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
260 constant.
261
12c22bc4
OL
2622013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
263
264 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
265 argument calculation.
266
a03d8ea7
JM
2672013-09-24 Joseph Myers <joseph@codesourcery.com>
268
269 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
270 Expect macro.
271 [POSIX] (pthread_attr_t): Do not require type.
272 [POSIX] (pthread_cond_t): Likewise.
273 [POSIX] (pthread_condattr_t): Likewise.
274 [POSIX] (pthread_key_t): Likewise.
275 [POSIX] (pthread_mutex_t): Likewise.
276 [POSIX] (pthread_mutexattr_t): Likewise.
277 [POSIX] (pthread_once_t): Likewise.
278 [POSIX] (pthread_t): Likewise.
279 [POSIX-based standards] (pthread_atfork): Expect function.
280
6055173a
JM
2812013-09-24 Joseph Myers <joseph@codesourcery.com>
282 Richard Sandiford <richard@codesourcery.com>
283
284 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
285 (swap_endianness_p): New extern variable.
286 (set_big_endian): New inline function.
287 (maybe_swap_uint32): Likewise.
288 (maybe_swap_uint32_array): Likewise.
289 (maybe_swap_uint32_obstack): Likewise.
290 * locale/programs/locfile.c: Include <stdbool.h>.
291 (swap_endianness_p): New variable.
292 (add_locale_uint32): Call maybe_swap_uint32.
293 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
294 (write_locale_data): Call maybe_swap_uint32_array.
295 * locale/programs/ld-collate.c (obstack_int32_grow): Call
296 maybe_swap_uint32.
297 (obstack_int32_grow_fast): Likewise.
298 (output_weightwc): Call maybe_swap_uint32_obstack.
299 (collate_output): Likewise.
300 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
301 (OPT_LITTLE_ENDIAN): Likewise.
302 (options): Add --little-endian and --big-endian options.
303 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
304 * locale/programs/locarchive.c: Include "locfile.h".
305 (GET): New macro.
306 (SET): Likewise.
307 (INC): Likewise.
308 (create_archive): Use the new macros to access fields of
309 structures directly mapped from or written to locale archives.
310 (oldlocrecentcmp): Likewise.
311 (enlarge_archive): Likewise.
312 (insert_name): Likewise.
313 (add_alias): Likewise.
314 (add_locale): Likewise.
315 (delete_locales_from_archive): Likewise.
316 (show_archive_content): Likewise.
317 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
318 locale data.
319
39bf0bb4
RM
3202013-09-24 Roland McGrath <roland@hack.frob.com>
321
322 * manual/freemanuals.texi: Updated from (newly) canonical copy at
323 http://www.gnu.org/doc/freemanuals.texi.
324 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
325
f02eed10
WN
3262013-09-24 Will Newton <will.newton@linaro.org>
327
328 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
329 macro.
330
a3a6c312
JM
3312013-09-23 Joseph Myers <joseph@codesourcery.com>
332
333 * locale/hashval.h (compute_hashval): Interpret bytes of key as
334 unsigned char.
335
107375ac
MR
3362013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
337
338 * manual/threads.texi (POSIX Threads): Fix a typo.
339
141f3a77
SP
3402013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
341
303e567a
SP
342 [BZ #14547]
343 * string/tst-strcoll-overflow.c: New test case.
344 * string/Makefile (xtests): Add tst-strcoll-overflow.
345 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
346 cache if string sizes may cause integer overflow.
347
141f3a77
SP
348 [BZ #14547]
349 * string/strcoll_l.c (coll_seq): New members rule, idx,
350 save_idx and back_us.
351 (get_next_seq_nocache): New function.
352 (do_compare_nocache): New function.
353 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
354 when malloc fails.
355
c61b4d41
CD
3562013-09-23 Carlos O'Donell <carlos@redhat.com>
357
0b1f8e35
CD
358 [BZ #15754]
359 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
360 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
361 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
362
c61b4d41
CD
363 [BZ #15754]
364 * elf/Makefile (tests): Add tst-ptrguard1.
365 (tests-static): Add tst-ptrguard1-static.
366 (tst-ptrguard1-ARGS): Define.
367 (tst-ptrguard1-static-ARGS): Define.
368 * elf/tst-ptrguard1.c: New file.
369 * elf/tst-ptrguard1-static.c: New file.
370 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
371 * sysdeps/i386/stackguard-macros.h: Likewise.
372 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
373 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
374 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
375 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
376 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
377 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
378
3792013-09-23 Hector Marco <hecmargi@upv.es>
380 Ismael Ripoll <iripoll@disca.upv.es>
381 Carlos O'Donell <carlos@redhat.com>
382
383 [BZ #15754]
384 * sysdeps/generic/stackguard-macros.h: Define
385 __pointer_chk_guard_local and POINTER_CHK_GUARD.
386 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
387 Define __pointer_chk_guard_local.
388 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
389 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
390
f5f4e7b4
VV
3912013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
392
393 [BZ #15859]
394 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
395
5bb43a43
AS
3962013-09-20 Andreas Schwab <schwab@linux-m68k.org>
397
398 * include/string.h (__ffs): Declare as hidden.
399 * string/ffs.c (__ffs): Define as hidden.
400 * sysdeps/i386/ffs.c (__ffs): Likewise.
401 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
402 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
403 * sysdeps/s390/ffs.c (__ffs): Likewise.
404 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
405
3ea5be54
AO
4062013-09-20 Alexandre Oliva <aoliva@redhat.com>
407
ffb89e53
AO
408 * NEWS: Mention malloc probes.
409
322dea08
AO
410 * malloc/arena.c (new_heap): New memory_heap_new probe.
411 (grow_heap): New memory_heap_more probe.
412 (shrink_heap): New memory_heap_less probe.
413 (heap_trim): New memory_heap_free probe.
414 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
415 (systrim): New memory_sbrk_less probe.
416 * manual/probes.texi: Document them.
417
655673f3
AO
418 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
419 * manual/probes.texi: Document it.
420
35fed6f1
AO
421 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
422 (__libc_realloc): Add memory_realloc_retry probe.
423 (__libc_memalign): Add memory_memalign_retry probe.
424 (__libc_valloc): Add memory_valloc_retry probe.
425 (__libc_pvalloc): Add memory_pvalloc_retry probe.
426 (__libc_calloc): Add memory_calloc_retry probe.
427 * manual/probes.texi: Document them.
428
6999d38c
AO
429 * malloc/arena.c (get_free_list): Add probe
430 memory_arena_reuse_free_list.
431 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
432 and memory_arena_reuse.
433 (arena_get2) [!PER_THREAD]: Likewise.
434 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
435 memory_arena_reuse_realloc.
436 * manual/probes.texi: Document them.
437
0653427f
AO
438 * malloc/malloc.c (__libc_free): Add
439 memory_mallopt_free_dyn_thresholds probe.
440 (__libc_mallopt): Add multiple memory_mallopt probes.
441 * manual/probes.texi: Document them.
442
3ea5be54
AO
443 * malloc/malloc.c: Include stap-probe.h.
444 (__libc_mallopt): Add memory_mallopt probe.
445 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
446 * manual/probes.texi: New.
447 * manual/Makefile (chapters): Add probes.
448 * manual/threads.texi: Set next node.
449
e35696c3 4502013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 451
e35696c3
CL
452 [BZ #15963, #13985]
453 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
454 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
455 Add `Chinese' to `nan' entry name.
456
4aafb73c
SP
4572013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
458
459 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
460 (POLYNOMIAL): Likewise.
461 (TAYLOR_SINCOS): Likewise.
462 (TAYLOR_SLOW): Likewise.
463 (__sin): Use TAYLOR_SINCOS.
464 (__cos): Likewise.
465 (slow): Use TAYLOR_SLOW.
466 (sloww): Likewise.
467 (bsloww): Likewise.
468 (csloww): Likewise.
469
d84f25c7
LD
4702013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
471
472 * stdlib/strtod_l.c: Fix buffer overrun.
473
5eea0404
SP
4742013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
475
7849ff93
SP
476 * benchtests/Makefile (bench): Add sincos.
477 * benchtests/bench-sincos.c: New file.
478
cfa3c886
SP
479 * math/libm-test.inc (cos_test_data): New test inputs.
480 (sin_test_data): Likewise.
481
b348e1e3
SP
482 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
483 macro.
484 (__sin): Use it.
485 (__cos): Likewise.
486 (slow1): Likewise.
487 (slow2): Likewise.
488 (sloww1): Likewise.
489 (sloww2): Likewise.
490 (bsloww1): Likewise.
491 (bsloww2): Likewise.
492 (cslow2): Likewise.
493 (csloww1): Likewise.
494 (csloww2): Likewise.
495
6cce25f8
SP
496 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
497 function.
498 (__sin): Use it.
499 (__cos): Likewise.
500
5eea0404
SP
501 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
502 gotos.
503 (__cos): Likewise.
504
9c21573c
MR
5052013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
506
507 * config.h.in (HAVE_MIPS_NAN2008): New macro.
508 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
509 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
510 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
511 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
512 * elf/cache.c (print_entry): Handle the new cache flags.
513
24d22e65
JM
5142013-09-18 Joseph Myers <joseph@codesourcery.com>
515 Aldy Hernandez <aldyh@redhat.com>
516
517 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
518 Change condition to [_SOFT_FLOAT].
519 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
520 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
521 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
522 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
523 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
524 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
525 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
526 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
527 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
528 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
530 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
531 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
532 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
533 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
534 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
535 declaration.
536
d13ef066
JM
5372013-09-18 Joseph Myers <joseph@codesourcery.com>
538
2e071de0
JM
539 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
540 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
541 (__longjmp): Use LOAD_GP to load saved GPRs.
542 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
543 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
544 (__sigsetjmp): Use SAVE_GP to save GPRs.
545
d13ef066
JM
546 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
547 Do not append -msoft-float.
548 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
549
97a0650b
SP
5502013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
551
552 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
553
11ca09e9
JM
5542013-09-17 Joseph Myers <joseph@codesourcery.com>
555
556 [BZ #15966]
557 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
558 (_FPU_GETCW): Use initial "__" on variable and field names but not
559 on macro parameter name.
560 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
561 parentheses around reference to macro parameter.
562
08ffcf34
RS
5632013-09-13 Richard Sandiford <richard@codesourcery.com>
564
565 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
566 prototype.
567 (ctype_startup): Use uint32_t in cast and sizeof for
568 ctype->charnames.
569
ae7080d3
JL
5702013-09-11 Jia Liu <proljc@gmail.com>
571
572 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
573 __daddr_t_defined.
574 [__FreeBSD__]: Likewise.
575
5905e7b3
OB
5762013-09-11 Ondřej Bílka <neleai@seznam.cz>
577
578 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
579 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
580 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
581 (strchr): Remove __strchr_sse42 ifunc selection.
582 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
583 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
584
b987c776
WN
5852013-09-11 Will Newton <will.newton@linaro.org>
586
587 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
588 parameter to RES. Remove hardcoded 1000 value.
589 * benchtests/bench-skeleton.c (main): Pass RES parameter
590 to TIMING_INIT and multiply result by 1000.
591
ddf985af
AZ
5922013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
593
594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
595
ffdd3181
AS
5962013-09-11 Andreas Schwab <schwab@suse.de>
597
598 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
599 if not defined.
600 (O_TMPFILE) [__USE_GNU]: Define.
601 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
602 Define.
603
b73ed247
WN
6042013-09-11 Will Newton <will.newton@linaro.org>
605
606 [BZ #15857]
607 * malloc/malloc.c (__libc_memalign): Check the value of bytes
608 does not overflow.
609
55e17aad
WN
6102013-09-11 Will Newton <will.newton@linaro.org>
611
612 [BZ #15856]
613 * malloc/malloc.c (__libc_valloc): Check the value of bytes
614 does not overflow.
615
1159a193
WN
6162013-09-11 Will Newton <will.newton@linaro.org>
617
618 [BZ #15855]
619 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
620 does not overflow.
621
5905e7b3 6222013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
623
624 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
625 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
626 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
627 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
628 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
629
cdfc721b
AM
6302013-09-10 Allan McRae <allan@archlinux.org>
631
aa04af00
AM
632 [BZ #15748]
633 * manual/arith.texi (Parsing of Floats): Clarify
634 cross-reference.
635
cdfc721b
AM
636 [BZ #15849]
637 * manual/install.texi (Running make install): Mention
638 --enable-pt-chown.
639 * INSTALL: Regenerated.
640
95e7cf29
MR
6412013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
642
643 * csu/init-first.c (_init): Remove the !SHARED condition around
644 FPU control word initialization.
645 * elf/dl-support.c (_dl_fpu_control): New variable.
646 (_dl_aux_init) <AT_FPUCW>: Initialize it.
647 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
648 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
649 * math/test-fpucw-static.c: New file.
650 * math/test-fpucw-ieee.c: New file.
651 * math/test-fpucw-ieee-static.c: New file.
652 * math/Makefile (tests): Add `test-fpucw-ieee' and
653 `$(tests-static)'.
654 (tests-static): New variable.
655 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
656 dependency to...
657 [($(build-shared),yes)]
658 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
659 ... this.
660 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
661 New dependency.
662
83e43bf0
AM
6632013-09-09 Allan McRae <allan@archlinux.org>
664
a9f5ce09
AM
665 [BZ #15939]
666 * manual/string.texi (Collation Functions): Fix typo in
667 strcoll example.
668 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
669
34829bc2
AM
670 [BZ #15893]
671 * stdlib/isomac.c (get_null_defines): Fix memory leak.
672
3932737d
AM
673 [BZ #15892]
674 * libio/memstream.c (open_memstream): Fix memory leak.
675 * libio/wmemstream.c (open_wmemstream): Likewise.
676
83e43bf0
AM
677 [BZ #15895]
678 * nscd/netgroupcache.c: Fix nesting of ifdefs.
679
0c66b8e9
WN
6802013-09-09 Will Newton <will.newton@linaro.org>
681
682 * malloc/Makefile: Add tst-realloc to tests.
683 * malloc/tst-realloc.c: New file.
684
f6b00fd1
AM
6852013-09-09 Allan McRae <allan@archlinux.org>
686
687 [BZ #15844]
688 * COPYING: Update from GNU website to fix FSF address.
689 * COPYING.LIB: Likewise.
690
eec55e16
DM
6912013-09-06 David S. Miller <davem@davemloft.net>
692
693 * po/zh_TW.po: Update Chinese (traditional) translation from
694 translation project.
695
1ecbb381
RS
6962013-09-06 Richard Sandiford <richard@codesourcery.com>
697 Joseph Myers <joseph@codesourcery.com>
698
699 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
700 "localeinfo.h".
701 (obstack_chunk_alloc): New macro.
702 (obstack_chunk_free): Likewise.
703 (record_offset): New function.
704 (init_locale_data): Likewise.
705 (align_locale_data): Likewise.
706 (add_locale_empty): Likewise.
707 (add_locale_raw_data): Likewise.
708 (add_locale_raw_obstack): Likewise.
709 (add_locale_string): Likewise.
710 (add_locale_wstring): Likewise.
711 (add_locale_uint32): Likewise.
712 (add_locale_uint32_array): Likewise.
713 (add_locale_char): Likewise.
714 (start_locale_structure): Likewise.
715 (end_locale_structure): Likewise.
716 (start_locale_prelude): Likewise.
717 (end_locale_prelude): Likewise.
718 (write_locale_data): Take locale_file structure rather than an
719 iovec.
720 * locale/programs/locfile.h: Include "obstack.h".
721 (struct locale_file): Change to store locale file contents instead
722 of header.
723 (init_locale_data): New prototype.
724 (align_locale_data): Likewise.
725 (add_locale_empty): Likewise.
726 (add_locale_raw_data): Likewise.
727 (add_locale_raw_obstack): Likewise.
728 (add_locale_string): Likewise.
729 (add_locale_wstring): Likewise.
730 (add_locale_uint32): Likewise.
731 (add_locale_uint32_array): Likewise.
732 (add_locale_char): Likewise.
733 (start_locale_structure): Likewise.
734 (end_locale_structure): Likewise.
735 (start_locale_prelude): Likewise.
736 (end_locale_prelude): Likewise.
737 (write_locale_data): Update prototype.
738 * locale/programs/3level.h (struct TABLE): Remove result field.
739 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
740 Use new locale_file interface.
741 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
742 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
743 * locale/programs/ld-address.c (address_output): Use new
744 locale_file interface.
745 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
746 NO_ADD_LOCALE.
747 (collate_finish): Don't call collseq_table_finalize.
748 (collate_output): Use new locale_file interface.
749 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
750 in file.
751 (NO_FINALIZE): Change to NO_ADD_LOCALE.
752 (TABLE): Move defines earlier in file.
753 (ELEMENT): Likewise.
754 (DEFAULT): Likewise.
755 (wctrans_table_add): Move macro and inline function earlier in
756 file.
757 (struct wctype_table): Move type earlier in file.
758 (add_locale_wctype_table): New static prototype.
759 (struct locale_ctype_t): Use logical types instead of struct iovec
760 pointers for members.
761 (ctype_output): Use new locale_file interface.
762 (wctype_table_finalize): Change to add_locale_wctype_table. Use
763 new locale_file interface.
764 (allocate_arrays): Update for use of new locale_file interface.
765 * locale/programs/ld-identification.c (identification_output): Use
766 new locale_file interface.
767 * locale/programs/ld-measurement.c (measurement_output): Likewise.
768 * locale/programs/ld-messages.c (messages_output): Likewise.
769 * locale/programs/ld-monetary.c (monetary_output): Likewise.
770 * locale/programs/ld-name.c (name_output): Likewise.
771 * locale/programs/ld-numeric.c (numeric_output): Likewise.
772 * locale/programs/ld-paper.c (paper_output): Likewise.
773 * locale/programs/ld-telephone.c (telephone_output): Likewise.
774 * locale/programs/ld-time.c (time_output): Likewise.
775
e029e2e5
AZ
7762013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
777
778 * benchtests/Makefile: Add memrchr benchmark.
779 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
780 benchmark as memrchr.
781 * benchtests/bench-memrchr-ifunc.c: New file.
782 * benchtests/bench-memrchr.c: New file.
783
bbf6e8e4
WN
7842013-09-06 Will Newton <will.newton@linaro.org>
785
786 * benchtests/Makefile (string-bench): Add memcpy.
787
6c82a2f8
CD
7882013-09-05 Carlos O'Donell <carlos@redhat.com>
789 Cong Wang <amwang@redhat.com>
790
791 * sysdeps/unix/sysv/linux/bits/in.h
792 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
793 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
794 before __USE_KERNEL_IPV6_DEFS uses.
795 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
796 IPPROTO_BEETPH.
797 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
798 sockaddr_in6, or ipv6_mreq.
799
5430fc65
AZ
8002013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
801
802 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
803 memory access for final bytes in some large inputs.
804 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
805
4660856c
AZ
8062013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
807
808 * string/test-memrchr.c: New file.
809 * string/test-memrchr-ifunc.c: New file.
810 * string/Makefile: Add new memrchr testcase.
811
bb8ea713
MF
8122013-09-05 Mike Frysinger <vapier@gentoo.org>
813
814 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
815 fanotify_init returns EPERM.
816
b92a20b5
JM
8172013-09-04 Joseph Myers <joseph@codesourcery.com>
818
819 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
820 errors.
821 (top level): Treat second token from macro or constant entries for
822 allowed headers as allowed.
823 * include/complex.h: Condition internal declarations on
824 [!_ISOMAC].
825 * include/fenv.h: Condition include of <stdbool.h> and internal
826 declarations on [!_ISOMAC].
7447ccd9
CL
827
8282013-09-04 Chris Leonard <cjl@sugarlabs,.org>
829
3e181dda 830 [BZ #15923]
7447ccd9
CL
831 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
832
3f2e46a4
JM
8332013-09-04 Joseph Myers <joseph@codesourcery.com>
834
835 * configure.in (--enable-versioning): Remove configure option.
836 (libc_cv_asm_symver_directive): Remove configure test.
837 (libc_cv_ld_version_script_option): Likewise.
838 (VERSIONING): Remove variable and AC_SUBST.
839 (DO_VERSIONING): Remove AC_DEFINE.
840 * configure: Regenerated.
841 * config.h.in (DO_VERSIONING): Remove macro.
842 * Makerules [$(versioning) = yes]: Change conditionals to
843 [$(build-shared) = yes].
844 * config.make.in (versioning): Remove variable.
845 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
846 [$(build-shared) = yes].
847 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
848 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
849 * elf/Makefile [$(versioning) = yes]: Change conditionals to
850 [$(build-shared) = yes].
851 * extra-lib.mk [$(versioning) = yes]: Likewise.
852 * hurd/Makefile [$(versioning) = yes]: Likewise.
853 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
854 [SHARED].
855 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
856 [SHARED].
857 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
858 [SHARED && !NO_HIDDEN].
859 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
860 [SHARED].
861 [SHARED && DO_VERSIONING]: Likewise..
862 * libio/Makefile [$(versioning) = yes]: Change conditionals to
863 [$(build-shared) = yes].
864 * manual/install.texi (--disable-versioning): Remove
865 documentation.
866 * INSTALL: Regenerated.
867 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
868 to [SHARED].
869 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
870 [$(build-shared) = yes].
871 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
872 * sysdeps/i386/i686/multiarch/strstr-c.c
873 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
874 [SHARED && !NO_HIDDEN].
875 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
876 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
877 * sysdeps/powerpc/powerpc32/dl-machine.c
878 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
879 * sysdeps/powerpc/powerpc32/sysdep.h
880 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
881 to [SHARED && PIC && !NO_HIDDEN].
882 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
883 conditional to [SHARED].
884
44558701
WN
8852013-09-04 Will Newton <will.newton@linaro.org>
886
887 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
888 * benchtests/bench-string.h: Include bench-timing.h instead
889 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
890 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
891 call to HP_TIMING_DIFF_INIT.
892 * benchtests/bench-memccpy.c: Use bench-timing.h macros
893 instead of hp-timing.h macros.
894 * benchtests/bench-memchr.c: Likewise.
895 * benchtests/bench-memcmp.c: Likewise.
896 * benchtests/bench-memcpy.c: Likewise.
897 * benchtests/bench-memmem.c: Likewise.
898 * benchtests/bench-memmove.c: Likewise.
899 * benchtests/bench-memset.c: Likewise.
900 * benchtests/bench-rawmemchr.c: Likewise.
901 * benchtests/bench-strcasecmp.c: Likewise.
902 * benchtests/bench-strcasestr.c: Likewise.
903 * benchtests/bench-strcat.c: Likewise.
904 * benchtests/bench-strchr.c: Likewise.
905 * benchtests/bench-strcmp.c: Likewise.
906 * benchtests/bench-strcpy.c: Likewise.
907 * benchtests/bench-strcpy_chk.c: Likewise.
908 * benchtests/bench-strlen.c: Likewise.
909 * benchtests/bench-strncasecmp.c: Likewise.
910 * benchtests/bench-strncat.c: Likewise.
911 * benchtests/bench-strncmp.c: Likewise.
912 * benchtests/bench-strncpy.c: Likewise.
913 * benchtests/bench-strnlen.c: Likewise.
914 * benchtests/bench-strpbrk.c: Likewise.
915 * benchtests/bench-strrchr.c: Likewise.
916 * benchtests/bench-strspn.c: Likewise.
917 * benchtests/bench-strstr.c: Likewise.
918
cae16d66
WN
9192013-09-04 Will Newton <will.newton@linaro.org>
920
921 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
922
ffa3cd7f
JM
9232013-09-03 Joseph Myers <joseph@codesourcery.com>
924
925 [BZ #15427]
926 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
927 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
928 * math/libm-test.inc (lgamma_test_data): Add more tests.
929 * sysdeps/i386/fpu/libm-test-ulps: Update.
930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
931
8f02859f
OB
9322013-09-03 Ondřej Bílka <neleai@seznam.cz>
933
934 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
935 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
936 Add ifunc.
937 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
938 Add strcmp-sse2-unaligned
939 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
940
18d43716
MF
9412013-09-02 Mike Frysinger <vapier@gentoo.org>
942
943 * Versions.def (libc): Add GLIBC_2.19.
944
ac444012
MF
9452013-09-02 Mike Frysinger <vapier@gentoo.org>
946
947 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
948 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
949
b7835e32
JM
9502013-09-02 Joseph Myers <joseph@codesourcery.com>
951
952 [BZ #14155]
953 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
954 intermediate calculations in recurrence.
955 (__ieee754_ynf): Likewise.
956 * math/libm-test.inc (jn_test_data): Do not allow spurious
957 underflow exception. Add more tests.
958 (yn_test_data): Add more tests.
959 * sysdeps/i386/fpu/libm-test-ulps: Update.
960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
961
8220f4f0
OB
9622013-09-02 Ondřej Bílka <neleai@seznam.cz>
963
964 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
965
f24a6d08
OB
9662013-08-30 Ondřej Bílka <neleai@seznam.cz>
967
968 * csu/init-first.c: Fix then/than typos.
969 * locale/programs/ld-collate.c: Likewise.
970 * locale/programs/linereader.h: Likewise.
971 * manual/charset.texi: Likewise.
972 * manual/filesys.texi: Likewise.
973 * manual/stdio.texi: Likewise.
974 * manual/string.texi: Likewise.
975 * stdlib/fmtmsg.c: Likewise.
976 * sysdeps/i386/stpncpy.S: Likewise.
977 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
978 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
979 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
980 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
981
382466e0
OB
9822013-08-30 Ondřej Bílka <neleai@seznam.cz>
983
984 * elf/dl-open.c: Fix typos.
985 * iconvdata/gbbig5.c: Likewise.
986 * iconvdata/iso-2022-jp.c: Likewise.
987 * iconv/gconv_int.h: Likewise.
988 * iconv/loop.c: Likewise.
989 * nis/rpcsvc/nis.h: Likewise.
990 * resolv/ns_name.c: Likewise.
991 * stdio-common/vfscanf.c: Likewise.
992 * streams/stropts.h: Likewise.
993 * sunrpc/rpc_thread.c: Likewise.
994 * sysdeps/i386/strpbrk.S: Likewise.
995 * sysdeps/ieee754/k_standard.c: Likewise.
996 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
997 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
998 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
999 * sysdeps/mach/hurd/profil.c: Likewise.
1000 * sysdeps/s390/dl-procinfo.h: Likewise.
1001 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1002 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1003 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1004 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1005 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1006
0186c6e9
OB
10072013-08-30 Ondřej Bílka <neleai@seznam.cz>
1008
1009 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1010 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1011
d4e16af1
OB
10122013-08-29 Ondřej Bílka <neleai@seznam.cz>
1013
1014 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1015 aix specific files.
1016 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1017 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1018 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1019 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1020 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1021 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1022 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1023 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1024
88335980
TS
10252013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1026 Roland McGrath <roland@hack.frob.com>
1027
1028 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1029 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1030
ed479b02
ST
10312013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1032
1033 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1034 __executable_start symbol instead of _start.
1035
f1cc4c86
TS
10362013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1037
d821f07c
TS
1038 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1039 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1040 Move macros to...
1041 * sysdeps/gnu/ldsodefs.h: ... this new file.
1042
c54290cf
TS
1043 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1044 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1045 instead of ELFOSABI_LINUX.
1046
0007fc9b 1047 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
1048 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1049 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1050 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1051 Likewise.
1052 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1053 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1054 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1055 Likewise.
1056 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1057 (ibm_extended_long_double): Add ieee_nan member.
1058 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1059 (do_test): New function.
1060
f1cc4c86
TS
1061 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1062 TEST_TRUNC.
1063 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1064 functions, renamed from truncdfsf_test, trunctfsf_test,
1065 trunctfdf_test.
1066 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1067 functions.
1068 (do_test): Run all these.
1069
6f65e668
OB
10702013-08-29 Ondřej Bílka <neleai@seznam.cz>
1071
1072 * argp/argp-help.c: Fix typos.
1073 * argp/argp-parse.c: Likewise.
1074 * debug/backtracesyms.c: Likewise.
1075 * elf/elf.h: Likewise.
1076 * malloc/malloc.c: Likewise.
1077 * nis/nis_print.c: Likewise.
1078 * resolv/res_comp.c: Likewise.
1079 * stdlib/stdlib.h: Likewise.
1080 * sunrpc/clnt_tcp.c: Likewise.
1081 * sunrpc/clnt_udp.c: Likewise.
1082 * sunrpc/clnt_unix.c: Likewise.
1083 * sysdeps/unix/bsd/ptsname.c: Likewise.
1084 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1085 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
1086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1087 Likewise.
1088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1089 Likewise.
1090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1091 Likewise.
6f65e668
OB
1092 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1093
3a309239
SP
10942013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1095
1096 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1098
3b813b29
MF
10992013-08-27 Mike Frysinger <vapier@gentoo.org>
1100
1101 [BZ #15897]
1102 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1103 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1104 ($(objpfx)bug-dl-leaf): New rule.
1105 ($(objpfx)bug-dl-leaf.so): Likewise.
1106 ($(objpfx)bug-dl-leaf.out): Likewise.
1107 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1108 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1109 * dlfcn/bug-dl-leaf.c: New test.
1110 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1111 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1112 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1113 (dlclose): Likewise.
1114 (dlmopen): Likewise.
1115
8cc3269f
RM
11162013-08-27 Roland McGrath <roland@hack.frob.com>
1117
7f9d0034
RM
1118 * include/netdb.h [!_ISOMAC]:
1119 Don't include <tls.h>.
1120 (h_errno, __libc_h_errno): Move declaration and macros out of
1121 [_LIBC_REENTRANT].
1122
fb431262
RM
1123 * include/resolv.h [_RESOLV_H_]:
1124 Don't include <tls.h>.
1125 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1126 * resolv/res_libc.c: Don't include <tls.h>.
1127 (_res): Use __attribute__ ((nocommon)) in place of
1128 __attribute__ ((section (".bss"))).
1129
bd81123a
RM
1130 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1131 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1132
c4e42566
RM
1133 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1134
f890a59b
RM
1135 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1136 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1137
1138 * resolv/res_mkquery.c: Include <sys/time.h>.
1139
5d1f0a09
RM
1140 * inet/ifreq.c: Moved to ...
1141 * sysdeps/unix/ifreq.c: ... here.
1142 * inet/ifreq.c: New file, true stub version.
1143
6fcf28b3
RM
1144 * socket/sa_len.c: New file.
1145 * socket/Makefile (aux): Add it.
1146 * sysdeps/unix/sysv/linux/Makefile
1147 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1148 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1149 and #include <socket/sa_len.c>.
1150 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1151 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1152
e041fb8b
RM
1153 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1154 * bits/socket.h: ... here.
1155
8cc3269f
RM
1156 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1157 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1158 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1159
5d228a43
AS
11602013-08-27 Andreas Schwab <schwab@suse.de>
1161
45b8accc
AS
1162 [BZ #15736]
1163 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1164 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1165 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1166 * string/test-strcasecmp.c (test_main): Run tests in several
1167 locales.
1168 * string/test-strncasecmp.c (test_main): Likewise.
1169
5d228a43
AS
1170 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1171 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1172 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1173 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1174 (__strncasecmp_ssse3) [PIC]: Likewise.
1175
59d112a4
RM
11762013-08-26 Roland McGrath <roland@hack.frob.com>
1177
53234cc3
RM
1178 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1179
59d112a4
RM
1180 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1181 instead of explicitly declaring xdecrypt.
1182 * nis/nss_nis/nis-publickey.c: Likewise.
1183
595aba70
SP
11842013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1185
1186 [BZ #15890]
1187 * nscd/aicache.c: Include res_hconf.h.
1188 (addhstaiX): Initialize res_hconf.
1189
ffabd393
AS
11902013-08-26 Andreas Schwab <schwab@suse.de>
1191
1192 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1193 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1194
e0a69f5c
SP
11952013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1196
1197 * nscd/aicache.c (addhstaiX): Fix indentation.
1198
8c12f01d
MF
11992013-08-25 Mike Frysinger <vapier@gentoo.org>
1200
1201 * configure.ac: Quote $build_pt_chown test.
1202 * configure: Regenerated.
1203
8fe89494
JM
12042013-08-23 Joseph Myers <joseph@codesourcery.com>
1205
1206 [BZ #15532]
1207 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1208 * math/s_cexpf.c (__cexpf): Likewise.
1209 * math/s_cexpl.c (__cexpl): Likewise.
1210 * math/libm-test.inc (cexp_test_data): Correct expected return
1211 value for NaN + i0. Add another test.
1212
75b181d6
DM
12132013-08-22 David S. Miller <davem@davemloft.net>
1214
1215 * po/ca.po: Update Catalan translation from translation project.
936241e4 1216 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1217
acd06bb1
JM
12182013-08-21 Joseph Myers <joseph@codesourcery.com>
1219
1220 [BZ #15797]
1221 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1222 is infinite, not alongside NaN test.
1223 * math/s_fdimf.c (__fdimf): Likewise.
1224 * math/s_fdiml.c (__fdiml): Likewise.
1225 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1226 errno is unchanged.
1227
c0c3f78a
OB
12282013-08-21 Ondřej Bílka <neleai@seznam.cz>
1229
1230 * argp/argp-help.c: Fix typos.
1231 * crypt/speeds.c: Likewise.
1232 * csu/check_fds.c: Likewise.
1233 * elf/dl-load.c: Likewise.
1234 * elf/dl-open.c: Likewise.
1235 * elf/reldep3.c: Likewise.
1236 * elf/reldep.c: Likewise.
1237 * elf/sprof.c: Likewise.
1238 * iconv/iconv_charmap.c: Likewise.
1239 * iconv/skeleton.c: Likewise.
1240 * iconv/strtab.c: Likewise.
1241 * io/lockf64.c: Likewise.
1242 * libio/libioP.h: Likewise.
1243 * resolv/gai_notify.c: Likewise.
1244 * resolv/ns_name.c: Likewise.
1245 * resolv/ns_samedomain.c: Likewise.
1246 * resolv/res_send.c: Likewise.
1247 * stdlib/random.c: Likewise.
1248 * sunrpc/rpc/xdr.h: Likewise.
1249 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1250 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1251 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1252 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1253 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1254 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1255 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1256 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1257 * sysdeps/mach/hurd/check_fds.c: Likewise.
1258 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1259 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1260 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1261 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1262 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1263 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1264 * sysdeps/pthread/aio_notify.c: Likewise.
1265 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1266 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1267 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1268 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1269 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1270
46ed1038
LD
12712013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1272
1273 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1274 version if bit_Slow_SSE4_2 is set.
1275 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1276 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1277
d400dcac
AZ
12782013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1279
1280 [BZ #15867]
1281 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1282 trampoline stack frame information.
1283 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1284 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1285 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1286 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1287 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1288 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1289 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1290 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1291 sa_flags value.
1292 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1293 interrupting a syscall and set with option SA_SIGINFO.
1294
42c8fdd8
JM
12952013-08-20 Joseph Myers <joseph@codesourcery.com>
1296
c980f2f4
JM
1297 [BZ #15531]
1298 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1299 argument is infinite.
1300 * math/s_cprojf.c (__cprojf): Likewise.
1301 * math/s_cprojl.c (__cprojl): Likewise.
1302 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1303 * math/libm-test.inc (cproj_test_data): Add more tests.
1304
0716c4fc
JM
1305 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1306
42c8fdd8
JM
1307 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1308 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1309 size. Use __ffs to determine corresponding shift.
1310
b31469d0
JM
13112013-08-20 Joseph Myers <joseph@codesourcery.com>
1312 Roland McGrath <roland@hack.frob.com>
1313
1314 * Makefile (INSTALL): Remove trailing blank lines from output of
1315 makeinfo.
1316
4e39af6e
AK
13172013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1318
1319 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1320 Align 32 bit compat elf_greg to 8 bytes.
1321
f315524e
AA
13222013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1323
1324 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1325
1326ba1a
SP
13262013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1327
1328 * string/strcoll_l.c (coll_seq): New structure.
1329 (get_next_seq_cached): New function.
1330 (get_next_seq): New function.
1331 (do_compare): New function.
1332 (STRCOLL): Use GNU style definition. Simplify implementation
1333 by using get_next_seq, get_next_seq_cached and do_compare.
1334
91ce4085
FW
13352013-08-16 Florian Weimer <fweimer@redhat.com>
1336
1337 [BZ #14699]
1338 CVE-2013-4237
1339 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1340 member.
1341 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1342 member.
1343 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1344 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1345 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1346 conditional.
1347 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1348 GETDENTS_64BIT_ALIGNED.
1349 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1350 * manual/filesys.texi (Reading/Closing Directory): Document
1351 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1352 strongly.
1353 * manual/conf.texi (Limits for Files): Add portability note to
1354 NAME_MAX, PATH_MAX.
1355 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1356
ca0a6bc4
AS
13572013-08-13 Andreas Schwab <schwab@suse.de>
1358
1359 [BZ #15749]
1360 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1361 of fabs.
1362 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1363 LDBL_MAX_EXP >= 16384]: Add tests for it.
1364
6c1fd795
DM
13652013-08-12 David S. Miller <davem@davemloft.net>
1366
1367 * version.h (RELEASE): Set to "development".
1368 (VERSION): Set to "2.18.90".
1369 * NEWS: Add 2.19 section.
1370
31ad488d
DM
13712013-08-03 David S. Miller <davem@davemloft.net>
1372
1373 * po/ko.po: Update Korean translation from translation project.
1374
db24e684
DM
13752013-08-01 David S. Miller <davem@davemloft.net>
1376
1377 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1378 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1379 Bilka.
1380
f723285b
DM
13812013-07-30 David S. Miller <davem@davemloft.net>
1382
1383 * po/fr.po: Update French translation from translation project.
1384
3cbc52db
DM
13852013-07-28 David S. Miller <davem@davemloft.net>
1386
30bbc0cc
DM
1387 * po/cs.po: Update Czech translation from translation project.
1388
3cbc52db
DM
1389 * po/sv.po: Update Swedish translation from translation project.
1390
d492e6d0
DM
13912013-07-27 David S. Miller <davem@davemloft.net>
1392
f1a7f492
DM
1393 * po/eo.po: Update Esperanto translation from translation project.
1394
90e62a4a
DM
1395 * po/vi.po: Update Vietnamese translation from translation project.
1396
d492e6d0
DM
1397 * po/de.po: Update German translation from translation project.
1398
d4baa62d
DM
13992013-07-26 David S. Miller <davem@davemloft.net>
1400
641aa7b4
DM
1401 * po/bg.po: Update Bulgarian translation from translation project.
1402
d4baa62d
DM
1403 * po/nl.po: Update Dutch translation from translation project.
1404 * po/pl.po: Update Polish translation from translation project.
1405 * po/ru.po: Update Russian translation from translation project.
1406
61a9dcb9
DM
14072013-07-24 David S. Miller <davem@davemloft.net>
1408
1409 * po/libc.pot: Update.
1410
7b1f8b58
AZ
14112013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1412
1413 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1414 variable page size.
1415 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1416 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1417 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1418
a8fc7a03
AK
14192013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1420
1421 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1422
e4608715
CD
14232013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1424 Andreas Schwab <schwab@suse.de>
1425 Roland McGrath <roland@hack.frob.com>
1426 Joseph Myers <joseph@codesourcery.com>
1427 Carlos O'Donell <carlos@redhat.com>
1428
1429 [BZ #15755]
1430 * config.h.in: Define HAVE_PT_CHOWN.
1431 * config.make.in (build-pt-chown): New variable.
1432 * configure.in (--enable-pt_chown): New configure option.
1433 * configure: Regenerate.
1434 * login/Makefile: Include Makeconfig. Build pt_chown only if
1435 build-pt-chown is enabled.
1436 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1437 pt_chown to fix pty ownership.
1438 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1439 CLOSE_ALL_FDS.
1440 * manual/install.texi (Configuring and compiling): Mention
1441 --enable-pt_chown. Add @findex for grantpt.
1442 * INSTALL: Regenerate.
1443
da2d62df
DM
14442013-07-20 David S. Miller <davem@davemloft.net>
1445
1446 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1447 difference between 32-bit and 64-bit.
1448
d7e06450
CD
14492013-07-15 Carlos O'Donell <carlos@redhat.com>
1450
1451 [BZ #15711]
1452 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1453 Avoid system header dependency with -ffreestanding.
1454 ($(objpfx)bits/syscall%d): Likewise.
1455
f959cfd7
DM
14562013-07-13 David S. Miller <davem@davemloft.net>
1457
1458 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1459 underflows from atanl/atan2l due to bug 15319.
1460 (casinh_test_data): Likewise.
1461
c61f8513
DM
14622013-07-07 David S. Miller <davem@davemloft.net>
1463
1464 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1465
72c90ed0
JA
14662013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1467
1468 * sysdeps/i386/fpu/libm-test-ulps: Update.
1469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1470
52dfbe13
SP
14712013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1472
1473 * configure.in (--enable-lock-elision): Fix message text.
1474 * INSTALL: Regenerate.
1475 * configure: Regenerate.
1476
3f169543
AZ
14772013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1478
1479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1480
521c6785
AJ
14812013-07-03 Andreas Jaeger <aj@suse.de>
1482
1483 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1484 define.
1485 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1486 (ptrace_peeksiginfo_args): Add.
1487 (__ptrace_peeksiginfo_flags): Add.
1488 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1489 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1490 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1491
d2cc15cb
AM
14922013-07-03 Allan McRae <allan@archlinux.org>
1493
1494 * sysdeps/i386/fpu/libm-test-ulps: Update.
1495
3aaeeca7
DM
14962013-07-02 David S. Miller <davem@davemloft.net>
1497
1498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1499
5314ed1a
MT
15002013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1501
1502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1503
67338156
JM
15042013-07-02 Joseph Myers <joseph@codesourcery.com>
1505
1506 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1508
1717da59
AK
15092013-07-02 Andi Kleen <ak@linux.intel.com>
1510
1511 * config.h.in (ENABLE_LOCK_ELISION): Add.
1512 * configure.in (--enable-lock-elision): Add option.
1513 * manual/install.texi: Document --enable lock elision.
1514 * configure: Regenerate
1515 * INSTALL: Regenerate.
1516
1c81621c
L
15172013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1518
1519 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1520 SSE4.2 strcasecmp for libc.a.
1521 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1522
77f01ab5
JM
15232013-07-02 Joseph Myers <joseph@codesourcery.com>
1524
1525 [BZ #13304]
1526 * soft-fp/op-common.h (_FP_FMA): New macro.
1527 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1528 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1529 (_FP_MUL_MEAT_1_imm): ... here.
1530 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1531 (_FP_MUL_MEAT_1_wide): ... here.
1532 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1533 (_FP_MUL_MEAT_1_hard): ... here.
1534 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1535 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1536 (_FP_MUL_MEAT_2_wide): ... here.
1537 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1538 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1539 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1540 (_FP_MUL_MEAT_2_gmp): ... here.
1541 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1542 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1543 (_FP_MUL_MEAT_4_wide): ... here.
1544 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1545 (_FP_MUL_MEAT_4_gmp): ... here.
1546 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1547 (_FP_WFRACBITS_DW_S): Likewise.
1548 (_FP_WFRACXBITS_DW_S): Likewise.
1549 (_FP_HIGHBIT_DW_S): Likewise.
1550 (FP_FMA_S): Likewise.
1551 (_FP_FRAC_HIGH_DW_S): Likewise.
1552 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1553 (_FP_WFRACBITS_DW_D): Likewise.
1554 (_FP_WFRACXBITS_DW_D): Likewise.
1555 (_FP_HIGHBIT_DW_D): Likewise.
1556 (FP_FMA_D): Likewise.
1557 (_FP_FRAC_HIGH_DW_D): Likewise.
1558 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1559 (_FP_WFRACBITS_DW_E): Likewise.
1560 (_FP_WFRACXBITS_DW_E): Likewise.
1561 (_FP_HIGHBIT_DW_E): Likewise.
1562 (FP_FMA_E): Likewise.
1563 (_FP_FRAC_HIGH_DW_E): Likewise.
1564 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1565 (_FP_WFRACBITS_DW_Q): Likewise.
1566 (_FP_WFRACXBITS_DW_Q): Likewise.
1567 (_FP_HIGHBIT_DW_Q): Likewise.
1568 (FP_FMA_Q): Likewise.
1569 (_FP_FRAC_HIGH_DW_Q): Likewise.
1570 * soft-fp/fmasf4.c: New file.
1571 * soft-fp/fmadf4.c: Likewise.
1572 * soft-fp/fmatf4.c: Likewise.
1573
6308fd9a
LD
15742013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1575
1576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1577 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1578 Silvermont.
1579 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1580 macro.
1581 (index_Slow_SSE4_2): Likewise.
1582 (index_Prefer_PMINUB_for_stringop): Likewise.
1583 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1584 bit_Slow_SSE4_2 is set.
1585 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1586 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1587
89cd9569
RA
15882013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1589
1590 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1591 rtld_global._dl_hwcap2.
1592 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1593 POWER8.
1594 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1595 POWER8 feature descriptions defined in _dl_hwcap2.
1596 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1597 string handling for POWER8 feature bits.
1598 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1599 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1600 _dl_powerpc_cap_flags.
1601 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1602 * sysdeps/powerpc/rtld-global-offsets.sym
1603 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1604 _dl_hwcap2 in the rtld_global_ro structure.
1605
1ae8bfe0
RA
16062013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1607
1608 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1609 hardware capabilities in support of AT_HWCAP2.
1610 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1611 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1612 GLRO(dl_hwcap2).
1613 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1614 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1615 explicitly the unknown a_type display mechanism is used.
1616 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1617 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1618 struct member.
1619 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1620 to macro prototype for AT_HWCAP2 support.
1621 * sysdeps/i386/dl-procinfo.h: Likewise.
1622 * sysdeps/s390/dl-procinfo.h: Likewise.
1623 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1624 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1625 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1626 return -1 for unknown a_type display fallback.
1627 * sysdeps/sparc/dl-procinfo.h: Likewise.
1628 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1629 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1630
8fbec010
JM
16312013-06-28 Joseph Myers <joseph@codesourcery.com>
1632
1633 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1634 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1635
0432680e
PY
16362013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1637
1638 [BZ #12492]
1639 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1640 mprotect making __stack_prot writable.
1641
ce61a2ad
NF
16422013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1643 Joseph Myers <joseph@codesourcery.com>
1644
1645 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1646 as being properly aligned.
1647
f91f1c0f
MR
16482013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1649
3d0f5d0c
MR
1650 * dlfcn/modstatic5.c: New file.
1651 * dlfcn/tststatic5.c: New file.
1652 * dlfcn/Makefile (tests): Add tststatic5.
1653 (tests-static): Likewise.
1654 (modules-names): Add modstatic5.
1655 (tststatic5-ENV): New variable.
1656 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1657
f91f1c0f
MR
1658 [BZ #15022]
1659 * elf/dl-support.c (_dl_main_map): New variable.
1660 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1661 (_dl_nns, _dl_load_adds): Set to 1.
1662 (_dl_initial_searchlist): Refer to _dl_main_map.
1663 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1664 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1665 call to _dl_get_origin.
1666 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1667 around call_map.
1668 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1669 * dlfcn/modstatic3.c: New file.
1670 * dlfcn/tststatic3.c: New file.
1671 * dlfcn/tststatic4.c: New file.
1672 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1673 (tests-static): Likewise.
1674 (modules-names): Add modstatic3.
1675 (tststatic3-ENV, tststatic4-ENV): New variables.
1676 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1677 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1678
cbe7d24b
JM
16792013-06-26 Joseph Myers <joseph@codesourcery.com>
1680
1681 * configure.in (CC): Require GCC version 4.4 or later.
1682 * configure: Regenerated.
1683 * manual/install.texi (Tools for Compilation): Update GCC version
1684 requirement.
1685 * INSTALL: Regenerated.
1686
11b8a0e1
LD
16872013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1688
1689 [BZ #15674]
bb5bb87c
L
1690 * string/test-memcmp.c (check2): New.
1691 (main): Call check2.
1692
11b8a0e1
LD
1693 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1694
b0037103
MR
16952013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1696
1697 [BZ #15022]
1698 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1699 over to...
1700 (dl_open_worker) [!SHARED]: ... here.
1701
c18c701d
RA
17022013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1703
1704 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1705
1d17fa5f
RH
17062013-06-25 Richard Henderson <rth@redhat.com>
1707
1708 * locale/programs/locarchive.c: Include <libc-internal.h>
1709
8fcb833a
JM
17102013-06-25 Joseph Myers <joseph@codesourcery.com>
1711
1712 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1713 trailing whitespace removed.
1714
17db6e8d
MF
17152013-06-24 Mike Frysinger <vapier@gentoo.org>
1716
1717 [BZ #10283]
17db6e8d
MF
1718 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1719 * locale/programs/locarchive.c: Include libc-mmap.h.
1720 (prepare_address_space): Take two new outputs (the mmap base and len).
1721 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1722 values.
1723 (create_archive): Declare new mmap base and len values for
1724 prepare_address_space, and store the result in ah.
1725 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1726 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1727 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1728 Declare new mmap base and len values for
1729 prepare_address_space, and store the result in new_ah.
1730 (open_archive): Declare new mmap base and len values for
1731 prepare_address_space, and store the result in ah.
1732 (close_archive): If ah->mmap_base is not NULL, use that and
1733 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1734 * sysdeps/generic/libc-mmap.h: New file.
1735
d605071e
MF
17362013-06-24 Mike Frysinger <vapier@gentoo.org>
1737
1738 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1739 (ALIGN_UP): Likewise.
1740 (PTR_ALIGN_DOWN): Likewise.
1741 (PTR_ALIGN_UP): Likewise.
1742
2f063a6e
RA
17432013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1744
1745 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1746 entry mapped to PPC_PLATFORM_POWER8.
1747 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1748 POWER8.
1749 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1750 (_dl_string_platform): Add case for exporting platform position for
1751 POWER8.
1752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1753 search path to sysdeps/powerpc/powerpc32/power8 directory.
1754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1755 search path to sysdeps/powerpc/powerpc64/power8 directory.
1756 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1757 power7 directories.
1758 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1759 power7 directories.
1760
a31ee4b3
SP
17612013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1762
a74ca98f
SP
1763 * INSTALL: Regenerate.
1764
a31ee4b3
SP
1765 * nscd/connections.c (nscd_init): Fix comment.
1766
695c378f
JM
17672013-06-22 Joseph Myers <joseph@codesourcery.com>
1768
d8412221
JM
1769 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1770
695c378f
JM
1771 [BZ #15667]
1772 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1773 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1774
d1d54715
MR
17752013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1776
1777 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1778 DL_DST_REQ_STATIC.
1779 (DL_DST_REQ_STATIC): Remove macro.
1780
8fdda7af
JM
17812013-06-21 Joseph Myers <joseph@codesourcery.com>
1782
1783 [BZ #7006]
1784 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1785 with a shift of 0 bits.
1786
f3bc5e5a
MR
17872013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1788
1789 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1790 $(tststatic-ENV).
1791
be09e8c9
KK
17922013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1793
1794 [BZ #15655]
1795 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1796
85c2e611
AZ
17972013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1798
1799 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1800 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1801 accepts -fno-tree-loop-distribute-patterns.
1802 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1803 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1804 recursive call.
1805 * string/memset.c (memset): Likewise.
1806 * string/test-memmove.c (simple_memmove): Disable loop transformation
1807 to library calls.
1808 * string/test-memset.c (simple_memset): Likewise.
1809 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1810 * benchtests/bench-memset.c (simple_memset): Likewise.
1811 * configure: Regenerated.
1812
c91e0825
JM
18132013-06-20 Joseph Myers <joseph@codesourcery.com>
1814
b8c792af
JM
1815 * math/test-misc.c (main): Ignore fesetround failure when failures
1816 of subsequent rounding tests would be ignored.
1817
c91e0825
JM
1818 [BZ #15654]
1819 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1820 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1821 * math/fegetenv.c (__fegetenv): Return 0.
1822 * math/fegetexcept.c (fegetexcept): Return 0.
1823 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1824 FE_TONEAREST.
1825 * math/feholdexcpt.c (feholdexcept): Return 0.
1826 * math/fesetenv.c (__fesetenv): Return 0.
1827 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1828 argument FE_TONEAREST.
1829 * math/feupdateenv.c (__feupdateenv): Return 0.
1830 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1831
bfcacbde
RM
18322013-06-18 Roland McGrath <roland@hack.frob.com>
1833
1834 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1835 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1836 ($(objpfx)rtld-%.os rules): Use them.
1837
e55a9b25
AZ
18382013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1839
1840 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1841 fields.
1842
346d65b3
RM
18432013-06-17 Roland McGrath <roland@hack.frob.com>
1844
12086fb4
RM
1845 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1846 length of target pattern, then descending length of dependency pattern.
1847 * configure.in (AWK): Require gawk 3.1.2 or newer.
1848 * manual/install.texi (Tools for Compilation): Say that we do.
1849 * configure: Regenerated.
1850
346d65b3
RM
1851 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1852 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1853 * scripts/sysd-rules.awk: ... this new script.
1854 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1855 than a glob-style pattern.
1856
1a846317
JM
18572013-06-17 Joseph Myers <joseph@codesourcery.com>
1858
1859 * math/test-misc.c (main): Do not treat incorrectly rounded
1860 conversions as failure unless ROUNDING_TESTS passes.
1861
8fc75e6f
JM
18622013-06-15 Joseph Myers <joseph@codesourcery.com>
1863
3711a167
JM
1864 [BZ #15631]
1865 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1866 restore exception state around main square root computation, then
1867 check for inexactness explicitly.
1868
8fc75e6f
JM
1869 * math/libm-test.inc (fma_test_data): Add another test.
1870
61dd6208
SP
18712013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1872
adf23d2c
SP
1873 * manual/threads.texi (Non-POSIX Extensions): New document
1874 node. Document pthread_getattr_default_np and
1875 pthread_setattr_default_np.
1876
61dd6208
SP
1877 * Versions.def (libpthread): Add GLIBC_2.18.
1878 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1880 Likewise.
1881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1882 Likewise.
1883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1884 Likewise.
1885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1886 Likewise.
1887 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1888 Likewise.
1889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1890 Likewise.
1891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1892 Likewise.
1893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1894 Likewise.
1895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1896 Likewise.
1897
d086fc7b
LD
18982013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1899
1900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1901 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1902
747ef469
SP
19032013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1904 H.J. Lu <hjl.tools@gmail.com>
1905
1906 [BZ #15627]
1907 * sysdeps/x86_64/rtld-memset.c: Remove file.
1908 * sysdeps/x86_64/rtld-memset.S: New file.
1909
1b2feed2
JM
19102013-06-14 Joseph Myers <joseph@codesourcery.com>
1911
1912 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1913 (test_in_one_mode): Take arguments for whether the rounding mode
1914 is supported for each floating-point type.
1915 (do_test): Pass new arguments to test_in_one_mode using
1916 ROUNDING_TESTS.
1917
a58ad3f8
RM
19182013-06-13 Roland McGrath <roland@hack.frob.com>
1919
1920 * posix/tst-waitid.c (do_test): Distinguish different instances of
1921 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1922 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1923 before entering the kernel for waitpid.
1924
c204ab28
SP
19252013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1926
1927 * NEWS: Fix note on clock function precision. Text by Roland
1928 McGrath.
1929
f4a29fba
RM
19302013-06-13 Roland McGrath <roland@hack.frob.com>
1931
1932 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1933 it into place only when and if the sanity check passes.
1934
1f24b9ad
JM
19352013-06-13 Joseph Myers <joseph@codesourcery.com>
1936
1937 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1938 output for whether conversion result is exact. Take argument
1939 indicating whether type is IBM long double.
1940 (round_for_all): Change need_exact field to ibm_ld.
1941 * stdlib/tst-strtod-round.c (struct exactness): New type.
1942 (struct test): Change bool ld_ok field to struct exactness exact.
1943 (TEST): Update all definitions for change to field.
1944 (tests): Regenerate array contents.
1945 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1946 field value. Check for IBM long double here.
1947 (do_test): Update calls to test_in_one_mode.
1948
58206c68
SP
19492013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1950
1951 [BZ #12515]
1952 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1953 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1954
2d6f4c5b 19552013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1956
1957 [BZ #15605]
1958 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1959 generated by the compiler on loop optimizations.
1960 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1961 general definitions.
1962
94f2c076
JM
19632013-06-12 Joseph Myers <joseph@codesourcery.com>
1964
1965 * math/bug-nextafter.c: Include <math-tests.h>.
1966 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1967 the relevant type.
1968 * math/bug-nexttoward.c: Include <math-tests.h>.
1969 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1970 the relevant type.
1971 * math/test-misc.c: Include <math-tests.h>.
1972 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1973 the relevant type.
1974
e0e50a0a
AJ
19752013-06-12 Andreas Jaeger <aj@suse.de>
1976
1977 * po/ia.po: Update Interlingua translation from translation
1978 project.
1979
25061094
SP
19802013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1981
1982 * include/fenv.h: Include stdbool.h.
1983 (struct rm_ctx): New structure.
1984 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1985 Define macro.
1986 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1987 (SET_RESTORE_ROUNDF): Likewise.
1988 (SET_RESTORE_ROUNDL): Likewise.
1989 (SET_RESTORE_ROUND_NOEX): Likewise.
1990 (SET_RESTORE_ROUND_NOEXF): Likewise.
1991 (SET_RESTORE_ROUND_NOEXL): Likewise.
1992 (SET_RESTORE_ROUND_53BIT): Likewise.
1993 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1994 (libc_feresetround_noexf_ctx): Likewise.
1995 (libc_feresetround_noexl_ctx): Likewise.
1996 (libc_feholdsetround_53bit_ctx): Likewise.
1997 (libc_feresetround_53bit_ctx): Likewise.
1998 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1999 (libc_feholdexcept_setround_sse_ctx): New function.
2000 (libc_fesetenv_sse_ctx): Likewise.
2001 (libc_feupdateenv_sse_ctx): Likewise.
2002 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2003 (libc_feholdexcept_setround_387_ctx): Likewise.
2004 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2005 (libc_feholdsetround_387_prec_ctx): Likewise.
2006 (libc_feholdsetround_387_ctx): Likewise.
2007 (libc_feholdsetround_387_53bit_ctx): Likewise.
2008 (libc_feholdsetround_sse_ctx): Likewise.
2009 (libc_feresetround_sse_ctx): Likewise.
2010 (libc_feresetround_387_ctx): Likewise.
2011 (libc_feupdateenv_387_ctx): Likewise.
2012 (libc_feholdexcept_setroundf_ctx): Define macro.
2013 (libc_fesetenvf_ctx): Likewise.
2014 (libc_feupdateenvf_ctx): Likewise.
2015 (libc_feholdsetroundf_ctx): Likewise.
2016 (libc_feresetroundf_ctx): Likewise.
2017 (libc_feholdexcept_setround_ctx): Likewise.
2018 (libc_fesetenv_ctx): Likewise.
2019 (libc_feupdateenv_ctx): Likewise.
2020 (libc_feholdsetround_ctx): Likewise.
2021 (libc_feresetround_ctx): Likewise.
2022 (libc_feholdexcept_setroundl_ctx): Likewise.
2023 (libc_feupdateenvl_ctx): Likewise.
2024 (libc_feholdsetroundl_ctx): Likewise.
2025 (libc_feresetroundl_ctx): Likewise.
2026 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2027 (libc_feresetround_53bit_ctx): Likewise.
2028
59b30555
SP
20292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2030
2031 * locale/iso-639.def: Convert to UTF-8.
2032
f1d73d30
JM
20332013-06-11 Joseph Myers <joseph@codesourcery.com>
2034
2035 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2036 (EXCEPTION_TESTS_double): Likewise.
2037 (EXCEPTION_TESTS_long_double): Likewise.
2038 (EXCEPTION_TESTS): Likewise.
2039 * math/libm-test.inc (test_exceptions): Only test exceptions if
2040 EXCEPTION_TESTS (FLOAT).
2041
94aca5e7
SP
20422013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2043
2044 * benchtests/Makefile (string-bench): Add strcpy_chk and
2045 stpcpy_chk.
2046 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2047 * benchtests/bench-stpcpy_chk.c: New file.
2048 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2049 * benchtests/bench-strcpy_chk.c: New file.
2050 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2051 code.
2052 (do_test): Likewise.
2053
fac0c5f2
RA
20542013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2055
2056 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2057 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2058 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2059 with tabs where appropriate.
2060 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2061 dl-procinfo.h.
2062 [PPC_PLATFORM_PPC440]: Likewise.
2063 [PPC_PLATFORM_PPC464]: Likewise.
2064 [PPC_PLATFORM_PPC476]: Likewise.
2065 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2066 ppc464, and ppc476 platform strings merging from ports/
2067 dl-procinfo.h.
2068
f22bc486
AS
20692013-06-11 Andreas Schwab <schwab@suse.de>
2070
2071 [BZ #14991]
2072 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2073 (from_ucs4_idx): Regenerate.
2074 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2075 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2076 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2077 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2078 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2079 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2080 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2081 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2082 from FROM_LOOP and TO_LOOP specific macros.
2083 (BODY): Handle combining characters.
2084 * iconvdata/BIG5HKSCS.irreversible: Update.
2085 * iconvdata/BIG5HKSCS.precomposed: New file.
2086 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2087 characters.
2088 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2089
c1f75dc3
SP
20902013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2091
4eacded2
SP
2092 * include/sys/time.h: Fix indentation and add copyright header.
2093
fec799f8
SP
2094 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2095 (do_test): Likewise.
2096 * string/test-memchr.c (do_one_test): Likewise.
2097 (do_test): Likewise.
2098 * string/test-memcmp.c (do_one_test): Likewise.
2099 (do_test): Likewise.
2100 * string/test-memcpy.c (do_one_test): Likewise.
2101 (do_test): Likewise.
2102 * string/test-memmem.c (do_one_test): Likewise.
2103 (do_test): Likewise.
2104 (do_random_tests): Likewise.
2105 * string/test-memmove.c (do_one_test): Likewise.
2106 (do_test): Likewise.
2107 * string/test-memset.c (do_one_test): Likewise.
2108 (do_test): Likewise.
2109 * string/test-rawmemchr.c (do_one_test): Likewise.
2110 (do_test): Likewise.
2111 * string/test-strcasecmp.c (do_one_test): Likewise.
2112 (do_test): Likewise.
2113 * string/test-strcasestr.c (do_one_test): Likewise.
2114 (do_test): Likewise.
2115 * string/test-strcat.c (do_one_test): Likewise.
2116 (do_test): Likewise.
2117 * string/test-strchr.c (do_one_test): Likewise.
2118 (do_test): Likewise.
2119 * string/test-strcmp.c (do_one_test): Likewise.
2120 (do_test): Likewise.
2121 * string/test-strcpy.c (do_one_test): Likewise.
2122 (do_test): Likewise.
2123 * string/test-string.h: Likewise.
2124 (test_init): Likewise.
2125 * string/test-strlen.c (do_one_test): Likewise.
2126 (do_test): Likewise.
2127 * string/test-strncasecmp.c (do_one_test): Likewise.
2128 (do_test): Likewise.
2129 * string/test-strncat.c (do_one_test): Likewise.
2130 (do_test): Likewise.
2131 * string/test-strncmp.c (do_one_test): Likewise.
2132 (do_test_limit): Likewise.
2133 (do_test): Likewise.
2134 * string/test-strncpy.c (do_one_test): Likewise.
2135 (do_test): Likewise.
2136 * string/test-strnlen.c (do_one_test): Likewise.
2137 (do_test): Likewise.
2138 * string/test-strpbrk.c (do_one_test): Likewise.
2139 (do_test): Likewise.
2140 * string/test-strrchr.c (do_one_test): Likewise.
2141 (do_test): Likewise.
2142 * string/test-strspn.c (do_one_test): Likewise.
2143 (do_test): Likewise.
2144 * string/test-strstr.c (do_one_test): Likewise.
2145 (do_test): Likewise.
2146
97020474
SP
2147 * benchtests/Makefile (string-bench): Add string benchmarks.
2148 * benchtests/bench-bcopy-ifunc.c: New file.
2149 * benchtests/bench-bcopy.c: New file.
2150 * benchtests/bench-bzero-ifunc.c: New file.
2151 * benchtests/bench-bzero.c: New file.
2152 * benchtests/bench-memccpy-ifunc.c: New file.
2153 * benchtests/bench-memccpy.c: New file.
2154 * benchtests/bench-memchr-ifunc.c: New file.
2155 * benchtests/bench-memchr.c: New file.
2156 * benchtests/bench-memcmp-ifunc.c: New file.
2157 * benchtests/bench-memcmp.c: New file.
2158 * benchtests/bench-memmem-ifunc.c: New file.
2159 * benchtests/bench-memmem.c: New file.
2160 * benchtests/bench-memmove-ifunc.c: New file.
2161 * benchtests/bench-memmove.c: New file.
2162 * benchtests/bench-mempcpy-ifunc.c: New file.
2163 * benchtests/bench-mempcpy.c: New file.
2164 * benchtests/bench-memset-ifunc.c: New file.
2165 * benchtests/bench-memset.c: New file.
2166 * benchtests/bench-rawmemchr-ifunc.c: New file.
2167 * benchtests/bench-rawmemchr.c: New file.
2168 * benchtests/bench-stpcpy-ifunc.c: New file.
2169 * benchtests/bench-stpcpy.c: New file.
2170 * benchtests/bench-stpncpy-ifunc.c: New file.
2171 * benchtests/bench-stpncpy.c: New file.
2172 * benchtests/bench-strcasecmp-ifunc.c: New file.
2173 * benchtests/bench-strcasecmp.c: New file.
2174 * benchtests/bench-strcasestr-ifunc.c: New file.
2175 * benchtests/bench-strcasestr.c: New file.
2176 * benchtests/bench-strcat-ifunc.c: New file.
2177 * benchtests/bench-strcat.c: New file.
2178 * benchtests/bench-strchr-ifunc.c: New file.
2179 * benchtests/bench-strchr.c: New file.
2180 * benchtests/bench-strchrnul-ifunc.c: New file.
2181 * benchtests/bench-strchrnul.c: New file.
2182 * benchtests/bench-strcmp-ifunc.c: New file.
2183 * benchtests/bench-strcmp.c: New file.
2184 * benchtests/bench-strcpy-ifunc.c: New file.
2185 * benchtests/bench-strcpy.c: New file.
2186 * benchtests/bench-strcspn-ifunc.c: New file.
2187 * benchtests/bench-strcspn.c: New file.
2188 * benchtests/bench-strlen-ifunc.c: New file.
2189 * benchtests/bench-strlen.c: New file.
2190 * benchtests/bench-strncasecmp-ifunc.c: New file.
2191 * benchtests/bench-strncasecmp.c: New file.
2192 * benchtests/bench-strncat-ifunc.c: New file.
2193 * benchtests/bench-strncat.c: New file.
2194 * benchtests/bench-strncmp-ifunc.c: New file.
2195 * benchtests/bench-strncmp.c: New file.
2196 * benchtests/bench-strncpy-ifunc.c: New file.
2197 * benchtests/bench-strncpy.c: New file.
2198 * benchtests/bench-strnlen-ifunc.c: New file.
2199 * benchtests/bench-strnlen.c: New file.
2200 * benchtests/bench-strpbrk-ifunc.c: New file.
2201 * benchtests/bench-strpbrk.c: New file.
2202 * benchtests/bench-strrchr-ifunc.c: New file.
2203 * benchtests/bench-strrchr.c: New file.
2204 * benchtests/bench-strspn-ifunc.c: New file.
2205 * benchtests/bench-strspn.c: New file.
2206 * benchtests/bench-strstr-ifunc.c: New file.
2207 * benchtests/bench-strstr.c: New file.
2208
c1f75dc3
SP
2209 * benchtests/Makefile: Disable parallel execution of targets.
2210 (string-bench): Add memcpy.
2211 (benchset): New variable to store a list of benchmark sets.
2212 (bench-func): Renamed from bench.
2213 (bench-set): New target.
2214 (bench): Depend on bench-func and bench-set.
2215 * benchtests/README: Add section on benchmark sets.
2216 * benchtests/bench-memcpy-ifunc.c: New file.
2217 * benchtests/bench-memcpy.c: New file.
2218 * benchtests/bench-string.h: New file.
2219
50fd745b
AS
22202013-06-11 Andreas Schwab <schwab@suse.de>
2221
2222 [BZ #15577]
2223 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2224 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2225 values in the triple.
2226 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2227 terminator in the group key.
2228
3ee7e9fe
AJ
22292013-06-11 Andreas Jaeger <aj@suse.de>
2230
2231 * po/zh_TW.po: Update Chinese (traditional) translation from
2232 translation project.
2233
89fb6835
SP
22342013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2235
2236 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2237 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2238 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2239 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2240 (clock_getcpuclockid): Likewise.
2241 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2242 Add weak_alias and libc_hidden_def.
2243 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2244 * rt/clock_gettime.c (clock_gettime): Rename to
2245 __clock_gettime. Add weak_alias and libc_hidden_def.
2246 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2247 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2248 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2249 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2250 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2251 Likewise.
2252 * rt/clock_settime.c (clock_settime): Rename to
2253 __clock_settime. Add weak_alias and libc_hidden_def.
2254 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2255
0efa6f8b
JM
22562013-06-10 Joseph Myers <joseph@codesourcery.com>
2257
b8c61b4b
JM
2258 * mach/err_boot.sub: Remove trailing whitespace.
2259 * mach/err_ipc.sub: Likewise.
2260 * mach/err_mach.sub: Likewise.
2261
0efa6f8b
JM
2262 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2263 (ROUNDING_TESTS_double): Likewise.
2264 (ROUNDING_TESTS_long_double): Likewise.
2265 (ROUNDING_TESTS): Likewise.
2266 * math/libm-test.inc: Include <math-tests.h>.
2267 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2268 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2269 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2270 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2271
50b818bf
SP
22722013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2273
2274 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2275 of assigning.
2276
60d2f8f3
JM
22772013-06-08 Joseph Myers <joseph@codesourcery.com>
2278
4902d2c3
JM
2279 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2280 otherwise empty TRANS lines.
2281 * sysdeps/gnu/errlist.c: Regenerated.
2282
60d2f8f3
JM
2283 * catgets/gencat.c (error_print): Use (void) in function
2284 definition.
2285 * crypt/crypt_util.c (__init_des): Likewise.
2286 * crypt/speeds.c (Stop): Likewise.
2287 (main): Likewise.
2288 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2289 * inet/ruserpass.c (token): Likewise.
2290 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2291 * intl/localealias.c (extend_alias_table): Likewise.
2292 * intl/plural-exp.c (init_germanic_plural): Likewise.
2293 * libio/fcloseall.c (__fcloseall): Likewise.
2294 * libio/genops.c (_IO_flush_all): Likewise.
2295 (_IO_flush_all_linebuffered): Likewise.
2296 (_IO_cleanup): Likewise.
2297 (_IO_iter_begin): Likewise.
2298 (_IO_iter_end): Likewise.
2299 (_IO_list_lock): Likewise.
2300 (_IO_list_unlock): Likewise.
2301 (_IO_list_resetlock): Likewise.
2302 * libio/getchar.c (getchar): Likewise.
2303 * libio/getchar_u.c (getchar_unlocked): Likewise.
2304 * libio/getwchar.c (getwchar): Likewise.
2305 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2306 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2307 * login/getpt.c (__getpt): Likewise.
2308 * login/tst-utmp.c (main): Likewise.
2309 * malloc/hooks.c (__malloc_check_init): Likewise.
2310 * malloc/malloc.c (__malloc_stats): Likewise.
2311 * malloc/mtrace.c (tr_break): Likewise.
2312 (mtrace): Likewise.
2313 (muntrace): Likewise.
2314 * misc/fstab.c (endfsent): Likewise.
2315 * misc/getclktck.c (__getclktck): Likewise.
2316 * misc/getdtsz.c (__getdtablesize): Likewise.
2317 * misc/gethostid.c (gethostid): Likewise.
2318 * misc/getpagesize.c (__getpagesize): Likewise.
2319 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2320 (__get_nprocs): Likewise.
2321 (__get_phys_pages): Likewise.
2322 (__get_avphys_pages): Likewise.
2323 * misc/getttyent.c (getttyent): Likewise.
2324 (setttyent): Likewise.
2325 (endttyent): Likewise.
2326 * misc/getusershell.c (getusershell): Likewise.
2327 (endusershell): Likewise.
2328 (setusershell): Likewise.
2329 (initshells): Likewise.
2330 * misc/hsearch.c (__hdestroy): Likewise.
2331 * misc/sync.c (sync): Likewise.
2332 * misc/syslog.c (closelog_internal): Likewise.
2333 (closelog): Likewise.
2334 * misc/ttyslot.c (ttyslot): Likewise.
2335 * misc/vhangup.c (vhangup): Likewise.
2336 * posix/fork.c (__fork): Likewise.
2337 * posix/getegid.c (__getegid): Likewise.
2338 * posix/geteuid.c (__geteuid): Likewise.
2339 * posix/getgid.c (__getgid): Likewise.
2340 * posix/getpid.c (__getpid): Likewise.
2341 * posix/getppid.c (__getppid): Likewise.
2342 * posix/getuid.c (__getuid): Likewise.
2343 * posix/pause.c (pause): Likewise.
2344 * posix/setpgrp.c (setpgrp): Likewise.
2345 * posix/setsid.c (__setsid): Likewise.
2346 * posix/test-vfork.c (noop): Likewise.
2347 * resolv/gethnamaddr.c (_endhtent): Likewise.
2348 (_gethtent): Likewise.
2349 (ht_endhostent): Likewise.
2350 (gethostent): Likewise.
2351 (dns_service): Likewise.
2352 * stdlib/drand48.c (drand48): Likewise.
2353 * stdlib/lrand48.c (lrand48): Likewise.
2354 * stdlib/mrand48.c (mrand48): Likewise.
2355 * stdlib/rand.c (rand): Likewise.
2356 * stdlib/random.c (__random): Likewise.
2357 * stdlib/setenv.c (clearenv): Likewise.
2358 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2359 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2360 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2361 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2362 (__get_nprocs): Likewise.
2363 (__get_phys_pages): Likewise.
2364 (__get_avphys_pages): Likewise.
2365 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2366 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2367 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2368 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2369 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2370 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2371 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2372 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2373 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2374 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2375 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2376 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2377 * sysdeps/posix/clock.c (clock): Likewise.
2378 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2379 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2380 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2381 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2382 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2383 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2384 (__get_nprocs_conf): Likewise.
2385 (__get_phys_pages): Likewise.
2386 (__get_avphys_pages): Likewise.
2387 * time/clock.c (clock): Likewise.
2388 * time/tzset.c (__tzname_max): Likewise.
2389
2e09a79a
JM
23902013-06-07 Joseph Myers <joseph@codesourcery.com>
2391
2392 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2393 (__bswap_32): Do not use "register".
2394 * crypt/crypt.c (_ufc_doit_r): Likewise.
2395 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2396 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2397 * gmon/gmon.c (__monstartup): Likewise.
2398 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2399 * hurd/hurdmalloc.c (more_memory): Likewise.
2400 (malloc): Likewise.
2401 (free): Likewise.
2402 (realloc): Likewise.
2403 (malloc_fork_prepare): Likewise.
2404 (malloc_fork_parent): Likewise.
2405 (malloc_fork_child): Likewise.
2406 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2407 (_svcauth_des): Likewise.
2408 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2409 * inet/inet_net.c (inet_network): Likewise.
2410 * inet/inet_netof.c (inet_netof): Likewise.
2411 * inet/rcmd.c (__validuser2_sa): Likewise.
2412 * io/fts.c (fts_open): Likewise.
2413 (fts_load): Likewise.
2414 (fts_close): Likewise.
2415 (fts_read): Likewise.
2416 (fts_children): Likewise.
2417 (fts_build): Likewise.
2418 (fts_stat): Likewise.
2419 (fts_sort): Likewise.
2420 (fts_alloc): Likewise.
2421 (fts_lfree): Likewise.
2422 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2423 (_IO_file_xsgetn): Likewise.
2424 (_IO_file_xsgetn_mmap): Likewise.
2425 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2426 (_IO_cookie_write): Likewise.
2427 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2428 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2429 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2430 * malloc/obstack.c (_obstack_begin): Likewise.
2431 (_obstack_begin_1): Likewise.
2432 (_obstack_newchunk): Likewise.
2433 (_obstack_allocated_p): Likewise.
2434 (obstack_free): Likewise.
2435 (_obstack_memory_used): Likewise.
2436 * misc/getttyent.c (getttynam): Likewise.
2437 (getttyent): Likewise.
2438 (skip): Likewise.
2439 (value): Likewise.
2440 * misc/getusershell.c (initshells): Likewise.
2441 * misc/syslog.c (__vsyslog_chk): Likewise.
2442 * misc/ttyslot.c (ttyslot): Likewise.
2443 * nis/nis_hash.c (__nis_hash): Likewise.
2444 * posix/fnmatch_loop.c (FCT): Likewise.
2445 * posix/getconf.c (print_all): Likewise.
2446 (main): Likewise.
2447 * posix/getopt.c (exchange): Likewise.
2448 * posix/glob.c (globfree): Likewise.
2449 (prefix_array): Likewise.
2450 (__glob_pattern_type): Likewise.
2451 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2452 (NS_GET32): Likewise.
2453 (NS_PUT16): Likewise.
2454 (NS_PUT32): Likewise.
2455 * resolv/gethnamaddr.c (getanswer): Likewise.
2456 (gethostbyname2): Likewise.
2457 (gethostbyaddr): Likewise.
2458 (_gethtent): Likewise.
2459 (_gethtbyname2): Likewise.
2460 (_gethtbyaddr): Likewise.
2461 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2462 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2463 * resolv/res_init.c (__res_vinit): Likewise.
2464 (net_mask): Likewise.
2465 * resolv/res_mkquery.c (outchar): Likewise.
2466 (PRINT): Likewise.
2467 * stdio-common/printf_fp.c (outchar): Likewise.
2468 (PRINT): Likewise.
2469 * stdio-common/printf_fphex.c (outchar): Likewise.
2470 (PRINT): Likewise.
2471 * stdio-common/printf_size.c (outchar): Likewise.
2472 (PRINT): Likewise.
2473 * stdio-common/test_rdwr.c (main): Likewise.
2474 * stdio-common/tfformat.c (matches): Likewise.
2475 * stdio-common/vfprintf.c (outchar): Likewise.
2476 (printf_unknown): Likewise.
2477 (buffered_vfprintf): Likewise.
2478 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2479 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2480 (ReadFile): Likewise.
2481 * stdlib/qsort.c (SWAP): Likewise.
2482 (_quicksort): Likewise.
2483 * stdlib/setenv.c (__add_to_environ): Likewise.
2484 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2485 * stdlib/strtol_l.c (__strtol_l): Likewise.
2486 * stdlib/tst-strtod.c (main): Likewise.
2487 * stdlib/tst-strtol.c (main): Likewise.
2488 * stdlib/tst-strtoll.c (main): Likewise.
2489 * string/bits/string2.h (__strcmp_cc): Likewise.
2490 (__strcmp_cg): Likewise.
2491 (__strcspn_c1): Likewise.
2492 (__strcspn_c2): Likewise.
2493 (__strcspn_c3): Likewise.
2494 (__strspn_c1): Likewise.
2495 (__strspn_c2): Likewise.
2496 (__strspn_c3): Likewise.
2497 (__strsep_1c): Likewise.
2498 (__strsep_2c): Likewise.
2499 (__strsep_3c): Likewise.
2500 * string/memccpy.c (__memccpy): Likewise.
2501 * string/stpcpy.c (__stpcpy): Likewise.
2502 * string/strcmp.c (strcmp): Likewise.
2503 * string/strrchr.c (strrchr): Likewise.
2504 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2505 Likewise.
2506 * sysdeps/mach/hurd/getcwd.c
2507 (_hurd_canonicalize_directory_name_internal): Likewise.
2508 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2509 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2510 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2511 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2512 Likewise, in both definitions.
2513 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2514 definitions.
2515 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2516 64] (__bswap_64): Likewise.
2517 * time/test_time.c (main): Likewise.
2518 * time/tzfile.c (__tzfile_read): Likewise.
2519 (__tzfile_compute): Likewise.
2520 * time/tzset.c (__tzset_parse_tz): Likewise.
2521 (tzset_internal): Likewise.
2522 (compute_change): Likewise.
2523 * wcsmbs/wcscat.c (__wcscat): Likewise.
2524 * wcsmbs/wcschr.c (wcschr): Likewise.
2525 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2526 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2527 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2528 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2529 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2530 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2531 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2532 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2533 * wcsmbs/wmemset.c (wmemset): Likewise.
2534
9e54314b
JM
25352013-06-06 Joseph Myers <joseph@codesourcery.com>
2536
2537 * scripts/config.guess: Update to version 2013-05-16.
2538 * scripts/config.sub: Update to version 2013-04-24.
2539 * scripts/install-sh: Update to version 2011-11-20.07.
2540 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2541 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2542
350635a5
OB
25432013-06-06 Ondřej Bílka <neleai@seznam.cz>
2544
2545 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2546 * elf/sln.c: Likewise.
2547 * hurd/hurd/ioctl.h: Likewise.
2548 * hurd/hurdmalloc.c: Likewise.
2549 * hurd/xattr.c: Likewise.
2550 * include/shlib-compat.h: Likewise.
2551 * inet/ruserpass.c: Likewise.
2552 * libio/iofgets_u.c: Likewise.
2553 * libio/iofgetws_u.c: Likewise.
2554 * locale/programs/ld-identification.c: Likewise.
2555 * locale/programs/ld-time.c: Likewise.
2556 * mach/msg-destroy.c: Likewise.
2557 * nss/nss_files/files-netgrp.c: Likewise.
2558 * resolv/res_data.c: Likewise.
2559 * soft-fp/op-1.h: Likewise.
2560 * soft-fp/op-2.h: Likewise.
2561 * soft-fp/op-4.h: Likewise.
2562 * soft-fp/op-common.h: Likewise.
2563 * stdio-common/printf_fphex.c: Likewise.
2564 * stdlib/strtod_l.c: Likewise.
2565 * sunrpc/rpc/clnt.h: Likewise.
2566 * sysdeps/generic/framestate.c: Likewise.
2567 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2568 * sysdeps/i386/bsd-setjmp.S: Likewise.
2569 * sysdeps/i386/__longjmp.S: Likewise.
2570 * sysdeps/i386/setjmp.S: Likewise.
2571 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2572 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2573 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2574 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2575 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2576 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2577 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2578 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2579 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2580 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2581 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2582 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2583 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2584 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2585 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2586 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2587 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2588 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2589 * sysdeps/ieee754/support.c: Likewise.
2590 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2591 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2592 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2593 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2594 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2595 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2596 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2597 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2598 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2599 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2600 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2601 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2602 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2603 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2604 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2605 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2606 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2608
44a988af
OB
26092013-06-05 Ondřej Bílka <neleai@seznam.cz>
2610
25506f09 2611 * posix/transbug.c: Remove executable mode.
44a988af 2612
9c84384c
JM
26132013-06-05 Joseph Myers <joseph@codesourcery.com>
2614
2615 * crypt/speeds.c: Remove trailing whitespace.
2616 * dlfcn/default.c: Likewise.
2617 * elf/ifuncdep2.c: Likewise.
2618 * elf/ifuncmain1.c: Likewise.
2619 * elf/ifuncmain1vis.c: Likewise.
2620 * elf/testobj.h: Likewise.
2621 * elf/tst-stackguard1.c: Likewise.
2622 * gmon/sys/gmon.h: Likewise.
2623 * hurd/hurdmsg.c: Likewise.
2624 * hurd/new-fd.c: Likewise.
2625 * hurd/ports-get.c: Likewise.
2626 * iconvdata/ibm1008_420.c: Likewise.
2627 * inet/tst-getni1.c: Likewise.
2628 * inet/tst-getni2.c: Likewise.
2629 * libio/ioungetc.c: Likewise.
2630 * libio/wfiledoalloc.c: Likewise.
2631 * manual/libm-err-tab.pl: Likewise.
2632 * math/w_dremf.c: Likewise.
2633 * misc/ftruncate.c: Likewise.
2634 * posix/bug-glob2.c: Likewise.
2635 * posix/tst-pcre.c: Likewise.
2636 * posix/wait4.c: Likewise.
2637 * resolv/README: Likewise.
2638 * resolv/res_debug.h: Likewise.
2639 * resolv/tst-inet_ntop.c: Likewise.
2640 * setjmp/bug269-setjmp.c: Likewise.
2641 * soft-fp/extended.h: Likewise.
2642 * soft-fp/op-1.h: Likewise.
2643 * soft-fp/op-2.h: Likewise.
2644 * soft-fp/op-4.h: Likewise.
2645 * soft-fp/op-8.h: Likewise.
2646 * soft-fp/testit.c: Likewise.
2647 * stdio-common/bug16.c: Likewise.
2648 * stdlib/random.c: Likewise.
2649 * sunrpc/rpcsvc/rquota.x: Likewise.
2650 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2651 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2652 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2653 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2654 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2655 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2656 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2657 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2658 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2659 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2660 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2661 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2662 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2663 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2664 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2665 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2666 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2667 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2668 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2669 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2670 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2671 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2672 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2673 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2674 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2675 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2676 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2677 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2678 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2679 * sysdeps/ieee754/s_lib_version.c: Likewise.
2680 * sysdeps/mach/hurd/check_fds.c: Likewise.
2681 * sysdeps/mach/hurd/getsockname.c: Likewise.
2682 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2683 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2684 * sysdeps/powerpc/bits/link.h: Likewise.
2685 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2686 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2687 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2688 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2689 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2690 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2691 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2692 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2693 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2694 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2695 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2696 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2697 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2698 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2699 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2700 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2701 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2702 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2703 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2704 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2705 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2706 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2707 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2708 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2709 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2710 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2711 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2712 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2713 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2714 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2715 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2716 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2717 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2718 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2719 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2720 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2721 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2722 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2723 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2724 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2725 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2726 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2727 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2728 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2729 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2730 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2731 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2732 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2733 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2734 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2735 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2736 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2737 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2738 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2739 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2740 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2741 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2742 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2743 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2744 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2745 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2746 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2747 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2748 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2749 * sysdeps/powerpc/sysdep.h: Likewise.
2750 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2751 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2752 * sysdeps/sh/dl-trampoline.S: Likewise.
2753 * sysdeps/sh/memset.S: Likewise.
2754 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2755 * sysdeps/sh/strlen.S: Likewise.
2756 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2757 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2758 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2759 * sysdeps/sparc/sparc32/rem.S: Likewise.
2760 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2761 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2762 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2763 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2764 * sysdeps/sparc/sparc32/urem.S: Likewise.
2765 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2766 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2767 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2768 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2769 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2770 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2771 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2772 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2773 * sysdeps/unix/bsd/times.c: Likewise.
2774 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2775 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2779 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2780 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2781 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2782 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2783 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2784 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2785 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2786 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2787 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2788 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2789 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2790 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2791 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2792 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2793 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2794 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2795 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2796 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2797 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2798 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2799 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2800 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2801 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2802 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2803 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2804 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2805 * sysdeps/x86_64/strcspn.S: Likewise.
2806
869378a5
RA
28072013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2808
2809 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2810 generated file. Regenerate properly from gen-translit.pl.
2811 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2812 locale/C-translit.h.
2813
840e2943
AS
28142013-06-05 Andreas Schwab <schwab@suse.de>
2815
2816 [BZ #15100]
2817 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2818 week as 6 instead of -1.
2819 * time/tst-strptime.c (day_tests): Add test case.
2820
4c60cb0c
SP
28212013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2822
2823 * sysdeps/generic/math_private.h
2824 (libc_feholdexcept_setround_53bit): Replace with
2825 libc_feholdsetround_53bit.
2826 (libc_feupdateenv_53bit): Replace with
2827 libc_feresetround_53bit.
2828 (SET_RESTORE_ROUND_53BIT): Adjust.
2829
d180203e
SP
28302013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2831
96df079a
SP
2832 * string/test-strchrnul.c: Add copyright header.
2833
d180203e
SP
2834 * posix/tst-getaddrinfo4.c: Increase test timeout.
2835
8b0ccb2d
CD
28362013-06-03 Carlos O'Donell <carlos@redhat.com>
2837
2838 [BZ #15536]
2839 * math/libm-test.inc (MAX_EXP): Remove
2840 (MIN_EXP): Define.
2841 (ulp): Use MIN_EXP - MANT_DIG.
2842 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2843
3b3c4d40
CD
28442013-05-31 Carlos O'Donell <carlos@redhat.com>
2845
2846 * po/be.po: Revert last change.
2847 * po/zh_CN.po: Likewise.
2848 * po/header.pot: Likewise.
2849
fab7ce3f
JM
28502013-05-31 Joseph Myers <joseph@codesourcery.com>
2851
2852 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2853 link-libc-deps to empty as target-specific variable.
2854 * Makerules (link-libc-args): New variable.
2855 (libc-for-link): Likewise.
2856 (link-libc-deps): Likewise.
2857 (lib%.so): Depend on $(link-libc-deps). Link with
2858 $(link-libc-args).
2859 (build-module): Link with $(link-libc-args).
2860 (build-module-asneeded): Likewise.
2861 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2862 list of objects.
2863 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2864 target-specific variable.
2865 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2866 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2867 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2868 libc.
2869 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2870 libc and ld.so.
2871 ($(objpfx)libpcprofile.so): Likewise.
2872 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2873 libc_nonshared.a.
2874 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2875 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2876 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2877 $(link-libc-deps).
2878 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2879 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2880 * login/Makefile ($(objpfx)libutil.so): Likewise.
2881 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2882 * math/Makefile ($(objpfx)libm.so): Likewise.
2883 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2884 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2885 variable instead of depending directly on libc.
2886 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2887 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2888 $(link-libc-deps).
2889 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2890 libc.
2891 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2892 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2893 ($(objpfx)libanl.so): Likewise.
2894 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2895 ld.so.
2896 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2897 $(link-libc-deps).
2898 * sysdeps/i386/fpu/Makefile: Remove file.
2899 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2900 ($(objpfx)libm.so): Remove dependency on ld.so.
2901
eca5920c
PF
29022013-05-30 Patsy Franklin <pfrankli@redhat.com>
2903
2904 [BZ # 15553]
2905 * nis/yp_xdr.c (XDRMAXNAME): Define.
2906 (XDRMAXRECORD): Define.
2907 (xdr_domainname): Use XDRMAXNAME.
2908 (xdr_mapname): Likewise.
2909 (xdr_peername): Likewise.
2910 (xdr_keydat): Use XDRMAXRECORD.
2911 (xdr_valdat): Likewise.
2912
29132013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2914
2915 [BZ #14256]
2916 * manual/errno.texi (ESTALE): Update to account for more than
2917 just NFS file systems.
2918 * sysdeps/gnu/errlist.c: Regenerated.
2919
b9375348
SP
29202013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2921
2922 [BZ #15465]
2923 * elf/Makefile (tests): Add tst-null-argv.
2924 (modules-names): Add tst-null-argv-lib.
2925 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2926 (tst-null-argv-ENV): Set environment for tst-null-argv.
2927 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2928 (RTLD_PROGNAME): New macro.
2929 * elf/tst-null-argv.c: New test case.
2930 * elf/tst-null-argv-lib.c: Library for test case.
2931 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2932 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2933 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2934 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2935 * elf/dl-init.c (call_init): Likewise.
2936 (_dl_init): Likewise.
2937 * elf/dl-load.c (print_search_path): Likewise.
2938 (_dl_map_object): Likewise.
2939 * elf/dl-lookup.c (do_lookup_x): Likewise.
2940 (add_dependency): Likewise.
2941 (_dl_lookup_symbol_x): Likewise.
2942 (_dl_debug_bindings): Likewise.
2943 * elf/dl-open.c (_dl_show_scope): Likewise.
2944 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2945 * elf/dl-version.c (match_symbol): Likewise.
2946 (_dl_check_map_versions): Likewise.
2947 * elf/rtld.c (dl_main): Likewise.
2948 (print_unresolved): Use RTLD_PROGNAME.
2949 (print_missing_version): Likewise.
2950 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2951 (elf_machine_rela): Likewise.
2952 * sysdeps/powerpc/powerpc32/dl-machine.c
2953 (__process_machine_rela): Likewise.
2954 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2955 Likewise.
2956 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2957 Likewise.
2958 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2959 Likewise.
2960 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2961 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2962 Likewise.
2963 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2964 Likewise.
2965 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2966
8a9f20c8
CD
29672013-05-28 Carlos O'Donell <carlos@redhat.com>
2968
2969 * po/be.po: Add descriptive title.
2970 * po/zh_CN.po: Likewise.
2971 * po/header.pot: Likewise.
2972
0e60d68e
MF
29732013-05-28 Mike Frysinger <vapier@gentoo.org>
2974
2975 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2976 error message.
2977 (enlarge_archive): Likewise.
2978
56b672e9
BN
29792013-05-28 Ben North <ben@redfrontdoor.org>
2980
2981 * manual/arith.texi (frexp): It is the magnitude of the return
2982 value which lies in [0.5, 1), not the return value itself.
2983
5e056687
AZ
29842013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2985
2986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2987
2b66ef5d
TS
29882013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2989
528c2405
TS
2990 * stdio-common/bug26.c (main): Correct fscanf template.
2991
07b4c13d
TS
2992 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2993 declare _dl_skip_args.
2994
ec9dd97c
TS
2995 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2996 Don't declare.
2997
2b66ef5d
TS
2998 * manual/platform.texi: Add missing @end deftypefun.
2999
4f8dfe27
JM
30002013-05-24 Joseph Myers <joseph@codesourcery.com>
3001
0323d086
JM
3002 [BZ #15529]
3003 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3004 bit of mantissa of 2^16382.
3005 * math/libm-test.inc (hypot_test_data): Add more tests.
3006
dd4259b9
JM
3007 * math/libm-test.inc: Add drem and pow10 to list of tested
3008 functions.
3009 (pow10_test): New function.
3010 (drem_test): Likewise.
3011 (drem_test_tonearest): Likewise.
3012 (drem_test_towardzero): Likewise.
3013 (drem_test_downward): Likewise.
3014 (drem_test_upward): Likewise.
3015 (main): Call the new functions.
3016
4f8dfe27
JM
3017 * math/libm-test.inc (finite_test_data): Remove.
3018 (finite_test): Run tests from isfinite_test_data.
3019 (gamma_test_data): Remove.
3020 (gamma_test): Run tests from lgamma_test_data.
3021 * sysdeps/i386/fpu/libm-test-ulps: Update.
3022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3023
d116b7c4
AZ
30242013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3025
3026 * manual/platform.texi: Add PowerPC PPR function set documentation.
3027 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3028 implementation.
3029
e96e3767
CD
30302013-05-24 Carlos O'Donell <carlos@redhat.com>
3031
3032 * math/libm-test.inc (MAX_EXP): Define.
3033 (ULPDIFF): Define.
3034 (ulp): New function.
3035 (check_float_internal): Use ULPDIFF.
3036 (cpow_test): Disable failing test.
3037 (check_ulp): Test ulp() implemetnation.
3038 (main): Call check_ulp before starting tests.
3039
b679a606
JM
30402013-05-24 Joseph Myers <joseph@codesourcery.com>
3041
e8bdba36
JM
3042 * math/gen-libm-test.pl (generate_testfile): Do not handle
3043 START_DATA and END_DATA.
3044 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3045 END_DATA.
3046 (acos_tonearest_test_data): Likewise.
3047 (acos_towardzero_test_data): Likewise.
3048 (acos_downward_test_data): Likewise.
3049 (acos_upward_test_data): Likewise.
3050 (acosh_test_data): Likewise.
3051 (asin_test_data): Likewise.
3052 (asin_tonearest_test_data): Likewise.
3053 (asin_towardzero_test_data): Likewise.
3054 (asin_downward_test_data): Likewise.
3055 (asin_upward_test_data): Likewise.
3056 (asinh_test_data): Likewise.
3057 (atan_test_data): Likewise.
3058 (atanh_test_data): Likewise.
3059 (atan2_test_data): Likewise.
3060 (cabs_test_data): Likewise.
3061 (cacos_test_data): Likewise.
3062 (cacosh_test_data): Likewise.
3063 (carg_test_data): Likewise.
3064 (casin_test_data): Likewise.
3065 (casinh_test_data): Likewise.
3066 (catan_test_data): Likewise.
3067 (catanh_test_data): Likewise.
3068 (cbrt_test_data): Likewise.
3069 (ccos_test_data): Likewise.
3070 (ccosh_test_data): Likewise.
3071 (ceil_test_data): Likewise.
3072 (cexp_test_data): Likewise.
3073 (cimag_test_data): Likewise.
3074 (clog_test_data): Likewise.
3075 (clog10_test_data): Likewise.
3076 (conj_test_data): Likewise.
3077 (copysign_test_data): Likewise.
3078 (cos_test_data): Likewise.
3079 (cos_tonearest_test_data): Likewise.
3080 (cos_towardzero_test_data): Likewise.
3081 (cos_downward_test_data): Likewise.
3082 (cos_upward_test_data): Likewise.
3083 (cosh_test_data): Likewise.
3084 (cosh_tonearest_test_data): Likewise.
3085 (cosh_towardzero_test_data): Likewise.
3086 (cosh_downward_test_data): Likewise.
3087 (cosh_upward_test_data): Likewise.
3088 (cpow_test_data): Likewise.
3089 (cproj_test_data): Likewise.
3090 (creal_test_data): Likewise.
3091 (csin_test_data): Likewise.
3092 (csinh_test_data): Likewise.
3093 (csqrt_test_data): Likewise.
3094 (ctan_test_data): Likewise.
3095 (ctan_tonearest_test_data): Likewise.
3096 (ctan_towardzero_test_data): Likewise.
3097 (ctan_downward_test_data): Likewise.
3098 (ctan_upward_test_data): Likewise.
3099 (ctanh_test_data): Likewise.
3100 (ctanh_tonearest_test_data): Likewise.
3101 (ctanh_towardzero_test_data): Likewise.
3102 (ctanh_downward_test_data): Likewise.
3103 (ctanh_upward_test_data): Likewise.
3104 (erf_test_data): Likewise.
3105 (erfc_test_data): Likewise.
3106 (exp_test_data): Likewise.
3107 (exp_tonearest_test_data): Likewise.
3108 (exp_towardzero_test_data): Likewise.
3109 (exp_downward_test_data): Likewise.
3110 (exp_upward_test_data): Likewise.
3111 (exp10_test_data): Likewise.
3112 (exp2_test_data): Likewise.
3113 (expm1_test_data): Likewise.
3114 (fabs_test_data): Likewise.
3115 (fdim_test_data): Likewise.
3116 (finite_test_data): Likewise.
3117 (floor_test_data): Likewise.
3118 (fma_test_data): Likewise.
3119 (fma_towardzero_test_data): Likewise.
3120 (fma_downward_test_data): Likewise.
3121 (fma_upward_test_data): Likewise.
3122 (fmax_test_data): Likewise.
3123 (fmin_test_data): Likewise.
3124 (fmod_test_data): Likewise.
3125 (fpclassify_test_data): Likewise.
3126 (frexp_test_data): Likewise.
3127 (gamma_test_data): Likewise.
3128 (hypot_test_data): Likewise.
3129 (ilogb_test_data): Likewise.
3130 (isfinite_test_data): Likewise.
3131 (isgreater_test_data): Likewise.
3132 (isgreaterequal_test_data): Likewise.
3133 (isinf_test_data): Likewise.
3134 (isless_test_data): Likewise.
3135 (islessequal_test_data): Likewise.
3136 (islessgreater_test_data): Likewise.
3137 (isnan_test_data): Likewise.
3138 (isnormal_test_data): Likewise.
3139 (issignaling_test_data): Likewise.
3140 (isunordered_test_data): Likewise.
3141 (j0_test_data): Likewise.
3142 (j1_test_data): Likewise.
3143 (jn_test_data): Likewise.
3144 (ldexp_test_data): Likewise.
3145 (lgamma_test_data): Likewise.
3146 (lrint_test_data): Likewise.
3147 (lrint_tonearest_test_data): Likewise.
3148 (lrint_towardzero_test_data): Likewise.
3149 (lrint_downward_test_data): Likewise.
3150 (lrint_upward_test_data): Likewise.
3151 (llrint_test_data): Likewise.
3152 (llrint_tonearest_test_data): Likewise.
3153 (llrint_towardzero_test_data): Likewise.
3154 (llrint_downward_test_data): Likewise.
3155 (llrint_upward_test_data): Likewise.
3156 (log_test_data): Likewise.
3157 (log10_test_data): Likewise.
3158 (log1p_test_data): Likewise.
3159 (log2_test_data): Likewise.
3160 (logb_test_data): Likewise.
3161 (logb_downward_test_data): Likewise.
3162 (lround_test_data): Likewise.
3163 (llround_test_data): Likewise.
3164 (modf_test_data): Likewise.
3165 (nearbyint_test_data): Likewise.
3166 (nextafter_test_data): Likewise.
3167 (nexttoward_test_data): Likewise.
3168 (pow_test_data): Likewise.
3169 (pow_tonearest_test_data): Likewise.
3170 (pow_towardzero_test_data): Likewise.
3171 (pow_downward_test_data): Likewise.
3172 (pow_upward_test_data): Likewise.
3173 (remainder_test_data): Likewise.
3174 (remainder_tonearest_test_data): Likewise.
3175 (remainder_towardzero_test_data): Likewise.
3176 (remainder_downward_test_data): Likewise.
3177 (remainder_upward_test_data): Likewise.
3178 (remquo_test_data): Likewise.
3179 (rint_test_data): Likewise.
3180 (rint_tonearest_test_data): Likewise.
3181 (rint_towardzero_test_data): Likewise.
3182 (rint_downward_test_data): Likewise.
3183 (rint_upward_test_data): Likewise.
3184 (round_test_data): Likewise.
3185 (scalb_test_data): Likewise.
3186 (scalbn_test_data): Likewise.
3187 (scalbln_test_data): Likewise.
3188 (signbit_test_data): Likewise.
3189 (sin_test_data): Likewise.
3190 (sin_tonearest_test_data): Likewise.
3191 (sin_towardzero_test_data): Likewise.
3192 (sin_downward_test_data): Likewise.
3193 (sin_upward_test_data): Likewise.
3194 (sincos_test_data): Likewise.
3195 (sinh_test_data): Likewise.
3196 (sinh_tonearest_test_data): Likewise.
3197 (sinh_towardzero_test_data): Likewise.
3198 (sinh_downward_test_data): Likewise.
3199 (sinh_upward_test_data): Likewise.
3200 (sqrt_test_data): Likewise.
3201 (tan_test_data): Likewise.
3202 (tan_tonearest_test_data): Likewise.
3203 (tan_towardzero_test_data): Likewise.
3204 (tan_downward_test_data): Likewise.
3205 (tan_upward_test_data): Likewise.
3206 (tanh_test_data): Likewise.
3207 (tgamma_test_data): Likewise.
3208 (trunc_test_data): Likewise.
3209 (y0_test_data): Likewise.
3210 (y1_test_data): Likewise.
3211 (yn_test_data): Likewise.
3212 (significand_test_data): Likewise.
3213
b679a606
JM
3214 * math/gen-libm-test.pl (@functions): Remove variable.
3215 (generate_testfile): Don't handle START and END lines.
3216 * math/libm-test.inc (START): New macro.
3217 (END): Likewise.
3218 (END_COMPLEX): Likewise.
3219 (acos_test): Use END macro without arguments.
3220 (acos_test_tonearest): Likewise.
3221 (acos_test_towardzero): Likewise.
3222 (acos_test_downward): Likewise.
3223 (acos_test_upward): Likewise.
3224 (acosh_test): Likewise.
3225 (asin_test): Likewise.
3226 (asin_test_tonearest): Likewise.
3227 (asin_test_towardzero): Likewise.
3228 (asin_test_downward): Likewise.
3229 (asin_test_upward): Likewise.
3230 (asinh_test): Likewise.
3231 (atan_test): Likewise.
3232 (atanh_test): Likewise.
3233 (atan2_test): Likewise.
3234 (cabs_test): Likewise.
3235 (cacos_test): Use END_COMPLEX macro without arguments.
3236 (cacosh_test): Likewise.
3237 (carg_test): Use END macro without arguments.
3238 (casin_test): Use END_COMPLEX macro without arguments.
3239 (casinh_test): Likewise.
3240 (catan_test): Likewise.
3241 (catanh_test): Likewise.
3242 (cbrt_test): Use END macro without arguments.
3243 (ccos_test): Use END_COMPLEX macro without arguments.
3244 (ccosh_test): Likewise.
3245 (ceil_test): Use END macro without arguments.
3246 (cexp_test): Use END_COMPLEX macro without arguments.
3247 (cimag_test): Use END macro without arguments.
3248 (clog_test): Use END_COMPLEX macro without arguments.
3249 (clog10_test): Likewise.
3250 (conj_test): Likewise.
3251 (copysign_test): Use END macro without arguments.
3252 (cos_test): Likewise.
3253 (cos_test_tonearest): Likewise.
3254 (cos_test_towardzero): Likewise.
3255 (cos_test_downward): Likewise.
3256 (cos_test_upward): Likewise.
3257 (cosh_test): Likewise.
3258 (cosh_test_tonearest): Likewise.
3259 (cosh_test_towardzero): Likewise.
3260 (cosh_test_downward): Likewise.
3261 (cosh_test_upward): Likewise.
3262 (cpow_test): Use END_COMPLEX macro without arguments.
3263 (cproj_test): Likewise.
3264 (creal_test): Use END macro without arguments.
3265 (csin_test): Use END_COMPLEX macro without arguments.
3266 (csinh_test): Likewise.
3267 (csqrt_test): Likewise.
3268 (ctan_test): Likewise.
3269 (ctan_test_tonearest): Likewise.
3270 (ctan_test_towardzero): Likewise.
3271 (ctan_test_downward): Likewise.
3272 (ctan_test_upward): Likewise.
3273 (ctanh_test): Likewise.
3274 (ctanh_test_tonearest): Likewise.
3275 (ctanh_test_towardzero): Likewise.
3276 (ctanh_test_downward): Likewise.
3277 (ctanh_test_upward): Likewise.
3278 (erf_test): Use END macro without arguments.
3279 (erfc_test): Likewise.
3280 (exp_test): Likewise.
3281 (exp_test_tonearest): Likewise.
3282 (exp_test_towardzero): Likewise.
3283 (exp_test_downward): Likewise.
3284 (exp_test_upward): Likewise.
3285 (exp10_test): Likewise.
3286 (exp2_test): Likewise.
3287 (expm1_test): Likewise.
3288 (fabs_test): Likewise.
3289 (fdim_test): Likewise.
3290 (finite_test): Likewise.
3291 (floor_test): Likewise.
3292 (fma_test): Likewise.
3293 (fma_test_towardzero): Likewise.
3294 (fma_test_downward): Likewise.
3295 (fma_test_upward): Likewise.
3296 (fmax_test): Likewise.
3297 (fmin_test): Likewise.
3298 (fmod_test): Likewise.
3299 (fpclassify_test): Likewise.
3300 (frexp_test): Likewise.
3301 (gamma_test): Likewise.
3302 (hypot_test): Likewise.
3303 (ilogb_test): Likewise.
3304 (isfinite_test): Likewise.
3305 (isgreater_test): Likewise.
3306 (isgreaterequal_test): Likewise.
3307 (isinf_test): Likewise.
3308 (isless_test): Likewise.
3309 (islessequal_test): Likewise.
3310 (islessgreater_test): Likewise.
3311 (isnan_test): Likewise.
3312 (isnormal_test): Likewise.
3313 (issignaling_test): Likewise.
3314 (isunordered_test): Likewise.
3315 (j0_test): Likewise.
3316 (j1_test): Likewise.
3317 (jn_test): Likewise.
3318 (ldexp_test): Likewise.
3319 (lgamma_test): Likewise.
3320 (lrint_test): Likewise.
3321 (lrint_test_tonearest): Likewise.
3322 (lrint_test_towardzero): Likewise.
3323 (lrint_test_downward): Likewise.
3324 (lrint_test_upward): Likewise.
3325 (llrint_test): Likewise.
3326 (llrint_test_tonearest): Likewise.
3327 (llrint_test_towardzero): Likewise.
3328 (llrint_test_downward): Likewise.
3329 (llrint_test_upward): Likewise.
3330 (log_test): Likewise.
3331 (log10_test): Likewise.
3332 (log1p_test): Likewise.
3333 (log2_test): Likewise.
3334 (logb_test): Likewise.
3335 (logb_test_downward): Likewise.
3336 (lround_test): Likewise.
3337 (llround_test): Likewise.
3338 (modf_test): Likewise.
3339 (nearbyint_test): Likewise.
3340 (nextafter_test): Likewise.
3341 (nexttoward_test): Likewise.
3342 (pow_test): Likewise.
3343 (pow_test_tonearest): Likewise.
3344 (pow_test_towardzero): Likewise.
3345 (pow_test_downward): Likewise.
3346 (pow_test_upward): Likewise.
3347 (remainder_test): Likewise.
3348 (remainder_test_tonearest): Likewise.
3349 (remainder_test_towardzero): Likewise.
3350 (remainder_test_downward): Likewise.
3351 (remainder_test_upward): Likewise.
3352 (remquo_test): Likewise.
3353 (rint_test): Likewise.
3354 (rint_test_tonearest): Likewise.
3355 (rint_test_towardzero): Likewise.
3356 (rint_test_downward): Likewise.
3357 (rint_test_upward): Likewise.
3358 (round_test): Likewise.
3359 (scalb_test): Likewise.
3360 (scalbn_test): Likewise.
3361 (scalbln_test): Likewise.
3362 (signbit_test): Likewise.
3363 (sin_test): Likewise.
3364 (sin_test_tonearest): Likewise.
3365 (sin_test_towardzero): Likewise.
3366 (sin_test_downward): Likewise.
3367 (sin_test_upward): Likewise.
3368 (sincos_test): Likewise.
3369 (sinh_test): Likewise.
3370 (sinh_test_tonearest): Likewise.
3371 (sinh_test_towardzero): Likewise.
3372 (sinh_test_downward): Likewise.
3373 (sinh_test_upward): Likewise.
3374 (sqrt_test): Likewise.
3375 (tan_test): Likewise.
3376 (tan_test_tonearest): Likewise.
3377 (tan_test_towardzero): Likewise.
3378 (tan_test_downward): Likewise.
3379 (tan_test_upward): Likewise.
3380 (tanh_test): Likewise.
3381 (tgamma_test): Likewise.
3382 (trunc_test): Likewise.
3383 (y0_test): Likewise.
3384 (y1_test): Likewise.
3385 (yn_test): Likewise.
3386 (significand_test): Likewise.
3387
bae143d2
OB
33882013-05-24 Ondřej Bílka <neleai@seznam.cz>
3389
3390 [BZ #15381]
3391 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3392
9323d39b
EM
33932013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3394
d4ea44a0 3395 [BZ #14894]
9323d39b
EM
3396 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3397 __ppc_mdoio and __ppc_mdoom.
3398 * manual/platform.texi: Document new functions __ppc_yield,
3399 __ppc_mdoio and __ppc_mdoom.
3400
13e23af7
CD
34012013-05-22 Carlos O'Donell <carlos@redhat.com>
3402
3403 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3404 (main): Mention "tls" pseudo-hwcap is legacy.
3405 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3406
351fe550
JM
34072013-05-22 Joseph Myers <joseph@codesourcery.com>
3408
3409 * math/gen-libm-test.pl (parse_args): Output only string of
3410 arguments as text for test name, not full call or descriptions of
3411 tests for extra outputs.
3412 (generate_testfile): Do not pass function name to parse_args.
3413 Generate this_func variable from START.
3414 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3415 field to arg_str.
3416 (struct test_ff_f_data): Likewise.
3417 (test_ff_f_data_nexttoward): Likewise.
3418 (struct test_fi_f_data): Likewise.
3419 (struct test_fl_f_data): Likewise.
3420 (struct test_if_f_data): Likewise.
3421 (struct test_fff_f_data): Likewise.
3422 (struct test_c_f_data): Likewise.
3423 (struct test_f_f1_data): Likewise. Remove field extra_name.
3424 (struct test_fF_f1_data): Likewise.
3425 (struct test_ffI_f1_data): Likewise.
3426 (struct test_c_c_data): Rename test_name field to arg_str.
3427 (struct test_cc_c_data): Likewise.
3428 (struct test_f_i_data): Likewise.
3429 (struct test_ff_i_data): Likewise.
3430 (struct test_f_l_data): Likewise.
3431 (struct test_f_L_data): Likewise.
3432 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3433 and extra2_name.
3434 (COMMON_TEST_SETUP): New macro.
3435 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3436 (COMMON_TEST_CLEANUP): Likewise.
3437 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3438 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3439 macros.
3440 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3441 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3442 macros.
3443 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3444 (RUN_TEST_fff_f): Take argument string. Call new setup and
3445 cleanup macros.
3446 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3447 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3448 macros.
3449 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3450 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3451 macros.
3452 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3453 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3454 cleanup macros.
3455 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3456 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3457 cleanup macros.
3458 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3459 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3460 cleanup macros.
3461 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3462 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3463 macros.
3464 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3465 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3466 macros.
3467 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3468 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3469 macros.
3470 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3471 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3472 cleanup macros.
3473 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3474 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3475 cleanup macros.
3476 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3477 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3478 macros.
3479 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3480 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3481 cleanup macros.
3482 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3483 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3484 macros.
3485 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3486 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3487 macros.
3488 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3489 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3490 cleanup macros.
3491 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3492
85118d4d
EBM
34932013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3494
3495 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3496 to _sifields.sigfault.
3497 (si_addr_lsb): Define new macro.
3498 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3499 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3500 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3501
7a44c18f
CD
35022013-05-03 Carlos O'Donell <carlos at redhat.com>
3503
3504 [BZ #15441]
3505 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3506 returns -1.
3507 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3508 null return -1.
3509 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3510 loading the domain.
3511
b50a7181
JM
35122013-05-22 Joseph Myers <joseph@codesourcery.com>
3513
3514 * math/gen-libm-test.pl (parse_args): Do not include expected
3515 result in test name.
3516 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3517 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3518 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3519 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3520 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3522
051063c8
SP
35232013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3524
3ce9e010
SP
3525 * benchtests/Makefile: Sort function entries.
3526
051063c8
SP
3527 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3528 tanh, asinh, acosh, atanh.
3529 * benchtests/acos-inputs: New file.
3530 * benchtests/acosh-inputs: New file.
3531 * benchtests/asin-inputs: New file.
3532 * benchtests/asinh-inputs: New file.
3533 * benchtests/atanh-inputs: New file.
3534 * benchtests/cosh-inputs: New file.
3535 * benchtests/log-inputs: New file.
3536 * benchtests/sinh-inputs: New file.
3537 * benchtests/tanh-inputs: New file.
3538
47c22455
DL
35392013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3540
3541 [BZ #15339]
3542 * posix/tst-getaddrinfo4.c: New test.
3543 * posix/Makefile (tests): Add it.
3544
3d04f5db
SP
35452013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3546
3547 [BZ #15339]
3548 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3549 when no services were used.
3550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3551 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3552
d5dd6189
AS
35532013-05-21 Andreas Schwab <schwab@suse.de>
3554
3555 [BZ #15014]
3556 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3557 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3558 successful.
3559 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3560 redundant variable declarations and reallocation of buffer when
3561 parsing as IPv6 address. Always set NSS status when called from
3562 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3563 buffer too small. Correct computation of needed size.
3564 * nss/Makefile (tests): Add test-digits-dots.
3565 * nss/test-digits-dots.c: New test.
3566
fef94eab
SP
35672013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3568
3569 * benchtests/Makefile: Remove instructions for adding
3570 benchmark tests.
3571 * benchtests/README: New file to explain how to execute and
3572 enhance the benchmark tests.
3573
e39adf43
AS
35742013-05-21 Andreas Schwab <schwab@suse.de>
3575
3576 [BZ #15493]
3577 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3578 * setjmp/tst-sigsetjmp.c: New test.
3579
b2b671b6
OB
35802013-05-20 Ondřej Bílka <neleai@seznam.cz>
3581
3582 * sysdeps/x86_64/memset.S (memset): New implementation.
3583 (__bzero): Likewise.
3584 (__memset_tail): New function.
3585
2d48b41c
OB
35862013-05-20 Ondřej Bílka <neleai@seznam.cz>
3587
3588 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3589 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3590 __memcpy_sse2_unaligned ifunc selection.
3591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3592 Add memcpy-sse2-unaligned.S.
3593 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3594 Add: __memcpy_sse2_unaligned.
3595
f16cc3eb
JM
35962013-05-19 Joseph Myers <joseph@codesourcery.com>
3597
3e694268
JM
3598 [BZ #15490]
3599 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3600 math_force_eval before restoring floating-point envrionment.
3601 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3602 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3603 Likewise.
3604 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3605 <math_private.h>.
3606 (__nearbyintl): Use math_force_eval before restoring
3607 floating-point environment.
3608 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3609
db62a907
JM
3610 * math/gen-libm-test.pl (special_functions): Remove.
3611 (parse_args): Don't handle TEST_extra. Handle functions with no
3612 return value.
3613 * math/libm-test.inc (struct test_sincos_data): Replace with
3614 struct test_fFF_11_data.
3615 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3616 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3617 (sincos_test_data): Change element type to struct
3618 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3619 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3620 RUN_TEST_LOOP_sincos.
3621 * math/README.libm-test: Don't mention special handling of
3622 individual functions.
3623 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3624 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3625 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3626 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3627 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3629
f16cc3eb
JM
3630 * math/gen-libm-test.pl (get_variable): Remove function.
3631 (parse_args): Don't show pointer parameters to call in test
3632 names. Use "extra output N" in test names for extra outputs
3633 rather than naming variables.
3634
3779b5b6
JM
36352013-05-18 Joseph Myers <joseph@codesourcery.com>
3636
2ee094ff
JM
3637 [BZ #15488]
3638 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3639 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3640 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3641 double tests.
3642 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3643 disable.
3644 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3645 check_long_double.
3646
3779b5b6
JM
3647 * math/gen-libm-test.pl (@tests): Remove variable.
3648 ($count): Likewise.
3649 (new_test): Remove function.
3650 (show_exceptions): New function.
3651 (special_functions): Use show_exceptions instead of new_test.
3652 (parse_args): Likewise.
3653 (generate_testfile): Pass only function name in generated call to
3654 print_max_error or print_complex_max_error.
3655 (get_ulps): Do not handle complex tests specially.
3656 (output_test): Rename to ...
3657 (get_all_ulps_for_test): ... this. Return a string rather than
3658 printing to a file. Require ulps to be present.
3659 (output_ulps): Generate arrays rather than #defines.
3660 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3661 (struct ulp_data): New type.
3662 (BUILD_COMPLEX_ULP): Remove macro.
3663 (compare_ulp_data): New function.
3664 (find_ulps): Likewise.
3665 (find_test_ulps): Likewise.
3666 (find_function_ulps): Likewise.
3667 (find_complex_function_ulps): Likewise.
3668 (print_max_error): Determine allowed ulps using
3669 find_function_ulps.
3670 (print_complex_max_error): Determine allowed ulps using
3671 find_complex_function_ulps.
3672 (check_float_internal): Determine max ulps using find_test_ulps.
3673 (check_float): Do not take max_ulp parameter. Update call to
3674 check_float_internal.
3675 (check_complex): Likewise.
3676 (check_int): Do not take max_ulp parameter.
3677 (check_long): Likewise.
3678 (check_bool): Likewise.
3679 (check_longlong): Likewise.
3680 (struct test_f_f_data): Remove max_ulp field.
3681 (struct test_ff_f_data): Likewise.
3682 (struct test_ff_f_data_nexttoward): Likewise.
3683 (struct test_fi_f_data): Likewise.
3684 (struct test_fl_f_data): Likewise.
3685 (struct test_if_f_data): Likewise.
3686 (struct test_fff_f_data): Likewise.
3687 (struct test_c_f_data): Likewise.
3688 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3689 (struct test_fF_f1_data): Likewise.
3690 (struct test_ffI_f1_data): Likewise.
3691 (struct test_c_c_data): Remove max_ulp field.
3692 (struct test_cc_c_data): Likewise.
3693 (struct test_f_i_data): Likewise.
3694 (struct test_ff_i_data): Likewise.
3695 (struct test_f_l_data): Likewise.
3696 (struct test_f_L_data): Likewise.
3697 (struct test_sincos_data): Likewise.
3698 (RUN_TEST_f_f): Do not handle ulps.
3699 (RUN_TEST_LOOP_f_f): Likewise.
3700 (RUN_TEST_2_f): Likewise.
3701 (RUN_TEST_LOOP_2_f): Likewise.
3702 (RUN_TEST_fff_f): Likewise.
3703 (RUN_TEST_LOOP_fff_f): Likewise.
3704 (RUN_TEST_c_f): Likewise.
3705 (RUN_TEST_LOOP_c_f): Likewise.
3706 (RUN_TEST_f_f1): Likewise.
3707 (RUN_TEST_LOOP_f_f1): Likewise.
3708 (RUN_TEST_fF_f1): Likewise.
3709 (RUN_TEST_LOOP_fF_f1): Likewise.
3710 (RUN_TEST_fI_f1): Likewise.
3711 (RUN_TEST_LOOP_fI_f1): Likewise.
3712 (RUN_TEST_ffI_f1): Likewise.
3713 (RUN_TEST_LOOP_ffI_f1): Likewise.
3714 (RUN_TEST_c_c): Likewise.
3715 (RUN_TEST_LOOP_c_c): Likewise.
3716 (RUN_TEST_cc_c): Likewise.
3717 (RUN_TEST_LOOP_cc_c): Likewise.
3718 (RUN_TEST_f_i): Likewise.
3719 (RUN_TEST_LOOP_f_i): Likewise.
3720 (RUN_TEST_f_i_tg): Likewise.
3721 (RUN_TEST_LOOP_f_i_tg): Likewise.
3722 (RUN_TEST_ff_i_tg): Likewise.
3723 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3724 (RUN_TEST_f_b): Likewise.
3725 (RUN_TEST_LOOP_f_b): Likewise.
3726 (RUN_TEST_f_b_tg): Likewise.
3727 (RUN_TEST_LOOP_f_b_tg): Likewise.
3728 (RUN_TEST_f_l): Likewise.
3729 (RUN_TEST_LOOP_f_l): Likewise.
3730 (RUN_TEST_f_L): Likewise.
3731 (RUN_TEST_LOOP_f_L): Likewise.
3732 (RUN_TEST_sincos): Likewise.
3733 (RUN_TEST_LOOP_sincos): Likewise.
3734
8269107f
JM
37352013-05-17 Joseph Myers <joseph@codesourcery.com>
3736
bb38759d
JM
3737 [BZ #15480]
3738 [BZ #15485]
3739 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3740 main case of finite arguments, set rounding mode to FE_TONEAREST
3741 and discard exceptions.
3742 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3743 exceptions.
3744 (remainder_tonearest_test_data): New variable.
3745 (remainder_test_tonearest): New function.
3746 (remainder_towardzero_test_data): New variable.
3747 (remainder_test_towardzero): New function.
3748 (remainder_downward_test_data): New variable.
3749 (remainder_test_downward): New function.
3750 (remainder_upward_test_data): New variable.
3751 (remainder_test_upward): New function.
3752 (main): Call the new test functions.
3753
a00bdcf0
JM
3754 * math/libm-test.inc (struct test_f_f1_data): Remove field
3755 extra_init.
3756 (struct test_fF_f1_data): Likewise.
3757 (struct test_ffI_f1_data): Likewise.
3758 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3759 based on value of EXTRA_EXPECTED.
3760 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3761 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3762 EXTRA_VAR based on value of EXTRA_EXPECTED.
3763 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3764 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3765 EXTRA_VAR based on value of EXTRA_EXPECTED.
3766 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3767 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3768 EXTRA_VAR based on value of EXTRA_EXPECTED.
3769 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3770 * math/gen-libm-test.pl (parse_args): Don't output initializers
3771 for extra output values.
3772
de407f79
JM
3773 * math/libm-test.inc (check_int): Expect result to be exactly
3774 equal to expected value and do not handle ulps.
3775 (check_long): Likewise.
3776 (check_longlong): Likewise.
3777
8269107f
JM
3778 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3779 exceptions.
3780 (cimag_test_data): Likewise.
3781 (conj_test_data): Likewise.
3782 (copysign_test_data): Likewise.
3783 (cproj_test_data): Likewise.
3784 (creal_test_data): Likewise.
3785 (fabs_test_data): Likewise.
3786 (fdim_test_data): Likewise.
3787 (finite_test_data): Likewise.
3788 (floor_test_data): Likewise.
3789 (fmax_test_data): Likewise.
3790 (fmin_test_data): Likewise.
3791 (fmod_test_data): Likewise.
3792 (fpclassify_test_data): Likewise.
3793 (frexp_test_data): Likewise.
3794 (ilogb_test_data): Likewise.
3795 (isfinite_test_data): Likewise.
3796 (isgreater_test_data): Likewise.
3797 (isgreaterequal_test_data): Likewise.
3798 (isinf_test_data): Likewise.
3799 (isless_test_data): Likewise.
3800 (islessequal_test_data): Likewise.
3801 (islessgreater_test_data): Likewise.
3802 (isnan_test_data): Likewise.
3803 (isnormal_test_data): Likewise.
3804 (issignaling_test_data): Likewise.
3805 (isunordered_test_data): Likewise.
3806 (ldexp_test_data): Likewise.
3807 (lrint_test_data): Likewise.
3808 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3809 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3810 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3811 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3812 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3813 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3814 test input.
3815 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3816 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3817 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3818 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3819 that test input.
3820 (lrint_downward_test_data): Test for "inexact" exceptions.
3821 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3822 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3823 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3824 test input.
3825 (lrint_upward_test_data): Test for "inexact" exceptions.
3826 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3827 test input.
3828 (llrint_test_data): Test for "inexact" exceptions.
3829 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3830 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3831 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3832 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3833 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3834 (llrint_downward_test_data): Test for "inexact" exceptions.
3835 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3836 (llrint_upward_test_data): Test for "inexact" exceptions.
3837 (logb_test_data): Likewise.
3838 (logb_downward_test_data): Likewise.
3839 (nextafter_test_data): Likewise.
3840 (nexttoward_test_data): Likewise.
3841 (remainder_test_data): Likewise.
3842 (remquo_test_data): Likewise.
3843 (scalbn_test_data): Likewise.
3844 (scalbln_test_data): Likewise.
3845 (signbit_test_data): Likewise.
3846 (sqrt_test_data): Likewise.
3847 (significand_test_data): Likewise.
3848
48a18de1
SP
38492013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3850
3851 [BZ #15424]
3852 * benchtests/bench-modf.c (struct args): Mark arg0 as
3853 volatile.
3854 * scripts/bench.pl: Mark members of struct args as volatile.
3855
13d3b41a
AZ
38562013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3857
68191c1d 3858 [BZ # 15497]
13d3b41a
AZ
3859 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3860 negative infinity on POWER6 or lower.
3861 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3862
2848b105
MR
38632013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3864
3865 [BZ #15442]
3866 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3867 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3868 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3869 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3870 (_FP_SETQNAN): New macro.
3871 (_FP_SETQNAN_SEMIRAW): Likewise.
3872 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3873 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3874 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3875 (FP_EXTEND): Use _FP_FRAC_SNANP.
3876 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3877 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3878 into account.
3879 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3880 New macro.
3881 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3882 Likewise.
3883
323e5cb7
JM
38842013-05-16 Joseph Myers <joseph@codesourcery.com>
3885
c58b274f
JM
3886 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3887 with DIVIDE_BY_ZERO_EXCEPTION.
3888 (gamma_test_data): Likewise.
3889 (lgamma_test_data): Likewise.
3890 (log_test_data): Likewise.
3891 (log10_test_data): Likewise.
3892 (log2_test_data): Likewise.
3893 (tgamma_test_data): Likewise.
3894
0ab34904
JM
3895 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3896 (acos_test_tonearest): Likewise.
3897 (acos_test_towardzero): Likewise.
3898 (acos_test_downward): Likewise.
3899 (acos_test_upward): Likewise.
3900 (acosh_test): Likewise.
3901 (asin_test): Likewise.
3902 (asin_test_tonearest): Likewise.
3903 (asin_test_towardzero): Likewise.
3904 (asin_test_downward): Likewise.
3905 (asin_test_upward): Likewise.
3906 (asinh_test): Likewise.
3907 (atan_test): Likewise.
3908 (atanh_test): Likewise.
3909 (atan2_test): Likewise.
3910 (cabs_test): Likewise.
3911 (cacos_test): Likewise.
3912 (cacosh_test): Likewise.
3913 (casin_test): Likewise.
3914 (casinh_test): Likewise.
3915 (catan_test): Likewise.
3916 (catanh_test): Likewise.
3917 (cbrt_test): Likewise.
3918 (ccos_test): Likewise.
3919 (ccosh_test): Likewise.
3920 (cexp_test): Likewise.
3921 (clog_test): Likewise.
3922 (clog10_test): Likewise.
3923 (cos_test): Likewise.
3924 (cos_test_tonearest): Likewise.
3925 (cos_test_towardzero): Likewise.
3926 (cos_test_downward): Likewise.
3927 (cos_test_upward): Likewise.
3928 (cosh_test): Likewise.
3929 (cosh_test_tonearest): Likewise.
3930 (cosh_test_towardzero): Likewise.
3931 (cosh_test_downward): Likewise.
3932 (cosh_test_upward): Likewise.
3933 (cpow_test): Likewise.
3934 (csin_test): Likewise.
3935 (csinh_test): Likewise.
3936 (csqrt_test): Likewise.
3937 (ctan_test): Likewise.
3938 (ctan_test_tonearest): Likewise.
3939 (ctan_test_towardzero): Likewise.
3940 (ctan_test_downward): Likewise.
3941 (ctan_test_upward): Likewise.
3942 (ctanh_test): Likewise.
3943 (ctanh_test_tonearest): Likewise.
3944 (ctanh_test_towardzero): Likewise.
3945 (ctanh_test_downward): Likewise.
3946 (ctanh_test_upward): Likewise.
3947 (erf_test): Likewise.
3948 (erfc_test): Likewise.
3949 (exp_test): Likewise.
3950 (exp_test_tonearest): Likewise.
3951 (exp_test_towardzero): Likewise.
3952 (exp_test_downward): Likewise.
3953 (exp_test_upward): Likewise.
3954 (exp10_test): Likewise.
3955 (exp2_test): Likewise.
3956 (expm1_test): Likewise.
3957 (fmod_test): Likewise.
3958 (gamma_test): Likewise.
3959 (hypot_test): Likewise.
3960 (j0_test): Likewise.
3961 (j1_test): Likewise.
3962 (jn_test): Likewise.
3963 (lgamma_test): Likewise.
3964 (log_test): Likewise.
3965 (log10_test): Likewise.
3966 (log1p_test): Likewise.
3967 (log2_test): Likewise.
3968 (logb_test_downward): Likewise.
3969 (pow_test): Likewise.
3970 (pow_test_tonearest): Likewise.
3971 (pow_test_towardzero): Likewise.
3972 (pow_test_downward): Likewise.
3973 (pow_test_upward): Likewise.
3974 (remainder_test): Likewise.
3975 (remquo_test): Likewise.
3976 (sin_test): Likewise.
3977 (sin_test_tonearest): Likewise.
3978 (sin_test_towardzero): Likewise.
3979 (sin_test_downward): Likewise.
3980 (sin_test_upward): Likewise.
3981 (sincos_test): Likewise.
3982 (sinh_test): Likewise.
3983 (sinh_test_tonearest): Likewise.
3984 (sinh_test_towardzero): Likewise.
3985 (sinh_test_downward): Likewise.
3986 (sinh_test_upward): Likewise.
3987 (sqrt_test): Likewise.
3988 (tan_test): Likewise.
3989 (tan_test_tonearest): Likewise.
3990 (tan_test_towardzero): Likewise.
3991 (tan_test_downward): Likewise.
3992 (tan_test_upward): Likewise.
3993 (tanh_test): Likewise.
3994 (tgamma_test): Likewise.
3995 (y0_test): Likewise.
3996 (y1_test): Likewise.
3997 (yn_test): Likewise.
3998
323e5cb7
JM
3999 * math/gen-libm-test.pl (adjust_arg): Remove function.
4000 (special_function): Remove argument $in_func. Only handle
4001 generating output for tables of tests, not inside functions.
4002 (parse_args): Likewise.
4003 (generate_testfile): Remove variable $in_func. Update call to
4004 parse_args.
4005 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4006 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4007 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4008 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4009 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4010 (MAX_VALUE_INIT): Rename macro to max_value.
4011 (MIN_VALUE_INIT): Rename macro to min_value.
4012 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4013 (plus_zero): Remove variable.
4014 (minus_zero): Likewise.
4015 (plus_infty): Likewise.
4016 (minus_infty): Likewise.
4017 (qnan_value): Likewise.
4018 (max_value): Likewise.
4019 (min_value): Likewise.
4020 (min_subnorm_value): Likewise.
4021
e054f494
RA
40222013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4023
4024 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4025 uint64_t or uint32_t usage.
4026 * crypt/sha256-block.c: Likewise.
4027 * crypt/sha256-crypt.c: Likewise.
4028 * crypt/sha256.c: Likewise.
4029 * crypt/sha512-block.c: Likewise.
4030 * crypt/sha512-crypt.c: Likewise.
4031 * crypt/sha512.c: Likewise.
4032 * debug/backtrace-tst.c: Likewise.
4033 * debug/pcprofiledump.c: Likewise.
4034 * elf/cache.c: Likewise.
4035 * elf/dl-cache.c: Likewise.
4036 * elf/dl-misc.c: Likewise.
4037 * elf/dl-profile.c: Likewise.
4038 * elf/dl-support.c: Likewise.
4039 * elf/ldconfig.c: Likewise.
4040 * elf/sprof.c: Likewise.
4041 * iconv/dummy-repertoire.c: Likewise.
4042 * iconv/iconv_charmap.c: Likewise.
4043 * iconv/skeleton.c: Likewise.
4044 * iconvdata/8bit-generic.c: Likewise.
4045 * iconvdata/cp737.h: Likewise.
4046 * iconvdata/cp775.h: Likewise.
4047 * iconvdata/ibm1008.h: Likewise.
4048 * iconvdata/ibm1025.h: Likewise.
4049 * iconvdata/ibm1046.h: Likewise.
4050 * iconvdata/ibm1097.h: Likewise.
4051 * iconvdata/ibm1112.h: Likewise.
4052 * iconvdata/ibm1122.h: Likewise.
4053 * iconvdata/ibm1123.h: Likewise.
4054 * iconvdata/ibm1124.h: Likewise.
4055 * iconvdata/ibm1129.h: Likewise.
4056 * iconvdata/ibm1130.h: Likewise.
4057 * iconvdata/ibm1132.h: Likewise.
4058 * iconvdata/ibm1133.h: Likewise.
4059 * iconvdata/ibm1137.h: Likewise.
4060 * iconvdata/ibm1140.h: Likewise.
4061 * iconvdata/ibm1141.h: Likewise.
4062 * iconvdata/ibm1142.h: Likewise.
4063 * iconvdata/ibm1143.h: Likewise.
4064 * iconvdata/ibm1144.h: Likewise.
4065 * iconvdata/ibm1145.h: Likewise.
4066 * iconvdata/ibm1146.h: Likewise.
4067 * iconvdata/ibm1147.h: Likewise.
4068 * iconvdata/ibm1148.h: Likewise.
4069 * iconvdata/ibm1149.h: Likewise.
4070 * iconvdata/ibm1153.h: Likewise.
4071 * iconvdata/ibm1154.h: Likewise.
4072 * iconvdata/ibm1155.h: Likewise.
4073 * iconvdata/ibm1156.h: Likewise.
4074 * iconvdata/ibm1157.h: Likewise.
4075 * iconvdata/ibm1158.h: Likewise.
4076 * iconvdata/ibm1160.h: Likewise.
4077 * iconvdata/ibm1161.h: Likewise.
4078 * iconvdata/ibm1162.h: Likewise.
4079 * iconvdata/ibm1163.h: Likewise.
4080 * iconvdata/ibm1164.h: Likewise.
4081 * iconvdata/ibm1166.h: Likewise.
4082 * iconvdata/ibm1167.h: Likewise.
4083 * iconvdata/ibm12712.h: Likewise.
4084 * iconvdata/ibm1390.h: Likewise.
4085 * iconvdata/ibm1399.h: Likewise.
4086 * iconvdata/ibm16804.h: Likewise.
4087 * iconvdata/ibm4517.h: Likewise.
4088 * iconvdata/ibm4899.h: Likewise.
4089 * iconvdata/ibm4909.h: Likewise.
4090 * iconvdata/ibm4971.h: Likewise.
4091 * iconvdata/ibm5347.h: Likewise.
4092 * iconvdata/ibm803.h: Likewise.
4093 * iconvdata/ibm856.h: Likewise.
4094 * iconvdata/ibm901.h: Likewise.
4095 * iconvdata/ibm902.h: Likewise.
4096 * iconvdata/ibm9030.h: Likewise.
4097 * iconvdata/ibm9066.h: Likewise.
4098 * iconvdata/ibm921.h: Likewise.
4099 * iconvdata/ibm922.h: Likewise.
4100 * iconvdata/ibm9448.h: Likewise.
4101 * iconvdata/isiri-3342.h: Likewise.
4102 * iconvdata/jis0201.h: Likewise.
4103 * include/link.h: Likewise.
4104 * include/netdb.h: Likewise.
4105 * inet/check_native.c: Likewise.
4106 * inet/check_pf.c: Likewise.
4107 * inet/getipv4sourcefilter.c: Likewise.
4108 * inet/getnameinfo.c: Likewise.
4109 * inet/getsourcefilter.c: Likewise.
4110 * inet/htonl.c: Likewise.
4111 * inet/setipv4sourcefilter.c: Likewise.
4112 * inet/setsourcefilter.c: Likewise.
4113 * inet/test-inet6_opt.c: Likewise.
4114 * inet/tst-network.c: Likewise.
4115 * locale/C-collate.c: Likewise.
4116 * locale/C-ctype.c: Likewise.
4117 * locale/C-time.c: Likewise.
4118 * locale/C-translit.h: Likewise.
4119 * locale/loadarchive.c: Likewise.
4120 * locale/programs/3level.h: Likewise.
4121 * locale/programs/charmap.c: Likewise.
4122 * locale/programs/charmap.h: Likewise.
4123 * locale/programs/ld-address.c: Likewise.
4124 * locale/programs/ld-collate.c: Likewise.
4125 * locale/programs/ld-ctype.c: Likewise.
4126 * locale/programs/ld-identification.c: Likewise.
4127 * locale/programs/ld-measurement.c: Likewise.
4128 * locale/programs/ld-messages.c: Likewise.
4129 * locale/programs/ld-monetary.c: Likewise.
4130 * locale/programs/ld-name.c: Likewise.
4131 * locale/programs/ld-numeric.c: Likewise.
4132 * locale/programs/ld-paper.c: Likewise.
4133 * locale/programs/ld-telephone.c: Likewise.
4134 * locale/programs/ld-time.c: Likewise.
4135 * locale/programs/linereader.c: Likewise.
4136 * locale/programs/locale.c: Likewise.
4137 * locale/programs/locarchive.c: Likewise.
4138 * locale/programs/locfile.h: Likewise.
4139 * locale/programs/repertoire.c: Likewise.
4140 * locale/programs/simple-hash.c: Likewise.
4141 * locale/programs/simple-hash.h: Likewise.
4142 * malloc/memusage.c: Likewise.
4143 * malloc/memusagestat.c: Likewise.
4144 * nis/nis_defaults.c: Likewise.
4145 * nis/nis_hash.c: Likewise.
4146 * nis/nis_print.c: Likewise.
4147 * nis/nis_xdr.c: Likewise.
4148 * nscd/connections.c: Likewise.
4149 * nscd/hstcache.c: Likewise.
4150 * nscd/nscd_gethst_r.c: Likewise.
4151 * nscd/nscd_getserv_r.c: Likewise.
4152 * nscd/nscd_helper.c: Likewise.
4153 * nscd/servicescache.c: Likewise.
4154 * nss/makedb.c: Likewise.
4155 * nss/nss_db/db-XXX.c: Likewise.
4156 * nss/nss_db/db-initgroups.c: Likewise.
4157 * nss/nss_db/db-netgrp.c: Likewise.
4158 * nss/nss_files/files-network.c: Likewise.
4159 * nss/nss_files/files-parse.c: Likewise.
4160 * posix/bug-regex5.c: Likewise.
4161 * posix/fnmatch_loop.c: Likewise.
4162 * posix/regcomp.c: Likewise.
4163 * posix/regexec.c: Likewise.
4164 * posix/tst-rfc3484-2.c: Likewise.
4165 * posix/tst-rfc3484-3.c: Likewise.
4166 * posix/tst-rfc3484.c: Likewise.
4167 * resolv/nss_dns/dns-canon.c: Likewise.
4168 * resolv/nss_dns/dns-network.c: Likewise.
4169 * resolv/res_init.c: Likewise.
4170 * resolv/res_mkquery.c: Likewise.
4171 * resolv/tst-aton.c: Likewise.
4172 * stdlib/cxa_atexit.c: Likewise.
4173 * stdlib/cxa_finalize.c: Likewise.
4174 * stdlib/gen-fpioconst.c: Likewise.
4175 * stdlib/strtol_l.c: Likewise.
4176 * string/tst-endian.c: Likewise.
4177 * sunrpc/auth_des.c: Likewise.
4178 * sunrpc/clnt_udp.c: Likewise.
4179 * sunrpc/rtime.c: Likewise.
4180 * sunrpc/svcauth_des.c: Likewise.
4181 * sunrpc/xdr.c: Likewise.
4182 * sunrpc/xdr_intXX_t.c: Likewise.
4183 * sunrpc/xdr_rec.c: Likewise.
4184 * sysdeps/generic/ldconfig.h: Likewise.
4185 * sysdeps/generic/ldsodefs.h: Likewise.
4186 * sysdeps/generic/memusage.h: Likewise.
4187 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4188 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4189 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4190 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4191 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4192 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4193 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4195 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4196 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4197 * sysdeps/posix/getaddrinfo.c: Likewise.
4198 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4199 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4200 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4201 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4202 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4203 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4204 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4205 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4206 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4207 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4208 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4209 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4210 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4211 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4212 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4213 * sysdeps/x86_64/dl-tls.h: Likewise.
4214 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4215 * time/alt_digit.c: Likewise.
4216 * time/era.c: Likewise.
4217 * wcsmbs/tst-c16c32-1.c: Likewise.
4218
8c75f674
JM
42192013-05-16 Joseph Myers <joseph@codesourcery.com>
4220
4221 * math/libm-test.inc (struct test_sincos_data): New type.
4222 (RUN_TEST_LOOP_sincos): New macro.
4223 (sincos_test_data): New variable.
4224 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4225
e6e49e59
RH
42262013-05-16 Richard Henderson <rth@redhat.com>
4227
4228 * math/atest-exp2.c (LIMB64): New macro.
4229 (CONSTSZ): New macro.
4230 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4231 (hexdig): Move ...
4232 (print_mpn_fp): ... to function scope.
4233 (read_mpn_hex): Remove.
4234 (get_log2): Remove.
4235 (exp2_mpn): Use mp_log2.
4236 (main): Use mp_exp1.
4237
15c7c18d
JM
42382013-05-16 Joseph Myers <joseph@codesourcery.com>
4239
105a07df
JM
4240 * math/libm-test.inc: Remove comment about not testing "inexact"
4241 exceptions.
4242 (INEXACT_EXCEPTION): New macro.
4243 (NO_INEXACT_EXCEPTION): Likewise.
4244 (INVALID_EXCEPTION_OK): Update value.
4245 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4246 (OVERFLOW_EXCEPTION_OK): Likewise.
4247 (UNDERFLOW_EXCEPTION_OK): Likewise.
4248 (IGNORE_ZERO_INF_SIGN): Likewise.
4249 (ERRNO_UNCHANGED): Likewise.
4250 (ERRNO_EDOM): Likewise.
4251 (ERRNO_ERANGE): Likewise.
4252 (test_exceptions): Handle testing "inexact" exceptions.
4253 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4254 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4255 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4256 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4257 INEXACT_EXCEPTION.
4258 (rint_towardzero_test_data): Likewise.
4259 (rint_downward_test_data): Likewise.
4260 (rint_upward_test_data): Likewise.
4261
e9eee333
JM
4262 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4263 with OVERFLOW_EXCEPTION.
4264 (exp10_test_data): Likewise.
4265 (exp2_test_data): Likewise.
4266 (expm1_test_data): Likewise.
4267 (lgamma_test_data): Likewise.
4268 (pow_test_data): Likewise.
4269 (tgamma_test_data): Likewise.
4270 (yn_test_data): Remove duplicate test of overflow.
4271
1c38ff73
JM
4272 * math/libm-test.inc (struct test_cc_c_data): New type.
4273 (RUN_TEST_LOOP_cc_c): New macro.
4274 (cpow_test_data): New variable.
4275 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4276
15c7c18d
JM
4277 * math/libm-test.inc (struct test_f_L_data): New type.
4278 (RUN_TEST_LOOP_f_L): New macro.
4279 (llrint_test_data): New variable.
4280 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4281 (llrint_tonearest_test_data): New variable.
4282 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4283 (llrint_towardzero_test_data): New variable.
4284 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4285 (llrint_downward_test_data): New variable.
4286 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4287 (llrint_upward_test_data): New variable.
4288 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4289 (llround_test_data): New variable.
4290 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4291
f137ff13
PC
42922013-05-13 Peter Collingbourne <pcc@google.com>
4293
4294 * math/atest-exp2.c (get_log2): Remove const attribute.
4295
3608cb24
JM
42962013-05-15 Joseph Myers <joseph@codesourcery.com>
4297
4298 * math/libm-test.inc (struct test_f_l_data): New type.
4299 (RUN_TEST_LOOP_f_l): New macro.
4300 (lrint_test_data): New variable.
4301 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4302 (lrint_tonearest_test_data): New variable.
4303 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4304 (lrint_towardzero_test_data): New variable.
4305 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4306 (lrint_downward_test_data): New variable.
4307 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4308 (lrint_upward_test_data): New variable.
4309 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4310 (lround_test_data): New variable.
4311 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4312
39b1f617
PC
43132013-05-15 Peter Collingbourne <pcc@google.com>
4314
1deff3dc
PC
4315 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4316 (EXTRACT_WORDS64) Use where appropriate.
4317 (INSERT_WORDS64) Likewise.
4318
791f3ba0
PC
4319 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4320 constraints with x constraints.
4321 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4322
39b1f617
PC
4323 * malloc/obstack.c (_obstack_compat): Add initializer.
4324
12fba011
EM
43252013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4326
4327 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4328 si_trapno and add si_addr_lsb to _sifields.sigfault.
4329 (si_trapno): Remove macro.
4330 (si_addr_lsb): Define new macro.
4331 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4332
d369f531
JM
43332013-05-15 Joseph Myers <joseph@codesourcery.com>
4334
b861c6c4
JM
4335 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4336 instead of TEST_f_l.
4337 (llrint_test_tonearest): Likewise.
4338 (llrint_test_towardzero): Likewise.
4339 (llrint_test_downward): Likewise.
4340 (llrint_test_upward): Likewise.
4341 (llround_test): Likewise.
4342
7abeee12
JM
4343 * math/libm-test.inc (struct test_f_i_data): Add comment.
4344 (RUN_TEST_LOOP_f_b): New macro.
4345 (RUN_TEST_LOOP_f_b_tg): Likewise.
4346 (finite_test_data): New variable.
4347 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4348 (isfinite_test_data): New variable.
4349 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4350 (isinf_test_data): New variable.
4351 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4352 (isnan_test_data): New variable.
4353 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4354 (isnormal_test_data): New variable.
4355 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4356 (issignaling_test_data): New variable.
4357 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4358 (signbit_test_data): New variable.
4359 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4360
cbe8c4d3
JM
4361 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4362 with INVALID_EXCEPTION.
4363 (acosh_test_data): Likewise.
4364 (asin_test_data): Likewise.
4365 (atanh_test_data): Likewise.
4366 (fmod_test_data): Likewise.
4367 (log_test_data): Likewise.
4368 (log10_test_data): Likewise.
4369 (log2_test_data): Likewise.
4370 (pow_test_data): Likewise.
4371 (sqrt_test_data): Likewise.
4372 (y0_test_data): Likewise.
4373 (y1_test_data): Likewise.
4374 (yn_test_data): Likewise.
4375
5575c0e5
JM
4376 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4377 function contents.
4378
d369f531
JM
4379 * math/libm-test.inc (struct test_ff_i_data): New type.
4380 (RUN_TEST_LOOP_ff_i_tg): New macro.
4381 (isgreater_test_data): New variable.
4382 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4383 (isgreaterequal_test_data): New variable.
4384 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4385 (isless_test_data): New variable.
4386 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4387 (islessequal_test_data): New variable.
4388 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4389 (islessgreater_test_data): New variable.
4390 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4391 (isunordered_test_data): New variable.
4392 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4393
781fd748
DM
43942013-05-14 David S. Miller <davem@davemloft.net>
4395
4396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4397
87aa21df
JM
43982013-05-14 Joseph Myers <joseph@codesourcery.com>
4399
5e908270
JM
4400 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4401
f71172e5
JM
4402 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4403 extra_test to int.
4404 (struct test_f_i_data): Change type of max_ulp to int.
4405
8cfa635a
JM
4406 * math/libm-test.inc (test_ffI_f1_data): New type.
4407 (RUN_TEST_LOOP_ffI_f1): New macro.
4408 (remquo_test_data): New variable.
4409 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4410
2bcb36b2
JM
4411 * setjmp/tst-setjmp-fp.c: New file.
4412 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4413 (link-libm): New variable.
4414 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4415
acbd839a
JM
4416 * math/libm-test.inc (struct test_f_i_data): New type.
4417 (RUN_TEST_LOOP_f_i): New macro.
4418 (RUN_TEST_LOOP_f_i_tg): Likewise.
4419 (fpclassify_test_data): New variable.
4420 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4421 (ilogb_test_data): New variable.
4422 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4423
e414d745
JM
4424 * math/libm-test.inc (scalbln_test): Correct function name in END
4425 call.
4426
d9c2a0fd
JM
4427 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4428 (RUN_TEST_LOOP_fI_f1): New macro.
4429 (frexp_test_data): New variable.
4430 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4431
9dc9095d
JM
4432 * math/libm-test.inc (struct test_fF_f1_data): New type.
4433 (RUN_TEST_LOOP_fF_f1): New macro.
4434 (modf_test_data): New variable.
4435 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4436
87aa21df
JM
4437 * math/libm-test.inc (struct test_f_f1_data): New type.
4438 (RUN_TEST_LOOP_f_f1): New macro.
4439 (gamma_test_data): New variable.
4440 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4441 (lgamma_test_data): New variable.
4442 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4443
141af660
CD
44442013-05-13 Carlos O'Donell <carlos@redhat.com>
4445
4446 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4447 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4448 (main): Comment "tls" pseudo-hwcap.
4449
6d33265c
JM
44502013-05-13 Joseph Myers <joseph@codesourcery.com>
4451
68fc074c
JM
4452 * math/libm-test.inc (struct test_fl_f_data): New type.
4453 (RUN_TEST_LOOP_fl_f): New variable.
4454 (scalbln_test_data): New variable.
4455 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4456
243216e1
JM
4457 * math/libm-test.inc (struct test_fi_f_data): New type.
4458 (RUN_TEST_LOOP_fi_f): New macro.
4459 (ldexp_test_data): New variable.
4460 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4461 (scalbn_test_data): New variable.
4462 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4463
6a1992e2
JM
4464 * math/libm-test.inc (struct test_c_f_data): New type.
4465 (RUN_TEST_LOOP_c_f): New macro.
4466 (cabs_test_data): New variable.
4467 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4468 (carg_test_data): New variable.
4469 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4470 (cimag_test_data): New variable.
4471 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4472 (creal_test_data): New variable.
4473 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4474
0e400df5
JM
4475 * math/libm-test.inc (struct test_if_f_data): New type.
4476 (RUN_TEST_LOOP_if_f): New macro.
4477 (jn_test_data): New variable.
4478 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4479 (yn_test_data): New variable.
4480 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4481
6d33265c
JM
4482 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4483
f98ece5f
AZ
44842013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4485
4486 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4487 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4488
0f7d347b
SP
44892013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4490
43fe811b
SP
4491 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4492 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4493 (bench-deps): Add bench-timing.h.
4494 * benchtests-bench-skeleton.c: Include bench-timing.h.
4495 (main): Use TIMING_* macros instead of clock_gettime.
4496 * benchtests/bench-timing.h: New file.
4497
0f7d347b
SP
4498 [BZ #14582]
4499 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4500 Renamed from _LIB_VERSION.
4501 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4502
601a3a5f
JM
45032013-05-12 Joseph Myers <joseph@codesourcery.com>
4504
4f184d30
JM
4505 * math/libm-test.inc (struct test_fff_f_data): New type.
4506 (RUN_TEST_LOOP_fff_f): New macro.
4507 (fma_test_data): New variable.
4508 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4509 (fma_towardzero_test_data): New variable.
4510 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4511 (fma_downward_test_data): New variable.
4512 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4513 (fma_upward_test_data): New variable.
4514 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4515
08198877
JM
4516 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4517 (struct test_c_c_data): New type.
4518 (RUN_TEST_LOOP_c_c): New macro.
4519 (cacos_test_data): New variable.
4520 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4521 (cacosh_test_data): New variable.
4522 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4523 (casin_test_data): New variable.
4524 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4525 (casinh_test_data): New variable.
4526 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4527 (catan_test_data): New variable.
4528 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4529 (catanh_test_data): New variable.
4530 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4531 (ccos_test_data): New variable.
4532 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4533 (ccosh_test_data): New variable.
4534 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4535 (cexp_test_data): New variable.
4536 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4537 (clog_test_data): New variable.
4538 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4539 (clog10_test_data): New variable.
4540 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4541 (conj_test_data): New variable.
4542 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4543 (cproj_test_data): New variable.
4544 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4545 (csin_test_data): New variable.
4546 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4547 (csinh_test_data): New variable.
4548 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4549 (csqrt_test_data): New variable.
4550 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4551 (ctan_test_data): New variable.
4552 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4553 (ctan_tonearest_test_data): New variable.
4554 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4555 (ctan_towardzero_test_data): New variable.
4556 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4557 (ctan_downward_test_data): New variable.
4558 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4559 (ctan_upward_test_data): New variable.
4560 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4561 (ctanh_test_data): New variable.
4562 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4563 (ctanh_tonearest_test_data): New variable.
4564 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4565 (ctanh_towardzero_test_data): New variable.
4566 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4567 (ctanh_downward_test_data): New variable.
4568 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4569 (ctanh_upward_test_data): New variable.
4570 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4571 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4572 of BUILD_COMPLEX.
4573
601a3a5f
JM
4574 * math/libm-test.inc (struct test_ff_f_data): New type.
4575 (struct test_ff_f_data_nexttoward): Likewise.
4576 (RUN_TEST_LOOP_2_f): New macro.
4577 (RUN_TEST_LOOP_ff_f): Likewise.
4578 (atan2_test_data): New variable.
4579 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4580 (copysign_test_data): New variable.
4581 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4582 (fdim_test_data): New variable.
4583 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4584 (fmax_test_data): New variable.
4585 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4586 (fmin_test_data): New variable.
4587 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4588 (fmod_test_data): New variable.
4589 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4590 (hypot_test_data): New variable.
4591 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4592 (nextafter_test_data): New variable.
4593 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4594 (nexttoward_test_data): New variable.
4595 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4596 (pow_test_data): New variable.
4597 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4598 (pow_tonearest_test_data): New variable.
4599 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4600 (pow_towardzero_test_data): New variable.
4601 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4602 (pow_downward_test_data): New variable.
4603 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4604 (pow_upward_test_data): New variable.
4605 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4606 (remainder_test_data): New variable.
4607 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4608 (scalb_test_data): New variable.
4609 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4610 * sysdeps/i386/fpu/libm-test-ulps: Update.
4611
74c57478
JM
46122013-05-11 Joseph Myers <joseph@codesourcery.com>
4613
8329e4da
JM
4614 * math/libm-test.inc (fma_test): Use max_value instead of local
4615 variable fltmax.
4616 (nextafter_test): Likewise.
4617
74c57478
JM
4618 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4619 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4620 (acos_downward_test_data): New variable.
4621 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4622 (acos_upward_test_data): New variable.
4623 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4624 (acosh_test_data): New variable.
4625 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4626 (asin_test_data): New variable.
4627 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4628 (asin_tonearest_test_data): New variable.
4629 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4630 (asin_towardzero_test_data): New variable.
4631 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4632 (asin_downward_test_data): New variable.
4633 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4634 (asin_upward_test_data): New variable.
4635 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4636 (asinh_test_data): New variable.
4637 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4638 (atan_test_data): New variable.
4639 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4640 (atanh_test_data): New variable.
4641 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4642 (cbrt_test_data): New variable.
4643 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4644 (ceil_test_data): New variable.
4645 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4646 (cos_test_data): New variable.
4647 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4648 (cos_tonearest_test_data): New variable.
4649 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4650 (cos_towardzero_test_data): New variable.
4651 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4652 (cos_downward_test_data): New variable.
4653 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4654 (cos_upward_test_data): New variable.
4655 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4656 (cosh_test_data): New variable.
4657 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4658 (cosh_tonearest_test_data): New variable.
4659 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4660 (cosh_towardzero_test_data): New variable.
4661 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4662 (cosh_downward_test_data): New variable.
4663 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4664 (cosh_upward_test_data): New variable.
4665 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4666 (erf_test_data): New variable.
4667 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4668 (erfc_test_data): New variable.
4669 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4670 (exp_test_data): New variable.
4671 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4672 (exp_tonearest_test_data): New variable.
4673 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4674 (exp_towardzero_test_data): New variable.
4675 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4676 (exp_downward_test_data): New variable.
4677 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4678 (exp_upward_test_data): New variable.
4679 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4680 (exp10_test_data): New variable.
4681 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4682 (exp2_test_data): New variable.
4683 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4684 (expm1_test_data): New variable.
4685 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4686 (fabs_test_data): New variable.
4687 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4688 (floor_test_data): New variable.
4689 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4690 (j0_test_data): New variable.
4691 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4692 (j1_test_data): New variable.
4693 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4694 (log_test_data): New variable.
4695 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4696 (log10_test_data): New variable.
4697 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4698 (log1p_test_data): New variable.
4699 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4700 (log2_test_data): New variable.
4701 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4702 (logb_test_data): New variable.
4703 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4704 (logb_downward_test_data): New variable.
4705 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4706 (nearbyint_test_data): New variable.
4707 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4708 (rint_test_data): New variable.
4709 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4710 (rint_tonearest_test_data): New variable.
4711 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4712 (rint_towardzero_test_data): New variable.
4713 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4714 (rint_downward_test_data): New variable.
4715 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4716 (rint_upward_test_data): New variable.
4717 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4718 (round_test_data): New variable.
4719 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4720 (sin_test_data): New variable.
4721 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4722 (sin_tonearest_test_data): New variable.
4723 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4724 (sin_towardzero_test_data): New variable.
4725 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4726 (sin_downward_test_data): New variable.
4727 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4728 (sin_upward_test_data): New variable.
4729 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4730 (sinh_test_data): New variable.
4731 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4732 (sinh_tonearest_test_data): New variable.
4733 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4734 (sinh_towardzero_test_data): New variable.
4735 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4736 (sinh_downward_test_data): New variable.
4737 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4738 (sinh_upward_test_data): New variable.
4739 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4740 (sqrt_test_data): New variable.
4741 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4742 (tan_test_data): New variable.
4743 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4744 (tan_tonearest_test_data): New variable.
4745 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4746 (tan_towardzero_test_data): New variable.
4747 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4748 (tan_downward_test_data): New variable.
4749 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4750 (tan_upward_test_data): New variable.
4751 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4752 (tanh_test_data): New variable.
4753 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4754 (tgamma_test_data): New variable.
4755 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4756 (trunc_test_data): New variable.
4757 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4758 (y0_test_data): New variable.
4759 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4760 (y1_test_data): New variable.
4761 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4762 (significand_test_data): New variable.
4763 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4764
7187d844
CG
47652013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4766
4767 [BZ #12387]
4768 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4769
f63fae73
PT
47702013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4771
4772 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4773
8a67a4b3
AJ
47742013-05-10 Andreas Jaeger <aj@suse.de>
4775
4776 [BZ #15448]
4777 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4778 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4779
51df539d
JM
47802013-05-10 Joseph Myers <joseph@codesourcery.com>
4781
4782 * math/gen-libm-test.pl (adjust_arg): New function.
4783 (special_functions): Handle generating output in both functions
4784 and arrays.
4785 (parse_args): Likewise.
4786 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4787 $in_func argument to parse_args.
4788 * math/libm-test.inc (struct test_f_f_data): New type.
4789 (IF_ROUND_INIT_): New macro.
4790 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4791 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4792 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4793 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4794 (ROUND_RESTORE_): Likewise.
4795 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4796 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4797 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4798 (ROUND_RESTORE_FE_UPWARD): Likewise.
4799 (RUN_TEST_LOOP_f_f): New macro.
4800 (acos_test_data): New variable.
4801 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4802 (acos_tonearest_test_data): New variable.
4803 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4804
5c637fe5
SP
48052013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4806
4807 * benchtests/bench-skeleton.c (startup): Fix coding style.
4808
ab2b9461
JM
48092013-05-10 Joseph Myers <joseph@codesourcery.com>
4810
4811 [BZ #6809]
4812 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4813 negative infinity argument.
4814 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4815 negative infinity argument.
4816 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4817 negative infinity argument.
4818 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4819 domain errors.
4820
4c0fe6fe
FW
48212013-05-10 Florian Weimer <fweimer@redhat.com>
4822
4823 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4824 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4825 * iconv/iconv_prog.c (main): Likewise.
4826 * locale/programs/charmap-dir.c (charmap_readdir)
4827 (fopen_uncompressed): Likewise.
4828 * locale/programs/locfile.c (siblings_uncached)
4829 (write_locale_data): Use lstat64 instead of lstat.
4830 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4831 stat.
4832
a3375d29
AJ
48332013-05-10 Andreas Jaeger <aj@suse.de>
4834
4835 [BZ #15395]
4836 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4837 localization.
4838 Include <locale.h>.
4839
36129722
CD
48402013-05-09 Carlos O'Donell <carlos@redhat.com>
4841
4842 * elf/dl-close.c (_dl_close_worker): Add comments.
4843
faa7f811
JM
48442013-05-09 Joseph Myers <joseph@codesourcery.com>
4845
ed41ffef
JM
4846 [BZ #15359]
4847 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4848 high part of pi/2.
4849 (__ieee754_rem_pio2l): Update comments.
4850
d0213cd0
JM
4851 [BZ #15429]
4852 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4853 high part of pi/2.
4854 (__ieee754_rem_pio2l): Update comments.
4855
0d3e777a
JM
4856 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4857 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4858
24f56066
JM
4859 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4860 M_PI_4l.
4861
faa7f811
JM
4862 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4863 (M_PI_34_LOG10El): Likewise.
4864 (M_PI2_LOG10El): Likewise.
4865 (M_PI4_LOG10El): Likewise.
4866 (M_PI_LOG10El): Likewise.
4867
e9a5e0fd
AZ
48682013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4869
4870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4871
d8cd06db
JM
48722013-05-08 Joseph Myers <joseph@codesourcery.com>
4873
a0d9f9d7
JM
4874 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4875 (MINUS_ZERO_INIT): Likewise.
4876 (PLUS_INFTY_INIT): Likewise.
4877 (MINUS_INFTY_INIT): Likewise.
4878 (QNAN_VALUE_INIT): Likewise.
4879 (MAX_VALUE_INIT): Likewise.
4880 (MIN_VALUE_INIT): Likewise.
4881 (MIN_SUBNORM_VALUE_INIT): Likewise.
4882 (plus_zero): Initialize with PLUS_ZERO_INIT.
4883 (minus_zero): Initialize with MINUS_ZERO_INIT.
4884 (plus_infty): Initialize with PLUS_INFTY_INIT.
4885 (minus_infty): Initialize with MINUS_INFTY_INIT.
4886 (qnan_value): Initialize with QNAN_VALUE_INIT.
4887 (max_value): Initialize with MAX_VALUE_INIT.
4888 (min_value): Initialize with MIN_VALUE_INIT.
4889 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4890
ae08db3b
JM
4891 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4892 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4893 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4894 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4895
f44bf14a
JM
4896 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4897 (RUN_TEST_2_f): Likewise.
4898 (RUN_TEST_ff_f): Likewise.
4899 (RUN_TEST_fi_f): Likewise.
4900 (RUN_TEST_fl_f): Likewise.
4901 (RUN_TEST_fff_f): Likewise.
4902 (RUN_TEST_c_f): Likewise.
4903 (RUN_TEST_f_f1): Likewise.
4904 (RUN_TEST_fF_f1): Likewise.
4905 (RUN_TEST_fI_f1): Likewise.
4906 (RUN_TEST_ffI_f1): Likewise.
4907 (RUN_TEST_c_c): Likewise.
4908 (RUN_TEST_cc_c): Likewise.
4909 (RUN_TEST_f_i): Likewise.
4910 (RUN_TEST_f_i_tg): Likewise.
4911 (RUN_TEST_ff_i_tg): Likewise.
4912 (RUN_TEST_f_b): Likewise.
4913 (RUN_TEST_f_b_tg): Likewise.
4914 (RUN_TEST_f_l): Likewise.
4915 (RUN_TEST_f_L): Likewise.
4916 (RUN_TEST_sincos): Likewise.
4917 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4918 whether to show exceptions. Do not include ");\n" in return
4919 value.
4920 (special_functions): Output call to RUN_TEST_sincos instead of
4921 check_float calls. Update calls to new_test.
4922 (parse_args): Output call to single RUN_TEST_* macro instead of
4923 check_* calls and other assignments. Update calls to new_test.
4924
d8cd06db
JM
4925 [BZ #2546]
4926 [BZ #2560]
4927 [BZ #5159]
4928 [BZ #15426]
4929 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4930 input to result for tgamma overflow.
4931 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4932 (gamma_coeff): New variable.
4933 (NCOEFF): New macro.
4934 (gamma_positive): New function.
4935 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4936 underflow here. Use gamma_positive instead of exp (lgamma) for
4937 other arguments.
4938 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4939 (gamma_coeff): New variable.
4940 (NCOEFF): New macro.
4941 (gammaf_positive): New function.
4942 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4943 underflow here. Use gamma_positive instead of exp (lgamma) for
4944 other arguments.
4945 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4946 (gamma_coeff): New variable.
4947 (NCOEFF): New macro.
4948 (gammal_positive): New function.
4949 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4950 underflow here. Use gamma_positive instead of exp (lgamma) for
4951 other arguments.
4952 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4953 (gamma_coeff): New variable.
4954 (NCOEFF): New macro.
4955 (gammal_positive): New function.
4956 (__ieee754_gammal_r): Handle positive infinity, overflow and
4957 underflow here. Handle NaN the same as positive infinity. Remove
4958 check x < 0xffffffff for negative integers. Use gamma_positive
4959 instead of exp (lgamma) for other arguments.
4960 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4961 (gamma_coeff): New variable.
4962 (NCOEFF): New macro.
4963 (gammal_positive): New function.
4964 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4965 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4966 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4967 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4968 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4969 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4970 * sysdeps/generic/math_private.h (__gamma_productf): New
4971 prototype.
4972 (__gamma_product): Likewise.
4973 (__gamma_productl): Likewise.
4974 * math/Makefile (libm-calls): Add gamma_product.
4975 * math/libm-test.inc (tgamma_test): Add more tests.
4976 * sysdeps/i386/fpu/libm-test-ulps: Update.
4977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4978
bb7cf681
OB
49792013-05-08 Ondřej Bílka <neleai@seznam.cz>
4980
4981 * benchtests/bench-skeleton.c (main): Preheat CPU.
4982
ba853947
AJ
49832013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4984
4985 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4986
8347c74c
RM
49872013-05-07 Roland McGrath <roland@hack.frob.com>
4988
4989 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4990 and _dl_skip_args_internal.
4991
e8dd4791
CD
49922013-05-07 Carlos O'Donell <carlos@redhat.com>
4993
4994 * manual/message.texi (Message Translation): Talk about users.
4995 Message to key mapping impacts design.
4996
c7405830
RM
49972013-05-06 Roland McGrath <roland@hack.frob.com>
4998
a9173057
RM
4999 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5000
976e2f03
RM
5001 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5002
9723ffc5
RM
5003 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5004 * sysdeps/wordsize-64/glob64.c: ... here.
5005
962e6658
RM
5006 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5007 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5008 New macros.
5009
ee586a6d
RM
5010 * debug/getlogin_r_chk.c: Moved to ...
5011 * login/getlogin_r_chk.c: ... here.
5012 * debug/Makefile (routines): Move getlogin_r_chk to ...
5013 * login/Makefile (routines): ... here.
5014 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5015 * login/Versions (libc: GLIBC_2.4): ... here.
5016
355f9165
RM
5017 * io/poll.c (__poll): Renamed from poll.
5018 Add libc_hidden_def.
5019 (poll): Define as weak alias.
5020
bd9ffde6
RM
5021 * debug/ptsname_r_chk.c: Moved to ...
5022 * login/ptsname_r_chk.c: ... here.
5023 * debug/Makefile (routines): Move ptsname_r_chk to ...
5024 * login/Makefile (routines): ... here.
5025 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5026 * login/Versions (libc: GLIBC_2.4): ... here.
5027
8fb16a04
RM
5028 * posix/getlogin.c: Moved to ...
5029 * login/getlogin.c: ... here.
5030 * posix/getlogin_r.c: Moved to ...
5031 * login/getlogin_r.c: ... here.
5032 * posix/getlogin_r.c: Moved to ...
5033 * login/getlogin_r.c: ... here.
5034 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5035 * login/Makefile (routines): ... here.
5036 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5037 * login/Versions (libc: GLIBC_2.0): ... here.
5038
b99b892f
RM
5039 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5040 (setrlimit): Define as weak alias.
5041
c7405830
RM
5042 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5043 Call __ names for open, ftruncate, and close.
5044 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5045 (truncate): Define as weak alias.
5046
5bf96de5
JM
50472013-05-06 Joseph Myers <joseph@codesourcery.com>
5048
9ea3513c
JM
5049 * math/gen-libm-test.pl (parse_args): Initialize x before each
5050 test of frexp, modf and remquo.
5051
5bf96de5
JM
5052 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5053 test signgam value.
5054
16e616a7
AZ
50552013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5056
5057 [BZ #15418]
5058 [BZ #15419]
5059 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5060 internal tests.
5061 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5062
d5e82754
RM
50632013-05-06 Roland McGrath <roland@hack.frob.com>
5064
5065 * elf/dl-writev.h: New file.
5066 * elf/dl-misc.c: Include it.
5067 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5068 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5069
a7548d41
JM
50702013-05-04 Joseph Myers <joseph@codesourcery.com>
5071
b7dab1e4
JM
5072 * math/libm-test.inc (noXFails): Remove variable.
5073 (noXPasses): Likewise.
5074 (BUILD_COMPLEX_INT): Remove macro.
5075 (print_screen): Remove xfail argument.
5076 (print_screen_max_error): Likewise.
5077 (update_stats): Likewise.
5078 (print_max_error): Likewise. Update calls to other affected
5079 functions.
5080 (print_complex_max_error): Likewise.
5081 (test_single_exception): Update calls to print_screen.
5082 (test_single_errno): Likewise.
5083 (check_float_internal): Remove xfail argument. Update calls to
5084 other affected functions.
5085 (check_float): Likewise.
5086 (check_complex): Likewise.
5087 (check_int): Likewise.
5088 (check_long): Likewise.
5089 (check_bool): Likewise.
5090 (check_longlong): Likewise.
5091 (main): Don't print noXFails and noXPasses.
5092 * math/gen-libm-test.pl (top level): Don't mention expected
5093 failure handling in comment.
5094 (new_test): Don't handle expected failures.
5095 (parse_args): Don't mention expected failure handling in comment.
5096 (generate_testfile): Don't handle expected failures.
5097 (parse_ulps): Likewise.
5098 (print_ulps_file): Likewise.
5099 (get_failure): Remove function.
5100 (output_test): Don't handle expected failures.
5101 * make/README.libm-test: Don't mention expected failure handling.
5102
a7548d41
JM
5103 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5104 (minus_zero): Likewise.
5105 (plus_infty): Likewise.
5106 (minus_infty): Likewise.
5107 (qnan_value): Likewise.
5108 (max_value): Likewise.
5109 (min_value): Likewise.
5110 (min_subnorm_value): Likewise.
5111 (initialize): Do not initialize those variables dynamically.
5112
60bfd54c
RM
51132013-05-03 Roland McGrath <roland@hack.frob.com>
5114
cc0e6ed8
RM
5115 * io/open.c (__open_2): Moved to ...
5116 * io/open_2.c: ... this new file.
5117 * io/open64.c (__open64_2): Moved to ...
5118 * io/open64_2.c: ... this new file.
5119 * io/openat.c (__openat_2): Moved to ...
5120 * io/openat_2.c: ... this new file.
5121 * io/openat64.c (__openat64_2): Moved to ...
5122 * io/openat64_2.c: ... this new file.
5123 * io/Makefile (routines): Add them.
5124 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5125 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5126 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5127 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5128 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5129 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5130 (__openat64): Add hidden_ver.
5131 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5132 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5133
60bfd54c
RM
5134 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5135 Separately conditionalize setting of GLRO(dl_sysinfo) so
5136 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5137 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5138
83e7640f
AZ
51392013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5140
5141 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5142 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5143 definition.
5144 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5145 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5146 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5147 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5148 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5149
d5dc2af3
JM
51502013-05-03 Joseph Myers <joseph@codesourcery.com>
5151
c31a5b1e
JM
5152 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5153 test signgam value.
5154
d5dc2af3
JM
5155 * math/libm-test.inc (hypot_test): Do not use
5156 IGNORE_ZERO_INF_SIGN.
5157
164fd39d
AJ
51582013-05-03 Andreas Jaeger <aj@suse.de>
5159
5160 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5161 Linux 3.9.
5162 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5163 (PF_MAX): Adjust for VSOCK change.
5164
8237f48c
AZ
51652013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5166
5167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5168
9df02941
CD
51692013-05-02 Carlos O'Donell <carlos@redhat.com>
5170
5171 [BZ #15264]
5172 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5173 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5174 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5175
d422395e
DM
51762013-05-02 David S. Miller <davem@davemloft.net>
5177
5178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5179
a07c5731
OB
51802013-05-01 Ondřej Bílka <neleai@seznam.cz>
5181
5182 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5183
1324e37f
RM
51842013-05-01 Roland McGrath <roland@hack.frob.com>
5185
5186 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5187
0695940b
RS
51882013-05-01 Richard Smith <richard@metafoo.co.uk>
5189
bb5f27ad 5190 [BZ #14952]
0695940b
RS
5191 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5192 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5193 Use __attribute__ ((__gnu_inline__)).
5194 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5195 Don't use __attribute__ ((__gnu_inline__)).
5196
10de07f5
JM
51972013-05-01 Joseph Myers <joseph@codesourcery.com>
5198
5199 [BZ #15423]
5200 * math/s_catan.c (__catan): Handle small real or imaginary part of
5201 input specially to avoid spurious underflow.
5202 * math/s_catanf.c (__catanf): Likewise.
5203 * math/s_catanh.c (__catanh): Likewise.
5204 * math/s_catanhf.c (__catanhf): Likewise.
5205 * math/s_catanhl.c (__catanhl): Likewise.
5206 * math/s_catanl.c (__catanl): Likewise.
5207 * math/libm-test.inc (catan_test): Add more tests.
5208 (catanh_test): Likewise.
5209 * sysdeps/i386/fpu/libm-test-ulps: Update.
5210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5211
cb4d5414
AZ
52122013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5213
5214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5215
caf84319
JM
52162013-04-30 Joseph Myers <joseph@codesourcery.com>
5217
5218 [BZ #15416]
5219 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5220 accurately for denominator in atan2.
5221 * math/s_catanf.c (__catanf): Likewise.
5222 * math/s_catanh.c (__catanh): Likewise.
5223 * math/s_catanhf.c (__catanhf): Likewise.
5224 * math/s_catanhl.c (__catanhl): Likewise.
5225 * math/s_catanl.c (__catanl): Likewise.
5226 * math/libm-test.inc (catan_test): Add more tests.
5227 (catanh_test): Likewise.
5228 * sysdeps/i386/fpu/libm-test-ulps: Update.
5229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5230
d569c6ee
SP
52312013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5232
6dbe713d
SP
5233 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5234
f0ee064b
SP
5235 * benchtests/Makefile (bench): Remove slow benchmarks.
5236 * benchtests/atan-inputs: Add slow benchmark inputs.
5237 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5238 (BENCH_FUNC): Accept variant offset.
5239 (VARIANT): Define.
5240 * benchtests/bench-skeleton.c (main): Run benchmark for each
5241 variant.
5242 * benchtests/cos-inputs: Add slow benchmark inputs.
5243 * benchtests/exp-inputs: Likewise.
5244 * benchtests/pow-inputs: Likewise.
5245 * benchtests/sin-inputs: Likewise.
5246 * benchtests/slowatan-inputs: Remove.
5247 * benchtests/slowatan.c: Remove.
5248 * benchtests/slowcos-inputs: Remove.
5249 * benchtests/slowcos.c: Remove.
5250 * benchtests/slowexp-inputs: Remove.
5251 * benchtests/slowexp.c: Remove.
5252 * benchtests/slowpow-inputs: Remove.
5253 * benchtests/slowpow.c: Remove.
5254 * benchtests/slowsin-inputs: Remove.
5255 * benchtests/slowsin.c: Remove.
5256 * benchtests/slowtan-inputs: Remove.
5257 * benchtests/slowtan.c: Remove.
5258 * benchtests/tan-inputs: Add slow benchmark inputs.
5259 * scripts/bench.pl: Parse comments and directives.
5260
d569c6ee
SP
5261 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5262 in CPPFLAGS.
5263 ($(objpfx)bench-%.c): Remove *-ITER.
5264 * benchtests/bench-modf.c: Remove definition of ITER.
5265 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5266 (main): Loop for DURATION seconds instead of fixed number of
5267 iterations.
5268 * scripts/bench.pl: Don't expect iterations in parameters.
5269
a6a242fe
RM
52702013-04-29 Roland McGrath <roland@hack.frob.com>
5271
5272 * io/fchdir.c (__fchdir): Renamed from fchdir.
5273 (fchdir): Define as weak alias.
5274
f2da7793
JM
52752013-04-29 Joseph Myers <joseph@codesourcery.com>
5276
5277 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5278 (ERRNO_EDOM): Likewise.
5279 (ERRNO_ERANGE): Likewise.
5280 (noErrnoTests): New variable.
5281 (init_max_error): Set errno to 0.
5282 (test_single_errno): New function.
5283 (test_errno): Likewise.
5284 (check_float_internal): Call test_errno. Set errno to 0.
5285 (check_complex): Refer to errno tests in comment.
5286 (check_int): Call test_errno. Set errno to 0.
5287 (check_long): Likewise.
5288 (check_bool): Likewise.
5289 (check_longlong): Likewise.
5290 (cos_test): Use ERRNO_* flags for errno tests instead of
5291 check_int.
5292 (expm1_test): Likewise.
5293 (fmod_test): Likewise.
5294 (ilogb_test): Likewise.
5295 (lgamma_test): Likewise.
5296 (pow_test): Likewise.
5297 (remainder_test): Likewise.
5298 (sin_test): Likewise.
5299 (tan_test): Likewise.
5300 (yn_test): Likewise.
5301 (initialize): Set errno to 0.
5302 (main): Print number of errno tests.
5303 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5304
b1a36ceb
AJ
53052013-04-29 Andreas Jaeger <aj@suse.de>
5306
c3ed8088
AJ
5307 [BZ #15084]
5308 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5309 and RES_USEVC.
5310
f1a24198
AJ
5311 [BZ #15085]
5312 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5313 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5314 unimplemented.
5315
9ce3b2cb
AJ
5316 [BZ #15380]
5317 * stdlib/random.c (__initstate): Return NULL if
5318 __initstate fails.
5319
f1a24198 5320 [BZ #15086]
b1a36ceb
AJ
5321 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5322 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5323 RES_SNGLKUPREOP.
5324
7e7b6f36
AZ
53252013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5326
5327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5328
4d14f449
JM
53292013-04-29 Joseph Myers <joseph@codesourcery.com>
5330
5331 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5332 of individual tests.
5333 (casin_test): Likewise.
5334 (casinh_test): Likewise.
5335
5b4217d7
JM
53362013-04-27 Joseph Myers <joseph@codesourcery.com>
5337
5338 [BZ #15409]
5339 * math/s_catan.c (__catan): Handle arguments with large real or
5340 imaginary part separately without squaring.
5341 * math/s_catanf.c (__catanf): Likewise.
5342 * math/s_catanh.c (__catanh): Likewise.
5343 * math/s_catanhf.c (__catanhf): Likewise.
5344 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5345 and redefine.
5346 (__catanhl): Handle arguments with large real or imaginary part
5347 separately without squaring.
5348 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5349 and redefine.
5350 (__catanl): Handle arguments with large real or imaginary part
5351 separately without squaring.
5352 * math/libm-test.inc (catan_test): Add more tests.
5353 (catanh_test): Likewise.
5354 * sysdeps/i386/fpu/libm-test-ulps: Update.
5355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5356
4220c3ef
AJ
53572013-04-27 Andreas Jaeger <aj@suse.de>
5358
5359 [BZ #15007]
5360 * stdlib/stdlib.h: Update guards for qecvt.
5361 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5362 <stdlib.h>.
5363
4721b2d1
AM
53642013-04-27 Allan McRae <allan@archlinux.org>
5365
5366 * sysdeps/i386/fpu/libm-test-ulps: Update.
5367
f0302940
JM
53682013-04-26 Joseph Myers <joseph@codesourcery.com>
5369
9457fd95
JM
5370 [BZ #15406]
5371 * math/s_catan.c: Include <float.h>.
5372 (__catan): Ensure underflow exception occurs for underflowed
5373 result.
5374 * math/s_catanf.c: Include <float.h>.
5375 (__catanf): Ensure underflow exception occurs for underflowed
5376 result.
5377 * math/s_catanh.c: Include <float.h>.
5378 (__catanh): Ensure underflow exception occurs for underflowed
5379 result.
5380 * math/s_catanhf.c: Include <float.h>.
5381 (__catanhf): Ensure underflow exception occurs for underflowed
5382 result.
5383 * math/s_catanhl.c: Include <float.h>.
5384 (__catanhl): Ensure underflow exception occurs for underflowed
5385 result.
5386 * math/s_catanl.c: Include <float.h>.
5387 (__catanl): Ensure underflow exception occurs for underflowed
5388 result.
5389 * math/libm-test.inc (catan_test): Add more tests.
5390 (catanh_test): Likewise.
5391
f0302940
JM
5392 [BZ #15405]
5393 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5394 underflowed result.
5395 * math/s_ccoshf.c (__ccoshf): Likewise.
5396 * math/s_ccoshl.c (__ccoshl): Likewise.
5397 * math/s_csin.c (__csin): Likewise.
5398 * math/s_csinf.c (__csinf): Likewise.
5399 * math/s_csinh.c (__csinh): Likewise.
5400 * math/s_csinhf.c (__csinhf): Likewise.
5401 * math/s_csinhl.c (__csinhl): Likewise.
5402 * math/s_csinl.c (__csinl): Likewise.
5403 * math/libm-test.inc (ccos_test): Add more tests.
5404 (ccosh_test): Likewise.
5405 (csin_test): Likewise.
5406 (csinh_test): Likewise.
5407
aa630f59
AZ
54082013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5409
5410 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5411 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5412 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5413 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5414 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5415 powerpc/power5+/fpu folders.
5416 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5417
5418
1b835983
MT
54192013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5420
5421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5422
73709b26
JM
54232013-04-25 Joseph Myers <joseph@codesourcery.com>
5424
5425 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5426 additions to variable.
5427 [$(config-machine) = x86_64] (modules-names): Likewise.
5428 ($(objpfx)tst-audit3): Remove dependency.
5429 ($(objpfx)tst-audit3.out): Likewise.
5430 ($(objpfx)tst-audit4): Likewise.
5431 ($(objpfx)tst-audit4.out): Likewise.
5432 ($(objpfx)tst-audit5): Likewise.
5433 ($(objpfx)tst-audit5.out): Likewise.
5434 ($(objpfx)tst-audit6): Likewise.
5435 ($(objpfx)tst-audit6.out): Likewise.
5436 ($(objpfx)tst-audit7): Likewise.
5437 ($(objpfx)tst-audit7.out): Likewise.
5438 (tst-audit3-ENV): Remove variable.
5439 (tst-audit4-ENV): Likewise.
5440 (tst-audit5-ENV): Likewise.
5441 (tst-audit6-ENV): Likewise.
5442 (tst-audit7-ENV): Likewise.
5443 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5444 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5445 addition to variable.
5446 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5447 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5448 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5449 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5450 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5451 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5452 tst-audit3, tst-audit4 and tst-audit5.
5453 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5454 tst-audit6 and tst-audit7.
5455 [$(subdir) = elf] (modules-names): Add audit modules for those
5456 tests.
5457 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5458 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5459 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5460 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5461 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5462 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5463 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5464 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5465 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5466 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5467 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5468 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5469 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5470 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5471 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5472 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5473 Likewise.
5474 [$(subdir) = elf && $(config-cflags-avx) = yes]
5475 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5476 [$(subdir) = elf && $(config-cflags-avx) = yes]
5477 (CFLAGS-tst-auditmod4a.c): Likewise.
5478 [$(subdir) = elf && $(config-cflags-avx) = yes]
5479 (CFLAGS-tst-auditmod4b.c): Likewise.
5480 [$(subdir) = elf && $(config-cflags-avx) = yes]
5481 (CFLAGS-tst-auditmod6b.c): Likewise.
5482 [$(subdir) = elf && $(config-cflags-avx) = yes]
5483 (CFLAGS-tst-auditmod6c.c): Likewise.
5484 [$(subdir) = elf && $(config-cflags-avx) = yes]
5485 (CFLAGS-tst-auditmod7b.c): Likewise.
5486 * elf/tst-audit3.c: Move to ...
5487 * sysdeps/x86_64/tst-audit3.c: ... here.
5488 * elf/tst-audit4.c: Move to ...
5489 * sysdeps/x86_64/tst-audit4.c: ... here.
5490 * elf/tst-audit5.c: Move to ...
5491 * sysdeps/x86_64/tst-audit5.c: ... here.
5492 * elf/tst-audit6.c: Move to ...
5493 * sysdeps/x86_64/tst-audit6.c: ... here.
5494 * elf/tst-audit7.c: Move to ...
5495 * sysdeps/x86_64/tst-audit7.c: ... here.
5496 * elf/tst-auditmod3a.c: Move to ...
5497 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5498 * elf/tst-auditmod3b.c: Move to ...
5499 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5500 * elf/tst-auditmod4a.c: Move to ...
5501 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5502 * elf/tst-auditmod4b.c: Move to ...
5503 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5504 * elf/tst-auditmod5a.c: Move to ...
5505 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5506 * elf/tst-auditmod5b.c: Move to ...
5507 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5508 * elf/tst-auditmod6a.c: Move to ...
5509 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5510 * elf/tst-auditmod6b.c: Move to ...
5511 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5512 * elf/tst-auditmod6c.c: Move to ...
5513 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5514 * elf/tst-auditmod7a.c: Move to ...
5515 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5516 * elf/tst-auditmod7b.c: Move to ...
5517 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5518
1ef74943
PP
55192013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5520
5521 [BZ #15366]
5522 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5523 define unconditionally.
5524 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5525 define unconditionally.
5526 (INT8_C, INT16_C, etc.): Likewise.
5527
93fd48c5
MR
55282013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5529
ae9552cf
MR
5530 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5531 __ehdr_start with hidden visibility.
5532
93fd48c5
MR
5533 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5534
418601aa
CD
55352013-04-24 Carlos O'Donell <carlos@redhat.com>
5536
5537 * math/libm-test.inc (cos_test): Use accurate hex constants.
5538 (sincost_test): Likewise.
5539
2f38fbfe
JM
55402013-04-24 Joseph Myers <joseph@codesourcery.com>
5541
5e221800
JM
5542 * math/libm-test.inc (catan_test): Add more tests.
5543 (catanh_test): Likewise.
5544
77f143fd
JM
5545 * math/s_catanf.c (__catanf): Use suffixed floating-point
5546 constants.
5547 * math/s_catanhf.c (__catanhf): Likewise.
5548 * math/s_catanhl.c (__catanhl): Likewise.
5549 * math/s_catanl.c (__catanl): Likewise.
5550
2f38fbfe
JM
5551 [BZ #15394]
5552 * math/s_catan.c (__catan): Calculate imaginary part of result
5553 with log1p not log unless computing log of number close to 0.
5554 * math/s_catanf.c (__catanf): Likewise.
5555 * math/s_catanl.c (__catanl): Likewise.
5556 * math/s_catanh.c (__catanh): Calculate real part of result with
5557 log1p not log unless computing log of number close to 0.
5558 * math/s_catanhf.c (__catanhf): Likewise.
5559 * math/s_catanhl.c (__catanhl): Likewise.
5560 * math/libm-test.inc (catan_test): Add more tests.
5561 (catanh_test): Likewise.
5562 * sysdeps/i386/fpu/libm-test-ulps: Update.
5563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5564
45d69176
SP
55652013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5566
5567 * benchtests/Makefile: Mention files in which fast and slow
5568 paths of math functions are implemented.
5569
87f51853
RM
55702013-04-23 Roland McGrath <roland@hack.frob.com>
5571
5572 * sysdeps/posix/timespec_get.c: New file.
5573
3c026539
AZ
55742013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5575
5576 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5577 POWER.
5578 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5579 for POWER.
5580 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5581 powerpc/power5/fpu folders.
5582 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5583 * benchtests/Makefile: Add modf testcase.
5584 * benchtests/bench-modf.c: New file: Benchmark test for mo
5585
ff491d14
SP
55862013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5587
5588 [BZ #14888]
5589 * time/Makefile (tests): Add tst-strptime-whitespace.
5590 * time/strptime_l.c (get_number): Use ISSPACE.
5591 (__strptime_internal): Likewise.
5592 * time/tst-strptime-whitespace.c: New test case.
5593
7ed3f4e8
AS
55942013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5595
5596 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5597 member.
5598 (_nss_files_init): Set it here.
5599
5c95f7b6
HC
56002013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5601
5602 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5603 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5604 unsigned.
5605
d34c9158
JBG
56062013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5607
5608 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5609
2169712d
SP
56102013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5611
5612 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5613 size just once.
5614
29c5de99
DM
56152013-04-21 David S. Miller <davem@davemloft.net>
5616
5617 * po/ru.po: Update Russion translation from translation project.
5618
ccdad15d
AC
56192013-04-17 Adam Conrad <adconrad@0c3.net>
5620
5621 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5622 and setfsgid.
5623
0f122b8d
CD
56242013-04-17 Carlos O'Donell <carlos@redhat.com>
5625
5c5b07da 5626 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5627 * configure: Regenerate.
5c5b07da 5628 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5629 Add example to error message.
5630 * sysdeps/i386/configure: Regenerate.
5631
037714dd
SP
56322013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5633
5634 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5635 slowtan.
5636 * benchtests/cos-inputs: New file.
5637 * benchtests/slowcos-inputs: New file.
5638 * benchtests/slowcos.c: New file.
5639 * benchtests/slowtan-inputs: New file.
5640 * benchtests/slowtan.c: New file.
5641 * benchtests/tan-inputs: New file.
5642
e913141d
RM
56432013-04-16 Roland McGrath <roland@hack.frob.com>
5644
5645 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5646 considered kosher.
5647
a2964074
SP
56482013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5649
4856bcd2
SP
5650 * benchtests/Makefile: Include cppflags-iterator.mk to add
5651 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5652
a2964074
SP
5653 * Makefile.in (bench-clean): New target.
5654 * benchtests/Makefile (bench-clean): Likewise.
5655
9fbf9aca
DH
56562013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5657
5658 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5659
207d1e2a
TS
56602013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5661
5662 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5663
306dfba9
AS
56642013-04-15 Andreas Schwab <schwab@suse.de>
5665
5666 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5667 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5668 * nscd/pwdcache.c (cache_addpw): Likewise.
5669 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5670 more than recsize.
5671
206a6699
SP
56722013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5673
5674 * benchtests/Makefile (bench): Write all output to
5675 bench-out.tmp together.
5676
0582f6b3
AS
56772013-04-15 Andreas Schwab <schwab@suse.de>
5678
5679 * nscd/nscd.c (main): Don't fork again after closing files.
5680
acb4325f
SP
56812013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5682
5cb26d0a
SP
5683 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5684
acb4325f
SP
5685 * benchtests/Rules (bench-deps): Collect dependencies into a
5686 single variable. Add Makefile to dependencies.
5687 ($(objpfx)bench-%.c): Depend on bench-deps.
5688
47792506
RM
56892013-04-12 Roland McGrath <roland@hack.frob.com>
5690 Xavier Roche <roche+kml2@exalead.com>
5691
5692 [BZ #15361]
5693 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5694 just that it's a file descriptor.
5695 * manual/llio.texi (Synchronizing AIO Operations): Update description
5696 for EBADF error from aio_fsync.
5697
8fc1bee5
SP
56982013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5699
5700 * Rules (bench): Move target definition...
5701 * benchtests/Makefile: ... here.
5702
aba5e333
CD
57032013-04-11 Carlos O'Donell <carlos@redhat.com>
5704
5705 * math/libm-test.inc (cos_test): Fix PI/2 test.
5706 (sincos_test): Likewise.
5707 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5708 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5709
273cdee8
AS
57102013-04-11 Andreas Schwab <schwab@suse.de>
5711
6ecec3b6
AS
5712 [BZ #13988]
5713 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5714 accept exponent character only when digits were seen.
5715 * stdio-common/Makefile (tests): Add bug26.
5716 * stdio-common/bug26.c: New file.
5717
273cdee8
AS
5718 [BZ #14293]
5719 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5720 non-freeable.
5721
8da491f5
SP
57222013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5723
01dc6df9
SP
5724 * Makeconfig (rtld-prefix): Define built linker prefix.
5725 * Rules (run-bench): Use it.
5726 * math/Makefile (run-regen-ulps): Likewise.
5727
8da491f5
SP
5728 * Rules (bench): Remove eval.
5729
abe7f530
SP
57302013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5731 Roland McGrath <roland@hack.frob.com>
5732 Ondrej Bilka <neleai@seznam.cz>
5733
5734 [BZ #15346]
5735 * time/getdate.c: Include ctype.h and alloca.h.
5736 (__getdate_r): Trim leading and trailing spaces of input.
5737 * time/tst-getdate.c (tests): Add tests with leading and
5738 trailing spaces.
5739
61c23e62
RM
57402013-04-08 Roland McGrath <roland@hack.frob.com>
5741
5742 [BZ #14280]
5743 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5744 when computing value.
5745
7208a313
CD
57462013-04-06 Carlos O'Donell <carlos@redhat.com>
5747
085b2d41
CD
5748 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5749 Use testrun.sh to run libm tests.
5750
7208a313
CD
5751 [BZ #15309]
5752 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5753
872c0acd
MM
57542013-04-06 Marko Myllynen <myllynen@redhat.com>
5755
5756 [BZ #15264]
5757 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5758
26510bdd
CD
57592013-04-06 Carlos O'Donell <carlos@redhat.com>
5760
5761 * Makefile.in (regen-ulps): New target.
5762 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5763 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5764 [ifneq (no,$(PERL)] (regen-ulps): New target.
5765 [ifeq (no,$(PERL)] (regen-ulps): New target.
5766 * math/libm-test.inc (ulps_file_name): Define.
5767 (output_dir): New variable.
5768 (options): Add "output-dir" option.
5769 (parse_opt): Handle 'o' case.
5770 (main): If output_dir is non-NULL use it as a prefix
5771 otherwise use "".
5772 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5773
a01f19c8
CD
57742013-04-06 Carlos O'Donell <carlos@redhat.com>
5775
5776 [BZ #10060, #10062]
5777 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5778 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5779 fail configure if __sync_val_compare_and_swap is not inlined.
5780 * sysdeps/i386/configure: Regenerate.
5781 * configure.in: Build for i686 when configured for i386.
5782 * configure: Regenerate.
5783 * README: Remove i386 reference.
5784
b7a329a5
CD
57852013-04-06 Carlos O'Donell <carlos@redhat.com>
5786
5787 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5788 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5789
bf0f50df
TS
57902013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5791
ee091edf
TS
5792 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5793 (lmsnanval): New variables.
5794 (F): Add conversion tests.
5795 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5796 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5797
a8b792d6
TS
5798 * stdio-common/tstdiomisc.c (F): Properly collect individual
5799 tests' results.
5800
a1cbf437
TS
5801 [BZ #14686, #15336]
5802 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5803 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5804 Instead, use input NaN values or generate a qNaN by arithmetic
5805 operation. Also fix bugs to comply with the standard.
5806 * math/libm-test.inc (remainder_test): Add more tests.
5807
8b43a0c9
TS
5808 [BZ #15335, #15342]
5809 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5810 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5811 input NaN values or generate a qNaN by arithmetic operation.
5812
d91da4ce
TS
5813 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5814 unreachable code.
5815
bf0f50df
TS
5816 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5817 definitions.
5818
05e166c8
JM
58192013-04-03 Joseph Myers <joseph@codesourcery.com>
5820
5821 [BZ #14478]
5822 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5823 underflowed result.
5824 * math/s_cexpf.c (__cexpf): Likewise.
5825 * math/s_cexpl.c (__cexpl): Likewise.
5826 * math/libm-test.inc (cexp_test): Add more tests.
5827
1cef1b19
AS
58282013-04-03 Andreas Schwab <schwab@suse.de>
5829
5830 [BZ #15330]
5831 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5832 order arrays from heap if bigger than alloca cutoff.
5833
74d87055
TS
58342013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5835
5836 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5837 (SNAN_TESTS_double): Refer to GCC PR56831.
5838 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5839 GCC PR56828.
5840
d755bba4
SP
58412013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5842
90d5d5bb
SP
5843 * Rules (bench): Move bench.out after the run is complete.
5844
73e0cd5d
SP
5845 * Rules (bench): Echo currently running benchmark.
5846
64aabd4b
SP
5847 * benchtests/Makefile (bench): Add atan and slowatan.
5848 * benchtests/atan-inputs: New file.
5849 * benchtests/slowatan-inputs: New file.
5850 * benchtests/slowatan.c: New file.
5851
c871eccd
SP
5852 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5853 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5854 its value.
5855
d755bba4
SP
5856 [BZ #15305]
5857 * sysdeps/unix/sysv/linux/kernel-features.h
5858 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5859 __ASSUME_XFS_RESTRICTED_CHOWN.
5860 * sysdeps/unix/sysv/linux/pathconf.c
5861 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5862 Save and restore errno.
5863
52ce4860
JM
58642013-04-02 Joseph Myers <joseph@codesourcery.com>
5865
5866 [BZ #15327]
5867 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5868 arguments using __kernel_casinh.
5869 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5870 arguments using __kernel_casinhf.
5871 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5872 arguments using __kernel_casinhl.
5873 * math/libm-test.inc (cacosh_test): Add more tests.
5874 * sysdeps/i386/fpu/libm-test-ulps: Update.
5875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5876
81f311c2
SP
58772013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5878
e7906a47
SP
5879 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5881
92e3664b
SP
5882 * bench/Makefile (bench): Add sin and slowsin.
5883 * benchtests/sin-inputs: New file.
5884 * benchtests/slowsin-inputs: New file.
5885 * benchtests/slowsin.c: New file.
5886
81f311c2
SP
5887 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5888 (bench): Add slowexp and slowpow.
5889 (exp-ITER): Increase iterations.
5890 (pow-ITER): Likewise.
5891 * benchtests/exp-inputs: Change input.
5892 * benchtests/pow-inputs: Likewise.
5893 * benchtests/slowexp-inputs: New file.
5894 * benchtests/slowexp.c: New file.
5895 * benchtests/slowpow-inputs: New file.
5896 * benchtests/slowpow.c: New file.
5897
ab0f1aa9
AZ
58982013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5899
5900 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5901 instructions.
5902 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5903 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5904 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5905 * benchtests/Makefile: Add rint benchtest.
5906 * benchtests/rint-inputs: Input for rint benchtest.
5907
57267616
TS
59082013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5909
5910 * Versions.def (libm): Add GLIBC_2.18.
5911 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5912 hidden libm prototypes.
5913 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5914 * math/Makefile (libm-calls): Add s_issignaling.
5915 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5916 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5917 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5918 declaration.
5919 * math/math.h [__USE_GNU] (issignaling): New macro.
5920 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5921 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5922 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5923 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5924 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5925 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5926 * manual/arith.texi (issignaling): New section.
5927 * manual/libm-err-tab.pl (@all_functions): Update comment.
5928 * math/gen-libm-test.pl (parse_args): Apply special handling for
5929 issignaling.
5930 * math/libm-test.inc (print_float, issignaling_test): New
5931 functions.
5932 (check_float_internal): Add issignaling checks.
5933 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5934 default definition.
5935 * sysdeps/powerpc/math-tests.h: New file.
5936 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5937 tests.
5938 * math/test-snan.c (TEST_FUNC): Likewise.
5939
6142896d
DM
59402013-03-30 David S. Miller <davem@davemloft.net>
5941
5942 * po/de.po: Update from translation team.
5943
ccc8cadf
JM
59442013-03-30 Joseph Myers <joseph@codesourcery.com>
5945
5946 [BZ #10357]
5947 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5948 imaginary part less than 1.0 and real part less than 0.5
5949 specially.
5950 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5951 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5952 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5953 (cacos_test): Add more tests.
5954 (casin_test): Likewise.
5955 (casinh_test): Likewise.
5956 * sysdeps/i386/fpu/libm-test-ulps: Update.
5957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5958
0f6a8d4b
SP
59592013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5960
0d1029de
SP
5961 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5962 ONE with its value.
5963
c2d94018
SP
5964 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5965 (__pow_mp): Replace ONE and MONE with their values.
5966 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5967 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5968 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5969 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5970 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5971 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5972
27ec37f1
SP
5973 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5974
a64d7e0e
SP
5975 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5976 (__pow_mp): Replace ZERO and MZERO with their values.
5977 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5978 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5979 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5980 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5981 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5982 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5983 (__sqr): Likewise.
5984
d26dd3eb
SP
5985 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5986
0f6a8d4b
SP
5987 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5988
e57b0c61
RM
59892013-03-28 Roland McGrath <roland@hack.frob.com>
5990
5991 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5992 Declare with __attribute__ ((weak)).
5993 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5994 Call __call_tls_dtors only if it's not NULL.
5995
356b3480
RM
59962013-03-28 Roland McGrath <roland@hack.frob.com>
5997
288f7d79
RM
5998 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5999 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6000 magic __ehdr_start linker symbol if it's defined.
6001 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6002 them up here if it was already done.
6003
dc0a0263
RM
6004 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6005 (_dl_aux_init): Use const in cast when setting it.
6006 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6007 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6008 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6009
3d3436ae
RM
6010 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6011 Declare them here.
6012 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6013 * csu/libc-tls.c: Nor here.
6014 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6015
356b3480
RM
6016 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6017 (__libc_message): Never call vsyslog.
6018
b0f1246a
AM
60192013-03-28 Alan Modra <amodra@gmail.com>
6020
6021 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6022 Define as empty.
6023 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6024 Likewise.
6025
fbbe2b9a
AZ
60262013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6027
6028 [BZ #15214]
6029 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6030 underflow.
6031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6032
1728ab37
SP
60332013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6034
7a86be6e
SP
6035 [BZ #15304]
6036 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6037 Don't add gid passed as argument.
6038
1728ab37
SP
6039 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6040
3a7182a1
JM
60412013-03-27 Joseph Myers <joseph@codesourcery.com>
6042
6043 [BZ #15307]
6044 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6045 imaginary part between 1.0 and 1.5 and real part less than 0.5
6046 specially.
6047 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6048 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6049 * math/libm-test.inc (cacos_test): Add more tests.
6050 (casin_test): Likewise.
6051 (casinh_test): Likewise.
6052 * sysdeps/i386/fpu/libm-test-ulps: Update.
6053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6054
6f2e90e7
SP
60552013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6056
5739f705
SP
6057 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6058 constants.
6059 (norm): Likewise.
6060 (denorm): Likewise.
6061 (__dbl_mp): Likewise.
6062 (add_magnitudes): Likewise.
6063 (sub_magnitudes): Likewise.
6064 (__add): Likewise.
6065 (__sub): Likewise.
6066 (__mul): Likewise.
6067 (__sqr): Likewise.
6068 (__inv): Likewise.
6069 (__dvd): Likewise.
6070
e375e83d
SP
6071 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6072 commented code.
6073 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6074 (__dubcos): Likewise.
6075 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6076 (__ieee754_acos): Likewise.
6077 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6078 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6079 (__exp1): Likewise.
6080 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6081 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6082 (log1): Likewise.
6083 (my_log2): Likewise.
6084 (checkint): Likewise.
6085 * sysdeps/ieee754/dbl-64/e_remainder.c
6086 (__ieee754_remainder): Likewise.
6087 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6088 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6089 (bsloww): Likewise.
6090 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6091
6f2e90e7
SP
6092 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6093 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6094 MANTISSA_STORE_T to store computations on mantissa. Use
6095 macros for rounding and division.
6096 (denorm): Likewise.
6097 (__dbl_mp): Likewise.
6098 (add_magnitudes): Likewise.
6099 (sub_magnitudes): Likewise.
6100 (__mul): Likewise.
6101 (__sqr): Likewise.
6102 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6103 powers of two in terms of TWOPOW macro.
6104 (mp_no): Make type of mantissa as MANTISSA_T.
6105 [!RADIXI]: Define RADIXI.
6106 [!TWO52]: Define TWO52.
6107 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6108
fce14d4e
AZ
61092013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6110
6111 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6112 llroundl symbol when building for PPC32.
6113
9ad027fb
MW
61142013-03-24 Mark H Weaver <mhw@netris.org>
6115
6116 * manual/arith.texi (Normalization Functions): Fix prototypes for
6117 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6118
e42a38dd
AZ
61192013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6120
6121 [BZ #13889]
6122 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6123 high value to check if expl overflow.
6124 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6125 to check for underflow and overflow.
6126 * math/libm-test.inc: Add exp test.
6127
2e0fb521
DL
61282013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6129
6130 [BZ #11120]
6131 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6132 with NOT_IN_libc.
6133
b5784d95
AZ
61342013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6135
6136 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6137 symbol.
6138
5aa4a1a1
TS
61392013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6140
bdef0be7
TS
6141 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6142 wrap blocks consisting of several statements.
6143
5aa4a1a1
TS
6144 * sysdeps/generic/math-tests.h: New file.
6145 * sysdeps/i386/fpu/math-tests.h: Likewise.
6146 * math/test-snan.c: Include it.
6147 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6148
98c48fe5
JM
61492013-03-21 Joseph Myers <joseph@codesourcery.com>
6150
6151 [BZ #15285]
6152 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6153 (__ieee754_j0l): Do not improve calculations using cos of twice
6154 input for inputs above LDBL_MAX / 2.0L.
6155 (__ieee754_y0l): Likewise.
6156 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6157 (__ieee754_j1l): Do not improve calculations using cos of twice
6158 input for inputs above LDBL_MAX / 2.0L.
6159 (__ieee754_y1l): Likewise.
6160 * math/libm-test.inc (j0_test): Add another test.
6161 (j1_test): Likewise.
6162 (y0_test): Likewise.
6163 (y1_test): Likewise.
6164 * sysdeps/i386/fpu/libm-test-ulps: Update.
6165
3775a8bc
SP
61662013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6167
6168 * Rules ($(objpfx)bench-%.c): Include code from a C source
6169 file.
6170
0a1b2ae6
JM
61712013-03-21 Joseph Myers <joseph@codesourcery.com>
6172
6173 [BZ #15287]
6174 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6175 imaginary part 1.0 and real part less than 0.5 specially.
6176 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6177 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6178 * math/libm-test.inc (cacos_test): Add more tests.
6179 (casin_test): Likewise.
6180 (casinh_test): Likewise.
6181 * sysdeps/i386/fpu/libm-test-ulps: Update.
6182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6183
b33d4ce4
SP
61842013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6185
6186 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6187 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6188
bef0b507
JM
61892013-03-20 Joseph Myers <joseph@codesourcery.com>
6190
6191 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6192 * config.make.in (config-cflags-sse4): Remove variable.
6193 (config-cflags-avx): Likewise.
6194 (config-cflags-sse2avx): Likewise.
6195 (config-cflags-novzeroupper): Likewise.
6196 (config-asflags-i686): Likewise.
6197 (have-mfma4): Likewise.
6198 (have-as-vis3): Likewise.
6199 (MIG): Likewise.
6200 * configure.in (MIG): Do not AC_SUBST.
6201 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6202 (libc_cv_cc_sse4): Do not AC_SUBST.
6203 (libc_cv_cc_avx): Likewise.
6204 (libc_cv_cc_sse2avx): Likewise.
6205 (libc_cv_cc_novzeroupper): Likewise.
6206 (libc_cv_cc_fma4): Likewise.
6207 (libc_cv_as_i686): Likewise.
6208 (libc_cv_sparc_as_vis3): Likewise.
6209 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6210 LIBC_CONFIG_VAR.
6211 (config-asflags-i686): Likewise.
6212 (config-cflags-avx): Likewise.
6213 (config-cflags-sse2avx): Likewise.
6214 (have-mfma4): Likewise.
6215 (config-cflags-novzeroupper): Likewise.
6216 * sysdeps/mach/configure.in (MIG): Likewise.
6217 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6218 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6219 LIBC_CONFIG_VAR.
6220 (config-cflags-avx): Likewise.
6221 (config-cflags-sse2avx): Likewise.
6222 (have-mfma4): Likewise.
6223 (config-cflags-novzeroupper): Likewise.
6224 * configure: Regenerated.
6225 * sysdeps/i386/configure: Likewise.
6226 * sysdeps/mach/configure: Likewise.
6227 * sysdeps/sparc/configure: Likewise.
6228 * sysdeps/x86_64/configure: Likewise.
6229
912cc4b3
RM
62302013-03-20 Roland McGrath <roland@hack.frob.com>
6231
6232 [BZ #14812]
6233 * locale/programs/localedef.c (options): Put N_ translation marker
6234 on argument names, not just descriptions.
6235
04eed2b0
MS
62362013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6237
6238 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6239
a065ceff
OB
62402013-03-20 Ondřej Bílka <neleai@seznam.cz>
6241
9bb2a810 6242 [BZ #14176]
a065ceff
OB
6243 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6244
a600e5ce
RM
62452013-03-19 Roland McGrath <roland@hack.frob.com>
6246
6247 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6248 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6249 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6250 [!BEFORE_ABORT] (before_abort): New function.
6251 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6252 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6253 (writev_for_fatal): New function.
6254 (WRITEV_FOR_FATAL): New macro; call that.
6255 (backtrace_and_maps): New function.
6256 (BEFORE_ABORT): New macro; call that.
6257 (struct str_list): Type removed.
6258 (__libc_message, __libc_fatal): Functions removed.
6259 Include <sysdeps/posix/libc_fatal.c> instead.
6260
6b18bea6
JM
62612013-03-19 Joseph Myers <joseph@codesourcery.com>
6262
6263 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6264 constants.
6265 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6266 double constants.
6267
aaa8cb4b
AS
62682013-03-19 Andreas Schwab <schwab@suse.de>
6269
44673770
AS
6270 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6271 * sysdeps/gnu/configure: Regenerate.
6272
aaa8cb4b
AS
6273 * configure.in: Substitute libc_cv_rtlddir.
6274 * configure: Regenerate.
6275 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6276 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6277 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6278 * elf/Makefile (install-others, CFLAGS-interp.c)
6279 (ldso_install, common-ldd-rewrite): Likewise.
6280 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6281 $(inst_slibdir)/$(rtld-installed-name).
6282 * scripts/rellns-sh: Add -p option.
6283 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6284 for source.
6285
d3cfc668
SP
62862013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6287
6288 * manual/nptl.texi: Renamed to ...
6289 * manual/threads.texi: ... this.
6290 * manual/Makefile (chapters): Update.
6291
0e2b9cdd
RM
62922013-03-18 Roland McGrath <roland@hack.frob.com>
6293
6294 [BZ #14812]
6295 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6296 on argument names, not just descriptions.
0e2b9cdd
RM
6297 * malloc/memusagestat.c (options): Likewise.
6298 * nss/getent.c (options): Likewise.
63270c24
RM
6299
63002013-03-18 Benno Schulenberg <bensberg@justemail.net>
6301
6302 [BZ #14812]
6303 * iconv/iconv_prog.c (options): Put N_ translation marker
6304 on argument names, not just descriptions.
6305 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6306
b2e1393c
OB
63072013-03-18 Ondrej Bilka <neleai@seznam.cz>
6308
6309 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6310 implementation which is faster on all x86_64 architectures.
6311 Tested on AMD, Intel Nehalem, SNB, IVB.
6312 * sysdeps/x86_64/strnlen.S: Likewise.
6313
6314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6315 Remove all multiarch strlen and strnlen versions.
6316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6317 Remove strlen and strnlen related parts.
6318
6319 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6320 Inline strlen part.
6321 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6322
6323 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6324 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6325 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6326 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6327 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6328 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6329
ec4ff04d
CD
63302013-03-17 Carlos O'Donell <carlos@redhat.com>
6331
6332 * manual/memory.texi (Malloc Tunable Parameters):
6333 Sort parameters alphabetically. Add comments for missing entries.
6334
cd18e90a
DM
63352013-03-17 David S. Miller <davem@davemloft.net>
6336
6337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6338
2a185d32
JM
63392013-03-16 Joseph Myers <joseph@codesourcery.com>
6340
d2f9799e
JM
6341 [BZ #15283]
6342 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6343 for arguments at most half maximum finite value.
6344 * math/libm-test.inc (j0_test): Add more tests.
6345 (j1_test): Likewise.
6346 (y0_test): Likewise.
6347 (y1_test): Likewise.
6348 * sysdeps/i386/fpu/libm-test-ulps: Update.
6349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6350
2a185d32
JM
6351 [BZ #14155]
6352 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6353 1 / x and functions P and Q for arguments above 0x1p256L.
6354 (__ieee754_y0l): Likewise.
6355 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6356 (__ieee754_y1l): Likewise.
6357 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6358 (j1_test): Likewise.
6359 (y0_test): Likewise.
6360 (y1_test): Likewise.
6361
6cbec759
TS
63622013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6363
6364 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6365 variable.
6366
bc16e260
RM
63672013-03-15 Roland McGrath <roland@hack.frob.com>
6368
aefc9b8c
RM
6369 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6370 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6371 zero since it's initialized to EXEC_PAGESIZE.
6372
bc16e260
RM
6373 * sysdeps/unix/sysv/linux/ldsodefs.h
6374 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6375 * sysdeps/generic/ldsodefs.h: ... here.
6376
a57da955
TS
63772013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6378
af00a34d
TS
6379 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6380
495ded2c
TS
6381 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6382 math/test-snan.c.
6383 * math/test-snan.c: Renamed from
6384 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6385 * math/Makefile (tests): Add test-snan.
6386 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6387 test-powerpc-snan.
6388
777b0332
TS
6389 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6390 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6391 functions.
6392 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6393 __builtin_nan family of functions.
6394 * math/libm-test.inc (initialize): Initialize qnan_value with
6395 __builtin_nan family of functions.
6396 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6397 Remove variables.
6398 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6399 Remove functions.
6400 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6401 storage class. Initialize qNaN_var and sNaN_var with
6402 __builtin_nan and __builtin_nans families of functions,
6403 respectively.
6404
64d063b8
TS
6405 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6406 (sqrt_test): Remove duplicate test with qNaN input.
6407 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6408 (round_test, signbit_test, significand_test): Note missing +/-Inf
6409 as well as qNaN tests.
6410
67e971f1
TS
6411 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6412 qNaN_var. Fix a few strings, too.
6413 * math/libm-test.inc (nan_value): Rename to qnan_value.
6414 * math/gen-libm-test.pl (%beautify): Adjust to that.
6415 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6416 * math/test-misc.c (main): Likewise.
6417 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6418 to __qnan_bytes, and __qnan_union, respectively.
6419 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6420 Likewise.
6421 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6422 and lqnanval, respectively.
6423 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6424 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6425 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6426 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6427
64487e12
TS
6428 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6429 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6430 doubles.
6431
e015e27b
TS
6432 * math/test-misc.c (main): Fix copy'n'pastos.
6433 * misc/tst-efgcvt.c (special): Likewise.
6434
a57da955
TS
6435 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6436 Remove declarations.
6437
1e380345
SP
64382013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6439
6440 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6441 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6442 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6443 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6444
ef26eece
AZ
64452013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6446
6447 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6448 macro to return vdso values correctly in IFUNC implementations.
6449 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6450 Optimization by using IFUNC.
6451
8cfdb7e0
SP
64522013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6453 Richard Henderson <rth@redhat.com>
6454 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6455
6456 * Makefile.in (bench): New target.
6457 * NEWS: Mention the benchmark framework.
6458 * Rules (bench): Likewise.
6459 (binaries-bench): Generate binaries for functions to
6460 benchmark.
6461 * benchtests/Makefile: New makefile for benchmark tests.
6462 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6463 programs.
6464 * benchtests/exp-inputs: New input file for EXP function.
6465 * benchtests/pow-inputs: New input file for POW function.
6466 * scripts/bench.pl: New script to generate source files for
6467 benchmark programs.
6468
bcda9880
SP
64692013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6470
d22ca8cd
SP
6471 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6472 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6473 computations on mantissa. Use macros for rounding and
6474 division.
6475 (denorm): Likewise.
6476 (__dbl_mp): Likewise.
6477 (add_magnitudes): Likewise.
6478 (sub_magnitudes): Likewise.
6479 (__mul): Likewise.
6480 (__sqr): Likewise.
6481 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6482 powers of two in terms of TWOPOW macro.
6483 (mp_no): Make type of mantissa as MANTISSA_T.
6484 [!RADIXI]: Define RADIXI.
6485 [!TWO52]: Define TWO52.
6486 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6487
bcda9880
SP
6488 * manual/nptl.texi (cindex): Modify threads to pthreads.
6489
06d5adfb
JM
64902013-03-15 Joseph Myers <joseph@codesourcery.com>
6491
6492 * sysdeps/x86_64/preconfigure: Regenerated.
6493
41c7328e
JM
64942013-03-14 Joseph Myers <joseph@codesourcery.com>
6495
6496 [BZ #14155]
6497 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6498 0x1p28 and above.
6499 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6500 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6501 0x1p28 and above.
6502 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6503 * math/libm-test.inc (j0_test): Do not allow one spurious
6504 underflow exception.
6505 (y1_test): Likewise.
6506
e25cfa60
SP
65072013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6508
0409959c
SP
6509 * manual/Makefile (chapters): Add nptl.
6510 * manual/debug.texi (Debugging Support): Add link to Threads
6511 chapter.
6512 * manual/nptl.texi: New file.
6513
e25cfa60
SP
6514 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6515
58a1335e
PB
65162013-03-14 Petr Baudis <pasky@ucw.cz>
6517
6518 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6519 for non-NULL pointer before the memory validity test. Pointed
6520 out by Holger Brunck <holger.brunck@keymile.com>.
6521
9dc7c64f
AS
65222013-03-13 Andreas Schwab <schwab@suse.de>
6523
6524 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6525 instead of .os.
6526
54206aa6
JM
65272013-03-13 Joseph Myers <joseph@codesourcery.com>
6528
6529 * timezone/zic.c: Update from tzcode 2013b.
6530
e98cdb38
CD
65312013-03-12 Carlos O'Donell <carlos@redhat.com>
6532
6533 * manual/install.texi (Configuring and compiling):
6534 Mention i686 and i586.
6535 * INSTALL: Regenerate.
6536
9967e003
RM
65372013-03-12 Roland McGrath <roland@hack.frob.com>
6538
6539 * sysdeps/init_array/elf-init.c: New file.
6540 * csu/elf-init.c
6541 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6542 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6543
6544 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6545 __gmon_start__ as global, but as static with a .preinit_array pointer.
6546 * sysdeps/init_array/gmon-start.c: New file. Use that.
6547 * sysdeps/init_array/crti.S: New file, empty except for comments.
6548 * sysdeps/init_array/crtn.S: Likewise.
6549
e6b5a293 65502013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6551
6552 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6553 definining bcopy.
80f844c9
OB
6554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6555 Remove Prefer_SSE_for_memop.
6556 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6557 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6558 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6560 memset-x86-64.
80f844c9 6561 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6562 Remove bzero, memset ifunc support.
80f844c9
OB
6563 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6564 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6565 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6566 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6567
fb6b0fcb
AS
65682013-03-11 Andreas Schwab <schwab@suse.de>
6569
6570 [BZ #15234]
6571 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6572 by SHLIB_COMPAT.
6573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6574 (GLIBC_2.16): Remove pthread_atfork.
6575
3e6bd4b1
PP
65762013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6577
6578 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6579 (ptestcases.h): Likewise.
6580
222d7f00
RM
65812013-03-08 Roland McGrath <roland@hack.frob.com>
6582
6583 * Makeconfig ($(common-objpfx)config.status): Depend on
6584 sysdeps/*/preconfigure{,.in} too.
6585
1ba4f030
JM
65862013-03-08 Joseph Myers <joseph@codesourcery.com>
6587
a222d91a
JM
6588 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6589 (__free_hook): Use void * instead of __malloc_ptr_t.
6590 (__malloc_hook): Likewise.
6591 (__realloc_hook): Likewise.
6592 (__memalign_hook): Likewise.
6593 (__after_morecore_hook): Likewise.
6594 * malloc/arena.c (save_malloc_hook): Likewise.
6595 (save_free_hook): Likewise.
6596 * malloc/hooks.c (malloc_hook_ini): Likewise.
6597 (realloc_hook_ini): Likewise.
6598 (memalign_hook_ini): Likewise.
6599 * malloc/malloc.c (malloc_hook_ini): Likewise.
6600 (realloc_hook_ini): Likewise.
6601 (memalign_hook_ini): Likewise.
6602 (__free_hook): Likewise.
6603 (__malloc_hook): Likewise.
6604 (__realloc_hook): Likewise.
6605 (__memalign_hook): Likewise.
6606 (__libc_malloc): Likewise.
6607 (__libc_free): Likewise.
6608 (__libc_realloc): Likewise.
6609 (__libc_memalign): Likewise.
6610 (__libc_valloc): Likewise.
6611 (__libc_pvalloc): Likewise.
6612 (__libc_calloc): Likewise.
6613 (__posix_memalign): Likewise.
6614 * malloc/morecore.c (__sbrk): Likewise.
6615 (__default_morecore): Likewise.
6616
5cc45e10
JM
6617 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6618
dd54b864
JM
6619 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6620 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6621 __malloc_ptrdiff_t.
6622
1ba4f030
JM
6623 * malloc/malloc.h (__malloc_size_t): Remove macro.
6624 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6625 __malloc_size_t.
6626 (old_memalign_hook): Likewise.
6627 (old_realloc_hook): Likewise.
6628 (struct hdr): Likewise.
6629 (flood): Likewise.
6630 (mallochook): Likewise.
6631 (memalignhook): Likewise.
6632 (reallochook): Likewise.
6633 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6634 (tr_old_realloc_hook): Likewise.
6635 (tr_old_memalign_hook): Likewise.
6636 (tr_mallochook): Likewise.
6637 (tr_reallochook): Likewise.
6638 (tr_memalignhook): Likewise.
6639
edf66e57
AZ
66402013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6641
6642 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6643 default_ldbl_pack and using as default implementation.
6644 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6645 implementation.
6646 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6647 redundant definition.
6648 (ldbl_insert_mantissa): Likewise.
6649 (ldbl_canonicalize): Likewise.
6650 (ldbl_nearbyint): Likewise.
6651 (ldbl_pack): Rename to ldbl_pack_ppc.
6652 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6653 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6654 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6655
6d9145d8
SP
66562013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6657
6658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6659 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6660 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6661 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6663 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6664 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6665 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6666
4dd4e157
AJ
66672013-03-07 Andreas Jaeger <aj@suse.de>
6668
6669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6670 bits/mman-linux.h.
6671
adbb8027
SP
66722013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6673
ce544b5b
SP
6674 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6675 Include mpa.h and declare __MPEXP.
6676 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6677 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6678 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6679 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6680 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6681 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6682 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6683
4cc149fd
SP
6684 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6685 (__slowpow): Use long double EXPL and LOGL functions to
6686 compute POW.
6687 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6688 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6689 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6690 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6691 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6692 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6693
e6ebd4a7
SP
6694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6695 intermediate variable to calculate exponent.
6696 (__sqr): Likewise.
6697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6698 Likewise.
6699 (__sqr): Likewise.
6700
82a9811d
SP
6701 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6702 [!NO__SQR]: Define __sqr.
6703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6704 and NO__SQR. Remove all code except __mul and __sqr. Include
6705 sysdeps/ieee754/dbl-64/mpa.c.
6706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6707
adbb8027
SP
6708 [BZ #12723]
6709 * posix/Makefile (tests): Add tst-pathconf.
6710 * posix/tst-pathconf.c: New test case.
6711 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6712 _PC_PIPE_BUF.
6713 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6714
39120df9
PF
67152013-03-06 Patsy Franklin <pfrankli@redhat.com>
6716
6717 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6718
67525cb8
AJ
67192013-03-06 Andreas Jaeger <aj@suse.de>
6720
664a9ce4
AJ
6721 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6722 definition via __MAP_ANONYMOUS.
6723
8e39047d
AJ
6724 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6725 it's not part of Linux headers.
6726
67525cb8
AJ
6727 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6728 (MAP_HUGE_MASK): Define.
6729
6730 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6731 Define.
6732 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6733 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6734 Define.
6735 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6736 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6737 Define.
6738 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6739 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6740 Define.
6741 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6742
6743 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6744 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6745 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6746 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6747 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6748 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6749
6750 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6751 Handle f2fs.
6752
6753 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6754 Handle f2fs and efivarfs.
6755
6756 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6757 f2fs.
6758
6759 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6760 (EFIVARFS_MAGIC): Add.
6761 (F2FS_LINK_MAX): Add.
6762
e1b42695
PP
67632013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6764
6765 * stdio-common/vfprintf.c: Replace __builtin_expect with
6766 __glibc_unlikely.
6767
2d67d91a
JM
67682013-03-06 Joseph Myers <joseph@codesourcery.com>
6769
6770 [BZ #13550]
6771 * sysdeps/generic/bp-sym.h: Remove file.
6772 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6773 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6774 <bp-sym.h> and <bp-asm.h>.
6775 (__longjmp): Don't use BP_SYM.
6776 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6777 and <bp-asm.h>.
6778 (memcpy): Don't use BP_SYM.
6779 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6780 <bp-sym.h> and <bp-asm.h>.
6781 (memcpy): Don't use BP_SYM.
6782 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6783 <bp-asm.h>.
6784 (memcpy): Don't use BP_SYM.
6785 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6786 <bp-asm.h>.
6787 (memset): Don't use BP_SYM.
6788 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6789 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6790 (__bzero): Don't use BP_SYM.
6791 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6792 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6793 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6794 <bp-sym.h> and <bp-asm.h>.
6795 (memcmp): Don't use BP_SYM. Remove comment about bounded
6796 pointers.
6797 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6798 <bp-sym.h> and <bp-asm.h>.
6799 (memcpy): Don't use BP_SYM.
6800 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6801 <bp-sym.h> and <bp-asm.h>.
6802 (memset): Don't use BP_SYM.
6803 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6804 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6805 (__bzero): Don't use BP_SYM.
6806 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6807 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6808 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6809 <bp-sym.h> and <bp-asm.h>.
6810 (strncmp): Don't use BP_SYM. Remove comment about bounded
6811 pointers.
6812 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6813 <bp-sym.h> and <bp-asm.h>.
6814 (memcpy): Don't use BP_SYM.
6815 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6816 <bp-sym.h> and <bp-asm.h>.
6817 (memset): Don't use BP_SYM.
6818 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6819 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6820 (__bzero): Don't use BP_SYM.
6821 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6822 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6823 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6824 <bp-sym.h> and <bp-asm.h>.
6825 (__memchr): Don't use BP_SYM.
6826 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6827 <bp-sym.h> and <bp-asm.h>.
6828 (memcmp): Don't use BP_SYM. Remove comment about bounded
6829 pointers.
6830 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6831 <bp-sym.h> and <bp-asm.h>.
6832 (memcpy): Don't use BP_SYM.
6833 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6834 <bp-sym.h> and <bp-asm.h>.
6835 (__mempcpy): Don't use BP_SYM.
6836 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6837 <bp-sym.h> and <bp-asm.h>.
6838 (__memrchr): Don't use BP_SYM.
6839 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6840 <bp-sym.h> and <bp-asm.h>.
6841 (memset): Don't use BP_SYM.
6842 (__bzero): Likewise.
6843 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6844 <bp-sym.h> and <bp-asm.h>.
6845 (__rawmemchr): Don't use BP_SYM.
6846 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6847 <bp-sym.h> and <bp-asm.h>.
6848 (__STRCMP): Don't use BP_SYM.
6849 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6850 <bp-sym.h> and <bp-asm.h>.
6851 (strchr): Don't use BP_SYM.
6852 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6853 <bp-sym.h> and <bp-asm.h>.
6854 (__strchrnul): Don't use BP_SYM.
6855 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6856 <bp-sym.h> and <bp-asm.h>.
6857 (strlen): Don't use BP_SYM.
6858 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6859 <bp-sym.h> and <bp-asm.h>.
6860 (strncmp): Don't use BP_SYM. Remove comment about bounded
6861 pointers.
6862 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6863 <bp-sym.h> and <bp-asm.h>.
6864 (__strnlen): Don't use BP_SYM.
6865 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6866 <bp-sym.h> and <bp-asm.h>.
6867 (__GI__setjmp): Don't use BP_SYM.
6868 (_setjmp): Likewise.
6869 (__sigsetjmp): Likewise.
6870 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6871 (L(start_addresses)): Don't use BP_SYM.
6872 (_start): Likewise.
6873 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6874 <bp-asm.h>.
6875 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6876 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6877 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6878 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6879 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6880 <bp-asm.h>.
6881 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6882 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6883 about bounded pointers.
6884 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6885 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6886 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6887 <bp-asm.h>.
6888 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6889 about bounded pointers. Remove GKM FIXME comments.
6890 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6891 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6892 <bp-asm.h>.
6893 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6894 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6895 Remove GKM FIXME comments.
6896 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6897 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6898 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6899 <bp-asm.h>.
6900 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6901 about bounded pointers. Remove GKM FIXME comment.
6902 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6903 and <bp-asm.h>.
6904 (strncmp): Don't use BP_SYM. Remove comment about bounded
6905 pointers.
6906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6907 <bp-sym.h> and <bp-asm.h>.
6908 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6910 <bp-sym.h> and <bp-asm.h>.
6911 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6912 comment.
6913
cdcf361f
PP
69142013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6915
6916 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6917 call free(NULL).
6918
3c4a2b15
DM
69192013-03-05 David S. Miller <davem@davemloft.net>
6920
6921 * po/es.po: Update from translation team.
6922
cdcf361f 69232013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6924
6925 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6926 <bits/mman-linux.h>.
6927 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6928 is fine.
6929 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6930 <bits/mman-linux.h> to end of file.
6931 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6932 is fine.
6933 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6934 <bits/mman-linux.h> to end of file.
6935 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6936 is fine.
6937 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6938 <bits/mman-linux.h> to end of file.
6939
6940 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6941 (MCL_CURRENT, MCL_FUTURE): Define here.
6942
5f67c04f
AK
69432013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6944
8a4473cc 6945 [BZ #15232]
5f67c04f
AK
6946 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6947 attribute_hidden.
6948 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6949
c3e94a95
AK
69502013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6951
6952 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6953 fourth parameter needed for rt_sigprocmask syscall.
6954 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6955 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6956 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6957 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6958 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6959 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6960
cfb6382a
JM
69612013-03-04 Joseph Myers <joseph@codesourcery.com>
6962
6963 [BZ #13550]
6964 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6965 comment about bounded pointers.
6966 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6967 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6968
539d8e01
AJ
69692013-03-04 Andreas Jaeger <aj@suse.de>
6970
6971 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6972 common definitions.
6973
6974 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6975 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6976 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6978 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6980
2e167a70 69812013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6982
6983 [BZ #15055]
6984 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6985 __ieee754_sqrl instead of __sqrl.
6986
68508633
JM
69872013-03-01 Joseph Myers <joseph@codesourcery.com>
6988
6989 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6990 * sysdeps/powerpc/fpu_control.h: ... here.
6991 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6992 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6993 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6994 * sysdeps/powerpc/bits/mathinline.h: ... here.
6995
7775448e
RM
69962013-03-01 Roland McGrath <roland@hack.frob.com>
6997
6998 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6999 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7000 to just [NEED_DL_SYSINFO_DSO].
7001 * elf/dl-support.c: Likewise.
7002 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7003 * elf/rtld.c (dl_main): Likewise.
7004 * elf/setup-vdso.h (setup_vdso): Likewise.
7005 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7006 * sysdeps/unix/sysv/linux/dl-sysdep.c
7007 (_dl_discover_osversion): Likewise.
7008
4e9b5995
CD
70092013-03-01 Carlos O'Donell <carlos@redhat.com>
7010
7011 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7012 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7013
e23872c8
SP
70142013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7015
e5c74c63
SP
7016 * NEWS: Mention libm performance improvements and non-x86 PI
7017 futex support.
7018
e23872c8
SP
7019 * csu/libc-start.c (__pthread_initialize_minimal): Change
7020 function arguments.
7021 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7022
b5510883
JM
70232013-02-28 Joseph Myers <joseph@codesourcery.com>
7024
7025 [BZ #13550]
7026 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7027 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7028 <bp-sym.h> and <bp-asm.h>.
7029 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7030 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7031 and <bp-asm.h>.
7032 (memcpy): Don't use BP_SYM.
7033 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7034 <bp-asm.h>.
7035 (__mpn_add_n): Don't use BP_SYM.
7036 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7037 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7038 and <bp-asm.h>.
7039 (__mpn_addmul_1): Don't use BP_SYM.
7040 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7041 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7042 <bp-sym.h>.
7043 (_setjmp): Don't use BP_SYM.
7044 (__novmx_setjmp): Likewise.
7045 (__GI__setjmp): Likewise.
7046 (__vmx_setjmp): Likewise.
7047 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7048 <bp-sym.h>.
7049 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7050 (__bzero): Don't use BP_SYM.
7051 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7052 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7053 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7054 <bp-sym.h> and <bp-asm.h>.
7055 (memcpy): Don't use BP_SYM.
7056 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7057 <bp-sym.h> and <bp-asm.h>.
7058 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7059 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7060 <bp-sym.h> and <bp-asm.h>.
7061 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7062 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7063 <bp-asm.h>.
7064 (__mpn_lshift): Don't use BP_SYM.
7065 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7066 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7067 <bp-asm.h>.
7068 (memset): Don't use BP_SYM.
7069 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7070 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7071 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7072 <bp-asm.h>.
7073 (__mpn_mul_1): Don't use BP_SYM.
7074 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7075 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7076 <bp-sym.h> and <bp-asm.h>.
7077 (memcmp): Don't use BP_SYM.
7078 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7079 <bp-sym.h> and <bp-asm.h>.
7080 (memcpy): Don't use BP_SYM.
7081 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7082 <bp-sym.h> and <bp-asm.h>.
7083 (memset): Don't use BP_SYM.
7084 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7085 <bp-sym.h> and <bp-asm.h>.
7086 (strncmp): Don't use BP_SYM.
7087 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7088 <bp-sym.h> and <bp-asm.h>.
7089 (memcpy): Don't use BP_SYM.
7090 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7091 <bp-sym.h> and <bp-asm.h>.
7092 (memset): Don't use BP_SYM.
7093 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7094 <bp-sym.h> and <bp-asm.h>.
7095 (__memchr): Don't use BP_SYM.
7096 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7097 <bp-sym.h> and <bp-asm.h>.
7098 (memcmp): Don't use BP_SYM.
7099 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7100 <bp-sym.h> and <bp-asm.h>.
7101 (memcpy): Don't use BP_SYM.
7102 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7103 <bp-sym.h> and <bp-asm.h>.
7104 (__mempcpy): Don't use BP_SYM.
7105 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7106 <bp-sym.h> and <bp-asm.h>.
7107 (__memrchr): Don't use BP_SYM.
7108 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7109 <bp-sym.h> and <bp-asm.h>.
7110 (memset): Don't use BP_SYM.
7111 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7112 <bp-sym.h> and <bp-asm.h>.
7113 (__rawmemchr): Don't use BP_SYM.
7114 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7115 <bp-sym.h> and <bp-asm.h>.
7116 (__STRCMP): Don't use BP_SYM.
7117 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7118 <bp-sym.h> and <bp-asm.h>.
7119 (strchr): Don't use BP_SYM.
7120 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7121 <bp-sym.h> and <bp-asm.h>.
7122 (__strchrnul): Don't use BP_SYM.
7123 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7124 <bp-sym.h> and <bp-asm.h>.
7125 (strlen): Don't use BP_SYM.
7126 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7127 <bp-sym.h> and <bp-asm.h>.
7128 (strncmp): Don't use BP_SYM.
7129 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7130 <bp-sym.h> and <bp-asm.h>.
7131 (__strnlen): Don't use BP_SYM.
7132 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7133 <bp-asm.h>.
7134 (__mpn_rshift): Don't use BP_SYM.
7135 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7136 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7137 <bp-sym.h> and <bp-asm.h>.
7138 (__sigsetjmp): Don't use BP_SYM.
7139 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7140 (L(start_addresses)): Don't use BP_SYM.
7141 (_start): Likewise.
7142 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7143 <bp-asm.h>.
7144 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7145 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7146 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7147 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7148 <bp-asm.h>.
7149 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7150 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7151 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7152 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7153 <bp-asm.h>.
7154 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7155 comments.
7156 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7157 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7158 <bp-asm.h>.
7159 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7160 FIXME comments.
7161 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7162 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7163 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7164 <bp-asm.h>.
7165 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7166 comment.
7167 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7168 and <bp-asm.h>.
7169 (strncmp): Don't use BP_SYM,
7170 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7171 <bp-asm.h>.
7172 (__mpn_sub_n): Don't use BP_SYM.
7173 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7174 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7175 and <bp-asm.h>.
7176 (__mpn_submul_1): Don't use BP_SYM.
7177 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7179 <bp-sym.h> and <bp-asm.h>.
7180 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7182 <bp-sym.h> and <bp-asm.h>.
7183 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7184 comment.
7185
8d19fe64
SP
71862013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7187
7188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7189 Use ZK to minimize writes to Z.
7190 (sub_magnitudes): Simplify code a bit.
7191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7192 Use ZK to minimize writes to Z.
7193 (sub_magnitudes): Simplify code a bit.
7194
85bd816a
RM
71952013-02-27 Roland McGrath <roland@hack.frob.com>
7196
7197 * csu/gmon-start.c: Add special exception to license text.
7198
b5977bf2
RH
71992013-02-27 Richard Henderson <rth@redhat.com>
7200
7201 * scripts/config.guess: Update from config.git.
7202 * scripts/config.sub: Likewise.
7203
11d6e2f2
SP
72042013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7205
09c14ed2
SP
7206 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7207
a688864e
SP
7208 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7209
6295157a
SP
7210 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7211
b8de2202
SP
7212 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7213
11d6e2f2
SP
7214 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7215
7e80ddb8
RM
72162013-02-26 Roland McGrath <roland@hack.frob.com>
7217
7218 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7219 [$(build-shared = yes].
7e80ddb8 7220
7da6d9ed
SP
72212013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7222
45f05884
SP
7223 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7224 (__mul): Reduce iterations for calculating mantissa.
7225
2236d359
SP
7226 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7227 MPTWO.
7228 (__mpranred): Likewise.
7229
7da6d9ed
SP
7230 [BZ #15160]
7231 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7232 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7233
b7688c42
PE
72342013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7235
7236 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7237 Define __attribute__.
7238
53a5c423
SP
72392013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7240
7241 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7242 unused.
7243 * posix/regex_internal.h (__attribute): Remove.
7244 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7245 (re_string_context_at): Likewise.
7246 (bitset_not): Use __attribute__ and mark function as possibly
7247 unused.
7248 (bitset_merge): Likewise.
7249 (bitset_mask): Likewise.
7250 (re_string_char_size_at): Likewise.
7251 (re_string_wchar_at): Likewise.
7252 (re_string_elem_size_at): Likewise.
7253
60f5a8b5
SP
72542013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7255
2a983a2e
SP
7256 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7257 code.
7258 (cc32): Likewise.
7259
e69804d1
SP
7260 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7261 (__acr): Likewise.
7262 (__cpy): Likewise.
7263 (norm): Likewise.
7264 (denorm): Likewise.
7265 (__dbl_mp): Likewise.
7266 (add_magnitudes): Likewise.
7267 (sub_magnitudes): Likewise.
7268 (__mul): Likewise.
7269 (__inv): Likewise.
7270
2f22a1e8
SP
7271 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7272 style.
7273
8930ddc7
SP
7274 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7275 style.
7276
dc60cb11
SP
7277 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7278 code.
7279
60f5a8b5
SP
7280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7281 up changes with default code.
7282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7283 Likewise.
7284
b4d1fd33
AM
72852013-02-24 Allan McRae <allan@archlinux.org>
7286
faf6f8bc
AM
7287 * manual/socket.texi (The Internet Namespace): Order menu items
7288 to match that in the file.
7289
b4d1fd33
AM
7290 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7291 node listing of the info page menu.
7292
2366713d
JM
72932013-02-21 Joseph Myers <joseph@codesourcery.com>
7294
7295 [BZ #13550]
7296 * sysdeps/i386/bp-asm.h: Remove file.
7297 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7298 (PARMS): Do not use macros from bp-asm.h.
7299 (S1): Likewise.
7300 (S2): Likewise.
7301 (SIZE): Likewise.
7302 (__mpn_add_n): Do not use BP_SYM
7303 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7304 "bp-asm.h".
7305 (PARMS): Do not use macros from bp-asm.h.
7306 (S1): Likewise.
7307 (SIZE): Likewise.
7308 (__mpn_addmul_1): Do not use BP_SYM
7309 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7310 "bp-asm.h".
7311 (PARMS): Do not use macros from bp-asm.h.
7312 (SIGMSK): Likewise.
7313 (_setjmp): Likewise. Do not use BP_SYM.
7314 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7315 "bp-asm.h".
7316 (PARMS): Do not use macros from bp-asm.h.
7317 (SIGMSK): Likewise.
7318 (setjmp): Likewise. Do not use BP_SYM.
7319 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7320 "bp-asm.h".
7321 (PARMS): Do not use macros from bp-asm.h.
7322 (__frexp): Do not use BP_SYM.
7323 (frexp): Likewise.
7324 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7325 "bp-asm.h".
7326 (PARMS): Do not use macros from bp-asm.h.
7327 (__frexpf): Do not use BP_SYM.
7328 (frexpf): Likewise.
7329 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7330 "bp-asm.h".
7331 (PARMS): Do not use macros from bp-asm.h.
7332 (__frexpl): Do not use BP_SYM.
7333 (frexpl): Likewise.
7334 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7335 "bp-asm.h".
7336 (PARMS): Do not use macros from bp-asm.h.
7337 (__remquo): Do not use BP_SYM.
7338 (remquo): Likewise.
7339 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7340 "bp-asm.h".
7341 (PARMS): Do not use macros from bp-asm.h.
7342 (__remquof): Do not use BP_SYM.
7343 (remquof): Likewise.
7344 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7345 "bp-asm.h".
7346 (PARMS): Do not use macros from bp-asm.h.
7347 (__remquol): Do not use BP_SYM.
7348 (remquol): Likewise.
7349 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7350 "bp-asm.h".
7351 (PARMS): Do not use macros from bp-asm.h.
7352 (DEST): Likewise.
7353 (SRC): Likewise.
7354 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7355 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7356 "bp-asm.h".
7357 (PARMS): Do not use macros from bp-asm.h.
7358 (strlen): Do not use BP_SYM.
7359 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7360 "bp-asm.h".
7361 (PARMS): Do not use macros from bp-asm.h.
7362 (S1): Likewise.
7363 (S2): Likewise.
7364 (SIZE): Likewise.
7365 (__mpn_add_n): Do not use BP_SYM.
7366 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7367 "bp-asm.h".
7368 (PARMS): Do not use macros from bp-asm.h.
7369 (S1): Likewise.
7370 (SIZE): Likewise.
7371 (__mpn_addmul_1): Do not use BP_SYM.
7372 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7373 weak_alias.
7374 (bzero): Likewise.
7375 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7376 "bp-asm.h".
7377 (PARMS): Do not use macros from bp-asm.h.
7378 (S): Likewise.
7379 (SIZE): Likewise.
7380 (__mpn_lshift): Do not use BP_SYM.
7381 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7382 "bp-asm.h".
7383 (PARMS): Do not use macros from bp-asm.h.
7384 (DEST): Likewise.
7385 (SRC): Likewise.
7386 (LEN): Likewise.
7387 (memcpy): Likewise. Do not use BP_SYM.
7388 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7389 libc_hidden_def and weak_alias.
7390 (mempcpy): Do not use BP_SYM in weak_alias.
7391 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7392 "bp-asm.h".
7393 (PARMS): Do not use macros from bp-asm.h.
7394 (DEST): Likewise.
7395 (LEN): Likewise.
7396 [!BZERO_P] (CHR): Likewise.
7397 (memset): Likewise. Do not use BP_SYM.
7398 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7399 "bp-asm.h".
7400 (PARMS): Do not use macros from bp-asm.h.
7401 (S1): Likewise.
7402 (SIZE): Likewise.
7403 (__mpn_mul_1): Do not use BP_SYM.
7404 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7405 "bp-asm.h".
7406 (PARMS): Do not use macros from bp-asm.h.
7407 (S): Likewise.
7408 (SIZE): Likewise.
7409 (__mpn_rshift): Do not use BP_SYM.
7410 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7411 "bp-asm.h".
7412 (PARMS): Do not use macros from bp-asm.h.
7413 (STR): Likewise.
7414 (CHR): Likewise.
7415 (strchr): Likewise. Do not use BP_SYM.
7416 (index): Do not use BP_SYM in weak_alias.
7417 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7418 "bp-asm.h".
7419 (PARMS): Do not use macros from bp-asm.h.
7420 (DEST): Likewise.
7421 (SRC): Likewise.
7422 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7423 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7424 "bp-asm.h".
7425 (PARMS): Do not use macros from bp-asm.h.
7426 (strlen): Do not use BP_SYM.
7427 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7428 "bp-asm.h".
7429 (PARMS): Do not use macros from bp-asm.h.
7430 (S1): Likewise.
7431 (S2): Likewise.
7432 (SIZE): Likewise.
7433 (__mpn_sub_n): Do not use BP_SYM.
7434 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7435 "bp-asm.h".
7436 (PARMS): Do not use macros from bp-asm.h.
7437 (S1): Likewise.
7438 (SIZE): Likewise.
7439 (__mpn_submul_1): Do not use BP_SYM.
7440 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7441 "bp-asm.h".
7442 (PARMS): Do not use macros from bp-asm.h.
7443 (S1): Likewise.
7444 (S2): Likewise.
7445 (SIZE): Likewise.
7446 (__mpn_add_n): Do not use BP_SYM.
7447 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7448 weak_alias.
7449 (bzero): Likewise.
7450 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7451 "bp-asm.h".
7452 (PARMS): Do not use macros from bp-asm.h.
7453 (BLK2): Likewise.
7454 (LEN): Likewise.
7455 (memcmp): Do not use BP_SYM.
7456 (bcmp): Do not use BP_SYM in weak_alias.
7457 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7458 "bp-asm.h".
7459 (PARMS): Do not use macros from bp-asm.h.
7460 (DEST): Likewise.
7461 (SRC): Likewise.
7462 (LEN): Likewise.
7463 (memcpy): Likewise. Do not use BP_SYM.
7464 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7465 "bp-asm.h".
7466 (PARMS): Do not use macros from bp-asm.h.
7467 (DEST): Likewise.
7468 (SRC): Likewise.
7469 (LEN): Likewise.
7470 (memmove): Likewise. Do not use BP_SYM.
7471 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7472 "bp-asm.h".
7473 (PARMS): Do not use macros from bp-asm.h.
7474 (DEST): Likewise.
7475 (SRC): Likewise.
7476 (LEN): Likewise.
7477 (__mempcpy): Likewise. Do not use BP_SYM.
7478 (mempcpy): Do not use BP_SYM in weak_alias.
7479 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7480 "bp-asm.h".
7481 (PARMS): Do not use macros from bp-asm.h.
7482 (DEST): Likewise.
7483 (LEN): Likewise.
7484 [!BZERO_P] (CHR): Likewise.
7485 (memset): Likewise. Do not use BP_SYM.
7486 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7487 "bp-asm.h".
7488 (PARMS): Do not use macros from bp-asm.h.
7489 (STR2): Likewise.
7490 (strcmp): Do not use BP_SYM.
7491 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7492 "bp-asm.h".
7493 (PARMS): Do not use macros from bp-asm.h.
7494 (STR): Likewise.
7495 (DELIM): Likewise.
7496 [USE_AS_STRTOK_R] (SAVE): Likewise.
7497 (FUNCTION): Likewise. Do not use BP_SYM.
7498 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7499 aliases.
7500 (strtok_r): Likewise.
7501 (__GI___strtok_r): Likewise.
7502 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7503 (PARMS): Do not use macros from bp-asm.h.
7504 (S): Likewise.
7505 (SIZE): Likewise.
7506 (__mpn_lshift): Do not use BP_SYM.
7507 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7508 (PARMS): Do not use macros from bp-asm.h.
7509 (STR): Likewise.
7510 (CHR): Likewise.
7511 (__memchr): Do not use BP_SYM.
7512 (memchr): Do not use BP_SYM in weak_alias.
7513 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7514 (PARMS): Do not use macros from bp-asm.h.
7515 (BLK2): Likewise.
7516 (LEN): Likewise.
7517 (memcmp): Do not use BP_SYM.
7518 (bcmp): Do not use BP_SYM in weak_alias.
7519 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7520 (PARMS): Do not use macros from bp-asm.h.
7521 (S1): Likewise.
7522 (SIZE): Likewise.
7523 (__mpn_mul_1): Do not use BP_SYM.
7524 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7525 "bp-asm.h".
7526 (PARMS): Do not use macros from bp-asm.h.
7527 (STR): Likewise.
7528 (CHR): Likewise.
7529 (__rawmemchr): Do not use BP_SYM.
7530 (rawmemchr): Do not use BP_SYM in weak_alias.
7531 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7532 (PARMS): Do not use macros from bp-asm.h.
7533 (S): Likewise.
7534 (SIZE): Likewise.
7535 (__mpn_rshift): Do not use BP_SYM.
7536 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7537 (PARMS): Do not use macros from bp-asm.h.
7538 (SIGMSK): Likewise.
7539 (__sigsetjmp): Likewise. Do not use BP_SYM.
7540 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7541 (_start): Do not use BP_SYM.
7542 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7543 (PARMS): Do not use macros from bp-asm.h.
7544 (DEST): Likewise.
7545 (SRC): Likewise.
7546 (__stpcpy): Likewise. Do not use BP_SYM.
7547 (stpcpy): Do not use BP_SYM in weak_alias.
7548 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7549 "bp-asm.h".
7550 (PARMS): Do not use macros from bp-asm.h.
7551 (DEST): Likewise.
7552 (SRC): Likewise.
7553 (LEN): Likewise.
7554 (__stpncpy): Likewise. Do not use BP_SYM.
7555 (stpncpy): Do not use BP_SYM in weak_alias.
7556 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7557 (PARMS): Do not use macros from bp-asm.h.
7558 (STR): Likewise.
7559 (CHR): Likewise.
7560 (strchr): Likewise. Do not use BP_SYM.
7561 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7562 "bp-asm.h".
7563 (PARMS): Do not use macros from bp-asm.h.
7564 (STR): Likewise.
7565 (CHR): Likewise.
7566 (__strchrnul): Likewise. Do not use BP_SYM.
7567 (strchrnul): Do not use BP_SYM in weak_alias.
7568 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7569 "bp-asm.h".
7570 (PARMS): Do not use macros from bp-asm.h.
7571 (STOP): Likewise.
7572 (strcspn): Do not use BP_SYM.
7573 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7574 "bp-asm.h".
7575 (PARMS): Do not use macros from bp-asm.h.
7576 (STR): Likewise.
7577 (STOP): Likewise.
7578 (strpbrk): Likewise. Do not use BP_SYM.
7579 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7580 "bp-asm.h".
7581 (PARMS): Do not use macros from bp-asm.h.
7582 (STR): Likewise.
7583 (CHR): Likewise.
7584 (strrchr): Likewise. Do not use BP_SYM.
7585 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7586 (PARMS): Do not use macros from bp-asm.h.
7587 (SKIP): Likewise.
7588 (strspn): Do not use BP_SYM.
7589 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7590 (PARMS): Do not use macros from bp-asm.h.
7591 (STR): Likewise.
7592 (DELIM): Likewise.
7593 (SAVE): Likewise.
7594 (FUNCTION): Likewise. Do not use BP_SYM.
7595 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7596 aliases.
7597 (strtok_r): Likewise.
7598 (__GI___strtok_r): Likewise.
7599 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7600 (PARMS): Do not use macros from bp-asm.h.
7601 (S1): Likewise.
7602 (S2): Likewise.
7603 (SIZE): Likewise.
7604 (__mpn_sub_n): Do not use BP_SYM.
7605 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7606 "bp-asm.h".
7607 (PARMS): Do not use macros from bp-asm.h.
7608 (S1): Likewise.
7609 (SIZE): Likewise.
7610 (__mpn_submul_1): Do not use BP_SYM.
7611 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7612 <bp-sym.h>.
7613 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7614 and <bp-asm.h>.
7615 (PARMS): Do not use macros from bp-asm.h.
7616 (FLAGS): Likewise.
7617 (PTID): Likewise.
7618 (TLS): Likewise.
7619 (CTID): Likewise.
7620 (__clone): Do not use BP_SYM.
7621 (clone): Do not use BP_SYM in weak_alias.
7622 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7623 and <bp-asm.h>.
7624 (PARMS): Do not use macros from bp-asm.h.
7625 (LEN): Likewise.
7626 (__mmap64): Do not use BP_SYM.
7627 (mmap64): Do not use BP_SYM in weak_alias.
7628 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7629 <bp-sym.h> and <bp-asm.h>.
7630 (PARMS): Do not use macros from bp-asm.h.
7631 (__posix_fadvise64_l64): Do not use BP_SYM.
7632 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7633 (PARMS): Do not use macros from bp-asm.h.
7634 (NSOPS): Likewise.
7635 (semtimedop): Do not use BP_SYM.
7636 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7637 and <bp-asm.h>.
7638
582a3cff
AM
76392013-02-21 Allan McRae <allan@archlinux.org>
7640
7641 * manual/message.texi (Charset conversion in gettext):
7642 Move @end statement to beginning of line.
7643
bab8a695
SP
76442013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7645
80945231
SP
7646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7647 static.
7648 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7649 Likewise.
7650
bab8a695
SP
7651 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7652 (denorm): Likewise.
7653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7655
e21d7aa7
AK
76562013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7657
7658 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7659 tail-call to the resolved function if pltexit isn't needed.
7660
4c7a4263
SP
76612013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7662
7663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7664 or Y being zero as being unlikely.
7665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7666 Likewise.
7667
41f49342
CD
76682013-02-20 Carlos O'Donell <carlos@redhat.com>
7669
7670 * manual/nss.texi (System Databases and Name Service Switch):
7671 Remove frobnicate @pxref.
7672
50022a93
TS
76732013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7674
7675 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7676 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7677
08cbd996
PM
76782013-02-20 Petr Machata <pmachata@redhat.com>
7679
7680 * elf/elf.h (R_ARM_TARGET1): New macro.
7681 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7682 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7683 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7684 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7685 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7686 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7687 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7688 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7689 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7690 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7691 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7692 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7693 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7694 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7695 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7696 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7697 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7698 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7699 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7700 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7701 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7702 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7703 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7704 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7705 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7706 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7707 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7708 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7709 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7710 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7711 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7712 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7713 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7714 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7715 (R_ARM_THM_GOT_BREL12): Likewise.
7716 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7717 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7718 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7719 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7720 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7721 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7722 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7723 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7724 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7725
c7b275d6
TS
77262013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7727
7728 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7729 __attribute_used__ to __attribute__ ((unused)).
7730
20cd7fb3
SP
77312013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7732
7733 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7734 powerpc mpa.c.
7735 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7736 comment formatting.
7737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7738
92945b52
JM
77392013-02-19 Joseph Myers <joseph@codesourcery.com>
7740
7741 [BZ #13550]
7742 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7743 Remove macro.
7744 (ENTER): Remove both macro definitions.
7745 (LEAVE): Likewise.
7746 (CHECK_BOUNDS_LOW): Likewise.
7747 (CHECK_BOUNDS_HIGH): Likewise.
7748 (CHECK_BOUNDS_BOTH): Likewise.
7749 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7750 (RETURN_BOUNDED_POINTER): Likewise.
7751 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7752 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7753 (POP_ERRNO_LOCATION_RETURN): Likewise.
7754 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7755 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7756 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7757 macros.
7758 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7759 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7760 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7761 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7762 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7763 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7764 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7765 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7766 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7767 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7768 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7769 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7770 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7771 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7772 removed macros.
7773 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7774 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7775 macros.
7776 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7777 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7778 * sysdeps/i386/i586/memset.S (memset): Likewise.
7779 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7780 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7781 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7782 macros.
7783 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7784 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7785 Change uses of L(2) to L(out).
7786 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7787 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7788 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7789 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7790 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7791 removed macros.
7792 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7793 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7794 macros.
7795 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7796 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7797 (RETURN): Do not use macro LEAVE.
7798 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7799 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7800 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7801 * sysdeps/i386/i686/memset.S (memset): Likewise.
7802 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7803 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7804 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7805 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7806 Likewise.
7807 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7808 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7809 L(1_2) and L(1_3) into L(1).
7810 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7811 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7812 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7813 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7814 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7815 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7816 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7817 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7818 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7819 macros.
7820 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7821 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7822 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7823 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7824 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7825 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7826 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7827 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7828 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7829 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7830 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7831 * sysdeps/i386/strspn.S (strspn): Likewise.
7832 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7833 conditional code.
7834 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7835 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7836 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7837 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7838 L(1_3) into L(1_1).
7839 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7840 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7841 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7842 macros.
7843 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7844
2389741a
JJ
78452013-02-19 Jakub Jelinek <jakub@redhat.com>
7846
7847 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7848 macro.
7849
2016b3cd
SP
78502013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7851
e4f22324
SP
7852 * math/atest-exp.c (exp_mpn): Remove ROUND.
7853 * math/atest-exp2.c (exp_mpn): Likewise.
7854 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7855
2016b3cd
SP
7856 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7857 * stdlib/tst-tls-atexit-lib.c: Likewise.
7858 * stdlib/tst-tls-atexit.c: Likewise.
7859
4be9b544
MF
78602013-02-18 Mike Frysinger <vapier@gentoo.org>
7861
7862 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7863 and __attribute_alloc_size__.
7864
2f62b9ee
MF
78652013-02-18 Mike Frysinger <vapier@gentoo.org>
7866
7867 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7868 __attribute_alloc_size__.
7869 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7870 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7871
6ff444c4
MF
78722013-02-18 Mike Frysinger <vapier@gentoo.org>
7873
7874 * include/programs/xmalloc.h: New file.
7875 * catgets/gencat.c: Include it.
7876 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7877 * elf/pldd.c: Likewise.
7878 * iconv/iconv_charmap.c: Likewise.
7879 * iconv/iconvconfig.c: Likewise.
7880 * iconv/strtab.c: Likewise.
7881 * locale/programs/locale.c: Likewise.
7882 * locale/programs/localedef.h: Likewise.
7883 * locale/programs/simple-hash.c: Likewise.
7884 * nscd/nscd.h: Likewise.
7885 * nss/makedb.c: Likewise.
7886 * sysdeps/generic/ldconfig.h: Likewise.
7887
be179c8a
SP
78882013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7889
ba384f6e
SP
7890 * Versions.def: Add GLIBC_2.18.
7891 * include/link.h (struct link_map): New member l_tls_dtor_count.
7892 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7893 (__call_tls_dtors): Likewise.
7894 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7895 __cxa_thread_atexit_impl.
7896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7897 Likewise.
7898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7899 Likewise.
7900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7901 Likewise.
7902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7903 Likewise.
7904 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7906 Likewise.
7907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7908 Likewise.
7909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7911 Likewise.
7912 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7913 (tests): Add test case tst-tls-atexit.
7914 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7915 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7916 (GLIBC_PRIVATE): Add __call_tls_dtors.
7917 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7918 for libstdc++.
7919 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7920 * stdlib/tst-tls-atexit.c: New test case.
7921 * stdlib/tst-tls-atexit-lib.c: New test case.
7922
ffaa74cf 7923 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7924
be179c8a
SP
7925 * elf/Versions (ld): Add _dl_find_dso_for_object.
7926 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7927 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7928 (dl_open_worker): Use _dl_find_dso_for_object.
7929 * elf/dl-sym.c (do_sym): Likewise.
7930 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7931
f78b5caa
AK
79322013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7933
7934 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7935 Syntactic changes only.
7936 (_dl_runtime_profile): Do a tail-call to the resolved function.
7937
29691210
JM
79382013-02-17 Joseph Myers <joseph@codesourcery.com>
7939
7940 [BZ #13550]
7941 * sysdeps/x86_64/bp-asm.h: Remove file.
7942 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7943 <bp-sym.h> and <bp-asm.h>.
7944 (__clone): Do not use BP_SYM.
7945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7946 <bp-sym.h> and <bp-asm.h>.
7947 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7948 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7949 "bp-asm.h".
7950 (_setjmp): Do not use BP_SYM.
7951 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7952 "bp-asm.h".
7953 (setjmp): Do not use BP_SYM.
7954 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7955 libc_hidden_def.
7956 (mempcpy): Do not use BP_SYM in weak_alias.
7957 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7958 "bp-asm.h".
7959 (strchr): Do not use BP_SYM.
7960 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7961 "bp-asm.h".
7962 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7963 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7964 (_start): Do not use BP_SYM.
7965 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7966 "bp-asm.h".
7967 (strcat): Do not use BP_SYM.
7968 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7969 "bp-asm.h".
7970 (STRCMP): Do not use BP_SYM.
7971 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7972 "bp-asm.h".
7973 (STRCPY): Do not use BP_SYM.
7974 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7975 "bp-asm.h".
7976 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7977 "bp-asm.h".
7978 (FUNCTION): Do not use BP_SYM.
7979 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7980 weak_alias.
7981 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7982
f238fd19
AJ
79832013-02-17 Andreas Jaeger <aj@suse.de>
7984
7985 * time/Versions: Sort entries.
7986 * string/Versions: Likewise.
7987 * resolv/Versions: Likewise.
7988 * posix/Versions: Likewise.
7989 * iconv/Versions: Likewise.
7990 * elf/Versions: Likewise.
7991 * wcsmbs/Versions: Likewise.
7992
bd07f23c 79932013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7994
22af19f9
SP
7995 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7996 loop termination condition.
7997
4709fe76
SP
7998 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7999 variable to calculate EZ.
8000 (__sqr): Likewise.
2d0e0f29
SP
8001
8002 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8003 the lower precision input.
8004
daaa7713
JM
80052013-02-15 Joseph Myers <joseph@codesourcery.com>
8006
8007 [BZ #13550]
8008 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8009 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8010 (run-via-rtld-prefix): Do not handle %-bp tests.
8011 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8012 (all-object-suffixes): Remove .ob.
8013 (bppfx): Remove variable.
8014 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8015 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8016 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8017 [$(build-bounded) = yes] (libtype.ob): Likewise.
8018 * Makerules (elide-routines.ob): Remove variable.
8019 (do-tests-clean): Do not handle *-bp.out.
8020 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8021 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8022 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8023 (tests): Do not include $(tests-bp.out).
8024 (xtests): Do not include $(xtests-bp.out).
8025 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8026 [$(build-bounded) = yes] ($(addprefix
8027 $(objpfx),$(binaries-bounded))): Remove rule.
8028 ($(objpfx)%-bp.out): Remove rule.
8029 * config.make.in (build-bounded): Remove variable.
8030 * crypt/Makefile [$(build-bounded) = yes]
8031 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8032 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8033 append to variable.
8034 [$(build-bounded) = yes] (install-lib): Likewise.
8035 [$(build-bounded) = yes] (generated): Likewise.
8036 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8037 Remove rule.
8038 * intl/Makefile [$(build-bounded) = yes]
8039 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8040 * math/Makefile [$(build-bounded) = yes]
8041 ($(tests:%=$(objpfx)%-bp): Likewise.
8042 * misc/Makefile [$(build-bounded) = yes]
8043 ($(objpfx)tst-tsearch-bp): Likewise.
8044 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8045 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8046 Remove dependency.
8047 * string/Makefile (o-objects.ob): Remove variable.
8048 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8049 (CFLAGS-.ob): Remove variable.
8050 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8051 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8052 both definitions of variable.
8053 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8054 (ASFLAGS-.ob): Remove variable.
8055
e97ed6dd
JM
80562013-02-14 Joseph Myers <joseph@codesourcery.com>
8057
2bdd4ca6
JM
8058 [BZ #13550]
8059 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8060 Remove __BOUNDED_POINTERS__ from condition.
8061 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8062 * string/bits/string2.h [!__NO_STRING_INLINES &&
8063 !__BOUNDED_POINTERS__]: Likewise.
8064 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8065 Likewise.
8066 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8067 Remove conditional code.
8068 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8069 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8070 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8071 condition.
8072
e97ed6dd
JM
8073 [BZ #13550]
8074 * csu/libc-start.c: Do not include <bp-sym.h>.
8075 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8076 * elf/dl-open.c: Do not include <bp-sym.h>.
8077 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8078 * math/fegetenv.c: Do not include <bp-sym.h>.
8079 (fegetenv): Do not use BP_SYM in versioned symbols.
8080 * nptl/sysdeps/pthread/bits/libc-lockP.h
8081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8082 <bp-sym.h>.
8083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8084 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8086 (__pthread_mutex_destroy): Likewise.
8087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8088 (__pthread_mutex_lock): Likewise.
8089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8090 (__pthread_mutex_trylock): Likewise.
8091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8092 (__pthread_mutex_unlock): Likewise.
8093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8094 (__pthread_mutexattr_init): Likewise.
8095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8096 (__pthread_mutexattr_destroy): Likewise.
8097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8098 (__pthread_mutexattr_settype): Likewise.
8099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8100 (__pthread_rwlock_init): Likewise.
8101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8102 (__pthread_rwlock_destroy): Likewise.
8103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8104 (__pthread_rwlock_rdlock): Likewise.
8105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8106 (__pthread_rwlock_tryrdlock): Likewise.
8107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8108 (__pthread_rwlock_wrlock): Likewise.
8109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8110 (__pthread_rwlock_trywrlock): Likewise.
8111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8112 (__pthread_rwlock_unlock): Likewise.
8113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8114 (__pthread_key_create): Likewise.
8115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8116 (__pthread_setspecific): Likewise.
8117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8118 (__pthread_getspecific): Likewise.
8119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8120 Likewise.
8121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8122 (_pthread_cleanup_push_defer): Likewise.
8123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8124 (_pthread_cleanup_pop_restore): Likewise.
8125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8126 (pthread_setcancelstate): Likewise.
8127 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8128 <bp-sym.h>.
8129 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8130 (memchr): Do not use BP_SYM in weak_alias.
8131 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8132 (fegetenv): Do not use BP_SYM in versioned symbols.
8133 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8134 (fesetenv): Do not use BP_SYM in versioned symbols.
8135 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8136 (feupdateenv): Do not use BP_SYM in versioned symbols.
8137 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8138 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8139 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8140 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8141 (open64): Do not use BP_SYM in weak_alias.
8142 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8143 (fegetenv): Do not use BP_SYM in versioned symbols.
8144 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8145 (fesetenv): Do not use BP_SYM in versioned symbols.
8146 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8147 (feupdateenv): Do not use BP_SYM in versioned symbols.
8148 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8149 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8150 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8151 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8152 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8153 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8154 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8155 <bp-sym.h>.
8156 (__libc_start_main): Do not use BP_SYM.
8157
d6752ccd
SP
81582013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8159
cb57ce60
SP
8160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8161 redundant return line.
8162 (norm): Likewise.
8163 (denorm): Likewise.
8164 (dbl_mp): Likewise.
8165 (sub_magnitudes): Likewise.
8166 (__add): Likewise.
8167 (__sub): Likewise.
8168 (__mul): Likewise.
8169 (__inv): Likewise.
8170 (__dvd): Likewise.
8171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8172 (norm): Likewise.
8173 (denorm): Likewise.
8174 (dbl_mp): Likewise.
8175 (sub_magnitudes): Likewise.
8176 (__add): Likewise.
8177 (__sub): Likewise.
8178 (__mul): Likewise.
8179 (__inv): Likewise.
8180 (__dvd): Likewise.
8181
f414520d
SP
8182 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8183 instead of __mul.
8184 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8185 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8186 (cc32): Likewise.
8187
d6752ccd
SP
8188 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8189 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8190 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8191 of __mul for squares.
8192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8193 function
8194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8195 Likewise.
8196 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8197 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8198
70d9946a
JM
81992013-02-13 Joseph Myers <joseph@codesourcery.com>
8200
8201 [BZ #13550]
8202 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8203 code.
8204 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8205 prototype or function definition. Rename ubp_* variables and
8206 parameters. Remove argv definitions conditional on
8207 [__BOUNDED_POINTERS__].
8208 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8209 * elf/dl-runtime.c (_dl_fixup): Likewise.
8210 * include/set-hooks.h (RUN_HOOK): Likewise.
8211 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8212 definition.
8213 * string/strcpy.c (strcpy): Do not use __unbounded.
8214 * sysdeps/generic/frame.h (struct layout): Likewise.
8215 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8216 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8217 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8218 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8219 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8220 (__backtrace): Likewise.
8221 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8222 use __ptrvalue.
8223 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8224 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8225 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8226 Likewise.
8227 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8228 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8229 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8230 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8231 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8232 Do not use __unbounded.
8233 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8234 Rename __unboundedrlimits parameter to rlimits in prototype.
8235 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8236 Do not use __unbounded.
8237 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8238 not use __ptrvalue.
8239 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8240 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8241 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8242 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8243 __ptrvalue or __unbounded.
8244 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8245 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8246 use __unbounded.
8247 (__new_msgctl): Do not use __ptrvalue.
8248 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8249 __unbounded.
8250 (__libc_msgrcv): Do not use __ptrvalue.
8251 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8252 startup_info): Do not use __unbounded.
8253 (__libc_start_main): Likewise. Rename ubp_* variables and
8254 parameters. Remove argv definitions conditional on
8255 [__BOUNDED_POINTERS__].
8256 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8257 __ptrvalue.
8258 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8259 use __unbounded.
8260 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8261 or __ptrvalue.
8262 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8263 use __unbounded.
8264 (__new_shmctl): Do not use __ptrvalue.
8265 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8266 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8267 Likewise.
8268 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8269 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8270 (__libc_sigaction): Likewise.
8271 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8272 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8273 Likewise.
8274 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8275
cc7834d6
OB
82762013-02-13 Ondřej Bílka <neleai@seznam.cz>
8277
ffb1ec7b 8278 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8279
8280 * string/mempcpy.c: Implement by calling memcpy.
8281
bdf02814
SP
82822013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8283
c2af38aa
SP
8284 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8285
4e92d59e
SP
8286 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8287 evaluation.
8288
909279a5
SP
8289 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8290 values in the mantissa.
8291
bdf02814
SP
8292 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8293 minimize writes to Z.
8294 (sub_magnitudes): Simplify code a bit.
8295
cd525923
RM
82962013-02-12 Roland McGrath <roland@hack.frob.com>
8297
8298 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8299 from the message. The linker prefixes all warnings with that already.
8300
7e2f0d2d
AS
83012013-02-12 Andreas Schwab <schwab@suse.de>
8302
a445af0b
AS
8303 [BZ #15078]
8304 * posix/regexec.c (extend_buffers): Add parameter min_len.
8305 (check_matching): Pass minimum needed length.
8306 (clean_state_log_if_needed): Likewise.
8307 (get_subexp): Likewise.
8308 * posix/Makefile (tests): Add bug-regex34.
8309 (bug-regex34-ENV): Define.
8310 * posix/bug-regex34.c: New file.
8311
7e2f0d2d
AS
8312 [BZ #11561]
8313 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8314 elements compare against the byte sequence of it, not its name.
8315 * posix/Makefile (tests): Add bug-regex35.
8316 (bug-regex35-ENV): Define.
8317 * posix/bug-regex35.c: New file.
8318
a175b684
TV
83192013-02-11 Tom de Vries <tom@codesourcery.com>
8320
8321 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8322 comment.
8323 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8324 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8325 (CHECK_EOL): Add undef.
8326
310998fe 83272013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8328
8329 * bits/stdlib-bsearch.h: New file.
8330 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8331 * stdlib/stdlib.h: Likewise.
41eda41d 8332
8ded91fb
RM
83332013-02-11 Roland McGrath <roland@hack.frob.com>
8334
8335 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8336 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8337 declaration.
8338 * manual/search.texi (Array Search Function): Add missing const in
8339 lfind prototype.
8340 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8341 declaration to use rlim_t.
8342 (Basic Scheduling Functions): Remove erroneous const from
8343 sched_getparam prototype. Remove erroneous * from
8344 sched_get_priority_max and sched_get_priority_min prototypes.
8345 (Resource Usage): Fix summary @comment on vtimes to refer to
8346 sys/vtimes.h rather than vtimes.h.
8347 Add missing *s in vtimes prototype.
8348 (Limits on Resources): Fix ulimit prototype to return long int.
8349 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8350 prototypes to use long int rather than double.
8351 (BSD Random): Fix initstate and setstate to use char *, not void *.
8352 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8353 prototype to make second argument 'struct aiocb64 *const[]'.
8354 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8355 (Status of AIO Operations): Remove erroneous const in aio_return and
8356 aio_return64 prototypes.
8357 (Synchronizing I/O): Fix sync prototype to return void.
8358 * manual/startup.texi (Suboptions): Remove an erroneous const in
8359 getsubopt prototype.
8360 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8361 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8362 use size_t rather than int.
8363 (Scanning All Users): Likewise for getpwent_r.
8364 (Setting Groups): Add missing const to setgroups prototype.
8365 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8366 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8367 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8368 'const void *' rather than 'const char *'.
8369 (Host Address Functions): Likewise for inet_ntop.
8370 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8371 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8372 ssize_t for return value.
8373 (Sending Data): Likewise for send, sendto, sendmsg.
8374 (Socket Option Functions): Add a missing const in setsockopt prototype.
8375 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8376 use wchar_t for the argument.
8377 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8378 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8379 take no arguments.
8380 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8381 double/float/long double for second argument.
8382 Fix return types of significand, significandf, significandl.
8383 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8384 argument in fchmod prototype.
8385 (File Owner): Use uid_t and gid_t in fchown prototype.
8386 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8387 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8388 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8389 use 'const struct dirent **' as argument types to CMP function pointer
8390 argument.
8391 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8392 (File Times): Fix summary magic @comment for struct utimbuf and utime
8393 to refer to utime.h, not time.h.
8394 * manual/string.texi (Argz Functions): Add missing const in
8395 argz_extract and argz_next prototypes.
8396 (Finding Tokens in a String): Likewise for basename.
8397 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8398 (Copying and Concatenation): Fix typo in wmemmove prototype.
8399 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8400 (Signal Stack): Remove erroneous const in sigstack prototype.
8401 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8402 prototype.
8403 (Simple Calendar Time): Likewise for stime.
8404 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8405 prototype.
8406 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8407 say sys/sysctl.h instead.
8408 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8409 and vsyslog prototypes.
8410
fe77fe6d
TV
84112013-02-11 Tom de Vries <tom@codesourcery.com>
8412
8413 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8414 Remove.
8415
3a09b620
RM
84162013-02-11 Roland McGrath <roland@hack.frob.com>
8417
8418 * misc/sys/mman.h: Fix typo in mremap comment.
8419
550a0b89
RM
84202013-02-08 Roland McGrath <roland@hack.frob.com>
8421
8422 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8423 the '\0' terminator.
8424
a2da1673
JM
84252013-02-08 Joseph Myers <joseph@codesourcery.com>
8426
8427 [BZ #13550]
8428 * debug/segfault.c: Don't include <bp-checks.h>.
8429 * sysdeps/generic/bp-checks.h: Remove file.
8430 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8431 (__GETDENTS): Don't use CHECK_N.
8432 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8433 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8434 (__getgroups): Don't use CHECK_N.
8435 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8436 (setgroups): Don't use CHECK_N.
8437 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8438 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8439 (__libc_msgrcv): Don't use CHECK_N.
8440 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8441 (__libc_msgsnd): Don't use CHECK_N.
8442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8443 <bp-checks.h>.
8444 (__libc_pread): Don't use CHECK_N.
8445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8446 include <bp-checks.h>.
8447 (__libc_pread64): Don't use CHECK_N.
8448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8449 include <bp-checks.h>.
8450 (__libc_pwrite): Don't use CHECK_N.
8451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8452 include <bp-checks.h>.
8453 (__libc_pwrite64): Don't use CHECK_N.
8454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8455 <bp-checks.h>.
8456 (__libc_pread): Don't use CHECK_N.
8457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8458 include <bp-checks.h>.
8459 (__libc_pread64): Don't use CHECK_N.
8460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8461 include <bp-checks.h>.
8462 (__libc_pwrite): Don't use CHECK_N.
8463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8464 include <bp-checks.h>.
8465 (__libc_pwrite64): Don't use CHECK_N.
8466 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8467 (do_pread): Don't use CHECK_N.
8468 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8469 (do_pread64): Don't use CHECK_N.
8470 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8471 (do_pwrite): Don't use CHECK_N.
8472 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8473 (do_pwrite64): Don't use CHECK_N.
8474 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8475 (__libc_readv): Don't use CHECK_N.
8476 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8477 (semop): Don't use CHECK_N.
8478 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8479 <bp-checks.h>.
8480 (semtimedop): Don't use CHECK_N.
8481 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8482 (__libc_pread): Don't use CHECK_N.
8483 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8484 <bp-checks.h>.
8485 (__libc_pread64): Don't use CHECK_N.
8486 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8487 <bp-checks.h>.
8488 (__libc_pwrite): Don't use CHECK_N.
8489 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8490 <bp-checks.h>.
8491 (__libc_pwrite64): Don't use CHECK_N.
8492 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8493 <bp-checks.h>.
8494 (__libc_msgrcv): Don't use CHECK_N.
8495 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8496 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8497 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8498 (__libc_writev): Don't use CHECK_N.
8499
b84660a8
RM
85002013-02-08 Roland McGrath <roland@hack.frob.com>
8501
7f3e75f8
RM
8502 * string/strcpy.c: Removed unused variable.
8503
b84660a8
RM
8504 * Makeconfig (+sysdep-includes): Define with := rather than =.
8505 Use an existing include/ subdir of each sysdeps dir before it.
8506
471514d3
CD
85072013-02-08 Carlos O'Donell <carlos@redhat.com>
8508
8509 * nscd/connection.c (register_traced_file): Comment function.
8510 [HAVE_INOTIFY] (union __inev): Define.
8511 [HAVE_INOTIFY] (inotify_check_files): New function.
8512 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8513 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8514 clear_db_cache.
8515 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8516
b2d3c3be
CD
85172013-02-08 Carlos O'Donell <carlos@redhat.com>
8518
8519 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8520 loaded if not already and that a failure is permanent.
8521
b39949d2
CD
85222013-02-08 Carlos O'Donell <carlos@redhat.com>
8523
ddacd1db 8524 [BZ #15006]
b39949d2
CD
8525 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8526 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8527
b2c9eff4
JM
85282013-02-08 Joseph Myers <joseph@codesourcery.com>
8529
f3aae3f3
JM
8530 [BZ #13550]
8531 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8532 (CHECK_1_NULL_OK): Likewise.
8533 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8534 (__fxstat): Do not use CHECK_1.
8535 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8536 <bp-checks.h>.
8537 (___fxstat64): Do not use CHECK_1.
8538 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8539 <bp-checks.h>.
8540 (__fxstatat): Do not use CHECK_1.
8541 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8542 <bp-checks.h>.
8543 (__fxstatat64): Do not use CHECK_1.
8544 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8545 <bp-checks.h>.
8546 (__fxstat): Do not use CHECK_1.
8547 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8548 <bp-checks.h>.
8549 (__fxstatat): Do not use CHECK_1.
8550 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8551 <bp-checks.h>.
8552 (__getresgid): Do not use CHECK_1.
8553 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8554 <bp-checks.h>.
8555 (__getresuid): Do not use CHECK_1.
8556 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8557 <bp-checks.h>.
8558 (__lxstat): Do not use CHECK_1.
8559 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8560 <bp-checks.h>.
8561 (__old_msgctl): Do not use CHECK_1.
8562 (__new_msgctl): Likewise.
8563 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8564 <bp-checks.h>.
8565 (__new_setrlimit): Do not use CHECK_1.
8566 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8567 <bp-checks.h>.
8568 (__old_shmctl): Do not use CHECK_1.
8569 (__new_shmctl): Likewise.
8570 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8571 <bp-checks.h>.
8572 (__xstat): Do not use CHECK_1.
8573 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8574 (__lxstat): Do not use CHECK_1.
8575 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8576 <bp-checks.h>.
8577 (___lxstat64): Do not use CHECK_1.
8578 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8579 (__old_msgctl): Do not use CHECK_1.
8580 (__new_msgctl): Likewise.
8581 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8582 <bp-checks.h>.
8583 (__gettimeofday): Do not use CHECK_1.
8584 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8585 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8586 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8587 <bp-checks.h>.
8588 (__gettimeofday): Do not use CHECK_1.
8589 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8590 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8591 (__new_shmctl): Do not use CHECK_1.
8592 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8593 <bp-checks.h>.
8594 (do_sigtimedwait): Do not use CHECK_1.
8595 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8596 <bp-checks.h>.
8597 (do_sigwaitinfo): Do not use CHECK_1.
8598 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8599 <bp-checks.h>.
8600 (msgctl): Do not use CHECK_1.
8601 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8602 <bp-checks.h>.
8603 (shmctl): Do not use CHECK_1.
8604 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8605 (ustat): Do not use CHECK_1.
8606 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8607 <bp-checks.h>.
8608 (__fxstat): Do not use CHECK_1.
8609 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8610 <bp-checks.h>.
8611 (__fxstatat): Do not use CHECK_1.
8612 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8613 <bp-checks.h>.
8614 (__lxstat): Do not use CHECK_1.
8615 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8616 <bp-checks.h>.
8617 (__xstat): Do not use CHECK_1.
8618 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8619 (__xstat): Do not use CHECK_1.
8620 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8621 (___xstat64): Do not use CHECK_1.
8622
b2c9eff4
JM
8623 [BZ #13550]
8624 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8625 definitions.
8626 (CHECK_BOUNDS_HIGH): Likewise.
8627 * string/strcpy.c: Do not include <bp-checks.h>.
8628 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8629
f1d70dad
RM
86302013-02-07 Roland McGrath <roland@hack.frob.com>
8631
8632 * nscd/nscd-client.h (__nscd_drop_map_ref):
8633 Add __attribute__ ((unused)).
8634 * nis/nss-nisplus.h (niserr2nss): Likewise.
8635
8636 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8637 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8638
8639 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8640 Remove inline keyword.
8641 * include/rounding-mode.h (round_away): Likewise.
8642 * libio/wfileops.c (adjust_wide_data): Likewise.
8643 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8644 (__m128i_strloadu_tolower): Likewise.
8645 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8646 (__m128i_strloadu_tolower): Likewise.
8647 * time/mktime.c (ydhms_diff): Likewise.
8648 * locale/elem-hash.h (elem_hash): Likewise.
8649 * locale/setlocale.c (setdata): Likewise.
8650 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8651 (re_string_wchar_at): Likewise.
8652 (bitset_not, bitset_merge, bitset_mask): Likewise.
8653 [!(__GNUC__ > 3)] (inline): Remove macro.
8654 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8655 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8656 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8657 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8658 * string/memcmp.c (memcmp_bytes): Likewise.
8659 * locale/programs/locarchive.c (compute_hashval): Likewise.
8660 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8661 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8662 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8663 * nss/getent.c (print_rpc, print_protocols): Likewise.
8664 (print_passwd, print_group, print_aliases): Likewise.
8665 * nis/nss-nisplus.h (niserr2nss): Likewise.
8666 * nscd/connections.c (restart_p): Likewise.
8667 Change return type to bool.
8668
eab55bfb
RM
86692013-02-05 Roland McGrath <roland@hack.frob.com>
8670
7bd642f5
RM
8671 * Makeconfig (all-Depend-files): Add existing
8672 $(sorted-subdirs:=/Depend) files.
8673 (all-subdirs): Remove nss.
8674 * sysdeps/unix/inet/Subdirs: Add it here instead.
8675 * hesiod/Depend: New file.
8676
573c29b2
RM
8677 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8678 instead of calling alloca.
8679
b2e25af0
RM
8680 * io/lseek.c (__lseek): Rename to __libc_lseek.
8681 Define __lseek as an alias.
8682
eab55bfb
RM
8683 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8684
9a0d1941
CD
86852013-02-04 Carlos O'Donell <carlos@redhat.com>
8686
8687 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8688 else clause and remove check for non-standard endianness.
8689
b83bbec4
DM
86902013-02-04 David S. Miller <davem@davemloft.net>
8691
8692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8693
6277fdab
JM
86942013-02-04 Joseph Myers <joseph@codesourcery.com>
8695
8696 [BZ #13550]
8697 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8698 (__ubp_memchr): Remove prototype.
8699 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8700 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8701 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8702 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8703 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8704 Remove alias.
8705 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8706 (__ubp_memchr): Likewise.
8707 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8708 (__ubp_memchr): Likewise.
8709 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8710 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8711 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8712 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8713 CHECK_STRING.
8714 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8715 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8716 (__getcwd): Do not use CHECK_STRING.
8717 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8718 <bp-checks.h>.
8719 (__real_chown): Do not use CHECK_STRING.
8720 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8721 <bp-checks.h>.
8722 (fchownat): Do not use CHECK_STRING.
8723 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8724 CHECK_STRING.
8725 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8726 <bp-checks.h>.
8727 (__lchown): Do not use CHECK_STRING.
8728 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8729 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8730 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8731 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8733 include <bp-checks.h>.
8734 (truncate64): Do not use CHECK_STRING.
8735 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8736 <bp-checks.h>.
8737 (__real_chown): Do not use CHECK_STRING.
8738 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8739 <bp-checks.h>.
8740 (__lchown): Do not use CHECK_STRING.
8741 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8742 <bp-checks.h>.
8743 (__chown): Do not use CHECK_STRING.
8744 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8745 <bp-checks.h>.
8746 (truncate64): Do not use CHECK_STRING.
8747 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8748 Likewise.
8749 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8750 (__xmknod): Do not use CHECK_STRING.
8751 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8752 <bp-checks.h>.
8753 (__xmknodat): Do not use CHECK_STRING.
8754 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8755 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8756
903ae060
AS
87572013-02-04 Andreas Schwab <schwab@suse.de>
8758
8759 [BZ #14142]
8760 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8761 * include/netdb.h: Likewise for h_errno.
8762 * elf/tst-stackguard1.c: Include <tls.h>.
8763
542f9466
JK
87642013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8765
8766 * elf/link.h (struct link_map): Extend the l_addr comment.
8767 * include/link.h (struct link_map): Likewise.
8768
e782a927
JM
87692013-02-01 Joseph Myers <joseph@codesourcery.com>
8770
8771 [BZ #13550]
8772 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8773 (BOUNDED_1): Remove macro.
8774 * debug/backtrace.c: Don't include <bp-checks.h>.
8775 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8776 (__backtrace): Likewise.
8777 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8778 <bp-checks.h>.
8779 (__backtrace): Don't use BOUNDED_1.
8780 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8781 <bp-checks.h>.
8782 (__backtrace): Don't use BOUNDED_1.
8783 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8784 (__backtrace): Don't use BOUNDED_1.
8785 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8786 (shmat): Don't use BOUNDED_N.
8787
8cf28c5e
JM
87882013-01-31 Joseph Myers <joseph@codesourcery.com>
8789
3a7ac8a0
JM
8790 [BZ #13550]
8791 * sysdeps/generic/bp-start.h: Remove file.
8792 * csu/libc-start.c: Don't include <bp-start.h>.
8793 (LIBC_START_MAIN): Set up __environ directly instead of using
8794 INIT_ARGV_and_ENVIRON.
8795 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8796 <bp-start.h>.
8797
f3499f95
JM
8798 [BZ #13550]
8799 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8800 definitions.
8801 (CHECK_FCNTL): Likewise.
8802 (CHECK_N_PAGES): Likewise.
8803
32a45bea
JM
8804 [BZ #13550]
8805 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8806 definitions.
8807 (CHECK_SIGSET_NULL_OK): Likewise.
8808 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8809 <bp-checks.h>.
8810 (sigpending): Don't use CHECK_SIGSET.
8811 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8812 <bp-checks.h>.
8813 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8814 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8815 <bp-checks.h>.
8816 (do_sigsuspend): Don't use CHECK_SIGSET.
8817 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8818 use CHECK_SIGSET.
8819 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8820 (do_sigwait): Don't use CHECK_SIGSET.
8821 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8822 use CHECK_SIGSET.
8823 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8824 include <bp-checks.h>.
8825 (sigpending): Don't use CHECK_SIGSET.
8826 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8827 include <bp-checks.h>.
8828 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8829 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8830 <bp-checks.h>.
8831 (sigpending): Don't use CHECK_SIGSET.
8832 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8833 <bp-checks.h>.
8834 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8835
2e8a5c8c
JM
8836 [BZ #13550]
8837 * sysdeps/generic/bp-semctl.h: Remove file.
8838 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8839 <bp-checks.h> and <bp-semctl.h>.
8840 (__old_semctl): Don't use CHECK_SEMCTL.
8841 (__new_semctl): Likewise.
8842 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8843 and <bp-semctl.h>.
8844 (__old_semctl): Don't use CHECK_SEMCTL.
8845 (__new_semctl): Likewise.
8846 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8847 <bp-checks.h> and <bp-semctl.h>.
8848 (__old_semctl): Don't use CHECK_SEMCTL.
8849 (__new_semctl): Likewise.
8850 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8851 <bp-checks.h> and <bp-semctl.h>.
8852 (semctl): Don't use CHECK_SEMCTL.
8853
c2d54929
JM
8854 [BZ #13550]
8855 * Makerules (elide-bp-thunks): Remove variable.
8856 (elide-routines.oS): Don't use $(elide-bp-thunks).
8857 (elide-routines.os): Likewise.
8858 (elide-routines.o): Likewise.
8859 (elide-routines.op): Likewise.
8860 (elide-routines.og): Likewise.
8861 (objects): Don't use $(bp-thunks).
8862 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8863 include.
8864 (common-generated): Do not add s-proto-bp.d.
8865 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8866 (int): Likewise.
8867 (typ): Likewise.
8868 Do not generate makefile rules for bounded-pointer thunks.
8869 * sysdeps/generic/bp-thunks.h: Remove file.
8870 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8871 * sysdeps/unix/s-proto-bp.S: Likewise.
8872
8cf28c5e
JM
8873 [BZ #15062]
8874 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8875 parts of result separately when argument is not close to line from
8876 -i to i and one part of argument is small.
8877 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8878 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8879 * math/libm-test.inc (cacos_test): Add more tests.
8880 (casin_test): Likewise.
8881 (casinh_test): Likewise.
8882 * sysdeps/i386/fpu/libm-test-ulps: Update.
8883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8884
c4e33b8d
DM
88852013-01-31 David S. Miller <davem@davemloft.net>
8886
8887 * po/de.po: Update from translation team.
8888
3b60b421
MK
88892013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8890
8891 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8892
bb931195
TS
88932013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8894
b5a5da23
TS
8895 * configure.in (_AC_PROG_CC_C89): New definition.
8896 * configure: Regenerate.
8897
bb931195
TS
8898 * configure.in (AC_PROG_CPP): New definition.
8899 * configure: Regenerate.
8900
8c53a12c
JM
89012013-01-23 Joseph Myers <joseph@codesourcery.com>
8902
8903 * debug/tst-backtrace.h: New file.
8904 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8905 (ret): Remove variable.
8906 (x): Likewise.
8907 (FAIL): Remove macro.
8908 (NO_INLINE): Likewise.
8909 (fn1): Use match function instead of strstr.
8910 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8911 (ret): Remove variable.
8912 (x): Likewise.
8913 (FAIL): Remove macro.
8914 (NO_INLINE): Likewise.
8915 (fn): Use match function instead of strstr.
8916 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8917 (ret): Remove variable.
8918 (x): Likewise.
8919 (FAIL): Remove macro.
8920 (NO_INLINE): Likewise.
8921 (handle_signal): Use match function instead of strstr.
8922 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8923 (ret): Remove variable.
8924 (x): Likewise.
8925 (FAIL): Remove macro.
8926 (NO_INLINE): Likewise.
8927 (handle_signal): Use match function instead of strstr.
8928
4858fa2a
RM
89292013-01-23 Roland McGrath <roland@hack.frob.com>
8930
8931 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8932
bae8e7f5
DM
89332013-01-23 David S. Miller <davem@davemloft.net>
8934
8935 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8936 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8937 argument of CAS if possible.
8938 * sysdeps/sparc/sparc64/bits/atomic.h
8939 (__arch_compare_and_exchange_val_32_acq): Likewise.
8940 (__arch_compare_and_exchange_val_64_acq): Likewise.
8941
9cbbc4ae
PT
89422013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8943
8944 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8945 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8946 Include <limits.h>.
67b3f58c 8947 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8948
5655a0b5
AC
89492013-01-23 Adam Conrad <adconrad@0c3.net>
8950
8951 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8952 (LDFLAGS-tst-array5): Likewise.
8953
052aff95
JM
89542013-01-23 Joseph Myers <joseph@codesourcery.com>
8955
8956 [BZ #15036]
8957 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8958 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8959 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8960 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8961
7c1e01aa
DM
89622013-01-21 David S. Miller <davem@davemloft.net>
8963
8964 * sysdeps/sparc/backtrace.c: New file.
8965 * sysdeps/sparc/sparc32/backtrace.h: New file.
8966 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8967 * sysdeps/sparc/sparc64/backtrace.h: New file.
8968 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8969 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8970 -funwind-tables.
8971
ab087e0a
AS
89722013-01-21 Andreas Schwab <schwab@suse.de>
8973
8974 [BZ #15020]
8975 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8976 closed its stdout.
8977
ed689c2f
AS
89782013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8979
8980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8981 "mpa2.h".
8982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8983
31d470ac
JM
89842013-01-18 Joseph Myers <joseph@codesourcery.com>
8985 Mark Mitchell <mark@codesourcery.com>
8986 Tom de Vries <tom@codesourcery.com>
8987 Paul Pluzhnikov <ppluzhnikov@google.com>
8988
8989 * debug/tst-backtrace2.c: New file.
8990 * debug/tst-backtrace3.c: Likewise.
8991 * debug/tst-backtrace4.c: Likewise.
8992 * debug/tst-backtrace5.c: Likewise.
8993 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8994 (CFLAGS-tst-backtrace3.c): Likewise.
8995 (CFLAGS-tst-backtrace4.c): Likewise.
8996 (CFLAGS-tst-backtrace5.c): Likewise.
8997 (LDFLAGS-tst-backtrace2): Likewise.
8998 (LDFLAGS-tst-backtrace3): Likewise.
8999 (LDFLAGS-tst-backtrace4): Likewise.
9000 (LDFLAGS-tst-backtrace5): Likewise.
9001 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9002 tst-backtrace4 and tst-backtrace5.
9003
90567f30 90042013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
9005 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9006
9007 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9008 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9009 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9010 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9012 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9013 "+r" and remove output regs list as redundant. Add explicit inline
9014 asm to specify register of return val to work around compiler codegen
9015 bug. Remove (int) cast on return value. Add return type parameter to
9016 use in macro so that this macro does not truncate return value for
9017 64-bit values.
9018 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9019 pass to INTERNAL_VSYSCALL_NCS.
9020 (INLINE_VSYSCALL): Add 'long int' as return type to
9021 INTERNAL_VSYSCALL_NCS macro invocation.
9022 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9023 INTERNAL_VSYSCALL_NCS macro invocation.
9024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9025
d3b9ea61
SP
90262013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9027
0b57daeb
SP
9028 [BZ #14496]
9029 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9030 Fix application of SIMD FP exception mask.
9031
caa99d06
SP
9032 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9033 mp_no from a power of two.
9034 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9035 __mpexp_twomm1. Use __pow_mp.
9036
d3b9ea61
SP
9037 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9038 multiplication.
9039
1dbaee3c
DM
90402013-01-17 David S. Miller <davem@davemloft.net>
9041
9042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9043
728d7b43
JM
90442013-01-17 Joseph Myers <joseph@codesourcery.com>
9045
9046 [BZ #15023]
9047 * include/complex.h: Condition contents on [!_COMPLEX_H].
9048 (__kernel_casinhf): New prototype.
9049 (__kernel_casinh): Likewise.
9050 (__kernel_casinhl): Likewise.
9051 * math/Makefile (libm_calls): Add k_casinh.
9052 * math/k_casinh.c: New file.
9053 * math/k_casinhf.c: Likewise.
9054 * math/k_casinhl.c: Likewise.
9055 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9056 finite nonzero arguments.
9057 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9058 finite nonzero arguments.
9059 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9060 finite nonzero arguments.
9061 * math/s_casinh.c: Do not include <float.h>.
9062 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9063 * math/s_casinhf.c: Do not include <float.h>.
9064 (__casinhf): Move code for finite nonzero arguments to
9065 k_casinhf.c.
9066 * math/s_casinhl.c: Do not include <float.h>.
9067 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9068 redefine.
9069 (__casinhl): Move code for finite nonzero arguments to
9070 k_casinhl.c.
9071 * math/libm-test.inc (cacos_test): Add more tests.
9072 * sysdeps/i386/fpu/libm-test-ulps: Update.
9073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9074
2a26ef3a
PT
90752013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9076
9077 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9078 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9079 [!HAVE_MREMAP]: Remove [defined linux] case.
9080 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9081
a897655d
SP
90822013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9083
9084 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9085
881ebe89 90862013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
9087
9088 * elf/elf.h (R_386_SIZE32): New relocation.
9089 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9090 R_386_SIZE32.
9091 (elf_machine_rela): Likewise.
9092 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9093 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9094
59981e9b
JM
90952013-01-17 Joseph Myers <joseph@codesourcery.com>
9096
9097 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9098 (FP_FAST_FMA): Do not define.
9099 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9100 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9101 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9102 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9103 !_SOFT_FLOAT]: Likewise.
9104 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9105 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9106 value.
9107 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9108 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9109 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9110 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9111 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9112 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9113 file.
9114
cfa8054f
AS
91152013-01-16 Andreas Schwab <schwab@suse.de>
9116
9117 [BZ #14327]
9118 * include/stdlib.h (__mktemp): Add declaration.
9119 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9120 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9121
dd930cc5
SP
91222013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9123
881ebe89
SP
9124 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9125 definitions.
9126 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9127 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9128 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9129 definitions here.
9130 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9131 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9132 definitions.
9133 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9134 and ONE.
9135 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9136 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9137 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9138 definitions.
9139 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9140 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9141 definitions.
9142 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9143
dd930cc5
SP
9144 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9145
c19a9f89
DM
91462013-01-15 David S. Miller <davem@davemloft.net>
9147
1aa61767
DM
9148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9149 trunc{,f} to libm-sysdep_routes.
9150 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9152 file.
9153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9155 file.
9156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9157 file.
9158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9160 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9161 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9162 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9163 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9164 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9165 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9166
c42d5e98
DM
9167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9168 nearbyint{,f} to libm-sysdep_routes.
9169 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9171 New file.
9172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9173 file.
9174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9175 New file.
9176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9177 file.
9178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9180 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9181 file.
9182 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9183 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9184 file.
9185 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9186 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9187 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9188
c19a9f89
DM
9189 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9190 libc_feholdexcept and libc_fesetenv.
9191
357679d2
MF
91922013-01-15 Mike Frysinger <vapier@gentoo.org>
9193
9194 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9195
65a82e3d
DM
91962013-01-14 David S. Miller <davem@davemloft.net>
9197
8b954ab9
DM
9198 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9199 (SPARC_ASM_VIS2_IFUNC): Likewise.
9200 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9202 use of 'siam' instruction.
9203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9204 Likewise.
9205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9206 Likewise.
9207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9208 Likewise.
9209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9210 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9214 file.
9215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9216 file.
9217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9218 file.
9219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9220 file.
9221 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9222 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9226 new VIS2 routines.
9227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9230 Likewise.
9231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9236 routines to libm-sysdep_routines.
9237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9238
65a82e3d
DM
9239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9240 fdim/fdimf to libm-sysdep_routines.
9241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9242 file.
9243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9245 file.
9246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9249 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9250 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9251 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9252 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9253
e34ab705
SP
92542013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9255
2a91b573
SP
9256 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9257 to optimize copies.
9258
1066a534
SP
9259 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9262
e34ab705
SP
9263 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9264 local variable MPTWO.
9265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9266 Likewise.
9267
aba5e596
MF
92682013-01-13 Mike Frysinger <vapier@gentoo.org>
9269
9270 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9271 GLOB_NOESCAPE.
9272
e557e9e5
MF
92732013-01-13 Mike Frysinger <vapier@gentoo.org>
9274
9275 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9276
0428cec9
MF
92772013-01-13 Mike Frysinger <vapier@gentoo.org>
9278
9279 * manual/pattern.texi (glob_t): Document gl_flags.
9280 (glob64_t): Likewise.
9281
8794a964
DM
92822013-01-11 David S. Miller <davem@davemloft.net>
9283
66438c3f
RM
9284 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9285 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9286 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9287 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9288 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9289 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9290 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9291 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9292 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9293 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9294 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9295 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9296 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9297
4ae4244d
DM
9298 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9299 sparc V9 rather than using V8 code.
9300 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9301 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9302
8794a964
DM
9303 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9304 Move to...
9305 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9306 Here.
9307
6270516e
RM
93082013-01-11 Roland McGrath <roland@hack.frob.com>
9309
9310 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9311 not in the main loop.
9312 * configure: Regenerated.
9313
6a57d931
JM
93142013-01-11 Joseph Myers <joseph@codesourcery.com>
9315
9316 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9317 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9318 to just #else.
9319 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9320 [!__GLIBC_HAVE_LONG_LONG] case.
9321 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9322 condition to just #else.
9323 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9324 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9325 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9326 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9327 unconditional.
9328 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9329 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9330 #elif condition to just #else.
9331 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9332 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9333 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9334 #elif condition to just #else.
9335
0e8529e9
SE
93362013-01-11 Steve Ellcey <sellcey@mips.com>
9337
9338 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9339 (EF_MIPS_ARCH_64): Fix value.
9340 (EF_MIPS_ARCH_32R2): New.
9341 (EF_MIPS_ARCH_64R2): New.
9342
740b3dbe
L
93432013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9344
9345 * Makeconfig (+link-pie-before-libc): New.
9346 (+link-pie-after-libc): Likewise.
9347 (+link-pie-tests): Likewise.
9348 (+link-pie): Rewritten.
9349 (link-before-libc): Remove $(config-LDFLAGS).
9350 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9351 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9352 (config-LDFLAGS): Renamed to ...
9353 (rtld-LDFLAGS): This.
9354 (rtld-tests-LDFLAGS): New macro.
9355 (link-libc-rpath-link): Likewise.
9356 (link-libc-tests-rpath-link): Likewise.
9357 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9358 (link-libc): Prepand $(link-libc-rpath-link).
9359 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9360 (test-program-prefix): New macro.
9361 (test-via-rtld-prefix): Likewise.
9362 (test-program-cmd): Likewise.
9363 (host-test-program-cmd): Likewise.
9364 * Makefile ($(common-objpfx)testrun.sh): Replace
9365 $(run-program-prefix) with $(test-program-prefix).
9366 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9367 $(rtld-LDFLAGS).
9368 ($(common-objpfx)shlib.lds): Likewise.
9369 (build-module-helper): Likewise.
9370 ($(common-objpfx)format.lds): Likewise.
9371 * Rules (binaries-pie-tests): New.
9372 (binaries-pie-notests): Likewise.
9373 (binaries-pie): Rewritten.
9374 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9375 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9376 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9377 (make-test-out): Replace $(host-built-program-cmd) with
9378 $(host-test-program-cmd).
9379 * config.make.in (build-hardcoded-path-in-tests): New variable.
9380 * configure.in (--enable-hardcoded-path-in-tests): New configure
9381 option.
9382 (hardcoded_path_in_tests): New AC_SUBST.
9383 * configure: Regenerated.
9384 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9385 $(built-program-cmd) with $(test-program-cmd).
9386 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9387 (test_program_cmd): This.
9388 * elf/Makefile ($(objpfx)order.out): Run test with
9389 $(test-program-prefix).
9390 ($(objpfx)order2.out): Likewise.
9391 ($(objpfx)tst-initorder.out): Likewise.
9392 ($(objpfx)tst-initorder2.out): Likewise.
9393 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9394 $(test-program-cmd).
9395 ($(objpfx)tst-array1-static.out): Likewise.
9396 ($(objpfx)tst-array2.out): Likewise.
9397 ($(objpfx)tst-array3.out): Likewise.
9398 ($(objpfx)tst-array4.out): Likewise.
9399 ($(objpfx)tst-array5.out): Likewise.
9400 ($(objpfx)tst-array5-static.out): Likewise.
9401 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9402 $(test-program-cmd).
9403 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9404 $(run-program-prefix) with $(test-program-prefix).
9405 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9406 (test_program_prefix): This.
9407 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9408 $(run-program-prefix) with $(test-program-prefix).
9409 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9410 (test_program_prefix): This.
9411 * iconvdata/tst-tables.sh: Likewise.
9412 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9413 $(run-program-prefix) with $(test-program-prefix).
9414 ($(objpfx)tst-translit.out): Likewise.
9415 ($(objpfx)tst-gettext2.out): Likewise.
9416 ($(objpfx)tst-gettext4.out): Likewise.
9417 ($(objpfx)tst-gettext6.out): Likewise.
9418 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9419 (test_program_prefix): This.
9420 * intl/tst-gettext2.sh: Likewise.
9421 * intl/tst-gettext4.sh Likewise.
9422 * intl/tst-gettext6.sh: Likewise.
9423 * intl/tst-translit.sh: Likewise.
9424 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9425 with $(test-program-cmd).
9426 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9427 $(run-program-prefix) with $(test-program-prefix).
9428 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9429 (test_program_prefix): This.
9430 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9431 $(run-program-prefix) with $(test-program-prefix).
9432 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9433 (test_program_prefix): This.
9434 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9435 * posix/Makefile ($(objpfx)globtest.out): Replace
9436 $(run-via-rtld-prefix) and $(test-wrapper) with
9437 $(test-program-prefix) and $(test-via-rtld-prefix).
9438 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9439 $(test-program-prefix).
9440 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9441 $(host-test-program-cmd).
9442 (tst-spawn-ARGS): Likewise.
9443 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9444 $(test-program-prefix).
9445 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9446 (test_via_rtld_prefix): This.
9447 (test_wrapper): Renamed to ...
9448 (test_program_prefix): This.
9449 (run_program_prefix): Replaced by test_program_prefix.
9450 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9451 (test_program_prefix): This.
9452 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9453 with $(host-test-program-cmd).
9454 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9455 $(run-program-prefix) with $(test-program-prefix).
9456 ($(objpfx)tst-printf.out): Likewise.
9457 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9458 $(test-program-cmd).
9459 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9460 (test_program_prefix): This.
9461 * stdio-common/tst-unbputc.sh: Likewise.
9462 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9463 $(run-program-prefix) with $(test-program-prefix).
9464 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9465 (test_program_prefix): This.
9466 * string/Makefile ($(objpfx)tst-svc.out): Replace
9467 $(built-program-cmd) with $(test-program-cmd).
9468
c6fe55cf
AJ
94692013-01-11 Andreas Jaeger <aj@suse.de>
9470
9471 [BZ #15003]
9472 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9473 value. Sync with Linux 3.7.
9474
9e6919c8
DM
94752013-01-10 David S. Miller <davem@davemloft.net>
9476
9477 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9478 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9479 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9480
1c9f1a02
RM
94812013-01-10 Roland McGrath <roland@hack.frob.com>
9482
9483 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9484 never set.
9485 * configure: Regenerated.
9486
b9de2dde
DM
94872013-01-10 David S. Miller <davem@davemloft.net>
9488
9489 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9490 sparc V9 rather than using V8 code.
9491 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9492 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9493
e7f68ef4
RM
94942013-01-10 Roland McGrath <roland@hack.frob.com>
9495
9496 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9497 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9498 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9499 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9500 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9501 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9502 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9503 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9504 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9505 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9506 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9507 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9508 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9509 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9510 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9511 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9512 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9513 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9514 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9515 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9516 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9517 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9518 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9519 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9520 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9521 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9522 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9523
5a47cc9c
DM
95242013-01-10 David S. Miller <davem@davemloft.net>
9525
9526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9527
4cf8f209
L
95282013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9529
9530 * posix/Makefile (tests-static): New variable.
9531 (tests): Add $(tests-static).
9532 (tst-exec-static-ARGS): New variable.
9533 (tst-spawn-static-ARGS): Likewise.
9534 * posix/tst-exec-static.c: New file.
9535 * posix/tst-spawn-static.c: Likewise.
9536 * posix/tst-exec.c: Support run directly.
9537 * posix/tst-spawn.c: Likewise.
9538
fed0faa1
JM
95392013-01-10 Joseph Myers <joseph@codesourcery.com>
9540
828beb13
JM
9541 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9542 long.
9543 * math/bits/mathcalls.h (llrint): Likewise.
9544 (llround): Likewise.
9545 * stdlib/stdlib.h (struct drand48_data): Likewise.
9546 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9547 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9548 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9549 Likewise.
9550 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9551 Likewise.
9552 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9553 (elf_greg_t): Likewise.
9554 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9555 (__jmp_buf): Likewise.
9556 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9557 definitions.
9558 (llrint): Likewise, for all definitions.
9559 (llrintl): Likewise.
9560
fed0faa1
JM
9561 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9562 Remove [__GNUC__] condition.
9563 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9564 condition to just [__USE_ISOC99].
9565 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9566
1a20cb20
L
95672013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9568
9569 [BZ #14200]
9570 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9571 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9572 defined.
9573 (_POSIX_V6_ILP32_OFF32): Likewise.
9574 (_XBS5_ILP32_OFF32): Likewise.
9575 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9576 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9577
751b85f7
SP
95782013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9579
7490eb81
SP
9580 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9581
751b85f7
SP
9582 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9583 doubles __mpexp_twomm1. Adjust usage.
9584 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9585 Remove.
9586
988197f0
AS
95872013-01-10 Andreas Schwab <schwab@suse.de>
9588
9589 [BZ #14964]
9590 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9591 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9592
e83d7298
DM
95932013-01-09 David S. Miller <davem@davemloft.net>
9594
034ed64b 9595 [BZ #15003]
e83d7298
DM
9596 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9597 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9598 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9599 TCP_FASTOPEN): Define.
9600 (tcp_repair_opt): New structure.
9601 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9602 enum values.
9603 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9604 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9605 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9606 (tcp_cookie_transactions): New structure.
9607
d5e0b9bd
AB
96082013-01-09 Anton Blanchard <anton@samba.org>
9609
9610 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9611 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9612 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9613 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9614
0c07e3ea
JM
96152013-01-09 Joseph Myers <joseph@codesourcery.com>
9616
9617 * include/features.h (__USE_ANSI): Remove.
9618
232f7002
RM
96192013-01-09 Roland McGrath <roland@hack.frob.com>
9620
ad98e30c
RM
9621 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9622
232f7002
RM
9623 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9624
950c99ca
SP
96252013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9626
b5792741
SP
9627 * sysdeps/s390/fpu/libm-test-ulps: Update.
9628
47cf2278
SP
9629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9630
950c99ca
SP
9631 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9632 (__acr): Likewise.
9633 (__cpy): Likewise.
9634 (norm): Likewise.
9635 (denorm): Likewise.
9636 (__mp_dbl): Likewise.
9637 (__dbl_mp): Likewise.
9638 (add_magnitudes): Likewise.
9639 (sub_magnitudes): Likewise.
9640 (__add): Likewise.
9641 (__sub): Likewise.
9642 (__mul): Likewise.
9643 (__inv): Likewise.
9644 (__dvd): Likewise.
9645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9646 (__acr): Likewise.
9647 (__cpy): Likewise.
9648 (norm): Likewise.
9649 (denorm): Likewise.
9650 (__mp_dbl): Likewise.
9651 (__dbl_mp): Likewise.
9652 (add_magnitudes): Likewise.
9653 (sub_magnitudes): Likewise.
9654 (__add): Likewise.
9655 (__sub): Likewise.
9656 (__mul): Likewise.
9657 (__inv): Likewise.
9658 (__dvd): Likewise.
9659 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9660 (__acr): Likewise.
9661 (__cpy): Likewise.
9662 (norm): Likewise.
9663 (denorm): Likewise.
9664 (__mp_dbl): Likewise.
9665 (__dbl_mp): Likewise.
9666 (add_magnitudes): Likewise.
9667 (sub_magnitudes): Likewise.
9668 (__add): Likewise.
9669 (__sub): Likewise.
9670 (__mul): Likewise.
9671 (__inv): Likewise.
9672 (__dvd): Likewise.
9673
eede9df9
JM
96742013-01-08 Joseph Myers <joseph@codesourcery.com>
9675
9676 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9677 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9678 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9679 2 && __USE_EXTERN_INLINES]: Likewise.
9680
c40ea3d9
AJ
96812013-01-08 Andreas Jaeger <aj@suse.de>
9682
9683 [BZ# 14985]
9684 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9685 Remove.
9686 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9687 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9688
2ccdea26
AB
96892013-01-07 Anton Blanchard <anton@samba.org>
9690
9691 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9692 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9693 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9694 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9695 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9696 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9697 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9698 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9700 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9701 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9702 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9703 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9704 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9705 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9706 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9707 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9708 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9709 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9710 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9711 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9712 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9713 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9714 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9715 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9716 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9717 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9718 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9719 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9720 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9721 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9723 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9724 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9725 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9726 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9727 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9728 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9729 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9730 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9731 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9732 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9733 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9734
a9708fed
JM
97352013-01-07 Joseph Myers <joseph@codesourcery.com>
9736
375607b9
JM
9737 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9738 (__MALLOC_PMT): Likewise.
9739 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9740 [__GNUC__], only on [_LIBC].
9741 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9742 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9743 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9744 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9745 forward declaration.
9746 (realloc_hook_ini): Likewise.
9747 (memalign_hook_ini): Likewise.
9748 (__libc_memalign): Do not use __MALLOC_PMT in variable
9749 declaration.
9750 (__libc_valloc): Likewise.
9751 (__libc_pvalloc): Likewise.
9752 (__libc_calloc): Likewise.
9753 (__posix_memalign): Likewise.
9754
a9708fed
JM
9755 [BZ #14996]
9756 * math/s_casinh.c: Include <float.h>.
9757 (__casinh): Do not do computation with squaring and square root
9758 for large arguments.
9759 * math/s_casinhf.c: Include <float.h>.
9760 (__casinhf): Do not do computation with squaring and square root
9761 for large arguments.
9762 * math/s_casinhl.c: Include <float.h>.
9763 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9764 (__casinhl): Do not do computation with squaring and square root
9765 for large arguments.
9766 * math/libm-test.inc (casin_test): Add more tests.
9767 (casinh_test): Likewise.
9768 * sysdeps/i386/fpu/libm-test-ulps: Update.
9769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9770
afec409a
L
97712013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9772
9773 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9774 (__x86_64_raw_data_cache_size): Likewise.
9775 (__x86_64_data_cache_size_half): Likewise.
9776 (__x86_64_raw_data_cache_size_half): Likewise.
9777 (__x86_64_shared_cache_size): Likewise.
9778 (__x86_64_raw_shared_cache_size): Likewise.
9779 (__x86_64_shared_cache_size_half): Likewise.
9780 (__x86_64_raw_shared_cache_size_half): Likewise.
9781 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9782 to ...
9783 (__x86_data_cache_size): This.
9784 (__x86_64_raw_data_cache_size): Renamed to ...
9785 (__x86_raw_data_cache_size): This.
9786 (__x86_64_data_cache_size_half): Renamed to ...
9787 (__x86_data_cache_size_half): This.
9788 (__x86_64_raw_data_cache_size_half): Renamed to ...
9789 (__x86_raw_data_cache_size_half): This.
9790 (__x86_64_shared_cache_size): Renamed to ...
9791 (__x86_shared_cache_size): This.
9792 (__x86_64_raw_shared_cache_size): Renamed to ...
9793 (__x86_raw_shared_cache_size): This.
9794 (__x86_64_shared_cache_size_half): Renamed to ...
9795 (__x86_shared_cache_size_half): This.
9796 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9797 (__x86_raw_shared_cache_size_half): This.
9798 * sysdeps/x86_64/memcpy.S: Updated.
9799 * sysdeps/x86_64/memset.S: Likewise.
9800 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9801 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9802 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9803
0b3986d0
DM
98042013-01-04 David S. Miller <davem@davemloft.net>
9805
9806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9807
e47686e9
AS
98082013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9809
d643bac1
AS
9810 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9811 1 to avoid redefinition warning.
9812 (__USE_GNU): Don't define.
9813 (init_signaling_nan): Protoize.
9814
e47686e9
AS
9815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9816
b18decba
SP
98172013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9818
fffb407f
SP
9819 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9821 (__cpymn): Likewise.
9822 (norm): Remove commented code.
9823 (denorm): Likewise.
9824 (__mp_dbl): Likewise.
9825 (__inv): Likewise.
9826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9827 (__cpymn): Likewise.
9828 (norm): Remove commented code.
9829 (denorm): Likewise.
9830 (__mp_dbl): Likewise.
9831 (__inv): Likewise.
9832
b18decba
SP
9833 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9834 mp_no value for 1.0 and 2.0.
9835 (norm): Use RADIXI instead of radixi.d.
9836 (denorm): Likewise.
9837 (__mul): Use 0.0 instead of zero.d.
9838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9839 mp_no value for 1.0 and 2.0.
9840 (norm): Use RADIXI instead of radixi.d.
9841 (denorm): Likewise.
9842 (__mul): Use 0.0 instead of zero.d.
9843
cdc1c96f
JM
98442013-01-04 Joseph Myers <joseph@codesourcery.com>
9845
9846 [BZ #14994]
9847 * math/s_casinh.c (__casinh): Reduce finite argument to first
9848 quadrant then set signs of results at the end.
9849 * math/s_casinhf.c (__casinhf): Likewise.
9850 * math/s_casinhl.c (__casinhl): Likewise.
9851 * math/libm-test.inc (casin_test): Add more tests.
9852 (casinh_test): Likewise.
9853 * sysdeps/i386/fpu/libm-test-ulps: Update.
9854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9855
302913e1
SP
98562013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9857
6420d207
SP
9858 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9859
a9e48ab4
SP
9860 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9861
b7837264
SP
9862 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9863 declarations.
9864 (denorm): Likewise.
9865 (__mp_dbl): Likewise.
9866 (__inv): Likewise.
9867
f8af25d2
SP
9868 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9869 and adjust the header comment.
9870
302913e1
SP
9871 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9872 variable name from declaration.
9873
5d7dd1ca
L
98742013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9875
9876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9877 Initialize COMMON_CPUID_INDEX_7 element.
9878 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9879 (CPUID_RTM): Likewise.
9880 (HAS_RTM): Likewise.
9881 (COMMON_CPUID_INDEX_7): New enum.
9882
2f5f40f4
AS
98832013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9884
9885 [BZ #14981]
9886 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9887 size is zero, record memory as freed.
9888
4056f4a0
AJ
98892013-01-03 Andreas Jaeger <aj@suse.de>
9890
9891 * po/ia.po: Add new Interlingua translation.
9892
ab15736f 98932012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9894
9895 * locale/programs/localedef.c: Fix description of '--posix' flag.
9896
568035b7
JM
98972013-01-02 Joseph Myers <joseph@codesourcery.com>
9898
e6898b8d
JM
9899 * NEWS: Update dates in second copyright notice.
9900 * README: Update copyright dates in example.
9901 * manual/libc.texinfo: Update copyright dates.
9902 * scripts/test-installation.pl: Update copyright date in --version
9903 output.
9904
0e2f9562
JM
9905 * hurd/ctty-input.c: Fix copyright notice formatting.
9906 * hurd/ctty-output.c: Likewise.
9907 * hurd/dtable.c: Likewise.
9908 * hurd/hurd-raise.c: Likewise.
9909 * hurd/hurdprio.c: Likewise.
9910 * hurd/msgportdemux.c: Likewise.
9911 * misc/sys/file.h: Likewise.
9912 * misc/sys/ioctl.h: Likewise.
9913 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9914 * sysdeps/mach/hurd/chdir.c: Likewise.
9915 * sysdeps/mach/hurd/fchdir.c: Likewise.
9916 * sysdeps/mach/hurd/rename.c: Likewise.
9917 * sysdeps/mach/hurd/rmdir.c: Likewise.
9918 * sysdeps/mach/hurd/seekdir.c: Likewise.
9919 * sysdeps/mach/hurd/setsid.c: Likewise.
9920 * sysdeps/posix/wait3.c: Likewise.
9921
568035b7
JM
9922 * All files with FSF copyright notices: Update copyright dates
9923 using scripts/update-copyrights.
9924 * intl/plural.c: Regenerated.
9925 * locale/programs/charmap-kw.h: Likewise.
9926 * locale/programs/locfile-kw.h: Likewise.
9927
da08f647
SP
99282013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9929
0f5477af
SP
9930 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9931 four values.
9932
44e0d4c2
SP
9933 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9934 calculation loop and add branch prediction.
9935
4d55b4e5
SP
9936 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9937 check access beyond bounds of m1np.
9938
da08f647
SP
9939 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9940 MPTWO.
9941 (__inv): Remove local variable MPTWO to use the global
9942 constant.
9943 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9944 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9945 variable MPTWO.
9946 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9947 MP3HALFS static const.
9948
8e051029
DM
99492013-01-01 David S. Miller <davem@davemloft.net>
9950
9951 * po/ca.po: Update from translation team.
9952
f4cf5f2d
JM
99532013-01-01 Joseph Myers <joseph@codesourcery.com>
9954
9955 * scripts/update-copyrights: New file.
9956 * Makeconfig: Reformat copyright notice.
9957 * ctype/ctype.h: Likewise.
9958 * debug/swprintf_chk.c: Likewise.
9959 * elf/dl-cache.c: Likewise.
9960 * elf/dl-debug.c: Likewise.
9961 * elf/dl-object.c: Likewise.
9962 * grp/initgroups.c: Likewise.
9963 * hurd/Makefile: Likewise.
9964 * hurd/hurd/signal.h: Likewise.
9965 * hurd/hurdfault.c: Likewise.
9966 * hurd/hurdioctl.c: Likewise.
9967 * hurd/hurdlookup.c: Likewise.
9968 * hurd/intr-msg.c: Likewise.
9969 * iconv/gconv_open.c: Likewise.
9970 * libio/swprintf.c: Likewise.
9971 * locale/lc-ctype.c: Likewise.
9972 * locale/nl_langinfo.c: Likewise.
9973 * mach/Machrules: Likewise.
9974 * mach/Makefile: Likewise.
9975 * malloc/obstack.h: Likewise.
9976 * manual/Makefile: Likewise.
9977 * manual/tsort.awk: Likewise.
9978 * misc/bits/stab.def: Likewise.
9979 * nis/nis_print_group_entry.c: Likewise.
9980 * nis/nis_table.c: Likewise.
9981 * nis/nss_compat/compat-pwd.c: Likewise.
9982 * nis/nss_compat/compat-spwd.c: Likewise.
9983 * po/Makefile: Likewise.
9984 * posix/fnmatch.c: Likewise.
9985 * posix/regex.h: Likewise.
9986 * resolv/Makefile: Likewise.
9987 * resolv/nss_dns/dns-network.c: Likewise.
9988 * resolv/res_hconf.c: Likewise.
9989 * scripts/gen-sorted.awk: Likewise.
9990 * soft-fp/soft-fp.h: Likewise.
9991 * stdio-common/printf.h: Likewise.
9992 * stdlib/monetary.h: Likewise.
9993 * stdlib/random.c: Likewise.
9994 * stdlib/random_r.c: Likewise.
9995 * sysdeps/generic/Makefile: Likewise.
9996 * sysdeps/gnu/Makefile: Likewise.
9997 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9998 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9999 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10001 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10002 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10003 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10004 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10005 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10006 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10007 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10008 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10009 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10010 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10011 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10012 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10013 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10014 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10015 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10016 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10017 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10018 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10019 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10020 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10021 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10022 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10023 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10024 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10025 * sysdeps/mach/hurd/errnos.awk: Likewise.
10026 * sysdeps/mach/hurd/fork.c: Likewise.
10027 * sysdeps/mach/hurd/getcwd.c: Likewise.
10028 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10029 * sysdeps/mach/hurd/mmap.c: Likewise.
10030 * sysdeps/mach/hurd/utimes.c: Likewise.
10031 * sysdeps/mach/hurd/xmknod.c: Likewise.
10032 * sysdeps/posix/profil.c: Likewise.
10033 * sysdeps/posix/readdir_r.c: Likewise.
10034 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10035 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10036 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10037 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10039 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10040 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10041 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10043 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10044 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10045 * sysdeps/pthread/lio_listio.c: Likewise.
10046 * sysdeps/sparc/dl-procinfo.h: Likewise.
10047 * sysdeps/unix/i386/sysdep.S: Likewise.
10048 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10049 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10050 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10051 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10053 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10054 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10055 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10056 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10057 * sysdeps/wordsize-32/divdi3.c: Likewise.
10058 * time/sys/time.h: Likewise.
10059 * wcsmbs/Makefile: Likewise.
10060
0549fbba
DM
100612013-01-01 David S. Miller <davem@davemloft.net>
10062
a141f1a7
DM
10063 * po/fr.po: Update from translation team.
10064
0549fbba
DM
10065 * catgets/gencat.c: Update copyright year.
10066 * csu/version.c: Likewise.
10067 * debug/catchsegv.sh: Likewise.
10068 * debug/pcprofiledump.c: Likewise.
10069 * debug/xtrace.sh: Likewise.
10070 * elf/ldconfig.c: Likewise.
10071 * elf/ldd.bash.in: Likewise.
10072 * elf/pldd.c: Likewise.
10073 * elf/sotruss.ksh: Likewise.
10074 * elf/sprof.c: Likewise.
10075 * iconv/iconv_prog.c: Likewise.
10076 * iconv/iconvconfig.c: Likewise.
10077 * locale/programs/locale.c: Likewise.
10078 * locale/programs/localedef.c: Likewise.
10079 * login/programs/pt_chown.c: Likewise.
10080 * malloc/memusage.sh: Likewise.
10081 * malloc/memusagestat.c: Likewise.
10082 * malloc/mtrace.pl: Likewise.
10083 * nscd/nscd.c: Likewise.
10084 * nss/getent.c: Likewise.
10085 * nss/makedb.c: Likewise.
10086 * posix/getconf.c: Likewise.
10087
18ea052c
SP
100882012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10089
10090 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10091 numbers.
10092
9c89fca6
MF
100932012-12-30 Mike Frysinger <vapier@gentoo.org>
10094
10095 * math/bits/mathcalls.h (modf): Use __nonnull.
10096
085ec079
SP
100972012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10098
10099 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10100 (split): Use macro CN instead of the bare value.
10101 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10102 could be used.
10103 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10104 instead of the bare value.
10105 (power1): Likewise.
10106
6d9f97e1
SP
101072012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10108
d63f73be
SP
10109 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10110 __ATAN_TWOM.
10111 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10112
6d9f97e1
SP
10113 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10114 their values.
10115 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10116 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10117 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10118 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10119
4c4febf5
AJ
101202012-12-28 Andreas Jaeger <aj@suse.de>
10121
af5843ef
AJ
10122 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10123 values are from Linux 3.7.
10124
4c4febf5
AJ
10125 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10126 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10127
99136f82
SP
101282012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10129
2f216c3c 10130 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10131 TRUE case.
10132
99136f82
SP
10133 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10134 (norm): Likewise.
10135 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10136 variables with preprocessor constants.
10137 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10138 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10139 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10140
7fffbdff
BH
101412012-12-27 Bruno Haible <bruno@clisp.org>
10142
10143 [BZ #14317]
10144 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10145 only if needed.
10146
b76eb5f0
SP
101472012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10148
31a7fe5c
SP
10149 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10150 and use variable directly.
10151 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10152
b76eb5f0
SP
10153 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10154 MPONE.
10155 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10156 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10157 variable MPONE.
10158 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10159 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10160 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10161 include directive. Remove local variable MPONE.
10162 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10163 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10164 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10165
2c8bfe7d
DM
101662012-12-25 David S. Miller <davem@davemloft.net>
10167
10168 * version.h (RELEASE): Set to "development".
10169 (VERSION): Set to "2.17.90".
10170 * NEWS: Add 2.18 section.
10171
147d03b0
DM
101722012-12-21 David S. Miller <davem@davemloft.net>
10173
10174 * po/hr.po: Update from translation team.
10175
a8ebb2b9
AK
101762012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10177
10178 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10179
95b4f1b6
SE
101802012-12-19 Steve Ellcey <sellcey@mips.com>
10181
b2d94007 10182 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10183
cedb2a90
MS
101842012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10185
10186 * manual/contrib.texi (Contributors): Spelling correction.
10187
bbf527d6
DM
101882012-12-15 David S. Miller <davem@davemloft.net>
10189
10190 * po/ru.po: Update from translation team.
10191
bc38c906
DM
101922012-12-13 David S. Miller <davem@davemloft.net>
10193
85429b1a
DM
10194 * NEWS: Mention IFUNC testsuite enhancements.
10195
d283e353
DM
10196 * po/pl.po: Update from translation team.
10197 * po/bg.po: Likewise.
10198
bc38c906
DM
10199 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10200 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10201
a181b0d7
DM
102022012-12-11 David S. Miller <davem@davemloft.net>
10203
4641d57e
DM
10204 * po/sv.po: Update from translation team.
10205
f7bc6495
DM
10206 * po/vi.po: Update from translation team.
10207
6fc9048f
DM
10208 * po/cs.po: Update from translation team.
10209
a181b0d7
DM
10210 * po/de.po: Update from translation team.
10211 * po/eo.po: Likewise.
10212 * po/nl.po: Likewise.
10213
f70bfe80
SP
102142012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10215
3c8b4190
SP
10216 [BZ #14246]
10217 * manual/argp.texi (Argp Helper Functions): Move node to follow
10218 Argp Parsing State.
10219
f70bfe80
SP
10220 [BZ #14872]
10221 * manual/conf.texi (Limits on File System Capacity): Mention if
10222 terminating null is included in the max size.
10223
188f0adf
AJ
102242012-12-10 Andreas Jaeger <aj@suse.de>
10225
10226 * po/cs.po: Update from translation team.
10227
56e7d3ad
SP
102282012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10229
10230 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10231 void pointer and cast to uintptr_t.
10232 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10233 path.
10234 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10235 * sysdeps/s390/s390-64/memset.S: Likewise.
10236
76f2d2ea 102372012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10238
10239 [BZ #14833]
10240 * menual/message.texi (Message Translation): Fix typos.
10241 (Helper programs for gettext): Likewise.
10242
67cbf9a2
AS
102432012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10244
10245 [BZ #14898]
10246 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10247 Change to -1.
10248
682d0e9a
DM
102492012-12-07 David S. Miller <davem@davemloft.net>
10250
10251 * po/libc.pot: Update.
10252
573cd484
RH
102532012-12-07 Richard Henderson <rth@redhat.com>
10254
7e9da188 10255 [BZ #10114]
573cd484
RH
10256 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10257 normal/normal case to before the switch.
10258 (_FP_DIV): Likewise.
10259
e933a943
MF
102602012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10261 Mike Frysinger <vapier@gentoo.org>
10262
10263 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10264 check for __NR_fadvise64_64.
10265
82123268
CM
102662012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10267
10268 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10269 0, not just to plain "0" as a statement.
10270 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10271 with cw.
10272
d9814526
JM
102732012-12-06 Joseph Myers <joseph@codesourcery.com>
10274
10275 * NEWS: Use sourceware.org in Bugzilla URL.
10276
7728c574
SP
102772012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10278
f16946dd
SP
10279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10280 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10281
5704bbcb
SP
10282 * stdio-common/tst-put-error.c (do_test): Add newline to the
10283 padded test to ensure flush.
10284
17aa0516
JL
102852012-12-05 Jeff Law <law@redhat.com>
10286
10287 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10288
363313b5
JM
102892012-12-05 Joseph Myers <joseph@codesourcery.com>
10290
effbd42a
JM
10291 * README: Don't refer to ports add-on as distributed separately.
10292 Mention AArch64 in list of systems supported in the ports add-on.
10293
87600365
JM
10294 * LICENSES: Add more non-FSF copyright and license notices.
10295
a0d7066a
JM
10296 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10297 ((unused)).
10298
66ca5a5b
JM
10299 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10300
363313b5
JM
10301 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10302 10000 as width of padded output.
10303
b37984ad
JM
103042012-12-04 Joseph Myers <joseph@codesourcery.com>
10305
9003570a
JM
10306 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10307
b37984ad
JM
10308 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10309 variable LX with __attribute__ ((unused)).
10310 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10311 Likewise.
10312 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10313 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10314 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10315 with __attribute__ ((unused)).
10316
c8df52ec
DM
103172012-12-04 David S. Miller <davem@abraco.davemloft.net>
10318
10319 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10320
b3b099af
JM
103212012-12-04 Joseph Myers <joseph@codesourcery.com>
10322
c33aa6e3
JM
10323 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10324 (CFLAGS-nldbl-acos.c): New variable.
10325 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10326 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10327 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10328 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10329 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10330 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10331 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10332 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10333 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10334 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10335 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10336 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10337 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10338 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10339 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10340 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10341 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10342 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10343 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10344 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10345 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10346 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10347 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10348 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10349 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10350 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10351 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10352 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10353 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10354 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10355 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10356 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10357 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10358 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10359 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10360 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10361 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10362 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10363 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10364 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10365 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10366 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10367 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10368 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10369 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10370 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10371 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10372 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10373 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10374 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10375 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10376 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10377 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10378 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10379 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10380 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10381 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10382 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10383 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10384 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10385 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10386 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10387 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10388 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10389 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10390 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10391 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10392 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10393 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10394 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10395 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10396 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10397 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10398 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10399 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10400 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10401 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10402 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10403 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10404 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10405 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10406 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10407 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10408 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10409 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10410 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10411 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10412 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10413 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10414 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10415 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10416 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10417 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10418 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10419 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10420 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10421 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10422
20f0018d
JM
10423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10424 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10425
b3b099af
JM
10426 [BZ #14914]
10427 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10428 whole low double instead of just low 47 bits when splitting values
10429 into two parts.
10430
029264d1
AM
104312012-12-03 Allan McRae <allan@archlinux.org>
10432
10433 * manual/stdio.texi (Predefined Printf Handlers): Remove
10434 @hsep and @vsep usage.
10435
c9d6789e
MF
104362012-12-03 Mike Frysinger <vapier@gentoo.org>
10437
10438 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10439 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10440
4b7634a5
JL
104412012-12-03 Jeff Law <law@redhat.com>
10442
10443 * time/sys/time.h (settimeofday): Do not mark TV argument
10444 as __nonnull.
10445
eb6cbd24
MF
104462012-12-01 Mike Frysinger <vapier@gentoo.org>
10447
10448 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10449 when currently writing and seek to current position when not.
10450 * libio/Makefile (tests): Remove bug-fclose1.
10451 * libio/bug-fclose1.c: Delete.
10452
f638872a
JM
104532012-12-01 Joseph Myers <joseph@codesourcery.com>
10454
10455 * manual/arith.texi (feenableexcept): Fix typo.
10456 (fedisableexcept): Likewise.
10457
48085d14
RM
104582012-11-30 Roland McGrath <roland@hack.frob.com>
10459
10460 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10461 second, differently-typed declaration, rather than a cast.
10462
1a538b9f
SP
104632012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10464
10465 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10466 * include/rpc/svc.h: ... here.
10467
d07f2ff1 104682012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10469
10470 [BZ #13013]
10471 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10472 depending n and resplen2 to catch cases where answer
10473 equals answerp2.
10474
c93ec1f0
CD
104752012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10476
10477 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10478 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10479
37db69de
MF
104802012-11-29 Mike Frysinger <vapier@gentoo.org>
10481
10482 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10483
e10c4e4f
RM
104842012-11-29 Roland McGrath <roland@hack.frob.com>
10485
10486 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10487
2af1b328
JL
104882012-11-28 Jeff Law <law@redhat.com>
10489
10490 [BZ #13761]
10491 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10492 dataset_temporary. Track alloca usage into alloca_used.
10493 If dataset is large allocate and release it via malloc/free.
10494
111db5b1
FW
104952012-06-04 Florian Weimer <fweimer@redhat.com>
10496
f06cc227 10497 [BZ #14197]
111db5b1
FW
10498 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10499
dd694abd
DM
105002012-11-28 David S. Miller <davem@davemloft.net>
10501
10502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10503
9984dd01
JM
105042012-11-28 Joseph Myers <joseph@codesourcery.com>
10505
10506 [BZ #14803]
10507 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10508 of pi/2 rounded to nearest to 64 bits.
10509 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10510 nearest to 64 bits.
10511 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10512 bits.
10513
14bc93a9
JL
105142012-11-28 Jeff Law <law@redhat.com>
10515 Martin Osvald <mosvald@redhat.com>
10516
10517 [BZ #14889]
10518 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10519 * sunrpc/svc.c: Include time.h.
10520 (__svc_accept_failed): New function.
10521 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10522 any reason other than EINTR, call __svc_accept_failed.
10523 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10524 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10525
e3c6aa3a
AS
105262012-11-28 Andreas Schwab <schwab@suse.de>
10527
10528 * scripts/abilist.awk: Also handle indirect functions in .opd
10529 section.
10530
1bead169
JM
105312012-11-28 Joseph Myers <joseph@codesourcery.com>
10532
10533 [BZ #13881]
10534 * sysdeps/x86/fpu/powl_helper.c: New file.
10535 * sysdeps/x86/fpu/Makefile: Likewise.
10536 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10537 (p3): New object.
10538 (__ieee754_powl): Use __powl_helper for finite arguments except
10539 integer exponents below 8.
10540 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10541 (p3): New object.
10542 (__ieee754_powl): Use __powl_helper for finite arguments except
10543 integer exponents below 8.
10544 * math/libm-test.inc (pow_test): Add more tests and enable some
10545 previously disabled tests.
10546 * sysdeps/i386/fpu/libm-test-ulps: Update.
10547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10548
0817d63d
SP
105492012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10550 Carlos O'Donell <carlos_odonell@mentor.com>
10551
10552 * nss/makedb.c (is_prime): Assert that input is odd and greater
10553 than 4. Note that fact in a comment too.
10554 (next_prime): Add 4 to input.
10555
de2fd463
SP
105562012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10557
10558 [BZ #11741]
10559 * libio/Makefile (tests): Add test case tst-fwrite-error.
10560 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10561 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10562 * libio/tst-fwrite-error.c: New test case.
10563
c515fb51
L
105642012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10565
10566 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10567 before casting to void *.
10568 * include/libc-internal.h (__pointer_type): New macro.
10569 (__integer_if_pointer_type_sub): Likewise.
10570 (__integer_if_pointer_type): Likewise.
10571 (cast_to_integer): Likewise.
10572 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10573 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10574 before casting to atomic64_t.
10575 (atomic_exchange_acq): Likewise.
10576 (__arch_exchange_and_add_body): Likewise.
10577 (__arch_add_body): Likewise.
10578 (atomic_add_negative): Likewise.
10579 (atomic_add_zero): Likewise.
10580
4cf77aa9
JM
105812012-11-26 Joseph Myers <joseph@codesourcery.com>
10582
10583 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10584 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10585 (add_fdes): Likewise.
10586 (linear_search_fdes): Likewise.
10587 (binary_search_unencoded_fdes): Likewise.
10588
d260b3b4
AS
105892012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10590
10591 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10592
67060746
AC
105932012-11-24 Adam Conrad <adconrad@0c3.net>
10594
10595 * configure.in: Autodetect C++ header directories.
10596 * configure: Regenerated.
10597
800938a1
MF
105982012-11-23 Mike Frysinger <vapier@gentoo.org>
10599
10600 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10601
4e6e34e6
AS
106022012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10603
10604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10605
7c7feb47
JM
106062012-11-22 Joseph Myers <joseph@codesourcery.com>
10607
7184dcdf
JM
10608 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10609 LDBL_MANT_DIG == 106]: Disable some tests.
10610 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10611 Likewise.
10612 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10613 Likewise.
10614
0a42601f
JM
10615 [BZ #14871]
10616 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10617 input for small inputs. Return +/- pi/2 for large inputs.
10618 * math/libm-test.inc (atan_test): Add more tests.
10619
79c9b9fe
JM
10620 * sysdeps/generic/unwind-dw2-fde-glibc.c
10621 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10622 __attribute__ ((unused)).
10623
c60d3bf2
JM
10624 [BZ #14645]
10625 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10626 x * y if x and y are nonzero and z is zero.
10627
ef1e0867
JM
10628 [BZ #14811]
10629 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10630 nonzero exponents with absolute value below 0x1p-117 to +/-
10631 0x1p-117.
10632
1468ded3
JM
10633 [BZ #14869]
10634 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10635 up arguments below 2**-450, not just those below 2**-500.
10636 * math/libm-test.inc (hypot_test): Add another test.
10637
8e27e3cc
JM
10638 [BZ #14868]
10639 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10640 Return a+b for ratio over 2**120, not 2**60.
10641 * math/libm-test.inc (hypot_test): Add another test.
10642
c9c0279b
JM
10643 * math/libm-test.inc (clog_test): Use
10644 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10645 (clog10_test): Likewise.
10646
7c7feb47
JM
10647 [BZ #6778]
10648 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10649
fff1530e
AS
106502012-11-22 Andreas Schwab <schwab@suse.de>
10651
10652 * sysdeps/i386/fpu/libm-test-ulps: Update.
10653
94558d30
PT
106542012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10655
10656 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10657 printf output with newline.
10658
7e1be741
L
106592012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10660
6bfea974
L
10661 [BZ #14865]
10662 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10663 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10664 -z nodlopen, -z initfirst and -z execstack support.
10665 * configure: Regenerated.
10666
7e1be741
L
10667 * elf/elf.h (DF_1_NODIRECT): New macro.
10668 (DF_1_IGNMULDEF): Likewise.
10669 (DF_1_NOKSYMS): Likewise.
10670 (DF_1_NOHDR): Likewise.
10671 (DF_1_EDITED): Likewise.
10672 (DF_1_NORELOC): Likewise.
10673 (DF_1_SYMINTPOSE): Likewise.
10674 (DF_1_GLOBAUDIT): Likewise.
10675 (DF_1_SINGLETON): Likewise.
10676 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10677 DT_1_SUPPORTED_MASK bits.
10678 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10679
105ce2ce
CD
106802012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10681
10682 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10683
123be9de
TS
106842012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10685
d072f3f7
TS
10686 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10687 macro.
10688
123be9de
TS
10689 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10690 (sendmmsg): Move declarations...
10691 * socket/sys/socket.h: ... here.
10692 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10693 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10694 include it from...
10695 * socket/recvmmsg.c: ... this new file.
10696 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10697 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10698 definition of __sendmmsg hidden.
10699 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10700 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10701 Move ENOSYS stub into and include it from...
10702 * socket/sendmmsg.c: ... this new file.
10703 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10704 (sysdep_routines): Move recvmmsg and sendmmsg...
10705 * socket/Makefile (routines): ... here.
10706 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10707 (GLIBC_PRIVATE): Add __sendmmsg.
10708 * include/sys/socket.h (__sendmmsg): Add declarations.
10709 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10710 sendmmsg.
10711
cf9a5d18
JM
107122012-11-20 Joseph Myers <joseph@codesourcery.com>
10713
10714 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10715 variable I1 with __attribute__ ((unused)).
10716 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10717
ecd4caf9
JM
107182012-11-19 Joseph Myers <joseph@codesourcery.com>
10719
be14d48f
JM
10720 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10721 DUMMY variables with __attribute__ ((unused)).
10722
ecd4caf9
JM
10723 * bits/byteswap.h: Include <bits/types.h>.
10724 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10725
986cab95
PT
107262012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10727
10728 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10729 string_t. Do not manually set errno.
10730 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10731 length with __strnlen. Make sure to both set errno and return it on
10732 failure.
10733
6d33cc9d
DM
107342012-11-19 David S. Miller <davem@davemloft.net>
10735
10736 With help from Joseph Myers.
10737 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10738 very large arguments properly.
10739 * math/libm-test.inc (atan_test): New tests.
10740 (atan2_test): New tests.
10741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10743
ee663277
JM
107442012-11-19 Joseph Myers <joseph@codesourcery.com>
10745
877f2d8e
JM
10746 [BZ #14856]
10747 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10748 Define to 3.
10749
116fc08a
JM
10750 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10751 [POSIX] (EADDRNOTAVAIL): Likewise.
10752 [POSIX] (EAFNOSUPPORT): Likewise.
10753 [POSIX] (EALREADY): Likewise.
10754 [POSIX] (ECONNABORTED): Likewise.
10755 [POSIX] (ECONNREFUSED): Likewise.
10756 [POSIX] (ECONNRESET): Likewise.
10757 [POSIX] (EDESTADDRREQ): Likewise.
10758 [POSIX] (EDQUOT): Likewise.
10759 [POSIX] (EHOSTUNREACH): Likewise.
10760 [POSIX] (EIDRM): Likewise.
10761 [POSIX] (EISCONN): Likewise.
10762 [POSIX] (ELOOP): Likewise.
10763 [POSIX] (EMULTIHOP): Likewise.
10764 [POSIX] (ENETDOWN): Likewise.
10765 [POSIX] (ENETUNREACH): Likewise.
10766 [POSIX] (ENOBUFS): Likewise.
10767 [POSIX] (ENODATA): Likewise.
10768 [POSIX] (ENOLINK): Likewise.
10769 [POSIX] (ENOMSG): Likewise.
10770 [POSIX] (ENOPROTOOPT): Likewise.
10771 [POSIX] (ENOSR): Likewise.
10772 [POSIX] (ENOSTR): Likewise.
10773 [POSIX] (ENOTCONN): Likewise.
10774 [POSIX] (ENOTSOCK): Likewise.
10775 [POSIX] (EOPNOTSUPP): Likewise.
10776 [POSIX] (EOVERFLOW): Likewise.
10777 [POSIX] (EPROTO): Likewise.
10778 [POSIX] (EPROTONOSUPPORT): Likewise.
10779 [POSIX] (EPROTOTYPE): Likewise.
10780 [POSIX] (ESTALE): Likewise.
10781 [POSIX] (ETIME): Likewise.
10782 [POSIX] (ETXTBSY): Likewise.
10783 [POSIX] (EWOULDBLOCK): Likewise.
10784 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10785 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10786 [POSIX] (SEEK_CUR): Likewise.
10787 [POSIX] (SEEK_END): Likewise.
10788 [POSIX || UNIX98] (mode_t): Do not require.
10789 [POSIX] (off_t): Likewise.
10790 [POSIX] (pid_t): Likewise.
10791 [POSIX] (sys/stat.h): Do not allow header.
10792 [POSIX] (unistd.h): Likewise.
10793 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10794 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10795 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10796 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10797 require.
10798 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10799 sigevent): Specify elements.
10800 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10801 entry.
10802 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10803 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10804
a483863f
JM
10805 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10806 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10807 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10808 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10809 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10810 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10811 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10812 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10813 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10814 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10815 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10816 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10817 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10818 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10819 Likewise.
10820 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10821 Likewise.
10822 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10823 Likewise.
10824 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10825 Likewise.
10826 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10827 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10828 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10829 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10830 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10831 Specify lower bound on value.
10832 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10833 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10834 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10835 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10836 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10837 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10838 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10839 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10840 value.
10841 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10842 as optional.
10843 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10844 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10845 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10846 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10847 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10848 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10849 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10850 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10851 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10852 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10853 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10854 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10855 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10856 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10857 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10858 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10859 entry.
10860 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10861 optional.
10862 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10863 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10864 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10865 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10866 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10867 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10868 Likewise.
10869 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10870 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10871 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10872 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10873 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10874 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10875 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10876 as optional.
10877 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10878 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10879 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10880 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10881 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10882 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10883 specify as optional.
10884 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10885 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10886 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10887 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10888 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10889 [XPG3] (NL_LANGMAX): Likewise.
10890 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10891 [POSIX || XPG3] (NL_NMAX): Likewise.
10892 [POSIX || XPG3] (NL_SETMAX): Likewise.
10893 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10894 [XPG3] (NZERO): Likewise.
10895 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10896 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10897 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10898 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10899 (REG_ERANGE): Expect.
10900 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10901 optional-constant.
10902 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10903 Use (void) in prototype.
10904 [POSIX] (*_t): Allow.
10905 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10906 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10907 (WRDE_BADVAL): Expect.
10908
5ba924e3
JM
10909 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10910 expect.
10911 [XPG3 || XPG4] (O_RSYNC): Likewise.
10912 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10913 Likewise.
10914 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10915 [XPG3 || XPG4] (sigqueue): Likewise.
10916 [XPG3 || XPG4] (sigtimedwait): Likewise.
10917 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10918 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10919 [XPG3 || XPG4] (vsnprintf): Likewise.
10920 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10921 Likewise.
10922 [XPG3 || XPG4] (blksize_t): Likewise.
10923 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10924 Likewise.
10925 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10926 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10927 [XPG3 || XPG4] (struct itimerspec): Likewise.
10928 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10929 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10930 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10931 [XPG3 || XPG4] (clockid_t): Likewise.
10932 [XPG3 || XPG4] (timer_t): Likewise.
10933 [XPG3 || XPG4] (clock_getres): Likewise.
10934 [XPG3 || XPG4] (clock_gettime): Likewise.
10935 [XPG3 || XPG4] (clock_settime): Likewise.
10936 [XPG3 || XPG4] (nanosleep): Likewise.
10937 [XPG3 || XPG4] (timer_create): Likewise.
10938 [XPG3 || XPG4] (timer_delete): Likewise.
10939 [XPG3 || XPG4] (timer_gettime): Likewise.
10940 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10941 [XPG3 || XPG4] (timer_settime): Likewise.
10942 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10943 [XPG3 || XPG4] (getlogin_r): Likewise.
10944 [XPG3 || XPG4] (pread): Likewise.
10945 [XPG3 || XPG4] (pthread_atfork): Likewise.
10946 [XPG3 || XPG4] (pwrite): Likewise.
10947
ee663277
JM
10948 [BZ #14835]
10949 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10950 <bits/siginfo.h>.
10951
942caa16
PT
109522012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10953
e19af380
PT
10954 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10955 finalizing MALLSTREAM.
10956
942caa16
PT
10957 * sysdeps/mach/hurd/syncfs.c: New file.
10958
cfde9b46
SP
109592012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10960
10961 [BZ #14719]
10962 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10963 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10964 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10965 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10966 (_nss_dns_gethostbyname4_r): Likewise.
10967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10968 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10969
f6da27e5
PH
109702012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10971
10972 [BZ #13763]
10973 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10974
6665d4a2
SM
109752012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10976
1f51ee92
SM
10977 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10978 * elf/cache.c (print_entry): Print ",AArch64" for
10979 FLAG_AARCH64_LIB64
10980
6665d4a2
SM
10981 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10982 * elf/cache.c (print_entry): Print ",hard-float" for
10983 FLAG_ARM_LIBHF.
10984
05b227bd
DM
109852012-11-18 David S. Miller <davem@davemloft.net>
10986
10987 With help from Joseph Myers.
10988 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10989 cutoff to 2**-13.
10990 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10991 cutoff to 2**-25.
10992 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10993 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10994 small.
10995 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10996 * math/libm-test.inc (y0_test): New tests.
10997 (y1_test): New tests.
10998 * sysdeps/i386/fpu/libm-test-ulps: Update.
10999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11001
786b0b67
AS
110022012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11003
11004 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11005 64-bit targets.
11006 * configure: Regenerated.
11007
8e18b86d
DM
110082012-11-17 David S. Miller <davem@davemloft.net>
11009
11010 [BZ #14811]
11011 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11012 nonzero exponents with absolute value below 0x1p-128 to +/-
11013 0x1p-128.
11014
531f1ae0
JM
110152012-11-17 Joseph Myers <joseph@codesourcery.com>
11016
12df29e2
JM
11017 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11018
150dc1a0
JM
11019 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11020
531f1ae0
JM
11021 * posix/getconf-speclist.c: New file.
11022 * posix/posix-envs.def: Likewise.
11023 * posix/confstr.c (START_ENV_GROUP): New macro.
11024 (END_ENV_GROUP): Likewise.
11025 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11026 (KNOWN_PRESENT_ENV_STRING): Likewise.
11027 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11028 (UNKNOWN_ENVIRONMENT): Likewise.
11029 (confstr): Include posix-envs.def instead of handling
11030 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11031 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11032 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11033 (END_ENV_GROUP): Likewise.
11034 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11035 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11036 (UNKNOWN_ENVIRONMENT): Likewise.
11037 (__sysconf): Include posix-envs.def instead of handling associated
11038 cases directly here.
11039 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11040 preprocessing getconf-speclist.c rather than running getconf or
11041 generating empty file.
11042
a93f9cbc
PT
110432012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11044
11045 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11046
d64d9f87
AL
110472012-11-16 Andrej Lajovic <natrij@gmail.com>
11048
11049 [BZ #14672]
11050 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11051
447885eb
DM
110522012-11-16 David S. Miller <davem@davemloft.net>
11053
11054 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11055 smaller than LDBL_EPSILON/2.0L, just return xm1.
11056
bcbf9830
L
110572012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11058
11059 * elf/tst-array1.c (init): Set constructor priority to 1000.
11060 (fini): Set destructor priority to 1000.
11061 * elf/tst-array2dep.c: Likewise.
11062
2b766585
SP
110632012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11064
11065 [BZ #11741]
11066 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11067 (_IO_new_file_xsputn): Also return EOF if none of the input
11068 data was written when overflow failed.
11069 * libio/iopadn.c (_IO_padn): Likewise.
11070 * libio/iowpadn.c (_IO_wpadn): Likewise.
11071 * stdio-common/tst-put-error.c: Add copyright notice.
11072 (do_test): Add case for printing padded string.
11073 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11074 _IO_padn returned error.
11075 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11076 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11077 return EOF.
11078
b1848fde
SP
110792012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11080
11081 * libio/libioP.h: Add comment note that the references to C++
11082 bits are now obsolete.
11083
2fd89785
MS
110842012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11085
11086 * math/libm-test.inc (check_complex): Use asprintf.
11087
e3ea5409
JM
110882012-11-14 Joseph Myers <joseph@codesourcery.com>
11089
11090 * debug/pcprofiledump.c (print_version): Update copyright year.
11091 * malloc/memusagestat.c (print_version): Likewise.
11092
2e64d265
L
110932012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11094
11095 [BZ #14831]
11096 * elf/Makefile (tests): Add tst-audit8.
11097 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11098 ($(objpfx)tst-audit8.out): New target.
11099 (tst-audit8-ENV): New variable.
11100 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11101 audit if l_reloc_result is NULL.
11102 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11103 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11104 * elf/tst-audit8.c: New file.
11105
c485e4d2
MS
111062012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11107
11108 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11109 * misc/Makefile (CFLAGS-select.c): Define.
11110 * posix/Makefile (CFLAGS-pause.c): Define.
11111
3a0d900a
DM
111122012-11-13 David S. Miller <davem@davemloft.net>
11113
11114 * crypt/Makefile: Move test targets after toplevel Rules
11115 inclusion. Grab any necessary sysdep routines when linking.
11116 * crypt/md5.c (md5_process_block): Remove define, we will always
11117 name it __md5_process_block.
11118 (md5_finish_ctx): Update md5_process_block call.
11119 (md5_stream): Likewise.
11120 (md5_process_bytes): Likewise.
11121 (md5_process_block): Rename to __md5_process_block and move to ...
11122 * crypt/md5-block.c: ... here.
11123 * crypt/sha256.c (sha256_process_block): Move to ...
11124 * crypt/sha256-block.c: ... here.
11125 * crypt/sha512.c (sha512_process_block): Move to ...
11126 * crypt/sha512-block.c: ... here.
11127 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11128 path.
11129 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11130 * sysdeps/sparc/sparc64/multiarch/Makefile
11131 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11132 crypt subdir.
11133 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11134 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11135 multiarch changes.
11136 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11137 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11138 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11139 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11140 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11141 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11142 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11143 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11144 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11145 file.
11146 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11147 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11148 file.
11149 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11150
8ca89318
JM
111512012-11-13 Joseph Myers <joseph@codesourcery.com>
11152
e27d476a
JM
11153 * timezone/tzselect.ksh: Update from tzcode git revision
11154 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11155 * timezone/zdump.c: Likewise.
11156 * timezone/zic.c: Likewise.
11157 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11158 in TZVERSION setting, not $(PKGVERSION).
11159 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11160 REPORT_BUGS_TO settings.
11161
8ca89318
JM
11162 [BZ #14838]
11163 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11164 macro.
11165
47594329
MS
111662012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11167
11168 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11169 detection to immediately after _FP_ROUND().
11170 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11171 bits are 0.
11172
640ac3f1
DM
111732012-11-11 David S. Miller <davem@davemloft.net>
11174
11175 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11176 inttypes.h
11177 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11178 __close rather than their public counterparts.
11179
3d2577bb
JM
111802012-11-10 Joseph Myers <joseph@codesourcery.com>
11181
11182 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11183 file.
11184 [UNIX98] (sem_timedwait): Do not expect.
11185 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11186 [XPG4 || UNIX98] (sockatmark): Do not expect.
11187 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11188 (clock_getcpuclockid): Do not expect.
11189 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11190 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11191 Do not expect.
11192 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11193 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11194 [UNIX98] (vwscanf): Likewise.
11195 [UNIX98] (vswscanf): Likewise.
11196
fb1ae1ee
JM
111972012-11-09 Joseph Myers <joseph@codesourcery.com>
11198
9ec6f8bd
JM
11199 * timezone/version.h: Remove file.
11200 * timezone/README: Do not refer to version.h.
11201 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11202 $(objpfx)version.h.
11203 ($(objpfx)zdump.o): Likewise.
c3f81911 11204 ($(objpfx)version.h): New target.
9ec6f8bd 11205
0aa8f8a1
JM
11206 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11207 2012i.
11208 * timezone/README: Don't mention modification to tzselect.ksh.
11209 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11210 work on unmodified tzselect.ksh. Substitute version numbers in
11211 tzselect.ksh.
11212
4e87147f
JM
11213 * Makefile (format-me): Remove.
11214 (INSTALL): Adjust indentation. Use commands directly instead of
11215 using $(format-me).
11216
8b748aed
JM
11217 * aclocal.m4 (ACX_PKGVERSION): New macro.
11218 (ACX_BUGURL): Likewise.
11219 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11220 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11221 (REPORT_BUGS_TO): Likewise.
11222 * configure: Regenerated.
11223 * config.h.in (PKGVERSION): New macro.
11224 (REPORT_BUGS_TO): Likewise.
11225 * config.make.in (PKGVERSION): New variable.
11226 (PKGVERSION_TEXI): Likewise.
11227 (REPORT_BUGS_TO): Likewise.
11228 (REPORT_BUGS_TEXI): Likewise.
11229 * Makefile (format-me): Use -I$(common-objpfx)manual.
11230 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11231 ($(common-objpfx)manual/%): New target.
11232 (manual/%): Remove target.
11233 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11234 (print_version): Use PKGVERSION.
11235 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11236 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11237 and REPORT_BUGS_TO.
11238 ($(objpfx)xtrace): Likewise.
11239 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11240 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11241 (print_version): Use PKGVERSION.
11242 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11243 (do_version): Use PKGVERSION.
11244 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11245 REPORT_BUGS_TO.
11246 (common-ldd-rewrite): Likewise.
11247 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11248 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11249 (print_version): Use PKGVERSION.
11250 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11251 * elf/pldd.c (argp_program_bug_address): Remove variable.
11252 (more_help): New function.
11253 (argp): Use more_help.
11254 (print_version): Use PKGVERSION.
11255 * elf/sln.c (main): Use PKGVERSION.
11256 (usage): Use REPORT_BUGS_TO.
11257 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11258 (top level): Use PKGVERSION.
11259 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11260 (print_version): Use PKGVERSION.
11261 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11262 (print_version): Use PKGVERSION.
11263 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11264 (print_version): Use PKGVERSION.
11265 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11266 (print_version): Use PKGVERSION.
11267 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11268 (print_version): Use PKGVERSION.
11269 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11270 (print_version): Use PKGVERSION.
11271 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11272 and BUGURL.
11273 ($(objpfx)memusage): Likewise.
11274 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11275 (do_version): Use PKGVERSION.
11276 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11277 (print_version): Use PKGVERSION.
11278 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11279 ($PKGVERSION): New variable.
11280 ($REPORT_BUGS_TO): Likewise.
11281 (usage): Use $REPORT_BUGS_TO.
11282 (top level): Use $PKGVERSION.
11283 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11284 ($(objpfx)pkgvers.texi): New rule.
11285 ($(objpfx)stamp-pkgvers): Likewise.
11286 * manual/install.texi: Include pkgvers.texi.
11287 (--with-pkgversion): Document new configure option.
11288 (--with-bugurl): Likewise.
11289 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11290 than necessarily for this particular distribution. Use
11291 REPORT_BUGS_TO for where to report bugs.
11292 * INSTALL: Regenerated.
11293 * manual/libc.texinfo: Include pkgvers.texi.
11294 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11295 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11296 (print_version): Use PKGVERSION.
11297 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11298 (print_version): Use PKGVERSION.
11299 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11300 (print_version): Use PKGVERSION.
11301 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11302 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11303 macro.
11304 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11305 (print_version): Use PKGVERSION.
11306 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11307 (print_version): Use PKGVERSION.
11308 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11309 and PKGVERSION.
11310
92e4b6a9
JM
11311 * timezone/checktab.awk: Update from tzcode 2012i.
11312 * timezone/ialloc.c: Likewise.
11313 * timezone/private.h: Likewise.
11314 * timezone/scheck.c: Likewise.
11315 * timezone/tzfile.h: Likewise.
11316 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11317 (TZVERSION): Hardcode tzcode version number.
11318 * timezone/zdump.c: Update from tzcode 2012i.
11319 * timezone/zic.c: Likewise.
11320 * timezone/version.h: New file.
11321 * timezone/README: Describe version.h. Update upstream location.
11322
9bde902c
JM
11323 [BZ #14824]
11324 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11325 (mktemp): Enable declaration.
11326 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11327 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11328 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11329 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11330 Likewise.
11331 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11332 Likewise.
11333 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11334 Likewise.
11335 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11336 Likewise.
11337 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11338 Likewise.
11339 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11340 Likewise.
11341
fb1ae1ee
JM
11342 [BZ #14821]
11343 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11344 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11345 for copies of such integer values.
11346 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11347 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11348
2c1adbcb
AJ
113492012-11-09 Andreas Jaeger <aj@suse.de>
11350
11351 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11352 definitions and declarations that are provided by
11353 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11354
d0f8457e
AK
113552012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11356
3a235abb 11357 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11358 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11359 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11360 definition.
11361
57241e26
MS
113622012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11363
11364 * elf/elf.h: Update comment before AArch64 relocations.
11365
60e8270d
DM
113662012-11-07 David S. Miller <davem@davemloft.net>
11367
11368 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11369 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11370 (__start_context): Declare.
11371 (__makecontext_ret): Delete.
11372 (__makecontext): Hook up __start_context instead of
11373 __makecontext_ret.
11374 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11375 (sysdep_routines): Add __start_context when in stdlib.
11376
0fbb0fbc
JM
113772012-11-07 Joseph Myers <joseph@codesourcery.com>
11378
11379 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11380 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11381 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11382 hardcoded "nm".
11383 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11384 (READELF): New variable. Use it instead of hardcoded "readelf".
11385
eb48db7e
L
113862012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11387
11388 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11389 * sysdeps/x86/Makefile: Here.
11390 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11391 * sysdeps/x86/tst-xmmymm.sh: This.
11392
05bcf62a
JM
113932012-11-07 Joseph Myers <joseph@codesourcery.com>
11394
c4b6cf53
JM
11395 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11396 expectations.
11397 [UNIX98] (pthread_barrier_t): Do not expect.
11398 [UNIX98] (pthread_barrierattr_t): Likewise.
11399 [UNIX98] (pthread_spinlock_t): Likewise.
11400 [UNIX98] (pthread_barrier_destroy): Likewise.
11401 [UNIX98] (pthread_barrier_init): Likewise.
11402 [UNIX98] (pthread_barrier_wait): Likewise.
11403 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11404 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11405 [UNIX98] (pthread_barrierattr_init): Likewise.
11406 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11407 [UNIX98] (pthread_getcpuclockid): Likewise.
11408 [UNIX98] (pthread_mutex_timedlock): Likewise.
11409 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11410 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11411 [UNIX98] (pthread_sigmask): Likewise.
11412 [UNIX98] (pthread_spin_destroy): Likewise.
11413 [UNIX98] (pthread_spin_init): Likewise.
11414 [UNIX98] (pthread_spin_lock): Likewise.
11415 [UNIX98] (pthread_spin_trylock): Likewise.
11416 [UNIX98] (pthread_spin_unlock): Likewise.
11417 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11418 Do not expect.
11419 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11420 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11421 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11422 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11423 [XPG3 || XPG4] (pthread_key_t): Likewise.
11424 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11425 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11426 [XPG3 || XPG4] (pthread_once_t): Likewise.
11427 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11428 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11429 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11430 [XPG3 || XPG4] (pthread_t): Likewise.
11431
cbe6e120
JM
11432 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11433 not expect.
11434 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11435
1b126443
JM
11436 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11437 Change function return type to int.
11438
b961a573
JM
11439 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11440 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11441 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11442 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11443 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11444 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11445 [!POSIX] (posix_madvise): Likewise.
11446 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11447 && !UNIX98].
11448 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11449 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11450 (mode_t): Likewise.
11451 (posix_mem_offset): Likewise.
11452 (posix_typed_mem_get_info): Likewise.
11453 (posix_typed_mem_open): Likewise.
11454
9e188909
JM
11455 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11456 Change condition to [XOPEN2K8].
11457
05bcf62a
JM
11458 * conform/conformtest.pl: Preprocess allow-header data with -x c
11459 instead of from stdin.
11460 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11461 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11462 [C99-based standards] (cerfc): Likewise.
11463 [C99-based standards] (cexp2): Likewise.
11464 [C99-based standards] (cexpm1): Likewise.
11465 [C99-based standards] (clog10): Likewise.
11466 [C99-based standards] (clog1p): Likewise.
11467 [C99-based standards] (clog2): Likewise.
11468 [C99-based standards] (clgamma): Likewise.
11469 [C99-based standards] (ctgamma): Likewise.
11470 [C99-based standards] (cerff): Likewise.
11471 [C99-based standards] (cerfcf): Likewise.
11472 [C99-based standards] (cexp2f): Likewise.
11473 [C99-based standards] (cexpm1f): Likewise.
11474 [C99-based standards] (clog10f): Likewise.
11475 [C99-based standards] (clog1pf): Likewise.
11476 [C99-based standards] (clog2f): Likewise.
11477 [C99-based standards] (clgammaf): Likewise.
11478 [C99-based standards] (ctgammaf): Likewise.
11479 [C99-based standards] (cerfl): Likewise.
11480 [C99-based standards] (cerfcl): Likewise.
11481 [C99-based standards] (cexp2l): Likewise.
11482 [C99-based standards] (cexpm1l): Likewise.
11483 [C99-based standards] (clog10l): Likewise.
11484 [C99-based standards] (clog1pl): Likewise.
11485 [C99-based standards] (clog2l): Likewise.
11486 [C99-based standards] (clgammal): Likewise.
11487 [C99-based standards] (ctgammal): Likewise.
11488 * conform/data/inttypes.h-data [C99-based standards]: Include
11489 stdint.h-data. Remove all expectations for stdint.h contents.
11490 [C99-based standards] (PRI*): Do not allow.
11491 [C99-based standards] (SCN*): Likewise.
11492 [C99-based standards] (*_t): Likewise.
11493 [C99-based-standards] (PRId8): Expect macro.
11494 [C99-based-standards] (PRIi8): Likewise.
11495 [C99-based-standards] (PRIo8): Likewise.
11496 [C99-based-standards] (PRIu8): Likewise.
11497 [C99-based-standards] (PRIx8): Likewise.
11498 [C99-based-standards] (PRIX8): Likewise.
11499 [C99-based-standards] (SCNd8): Likewise.
11500 [C99-based-standards] (SCNi8): Likewise.
11501 [C99-based-standards] (SCNo8): Likewise.
11502 [C99-based-standards] (SCNu8): Likewise.
11503 [C99-based-standards] (SCNx8): Likewise.
11504 [C99-based-standards] (PRIdLEAST8): Likewise.
11505 [C99-based-standards] (PRIiLEAST8): Likewise.
11506 [C99-based-standards] (PRIoLEAST8): Likewise.
11507 [C99-based-standards] (PRIuLEAST8): Likewise.
11508 [C99-based-standards] (PRIxLEAST8): Likewise.
11509 [C99-based-standards] (PRIXLEAST8): Likewise.
11510 [C99-based-standards] (SCNdLEAST8): Likewise.
11511 [C99-based-standards] (SCNiLEAST8): Likewise.
11512 [C99-based-standards] (SCNoLEAST8): Likewise.
11513 [C99-based-standards] (SCNuLEAST8): Likewise.
11514 [C99-based-standards] (SCNxLEAST8): Likewise.
11515 [C99-based-standards] (PRIdFAST8): Likewise.
11516 [C99-based-standards] (PRIiFAST8): Likewise.
11517 [C99-based-standards] (PRIoFAST8): Likewise.
11518 [C99-based-standards] (PRIuFAST8): Likewise.
11519 [C99-based-standards] (PRIxFAST8): Likewise.
11520 [C99-based-standards] (PRIXFAST8): Likewise.
11521 [C99-based-standards] (SCNdFAST8): Likewise.
11522 [C99-based-standards] (SCNiFAST8): Likewise.
11523 [C99-based-standards] (SCNoFAST8): Likewise.
11524 [C99-based-standards] (SCNuFAST8): Likewise.
11525 [C99-based-standards] (SCNxFAST8): Likewise.
11526 [C99-based-standards] (PRId16): Likewise.
11527 [C99-based-standards] (PRIi16): Likewise.
11528 [C99-based-standards] (PRIo16): Likewise.
11529 [C99-based-standards] (PRIu16): Likewise.
11530 [C99-based-standards] (PRIx16): Likewise.
11531 [C99-based-standards] (PRIX16): Likewise.
11532 [C99-based-standards] (SCNd16): Likewise.
11533 [C99-based-standards] (SCNi16): Likewise.
11534 [C99-based-standards] (SCNo16): Likewise.
11535 [C99-based-standards] (SCNu16): Likewise.
11536 [C99-based-standards] (SCNx16): Likewise.
11537 [C99-based-standards] (PRIdLEAST16): Likewise.
11538 [C99-based-standards] (PRIiLEAST16): Likewise.
11539 [C99-based-standards] (PRIoLEAST16): Likewise.
11540 [C99-based-standards] (PRIuLEAST16): Likewise.
11541 [C99-based-standards] (PRIxLEAST16): Likewise.
11542 [C99-based-standards] (PRIXLEAST16): Likewise.
11543 [C99-based-standards] (SCNdLEAST16): Likewise.
11544 [C99-based-standards] (SCNiLEAST16): Likewise.
11545 [C99-based-standards] (SCNoLEAST16): Likewise.
11546 [C99-based-standards] (SCNuLEAST16): Likewise.
11547 [C99-based-standards] (SCNxLEAST16): Likewise.
11548 [C99-based-standards] (PRIdFAST16): Likewise.
11549 [C99-based-standards] (PRIiFAST16): Likewise.
11550 [C99-based-standards] (PRIoFAST16): Likewise.
11551 [C99-based-standards] (PRIuFAST16): Likewise.
11552 [C99-based-standards] (PRIxFAST16): Likewise.
11553 [C99-based-standards] (PRIXFAST16): Likewise.
11554 [C99-based-standards] (SCNdFAST16): Likewise.
11555 [C99-based-standards] (SCNiFAST16): Likewise.
11556 [C99-based-standards] (SCNoFAST16): Likewise.
11557 [C99-based-standards] (SCNuFAST16): Likewise.
11558 [C99-based-standards] (SCNxFAST16): Likewise.
11559 [C99-based-standards] (PRId32): Likewise.
11560 [C99-based-standards] (PRIi32): Likewise.
11561 [C99-based-standards] (PRIo32): Likewise.
11562 [C99-based-standards] (PRIu32): Likewise.
11563 [C99-based-standards] (PRIx32): Likewise.
11564 [C99-based-standards] (PRIX32): Likewise.
11565 [C99-based-standards] (SCNd32): Likewise.
11566 [C99-based-standards] (SCNi32): Likewise.
11567 [C99-based-standards] (SCNo32): Likewise.
11568 [C99-based-standards] (SCNu32): Likewise.
11569 [C99-based-standards] (SCNx32): Likewise.
11570 [C99-based-standards] (PRIdLEAST32): Likewise.
11571 [C99-based-standards] (PRIiLEAST32): Likewise.
11572 [C99-based-standards] (PRIoLEAST32): Likewise.
11573 [C99-based-standards] (PRIuLEAST32): Likewise.
11574 [C99-based-standards] (PRIxLEAST32): Likewise.
11575 [C99-based-standards] (PRIXLEAST32): Likewise.
11576 [C99-based-standards] (SCNdLEAST32): Likewise.
11577 [C99-based-standards] (SCNiLEAST32): Likewise.
11578 [C99-based-standards] (SCNoLEAST32): Likewise.
11579 [C99-based-standards] (SCNuLEAST32): Likewise.
11580 [C99-based-standards] (SCNxLEAST32): Likewise.
11581 [C99-based-standards] (PRIdFAST32): Likewise.
11582 [C99-based-standards] (PRIiFAST32): Likewise.
11583 [C99-based-standards] (PRIoFAST32): Likewise.
11584 [C99-based-standards] (PRIuFAST32): Likewise.
11585 [C99-based-standards] (PRIxFAST32): Likewise.
11586 [C99-based-standards] (PRIXFAST32): Likewise.
11587 [C99-based-standards] (SCNdFAST32): Likewise.
11588 [C99-based-standards] (SCNiFAST32): Likewise.
11589 [C99-based-standards] (SCNoFAST32): Likewise.
11590 [C99-based-standards] (SCNuFAST32): Likewise.
11591 [C99-based-standards] (SCNxFAST32): Likewise.
11592 [C99-based-standards] (PRId64): Likewise.
11593 [C99-based-standards] (PRIi64): Likewise.
11594 [C99-based-standards] (PRIo64): Likewise.
11595 [C99-based-standards] (PRIu64): Likewise.
11596 [C99-based-standards] (PRIx64): Likewise.
11597 [C99-based-standards] (PRIX64): Likewise.
11598 [C99-based-standards] (SCNd64): Likewise.
11599 [C99-based-standards] (SCNi64): Likewise.
11600 [C99-based-standards] (SCNo64): Likewise.
11601 [C99-based-standards] (SCNu64): Likewise.
11602 [C99-based-standards] (SCNx64): Likewise.
11603 [C99-based-standards] (PRIdLEAST64): Likewise.
11604 [C99-based-standards] (PRIiLEAST64): Likewise.
11605 [C99-based-standards] (PRIoLEAST64): Likewise.
11606 [C99-based-standards] (PRIuLEAST64): Likewise.
11607 [C99-based-standards] (PRIxLEAST64): Likewise.
11608 [C99-based-standards] (PRIXLEAST64): Likewise.
11609 [C99-based-standards] (SCNdLEAST64): Likewise.
11610 [C99-based-standards] (SCNiLEAST64): Likewise.
11611 [C99-based-standards] (SCNoLEAST64): Likewise.
11612 [C99-based-standards] (SCNuLEAST64): Likewise.
11613 [C99-based-standards] (SCNxLEAST64): Likewise.
11614 [C99-based-standards] (PRIdFAST64): Likewise.
11615 [C99-based-standards] (PRIiFAST64): Likewise.
11616 [C99-based-standards] (PRIoFAST64): Likewise.
11617 [C99-based-standards] (PRIuFAST64): Likewise.
11618 [C99-based-standards] (PRIxFAST64): Likewise.
11619 [C99-based-standards] (PRIXFAST64): Likewise.
11620 [C99-based-standards] (SCNdFAST64): Likewise.
11621 [C99-based-standards] (SCNiFAST64): Likewise.
11622 [C99-based-standards] (SCNoFAST64): Likewise.
11623 [C99-based-standards] (SCNuFAST64): Likewise.
11624 [C99-based-standards] (SCNxFAST64): Likewise.
11625 [C99-based-standards] (PRIdMAX): Likewise.
11626 [C99-based-standards] (PRIiMAX): Likewise.
11627 [C99-based-standards] (PRIoMAX): Likewise.
11628 [C99-based-standards] (PRIuMAX): Likewise.
11629 [C99-based-standards] (PRIxMAX): Likewise.
11630 [C99-based-standards] (PRIXMAX): Likewise.
11631 [C99-based-standards] (SCNdMAX): Likewise.
11632 [C99-based-standards] (SCNiMAX): Likewise.
11633 [C99-based-standards] (SCNoMAX): Likewise.
11634 [C99-based-standards] (SCNuMAX): Likewise.
11635 [C99-based-standards] (SCNxMAX): Likewise.
11636 [C99-based-standards] (PRIdPTR): Likewise.
11637 [C99-based-standards] (PRIiPTR): Likewise.
11638 [C99-based-standards] (PRIoPTR): Likewise.
11639 [C99-based-standards] (PRIuPTR): Likewise.
11640 [C99-based-standards] (PRIxPTR): Likewise.
11641 [C99-based-standards] (PRIXPTR): Likewise.
11642 [C99-based-standards] (SCNdPTR): Likewise.
11643 [C99-based-standards] (SCNiPTR): Likewise.
11644 [C99-based-standards] (SCNoPTR): Likewise.
11645 [C99-based-standards] (SCNuPTR): Likewise.
11646 [C99-based-standards] (SCNxPTR): Likewise.
11647 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11648 allow.
11649 * conform/data/stdint.h-data: Update comments to clarify
11650 requirements.
11651 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11652 type.
11653 [C99-based standards] (INT8_MAX): Likewise.
11654 [C99-based standards] (INT16_MIN): Likewise.
11655 [C99-based standards] (INT16_MAX): Likewise.
11656 [C99-based standards] (INT32_MIN): Likewise.
11657 [C99-based standards] (INT32_MAX): Likewise.
11658 [C99-based standards] (INT64_MIN): Likewise.
11659 [C99-based standards] (INT64_MAX): Likewise.
11660 [C99-based standards] (UINT8_MAX): Likewise.
11661 [C99-based standards] (UINT16_MAX): Likewise.
11662 [C99-based standards] (UINT32_MAX): Likewise.
11663 [C99-based standards] (UINT64_MAX): Likewise.
11664 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11665 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11666 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11667 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11668 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11669 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11670 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11671 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11672 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11673 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11674 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11675 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11676 [C99-based standards] (INT_FAST8_MIN): Likewise.
11677 [C99-based standards] (INT_FAST8_MAX): Likewise.
11678 [C99-based standards] (INT_FAST16_MIN): Likewise.
11679 [C99-based standards] (INT_FAST16_MAX): Likewise.
11680 [C99-based standards] (INT_FAST32_MIN): Likewise.
11681 [C99-based standards] (INT_FAST32_MAX): Likewise.
11682 [C99-based standards] (INT_FAST64_MIN): Likewise.
11683 [C99-based standards] (INT_FAST64_MAX): Likewise.
11684 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11685 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11686 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11687 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11688 [C99-based standards] (INTPTR_MIN): Likewise.
11689 [C99-based standards] (INTPTR_MAX): Likewise.
11690 [C99-based standards] (UINTPTR_MAX): Likewise.
11691 [C99-based standards] (INTMAX_MIN): Likewise.
11692 [C99-based standards] (INTMAX_MAX): Likewise.
11693 [C99-based standards] (UINTMAX_MAX): Likewise.
11694 [C99-based standards] (PTRDIFF_MIN): Likewise.
11695 [C99-based standards] (PTRDIFF_MAX): Likewise.
11696 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11697 [C99-based standards] (SIZE_MAX): Likewise.
11698 [C99-based standards] (WCHAR_MAX): Likewise.
11699 [C99-based standards] (WINT_MAX): Likewise.
11700 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11701 constraint on value.
11702 [C99-based standards] (WCHAR_MIN): Likewise.
11703 [C99-based standards] (WINT_MIN): Likewise.
11704 [C99-based standards] (*_t): Allow.
11705 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11706 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11707 Include math.h-data and complex.h-data. Remove all expectations
11708 of math.h and complex.h contents.
11709 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11710 at end of line.
11711 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11712 (struct tm): Expect tag.
11713 [C99-based-standards] (wcstof): Expect function.
11714 [C99-based-standards] (wcstold): Likewise.
11715 [C99-based-standards] (wcstoll): Likewise.
11716 [C99-based-standards] (wcstoull): Likewise.
11717 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11718 macro-int-constant. Specify type.
11719 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11720 constraint on value.
11721 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11722 Specify type.
11723 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11724 Specify value.
11725 [ISO C standards]: Do not allow headers.
11726 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11727 wcs[abcdefghijklmnopqrstuvwxyz]*.
11728 [ISO C standards] (*_t): Do not allow.
11729 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11730 Expect function.
11731 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11732 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11733 Specify type.
11734 [ISO C standards]: Do not allow headers.
11735 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11736 is[abcdefghijklmnopqrstuvwxyz]*.
11737 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11738 to[abcdefghijklmnopqrstuvwxyz]*.
11739 [ISO C standards] (*_t): Do not allow.
11740 * conform/data/stdalign.h-data: New file.
11741 * conform/data/stdbool.h-data: Likewise.
11742 * conform/data/stdnoreturn.h-data: Likewise.
11743
7514feb8
RM
117442012-11-07 Roland McGrath <roland@hack.frob.com>
11745
11746 [BZ #14815]
11747 * manual/filesys.texi (Directory Entries): Typo fix.
11748 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11749
19b2ecfc
MS
117502012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11751
11752 * elf/elf.h (EM_AARCH64): New macro.
11753 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11754 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11755 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11756 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11757 (R_AARCH64_TLSDESC): Likewise.
11758 (NT_ARM_TLS): Likewise.
11759 (NT_ARM_HW_BREAK): Likewise.
11760 (NT_ARM_HW_WATCH): Likewise.
11761
60e235ee
JM
117622012-11-07 Joseph Myers <joseph@codesourcery.com>
11763
11764 [BZ #14811]
11765 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11766 (__ieee754_powl): Saturate nonzero exponents with absolute value
11767 below 0x1p-79 to +/- 0x1p-79.
11768 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11769 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11770 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11771 nonzero exponents with absolute value below 0x1p-32 to +/-
11772 0x1p-32.
11773 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11774 (__ieee754_powl): Saturate nonzero exponents with absolute value
11775 below 0x1p-79 to +/- 0x1p-79.
11776 * math/libm-test.inc (pow_test): Add more tests.
11777
0ab234b7
AK
117782012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11779
11780 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11781 _dl_s390_cap_flags with kernel. Increase string length.
11782 (_dl_s390_platforms): Add z196 and zEC12.
11783
45832f74
JM
117842012-11-07 Joseph Myers <joseph@codesourcery.com>
11785
11786 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11787 Change XOPEN21K to XOPEN2K.
11788
19218757
MK
117892012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11790
11791 * string/memmove.c: Use memcpy when possible.
11792
c5f45721
AJ
117932012-11-06 Andreas Jaeger <aj@suse.de>
11794
11795 * po/eo.po: Update from translation team.
11796
82477c28
JM
117972012-11-06 Joseph Myers <joseph@codesourcery.com>
11798
11799 [BZ #14793]
11800 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11801 exponent and small x and y exponents, scale x or y up. Increase
11802 by 2 the exponent used in scaling up.
11803 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11804 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11805 * math/libm-test.inc (fma_test): Add more tests.
11806 (fma_test_towardzero): Likewise.
11807 (fma_test_downward): Likewise.
11808 (fma_test_upward): Likewise.
11809
99252c8c
JM
118102012-11-05 Joseph Myers <joseph@codesourcery.com>
11811
acfa885f
JM
11812 [BZ #14805]
11813 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11814 fenv_t *.
11815
99252c8c
JM
11816 [BZ #14801]
11817 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11818 namespace for names of struct fields.
11819 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11820 fenv_t fields.
11821 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11822 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11823
d6d98dea
ST
118242012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11825
11826 [BZ #3665]
11827 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11828
e10bb107
TS
118292012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11830
11831 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11832 PTR_DEMANGLE.
11833
11834 [BZ #5246]
11835 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11836 PTR_DEMANGLE.
11837
a0c2940d
JM
118382012-11-04 Joseph Myers <joseph@codesourcery.com>
11839
11840 [BZ #14797]
11841 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11842 definitely overflow as x * y not x * y + z.
11843 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11844 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11845 * math/libm-test.inc (fma_test): Add more tests.
11846 (fma_test_towardzero): Likewise.
11847 (fma_test_downward): Likewise.
11848 (fma_test_upward): Likewise.
11849
b830319d
TS
118502012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11851
11852 [BZ #157]
11853
11854 * include/stub-tag.h: Remove file.
11855 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11856 '#include' of it.
11857 * manual/maint.texi (Porting): Don't reference it.
11858 * Makerules ($(objpfx)stubs): Likewise.
11859 * dirent/closedir.c: Don't include <stub-tag.h>.
11860 * dirent/dirfd.c: Likewise.
11861 * dirent/fdopendir.c: Likewise.
11862 * dirent/getdents.c: Likewise.
11863 * dirent/getdents64.c: Likewise.
11864 * dirent/opendir.c: Likewise.
11865 * dirent/readdir.c: Likewise.
11866 * dirent/readdir64.c: Likewise.
11867 * dirent/readdir64_r.c: Likewise.
11868 * dirent/readdir_r.c: Likewise.
11869 * dirent/rewinddir.c: Likewise.
11870 * dirent/seekdir.c: Likewise.
11871 * dirent/telldir.c: Likewise.
11872 * gmon/profil.c: Likewise.
11873 * grp/setgroups.c: Likewise.
11874 * inet/if_index.c: Likewise.
11875 * io/access.c: Likewise.
11876 * io/chdir.c: Likewise.
11877 * io/chmod.c: Likewise.
11878 * io/chown.c: Likewise.
11879 * io/close.c: Likewise.
11880 * io/dup.c: Likewise.
11881 * io/dup2.c: Likewise.
11882 * io/dup3.c: Likewise.
11883 * io/euidaccess.c: Likewise.
11884 * io/faccessat.c: Likewise.
11885 * io/fchdir.c: Likewise.
11886 * io/fchmod.c: Likewise.
11887 * io/fchmodat.c: Likewise.
11888 * io/fchown.c: Likewise.
11889 * io/fchownat.c: Likewise.
11890 * io/fcntl.c: Likewise.
11891 * io/flock.c: Likewise.
11892 * io/fstatfs.c: Likewise.
11893 * io/fstatfs64.c: Likewise.
11894 * io/fstatvfs.c: Likewise.
11895 * io/fstatvfs64.c: Likewise.
11896 * io/futimens.c: Likewise.
11897 * io/fxstat.c: Likewise.
11898 * io/fxstat64.c: Likewise.
11899 * io/fxstatat.c: Likewise.
11900 * io/fxstatat64.c: Likewise.
11901 * io/getcwd.c: Likewise.
11902 * io/isatty.c: Likewise.
11903 * io/lchmod.c: Likewise.
11904 * io/lchown.c: Likewise.
11905 * io/link.c: Likewise.
11906 * io/linkat.c: Likewise.
11907 * io/lseek.c: Likewise.
11908 * io/lseek64.c: Likewise.
11909 * io/lxstat64.c: Likewise.
11910 * io/mkdir.c: Likewise.
11911 * io/mkdirat.c: Likewise.
11912 * io/mkfifo.c: Likewise.
11913 * io/mkfifoat.c: Likewise.
11914 * io/open.c: Likewise.
11915 * io/open64.c: Likewise.
11916 * io/openat.c: Likewise.
11917 * io/openat64.c: Likewise.
11918 * io/pipe.c: Likewise.
11919 * io/pipe2.c: Likewise.
11920 * io/poll.c: Likewise.
11921 * io/posix_fadvise.c: Likewise.
11922 * io/posix_fadvise64.c: Likewise.
11923 * io/posix_fallocate.c: Likewise.
11924 * io/posix_fallocate64.c: Likewise.
11925 * io/read.c: Likewise.
11926 * io/readlink.c: Likewise.
11927 * io/readlinkat.c: Likewise.
11928 * io/rmdir.c: Likewise.
11929 * io/sendfile.c: Likewise.
11930 * io/sendfile64.c: Likewise.
11931 * io/statfs.c: Likewise.
11932 * io/statfs64.c: Likewise.
11933 * io/statvfs.c: Likewise.
11934 * io/statvfs64.c: Likewise.
11935 * io/symlink.c: Likewise.
11936 * io/symlinkat.c: Likewise.
11937 * io/ttyname.c: Likewise.
11938 * io/ttyname_r.c: Likewise.
11939 * io/umask.c: Likewise.
11940 * io/unlink.c: Likewise.
11941 * io/unlinkat.c: Likewise.
11942 * io/utime.c: Likewise.
11943 * io/utimensat.c: Likewise.
11944 * io/write.c: Likewise.
11945 * io/xmknod.c: Likewise.
11946 * io/xmknodat.c: Likewise.
11947 * io/xstat.c: Likewise.
11948 * io/xstat64.c: Likewise.
11949 * login/getpt.c: Likewise.
11950 * login/grantpt.c: Likewise.
11951 * login/unlockpt.c: Likewise.
11952 * math/e_acoshl.c: Likewise.
11953 * math/e_acosl.c: Likewise.
11954 * math/e_asinl.c: Likewise.
11955 * math/e_atan2l.c: Likewise.
11956 * math/e_atanhl.c: Likewise.
11957 * math/e_coshl.c: Likewise.
11958 * math/e_expl.c: Likewise.
11959 * math/e_fmodl.c: Likewise.
11960 * math/e_gammal_r.c: Likewise.
11961 * math/e_hypotl.c: Likewise.
11962 * math/e_j0l.c: Likewise.
11963 * math/e_j1l.c: Likewise.
11964 * math/e_jnl.c: Likewise.
11965 * math/e_lgammal_r.c: Likewise.
11966 * math/e_log10l.c: Likewise.
11967 * math/e_log2l.c: Likewise.
11968 * math/e_logl.c: Likewise.
11969 * math/e_powl.c: Likewise.
11970 * math/e_rem_pio2l.c: Likewise.
11971 * math/e_sinhl.c: Likewise.
11972 * math/e_sqrtl.c: Likewise.
11973 * math/fclrexcpt.c: Likewise.
11974 * math/fedisblxcpt.c: Likewise.
11975 * math/feenablxcpt.c: Likewise.
11976 * math/fegetenv.c: Likewise.
11977 * math/fegetexcept.c: Likewise.
11978 * math/fegetround.c: Likewise.
11979 * math/feholdexcpt.c: Likewise.
11980 * math/fesetenv.c: Likewise.
11981 * math/fesetround.c: Likewise.
11982 * math/feupdateenv.c: Likewise.
11983 * math/fgetexcptflg.c: Likewise.
11984 * math/fraiseexcpt.c: Likewise.
11985 * math/fsetexcptflg.c: Likewise.
11986 * math/ftestexcept.c: Likewise.
11987 * math/k_cosl.c: Likewise.
11988 * math/k_rem_pio2l.c: Likewise.
11989 * math/k_sinl.c: Likewise.
11990 * math/k_tanl.c: Likewise.
11991 * math/s_asinhl.c: Likewise.
11992 * math/s_atanl.c: Likewise.
11993 * math/s_cbrtl.c: Likewise.
11994 * math/s_erfl.c: Likewise.
11995 * math/s_expm1l.c: Likewise.
11996 * math/s_log1pl.c: Likewise.
11997 * math/s_tanhl.c: Likewise.
11998 * misc/acct.c: Likewise.
11999 * misc/brk.c: Likewise.
12000 * misc/chflags.c: Likewise.
12001 * misc/chroot.c: Likewise.
12002 * misc/fchflags.c: Likewise.
12003 * misc/fgetxattr.c: Likewise.
12004 * misc/flistxattr.c: Likewise.
12005 * misc/fremovexattr.c: Likewise.
12006 * misc/fsetxattr.c: Likewise.
12007 * misc/fsync.c: Likewise.
12008 * misc/ftruncate.c: Likewise.
12009 * misc/futimes.c: Likewise.
12010 * misc/futimesat.c: Likewise.
12011 * misc/getdomain.c: Likewise.
12012 * misc/getdtsz.c: Likewise.
12013 * misc/gethostid.c: Likewise.
12014 * misc/gethostname.c: Likewise.
12015 * misc/getloadavg.c: Likewise.
12016 * misc/getpagesize.c: Likewise.
12017 * misc/getsysstats.c: Likewise.
12018 * misc/getxattr.c: Likewise.
12019 * misc/gtty.c: Likewise.
12020 * misc/ioctl.c: Likewise.
12021 * misc/lgetxattr.c: Likewise.
12022 * misc/listxattr.c: Likewise.
12023 * misc/llistxattr.c: Likewise.
12024 * misc/lremovexattr.c: Likewise.
12025 * misc/lsetxattr.c: Likewise.
12026 * misc/lutimes.c: Likewise.
12027 * misc/madvise.c: Likewise.
12028 * misc/mincore.c: Likewise.
12029 * misc/mlock.c: Likewise.
12030 * misc/mlockall.c: Likewise.
12031 * misc/mmap.c: Likewise.
12032 * misc/mprotect.c: Likewise.
12033 * misc/msync.c: Likewise.
12034 * misc/munlock.c: Likewise.
12035 * misc/munlockall.c: Likewise.
12036 * misc/munmap.c: Likewise.
12037 * misc/preadv.c: Likewise.
12038 * misc/preadv64.c: Likewise.
12039 * misc/ptrace.c: Likewise.
12040 * misc/pwritev.c: Likewise.
12041 * misc/pwritev64.c: Likewise.
12042 * misc/readv.c: Likewise.
12043 * misc/reboot.c: Likewise.
12044 * misc/remap_file_pages.c: Likewise.
12045 * misc/removexattr.c: Likewise.
12046 * misc/revoke.c: Likewise.
12047 * misc/select.c: Likewise.
12048 * misc/setdomain.c: Likewise.
12049 * misc/setegid.c: Likewise.
12050 * misc/seteuid.c: Likewise.
12051 * misc/sethostid.c: Likewise.
12052 * misc/sethostname.c: Likewise.
12053 * misc/setregid.c: Likewise.
12054 * misc/setreuid.c: Likewise.
12055 * misc/setxattr.c: Likewise.
12056 * misc/sstk.c: Likewise.
12057 * misc/stty.c: Likewise.
12058 * misc/swapoff.c: Likewise.
12059 * misc/swapon.c: Likewise.
12060 * misc/sync.c: Likewise.
12061 * misc/syncfs.c: Likewise.
12062 * misc/syscall.c: Likewise.
12063 * misc/truncate.c: Likewise.
12064 * misc/ualarm.c: Likewise.
12065 * misc/usleep.c: Likewise.
12066 * misc/ustat.c: Likewise.
12067 * misc/utimes.c: Likewise.
12068 * misc/vhangup.c: Likewise.
12069 * misc/writev.c: Likewise.
12070 * posix/_exit.c: Likewise.
12071 * posix/alarm.c: Likewise.
12072 * posix/execve.c: Likewise.
12073 * posix/fexecve.c: Likewise.
12074 * posix/fork.c: Likewise.
12075 * posix/fpathconf.c: Likewise.
12076 * posix/getaddrinfo.c: Likewise.
12077 * posix/getegid.c: Likewise.
12078 * posix/geteuid.c: Likewise.
12079 * posix/getgid.c: Likewise.
12080 * posix/getgroups.c: Likewise.
12081 * posix/getlogin.c: Likewise.
12082 * posix/getlogin_r.c: Likewise.
12083 * posix/getpgid.c: Likewise.
12084 * posix/getpid.c: Likewise.
12085 * posix/getppid.c: Likewise.
12086 * posix/getresgid.c: Likewise.
12087 * posix/getresuid.c: Likewise.
12088 * posix/getsid.c: Likewise.
12089 * posix/getuid.c: Likewise.
12090 * posix/glob64.c: Likewise.
12091 * posix/nanosleep.c: Likewise.
12092 * posix/pathconf.c: Likewise.
12093 * posix/pause.c: Likewise.
12094 * posix/posix_madvise.c: Likewise.
12095 * posix/pread.c: Likewise.
12096 * posix/pread64.c: Likewise.
12097 * posix/pwrite.c: Likewise.
12098 * posix/pwrite64.c: Likewise.
12099 * posix/sched_getaffinity.c: Likewise.
12100 * posix/sched_getp.c: Likewise.
12101 * posix/sched_gets.c: Likewise.
12102 * posix/sched_primax.c: Likewise.
12103 * posix/sched_primin.c: Likewise.
12104 * posix/sched_rr_gi.c: Likewise.
12105 * posix/sched_setaffinity.c: Likewise.
12106 * posix/sched_setp.c: Likewise.
12107 * posix/sched_sets.c: Likewise.
12108 * posix/sched_yield.c: Likewise.
12109 * posix/setgid.c: Likewise.
12110 * posix/setlogin.c: Likewise.
12111 * posix/setpgid.c: Likewise.
12112 * posix/setresgid.c: Likewise.
12113 * posix/setresuid.c: Likewise.
12114 * posix/setsid.c: Likewise.
12115 * posix/setuid.c: Likewise.
12116 * posix/sleep.c: Likewise.
12117 * posix/spawni.c: Likewise.
12118 * posix/sysconf.c: Likewise.
12119 * posix/times.c: Likewise.
12120 * posix/wait.c: Likewise.
12121 * posix/wait3.c: Likewise.
12122 * posix/wait4.c: Likewise.
12123 * posix/waitpid.c: Likewise.
12124 * resolv/gai_sigqueue.c: Likewise.
12125 * resource/getpriority.c: Likewise.
12126 * resource/getrlimit.c: Likewise.
12127 * resource/getrusage.c: Likewise.
12128 * resource/nice.c: Likewise.
12129 * resource/setpriority.c: Likewise.
12130 * resource/setrlimit.c: Likewise.
12131 * resource/ulimit.c: Likewise.
12132 * rt/aio_cancel.c: Likewise.
12133 * rt/aio_fsync.c: Likewise.
12134 * rt/aio_read.c: Likewise.
12135 * rt/aio_sigqueue.c: Likewise.
12136 * rt/aio_suspend.c: Likewise.
12137 * rt/aio_write.c: Likewise.
12138 * rt/clock_getres.c: Likewise.
12139 * rt/clock_gettime.c: Likewise.
12140 * rt/clock_nanosleep.c: Likewise.
12141 * rt/clock_settime.c: Likewise.
12142 * rt/lio_listio.c: Likewise.
12143 * rt/mq_close.c: Likewise.
12144 * rt/mq_getattr.c: Likewise.
12145 * rt/mq_notify.c: Likewise.
12146 * rt/mq_open.c: Likewise.
12147 * rt/mq_receive.c: Likewise.
12148 * rt/mq_send.c: Likewise.
12149 * rt/mq_setattr.c: Likewise.
12150 * rt/mq_timedreceive.c: Likewise.
12151 * rt/mq_timedsend.c: Likewise.
12152 * rt/mq_unlink.c: Likewise.
12153 * rt/shm_open.c: Likewise.
12154 * rt/shm_unlink.c: Likewise.
12155 * rt/timer_create.c: Likewise.
12156 * rt/timer_delete.c: Likewise.
12157 * rt/timer_getoverr.c: Likewise.
12158 * rt/timer_gettime.c: Likewise.
12159 * rt/timer_settime.c: Likewise.
12160 * setjmp/__longjmp.c: Likewise.
12161 * setjmp/setjmp.c: Likewise.
12162 * signal/kill.c: Likewise.
12163 * signal/killpg.c: Likewise.
12164 * signal/raise.c: Likewise.
12165 * signal/sigaction.c: Likewise.
12166 * signal/sigaltstack.c: Likewise.
12167 * signal/sigblock.c: Likewise.
12168 * signal/sigignore.c: Likewise.
12169 * signal/sigintr.c: Likewise.
12170 * signal/signal.c: Likewise.
12171 * signal/sigpause.c: Likewise.
12172 * signal/sigpending.c: Likewise.
12173 * signal/sigqueue.c: Likewise.
12174 * signal/sigreturn.c: Likewise.
12175 * signal/sigset.c: Likewise.
12176 * signal/sigsetmask.c: Likewise.
12177 * signal/sigstack.c: Likewise.
12178 * signal/sigsuspend.c: Likewise.
12179 * signal/sigtimedwait.c: Likewise.
12180 * signal/sigvec.c: Likewise.
12181 * signal/sigwait.c: Likewise.
12182 * signal/sigwaitinfo.c: Likewise.
12183 * signal/sysv_signal.c: Likewise.
12184 * socket/accept.c: Likewise.
12185 * socket/accept4.c: Likewise.
12186 * socket/bind.c: Likewise.
12187 * socket/connect.c: Likewise.
12188 * socket/getpeername.c: Likewise.
12189 * socket/getsockname.c: Likewise.
12190 * socket/getsockopt.c: Likewise.
12191 * socket/isfdtype.c: Likewise.
12192 * socket/listen.c: Likewise.
12193 * socket/recv.c: Likewise.
12194 * socket/recvfrom.c: Likewise.
12195 * socket/recvmsg.c: Likewise.
12196 * socket/send.c: Likewise.
12197 * socket/sendmsg.c: Likewise.
12198 * socket/sendto.c: Likewise.
12199 * socket/setsockopt.c: Likewise.
12200 * socket/shutdown.c: Likewise.
12201 * socket/sockatmark.c: Likewise.
12202 * socket/socket.c: Likewise.
12203 * socket/socketpair.c: Likewise.
12204 * stdio-common/ctermid.c: Likewise.
12205 * stdio-common/cuserid.c: Likewise.
12206 * stdio-common/remove.c: Likewise.
12207 * stdio-common/rename.c: Likewise.
12208 * stdio-common/renameat.c: Likewise.
12209 * stdio-common/tempname.c: Likewise.
12210 * stdlib/getcontext.c: Likewise.
12211 * stdlib/makecontext.c: Likewise.
12212 * stdlib/setcontext.c: Likewise.
12213 * stdlib/swapcontext.c: Likewise.
12214 * stdlib/system.c: Likewise.
12215 * streams/fattach.c: Likewise.
12216 * streams/fdetach.c: Likewise.
12217 * streams/getmsg.c: Likewise.
12218 * streams/getpmsg.c: Likewise.
12219 * streams/putmsg.c: Likewise.
12220 * streams/putpmsg.c: Likewise.
12221 * sysdeps/unix/bsd/getpt.c: Likewise.
12222 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12223 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12224 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12226 Likewise.
12227 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12228 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12229 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12230 * sysvipc/msgctl.c: Likewise.
12231 * sysvipc/msgget.c: Likewise.
12232 * sysvipc/msgrcv.c: Likewise.
12233 * sysvipc/msgsnd.c: Likewise.
12234 * sysvipc/semctl.c: Likewise.
12235 * sysvipc/semget.c: Likewise.
12236 * sysvipc/semop.c: Likewise.
12237 * sysvipc/semtimedop.c: Likewise.
12238 * sysvipc/shmat.c: Likewise.
12239 * sysvipc/shmctl.c: Likewise.
12240 * sysvipc/shmdt.c: Likewise.
12241 * sysvipc/shmget.c: Likewise.
12242 * termios/tcdrain.c: Likewise.
12243 * termios/tcflow.c: Likewise.
12244 * termios/tcflush.c: Likewise.
12245 * termios/tcgetattr.c: Likewise.
12246 * termios/tcgetpgrp.c: Likewise.
12247 * termios/tcsendbrk.c: Likewise.
12248 * termios/tcsetattr.c: Likewise.
12249 * termios/tcsetpgrp.c: Likewise.
12250 * time/adjtime.c: Likewise.
12251 * time/clock.c: Likewise.
12252 * time/getitimer.c: Likewise.
12253 * time/gettimeofday.c: Likewise.
12254 * time/setitimer.c: Likewise.
12255 * time/settimeofday.c: Likewise.
12256 * time/stime.c: Likewise.
12257 * time/time.c: Likewise.
12258
122592012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12260
a20492cf
PT
12261 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12262 /usr/old/bin.
12263
72e182e3
PT
12264 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12265 instead of spaces.
12266 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12267
fbeafede
JM
122682012-11-03 Joseph Myers <joseph@codesourcery.com>
12269
5b5b04d6
JM
12270 [BZ #14796]
12271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12272 FE_TONEAREST before applying Dekker multiplication and Knuth
12273 addition. Clear inexact exceptions and check for exact zero
12274 results afterwards.
12275 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12276 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12277 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12278 * math/libm-test.inc (fma_test): Add more tests.
12279 (fma_test_towardzero): Likewise.
12280 (fma_test_downward): Likewise.
12281 (fma_test_upward): Likewise.
12282 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12283 function.
12284 (libc_fesetround): New macro.
12285 (libc_fesetroundf): Likewise.
12286 (libc_fesetroundl): Likewise.
12287 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12288 function.
12289 (libc_fesetround_387): Likewise.
12290 (libc_fesetroundf): New macro.
12291 (libc_fesetround): Likewise.
12292 (libc_fesetroundl): Likewise.
12293 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12294 function.
12295 (libc_fesetroundf): New macro.
12296 (libc_fesetround): Likewise.
12297 (libc_fesetroundl): Likewise.
12298 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12299 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12300 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12301 libm_hidden_ver.
12302 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12303 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12304 libm_hidden_def.
12305 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12306 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12307 libm_hidden_ver.
12308 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12309 libm_hidden_def.
12310
fbeafede
JM
12311 [BZ #3439]
12312 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12313 integer constant usable in #if and use that to give value to enum
12314 constant.
12315 (FE_DIVBYZERO): Likewise.
12316 (FE_UNDERFLOW): Likewise.
12317 (FE_OVERFLOW): Likewise.
12318 (FE_INVALID): Likewise.
12319 (FE_INVALID_SNAN): Likewise.
12320 (FE_INVALID_ISI): Likewise.
12321 (FE_INVALID_IDI): Likewise.
12322 (FE_INVALID_ZDZ): Likewise.
12323 (FE_INVALID_IMZ): Likewise.
12324 (FE_INVALID_COMPARE): Likewise.
12325 (FE_INVALID_SOFTWARE): Likewise.
12326 (FE_INVALID_SQRT): Likewise.
12327 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12328 (FE_TONEAREST): Likewise.
12329 (FE_TOWARDZERO): Likewise.
12330 (FE_UPWARD): Likewise.
12331 (FE_DOWNWARD): Likewise.
12332 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12333 (FE_DIVBYZERO): Likewise.
12334 (FE_OVERFLOW): Likewise.
12335 (FE_UNDERFLOW): Likewise.
12336 (FE_INEXACT): Likewise.
12337 (FE_TONEAREST): Likewise.
12338 (FE_DOWNWARD): Likewise.
12339 (FE_UPWARD): Likewise.
12340 (FE_TOWARDZERO): Likewise.
12341 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12342 (FE_UNDERFLOW): Likewise.
12343 (FE_OVERFLOW): Likewise.
12344 (FE_DIVBYZERO): Likewise.
12345 (FE_INVALID): Likewise.
12346 (FE_TONEAREST): Likewise.
12347 (FE_TOWARDZERO): Likewise.
12348 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12349 (FE_OVERFLOW): Likewise.
12350 (FE_UNDERFLOW): Likewise.
12351 (FE_DIVBYZERO): Likewise.
12352 (FE_INEXACT): Likewise.
12353 (FE_TONEAREST): Likewise.
12354 (FE_TOWARDZERO): Likewise.
12355 (FE_UPWARD): Likewise.
12356 (FE_DOWNWARD): Likewise.
12357 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12358 (FE_DIVBYZERO): Likewise.
12359 (FE_OVERFLOW): Likewise.
12360 (FE_UNDERFLOW): Likewise.
12361 (FE_INEXACT): Likewise.
12362 (FE_TONEAREST): Likewise.
12363 (FE_DOWNWARD): Likewise.
12364 (FE_UPWARD): Likewise.
12365 (FE_TOWARDZERO): Likewise.
12366
105ca950
CM
123672012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12368
12369 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12370
a542b389
AS
123712012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12372
12373 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12374 commands. Quote $PWD.
12375 (blacklist_exports): Don't use remove_newlines. Replace "declare
12376 -x" by "export".
12377 (remove_newlines): Remove.
12378
f62c8abc
L
123792012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12380
12381 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12382 * stdlib/stdlib.h (atof): Moved to ...
12383 * include/bits/stdlib-float.h: Here. New file.
12384 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12385 * stdlib/bits/stdlib-float.h: New file.
12386 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12387 -mno-sse -mno-mmx.
12388 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12389 <xmmintrin.h>.
12390
0155d5b2
JM
123912012-11-02 Joseph Myers <joseph@codesourcery.com>
12392
a68d0680
JM
12393 * conform/conformtest.pl (@headers): Add fenv.h.
12394 * conform/data/fenv.h-data: New file.
12395 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12396 include of <math/fenv.h>.
12397
caf7f573
JM
12398 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12399 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12400 && !UNIX98]. Enables tests for XOPEN2K8.
12401 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12402 POSIX2008]: Likewise.
12403
6c073ad6
JM
12404 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12405 (struct rusage): Do not expect type or its members.
12406
0155d5b2
JM
12407 [BZ #3439]
12408 * math/math.h (FP_NAN): Define macro to integer constant usable in
12409 #if and use that to give value to enum constant.
12410 (FP_INFINITE): Likewise.
12411 (FP_ZERO): Likewise.
12412 (FP_SUBNORMAL): Likewise.
12413 (FP_NORMAL): Likewise.
12414
b5dcacb4
AS
124152012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12416
12417 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12418 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12419 arguments.
12420
f7934be8
RM
124212012-11-02 Roland McGrath <roland@hack.frob.com>
12422
12423 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12424 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12425 autoconf-time if not.
12426 * configure.in: Remove AC_PREREQ.
12427
d7d08bde
TMQMF
124282012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12429
12430 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12431 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12432 of the internal implementation.
12433
dcdae19a
JM
124342012-11-02 Joseph Myers <joseph@codesourcery.com>
12435
12436 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12437 except include of <misc/sys/syslog.h>.
12438
d6cffd3e
AS
124392012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12440
12441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12442 function returns with a NULL context exit with zero.
12443
b3563932
TMQMF
124442012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12445
12446 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12447
b288a93d
L
124482012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12449
12450 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12451 (run_program_cmd): This.
12452 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12453 (tst_langinfo): New variable. Use it.
12454
a2421a68
SAS
124552012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12456
12457 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12458 floating point opcodes.
12459
6f796e1b
TS
124602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12461
7402596b
TS
12462 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12463 variable.
12464
d0d4f868
TS
12465 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12466
6f796e1b
TS
12467 * sysdeps/mach/hurd/powerpc: Remove directory.
12468 * sysdeps/mach/powerpc: Likewise.
12469
4da224a2
AS
124702012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12471
12472 * scripts/check-local-headers.sh: Ignore c++ headers.
12473
341dd673
TS
124742012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12475
12476 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12477 __libc_cleanup_region_start argument.
12478
473611b2
JM
124792012-11-01 Joseph Myers <joseph@codesourcery.com>
12480
12481 [BZ #14784]
12482 [BZ #14785]
12483 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12484 x * y using scaling, not as x * y + z.
12485 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12486 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12487 * math/libm-test.inc (fma_test): Add more tests.
12488 (fma_test_towardzero): Likewise.
12489 (fma_test_downward): Likewise.
12490 (fma_test_upward): Likewise.
12491
4078da3d
TS
124922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12493
12494 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12495
903252aa
JM
124962012-10-31 Joseph Myers <joseph@codesourcery.com>
12497
12498 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12499 New variable.
12500
cbc818d0
TS
125012012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12502
12503 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12504
5a03cb1e
AS
125052012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12506
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12508 Fix sort order.
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12510 Likewise.
12511
90aff2ff
TMQMF
125122012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12513
12514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12515 Fix the order of the list for glibc 2.17.
12516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12517 Likewise.
12518
1818fcb7
AS
125192012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12520
12521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12522
ef82f4da
JM
125232012-10-31 Joseph Myers <joseph@codesourcery.com>
12524
16a0e2ec
JM
12525 [BZ #14610]
12526 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12527 for low part of x being zero before using __atanl (y).
12528 * math/libm-test.inc (atan2_test): Add another test.
12529
0eb69512
JM
12530 * manual/install.texi (Configuring and compiling): Document
12531 general use of test-wrapper and test-wrapper-env.
12532 * INSTALL: Regenerated.
12533
ef82f4da
JM
12534 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12535 (__fma): Do not extract and scale down low bits on after-rounding
12536 systems when result rounded to normal precision would have normal
12537 exponent.
12538 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12539 (__fmal): Do not extract and scale down low bits on after-rounding
12540 systems when result rounded to normal precision would have normal
12541 exponent.
12542 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12543 (__fmal): Do not extract and scale down low bits on after-rounding
12544 systems when result rounded to normal precision would have normal
12545 exponent.
12546 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12547 macro.
12548 (fma_test): Add more tests.
12549 (fma_test_towardzero): Likewise.
12550 (fma_test_downward): Likewise.
12551 (fma_test_upward): Likewise.
12552
954ef0d9
L
125532012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12554
12555 * sysdeps/i386/tininess.h: Renamed to ...
12556 * sysdeps/x86/tininess.h: This.
12557 * sysdeps/x86_64/tininess.h: Removed.
12558
df61ffb2
JM
125592012-10-30 Joseph Myers <joseph@codesourcery.com>
12560
12561 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12562 input. Use $(build-program-cmd).
12563 ($(objpfx)tst-array1-static.out): Likewise.
12564 ($(objpfx)tst-array2.out): Likewise.
12565 ($(objpfx)tst-array3.out): Likewise.
12566 ($(objpfx)tst-array4.out): Likewise.
12567 ($(objpfx)tst-array5.out): Likewise.
12568 ($(objpfx)tst-array5-static.out): Likewise.
12569
01767843
CM
125702012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12571
47cc1490
CM
12572 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12573 if defined.
12574
01767843
CM
12575 * nss/nsswitch.h (nss_interface_function): Provide new
12576 macro for use with NSS functions.
12577 * grp/initgroups.c: Use new macro.
12578 * nss/getXXbyYY.c: Likewise.
12579 * nss/getXXbyYY_r.c: Likewise.
12580 * nss/getXXent.c: Likewise.
12581 * nss/getXXent_r.c: Likewise.
12582 * sysdeps/posix/getaddrinfo.c: Likewise.
12583
8321aa97
AJ
125842012-10-30 Andreas Jaeger <aj@suse.de>
12585
12586 * po/ru.po: Update Russion translation from translation project.
12587
2a27fd6d
JM
125882012-10-30 Joseph Myers <joseph@codesourcery.com>
12589
8627a232
JM
12590 [BZ #14152]
12591 [BZ #14783]
12592 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12593 result and shift together with sticky bit instead of replicating
12594 round-to-nearest rounding.
12595 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12596 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12597 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12598 missing underflow exceptions.
12599 (fma_test_towardzero): Add more tests.
12600 (fma_test_downward): Likewise.
12601 (fma_test_upward): Likewise.
12602
2a27fd6d
JM
12603 [BZ #14047]
12604 * sysdeps/generic/tininess.h: New file.
12605 * sysdeps/i386/tininess.h: Likewise.
12606 * sysdeps/sh/tininess.h: Likewise.
12607 * sysdeps/x86_64/tininess.h: Likewise.
12608 * stdlib/tst-strtod-underflow.c: Likewise.
12609 * stdlib/tst-tininess.c: Likewise.
12610 * stdlib/strtod_l.c: Include <tininess.h>.
12611 (round_and_return): Do not set errno for exact underflow cases.
12612 Force an underflow exception when setting errno for underflow.
12613 Determine underflow based on rounding to normal precision if
12614 TININESS_AFTER_ROUNDING.
12615 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12616 ERANGE for exact underflow cases.
12617 * stdlib/Makefile (tests): Add tst-tininess and
12618 tst-strtod-underflow.
12619 ($(objpfx)tst-tininess): Use $(link-libm).
12620 ($(objpfx)tst-strtod-underflow): Likewise.
12621
e7170363
AJ
126222012-10-30 Andreas Jaeger <aj@suse.de>
12623
e5088dc6
AJ
12624 [BZ#14767]
12625 * elf/Makefile (tests): Remove conditional for have-initfini-array
12626 since this is now always required and the variable does not exist
12627 anymore.
12628 (tests-static): Likewise.
12629 (modules-names): Likewise.
12630
e7170363 12631 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12632
12633 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12634 merged with constructor/destructor.
12635 (init_array): Likewise.
12636 * elf/tst-array2dep.c (fini_array): Likewise.
12637 (init_array): Likewise.
12638
60457d8a
MF
126392012-10-29 Mike Frysinger <vapier@gentoo.org>
12640
12641 * manual/message.texi: Delete @cartouche tags.
12642
8bece752
PT
126432012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12644
94ce799f
PT
12645 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12646 EOPNOTSUPP.
12647 * sysdeps/mach/hurd/fsync.c: Likewise.
12648
8bece752
PT
12649 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12650 [_POSIX_REALTIME_SIGNALS]: Change condition to
12651 [_POSIX_REALTIME_SIGNALS > 0].
12652
86ebe6b1
AJ
126532012-10-27 Andreas Jaeger <aj@suse.de>
12654
12655 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12656 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12657 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12658 [__WORDSIZE != 64]: Likewise.
12659
54399c08
L
126602012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12661
12662 * iconvdata/tst-table.sh: Remove ${SHELL}.
12663 * iconvdata/tst-tables.sh: Likewise.
12664
e2211bed
DM
126652012-10-25 David S. Miller <davem@davemloft.net>
12666
12667 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12668 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12669 of strtoull.
12670
f303f97c
DM
12671 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12672 ifunc-impl-list.c
12673 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12674 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12675 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12676 file.
12677
1e9d84cd
RM
126782012-10-25 Roland McGrath <roland@hack.frob.com>
12679
12680 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12681 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12682 __getdirentries.
12683
df381762
JM
126842012-10-25 Joseph Myers <joseph@codesourcery.com>
12685 Jim Blandy <jimb@codesourcery.com>
12686
12687 * scripts/cross-test-ssh.sh: New file.
12688 * manual/install.texi (Configuring and compiling): Document use of
12689 cross-test-ssh.sh.
12690 * INSTALL: Regenerated.
12691
bff64913
PT
126922012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12693
12694 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12695 EOPNOTSUPP.
12696
25fe8932
JM
126972012-10-25 Joseph Myers <joseph@codesourcery.com>
12698
12699 * Makeconfig (run-program-prefix): Fix comment.
12700
cc1290d0
JM
127012012-10-24 Joseph Myers <joseph@codesourcery.com>
12702 Jim Blandy <jimb@codesourcery.com>
12703
12704 * Makeconfig (test-wrapper): New variable,
12705 (test-wrapper-env): Likewise.
12706 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12707 (run-built-tests): Define to yes.
12708 (run-program-prefix): Use $(test-wrapper).
12709 (built-program-cmd): Likewise.
12710 * Rules (make-test-out): Use $(test-wrapper-env) and
12711 $(host-built-program-cmd).
12712 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12713 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12714 tst-pathopt.sh.
12715 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12716 $(test-wrapper-env) to tst-rtld-load-self.sh.
12717 ($(objpfx)order2.out): Use $(test-wrapper).
12718 ($(objpfx)tst-initorder.out): Likewise.
12719 ($(objpfx)tst-initorder2.out): Likewise.
12720 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12721 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12722 (test_wrapper_env): New variable. Use it to run ld.so.
12723 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12724 Use it to run ld.so.
12725 (test_wrapper_env): Likewise.
12726 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12727 $(test-wrapper) to run-iconv-test.sh.
12728 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12729 (ICONV): Use $test_wrapper.
12730 * posix/Makefile ($(objpfx)globtest.out): Pass
12731 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12732 globtest.sh, not $(run-program-prefix).
12733 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12734 (test_wrapper): Likewise.
12735 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12736 set together with run_via_rtld_prefix.
12737 (run_program_prefix): Define in terms of test_wrapper and
12738 run_via_rtld_prefix.
12739
6e6249d0
RM
127402012-10-24 Roland McGrath <roland@hack.frob.com>
12741
12742 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12743 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12744 Targets removed.
12745
12746 [BZ #14743]
12747 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12748 Declare __clock_getres, __clock_gettime, __clock_settime,
12749 __clock_nanosleep, and __clock_getcpuclockid.
12750 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12751 Remove librt_hidden_def (clock_gettime).
12752 * sysdeps/unix/clock_gettime.c: Likewise.
12753 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12754 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12755 * rt/clock_getres.c: Define __clock_getres as an alias.
12756 * sysdeps/posix/clock_getres.c: Likewise.
12757 * rt/clock_settime.c: Define __clock_settime as an alias.
12758 * sysdeps/unix/clock_settime.c: Likewise.
12759 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12760 * sysdeps/unix/clock_nanosleep.c: Likewise.
12761 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12762 * rt/clock-compat.c: New file.
12763 * rt/Makefile (librt-routines): Add clock-compat and move
12764 $(clock-routines) to ...
12765 (routines): ... here, new variable.
12766 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12767 Don't add get_clockfreq here.
12768 * rt/Versions (libc: GLIBC_2.17): New version set.
12769 Add clock_* symbols here.
12770 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12771 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12772 (GLIBC_2.17): Add clock_* symbols.
12773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12775 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12777 Likewise.
12778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12779 Likewise.
12780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12784 * NEWS: Mention the move.
12785
12786 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12787 Use __open, __read, __close rather than their public counterparts.
12788 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12789 (__get_clockfreq_via_cpuinfo): Likewise.
12790 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12791 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12792
12793 * config.h.in (HAVE_IFUNC): New #undef.
12794 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12795 was successful.
12796 * configure: Regenerated.
12797
0cae3f4b
MF
127982012-10-24 Mike Frysinger <vapier@gentoo.org>
12799
12800 * configure.in: Move READELF check to start of file.
12801 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12802 libc_cv_asm_gnu_indirect_function in the process.
12803 * configure: Regenerated.
12804
8175a253
MF
128052012-10-24 Mike Frysinger <vapier@gentoo.org>
12806
12807 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12808 send the output to /dev/null.
12809 (libc_cv_cc_with_libunwind): Likewise.
12810 (libc_cv_as_noexecstack): Likewise.
12811 * configure: Regenerate.
12812
0708a7d1
JM
128132012-10-24 Joseph Myers <joseph@codesourcery.com>
12814
10b40d85
JM
12815 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12816
0708a7d1
JM
12817 * posix/globtest.sh (TMPDIR): Do not set.
12818 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12819 (testout): Likewise.
12820
9fddec1a
AJ
128212012-10-24 Andreas Jaeger <aj@suse.de>
12822
3a8db22f
AJ
12823 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12824 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12825 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12826 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12827 posix_fadvise64, posix_fallocate64.
12828
9fddec1a
AJ
12829 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12830 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12831 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12832 Likewise.
12833 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12834 Likewise.
12835 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12836
12837 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12838 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12839 <bits/fcntl-linux.h>.
12840 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12841
12842 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12843 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12844 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12845 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12846 [__WORDSIZE != 64]: Likewise.
12847
ebfd1bbd
JM
128482012-10-23 Joseph Myers <joseph@codesourcery.com>
12849
03ac099f
JM
12850 * Makeconfig (run-built-tests): New variable.
12851 * Rules [$(cross-compiling) = yes]: Change condition to
12852 [$(run-built-tests) = no].
12853 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12854 to [$(run-built-tests) = yes].
12855 * elf/Makefile [$(cross-compiling) = no]: Likewise
12856 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12857 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12858 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12859 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12860 * io/Makefile [$(cross-compiling) = no]: Likewise.
12861 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12862 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12863 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12864 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12865 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12866 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12867 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12868 * string/Makefile [$(cross-compiling) = no]: Likewise.
12869
ebfd1bbd
JM
12870 * posix/Makefile ($(objpfx)globtest.out): Pass
12871 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12872 $(rtld-installed-name).
12873 * posix/globtest.sh (elf_objpfx): Remove variable.
12874 (rtld_installed_name): Likewise.
12875 (library_path): Likewise.
12876 (run_program_prefix): New variable. Use for running globtest
12877 binary.
12878
166bca24
JB
128792012-10-23 Jim Blandy <jimb@codesourcery.com>
12880 Joseph Myers <joseph@codesourcery.com>
12881
12882 * Makeconfig (host-built-program-cmd): New variable.
12883 * elf/Makefile (tst-stackguard1-ARGS): Use
12884 $(host-built-program-cmd).
12885 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12886 (tst-spawn-ARGS): Likewise.
12887 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12888
88866099
JM
128892012-10-23 Joseph Myers <joseph@codesourcery.com>
12890 Jim Blandy <jimb@codesourcery.com>
12891
12892 * Makeconfig (run-via-rtld-prefix): New variable.
12893 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12894 (built-program-cmd): Likewise.
12895
b4b4c296
AJ
128962012-10-22 Andreas Jaeger <aj@suse.de>
12897
12898 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12899 __O_RSYNC if it exists, otherwise to O_SYNC.
12900
6fb54a22
JB
129012012-10-22 Jim Blandy <jimb@codesourcery.com>
12902 Joseph Myers <joseph@codesourcery.com>
12903
12904 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12905 /dev/null.
12906 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12907 from /dev/null
12908 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12909 /dev/null.
12910
481b90b9
AJ
129112012-10-22 Andreas Jaeger <aj@suse.de>
12912
2a0e2669
AJ
12913 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12914 Define always.
12915 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12916
76e38f9a
AJ
12917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12918 bits/fcntl-linux.h.
12919
7cd37b43
AJ
12920 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12921 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12922
481b90b9
AJ
12923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12924 to __O_LARGEFILE.
12925 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12926 to __O_LARGEFILE.
12927
aba75984
JB
129282012-10-21 Jim Blandy <jimb@codesourcery.com>
12929 Joseph Myers <joseph@codesourcery.com>
12930
12931 * config.make.in (NM): New variable.
12932
88d4247f
AJ
129332012-10-21 Andreas Jaeger <aj@suse.de>
12934
12935 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12936 definitions and declarations that are provided by
12937 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12938
f2eed205
L
129392012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12940
12941 [BZ #14683]
12942 * elf/Makefile (tests-static): Add tst-leaks1-static.
12943 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12944 ($(objpfx)tst-leaks1-static): New rule.
12945 ($(objpfx)tst-leaks1-static-mem): Likewise.
12946 (tst-leaks1-static-ENV): New macro.
12947 * elf/dl-open.c (dl_open_worker): Check the main application
12948 only if SHARED is defined.
12949 * elf/tst-leaks1-static.c: New file.
12950
335e6931
AJ
129512012-10-20 Andreas Jaeger <aj@suse.de>
12952
12953 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12954 generic values for Linux.
12955 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12956 and declarations that are provided by <bits/fcntl-linux.h> and
12957 include <bits/fcntl-linux.h>.
12958 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12959 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12960
ac5c94d3
RM
129612012-10-20 Roland McGrath <roland@hack.frob.com>
12962
12963 * io/fcntl.h: Move include of <bits/types.h> to the top and
12964 include it unconditionally.
12965
de54b33a
L
129662012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12967
228cfb01
L
12968 * wcsmbs/Makefile (tests-ifunc): New variable.
12969 (tests): Add $(tests-ifunc).
12970 * wcsmbs/test-wcschr-ifunc.c: New file.
12971 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12972 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12973 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12974 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12975 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12976
69f07e5f
L
12977 * string/Makefile (tests-ifunc): New variable.
12978 (tests): Add $(tests-ifunc).
12979 * string/test-memccpy.c (TEST_NAME): New macro.
12980 * string/test-memchr.c (TEST_NAME): Likewise.
12981 * string/test-memcmp.c (TEST_NAME): Likewise.
12982 * string/test-memcpy.c (TEST_NAME): Likewise.
12983 * string/test-memmem.c (TEST_NAME): Likewise.
12984 * string/test-memmove.c (TEST_NAME): Likewise.
12985 * string/test-memset.c (TEST_NAME): Likewise.
12986 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12987 * string/test-stpcpy.c (TEST_NAME): Likewise.
12988 * string/test-stpncpy.c (TEST_NAME): Likewise.
12989 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12990 * string/test-strcasestr.c (TEST_NAME): Likewise.
12991 * string/test-strcat.c (TEST_NAME): Likewise.
12992 * string/test-strchr.c (TEST_NAME): Likewise.
12993 * string/test-strcmp.c(TEST_NAME): Likewise.
12994 * string/test-strcpy.c (TEST_NAME): Likewise.
12995 * string/test-strcspn.c (TEST_NAME): Likewise.
12996 * string/test-strlen.c (TEST_NAME): Likewise.
12997 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12998 * string/test-strncmp.c (TEST_NAME): Likewise.
12999 * string/test-strncpy.c (TEST_NAME): Likewise.
13000 * string/test-strnlen.c (TEST_NAME): Likewise.
13001 * string/test-strpbrk.c (TEST_NAME): Likewise.
13002 * string/test-strrchr.c (TEST_NAME): Likewise.
13003 * string/test-strspn.c (TEST_NAME): Likewise.
13004 * string/test-strstr.c (TEST_NAME): Likewise.
13005 * string/test-bcopy-ifunc.c: New file.
13006 * string/test-bzero-ifunc.c: Likewise.
13007 * string/test-memccpy-ifunc.c: Likewise.
13008 * string/test-memchr-ifunc.c: Likewise.
13009 * string/test-memcmp-ifunc.c: Likewise.
13010 * string/test-memcpy-ifunc.c: Likewise.
13011 * string/test-memmem-ifunc.c: Likewise.
13012 * string/test-memmove-ifunc.c: Likewise.
13013 * string/test-mempcpy-ifunc.c: Likewise.
13014 * string/test-memset-ifunc.c: Likewise.
13015 * string/test-rawmemchr-ifunc.c: Likewise.
13016 * string/test-stpcpy-ifunc.c: Likewise.
13017 * string/test-stpncpy-ifunc.c: Likewise.
13018 * string/test-strcasecmp-ifunc.c: Likewise.
13019 * string/test-strcasestr-ifunc.c: Likewise.
13020 * string/test-strcat-ifunc.c: Likewise.
13021 * string/test-strchr-ifunc.c: Likewise.
13022 * string/test-strchrnul-ifunc.c: Likewise.
13023 * string/test-strcmp-ifunc.c: Likewise.
13024 * string/test-strcpy-ifunc.c: Likewise.
13025 * string/test-strcspn-ifunc.c: Likewise.
13026 * string/test-strlen-ifunc.c: Likewise.
13027 * string/test-strncasecmp-ifunc.c: Likewise.
13028 * string/test-strncat-ifunc.c: Likewise.
13029 * string/test-strncmp-ifunc.c: Likewise.
13030 * string/test-strncpy-ifunc.c: Likewise.
13031 * string/test-strnlen-ifunc.c: Likewise.
13032 * string/test-strpbrk-ifunc.c: Likewise.
13033 * string/test-strrchr-ifunc.c: Likewise.
13034 * string/test-strspn-ifunc.c: Likewise.
13035 * string/test-strstr-ifunc.c: Likewise.
13036
de54b33a
L
13037 * debug/Makefile (tests-ifunc): New variable.
13038 (tests): Add $(tests-ifunc).
13039 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13040 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13041 * debug/test-stpcpy_chk-ifunc.c: New file.
13042 * debug/test-strcpy_chk-ifunc.c: Likewise.
13043
88481c16
SP
130442012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13045
13046 [BZ #13601]
13047 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13048 header is not read in.
13049
135948bd
JM
130502012-10-19 Joseph Myers <joseph@codesourcery.com>
13051
89f1c388
JM
13052 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13053 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13054 directly. Pass built executable to script as
13055 $(built-program-cmd).
13056 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13057 $testprogram without using LD_LIBRARY_PATH and $ldso.
13058
e40a0d21
JM
13059 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13060 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13061 $(rtld-installed-name).
13062 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13063 (rtld_installed_name): Likewise.
13064 (library_path): Likewise.
13065 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13066 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13067 $(run-program-prefix) to tst-tables.sh.
13068 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13069 it to run tst-table-from and tst-table-to.
13070 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13071 Pass it to tst-table.sh.
13072 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13073 $(run-program-prefix) to tst-gettext.sh.
13074 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13075 tst-translit.sh.
13076 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13077 tst-gettext2.sh.
13078 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13079 to run tst-gettext.
13080 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13081 to run tst-gettext2.
13082 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13083 to run tst-translit.
13084 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13085 $(run-program-prefix) to tst-mtrace.sh.
13086 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13087 to run tst-mtrace.
13088 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13089 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13090 $(rtld-installed-name).
13091 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13092 (rtld_installed_name): Likewise.
13093 (run_program_prefix): New variable. Use it to run wordexp-test.
13094
728e272a
JM
13095 * Makeconfig (ARCH): Remove all definitions.
13096 (machine): Likewise.
13097 [ARCH]: Remove conditional code.
13098 [!objdir]: Give error.
13099 [!objdir] (objpfx): Remove.
13100 [!objdir] (common-objpfx): Likewise.
13101 [!objdir] (common-objdir): Likewise.
13102 * configure.in (config_makefile): Remove. Hardcode Makefile in
13103 AC_CONFIG_FILES call.
13104 * configure: Regenerated.
13105
d528cdcf
JM
13106 [BZ #13888]
13107 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13108 or TMPDIR.
13109 (testout): Likewise.
13110
135948bd
JM
13111 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13112 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13113 $(rtld-installed-name).
13114 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13115 (rtld_installed_name): Likwise.
13116 (runit): Remove function.
13117 (run_getconf): New variable, Use it for running getconf binary.
13118
38c78296
L
131192012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13120
13121 [BZ #14716]
13122 * string/test-memmem.c (check_result): New function.
13123 (do_one_test): Use it.
13124 (check1): New function.
13125 (test_main): Use it.
13126
d077f65f
MT
131272012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13128
13129 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13130
ced52c71
JM
131312012-10-18 Joseph Myers <joseph@codesourcery.com>
13132
13133 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13134 (_G_LSEEK64): Likewise.
13135 (_G_MMAP64): Likewise.
13136 (_G_FSTAT64): Likewise.
13137 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13138 (_G_LSEEK64): Likewise.
13139 (_G_MMAP64): Likewise.
13140 (_G_FSTAT64): Likewise.
13141 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13142 unconditional. Call __mmap64 directly.
13143 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13144 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13145 __lseek64 directly.
13146 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13147 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13148 __mmap64 directly.
13149 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13150 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13151 __lseek64 directly.
13152 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13153 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13154 __lseek64 directly.
13155 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13156 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13157 __lseek64 directly.
13158 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13159 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13160 __fxstat64 directly.
13161 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13162 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13163 unconditional.
13164 (freopen64) [!_G_OPEN64]: Remove conditional code.
13165 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13166 unconditional.
13167 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13168 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13169 unconditional.
13170 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13171 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13172 unconditional.
13173 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13174 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13175 unconditional.
13176 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13177 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13178 unconditional.
13179 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13180 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13181 unconditional.
13182 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13183 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13184 unconditional.
13185 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13186
b741de23
SP
131872012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13188
13189 [BZ #12140]
13190 * manual/memory.texi (Malloc Tunable Parameters): Add note
13191 about free list pointers overwriting some perturb bytes.
13192 Wording suggested by Roland McGrath.
13193
f9b9d9c9
JM
131942012-10-17 Joseph Myers <joseph@codesourcery.com>
13195
13196 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13197 (lgamma_test): Likewise.
13198 (tgamma_test): Likewise.
13199
172a631a
FW
132002012-10-16 Florian Weimer <fweimer@redhat.com>
13201
13202 [BZ #14700]
13203 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13204 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13205
e9f37252
MK
132062012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13207
13208 * NEWS: Mention BZ #14716.
13209 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13210 when removing AVAILABLE1_USES_J macro.
13211
d394eb74
L
132122012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13213
13214 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13215 (__bswap_64): __uint64_t for unsigned 64-bit int.
13216
ca38dc17
AS
132172012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13218
13219 * include/string.h (memmem): Declare libc hidden alias.
13220 * string/memmem.c (memmem): Define libc hidden alias.
13221 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13222 __read, __close instead of open, read, close.
13223
9a387d1f
L
132242012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13225
ac49ecaf
L
13226 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13227 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13228 global and hidden.
13229 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13230 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13231 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13232 Likewise.
13233 (__rawmemchr_sse2): Likewise.
13234 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13235 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13236 (__strchr_sse2): Likewise.
13237 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13238 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13239 (__strcasecmp_sse2): Likewise.
13240 (__strncasecmp_sse2): Likewise.
13241 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13242 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13243 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13244 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13245 (__strrchr_sse2): Likewise.
13246 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13247 ifunc-impl-list.c.
13248 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13249 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13250 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13251 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13252 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13253 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13254 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13255 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13256 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13257 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13258 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13259 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13260 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13261 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13262 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13263 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13264 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13265 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13266 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13267 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13268 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13269 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13270 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13271 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13272 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13273 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13274 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13275 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13276 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13277 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13278
b090e8ea
L
13279 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13280 global and hidden.
13281 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13282 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13283 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13284 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13285 Likewise.
13286 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13287 Likewise.
13288 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13289 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13290 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13291 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13292 ifunc-impl-list.c.
13293 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13294 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13295 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13296 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13297 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13298 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13299 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13300 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13301 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13302 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13303 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13304 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13305 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13306 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13307 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13308 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13309 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13310 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13311 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13312 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13313 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13314 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13315 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13316 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13317 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13318 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13319 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13320 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13321 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13322 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13323 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13324 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13325 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13326 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13327 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13328 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13329 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13330 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13331 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13332 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13333 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13334
11dd4af6
L
13335 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13336 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13337 * include/ifunc-impl-list.h: New file.
13338 * misc/ifunc-impl-list.c: Likewise.
13339 * misc/Makefile (routines): Add ifunc-impl-list.
13340 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13341 * string/test-string.h: Include <ifunc-impl-list.h>.
13342 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13343 impl_array): New variables.
13344 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13345 are defined.
13346 (test_init): Call __libc_ifunc_impl_list to initialize
13347 func_list if TEST_IFUNC and TEST_NAME are defined.
13348
9a387d1f
L
13349 * string/Makefile (strop-tests): Add bcopy and bzero.
13350 * string/test-bcopy.c: New file.
13351 * string/test-bzero.c: Likewise.
13352 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13353 defined.
13354 * string/test-memset.c: Support bzero test if TEST_BZERO is
13355 defined.
13356 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13357 __libc_memmove.
13358 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13359 __libc_memset.
13360 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13361 of memset.
13362
472371b9
JM
133632012-10-10 Joseph Myers <joseph@codesourcery.com>
13364
1e4a9536
JM
13365 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13366 * configure: Regenerated.
13367
d173d12e
JM
13368 * Makeconfig (+link-static-before-libc): Don't include
13369 $(link-static-libc).
13370
472371b9
JM
13371 * libio/libio.h (_IO_pos_t): Remove.
13372
89a3ad0b
AO
133732012-10-10 Alexandre Oliva <aoliva@redhat.com>
13374
13375 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13376 McGrath.
13377
e7451425
AO
133782012-10-10 Alexandre Oliva <aoliva@redhat.com>
13379
13380 * crypt/crypt-entry.c: Include fips-private.h.
13381 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13382 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13383 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13384 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13385
4ba74a35
AO
133862012-10-10 Alexandre Oliva <aoliva@redhat.com>
13387
13388 * crypt/crypt-private.h: Include stdbool.h.
13389 (_ufc_setup_salt_r): Return bool.
13390 * crypt/crypt-entry.c: Include errno.h.
13391 (__crypt_r): Return NULL with EINVAL for bad salt.
13392 * crypt/crypt_util.c (bad_for_salt): New.
13393 (_ufc_setup_salt_r): Check that salt is long enough and within
13394 the specified alphabet.
13395 * crypt/badsalttest.c: New file.
13396 * crypt/Makefile (tests): Add it.
13397 ($(objpfx)badsalttest): New.
13398
f96f1242
MK
133992012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13400
13401 * NEWS: Add entry for BZ #14602.
13402
0e8e0c1c
JM
134032012-10-09 Joseph Myers <joseph@codesourcery.com>
13404
13405 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13406 type-generic.
13407 * math/libm-test.inc: Update comment listing what functions and
13408 macros are tested.
13409 (isgreater_test): New function.
13410 (isgreaterequal_test): Likewise.
13411 (isless_test): Likewise.
13412 (islessequal_test): Likewise.
13413 (islessgreater_test): Likewise.
13414 (isunordered_test): Likewise.
13415 (main): Call the new functions.
13416
273edc5e
RM
134172012-10-09 Roland McGrath <roland@hack.frob.com>
13418
b8493de0
RM
13419 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13420 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13421 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13422 * sysdeps/i386/configure: Regenerated.
13423 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13424 * sysdeps/mach/configure: Regenerated.
13425 * sysdeps/mach/hurd/configure: Regenerated.
13426 * sysdeps/powerpc/configure: Regenerated.
13427 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13428 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13429 * sysdeps/s390/s390-32/configure: Regenerated.
13430 * sysdeps/s390/s390-64/configure: Regenerated.
13431 * sysdeps/sh/configure: Regenerated.
13432 * sysdeps/sparc/configure: Regenerated.
13433 * sysdeps/unix/sysv/linux/configure: Regenerated.
13434 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13435 * sysdeps/x86_64/configure: Regenerated.
13436
273edc5e
RM
13437 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13438 defined. Don't check if MAP is NULL.
13439
c8450f70
JM
134402012-10-09 Joseph Myers <joseph@codesourcery.com>
13441
13442 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13443 (_G_stat64): Likewise.
13444 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13445 (_G_stat64): Likewise.
13446 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13447 instead of struct _G_stat64.
13448 * libio/fileops.c (mmap_remap_check): Likewise.
13449 (decide_maybe_mmap): Likewise.
13450 (_IO_new_file_seekoff): Likewise.
13451 (_IO_file_stat): Likewise.
13452 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13453 _G_off64_t.
13454 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13455 instead of struct _G_stat64.
13456 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13457
57e605ba
MK
134582012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13459
13460 [BZ #14602]
13461 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13462 Replace with ...
13463 (CHECK_EOL): New macro.
13464 (two_way_short_needle): Check beginning of haystack for EOL. Use
13465 CHECK_EOL.
13466 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13467 Replace with CHECK_EOL.
13468 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13469 Replace with CHECK_EOL.
13470
ef1bb361
JM
134712012-10-08 Joseph Myers <joseph@codesourcery.com>
13472
13473 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13474 type-generic.
13475 * math/libm-test.inc: Update comment listing what functions and
13476 macros are tested.
13477 (finite_test): New function.
13478 (isinf_test): Likewise.
13479 (isnan_test): Likewise.
13480 (fpclassify_test): Test subnormal input.
13481 (isfinite_test): Likewise.
13482 (isnormal_test): Likewise.
13483 (main): Call the new functions.
13484
55f11534
JN
134852012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13486
13487 [BZ #14660]
13488 * Makerules (%.dynsym): Force C locale when running
13489 $(OBJDUMP) --dynamic-syms.
13490
1ab29350
AS
134912012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13492
13493 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13494 <stdint.h>.
13495
f1ecb7ef
DM
134962012-10-06 David S. Miller <davem@davemloft.net>
13497
13498 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13499 upper 32-bits of the length value in %o2 since we use branch-on-register
13500 tests which consider the entire 64-bit register.
13501
5d41d91a
L
135022012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13503
13504 * string/test-strstr.c (check2): Add a test for page boundary.
13505
3baddb72
DM
135062012-10-05 David S. Miller <davem@davemloft.net>
13507
13508 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13509 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13510 file.
13511 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13512 sysdep_routines.
13513 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13514 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13515 and bzero when HWCAP_SPARC_CRYPTO is present.
13516
9cee5585
L
135172012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13518
d7e0dab9
L
13519 [BZ #14602]
13520 * string/test-strstr.c (check2): New function.
13521 (test_main): Call check2.
13522
03759f47
L
13523 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13524 and bug-strchr1.
13525 * string/bug-strcasestr1.c (do_test): Moved to ...
13526 * string/test-strcasestr.c (check1): Here. New function.
13527 (do_one_test): Break out result checking code into ...
13528 (check_result): This. New function.
13529 (do_one_test): Call check_result.
13530 (test_main): Call check1.
13531 * string/bug-strchr1.c (do_test): Moved to ...
13532 * string/test-strchr.c (check1): Here. New function.
13533 (do_one_test): Break out result checking code into ...
13534 (check_result): This. New function.
13535 (do_one_test): Call check_result.
13536 (test_main): Call check1.
13537 * string/bug-strstr1.c (main): Moved to ...
046f153e 13538 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13539 (do_one_test): Break out result checking code into ...
13540 (check_result): This. New function.
13541 (do_one_test): Call check_result.
13542 (test_main): Call check1.
13543 * string/bug-strcasestr1.c: Removed.
13544 * string/bug-strchr1.c: Likewise.
13545 * string/bug-strstr1.c: Likewise.
13546
53cea63e
L
13547 * elf/Makefile (dl-routines): Add hwcaps.
13548 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13549 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13550 (_dl_important_hwcaps): Moved to ...
13551 * elf/dl-hwcaps.c: Here. New file.
13552 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13553
9cee5585 13554 [BZ #14557]
bb859b06
L
13555 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13556 if IS_IN_rtld isn't defined.
13557
9cee5585
L
13558 * elf/dl-support.c (_dl_sysinfo_map): New.
13559 Include "get-dynamic-info.h" and "setup-vdso.h".
13560 (_dl_non_dynamic_init): Call setup_vdso.
13561 * elf/dynamic-link.h: Don't include <assert.h>.
13562 (elf_get_dynamic_info): Moved to ...
13563 * elf/get-dynamic-info.h: Here. New file.
13564 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13565 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13566 * elf/setup-vdso.h: Here. New file.
13567 * elf/rtld.c: Include "setup-vdso.h".
13568 (dl_main): Call setup_vdso.
13569
23c31b76
JM
135702012-10-05 Joseph Myers <joseph@codesourcery.com>
13571
28234b07
JM
13572 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13573 creal in comment listing functions tested. List finite, isinf,
13574 isnan, isless, islessequal, isgreater, isgreaterequal,
13575 islessgreater, isunordered, lgamma_r and pow10 as functions and
13576 macros not tested. Mention which functions not tested are aliases
13577 for other functions. Fix typo. Note that signs of NaNs are not
13578 tested.
13579
23c31b76
JM
13580 * scripts/config.guess: Update from config.git.
13581 * scripts/config.sub: Likewise.
13582
9043e228
RM
135832012-10-04 Roland McGrath <roland@hack.frob.com>
13584
13585 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13586 * misc/madvise.c (madvise): Renamed to __madvise.
13587 Make madvise a weak alias.
13588 * include/sys/mman.h: Declare __madvise.
13589 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13590 * sysdeps/unix/syscalls.list
13591 (madvise): Make __madvise the strong name, and madvise a weak alias.
13592 * sysdeps/unix/sysv/linux/syscalls.list
13593 (madvise, mmap): Remove redundant entries.
13594 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13595 * malloc/malloc.c (mtrim): Likewise.
13596 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13597
f57f8055
RM
135982012-10-03 Roland McGrath <roland@hack.frob.com>
13599
13600 * sysdeps/mach/hurd/dl-cache.c: File removed.
13601 * config.h.in (USE_LDCONFIG): New #undef.
13602 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13603 * configure: Regenerated.
13604 * elf/Makefile (dl-routines): Add dl-cache only under
13605 [$(use-ldconfig) = yes].
13606 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13607 cache on [USE_LDCONFIG].
13608 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13609 [USE_LDCONFIG].
13610 * elf/rtld.c (dl_main): Likewise.
13611
5bb0c10a
PT
136122012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13613
13614 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13615 _SC_LEVEL4_CACHE_LINESIZE.
13616
010188c6
RM
136172012-10-03 Roland McGrath <roland@hack.frob.com>
13618
13619 * sysdeps/unix/bsd/confstr.h: File removed.
13620
b6c5ec07
AO
136212012-10-02 Alexandre Oliva <aoliva@redhat.com>
13622
13623 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13624 sys/sdt-config.h.
13625
408223d4
RM
136262012-10-02 Roland McGrath <roland@hack.frob.com>
13627
13628 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13629 Make 'mapoff' field ElfW(Off) rather than off_t.
13630
bb9510dc
DL
136312012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13632
fc997c6e
DL
13633 * nscd/Makefile: Remove nscd-cflags and all its users.
13634 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13635 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13636
bb9510dc
DL
13637 [BZ #10631]
13638 * malloc.c (malloc_printerr): Clarify error message.
13639
05699367
L
136402012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13641
13642 [BZ #14648]
13643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13644 Set bit_FMA_Usable if FMA is supported.
13645 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13646 macro.
13647 (bit_FMA4_Usable): Updated.
13648 (index_FMA_Usable): New macro.
13649 (CPUID_FMA): Likewise
13650 (HAS_FMA): Defined with bit_FMA_Usable.
13651
51367701
RM
136522012-10-01 Roland McGrath <roland@hack.frob.com>
13653
13654 * bits/types.h (__swblk_t): Type removed.
13655 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13656 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13658 (__SWBLK_T_TYPE): Likewise.
13659 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13660 (__SWBLK_T_TYPE): Likewise.
13661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13662 (__SWBLK_T_TYPE): Likewise.
13663 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13664 (__SWBLK_T_TYPE): Likewise.
13665
4d57bf63 136662012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13667 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13668
13669 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13670 (xdr_mapname): Use YPMAXMAP as maxsize.
13671 (xdr_peername): Use YPMAXPEER as maxsize.
13672 (xdr_keydat): Use YPAXRECORD as maxsize.
13673 (xdr_valdat): Use YPMAXRECORD as maxsize.
13674
93c65d43
RM
136752012-10-01 Roland McGrath <roland@hack.frob.com>
13676
497a03d6
RM
13677 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13678
93c65d43
RM
13679 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13680 * csu/init-first.c: ... here.
13681 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13682 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13683 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13684 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13685 * sysdeps/i386/init-first.c: File removed.
13686 * sysdeps/sh/init-first.c: File removed.
13687
bec749fd
JM
136882012-10-01 Joseph Myers <joseph@codesourcery.com>
13689
13690 [BZ #14645]
13691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13692 if x * y might underflow to zero and z is zero.
13693 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13694 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13695 * math/libm-test.inc (min_subnorm_value): New variable.
13696 (fma_test): Add more tests.
13697 (fma_test_towardzero): Likewise.
13698 (fma_test_downward): Likewise
13699 (fma_test_upward): Likewise.
13700 (initialize): Set min_subnorm_value.
13701
8ec5b013
JM
137022012-09-29 Joseph Myers <joseph@codesourcery.com>
13703
13704 [BZ #14638]
13705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13706 0 + 0.
13707 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13708 mode for addition resulting in exact zero.
13709 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13710 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13711 exact 0 + 0.
13712 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13713 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13714 * math/libm-test.inc (fma_test): Add more tests.
13715 (fma_test_towardzero): New function.
13716 (fma_test_downward): Likewise.
13717 (fma_test_upward): Likewise.
13718 (main): Call the new functions.
13719
b1fa802e
DM
137202012-09-28 David S. Miller <davem@davemloft.net>
13721
13722 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13723
d3b9fd9e
RM
137242012-09-28 Roland McGrath <roland@hack.frob.com>
13725
ea4d37b3
RM
13726 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13727 instead of SIGALRM.
13728
ac51c949
RM
13729 * sysdeps/gnu/_G_config.h: Moved to ...
13730 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13731 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13732 * sysdeps/generic/_G_config.h: ... here.
13733
28c195f7
RM
13734 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13735
848917f9
RM
13736 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13737
6bacf05b
RM
13738 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13739 Conditionalize target on [libnss_test1.so-version].
13740
91363dbb
RM
13741 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13742
cc87f7d8
RM
13743 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13744 (elfobjdir): Move out of conditionals.
13745
b1c608fe
RM
13746 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13747 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13748 (__nss_lookup_function): Conditionalize label remove_from_tree on
13749 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13750
1d9a6d96
DM
137512012-09-28 David S. Miller <davem@davemloft.net>
13752
13753 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13754 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13755 file.
13756 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13757 sysdep_routines.
13758 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13759 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13760 when HWCAP_SPARC_CRYPTO is present.
13761
72581615
PT
137622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13763
13764 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13765
715a900c
JL
137662012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13767
13768 [BZ #6530]
13769 * stdio-common/vfprintf.c (process_string_arg): Revert
13770 2000-07-22 change.
13771
137722011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13773
13774 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13775 for testcase.
13776 * stdio-common/tst-sprintf.c: Include <locale.h>
13777 (main): Test sprintf's handling of incomplete multibyte
13778 characters.
13779
9bac1d86
L
137802012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13781
13782 * elf/dl-runtime.c (VERSYMIDX): Removed.
13783 * elf/dl-version.c (VERSYMIDX): Likewise.
13784 * elf/do-rel.h (VERSYMIDX): Likewise.
13785 (VALIDX): Likewise.
13786 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13787 * elf/rtld.c (VALIDX): Likewise.
13788 (ADDRIDX): Likewise.
9bac1d86
L
13789 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13790 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13791 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13792 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13793 (VALIDX): Likewise.
13794 (ADDRIDX): Likewise.
9bac1d86 13795
b31606c0
PT
137962012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13797
13798 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13799
11541177
JL
138002012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13801
13802 [BZ #11438]
13803 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13804 to global scope.
13805 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13806 addresses are in the same scope as 192.0.2/24.
13807 * posix/gai.conf: Document new scope table defaults.
13808
adb26fae
SP
138092012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13810
13811 [BZ #5298]
13812 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13813 for ftell. Compute offsets from write pointers instead.
13814 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13815
4573c6b0
SP
138162012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13817
13818 [BZ #14543]
13819 * libio/Makefile (tests): New test case tst-fseek.
13820 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13821 combination works in wide mode.
13822 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13823 state when the external buffer state changes.
13824
aa9bbfe6
DM
138252012-09-27 David S. Miller <davem@davemloft.net>
13826
13827 [BZ #14376]
13828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13829 pass reloc->r_addend in as the 'high' argument to
13830 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13831
784421e7
DM
13832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13833
c39bc8b8
PT
138342012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13835
13836 * rt/tst-aio2.c: Include <pthread.h>.
13837 * rt/tst-aio3.c: Likewise.
13838
1ccc2399
SE
138392012-09-27 Steve Ellcey <sellcey@mips.com>
13840
13841 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13842
31ed4153
L
138432012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13844
25f5f885
L
13845 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13846 contents on [SHARED].
31ed4153 13847
b7bfe116
MP
138482012-09-26 Marek Polacek <polacek@redhat.com>
13849
13850 [BZ #14530]
13851 [BZ #13741]
13852 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13853 for C++ and GCC <4.3 as well as for non GCC compilers.
13854
43c4edba
MT
138552012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13856
13857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13858
6a1bf82f
RM
138592012-09-25 Roland McGrath <roland@hack.frob.com>
13860
13861 * Makefile.in (all, install): Declare with .PHONY.
13862 Reported by Michael Hope <michael.hope@linaro.org>.
13863
8ad11b9a
TMQMF
138642012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13865
13866 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13867 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13868 system header.
13869 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13870 Likewise.
13871 (sydep_routines): Add the new and the internal functions.
13872 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13873 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13875 (GLIBC_2.17): Add the new function.
13876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13877 (GLIBC_2.17): Likewise.
13878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13879 (GLIBC_2.17): Likewise.
13880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13881 (GLIBC_2.17): Likewise.
13882 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13883
7e2fca8d
AM
138842012-09-25 Alan Modra <amodra@gmail.com>
13885
13886 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13887 Add release barrier before setting once_control to say
13888 initialisation is done. Add hints on lwarx. Use macro in
13889 place of isync.
13890 (clear_once_control): Add release barrier.
13891
b87c4b24
JM
138922012-09-25 Joseph Myers <joseph@codesourcery.com>
13893
d032e0d2
JM
13894 [BZ #13629]
13895 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13896 specially.
13897 * math/s_clog10.c (__clog10): Likewise.
13898 * math/s_clog10f.c (__clog10f): Likewise.
13899 * math/s_clog10l.c (__clog10l): Likewise.
13900 * math/s_clogf.c (__clogf): Likewise.
13901 * math/s_clogl.c (__clogl): Likewise.
13902 * math/Makefile (libm-calls): Add x2y2m1.
13903 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13904 (__x2y2m1): Likewise.
13905 (__x2y2m1l): Likewise.
13906 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13907 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13908 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13909 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13910 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13911 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13912 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13913 * sysdeps/i386/fpu/libm-test-ulps: Update.
13914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13915
b87c4b24
JM
13916 [BZ #14621]
13917 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13918 int as type of variable DEPTH.
13919 (glob): Use size_t instead of int as type of variables NEWCOUNT
13920 and OLD_PATHC.
13921
6d3bf199
LD
139222012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13923
22bf5c17
LD
13924 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13925 Add s_sincosf-sse2.
13926 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13927 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13928 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13929 macros for using routine as __sincosf_ia32.
13930 Use macro for function declaration and weak_alias.
13931 * sysdeps/i386/fpu/libm-test-ulps: Update.
13932
13933 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13935
13936 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13937 subnormal argument.
13938 * math/s_cexpf.c (__cexpf): Likewise.
13939 * math/s_csinf.c (__csinf): Likewise.
13940 * math/s_csinhf.c (__csinhf): Likewise.
13941 * math/s_ctanf.c (__ctanf): Likewise.
13942 * math/s_ctanhf.c (__ctanhf): Likewise.
13943 * math/s_ccosh.c (__ccoshf): Likewise.
13944 * math/s_cexp.c (__cexpl): Likewise.
13945 * math/s_csin.c (__csin): Likewise.
13946 * math/s_csinh.c (__csinh): Likewise.
13947 * math/s_ctan.c (__ctan): Likewise.
13948 * math/s_ctanh.c (ctanh): Likewise.
13949 * math/s_ccoshl.c (__ccoshl): Likewise.
13950 * math/s_cexpl.c (__cexpl): Likewise.
13951 * math/s_csinl.c (__csinl): Likewise.
13952 * math/s_csinhl.c (__csinhl): Likewise.
13953 * math/s_ctanl.c (__ctanl): Likewise.
13954 * math/s_ctanhl.c (__ctanhl): Likewise.
13955
203e5603
JM
139562012-09-25 Joseph Myers <joseph@codesourcery.com>
13957
13958 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13959 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13960 (_IO_off_t): Define to __off_t, not _G_off_t.
13961 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13962 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13963 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13964 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13965 type of __dummy and __dummy2 fields.
13966 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13967 (_G_ssize_t): Likewise.
13968 (_G_off_t): Likewise.
13969 (_G_pid_t): Likewise.
13970 (_G_uid_t): Likewise.
13971 (_G_wchar_t): Likewise.
13972 (_G_wint_t): Likewise.
13973 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13974 (_G_ssize_t): Likewise.
13975 (_G_off_t): Likewise.
13976 (_G_pid_t): Likewise.
13977 (_G_uid_t): Likewise.
13978 (_G_wchar_t): Likewise.
13979 (_G_wint_t): Likewise.
13980 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13981 (_G_ssize_t): Likewise.
13982 (_G_off_t): Likewise.
13983 (_G_pid_t): Likewise.
13984 (_G_uid_t): Likewise.
13985 (_G_wchar_t): Likewise.
13986 (_G_wint_t): Likewise.
13987
9fab36eb
SP
139882012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13989
13990 * malloc/arena.c: Include malloc-sysdep.h.
13991 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13992 is sufficient to shrink the heap or an unmap is needed.
13993 * sysdeps/generic/malloc-sysdep.h: New file. Define
13994 new function check_may_shrink_heap.
13995 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13996 new function check_may_shrink_heap.
13997
2b4f00d1
SP
139982012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13999
14000 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14001 comments.
14002
9a9028b1
DL
140032012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14004
57c69bef
DL
14005 * catgets/test-gencat.sh: Add "set -e".
14006 * elf/tst-pathopt.sh: Likewise.
14007 * grp/tst_fgetgrent.sh: Likewise.
14008 * iconvdata/run-iconv-test.sh: Likewise.
14009 * intl/tst-gettext.sh: Likewise.
14010 * intl/tst-gettext2.sh: Likewise.
14011 * intl/tst-gettext4.sh: Likewise.
14012 * intl/tst-gettext6.sh: Likewise.
14013 * intl/tst-translit.sh: Likewise.
14014 * io/ftwtest-sh: Likewise.
14015 * libio/test-freopen.sh: Likewise.
14016 * malloc/tst-mtrace.sh: Likewise.
14017 * posix/globtest.sh: Likewise.
14018 * posix/tst-getconf.sh: Likewise.
14019 * posix/wordexp-tst.sh: Likewise.
14020 * stdio-common/tst-printf.sh: Likewise.
14021 * stdio-common/tst-unbputc.sh: Likewise.
14022 * stdlib/tst-fmtmsg.sh: Likewise.
14023 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14024 * catgets/Makefile: Do not specify -e option when running
14025 testsuite shell scripts.
14026 * elf/Makefile: Likewise.
14027 * grp/Makefile: Likewise.
14028 * iconvdata/Makefile: Likewise.
14029 * intl/Makefile: Likewise.
14030 * io/Makefile: Likewise.
14031 * libio/Makefile: Likewise.
14032 * malloc/Makefile: Likewise.
14033 * posix/Makefile: Likewise.
14034 * stdio-common/Makefile: Likewise.
14035 * stdlib/Makefile: Likewise.
14036 * sysdeps/x86_64/Makefile: Likewise.
14037
9a9028b1
DL
14038 * io/ftwtest-sh: Add copyright header.
14039 * posix/globtest.sh: Likewise.
14040 * posix/tst-getconf.sh: Likewise.
14041 * posix/wordexp-tst.sh: Likewise.
14042 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14043
ced6f16e
L
140442012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14045
94b32c39
L
14046 [BZ #13679]
14047 * Makeconfig (+link): Defined as $(+link-static) if
14048 $(build-shared) isn't yes.
14049 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14050 isn't yes.
14051 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14052
189e935b
L
14053 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14054
ced6f16e
L
14055 [BZ #14562]
14056 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14057 new chunk size with MALLOC_ALIGN_MASK.
14058
a9f8e53a
JM
140592012-09-24 Joseph Myers <joseph@codesourcery.com>
14060
14061 [BZ #5044]
14062 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14063 <rounding-mode.h>.
14064 (__printf_fphex): Determine rounding using get_rounding_mode and
14065 round_away.
14066 * stdio-common/tst-printf-round.c (struct hex_test): New
14067 structure.
14068 (hex_tests): New variable.
14069 (test_hex_in_one_mode): New function.
14070 (do_test): Also run tests for hex float output.
14071
43153109
JM
140722012-09-21 Joseph Myers <joseph@codesourcery.com>
14073
14074 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14075 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14076 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14077 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14078 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14079 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14080 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14081 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14082
8a26625d
JM
140832012-09-20 Joseph Myers <joseph@codesourcery.com>
14084
14085 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14086 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14087 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14088 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14089
f3fd569c
DL
140902012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14091
14092 [BZ #14579]
14093 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14094 mode only.
14095 * elf/tst-rtld-load-self.sh: New test.
14096 * elf/Makefile: Run it.
14097
63bbedd4
JM
140982012-09-18 Joseph Myers <joseph@codesourcery.com>
14099
14100 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14101 (tst-writev-ENV): Remove.
14102 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14103
626f8b6a
CM
141042012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14105
14106 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14107
b7aaa4d6
JM
141082012-09-17 Joseph Myers <joseph@codesourcery.com>
14109
14110 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14111 unconditional.
14112 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14113 Likewise.
14114 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14115 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14116 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14117 Likewise.
14118
65513990
L
141192012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14120
14121 [BZ #14587]
14122 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14123 * config.make.in (have-cpp-asm-debuginfo): Removed.
14124 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14125 * configure: Regenerated.
14126
784761be
JM
141272012-09-14 Joseph Myers <joseph@codesourcery.com>
14128
14129 [BZ #5044]
14130 * stdio-common/printf_fp.c: Include <stdbool.h> and
14131 <rounding-mode.h>.
14132 (___printf_fp): Determine rounding using get_rounding_mode and
14133 round_away.
14134 * stdio-common/tst-printf-round.c: New file.
14135 * stdio-common/Makefile (tests): Add tst-printf-round.
14136 (link-libm): New variable.
14137 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14138
9503345f
L
141392012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14140
14141 [BZ #14576]
14142 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14143 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14144 Likewise.
14145 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14146 Likewise.
14147
ad35fc00
JM
141482012-09-13 Joseph Myers <joseph@codesourcery.com>
14149
14150 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14151 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14152 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14153 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14154
6c9b0f68
JM
141552012-09-12 Joseph Myers <joseph@codesourcery.com>
14156
14157 [BZ #14518]
14158 * include/rounding-mode.h: New file.
14159 * sysdeps/generic/get-rounding-mode.h: Likewise.
14160 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14161 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14162 (MAX_VALUE): New macro.
14163 (MIN_VALUE): Likewise.
14164 (overflow_value): New function.
14165 (underflow_value): Likewise.
14166 (round_and_return): Use overflow_value and underflow_value to
14167 determine return values in overflow and underflow cases. Use
14168 round_away to determine rounding depending on rounding mode.
14169 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14170 determine return values in overflow and underflow cases.
14171 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14172 (struct test_results): New structure.
14173 (struct test): Use struct test_results to store expected results
14174 for all rounding modes.
14175 (TEST): Include expected results for all rounding modes.
14176 (test_in_one_mode): New function.
14177 (do_test): Use test_in_one_mode to compute and check results.
14178 Check results for all rounding modes.
14179 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14180 $(link-libm).
14181
19fcedd5
AM
141822012-12-09 Allan McRae <allan@archlinux.org>
14183
1e9d84cd 14184 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14185
8bbfd2f1
JM
141862012-09-11 Joseph Myers <joseph@codesourcery.com>
14187
14188 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14189 (_G_int32_t): Likewise.
14190 (_G_uint16_t): Likewise.
14191 (_G_uint32_t): Likewise.
14192 (_G_HAVE_BOOL): Likewise.
14193 (_G_HAVE_ATEXIT): Likewise.
14194 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14195 (_G_HAVE_IO_FILE_OPEN): Likewise.
14196 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14197 (_G_int32_t): Likewise.
14198 (_G_uint16_t): Likewise.
14199 (_G_uint32_t): Likewise.
14200 (_G_HAVE_BOOL): Likewise.
14201 (_G_HAVE_ATEXIT): Likewise.
14202 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14203 (_G_HAVE_IO_FILE_OPEN): Likewise.
14204 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14205 (_G_int32_t): Likewise.
14206 (_G_uint16_t): Likewise.
14207 (_G_uint32_t): Likewise.
14208 (_G_HAVE_BOOL): Likewise.
14209 (_G_HAVE_ATEXIT): Likewise.
14210 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14211 (_G_HAVE_IO_FILE_OPEN): Likewise.
14212
b1dc5912
L
142132012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14214
14215 * csu/libc-tls.c: Update copyright years.
14216
0e886ef9
JM
142172012-09-10 Joseph Myers <joseph@codesourcery.com>
14218
28361c5e
JM
14219 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14220 [!_G_USING_THUNKS]: Remove conditional code.
14221 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14222 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14223
0e886ef9
JM
14224 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14225 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14226 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14227 (_G_VTABLE_LABEL_PREFIX): Likewise.
14228 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14229 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14230 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14231 (_G_VTABLE_LABEL_PREFIX): Likewise.
14232 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14233 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14234 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14235 (_G_VTABLE_LABEL_PREFIX): Likewise.
14236 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14237
bcba7aa2
L
142382012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14239
14240 * libio/Makefile: Include ../Makeconfig before tests.
14241 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14242 only if $(build-shared) is yes.
14243
06585ee8
L
14244 * iconv/gconv_db.c: Update copyright years.
14245
80ccd52c
LD
142462012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14247
14248 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14249 unwind info if defined PIC. Fix special cases description.
14250 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14251
14252 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14253 DP_HI_MASK entry.
14254 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14255
691bc9c1
L
142562012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14257
3d9b46b3
L
14258 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14259
de2139a9
L
14260 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14261 is NULL.
14262
5ca78dd0
L
14263 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14264 (LDLIBS-tst-chk4): This.
14265 (LDFLAGS-tst-chk5): Renamed to ...
14266 (LDLIBS-tst-chk5): This.
14267 (LDFLAGS-tst-chk6): Renamed to ...
14268 (LDLIBS-tst-chk6): This.
14269 (LDFLAGS-tst-lfschk4): Renamed to ...
14270 (LDLIBS-tst-lfschk4): This.
14271 (LDFLAGS-tst-lfschk5): Renamed to ...
14272 (LDLIBS-tst-lfschk5): This.
14273 (LDFLAGS-tst-lfschk6): Renamed to ...
14274 (LDLIBS-tst-lfschk6): This.
14275
691bc9c1
L
14276 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14277 on $(common-objpfx)soversions.mk.
14278
65cafb1c
JM
142792012-09-07 Joseph Myers <joseph@codesourcery.com>
14280
14281 [BZ #10014]
14282 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14283 example host name.
14284
c78ab094
SP
142852012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14286
14287 * malloc/arena.c (arena_get_retry): New function that gets
14288 another arena for the caller to try its request on.
14289 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14290 current arena cannot fulfill the request.
14291 (__libc_memalign): Likewise.
14292 (__libc_memalign): Likewise.
14293 (__libc_pvalloc): Likewise.
14294 (__libc_calloc): Likewise.
14295
01f49f59
JT
142962012-09-05 John Tobey <john.tobey@gmail.com>
14297
14298 [BZ #13542]
14299 * manual/arith.texi (Operations on Complex): Fix description
14300 of carg branch cut.
14301
4c23fed5
JM
143022012-09-06 Joseph Myers <joseph@codesourcery.com>
14303
1d3c8572
JM
14304 [BZ #10014]
14305 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14306 host name.
14307
4c23fed5
JM
14308 [BZ #10038]
14309 * manual/memory.texi (Memory): Make order of menu items match
14310 order of sections.
14311
04570aaa
L
143122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14313
14314 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14315 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14316 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14317
b80af2f4
L
143182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14319
14320 * csu/libc-tls.c (static_dtv): Renamed to ...
14321 (_dl_static_dtv): This. Make it global.
14322 (_dl_initial_dtv): Removed.
14323 (__libc_setup_tls): Updated.
14324 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14325 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14326 DL_INITIAL_DTV.
14327
2abe9f15
PM
143282012-09-06 Petr Machata <pmachata@redhat.com>
14329
14330 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14331 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14332 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14333 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14334
0948c3af
L
143352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14336
14337 [BZ #14545]
14338 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14339 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14340 freeing dtv[-1].
14341
a5055ad1
L
143422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14343
14344 [BZ #14544]
14345 * Makeconfig (link-static-before-libc): Replace $(+prector)
14346 with $(+prectorT).
14347 (link-static-after-libc): Replace $(+postctor) with
14348 $(+postctorT).
14349 (link-bounded): Replace $(+prector)/$(+postctor) with
14350 $(+prectorT)/$(+postctorT).
14351 (+prectorT): New macro.
14352 (+postctorT): Likewise.
14353
ed8c2ecd
JM
143542012-09-06 Joseph Myers <joseph@codesourcery.com>
14355
14356 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14357 (round_str): Handle values above the maximum for IBM long double
14358 as inexact.
14359 * stdlib/tst-strtod-round.c (tests): Regenerated.
14360
14c996c8
AK
143612012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14362
14363 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14364 assembler flag.
14365 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14366 zarch_nohighgprs around the zarch optimized routines.
14367 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14368 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14369 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14370 for zarch.
14371
430d6ce6
DM
143722012-09-05 David S. Miller <davem@davemloft.net>
14373
14374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14375
ff04dda4
DM
14376 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14377 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14378 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14379 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14380 entries.
14381
24d4e01b
AO
143822012-09-05 Alexandre Oliva <aoliva@redhat.com>
14383
14384 * malloc/arena.c: Fold copyright years.
14385 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14386
61d58174
AO
143872012-09-05 Alexandre Oliva <aoliva@redhat.com>
14388
14389 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14390
20196a5e
AO
143912012-09-05 Alexandre Oliva <aoliva@redhat.com>
14392
14393 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14394
5c447383
AO
143952012-09-05 Alexandre Oliva <aoliva@redhat.com>
14396
14397 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14398 change internal state upon failure.
14399
fad64255
AO
144002012-09-05 Alexandre Oliva <aoliva@redhat.com>
14401
14402 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14403 * malloc/memusage.c (mmap): Likewise.
14404 (mmap64, mremap): Likewise. Adjust name in comment.
14405
1ffb8c90
SP
144062012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14407
14408 * libio/fileops.c: Fix typos in comments.
14409 * libio/oldfileops.c: Likewise.
14410 * libio/wfileops.c: Likewise.
14411
6ef9cc37
SP
144122012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14413
14414 [BZ #1349]
14415 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14416 (tst-malloc-usable-ENV): Set environment for test case.
14417 * malloc/hooks.c (malloc_check_get_size): New function to get
14418 requested size.
14419 * malloc/malloc.c (musable): Use malloc_check_get_size.
14420 * malloc/tst-malloc-usable.c: New test case.
14421
4d038ae3
AS
144222012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14423
14424 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14425
c4e85184
AM
144262012-09-05 Allan McRae <allan@archlinux.org>
14427
b9dafc56 14428 [BZ #13966]
c4e85184
AM
14429 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14430 determine header location.
14431 * configure: Regenerated.
14432
e1343020
AS
144332012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14434
14435 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14436 float format.
14437 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14438 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14439 format.
e1343020
AS
14440 (test): Regenerate.
14441
0a9f1987
DM
144422012-09-04 David S. Miller <davem@davemloft.net>
14443
14444 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14445 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14446 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14447
29237804
FW
144482012-09-04 Florian Weimer <fweimer@redhat.com>
14449
14450 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14451 failures.
14452
edb3cb88
FW
14453 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14454
60160d83
JM
144552012-09-04 Joseph Myers <joseph@codesourcery.com>
14456
14457 [BZ #9914]
14458 * libio/iogetdelim.c: Include <limits.h>.
14459 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14460 + len + 1 would overflow.
14461
bcd6c8dc
AJ
144622012-09-03 Andreas Jaeger <aj@suse.de>
14463
14464 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14465 * sysdeps/i386/fpu/libm-test-ulps: Update.
14466
4ffffbd2
LD
144672012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14468
14469 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14470 Add s_sinf-sse2, s_conf-sse2.
14471
14472 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14473 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14474 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14475 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14476
14477 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14478 for using routine as __sinf_ia32.
14479 Use macro for function declaration and weak_alias.
14480 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14481 for using routine as __cosf_ia32.
14482 Use macro for function declaration and weak_alias.
14483
14484 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14485 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14486
14487 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14488 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14490
14491 * math/libm-test.inc (cos_test): Add more test cases.
14492 (sin_test): Likewise.
14493 (sincos_test): Likewise.
14494
511fa286
AK
144952012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14496
14497 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14498 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14499 hidden.
14500 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14501
5f30cfec
L
145022012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14503
14504 [BZ #14538]
14505 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14506 first element of the GOT.
14507 (elf_machine_load_address): Return the difference between
14508 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14509
0786794f
AM
145102012-09-01 Allan McRae <allan@archlinux.org>
14511
5f30cfec
L
14512 [BZ #13412]
14513 * configure.in (AWK): Require gawk version 3.0 or later.
14514 * configure: Regenerated.
0786794f 14515
26889eac
JM
145162012-09-01 Joseph Myers <joseph@codesourcery.com>
14517
14518 * sysdeps/unix/sysv/linux/kernel-features.h
14519 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14520 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14521 [__NR_clock_getres]: Make code unconditional.
14522 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14523 (clock_getcpuclockid): Remove code left unreachable by removal of
14524 conditionals.
14525 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14526 code unconditional.
14527 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14528 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14529 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14530 Make code unconditional.
14531 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14532 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14533 * sysdeps/unix/sysv/linux/clock_settime.c
14534 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14535 conditional code.
14536 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14537 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14538
d22e28b0
L
145392012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14540
14541 [BZ #14476]
14542 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14543 scripts/test-installation.pl.
14544
14545 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14546 and $ld_so_version if it is set.
14547
050af9c4
SP
145482012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14549
14550 [BZ #14516]
14551 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14552 failure if reading from procfs failed.
14553 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14554
ad845c0b
JM
145552012-08-27 Joseph Myers <joseph@codesourcery.com>
14556
14557 * sysdeps/unix/sysv/linux/kernel-features.h
14558 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14559 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14560 Remove conditional code.
14561 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14562 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14563 Remove conditional code.
14564 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14565 * sysdeps/unix/sysv/linux/i386/fxstat.c
14566 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14567 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14568 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14569 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14570 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14571 * sysdeps/unix/sysv/linux/i386/lxstat.c
14572 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14573 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14574 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14575 Remove conditional code.
14576 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14577 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14578 Remove conditional code.
14579 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14580 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14581 <kernel-features.h>.
14582 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14583 Remove.
14584 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14585 Remove conditional code.
14586 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14587 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14588 Remove conditional.
14589
5dbf56af
MF
145902012-08-27 Mike Frysinger <vapier@gentoo.org>
14591
14592 [BZ #5400]
14593 * NEWS: Add fixed bug number.
14594
d6e70f43
JM
145952012-08-27 Joseph Myers <joseph@codesourcery.com>
14596
7efb4737
JM
14597 [BZ #14519]
14598 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14599 underflowing exponent in case of negative sign.
14600 * stdlib/tst-strtod-round-data: Add more tests.
14601 * stdlib/tst-strtod-round.c (tests): Regenerated.
14602
af92131a
JM
14603 [BZ #3479]
14604 * stdlib/strtod_l.c (NDIG): Remove.
14605 (HEXNDIG): Likewise.
14606 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14607 smallest representable value.
14608 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14609 lie within an exact representation of 1/2 ulp of the result.
14610 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14611 unconditionally.
14612 (TENS_P9_IDX): Define unconditionally.
14613 (TENS_P9_SIZE): Likewise.
14614 (TENS_P10_IDX): Likewise.
14615 (TENS_P10_SIZE): Likewise.
14616 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14617 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14618 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14619 entries for 10^2^13 and 10^2^14.
14620 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14621 (TENS_P13_IDX): Define.
14622 (TENS_P13_SIZE): Likewise.
14623 (TENS_P14_IDX): Likewise.
14624 (TENS_P14_SIZE): Likewise.
14625 (_fpioconst_pow10): Change array size to
14626 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14627 unconditional.
14628 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14629 1024]: Add entries for 10^2^13 and 10^2^14.
14630 [LAST_POW10 > _LAST_POW10]: Remove #error.
14631 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14632 (_fpioconst_pow10): Change array size to
14633 FPIOCONST_POW10_ARRAY_SIZE.
14634 * stdlib/gen-fpioconst.c: New file.
14635 * stdlib/gen-tst-strtod-round.c: Likewise.
14636 * stdlib/tst-strtod-round-data: Likewise.
14637 * stdlib/tst-strtod-round.c: Likewise.
14638 * stdlib/Makefile (tests): Add tst-strtod-round.
14639
d6e70f43
JM
14640 [BZ #14459]
14641 * stdlib/strtod_l.c: Include <stdint.h>.
14642 (NDEBUG): Do not define.
14643 (round_and_return): Change EXPONENT parameter to type intmax_t.
14644 Rearrange calculations to avoid internal overflow possibilities.
14645 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14646 Rearrange calculations to avoid internal overflow possibilities.
14647 Assert that number fits inside MPNSIZE limbs.
14648 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14649 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14650 calculations and add assertions to avoid internal overflow
14651 possibilities. Add casts to avoid signed/unsigned operations.
14652 * stdlib/tst-strtod-overflow.c: New file.
14653 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14654
1f529f7d
MP
146552012-08-25 Marek Polacek <polacek@redhat.com>
14656
14657 * time/time.h: Fix some typos in comments.
14658
59a629f1
RM
146592012-08-23 Roland McGrath <roland@hack.frob.com>
14660
14661 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14662 * posix/tst-rfc3484-2.c: Likewise.
14663 * posix/tst-rfc3484-3.c: Likewise.
14664
d3bafbc9
SM
146652012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14666
14667 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14668 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14669
4efcc022
JM
146702012-08-23 Joseph Myers <joseph@codesourcery.com>
14671
14672 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14673 #include of fxstatat64.c.
14674
3cc3ef96
RM
146752012-08-22 Roland McGrath <roland@hack.frob.com>
14676
f04e2132
RM
14677 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14678 * shadow/getspent_r.c: Likewise.
14679 * shadow/getspnam.c: Likewise.
14680 * shadow/getspnam_r.c: Likewise.
14681 * gshadow/getsgent.c: Likewise.
14682 * gshadow/getsgent_r.c: Likewise.
14683 * gshadow/getsgnam.c: Likewise.
14684 * gshadow/getsgnam_r.c: Likewise.
14685 * inet/getnetbyad.c: Likewise.
14686 * inet/getnetbyad_r.c: Likewise.
14687 * inet/getnetbynm.c: Likewise.
14688 * inet/getnetbynm_r.c: Likewise.
14689 * inet/getnetent.c: Likewise.
14690 * inet/getnetent_r.c: Likewise.
14691 * inet/getproto.c: Likewise.
14692 * inet/getproto_r.c: Likewise.
14693 * inet/getprtent.c: Likewise.
14694 * inet/getprtent_r.c: Likewise.
14695 * inet/getprtname.c: Likewise.
14696 * inet/getprtname_r.c: Likewise.
14697 * inet/getrpcbyname.c: Likewise.
14698 * inet/getrpcbyname_r.c: Likewise.
14699 * inet/getrpcbynumber.c: Likewise.
14700 * inet/getrpcbynumber_r.c: Likewise.
14701 * inet/getrpcent.c: Likewise.
14702 * inet/getrpcent_r.c: Likewise.
14703 * inet/getaliasent.c: Likewise.
14704 * inet/getaliasent_r.c: Likewise.
14705 * inet/getaliasname.c: Likewise.
14706 * inet/getaliasname_r.c: Likewise.
14707 * nscd/getgrgid_r.c: Likewise.
14708 * nscd/getgrnam_r.c: Likewise.
14709 * nscd/gethstbyad_r.c: Likewise.
14710 * nscd/gethstbynm3_r.c: Likewise.
14711 * nscd/getpwnam_r.c: Likewise.
14712 * nscd/getpwuid_r.c: Likewise.
14713 * nscd/getsrvbynm_r.c: Likewise.
14714 * nscd/getsrvbypt_r.c: Likewise.
14715 * nscd/gai.c: Likewise.
14716
c53d909c
RM
14717 * configure.in (build_nscd): New substituted variable, set
14718 by --disable-build-nscd and defaults to $use_nscd.
14719 * configure: Regenerated.
14720 * config.make.in (build-nscd): New substituted variable.
14721 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14722 Change conditional to require [$(build-nscd) = yes] as well.
14723 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14724
3cc3ef96
RM
14725 [BZ# 13696]
14726 * configure.in (use_nscd): New substituted variable, set by
14727 --disable-nscd. If enabled, define USE_NSCD.
14728 * configure: Regenerated.
14729 * config.h.in: Add USE_NSCD.
14730 * config.make.in (use-nscd): New substituted variable.
14731 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14732 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14733 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14734 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14735 (CFLAGS-getgrnam_r.c): Likewise.
14736 (CFLAGS-initgroups.c): Likewise.
14737 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14738 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14739 Variables removed.
14740 * inet/getnetgrent_r.c
14741 (nscd_setnetgrent): New function, broken out of ...
14742 (setnetgrent): ... here. Call it.
14743 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14744 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14745 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14746 * nscd/Makefile (routines, aux): Move definitions after include of
14747 Makeconfig. Conditionalize on [$(use-nscd) != no].
14748 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14749 Conditionalize on [USE_NSCD].
14750 (is_nscd, nscd_init_cb): Likewise.
14751 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14752 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14753 * nss/nss_db/db-init.c: Likewise.
14754 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14755 [USE_NSCD].
14756 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14757 (make_request): Use it.
14758 (cache_valid_p): New function.
14759 (__check_pf): Use it.
14760 * NEWS: Add item for --disable-nscd.
14761
07e51550
DL
147622012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14763
14764 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14765 to support sed >= 4.2.1-20-ga9bf076.
14766 * configure: Regenerated.
14767
35a5b08b
RM
147682012-08-22 Roland McGrath <roland@hack.frob.com>
14769
14770 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14771 Conditionalize whole body on [IREL].
14772
8479f23a
JL
147732012-08-22 Jeff Law <law@redhat.com>
14774
14775 [BZ #14505]
14776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14777 if the family is PF_UNSPEC.
14778
48da0b21
MF
147792012-08-22 Mike Frysinger <vapier@gentoo.org>
14780
14781 * Makerules (lib-version): Rename from V.
14782 (install-lib-nosubdir): Change V to lib-version.
14783
15d0da8c
WS
147842012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14785
14786 [BZ #14252]
14787 * powerpc32/power6/wcschr.c: New file.
14788 * powerpc32/power6/wcscpy.c: New file.
14789 * powerpc32/power6/wcsrchr.c: New file.
14790 * powerpc64/power6/wcschr.c: New file.
14791 * powerpc64/power6/wcscpy.c: New file.
14792 * powerpc64/power6/wcsrchr.c: New file.
14793
bcca0895
MK
147942012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14795
14796 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14797 (two_way_short_needle): Use it.
5a4aaa33
RM
14798 * string/strstr.c (AVAILABLE1_USES_J): Define.
14799 * string/strcasestr.c: Likewise.
99677e57
MK
14800
14801 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14802 array references.
14803 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14804
400726de
MK
14805 [BZ #11607]
14806 * NEWS: Add an entry.
14807 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14808 define their defaults.
14809 (two_way_short_needle): Detect end-of-string on-the-fly.
14810 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14811 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14812 * string/bug-strcasestr1.c: New test.
14813 * string/Makefile: Run it.
14814
20a71f2c
MK
148152012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14816
14817 [BZ #11607]
14818 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14819 the first character.
14820
21ad0558
RM
148212012-08-21 Roland McGrath <roland@hack.frob.com>
14822
14823 * csu/elf-init.c (__libc_csu_irel): Function removed.
14824 * csu/libc-start.c (apply_irel): New function.
14825 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14826
0e1d9911
JM
148272012-08-21 Joseph Myers <joseph@codesourcery.com>
14828
14829 * sysdeps/unix/sysv/linux/kernel-features.h
14830 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14831 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14832 <kernel-features.h>.
14833 [__NR_fadvise64_64]: Make code unconditional.
14834 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14835 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14836 !__NR_fadvise64_64)]: Likewise.
14837 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14838 !__NR_fadvise64_64))]: Likewise.
14839 [__NR_fadvise64]: Make code unconditional.
14840 [!__NR_fadvise64]: Remove conditional code.
14841 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14842 <kernel-features.h>.
14843 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14844 unconditional.
14845 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14846 conditional code.
14847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14848 not include <kernel-features.h>.
14849 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14850 unconditional.
14851 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14852 conditional code.
14853 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14854 include <kernel-features.h>.
14855 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14856 unconditional.
14857 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14858 conditional code.
14859
14a50c9d
WS
148602012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14861
14862 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14863 slight instruction rearrangements per scrollpipe analysis.
14864 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14865
c0f4faf0
RM
148662012-08-20 Roland McGrath <roland@hack.frob.com>
14867
696da859
RM
14868 * manual/syslog.texi (syslog; vsyslog, closelog):
14869 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14870 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14871
c0f4faf0
RM
14872 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14873 DSOCAPS to match condition on defining it.
14874
348363b2
JM
148752012-08-20 Joseph Myers <joseph@codesourcery.com>
14876
a35cbf28
JM
14877 * sysdeps/unix/sysv/linux/kernel-features.h
14878 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14880 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14881 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14883 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14884 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14886 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14887 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14888
445f7ecd
JM
14889 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14890 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14891
348363b2
JM
14892 * sysdeps/unix/sysv/linux/kernel-features.h
14893 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14894 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14895 unconditional.
14896 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14897 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14898 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14899 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14900 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14901 Make code unconditional.
14902 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14903 (__mmap64) [!__NR_mmap2]: Likewise.
14904 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14905 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14906 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14907 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14908 [__NR_mmap2]: Make code unconditional.
14909 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14910 (__mmap64) [!__NR_mmap2]: Likewise.
14911
bc5bc0e5
AK
149122012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14913
14914 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14915
88d506de
AJ
149162012-08-18 Andreas Jaeger <aj@suse.de>
14917
14918 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14919
493387d2
MF
149202012-08-18 Mike Frysinger <vapier@gentoo.org>
14921
14922 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14923 * include/unistd.h (__have_sock_cloexec): Likewise.
14924 (__have_pipe2): Likewise.
14925 (__have_dup3): Likewise.
14926
a277af22
MF
149272012-08-18 Mike Frysinger <vapier@gentoo.org>
14928
14929 [BZ #9685]
14930 * include/unistd.h (__have_pipe2): Change define into an extern int.
14931 (__have_dup3): Likewise.
14932 * socket/have_sock_cloexec.c: Include fcntl.h.
14933 (__have_pipe2): New variable.
14934 (__have_dup3): Likewise.
14935
fdab8fd3
MF
149362012-08-17 Mike Frysinger <vapier@gentoo.org>
14937
14938 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14939
31035e80
MP
149402012-08-17 Marek Polacek <polacek@redhat.com>
14941
14942 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14943 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14944
3bd9e993
RM
149452012-08-17 Roland McGrath <roland@hack.frob.com>
14946
c91c505f
RM
14947 * configure.in: Add AC_SUBST for sysheaders.
14948 * configure: Regenerated.
14949 * config.make.in (sysheaders): New substituted variable.
14950
7c6f9d53
RM
14951 * sysdeps/unix/mkfifo.c: Moved ...
14952 * sysdeps/posix/mkfifo.c: ... here.
14953 * sysdeps/unix/mkfifoat.c: Moved ...
14954 * sysdeps/posix/mkfifoat.c: ... here.
14955
14956 * sysdeps/unix/utime.c: Moved ...
14957 * sysdeps/posix/utime.c: ... here.
14958
14959 * sysdeps/unix/time.c: Moved ...
14960 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14961 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14962 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14963
14964 * sysdeps/unix/nice.c: Moved ...
14965 * sysdeps/posix/nice.c: ... here.
14966
14967 * sysdeps/unix/alarm.c: Moved ...
14968 * sysdeps/posix/alarm.c: ... here.
14969
3bd9e993
RM
14970 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14971
d1f09384
JL
149722012-08-17 Jeff Law <law@redhat.com>
14973
14974 * intl/Makefile (codeset_mo): New variable.
14975 ($(codeset_mo)): New target.
14976 (tst-codeset.out): Depend on that. Remove explicit rule.
14977 (tst-gettext3.out, tst-gettext5.out): Likewise.
14978 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14979 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14980 * intl/tst-codeset.sh: Remove.
14981 * intl/tst-gettext3.sh: Likewise.
14982 * intl/tst-gettext5.sh: Likewise.
14983
2ae1ae5c
RM
149842012-08-17 Roland McGrath <roland@hack.frob.com>
14985
c31fdb83
RM
14986 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14987 * sysdeps/unix/syscalls.list: ... here.
14988
a0844057
RM
14989 * sysdeps/posix/getaddrinfo.c
14990 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14991 (gaiconf_init, gaiconf_reload): Use them.
14992 [!_STATBUF_ST_NSEC]
14993 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14994 Define using time_t rather than struct timespec.
14995
750c1f2a
RM
14996 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14997 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14998 Macros removed.
14999 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15000 [!NO_THREADS].
15001 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15002 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15003 Likewise.
15004
2ae1ae5c
RM
15005 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15006 __libc_cleanup_push argument.
15007
e66a42f5
RM
15008 * bits/param.h: New file.
15009 * misc/sys/param.h: New file.
15010 * include/sys/param.h: New file.
15011 * misc/Makefile (headers): Add bits/param.h.
15012 * sysdeps/generic/sys/param.h: File removed.
15013 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15014 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15015 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 15016 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 15017
b7c08a66
RM
15018 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15019 last change.
15020
b2e1c562
RM
15021 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15022 [_IO_MTSAFE_IO].
15023 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15024 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15025 New macros.
15026
c75ccd4c
RM
15027 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15028 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15029 rather than -D_IO_MTSAFE_IO conditionally.
15030 * stdio-common/Makefile (CPPFLAGS): Likewise.
15031 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15032 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15033 Use $(libio-mtsafe).
15034 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15035 of -D_IO_MTSAFE_IO.
15036 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15037 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15038 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15039 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15040 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15041 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15042 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15043 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15044 (CFLAGS-fread_u_chk.c): Likewise.
15045 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15046 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15047 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15048 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15049 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15050 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15051 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15052 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15053 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15054
15055 * libio/Makefile: Test [$(libc-reentrant) = yes]
15056 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15057
15058 * Makeconfig
15059 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15060 * sysdeps/pthread/configure: File removed.
15061 * sysdeps/pthread/Makeconfig: New file.
15062 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15063 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15064
d9195db8
GB
150652012-08-16 Gary Benson <gbenson@redhat.com>
15066
15067 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15068 unmapping the first object in a namespace.
15069
86466cd9
RM
150702012-08-16 Roland McGrath <roland@hack.frob.com>
15071
15072 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15073 (__internal_setnetgrent): ... this. Add internal_function to
15074 definition. Add libc_hidden_def.
15075 (setnetgrent): Update caller.
15076 (internal_endnetgrent): Renamed to ...
15077 (__internal_endnetgrent): ... this. Add internal_function to
15078 definition. Add libc_hidden_def.
15079 (endnetgrent): Update caller.
15080 (internal_getnetgrent_r): Renamed to ...
15081 (__internal_getnetgrent_r): ... this. Add internal_function to
15082 definition. Add libc_hidden_def.
15083 (__getnetgrent_r): Update caller.
15084 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15085
c3c8283c
JM
150862012-08-16 Joseph Myers <joseph@codesourcery.com>
15087
15088 * stdlib/longlong.h: Update from GCC.
15089
db1ee0a8
RM
150902012-08-16 Roland McGrath <roland@hack.frob.com>
15091
15092 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15093 on _QL, which is set by umul_ppmm but never used.
15094 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15095 variables, which are set by GMP macros but never used.
15096 * stdio-common/_itowa.c (_itowa): Likewise.
15097 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15098 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15099
30f69637
CD
151002012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15101
15102 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15103 struct La_sh_regs is not constant.
15104 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15105 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15106 and struct La_sparc64_regs are not constant.
15107
93a78ac4
JM
151082012-08-16 Joseph Myers <joseph@codesourcery.com>
15109
15110 * sysdeps/unix/sysv/linux/kernel-features.h
15111 (__ASSUME_POSIX_TIMERS): Remove.
15112 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15113 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15114 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15115 Make code unconditional.
15116 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15117 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15118 Make code unconditional.
15119 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15120 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15121 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15122 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15123 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15124 Make code unconditional.
15125 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15126 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15127 (__libc_missing_posix_timers): Remove.
15128
dd924cd7
RM
151292012-08-15 Roland McGrath <roland@hack.frob.com>
15130
4b4f2771
RM
15131 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15132 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15133
601c888b
RM
15134 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15135
176790a7
RM
15136 * elf/dl-sym.c: Include <stdlib.h>.
15137
329bc018
RM
15138 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15139 constants, which avoids warnings in 32-bit builds.
15140
e04e272d
RM
15141 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15142 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15143
952bf94a
RM
15144 * misc/lseek.c: File moved to ...
15145 * io/lseek.c: ... here.
15146
7c99b50a
RM
15147 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15148
dd924cd7
RM
15149 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15150 shifting LEN more than 31 bits at once.
15151
b3f479a8
LD
151522012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15153
15154 [BZ #14195]
8c4ae0d4
RM
15155 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15156 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15157 * string/test-strncasecmp.c (check1): Renamed to...
15158 (bz12205): ...this.
15159 (bz14195): Add new testcase for two empty input strings and N > 0.
15160 (test_main): Call new testcase, adapt for renamed function.
15161
9c55864e
AJ
151622012-08-15 Andreas Jaeger <aj@suse.de>
15163
15164 [BZ #14090]
15165 * crypt/md5test2.c: New test, based on test supplied by Serge
15166 Belyshev <belyshev@depni.sinp.msu.ru>.
15167 * crypt/Makefile (xtests): Add md5test-giant..
15168 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15169
02dcb6c5
PE
151702012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15171
15172 [BZ #14090]
15173 * crypt/md5.c (md5_process_block): Don't assume the buffer
15174 length is less than 2**32.
15175 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15176 length is less than 2**64.
15177
a3f95dcc
RM
151782012-08-15 Roland McGrath <roland@hack.frob.com>
15179
be75d758
RM
15180 * string/str-two-way.h: Include <sys/param.h>.
15181 (MAX): Macro removed.
15182
7312ca90
RM
15183 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15184 Move #define and #undef of memmove to just before and after
15185 including <string.h>.
15186
9a0a5486
RM
15187 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15188 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15189 and after including <string.h>. Move declarations of
15190 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15191 to before #include "string/memmove.c".
15192
67cc348d
RM
15193 * include/dirent.h: Declare __getdirentries.
15194
a3f95dcc
RM
15195 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15196 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15197
ca98e171
MF
151982012-08-14 Mike Frysinger <vapier@gentoo.org>
15199
15200 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15201 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15202 * sysdeps/i386/configure: Regenerated.
15203 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15204 STABS_CURRENT_FILE, and STABS_FUN.
15205 (END): Remove call to STABS_FUN_END.
15206 (STABS_CURRENT_FILE1): Delete.
15207 (STABS_CURRENT_FILE): Likewise.
15208 (STABS_FUN): Likewise.
15209 (STABS_FUN_END): Likewise.
15210 (STABS_FUN2): Likewise.
15211 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15212 * sysdeps/x86_64/configure: Regenerated.
15213
5908bf46
RM
152142012-08-14 Roland McGrath <roland@hack.frob.com>
15215
15216 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15217 * elf/dl-lookup.c: Likewise.
5908bf46 15218
f2c05b9e
JM
152192012-08-14 Joseph Myers <joseph@codesourcery.com>
15220
15221 * sysdeps/unix/sysv/linux/kernel-features.h
15222 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15223 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15224 unconditionally.
15225 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15226 unconditionally.
15227 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15228 condition on __ASSUME_CLONE_THREAD_FLAGS.
15229
e11f5155
AJ
152302012-08-14 Andreas Jaeger <aj@suse.de>
15231
15232 * sysdeps/i386/fpu/libm-test-ulps: Update.
15233
51a9ba86
MK
152342012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15235
2fdd4f78
AJ
15236 * include/atomic.h (atomic_exchange_and_add): Split into ...
15237 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15238 New atomic macros.
51a9ba86 15239
ba6cba9e
MT
152402012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15241
15242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15243
42443a47
JL
152442012-08-13 Jeff Law <law@redhat.com>
15245
15246 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15247 null byte in the output string.
15248
121dce05
JM
152492012-08-10 Joseph Myers <joseph@codesourcery.com>
15250
15251 * sysdeps/unix/sysv/linux/kernel-features.h
15252 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15253 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15254 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15255 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15256 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15257 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15258 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15259
bf51f568
JL
152602012-08-09 Jeff Law <law@redhat.com>
15261
15262 [BZ #13939]
15263 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15264 When avoid_arena is set, don't retry in the that arena. Pick the
15265 next one, whatever it might be.
15266 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15267 (arena_lock): Pass in new parameter to arena_get2.
15268 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15269 arena_get2.
15270 (__libc_malloc): Unify retrying after main arena failure with
15271 __libc_memalign version.
15272 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15273
f85fa270
L
152742012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15275
15276 [BZ #14166]
15277 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15278 to __redirect_strstr.
15279 (__strstr_sse42): Use typeof __redirect_strstr.
15280 (__strstr_ia32): Likewise.
15281 (__libc_strstr): New prototype.
15282 (strstr): Renamed to ...
15283 (__libc_strstr): This.
15284 (strstr): New strong alias of __libc_strstr.
15285 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15286 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15287 __redirect_time.
15288 Include <time.h>.
15289 (__libc_time): New prototype.
15290 (time_ifunc): Replace time with __libc_time.
15291 (time): New strong alias and hidden definition of __libc_time.
15292 (__GI_time): Remove strong alias.
15293 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15294 Include <stddef.h>.
15295 (memmove): Redefined to __redirect_memmove.
15296 (__memmove_sse2): Use typeof __redirect_memmove.
15297 (__memmove_ssse3): Likewise.
15298 (__memmove_ssse3_back): Likewise.
15299 (__libc_memmove): New prototype.
15300 (memmove): Renamed to ...
15301 (__libc_memmove): This.
15302 (memmove): New strong alias of __libc_memmove.
15303
33b4a91e
MS
153042012-08-08 Mark Salter <msalter@redhat.com>
15305
15306 * elf/elf.h
15307 (R_MN10300_TLS_GD): Define.
15308 (R_MN10300_TLS_LD): Likewise.
15309 (R_MN10300_TLS_LDO): Likewise.
15310 (R_MN10300_TLS_GOTIE): Likewise.
15311 (R_MN10300_TLS_IE): Likewise.
15312 (R_MN10300_TLS_LE): Likewise.
15313 (R_MN10300_TLS_DTPMOD): Likewise.
15314 (R_MN10300_TLS_DTPOFF): Likewise.
15315 (R_MN10300_TLS_TPOFF): Likewise.
15316 (R_MN10300_SYM_DIFF): Likewise.
15317 (R_MN10300_ALIGN): Likewise.
15318 (R_MN10300_NUM): Update.
15319
b36137f1
JM
153202012-08-08 Joseph Myers <joseph@codesourcery.com>
15321
15322 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15323 Remove.
15324
cdd915fd
RM
153252012-08-08 Roland McGrath <roland@hack.frob.com>
15326
a2433aac
RM
15327 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15328
cdd915fd
RM
15329 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15330 sysdeps/unix -> sysdeps/posix move.
15331 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15332
bf9b740a
AM
153332012-08-07 Allan McRae <allan@archlinux.org>
15334
15335 [BZ #14303]
15336 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15337 (SUNOS_CPP): Likewise.
15338 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15339 not found.
15340 (open_input): Call CPP using execvp.
15341
93df14ee
JM
153422012-08-07 Joseph Myers <joseph@codesourcery.com>
15343
15344 * sysdeps/unix/sysv/linux/kernel-features.h
15345 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15346 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15347 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15348 (__ASSUME_WAITID_SYSCALL): Likewise.
15349 * sysdeps/unix/sysv/linux/dl-execstack.c
15350 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15351 code unconditional.
15352 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15353 conditional code.
15354 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15355 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15356 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15357 code.
15358 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15359 unconditional.
15360 [__ASSUME_WAITID_SYSCALL]: Likewise.
15361 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15362
d34689de
RM
153632012-08-07 Roland McGrath <roland@hack.frob.com>
15364
a281decc
RM
15365 * sysdeps/unix/closedir.c: Renamed to ...
15366 * sysdeps/posix/closedir.c: ... here.
15367 * sysdeps/unix/dirfd.c: Renamed to ...
15368 * sysdeps/posix/dirfd.c: ... here.
15369 * sysdeps/unix/dirstream.h: Renamed to ...
15370 * sysdeps/posix/dirstream.h: ... here.
15371 * sysdeps/unix/fdopendir.c: Renamed to ...
15372 * sysdeps/posix/fdopendir.c: ... here.
15373 * sysdeps/unix/opendir.c: Renamed to ...
15374 * sysdeps/posix/opendir.c: ... here.
15375 * sysdeps/unix/readdir.c: Renamed to ...
15376 * sysdeps/posix/readdir.c: ... here.
15377 * sysdeps/unix/readdir_r.c: Renamed to ...
15378 * sysdeps/posix/readdir_r.c: ... here.
15379 * sysdeps/unix/rewinddir.c: Renamed to ...
15380 * sysdeps/posix/rewinddir.c: ... here.
15381 * sysdeps/unix/seekdir.c: Renamed to ...
15382 * sysdeps/posix/seekdir.c: ... here.
15383 * sysdeps/unix/telldir.c: Renamed to ...
15384 * sysdeps/posix/telldir.c: ... here.
15385 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15386 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15387 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15388 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15389
22895b47
RM
15390 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15391 * bits/fcntl.h: ... here.
15392
707a53b6
RM
15393 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15394 not 0.
15395 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15396 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15397 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15398 (struct flock): Move l_start, l_len to the beginning.
15399 Use __pid_t for l_pid.
15400 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15401 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15402 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15403 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15404 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15405 [__USE_LARGEFILE64] (struct flock64): New type.
15406 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15407
f0bd3e25
RM
15408 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15409 * bits/dirent.h: ... here.
15410
d34689de
RM
15411 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15412 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15413
6dad2c06
JM
154142012-08-07 Joseph Myers <joseph@codesourcery.com>
15415
15416 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15417 Change from 2.6.0 to 2.6.16.
15418 * sysdeps/unix/sysv/linux/configure: Regenerated.
15419 * sysdeps/unix/sysv/linux/kernel-features.h
15420 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15421 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15422 version.
15423 (__ASSUME_UTIMES): Likewise.
15424 (__ASSUME_CLONE_STOPPED): Remove.
15425 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15426 architectures, not kernel version.
15427 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15428 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15429 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15430 (__ASSUME_WAITID_SYSCALL): Likewise.
15431 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15432 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15433 * README: State 2.6.16 as minimum Linux kernel version. Do not
15434 refer to older versions.
15435
03af9520
RM
154362012-08-06 Roland McGrath <roland@hack.frob.com>
15437
8e49df1d
RM
15438 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15439 Define alphasort64 as an alias.
15440 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15441 Define versionsort64 as an alias.
15442 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15443 Define scandir64 as an alias.
15444 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15445 Define scandirat64 as an alias.
15446 * dirent/alphasort64.c (alphasort64):
15447 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15448 * dirent/versionsort64.c: Likewise.
15449 * dirent/scandir64.c: Likewise.
15450 * dirent/scandirat64.c: Likewise.
15451 * sysdeps/wordsize-64/alphasort.c: File removed.
15452 * sysdeps/wordsize-64/alphasort64.c: File removed.
15453 * sysdeps/wordsize-64/scandir.c: File removed.
15454 * sysdeps/wordsize-64/scandir64.c: File removed.
15455 * sysdeps/wordsize-64/scandirat.c: File removed.
15456 * sysdeps/wordsize-64/scandirat64.c: File removed.
15457 * sysdeps/wordsize-64/versionsort.c: File removed.
15458 * sysdeps/wordsize-64/versionsort64.c: File removed.
15459 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15460 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15461 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15462 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15463 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15464 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15465 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15466 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15467
15468 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15469 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15470 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15471 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15472 [defined __arch64__ || defined __sparcv9]
15473 (__INO_T_MATCHES_INO64_T): New macro.
15474 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15475 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15476 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15477 * sysdeps/unix/sysv/linux/bits/dirent.h
15478 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15479 (_DIRENT_MATCHES_DIRENT64): New macro.
15480
03af9520
RM
15481 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15482 Define lockf64 as an alias.
15483 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15484 Define fseeko64 as an alias.
15485 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15486 Define ftello64 as an alias.
15487 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15488 Define _IO_fgetpos64 and fgetpos64 as aliases.
15489 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15490 Define _IO_fsetpos64 and fsetpos64 as aliases.
15491 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15492 Conditionalize body on this.
15493 * libio/fseeko64.c: Likewise.
15494 * libio/ftello64.c: Likewise.
15495 * libio/iofgetpos64.c: Likewise.
15496 * libio/iofsetpos64.c: Likewise.
15497 * sysdeps/wordsize-64/lockf.c: File removed.
15498 * sysdeps/wordsize-64/lockf64.c: File removed.
15499 * sysdeps/wordsize-64/fseeko.c: File removed.
15500 * sysdeps/wordsize-64/fseeko64.c: File removed.
15501 * sysdeps/wordsize-64/ftello.c: File removed.
15502 * sysdeps/wordsize-64/ftello64.c: File removed.
15503 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15504 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15505 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15506 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15507 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15508 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15509 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15510 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15511 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15512 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15513 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15514 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15515 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15516 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15517
15518 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15519 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15520 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15521 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15522 [defined __arch64__ || defined __sparcv9]
15523 (__OFF_T_MATCHES_OFF64_T): New macro.
15524 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15525 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15527 (__OFF_T_MATCHES_OFF64_T): New macro.
15528
c5757acd
L
155292012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15530
15531 * stdlib/secure-getenv.c (__secure_getenv): Replace
15532 GLIBC_2_16 with GLIBC_2_17.
15533
3a31811e
L
155342012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15535
15536 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15537 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15538
faa2bccb
DM
155392012-08-03 David S. Miller <davem@davemloft.net>
15540
15541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15542
85fe1997
JM
155432012-08-03 Joseph Myers <joseph@codesourcery.com>
15544
15545 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15546 Remove.
15547 (__ASSUME_CORRECT_SI_PID): Likewise.
15548 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15549 (__ASSUME_TMPFS_NAME): Likewise.
15550 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15551 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15552 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15553 (HAVE_AUX_SECURE): Make definition unconditional.
15554 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15555 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15556
4f75b7a0
RM
155572012-08-03 Roland McGrath <roland@hack.frob.com>
15558
15559 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15560 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15561 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15562 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15563 __eloop_threshold instead of SYMLOOP_MAX.
15564
15565 * sysdeps/generic/eloop-threshold.h: New file.
15566 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15567 of MAXSYMLINKS.
15568 * elf/chroot_canon.c (chroot_canon): Likewise.
15569
7aab07e4
JM
155702012-08-03 Joseph Myers <joseph@codesourcery.com>
15571
15572 [BZ #13717]
15573 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15574 Change to 2.6.0 everywhere.
15575 * sysdeps/unix/sysv/linux/configure: Regenerated.
15576 * sysdeps/unix/sysv/linux/kernel-features.h
15577 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15578 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15579 kernel versions.
15580 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15581 (__ASSUME_FUTEX_REQUEUE): Remove.
15582 (__ASSUME_STATFS64): Define unconditionally.
15583 (__ASSUME_AT_SECURE): Likewise.
15584 (__ASSUME_CORRECT_SI_PID): Likewise.
15585 (__ASSUME_TGKILL): Define without depending on kernel version for
15586 i386.
15587 (__ASSUME_UTIMES): Likewise.
15588 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15589 kernel version.
15590 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15591 (__ASSUME_TMPFS_NAME): Likewise.
15592 * README: Update reference to Linux kernel versions.
15593
b67e9372
MP
155942012-08-02 Marek Polacek <polacek@redhat.com>
15595
1f529f7d 15596 [BZ# 14150]
b67e9372
MP
15597 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15598 libc_cv_asm_type_prefix with %.
15599 * configure: Regenerated.
d2441631
RM
15600 * include/libc-symbols.h: Remove comment about
15601 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15602 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15603 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15604 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15605 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15606 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15607 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15608 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15609 * elf/tst-unique2mod1.c: Likewise.
15610 * elf/tst-unique1mod2.c: Likewise.
15611 * elf/tst-unique1mod1.c: Likewise.
15612 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15613 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15614 Replace ASM_TYPE_DIRECTIVE with .type.
15615 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15616 * sysdeps/i386/sysdep.h: Likewise.
15617 * sysdeps/x86_64/sysdep.h: Likewise.
15618 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15620 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15621 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15622 * sysdeps/powerpc/powerpc32/sysdep.h:
15623 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15624 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15625 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15626 * sysdeps/i386/fpu/e_powf.S: Likewise.
15627 * sysdeps/i386/fpu/e_expl.S: Likewise.
15628 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15629 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15630 * sysdeps/i386/fpu/e_pow.S: Likewise.
15631 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15632 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15633 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15634 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15635 * sysdeps/i386/fpu/e_log2.S: Likewise.
15636 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15637 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15638 * sysdeps/i386/fpu/e_powl.S: Likewise.
15639 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15640 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15641 * sysdeps/i386/fpu/e_logl.S: Likewise.
15642 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15643 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15644 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15645 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15646 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15647 * sysdeps/i386/fpu/e_log.S: Likewise.
15648 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15649 * sysdeps/i386/fpu/e_logf.S: Likewise.
15650 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15651 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15652 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15653 * sysdeps/i386/fpu/e_log10.S: Likewise.
15654 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15655 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15656 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15657 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15658 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15659 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15660 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15661 * sysdeps/i386/i686/strtok.S: Likewise.
15662 * sysdeps/i386/i386-mcount.S: Likewise.
15663 * sysdeps/i386/strtok.S: Likewise.
15664 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15665 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15666 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15667 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15668 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15669 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15670 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15671 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15672 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15673 * sysdeps/x86_64/_mcount.S: Likewise.
15674 * sysdeps/x86_64/strtok.S: Likewise.
15675 * sysdeps/sh/_mcount.S: Likewise.
15676
2747bf9a
RM
156772012-08-01 Roland McGrath <roland@hack.frob.com>
15678
15679 * libio/iofopen.c: Include <fcntl.h>.
15680 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15681 (_IO_fopen64, fopen64): Define as aliases.
15682 * libio/iofopen64.c: Include <fcntl.h>.
15683 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15684 Conditionalize body on this.
15685 * sysdeps/wordsize-64/iofopen.c: File removed.
15686 * sysdeps/wordsize-64/iofopen64.c: File removed.
15687
3fb791b8
MP
156882012-08-01 Marek Polacek <polacek@redhat.com>
15689
15690 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15691 Use dlfcn directly instead of a variable.
15692 (binfmt-subdir): Do not define.
15693 (dlfcn): Likewise.
15694
a9f1039f
JM
156952012-08-01 Joseph Myers <joseph@codesourcery.com>
15696
23bddc06
JM
15697 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15698 Remove all definitions.
15699 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15700 <kernel-features.h>.
15701 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15702 (miss_F_GETOWN_EX): Remove all definitions.
15703 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15704 macro definition.
15705 [!__ASSUME_FCNTL64]: Remove conditional code.
15706 [__ASSUME_FCNTL64]: Make code unconditional.
15707 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15708 <kernel-features.h>.
15709 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15710 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15711 (lockf64) [__NR_fcntl64]: Make code unconditional.
15712 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15713
a9f1039f
JM
15714 * sysdeps/unix/sysv/linux/kernel-features.h
15715 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15716 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15717 Make code unconditional.
15718 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15719 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15721 [__NR_vfork]: Make code unconditional.
15722 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15723 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15725 [__NR_vfork]: Make code unconditional.
15726 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15727 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15728
09c0ee5f
RM
157292012-08-01 Roland McGrath <roland@hack.frob.com>
15730
48aec5b9
RM
15731 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15732 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15733
cd97c966
RM
15734 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15735 Define mkstemp64 as an alias.
3f55550c
RM
15736 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15737 Define mkstemps64 as an alias.
cd97c966
RM
15738 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15739 Define mkostemp64 as an alias.
b8625cfc
RM
15740 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15741 Define mkostemps64 as an alias.
cd97c966
RM
15742 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15743 Conditionalize body on this.
15744 * misc/mkostemp64.c: Likewise.
b8625cfc 15745 * misc/mkostemps64.c: Likewise.
3f55550c 15746 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15747 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15748 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15749 * sysdeps/wordsize-64/mkostemp.c: File removed.
15750 * sysdeps/wordsize-64/mkstemp.c: File removed.
15751 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15752 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15753 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15754 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15755
09c0ee5f
RM
15756 [BZ #14138]
15757 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15758 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15759 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15760 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15761
15762 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15763 compat_symbol macros from <shlib-compat.h> rather than the underlying
15764 default_symbol_version and symbol_version macros, so that DEFAULT
15765 lines in shlib-versions are respected.
15766 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15767
7e66ee51
FW
157682012-08-01 Florian Weimer <fweimer@redhat.com>
15769
15770 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15771 Declare with warn_unused_result.
15772 (setgid, setregid, setegid, setresgid): Likewise.
15773 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15774 Likewise.
15775 * WUR-REPORT: Remove set*id functions.
15776
d2a54255
PT
157772012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15778
15779 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15780
7ecdb005
RM
157812012-07-31 Roland McGrath <roland@hack.frob.com>
15782
b4180a5e 15783 [BZ #10191]
789bd351
RM
15784 * include/sys/socket.h (__libc_accept, __libc_accept4):
15785 Add attribute_hidden.
15786 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15787
40ce302d
RM
15788 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15789 use of PTR_MANGLE.
15790 * inet/getnetgrent_r.c (setup): Likewise.
15791
7ecdb005
RM
15792 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15793
e2eabb2c
DM
157942012-07-31 David S. Miller <davem@davemloft.net>
15795
15796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15797
d0419dbf
JM
157982012-07-31 Joseph Myers <joseph@codesourcery.com>
15799
15800 [BZ #13629]
15801 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15802 value between 1.0 and 2.0 and smaller part has absolute value less
15803 than 1.0.
15804 * math/s_clog10.c (__clog10): Likewise.
15805 * math/s_clog10f.c (__clog10f): Likewise.
15806 * math/s_clog10l.c (__clog10l): Likewise.
15807 * math/s_clogf.c (__clogf): Likewise.
15808 * math/s_clogl.c (__clogl): Likewise.
15809 * math/libm-test.inc (clog_test): Add more tests.
15810 (clog10_test): Likewise.
15811 * sysdeps/i386/fpu/libm-test-ulps: Update.
15812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15813
2bc13872
FW
158142012-07-31 Florian Weimer <fweimer@redhat.com>
15815
15816 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15817 Exit with zero in case no suitable GID is found, and write a
15818 message to standard error.
15819
bea9b193
RM
158202012-07-30 Roland McGrath <roland@hack.frob.com>
15821
15822 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15823 rather than to 1.
15824 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15825 (MAXPATHLEN): Removed.
15826 (NOGROUP, NODEV): New macros.
15827 (setbit, clrbit, isset, isclr): New macros.
15828 (howmany, roundup, powerof2): New macros.
15829 (DEV_BSIZE): New macro.
15830
15831 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15832 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15833
15834 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15835 definition on [!__NO_LONG_DOUBLE_MATH].
15836
15837 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15838 PTR_MANGLE and PTR_DEMANGLE.
15839
15840 * socket/accept4.c (accept4): Rename to __libc_accept4.
15841 Define accept4 as a weak alias.
15842
15843 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15844 on [_DIRENT_HAVE_D_TYPE].
15845 * io/ftw.c (ftw_dir): Likewise.
15846
15847 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15848
15849 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15850
15851 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15852 Use the BSD numbers rather than the arbitrary ones we had.
15853 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15854 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15855 (SIGXCPU, SIGXFSZ): New macros.
15856 (_NSIG): Now 32.
15857
15858 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15859 initializer on [_LIBC_REENTRANT].
15860
15861 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15862 definitions inside [_POSIX_MAPPED_FILES].
15863
15864 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15865
15866 * dirent/opendir.c: Include <fcntl.h>.
15867
15868 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15869 (__libc_getspecific): Likewise.
15870 (__libc_key_create): Likewise.
15871
15872 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15873 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15874 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15875 (tmpfile64): Define as alias.
15876 * sysdeps/wordsize-64/tmpfile.c: File removed.
15877 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15878 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15879 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15880
15881 * stdio-common/vfscanf.c: Include <stdbool.h>.
15882 * nss/makedb.c: Likewise.
15883 * stdio-common/_i18n_number.h: Likewise.
15884 * argp/argp-help.c: Likewise.
15885 * posix/wordexp.c: Likewise.
15886 * sysdeps/posix/spawni.c: Likewise.
15887 * nss/nss_files/files-initgroups.c: Likewise.
15888 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15889 * nss/nss_files/files-initgroups.c: Likewise.
15890 * nss/nss_db/db-netgrp.c: Likewise.
15891 * nss/nss_db/db-initgroups.c: Likewise.
15892 * io/fchmodat.c: Include <sys/stat.h>.
15893
15894 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15895 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15896
15897 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15898 [HAVE_MMAP].
15899
15900 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15901 Add multiple inclusion protection.
15902
e5abc686
DM
159032012-07-27 David S. Miller <davem@davemloft.net>
15904
15905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15906
815e6fa3
GB
159072012-07-27 Gary Benson <gbenson@redhat.com>
15908
15909 [BZ #14298]
15910 * elf/rtld.c: Include <stap-probe.h>.
15911 (dl_main): Added static probes "init_start" and "init_complete".
15912 * elf/dl-load.c: Include <stap-probe.h>.
15913 (lose): Take new parameter "nsid".
15914 Added static probe "map_failed".
15915 (_dl_map_object_from_fd): Pass namespace id to lose.
15916 Added static probe "map_start".
15917 (open_verify): Pass namespace id to lose.
15918 * elf/dl-open.c: Include <stap-probe.h>.
15919 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15920 and "reloc_complete".
15921 * elf/dl-close.c: Include <stap-probe.h>.
15922 (_dl_close_worker): Added static probes "unmap_start" and
15923 "unmap_complete".
15924 * elf/rtld-debugger-interface.txt: New file documenting the above.
15925
9f98c16c
RM
159262012-07-26 Roland McGrath <roland@hack.frob.com>
15927
15928 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15929 rather than a string variable.
15930 * sunrpc/rpc_main.c (h_output): Likewise.
15931 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15932
f3c22df3
PT
159332012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15934
15935 * inet/check_native.c: New file.
15936
3129cfc6
JM
159372012-07-26 Joseph Myers <joseph@codesourcery.com>
15938
da865e95
JM
15939 [BZ #13629]
15940 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15941 if larger part has absolute value 1.0.
15942 * math/s_clog10.c (__clog10): Likewise.
15943 * math/s_clog10f.c (__clog10f): Likewise.
15944 * math/s_clog10l.c (__clog10l): Likewise.
15945 * math/s_clogf.c (__clogf): Likewise.
15946 * math/s_clogl.c (__clogl): Likewise.
15947 * math/libm-test.inc (clog_test): Add more tests.
15948 (clog10_test): Likewise.
15949 * sysdeps/i386/fpu/libm-test-ulps: Update.
15950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15951
3129cfc6
JM
15952 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15953 (pltexit): Likewise.
15954 (La_regs): Likewise.
15955 (La_retval): Likewise.
15956 (int_retval): Likewise.
15957 Update #error for removed macros to refer only to definitions in
15958 tst-audit.h.
15959 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15960 macro.
15961 (pltexit): Likewise.
15962 (La_regs): Likewise.
15963 (La_retval): Likewise.
15964 (int_retval): Likewise.
15965 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15966 macro.
15967 (pltexit): Likewise.
15968 (La_regs): Likewise.
15969 (La_retval): Likewise.
15970 (int_retval): Likewise.
15971 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15972 macro.
15973 (pltexit): Likewise.
15974 (La_regs): Likewise.
15975 (La_retval): Likewise.
15976 (int_retval): Likewise.
15977 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15978 macro.
15979 (pltexit): Likewise.
15980 (La_regs): Likewise.
15981 (La_retval): Likewise.
15982 (int_retval): Likewise.
15983 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15984 macro.
15985 (pltexit): Likewise.
15986 (La_regs): Likewise.
15987 (La_retval): Likewise.
15988 (int_retval): Likewise.
15989 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15990 macro.
15991 (pltexit): Likewise.
15992 (La_regs): Likewise.
15993 (La_retval): Likewise.
15994 (int_retval): Likewise.
15995 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15996 macro definitions in tst-audit.h.
15997 * sysdeps/i386/tst-audit.h: New file.
15998 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15999 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16000 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16001 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16002 * sysdeps/sh/tst-audit.h: Likewise.
16003 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16004 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16005 * sysdeps/x86_64/tst-audit.h: Likewise.
16006
bfc07087
AJ
160072012-07-26 Andreas Jaeger <aj@suse.de>
16008
b1b2aaf8
AJ
16009 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16010 ptrace.
16011
16012 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16013 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16014 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16015 PTRACE_O_MASK.
16016 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16017 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16018 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16019
bfc07087
AJ
16020 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16021 value.
16022
16023 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16024 _sigsys.
16025 (si_call_addr, si_syscall, si_arch): Define new macro.
16026 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16027 _sigsys.
16028 (si_call_addr, si_syscall, si_arch): Define new marcro.
16029 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16030 _sigsys.
16031 (si_call_addr, si_syscall, si_arch): Define new macro.
16032 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16033 _sigsys.
16034 (si_call_addr, si_syscall, si_arch): Define new macro.
16035
89b4b02f
JM
160362012-07-25 Joseph Myers <joseph@codesourcery.com>
16037
16038 [BZ #13717]
16039 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16040 Change to 2.4.21 where previously 2.4.1.
16041 * sysdeps/unix/sysv/linux/configure: Regenerated.
16042 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16043 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16044 Linux kernel version.
16045 (__ASSUME_STD_AUXV): Remove.
16046 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16047 kernel version.
16048 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16049 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16050 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16051 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16052 (__ASSUME_NETLINK_SUPPORT): Likewise.
16053 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16054 (__no_netlink_support): Remove conditional definition.
16055 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16056 Remove.
16057 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16058 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16059 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16060 (if_nameindex_ioctl): Remove.
16061 (if_nameindex_netlink): Do not handle __no_netlink_support.
16062 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16063 code.
16064 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16065 Remove conditional code.
16066 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16067 code.
16068 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16069 unconditional.
16070 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16071 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16072 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16073 Remove.
16074 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16075 [!__ASSUME_STD_AUXV]: Remove conditional code.
16076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16077 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16078 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16080 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16081 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16082 code.
16083 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16085 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16086 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16087 conditional code.
16088 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16090 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16091 code.
16092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16093 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16094 conditional code.
16095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16096 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16097 code unconditional.
16098 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16099 conditional code.
16100 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16101 unconditional.
16102 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16103 conditional code.
16104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16105 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16106 unconditional.
16107 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16108 conditional code.
16109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16110 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16111 code unconditional.
16112 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16113 conditional code.
16114 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16115 unconditional.
16116 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16117 conditional code.
16118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16119 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16120 code unconditional.
16121 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16122 conditional code.
16123 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16124 unconditional.
16125 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16126 conditional code.
16127
842a39cd
AS
161282012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16129
16130 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16131 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16132 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16133 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16134 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16135 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16136 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16137 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16138 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16139 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16140 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16141 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16142 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16143 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16144 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16145 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16146 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16147 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16148 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16150 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16151 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16152 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16153
84b3fd84
FW
161542012-07-25 Florian Weimer <fweimer@redhat.com>
16155
16156 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16157 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16158 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16159 Introduce __libc_secure_getenv.
0c7936d5
FW
16160 * stdlib/Versions (2.17): Add secure_getenv
16161 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16162 * stdlib/secure-getenv.c: Rename __secure_getenv to
16163 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16164 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16165 * stdlib/tst-secure-getenv.c: New.
16166 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16167 * manual/startup.texi (Environment Access): Document
16168 secure_getenv.
84b3fd84
FW
16169 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16170 __libc_secure_getenv.
16171 * inet/ruserpass.c (ruserpass): Likewise.
16172 * malloc/mtrace.c (mtrace): Likewise.
16173 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16174 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16175 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16176 * sysdeps/posix/tempname.c: Likewise. Evaluate
16177 HAVE_SECURE_GETENV.
16178 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16179 __secure_getenv to __libc_secure_getenv.
84b3fd84 16180 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16182 Likewise.
16183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16184 Likewise.
16185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16187 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16192
56e49b71
JM
161932012-07-25 Joseph Myers <joseph@codesourcery.com>
16194
16195 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16196 (struct La_i86_retval): Likewise.
16197 (struct La_x86_64_regs): Likewise.
16198 (struct La_x86_64_retval): Likewise.
16199 (struct La_x32_regs): Likewise.
16200 (struct La_x32_retval): Likewise.
16201 (struct La_ppc32_regs): Likewise.
16202 (struct La_ppc32_retval): Likewise.
16203 (struct La_ppc64_regs): Likewise.
16204 (struct La_ppc64_retval): Likewise.
16205 (struct La_sh_regs): Likewise.
16206 (struct La_sh_retval): Likewise.
16207 (struct La_s390_32_regs): Likewise.
16208 (struct La_s390_32_retval): Likewise.
16209 (struct La_s390_64_regs): Likewise.
16210 (struct La_s390_64_retval): Likewise.
16211 (struct La_sparc32_regs): Likewise.
16212 (struct La_sparc32_retval): Likewise.
16213 (struct La_sparc64_regs): Likewise.
16214 (struct La_sparc64_retval): Likewise.
16215 (struct audit_ifaces): Remove architecture-specific pltenter and
16216 pltexit members.
16217 * sysdeps/i386/ldsodefs.h: New file.
16218 * sysdeps/powerpc/ldsodefs.h: Likewise.
16219 * sysdeps/s390/ldsodefs.h: Likewise.
16220 * sysdeps/sh/ldsodefs.h: Likewise.
16221 * sysdeps/sparc/ldsodefs.h: Likewise.
16222 * sysdeps/x86_64/ldsodefs.h: Likewise.
16223
354691b7
MP
162242012-07-25 Marek Polacek <polacek@redhat.com>
16225
16226 [BZ #6808]
16227 * math/libm-test.inc (yn_test): Add another test.
16228 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16229 to ERANGE when the result is +-Inf.
16230 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16231 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16232 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16233 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16234
bf9e2071
JM
162352012-07-24 Joseph Myers <joseph@codesourcery.com>
16236
16237 * conform/data/time.h-data (NULL): Use macro-constant. Require
16238 equal to 0.
16239 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16240 clock_t.
16241 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16242
57633811
TS
162432012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16244
16245 * configure.in <sysdeps resolving>: Correct printing
16246 Implies_before.
16247 * configure: Regenerate.
16248
c23c33b0
TS
162492012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16250
16251 * math/w_ilogb.c: Include <limits.h>.
16252 * math/w_ilogbl.c: Likewise.
16253
b5982523
JM
162542012-07-20 Joseph Myers <joseph@codesourcery.com>
16255
16256 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16257 va_copy. Document allowing for unavailable va_copy only as
16258 pre-C99 compatibility.
16259 * manual/string.texi (Copying and Concatenation): Use va_copy
16260 instead of __va_copy in concat example.
16261
ac4ea442
PT
162622012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16263
16264 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16265 (__sendto): Use create_address_port. Initialize APORT and deallocate
16266 it if not null.
16267
f98eafbd
PT
16268 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16269 with O_NOLINK passed to __file_name_lookup.
16270
898c7aab
PT
16271 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16272 with O_NOLINK passed to __file_name_lookup.
16273
0ced335a
PT
16274 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16275 negative N or less than NGIDS.
16276
b3404dbd
PT
16277 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16278 type to string_t. Set ERANGE as errno and return it if NAME is not big
16279 enough. Use memcpy instead of strncpy.
16280
0f48659e
JM
162812012-07-20 Joseph Myers <joseph@codesourcery.com>
16282
16283 * elf/Makefile (check-data): Remove.
16284 (localplt.data): New vpath directive.
16285 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16286 instead of $(check-data).
16287 * scripts/data/localplt-generic.data: Move to ...
16288 * sysdeps/generic/localplt.data: ... here.
16289 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16290 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16291 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16293 ... here.
16294 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16296 ... here.
16297 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16299 ... here.
16300 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16302 ... here.
16303 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16305 ... here.
16306 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16308 ... here.
16309
d37cbdaa
AZ
163102012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16311
16312 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16313 PPC32 and PPC64 files.
16314 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16315 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16316
46f85fc2
AK
163172012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16318
16319 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16320 __makecontext_ret to ...
16321 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16322 ... here and call exit if uc_link is NULL. New file.
16323 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16324 __makecontext_ret.S.
16325 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16326 __makecontext_ret to ...
16327 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16328 ... here and call exit if uc_link is NULL. New file.
16329 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16330 __makecontext_ret.S.
16331
08f43f9b
AK
163322012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16333
16334 * elf/elf.h (R_390_IRELATIVE): New definition.
16335 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16336 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16337 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16338 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16339 (elf_machine_lazy_rel): Likewise.
16340 * sysdeps/s390/dl-irel.h: New file.
16341 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16342 * sysdeps/s390/s390-64/memset.S: New asm code.
16343 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16344 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16345 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16346 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16347 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16348 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16349 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16350 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16351 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16352 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16353 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16354 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16355 * sysdeps/s390/s390-32/memset.S: New asm code.
16356 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16357
3b05db33
MP
163582012-07-17 Marek Polacek <polacek@redhat.com>
16359
16360 [BZ #14349]
16361 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16362 * sysdeps/s390/s390-64/configure.in: Likewise.
16363 * sysdeps/sparc/configure.in: Likewise.
16364 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16365 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16366 * sysdeps/i386/configure.in: Likewise.
16367 * sysdeps/x86_64/configure.in: Likewise.
16368 * sysdeps/sh/configure.in: Likewise.
16369 * sysdeps/s390/s390-32/configure: Regenerated.
16370 * sysdeps/s390/s390-64/configure: Likewise.
16371 * sysdeps/x86_64/configure: Likewise.
16372 * sysdeps/sh/configure: Likewise.
16373 * sysdeps/powerpc/powerpc64/configure: Likewise.
16374 * sysdeps/powerpc/powerpc32/configure: Likewise.
16375 * sysdeps/sparc/configure: Likwise.
16376 * sysdeps/i386/configure: Likewise.
16377
a66877c6
MP
16378 * elf/dl-open.c: Comment fixes.
16379
cfc82fd8
JM
163802012-07-17 Joseph Myers <joseph@codesourcery.com>
16381
bd29910a
JM
16382 * Makefile [CXX] (check-data): Remove.
16383 [CXX] (c++-types.data): New vpath directive.
16384 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16385 vpath. Do not allow for C++ type data being missing.
16386 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16387 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16388 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16389 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16390 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16391 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16392 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16394 ... here.
16395 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16397 ... here.
16398 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16400 ... here.
16401 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16403 ... here.
16404 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16406 ... here.
16407 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16409 ... here.
16410 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16412 ... here.
16413 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16415
cfc82fd8
JM
16416 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16417 definitions to architecture-specific files.
16418 (TLS_IE): Likewise.
16419 (TLS_LD): Likewise.
16420 (TLS_GD): Likewise.
16421 * sysdeps/i386/tls-macros.h: New file.
16422 * sysdeps/powerpc/tls-macros.h: Likewise.
16423 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16424 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16425 * sysdeps/sh/tls-macros.h: Likewise.
16426 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16427 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16428 * sysdeps/x86_64/tls-macros.h: Likewise.
16429
f7db3170
TS
164302012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16431
07cbfc23
TS
16432 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16433 zero value for regular exit case.
16434
f7db3170
TS
16435 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16436 (__start_context): Preserve zero value for regular exit case.
16437
dc97c227
TS
164382012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16439 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16440
16441 * manual/setjmp.texi (setcontext): Clarify normal process
16442 termination when uc_link is the null pointer.
16443 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16444 exit call.
16445
d0cd7d02
AS
164462012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16447
16448 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16449 preprocessor. Test for each exception mask separately.
16450
dd318934
AJ
164512012-07-16 Andreas Jaeger <aj@suse.de>
16452
16453 * po/ru.po: Update from translation team.
16454
8048311a
JM
164552012-07-15 Joseph Myers <joseph@codesourcery.com>
16456
16457 * conform/data/string.h-data (NULL): Use macro-constant. Require
16458 equal to 0.
16459 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16460 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16461 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16462 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16463 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16464
b637d46e
AJ
164652012-07-13 Andreas Jaeger <aj@suse.de>
16466
16467 * po/fr.po: Update from translation team.
16468
541428fe
MP
164692012-07-12 Marek Polacek <polacek@redhat.com>
16470
16471 [BZ #14173]
16472 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16473 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16474 loop condition.
16475
ec332e94
JM
164762012-07-12 Joseph Myers <joseph@codesourcery.com>
16477
16478 [BZ #13717]
16479 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16480 Change to 2.4.1 where previously 2.4.0.
16481 * sysdeps/unix/sysv/linux/configure: Regenerated.
16482 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16483 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16484 version.
16485 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16486 (__ASSUME_AT_CLKTCK): Remove.
16487 (__ASSUME_AT_PAGESIZE): Likewise.
16488 (__ASSUME_AT_XID): Likewise.
16489 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16490 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16491 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16492 unconditionally.
16493 (HAVE_AUX_PAGESIZE): Likewise.
16494 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16495 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16496 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16497
7b6e99be
JB
164982012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16499
16500 [BZ #14307]
16501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16502 the temporary buffer used to invoke __gethostbyname2_r,
16503 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16504 host_data / struct gaih_addrtuple.
16505 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16506 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16507 header file nss/nsswitch.h.
16508 * nss/nsswitch.h (global scope): Add definition of implementation
16509 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16510 resolv/nss_dns/dns-host.c).
16511
608404eb
AJ
165122012-07-11 Andreas Jaeger <aj@suse.de>
16513
16514 * po/fr.po: Update from translation team.
16515
71220aca
AJ
16516 * po/sv.po: Update from translation team
16517 * po/fr.po: Another update from translation team.
16518
28cfe843
AZ
165192012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16520
16521 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16522 for subnormals or multiply small sinh result by itself.
16523 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16525
6b90f981
DM
165262012-07-11 David S. Miller <davem@davemloft.net>
16527
16528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16529
c6825772
AS
165302012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16531
16532 [BZ #14347]
16533 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16534 (INTERNAL_MARK): Shift it here.
16535
7b8e0d49
MP
165362012-07-10 Marek Polacek <polacek@redhat.com>
16537
16538 [BZ #14151]
16539 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16540 libc_cv_asm_global_directive with .globl.
16541 * configure: Regenerated.
16542 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16543 with .globl.
16544 * sysdeps/i386/configure: Regenerated.
16545 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16546 with .globl.
16547 * sysdeps/x86_64/configure: Regenerated.
16548 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16549 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16550 * elf/tst-unique2mod2.c: Likewise.
16551 * elf/tst-unique2mod1.c: Likewise.
16552 * elf/tst-unique1mod2.c: Likewise.
16553 * elf/tst-unique1mod1.c: Likewise.
16554 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16555 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16556 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16557 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16558 * sysdeps/mach/sysdep.h: Likewise.
16559 * sysdeps/i386/sysdep.h: Likewise.
16560 * sysdeps/i386/i386-mcount.S: Likewise.
16561 * sysdeps/x86_64/_mcount.S: Likewise.
16562 * sysdeps/x86_64/sysdep.h: Likewise.
16563 * sysdeps/sh/_mcount.S: Likewise.
16564 * sysdeps/sh/sysdep.h: Likewise.
16565 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16566 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16567 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16568 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16569 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16570 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16571 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16572 * locale/localeinfo.h: Likewise.
16573 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16574 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16575
6c55cda3
RM
165762012-07-09 Roland McGrath <roland@hack.frob.com>
16577
16578 [BZ #14336]
16579 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16580 system".
16581 * manual/message.texi (The Uniforum approach): Likewise.
16582 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16583 (glibc iconv Implementation): Likewise.
16584
638a572e
JM
165852012-07-09 Joseph Myers <joseph@codesourcery.com>
16586
16587 [BZ #14337]
16588 * math/s_clog.c (__clog): Avoid scaling a value down where that
16589 could result in underflow.
16590 * math/s_clog10.c (__clog10): Likewise.
16591 * math/s_clog10f.c (__clog10f): Likewise.
16592 * math/s_clog10l.c (__clog10l): Likewise.
16593 * math/s_clogf.c (__clogf): Likewise.
16594 * math/s_clogl.c (__clogl): Likewise.
16595 * math/libm-test.inc (clog_test): Add more tests.
16596 (clog10_test): Likewise.
16597 * sysdeps/i386/fpu/libm-test-ulps: Update.
16598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16599
261f4859
AS
166002012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16601
0abaf3e4
AS
16602 [BZ #14283]
16603 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16604 by 7 not 8 to examine high bit of fractional part.
16605
261f4859
AS
16606 [BZ #14042]
16607 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16608 for call to __mcount_internal.
16609 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16610 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16611 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16612
f17ac40d
JM
166132012-07-06 Joseph Myers <joseph@codesourcery.com>
16614
9ad63c23
JM
16615 [BZ #14154]
16616 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16617 approximation for values within 0x1p-13f of an odd multiple of
16618 pi/4.
16619 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16620 exception. Add more tests.
16621 * sysdeps/i386/fpu/libm-test-ulps: Update.
16622
f17ac40d
JM
16623 [BZ #6778]
16624 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16625 inputs and return -1 for them. Do not check for +Inf in case not
16626 reachable for +Inf.
16627 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16628 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16629 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16630 and return -1 for them. Do not check for +Inf in case not
16631 reachable for +Inf.
16632 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16633 define.
16634 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16635 and return -1 for them. Do not check for +Inf in case not
16636 reachable for +Inf.
16637 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16638 spurious underflow.
16639 * sysdeps/i386/fpu/libm-test-ulps: Update.
16640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16641
fb21f89b
MF
166422012-07-06 Mike Frysinger <vapier@gentoo.org>
16643
16644 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16645
cdfe2c5e
JM
166462012-07-05 Joseph Myers <joseph@codesourcery.com>
16647
16648 [BZ #14157]
16649 [BZ #14331]
16650 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16651 could result in spurious underflow. Scale down values above
16652 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16653 * math/s_csqrtf.c (__csqrtf): Likewise.
16654 * math/s_csqrtl.c (__csqrtl): Likewise.
16655 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16656 spurious underflow.
16657 * sysdeps/i386/fpu/libm-test-ulps: Update.
16658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16659
70d35b67
AS
166602012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16661
704bc459
AS
16662 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16663 xopen-msg.sed.
16664 * catgets/xopen-msg.awk: New file.
16665 * catgets/xopen-msg.sed: Removed.
16666
70d35b67
AS
16667 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16668 po2text.sed.
16669 * intl/po2test.awk: New file.
16670 * intl/po2test.sed: Removed.
16671
ca61cf32
JM
166722012-07-04 Joseph Myers <joseph@codesourcery.com>
16673
16674 [BZ #14328]
16675 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16676 or multiply small sinh result by itself.
16677 * math/s_ctanf.c (__ctanf): Likewise.
16678 * math/s_ctanh.c (__ctanh): Likewise.
16679 * math/s_ctanhf.c (__ctanhf): Likewise.
16680 * math/s_ctanhl.c (__ctanhl): Likewise.
16681 * math/s_ctanl.c (__ctanl): Likewise.
16682 * math/libm-test.inc (ctan_test_tonearest): New function.
16683 (ctan_test_towardzero): Likewise.
16684 (ctan_test_downward): Likewise.
16685 (ctan_test_upward): Likewise.
16686 (ctanh_test_tonearest): Likewise.
16687 (ctanh_test_towardzero): Likewise.
16688 (ctanh_test_downward): Likewise.
16689 (ctanh_test_upward): Likewise.
16690 (main): Call these new functions.
16691 * sysdeps/i386/fpu/libm-test-ulps: Update.
16692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16693
ca48a46a
MF
166942012-07-03 Mike Frysinger <vapier@gentoo.org>
16695
16696 * .gitignore: Delete /ports entry.
16697
9d63d37d
AJ
166982012-07-03 Andreas Jaeger <aj@suse.de>
16699
16700 * po/bg.po: Update from translation team.
16701 * po/cs.po: Likewise.
16702 * po/de.po: Likewise.
16703 * po/hr.po: Likewise.
16704 * po/nl.pl: Likewise.
16705 * po/pl.po: Likewise.
16706 * po/vi.po: Likewise.
16707
370ca3d2
JM
167082012-07-03 Joseph Myers <joseph@codesourcery.com>
16709
95f5a9a8
JM
16710 * Makeconfig [!+link] (+link-before-libc): New variable.
16711 [!+link] (+link-after-libc): Likewise.
16712 [!+link] (+link-tests): Likewise.
16713 [!+link] (+link): Define in terms of $(+link-before-libc) and
16714 $(+link-after-libc).
16715 [!+link-static] (+link-static-before-libc): New variable.
16716 [!+link-static] (+link-static-after-libc): Likewise.
16717 [!+link-static] (+link-static-tests): Likewise.
16718 [!+link-static] (+link-static): Define in terms of
16719 $(+link-static-before-libc) and $(+link-static-after-libc).
16720 [build-shared] (link-libc-before-gnulib): New variable.
16721 [build-shared] (link-libc-tests): Likewise.
16722 [build-shared] (link-libc): Define in terms of
16723 $(link-libc-before-gnulib).
16724 [!build-shared] (link-libc-tests): New variable.
16725 (link-libc-static-tests): New variable.
16726 [!gnulib] (gnulib-arch): New variable.
16727 [!gnulib] (gnulib-tests): Likewise.
16728 [!gnulib] (static-gnulib-arch): Likewise.
16729 [!gnulib] (static-gnulib-tests): Likewise.
16730 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16731 Define with "=" instead of ":=".
16732 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16733 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16734 * Rules (binaries-all-notests): New variable.
16735 (binaries-all-tests): Likewise.
16736 (binaries-static-notests): Likewise.
16737 (binaries-static-tests): Likewise.
16738 (binaries-all): Define using $(binaries-all-notests) and
16739 $(binaries-all-tests).
16740 (binaries-static): Define using $(binaries-static-notests) and
16741 $(binaries-static-tests).
16742 (binaries-shared-tests): New variable.
16743 (binaries-shared-notests): Likewise.
16744 (binaries-shared): Remove variable.
16745 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16746 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16747 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16748 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16749 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16750 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16751 * elf/Makefile (sln-modules): New variable.
16752 (extra-objs): Add $(sln-modules:=.o).
16753 (ldconfig-modules): Add static-stubs.
16754 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16755 * elf/static-stubs.c: New file.
16756
7a845b2c
JM
16757 [BZ #14283]
16758 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16759 by 7 not 8 to examine high bit of fractional part. Use volatile
16760 variables when splitting into final array of floats if
16761 __FLT_EVAL_METHOD__ != 0.
16762 * math/libm-test.inc (cos_test): Add another test.
16763 (sin_test): Likewise.
16764 * sysdeps/i386/fpu/libm-test-ulps: Update.
16765
e2283f38
JM
16766 [BZ #14273]
16767 * math/libm-test.inc (cosh_test): Add more tests.
16768
370ca3d2
JM
16769 * version.h (RELEASE): Set to "development".
16770 (VERSION): Set to "2.16.90".
16771
ee9247c3
CD
167722012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16773
16774 * NEWS: Update copyright. Remove last-updated date.
16775 Mention math library bug fixes and timezone data changes.
16776 * README: Mention GNU/Hurd, x32, and HPPA support status.
16777
4648c381
TS
167782012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16779
16780 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16781
aac78a43
AJ
167822012-06-27 Andreas Jaeger <aj@suse.de>
16783
16784 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16785
ed3dbfad
AJ
167862012-06-25 Andreas Jaeger <aj@suse.de>
16787
16788 * sysdeps/s390/fpu/libm-test-ulps: Update.
16789
4d0ee855
AS
167902012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16791 Thomas Schwinge <thomas@codesourcery.com>
16792
16793 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16794 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16795 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16796 fanotify_mark.
16797
af1bce34
TS
167982012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16799
a9fa33ba
TS
16800 * sysdeps/mach/start.c: Remove file.
16801 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16802 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16803 * sysdeps/sh/init-first.c: Likewise.
16804
58f902b8
TS
16805 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16806 registers for frame unwinding purposes, add CFI directives.
16807 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16808 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16809 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16810 Likewise.
16811
1518f58b
TS
16812 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16813 __fortify_fail returning.
16814 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16815
db9b5059
TS
16816 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16817 sysdeps/sh/____longjmp_chk.S.
16818 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16819 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16820 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16821 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16822
967705fe
TS
16823 * sysdeps/sh/abort-instr.h: New file.
16824 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16825 process in case exit returns.
16826
a9def8c4
TS
16827 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16828 initialize the GOT register before use.
16829
2a649725
TS
16830 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16831 calculation of ARGC > 4.
16832
af1bce34
TS
16833 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16834 meaningful names to some local labels.
16835
d230f50a
KK
168362012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16837 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16838
16839 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16840 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16841 (__arch_compare_and_exchange_val_16_acq): Likewise.
16842 (__arch_compare_and_exchange_val_32_acq): Likewise.
16843 (atomic_exchange_and_add): Fix gUSA sequence.
16844 (atomic_add): Likewise.
16845 (atomic_add_negative): Likewise.
16846 (atomic_add_zero): Likewise.
16847 (atomic_bit_test_set): Likewise.
16848
0479b305
AS
168492012-06-22 Andreas Schwab <schwab@redhat.com>
16850
16851 [BZ #13579]
16852 * include/link.h (struct link_map): Add l_free_initfini.
16853 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16854 l_initfini.
16855 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16856 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16857 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16858 set.
16859
0e3933b9
CD
168602012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16861
16862 * configure.in: Use AC_LANG_SOURCE.
16863 * configure: Regenerate.
16864
4248b1b1
RM
168652012-06-22 Roland McGrath <roland@hack.frob.com>
16866
16867 * configure.in (libc_cv_localstatedir): New substituted variable.
16868 * configure: Regenerated.
16869 * config.make.in (localstatedir): New variable, substituted from
16870 libc_cv_localstatedir.
16871 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16872 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16873 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16874 * sysdeps/gnu/configure: Regenerated.
16875
006dd861
JL
168762012-06-21 Jeff Law <law@redhat.com>
16877
16878 [BZ #14277]
16879 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16880 free. Simplify list management for _LIBC case.
16881
79662d42
JM
168822012-06-21 Joseph Myers <joseph@codesourcery.com>
16883
b7abb4bf
JM
16884 [BZ #14273]
16885 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16886 Clear sign bit of 64-bit integer value before comparing against
16887 overflow value.
16888
79662d42
JM
16889 * sysdeps/mach/configure: Regenerated.
16890
1f150908
L
168912012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16892
16893 [BZ #14278]
16894 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16895
28363bbf
JL
168962012-06-21 Jeff Law <law@redhat.com>
16897
16898 [BZ #13882]
16899 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16900 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16901 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16902 * elf/dl-open.c (dl_open_worker): Likewise.
16903
09615db4
CD
169042012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16905
16906 * scripts/list-sources.sh: Scan PORTS for translations.
16907 * po/libc.pot: Regenerated.
16908
2174c6dd
AJ
169092012-06-21 Andreas Jaeger <aj@suse.de>
16910
16911 [BZ #12194]
16912 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16913 warning.
16914 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16915 * bits/byteswap-16.h (__bswap_16): Likewise.
16916 * bits/byteswap.h (__bswap_constant_16): Likewise.
16917
3ee947b1
L
169182012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16919
16920 [BZ #14117]
a2f34833
L
16921 * sysdeps/i386/fpu_control.h: Removed.
16922 * sysdeps/x86_64/fpu_control.h: Moved to ...
16923 * sysdeps/x86/fpu_control.h: Here.
16924
3ee947b1
L
16925 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16926 (_FPU_SETCW): Likewise.
16927
ed1825f8
L
169282012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16929
25f1282a
L
16930 [BZ #14117]
16931 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16932 * sysdeps/x86/fpu/bits/mathinline.h: This.
16933 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16934
ed1825f8
L
16935 [BZ #14050]
16936 [BZ #14117]
16937 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16938 functions if __x86_64__ is defined.
16939
36d54b74
CLT
169402012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16941
16942 * string/endian.h: Add !__ASSEMBLER__ condition for including
16943 conversion interfaces.
16944
10285c21
JM
169452012-06-15 Joseph Myers <joseph@codesourcery.com>
16946
16947 [BZ #14241]
16948 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16949 of ABS(x) in calculating zero to negative powers other than odd
16950 integers.
16951 * math/libm-test.inc (pow_test): Add more tests.
16952
06c5abbd
AJ
169532012-06-15 Andreas Jaeger <aj@suse.de>
16954
16955 * manual/contrib.texi (Contributors): Update entry of Liubov
16956 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16957 Machado Filho.
16958
a3aeac40
CH
169592012-06-15 Cyril Hrubis <metan@ucw.cz>
16960
16961 * string/string.h: Add __wur to GNU version of strerror_r.
16962
49bdf4c1
L
169632012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16964
16965 [BZ #14229]
16966 * string/Makefile (tests): Add tst-strtok_r.
16967 * string/tst-strtok_r.c: New file.
16968 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16969 RAX_LP/RDX_LP on SAVE_PTR.
16970
834f9b8d
RM
169712012-06-14 Roland McGrath <roland@hack.frob.com>
16972
16973 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16974
75fa1921
JM
169752012-06-14 Joseph Myers <joseph@codesourcery.com>
16976
16977 * libm_test.inc (csqrt_test): Allow more spurious underflow
16978 exceptions.
16979 (j0_test): Likewise.
16980 (j1_test): Likewise.
16981 (y0_test): Likewise.
16982 (y1_test): Likewise.
16983
771766df
CD
169842012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16985
16986 * po/Makefile (libc.pot): Use UTF-8 charset.
16987
ceb9e56b
PP
169882012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16989
16990 [BZ #14210]
16991 Suppress sign-conversion warning from FD_SET.
16992 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16993 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16994 not unsigned long int.
16995 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16996
ddb28975
L
169972012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16998
16999 [BZ #14050]
17000 [BZ #14117]
17001 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17002 __extern_always_inline instead of __extern_inline.
17003 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17004 (__signbit): Likewise.
17005 (__signbitl): Support C++ namespace.
17006 (lrintf): New inline function.
17007 (lrint): Likewise.
17008 (llrintf): Likewise.
17009 (llrint): Likewise.
17010 (fmaxf): Likewise.
17011 (fmax): Likewise.
17012 (fminf): Likewise.
17013 (fmin): Likewise.
17014 (rint): Likewise.
17015 (rintf): Likewise.
17016 (ceil): Likewise.
17017 (ceilf): Likewise.
17018 (floor): Likewise.
17019 (floorf): Likewise.
17020 (nearbyint): Likewise.
17021 (nearbyintf): Likewise.
17022
d7b4fb26
TS
170232012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17024
17025 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17026 non-default versions.
17027
eb55f5c2
RM
170282012-06-11 Roland McGrath <roland@hack.frob.com>
17029
17030 [BZ #14218]
17031 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17032
366af02c
TS
170332012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17034
99ff6e5c
TS
17035 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17036 (FE_UPWARD, FE_DOWNWARD): Don't define.
17037 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17038 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17039
366af02c
TS
17040 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17041 reading it.
17042 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17043 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17044
793ea851
KK
170452012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17046
17047 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17048 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17049 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17050 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17051
a728a38f
L
170522012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17053
17054 [BZ #14117]
c08010c7
L
17055 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17056 * sysdeps/i386/fpu/Implies: New file.
17057 * sysdeps/x86_64/fpu/Implies: Likewise.
17058 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17059 * sysdeps/x86/fpu/bits/fenv.h: This.
17060
a728a38f
L
17061 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17062 __SSE_MATH__.
17063
6e230d11
SP
170642012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17065
17066 [BZ #14134]
17067 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17068 character 0xffff that matches the last element of the
17069 conversion table.
17070
1b671feb
AZ
170712012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17072
17073 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17074 fmodl commit.
17075
6043738b
AZ
170762012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17077
17078 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17079 values higher than 25.6283.
17080
34ae0b32
AZ
170812012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17082
17083 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17084 subnormal exponent extraction and add some __builtin_expect.
17085 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17086 Fix for subnormal mantissa calculation.
17087
1214ec8f
MF
170882012-06-04 Mike Frysinger <vapier@gentoo.org>
17089
17090 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17091 cpu2 is -1 and errno is not ENOSYS.
17092
f3d1f93c
L
170932012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17094
17095 [BZ #14117]
0e4a3cd7
L
17096 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17097 * sysdeps/x86/bits/string.h: This.
17098 * sysdeps/x86_64/bits/string.h: Removed.
17099
6704c645
L
17100 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17101 if not compiling for x86-64, but compiling for >= i486.
17102
48495318
L
17103 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17104 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17105
14adcbfc
L
17106 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17107 New macro from Linux kernel 3.4.0.
17108 (FP_XSTATE_MAGIC2): Likewise.
17109 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17110 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17111 (struct _fpx_sw_bytes): New struct.
17112 (struct _xsave_hdr): Likewise.
17113 (struct _ymmh_state): Likewise.
17114 (struct _xstate): Likewise.
17115
68e408ab
L
17116 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17117 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17118 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17119 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17120 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17121 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17122
f3d1f93c
L
17123 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17124 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17125 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17126 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17127 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17128 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17129
d9dc34cd
TMQMF
171302012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17131
17132 [BZ #13743]
17133 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17134 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17135 (sysdep_headers): Include sys/platform/ppc.h.
17136 * sysdeps/powerpc/test-gettimebase.c: Test for
17137 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17138 * manual/Makefile (appendices): Include platform.texi.
17139 * manual/contrib.texi (Contributors): Update @node pointers.
17140 * manual/maint.texi (Maintenance): Likewise.
17141 (Platform): New node.
17142 * manual/platform.texi: New file. Document the new features.
17143
4af3879c
SP
171442012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17145 Jakub Jelinek <jakub@redhat.com>
17146
17147 [BZ #14188]
17148 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17149 where __builtin_expect is unavailable.
17150
2fd6ff13
DM
171512012-06-03 David S. Miller <davem@davemloft.net>
17152
17153 * stdlib/longlong.h: Updated from GCC.
17154
173f7220
AS
171552012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17156
17157 [BZ #14042]
17158 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17159 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17160 __mcount_internal.
17161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17162 (GLIBC_2.16): Likewise.
17163
f34a1c6f
L
171642012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17165
17166 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17167
88a4576f
JM
171682012-06-01 Joseph Myers <joseph@codesourcery.com>
17169
ea32bcdd
JM
17170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17171 (default-abi): New variable.
17172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17173 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17174 variable.
17175 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17176 Likewise.
17177 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17178 Likewise.
17179 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17180 Likewise.
17181
88a4576f
JM
17182 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17183 definition. Document in comment.
17184
402fe938
DM
171852012-06-01 David S. Miller <davem@davemloft.net>
17186
17187 * stdlib/longlong.h: Updated from GCC.
17188
3553723f
L
171892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17190
17191 [BZ #14117]
3bd872c4
L
17192 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17193 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17194 sys/debugreg.h sys/io.h here.
17195 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17196 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17197 sys/io.h.
17198 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17199 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17200 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17201 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17202 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17203 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17204
3553723f
L
17205 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17206 Define only if __x86_64__ is defined.
17207
4842e4fe
JM
172082012-06-01 Joseph Myers <joseph@codesourcery.com>
17209
c5bfe3d5
JM
17210 [BZ #14048]
17211 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17212 Use int64_t for variable i.
17213 * math/libm-test.inc (fmod_test): Add more tests.
17214
4842e4fe
JM
17215 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17216 z computation is not scheduled after fetestexcept.
17217 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17218 Use math_force_eval instead of asm to ensure calculation scheduled
17219 before exception test.
17220 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17221 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17222
efb73488
AJ
172232012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17224
17225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17226 computation is not scheduled after fetestexcept.
17227
29bcce7c
L
172282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17229
17230 [BZ #14117]
17231 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17232 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17233
73a68f94
AZ
172342012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17235
17236 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17237 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17238
67b6df78
L
172392012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17240
edf2933a 17241 [BZ #14117]
ebc64a18
L
17242 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17243 <bits/wordsize.h>.
17244 (__WCHAR_MIN): Support __WORDSIZE == 64.
17245 (__WCHAR_MAX): Likewise.
17246
edf2933a
L
17247 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17248 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17249
57c6cf40
L
17250 [BZ #14183]
17251 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17252 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17253
67b6df78 17254 [BZ #14117]
8eb6281e
L
17255 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17256 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17257
aac639f4
L
17258 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17259 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17260
67b6df78
L
17261 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17262 Defined to 1 if __x86_64__ isn't defined.
17263 (_STAT_VER_LINUX_OLD): New.
17264 (st_atime): Remove duplicate.
17265 (st_mtime): Likewise.
17266 (st_ctime): Likewise.
17267
1c2cfe81
DM
172682012-05-31 David S. Miller <davem@davemloft.net>
17269
17270 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17271 entries.
17272
5be8418c
AS
172732012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17274
e7725326
AS
17275 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17276 gen-libm-test.pl.
17277
5be8418c
AS
17278 [BZ #14132]
17279 * elf/dl-reloc.c: Include <_itoa.h>.
17280 (_dl_reloc_bad_type): Remove use of INTUSE.
17281 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17282 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17283 * stdio-common/psiginfo.c (psiginfo): Likewise.
17284 * stdio-common/psignal.c (psignal): Likewise.
17285 * string/strsignal.c (strsignal): Likewise.
17286 * include/signal.h (_sys_siglist): Declare hidden proto.
17287 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17288 INTVARDEF with libc_hidden_data_def.
17289 * stdio-common/itoa-udigits.c: Likewise.
17290 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17291 (_itoa_lower_digits_internal): Remove declaration.
17292 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17293 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17294 (_sys_sigabbrev_internal): Remove aliases.
17295 (_sys_siglist): Define hidden alias.
17296
507352f1
MT
172972012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17298
17299 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17300 bits/sysctl.h.
17301
42bbb1c3
L
173022012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17303
17304 [BZ #14117]
6bd784b6
L
17305 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17306 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17307
8bca20f0
L
17308 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17309 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17310 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17311 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17312 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17313 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17314
f9e890a9
L
17315 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17316 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17317 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17318
471101a1
L
17319 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17320 with __addr.
17321 (insw): Likewise.
17322 (insl): Likewise.
17323 (outsb): Likewise.
17324 (outsw): Likewise.
17325 (outsl): Likewise.
17326
6451c862
L
17327 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17328 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17329 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17330
a254b8c9
L
17331 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17332 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17333 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17334 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17335 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17336 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17337
b8dfdd92
L
17338 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17339 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17340
578cd270
L
17341 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17342 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17343
de662f5f
L
17344 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17345 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17346 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17347
25653439
L
17348 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17349 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17350 to ...
17351 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17352
6bad24a0
L
17353 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17354 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17355 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17356
42bbb1c3
L
17357 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17358 for x86-64.
17359 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17360
2d10d547
JM
173612012-05-31 Joseph Myers <joseph@codesourcery.com>
17362
17363 * math/math.h (M_El): Use two more decimal places.
17364 (M_LOG2El): Likewise.
17365 (M_LOG10El): Likewise.
17366 (M_LN2l): Likewise.
17367 (M_LN10l): Likewise.
17368 (M_PIl): Likewise.
17369 (M_PI_2l): Likewise.
17370 (M_PI_4l): Likewise.
17371 (M_1_PIl): Likewise.
17372 (M_2_PIl): Likewise.
17373 (M_2_SQRTPIl): Likewise.
17374 (M_SQRT2l): Likewise.
17375 (M_SQRT1_2l): Likewise.
17376
f230c29b
DM
173772012-05-31 David S. Miller <davem@davemloft.net>
17378
17379 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17380 values between float registers.
17381 * sysdeps/sparc/sparc64/memset.S: Likewise.
17382 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17383
fed806c3
MF
173842012-05-31 Mike Frysinger <vapier@gentoo.org>
17385
17386 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17387 -D_FORTIFY_SOURCE=1.
17388 (CPPFLAGS-tst-longjmp_chk.c): Define.
17389 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17390 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17391 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17392 CFLAGS-tst-wchar-h.c.
17393
30917259
MP
173942012-05-31 Marek Polacek <polacek@redhat.com>
17395
17396 [BZ #14132]
17397 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17398 __endmntent_internal): Remove declaration.
17399 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17400 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17401 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17402
1c58d5dc
DM
174032012-05-30 David S. Miller <davem@davemloft.net>
17404
17405 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17406 (___Q_simulate_exceptions): Use real FP ops rather than writing
17407 into the %fsr.
17408 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17409 Likewise.
17410
7dc00e0d
L
174112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17412
17413 [BZ #14117]
0bd53985
L
17414 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17415 * sysdeps/x86/bits/xtitypes.h: This.
17416
3a257e66
L
17417 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17418 * sysdeps/x86/bits/wordsize.h: This.
17419
62f62904
L
17420 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17421 * sysdeps/x86/bits/huge_vall.h: This.
17422
404fe9d9
L
17423 * sysdeps/i386/bits/select.h: Removed.
17424 * sysdeps/x86_64/bits/select.h: Renamed to ...
17425 * sysdeps/x86/bits/select.h: This.
17426
d48d0446
L
17427 * sysdeps/i386/bits/setjmp.h: Removed.
17428 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17429 * sysdeps/x86/bits/setjmp.h: This.
17430
7dc00e0d
L
17431 * sysdeps/i386/bits/mathdef.h: Removed.
17432 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17433 * sysdeps/x86/bits/mathdef.h: This.
17434
03277f8f
AS
174352012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17436
17437 [BZ #14132]
17438 * include/sys/socket.h (__connect_internal)
17439 (__libc_sa_len_internal): Remove declaration.
17440 (__connect, __libc_sa_len): Declare hidden_proto.
17441 (SA_LEN): Remove use of INTUSE.
17442 * socket/connect.c: Add libc_hidden_def.
17443 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17444 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17445 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17446 alias.
17447 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17448 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17449 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17450 of adding _internal alias.
17451
13764867
L
174522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17453
17454 [BZ #14117]
6bd97696
L
17455 * sysdeps/i386/bits/link.h: Removed.
17456 * sysdeps/i386/bits/linkmap.h: Likewise.
17457 * sysdeps/x86_64/bits/link.h: Renamed to ...
17458 * sysdeps/x86/bits/link.h: This.
17459 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17460 * sysdeps/x86/bits/linkmap.h: This.
17461
f726f0bb
L
17462 * sysdeps/i386/bits/endian.h: Removed.
17463 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17464 * sysdeps/x86/bits/endian.h: This.
17465
13764867
L
17466 * sysdeps/i386/bits/byteswap.h: Removed.
17467 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17468 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17469 * sysdeps/x86/bits/byteswap.h: This.
17470 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17471 * sysdeps/x86/bits/byteswap-16.h: This.
17472 * sysdeps/i386/Implies: Add x86.
17473 * sysdeps/x86_64/Implies: Likewise.
17474
ae251b0b
DM
174752012-05-30 David S. Miller <davem@davemloft.net>
17476
17477 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17478 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17479 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17480 (FP_TRAPPING_EXCEPTIONS): Define.
17481 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17482 (FP_TRAPPING_EXCEPTIONS): Define.
17483 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17484 subnormals only when inexact has been signalled or underflow
17485 exceptions are enabled.
17486 (_FP_PACK_CANONICAL): Likewise.
17487
d5c90867
L
174882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17489
17490 [BZ #14183]
17491 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17492 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17493
63f1549e
RH
174942012-05-30 Richard Henderson <rth@twiddle.net>
17495
8d8f2279
RH
17496 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17497 with #ifndef NOT_IN_libc.
17498
63f1549e
RH
17499 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17500 marked to avoid plt entry.
17501
0ab0291b
L
175022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17503
17504 [BZ #14112]
17505 * Makeconfig (default-abi): New macro.
17506 (abi-includes): Likewise.
17507 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17508 $(abi-$(default-abi)-lib-soname) for soname if defined.
17509 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17510 abi-variants.
17511 * Makefile (installed-stubs): Likewise.
17512 * include/stubs-biarch.h: Removed.
17513 * scripts/lib-names.awk: Only handle one library at a time.
17514 * scripts/soversions.awk: Remove WORDSIZE support.
17515 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17516 entries.
17517 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17518 Removed.
17519 (syscall-list-default-condition): Likewise.
17520 (syscall-list-default-condition): Likewise.
17521 (syscall-list-includes): Likewise.
17522 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17523 syscall-list-* with abi-*. Handle undefined abi-variants.
17524 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17525 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17526 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17527 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17528 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17529 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17530 Removed.
17531 (syscall-list-32-options): Likewise.
17532 (syscall-list-32-condition): Likewise.
17533 (syscall-list-64-options): Likewise.
17534 (syscall-list-64-condition): Likewise.
17535 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17536 macro.
17537 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17538 Renamed to ...
17539 (abi-*): This.
17540 (abi-64-ld-soname): New macro.
17541 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17542 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17543 Renamed to ...
17544 (abi-*): This.
17545 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17546 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17547
4da0431d
JM
175482012-05-30 Joseph Myers <joseph@codesourcery.com>
17549
3a85279c
JM
17550 * sysdeps/unix/sysv/linux/kernel-features.h
17551 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17552 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17553 include <kernel-features.h>.
17554 [!__NR_ftruncate64]: Remove conditional code.
17555 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17556 [__NR_ftruncate64]: Make code unconditional.
17557 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17558 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17559 include <kernel-features.h>.
17560 [!__NR_ftruncate64]: Remove conditional code.
17561 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17562 [__NR_ftruncate64]: Make code unconditional.
17563 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17565 include <kernel-features.h>.
17566 [!__NR_ftruncate64]: Remove conditional code.
17567 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17568 [__NR_ftruncate64]: Make code unconditional.
17569 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17571 include <kernel-features.h>.
17572 [!__NR_ftruncate64]: Remove conditional code.
17573 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17574 [__NR_ftruncate64]: Make code unconditional.
17575 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17576
4da0431d
JM
17577 * configure.in (libc_cv_fpie): Weaken to a compile test using
17578 LIBC_TRY_CC_OPTION.
17579 * configure: Regenerated.
17580
11ef492c
AK
175812012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17582
17583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17587 Refreshed.
17588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17594 Refreshed.
17595
d66ef399
DM
175962012-05-27 David S. Miller <davem@davemloft.net>
17597
17598 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17599 (___Q_zero): New.
17600 (__Q_simulate_exceptions): Return void. Change to simulate
17601 exceptions by writing into the %fsr.
17602 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17603 (__Qp_handle_exceptions): Likewise.
17604 (numbers): Delete.
17605 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17606 __Qp_handle_exceptions.
17607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17608 __Qp_handle_exceptions.
17609 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17610 as unused and give dummy FP_RND_NEAREST initializer.
17611 (FP_INHIBIT_RESULTS): Define.
17612 (___Q_simulate_exceptions): Update declaration.
17613 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17614 formatting.
17615 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17616 as unused and give dummy FP_RND_NEAREST initializer.
17617 (__Qp_handle_exceptions): Update declaration.
17618 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17619 formatting.
17620
04fb54b5
TS
176212012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17622
17623 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17624 the temporary FPU control word.
17625 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17626 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17627 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17628 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17629 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17630 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17631 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17632 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17633 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17634 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17635 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17636
3f99608f
KK
176372012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17638
17639 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17640 fields.
17641
65a4de4e
CLT
176422012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17643
17644 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17645 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17646 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17647 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17648 Likewise.
17649 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17650 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17651 Likewise.
17652
15749d40
UD
176532012-05-27 Ulrich Drepper <drepper@gmail.com>
17654
17655 * po/h.po: Update from translation team.
17656
25dbcb27
AS
176572012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17658
3d3f8e55
AS
17659 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17660
25dbcb27
AS
17661 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17662 handling of denormals.
17663 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17664 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17665 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17666 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17667 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17669 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17670 Likewise.
17671
7ad47a80 176722012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17673
17674 [BZ #14152]
17675 * math/libm-test.inc (fma_test): Don't always expect underflow
17676 exception.
17677
9c6ea9fa
SP
176782012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17679
17680 [BZ #12416]
17681 * elf/tst-execstack.c: Include stackinfo.h.
17682 (do_test): Adjust test case to ensure that pthread_getattr_np
17683 behaviour remains the same after marking stack executable.
17684
a8239222
JM
176852012-05-25 Joseph Myers <joseph@codesourcery.com>
17686
17687 * sysdeps/unix/sysv/linux/kernel-features.h
17688 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17689 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17690 kernel-features.h.
17691 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17692 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17693 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17694 kernel-features.h.
17695 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17696 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17697
918b5606
L
176982012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17699
17700 * configure.in: Define the default includes to being none.
17701 * configure: Regenerated.
17702
3a097cc7
RM
177032012-05-25 Roland McGrath <roland@hack.frob.com>
17704
8422c9a5
RM
17705 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17706 * sysdeps/x86_64/setjmp.S: Likewise.
17707 * sysdeps/i386/bsd-setjmp.S: Likewise.
17708 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17709 * sysdeps/i386/setjmp.S: Likewise.
17710 * sysdeps/i386/__longjmp.S: Likewise.
17711 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17712 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17713
3a097cc7
RM
17714 * include/stap-probe.h: New file.
17715 * configure.in: Handle --enable-systemtap.
17716 * configure: Regenerated.
17717 * config.h.in (USE_STAP_PROBE): New #undef.
17718 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17719 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17720 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17721
21708942
JM
177222012-05-25 Joseph Myers <joseph@codesourcery.com>
17723
17724 [BZ #13717]
17725 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17726 to 2.4.0 where earlier.
17727 * sysdeps/unix/sysv/linux/configure: Regenerated.
17728 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17729 <kernel-features.h>.
17730 [__ASSUME_32BITUIDS]: Make code unconditional.
17731 [!__ASSUME_32BITUIDS]: Remove conditional code.
17732 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17733 <kernel-features.h>.
17734 [__ASSUME_32BITUIDS]: Make code unconditional.
17735 [!__ASSUME_32BITUIDS]: Remove conditional code.
17736 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17737 [__ASSUME_32BITUIDS]: Make code unconditional.
17738 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17739 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17740 <kernel-features.h>.
17741 [__ASSUME_32BITUIDS]: Make code unconditional.
17742 [!__ASSUME_32BITUIDS]: Remove conditional code.
17743 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17744 <kernel-features.h>.
17745 [__ASSUME_32BITUIDS]: Make code unconditional.
17746 [!__ASSUME_32BITUIDS]: Remove conditional code.
17747 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17748 <kernel-features.h>.
17749 [__ASSUME_32BITUIDS]: Make code unconditional.
17750 [!__ASSUME_32BITUIDS]: Remove conditional code.
17751 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17752 <kernel-features.h>.
17753 [__ASSUME_32BITUIDS]: Make code unconditional.
17754 [!__ASSUME_32BITUIDS]: Remove conditional code.
17755 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17756 <kernel-features.h>.
17757 [__ASSUME_32BITUIDS]: Make code unconditional.
17758 [!__ASSUME_32BITUIDS]: Remove conditional code.
17759 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17760 <kernel-features.h>.
17761 [__ASSUME_32BITUIDS]: Make code unconditional.
17762 [!__ASSUME_32BITUIDS]: Remove conditional code.
17763 * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.c: Do not include
17772 <kernel-features.h>.
17773 [__ASSUME_32BITUIDS]: Make code unconditional.
17774 [!__ASSUME_32BITUIDS]: Remove conditional code.
17775 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17776 <kernel-features.h>.
17777 [__ASSUME_32BITUIDS]: Make code unconditional.
17778 [!__ASSUME_32BITUIDS]: Remove conditional code.
17779 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17780 <kernel-features.h>.
17781 [__NR_setresgid] (__setresgid): Do not declare.
17782 [__ASSUME_32BITUIDS]: Make code unconditional.
17783 [!__ASSUME_32BITUIDS]: Remove conditional code.
17784 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17785 <kernel-features.h>.
17786 [__NR_setresuid] (__setresuid): Do not declare.
17787 [__ASSUME_32BITUIDS]: Make code unconditional.
17788 [!__ASSUME_32BITUIDS]: Remove conditional code.
17789 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17790 <kernel-features.h>.
17791 [__ASSUME_32BITUIDS]: Make code unconditional.
17792 [!__ASSUME_32BITUIDS]: Remove conditional code.
17793 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17794 <kernel-features.h>.
17795 [__ASSUME_32BITUIDS]: Make code unconditional.
17796 [!__ASSUME_32BITUIDS]: Remove conditional code.
17797 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17798 <kernel-features.h>.
17799 [__ASSUME_32BITUIDS]: Make code unconditional.
17800 [!__ASSUME_32BITUIDS]: Remove conditional code.
17801 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17802 <kernel-features.h>.
17803 [__ASSUME_32BITUIDS]: Make code unconditional.
17804 [!__ASSUME_32BITUIDS]: Remove conditional code.
17805 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17806 <kernel-features.h>.
17807 [__ASSUME_32BITUIDS]: Make code unconditional.
17808 [!__ASSUME_32BITUIDS]: Remove conditional code.
17809 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17810 <kernel-features.h>.
17811 [__ASSUME_32BITUIDS]: Make code unconditional.
17812 [!__ASSUME_32BITUIDS]: Remove conditional code.
17813 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17814 <kernel-features.h>.
17815 [__ASSUME_32BITUIDS]: Make code unconditional.
17816 [!__ASSUME_32BITUIDS]: Remove conditional code.
17817 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17818 <kernel-features.h>.
17819 [__ASSUME_32BITUIDS]: Make code unconditional.
17820 [!__ASSUME_32BITUIDS]: Remove conditional code.
17821 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17822 <kernel-features.h>.
17823 [__ASSUME_32BITUIDS]: Make code unconditional.
17824 [!__ASSUME_32BITUIDS]: Remove conditional code.
17825 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17826 <kernel-features.h>.
17827 [__ASSUME_32BITUIDS]: Make code unconditional.
17828 [!__ASSUME_32BITUIDS]: Remove conditional code.
17829 * sysdeps/unix/sysv/linux/kernel-features.h
17830 (__ASSUME_SETRESUID_SYSCALL): Remove.
17831 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17832 (__ASSUME_32BITUIDS): Likewise.
17833 (__ASSUME_LDT_WORKS): Likewise.
17834 (__ASSUME_O_DIRECTORY): Likewise.
17835 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17836 architecture but not kernel version.
17837 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17838 (__ASSUME_MMAP2_SYSCALL): Likewise.
17839 (__ASSUME_STAT64_SYSCALL): Likewise.
17840 (__ASSUME_IPC64): Likewise.
17841 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17842 <kernel-features.h>.
17843 [__ASSUME_32BITUIDS]: Make code unconditional.
17844 [!__ASSUME_32BITUIDS]: Remove conditional code.
17845 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17846 <kernel-features.h>.
17847 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17848 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17849 132096]: Remove conditional code.
17850 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17851 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17852 <kernel-features.h>.
17853 [__ASSUME_32BITUIDS]: Make code unconditional.
17854 [!__ASSUME_32BITUIDS]: Remove conditional code.
17855 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17856 <kernel-features.h>.
17857 [__ASSUME_32BITUIDS]: Make code unconditional.
17858 [!__ASSUME_32BITUIDS]: Remove conditional code.
17859 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17860 <kernel-features.h>.
17861 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17862 unconditional.
17863 (__setresgid): Do not declare.
17864 [__ASSUME_32BITUIDS]: Make code unconditional.
17865 [!__ASSUME_32BITUIDS]: Remove conditional code.
17866 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17867 <kernel-features.h>.
17868 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17869 unconditional.
17870 (__setresuid): Do not declare.
17871 [__ASSUME_32BITUIDS]: Make code unconditional.
17872 [!__ASSUME_32BITUIDS]: Remove conditional code.
17873 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17874 <kernel-features.h>.
17875 [__ASSUME_32BITUIDS]: Make code unconditional.
17876 [!__ASSUME_32BITUIDS]: Remove conditional code.
17877 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17878 <kernel-features.h>.
17879 [__ASSUME_32BITUIDS]: Make code unconditional.
17880 [!__ASSUME_32BITUIDS]: Remove conditional code.
17881
a386f1cc
RH
178822012-05-25 Richard Henderson <rth@twiddle.net>
17883
17884 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17885 dl_hwcap to ifunc resolver.
17886 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17887 elf_ifunc_invoke.
17888 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17889 dl_hwcap to ifunc resolver.
17890 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17891
b6550497
JM
178922012-05-24 Joseph Myers <joseph@codesourcery.com>
17893
17894 [BZ #14153]
17895 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17896 for |x| <= 2**-26, not 2**-57.
17897 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17898 exception.
17899
b0bc23a1
JL
179002012-05-24 Jeff Law <law@redhat.com>
17901
17902 * stdio-common/Makefile (tests): Add bug25.
17903 * stdio-common/bug25.c: New test.
17904
347c92e9
L
179052012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17906
17907 [BZ #13576]
17908 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17909 multiple of MALLOC_ALIGNMENT in size.
17910 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17911
6bcc8b3f
JM
179122012-05-24 Joseph Myers <joseph@codesourcery.com>
17913
17914 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17915 Require >= 256.
17916 (FILENAME_MAX): Use macro-int-constant.
17917 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17918 (_IOFBF): Use macro-int-constant.
17919 (_IOLBF): Likewise.
17920 (_IONBF): Likewise.
17921 (SEEK_CUR): Likewise.
17922 (SEEK_END): Likewise.
17923 (SEEK_SET): Likewise.
17924 (TMP_MAX): Likewise.
17925 (EOF): Use macro-int-constant. Require < 0.
17926 (NULL): Use macro-constant. Require == 0.
17927 (stdin): Require type to be FILE *.
17928 (stdout): Likewise.
17929 (stderr): Likewise.
17930 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17931 macro-int-constant.
17932 (EXIT_SUCCESS): Likewise.
17933 (NULL): Use macro-constant. Require == 0.
17934 (RAND_MAX): Use macro-int-constant.
17935 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17936 [C99-based standards] (strtof): Require function.
17937 [C99-based standards] (strtold): Likewise.
17938 [C99-based standards] (strtoll): Likewise.
17939 [C99-based standards] (strtoull): Likewise.
17940 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17941 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17942 [ISO || ISO99 || ISO11] (math.h): Likewise.
17943 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17944 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17945 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17946
d18ea0c5
AS
179472012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17948
17949 [BZ #14132]
56d25bb8
AS
17950 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17951 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17952 * intl/dgettext.c (DCGETTEXT): Likewise.
17953 * intl/gettext.c (DCGETTEXT): Likewise.
17954 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17955 * posix/regex_internal.h (gettext): Likewise.
17956 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17957 Remove declaration.
17958 * include/argz.h (__argz_count_internal)
17959 (__argz_stringify_internal): Remove declaration.
17960 (__argz_count, __argz_stringify): Declare hidden proto.
17961 * intl/dcgettext.c: Remove use of INTDEF.
17962 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17963 * string/argz-stringify.c: Likewise.
17964 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17965 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17966 Declare hidden proto.
d18ea0c5
AS
17967 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17968 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17969 Declare hidden proto.
17970 * include/stdio.h (__asprintf_internal): Don't declare.
17971 (__asprintf): Don't define as macro. Declare hidden proto.
17972 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17973 (__fsetlocking): Declare hidden proto.
17974 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17975 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17976 hidden proto.
17977 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17978 (_IO_setlinebuf): Remove use of INTUSE.
17979 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17980 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17981 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17982 Remove declaration.
17983 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17984 (_IO_do_flush): Remove use of INTUSE.
17985 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17986 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17987 (_IO_adjust_column, _IO_least_wmarker)
17988 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17989 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17990 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17991 (_IO_default_doallocate, _IO_wdefault_doallocate)
17992 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17993 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17994 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17995 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17996 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17997 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17998 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17999 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18000 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18001 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18002 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18003 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18004 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18005 proto.
18006 (_IO_flush_all_internal, _IO_adjust_column_internal)
18007 (_IO_default_uflow_internal, _IO_default_finish_internal)
18008 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18009 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18010 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18011 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18012 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18013 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18014 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18015 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18016 (_IO_file_close_internal, _IO_file_close_it_internal)
18017 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18018 (_IO_file_init_internal, _IO_file_attach_internal)
18019 (_IO_file_fopen_internal, _IO_file_read_internal)
18020 (_IO_file_sync_internal, _IO_file_seek_internal)
18021 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18022 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18023 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18024 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18025 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18026 (_IO_list_all_internal, _IO_link_in_internal)
18027 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18028 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18029 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18030 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18031 (_IO_do_write_internal, _IO_padn_internal)
18032 (_IO_getline_info_internal, _IO_getline_internal)
18033 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18034 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18035 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18036 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18037 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18038 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18039 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18040 with libc_hidden_ver, remove use of INTUSE.
18041 * libio/genops.c: Likewise.
18042 * libio/freopen.c: Likewise.
18043 * libio/freopen64.c: Likewise.
18044 * libio/iofclose.c: Likewise.
18045 * libio/iofdopen.c: Likewise.
18046 * libio/iofflush.c: Likewise.
18047 * libio/iofflush_u.c: Likewise.
18048 * libio/iofgets.c: Likewise.
18049 * libio/iofgets_u.c: Likewise.
18050 * libio/iofopen.c: Likewise.
18051 * libio/iofopncook.c: Likewise.
18052 * libio/iofread.c: Likewise.
18053 * libio/iofread_u.c: Likewise.
18054 * libio/ioftell.c: Likewise.
18055 * libio/iofwrite.c: Likewise.
18056 * libio/iogetline.c: Likewise.
18057 * libio/iogets.c: Likewise.
18058 * libio/iogetwline.c: Likewise.
18059 * libio/iopadn.c: Likewise.
18060 * libio/iopopen.c: Likewise.
18061 * libio/ioseekoff.c: Likewise.
18062 * libio/ioseekpos.c: Likewise.
18063 * libio/iosetbuffer.c: Likewise.
18064 * libio/iosetvbuf.c: Likewise.
18065 * libio/ioungetc.c: Likewise.
18066 * libio/ioungetwc.c: Likewise.
18067 * libio/iovdprintf.c: Likewise.
18068 * libio/iovsprintf.c: Likewise.
18069 * libio/iovsscanf.c: Likewise.
18070 * libio/memstream.c: Likewise.
18071 * libio/obprintf.c: Likewise.
18072 * libio/oldfileops.c: Likewise.
18073 * libio/oldiofclose.c: Likewise.
18074 * libio/oldiofdopen.c: Likewise.
18075 * libio/oldiofopen.c: Likewise.
18076 * libio/oldiopopen.c: Likewise.
18077 * libio/oldstdfiles.c: Likewise.
18078 * libio/putc.c: Likewise.
18079 * libio/setbuf.c: Likewise.
18080 * libio/setlinebuf.c: Likewise.
18081 * libio/stdfiles.c: Likewise.
18082 * libio/strops.c: Likewise.
18083 * libio/vasprintf.c: Likewise.
18084 * libio/vscanf.c: Likewise.
18085 * libio/vsnprintf.c: Likewise.
18086 * libio/vswprintf.c: Likewise.
18087 * libio/wfiledoalloc.c: Likewise.
18088 * libio/wfileops.c: Likewise.
18089 * libio/wgenops.c: Likewise.
18090 * libio/wmemstream.c: Likewise.
18091 * libio/wstrops.c: Likewise.
18092 * libio/__fpurge.c: Likewise.
18093 * libio/__fsetlocking.c: Likewise.
18094 * assert/assert.c: Likewise.
18095 * debug/fgets_chk.c: Likewise.
18096 * debug/fgets_u_chk.c: Likewise.
18097 * debug/fread_chk.c: Likewise.
18098 * debug/fread_u_chk.c: Likewise.
18099 * debug/gets_chk.c: Likewise.
18100 * debug/obprintf_chk.c: Likewise.
18101 * debug/vasprintf_chk.c: Likewise.
18102 * debug/vdprintf_chk.c: Likewise.
18103 * debug/vsnprintf_chk.c: Likewise.
18104 * debug/vsprintf_chk.c: Likewise.
18105 * malloc/mtrace.c: Likewise.
18106 * misc/error.c: Likewise.
18107 * misc/syslog.c: Likewise.
18108 * stdio-common/asprintf.c: Likewise.
18109 * stdio-common/fxprintf.c: Likewise.
18110 * stdio-common/getw.c: Likewise.
18111 * stdio-common/isoc99_fscanf.c: Likewise.
18112 * stdio-common/isoc99_scanf.c: Likewise.
18113 * stdio-common/isoc99_vfscanf.c: Likewise.
18114 * stdio-common/isoc99_vscanf.c: Likewise.
18115 * stdio-common/isoc99_vsscanf.c: Likewise.
18116 * stdio-common/printf-prs.c: Likewise.
18117 * stdio-common/printf_fp.c: Likewise.
18118 * stdio-common/printf_fphex.c: Likewise.
18119 * stdio-common/printf_size.c: Likewise.
18120 * stdio-common/putw.c: Likewise.
18121 * stdio-common/scanf.c: Likewise.
18122 * stdio-common/sprintf.c: Likewise.
18123 * stdio-common/tmpfile.c: Likewise.
18124 * stdio-common/vfprintf.c: Likewise.
18125 * stdio-common/vfscanf.c: Likewise.
18126 * stdlib/strfmon_l.c: Likewise.
18127 * sunrpc/openchild.c: Likewise.
18128 * sunrpc/xdr_stdio.c: Likewise.
18129 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18130 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18131
d6c33fda
RM
181322012-05-24 Roland McGrath <roland@hack.frob.com>
18133
c1487492
RM
18134 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18135
18136 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18137 in the third column, to generate for the shared library an IFUNC
18138 that uses _dl_vdso_vsym.
18139 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18140 * Makeconfig (object-suffixes-noshared): New variable.
18141
18142 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18143 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18144 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18145 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18146
d6c33fda
RM
18147 [BZ #14132]
18148 * include/sys/time.h (__gettimeofday): Remove macro.
18149 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18150 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18151 Remove INTDEF.
18152 (__gettimeofday): Add libc_hidden_def.
18153 (gettimeofday): Add libc_hidden_weak.
18154 * sysdeps/mach/gettimeofday.c: Likewise.
18155 * sysdeps/posix/gettimeofday.c: Likewise.
18156 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18157 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18158 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18159 (__gettimeofday_internal): Remove strong_alias.
18160 (__gettimeofday): Add libc_hidden_def.
18161 (gettimeofday): Add libc_hidden_weak.
18162 * sysdeps/unix/syscalls.list (gettimeofday):
18163 Remove __gettimeofday_internal alias.
18164
b5a2bbe6
L
181652012-05-24 Daniel Jacobowitz <drow@false.org>
18166 H.J. Lu <hongjiu.lu@intel.com>
18167
18168 [BZ #12495]
18169 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18170 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18171 (largebin_index_32_big): New.
18172 (largebin_index): Use it for 16-byte alignment.
18173 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18174 correction with front_misalign.
18175
cfba4fda
L
181762012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18177
7f907421
L
18178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18180 Likewise.
18181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18182 Likewise.
18183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18184 Likewise.
18185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18186 Likewise.
18187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18188 Likewise.
18189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18190 Likewise.
18191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18192 Likewise.
18193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18194 Likewise.
18195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18196 Likewise.
18197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18198 Likewise.
18199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18200 Likewise.
18201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18202 Likewise.
18203
cfba4fda
L
18204 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18205 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18206
80bad0cc
JM
182072012-05-24 Joseph Myers <joseph@codesourcery.com>
18208
7a25eb06
JM
18209 [BZ #10846]
18210 [BZ #14036]
18211 * math/libm-test.inc (exp_test): Add test from bug 14036.
18212 (pow_test): Add test from bug 10846.
18213
795405f9
JM
18214 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18215 and other flags.
18216 (special_function): Do not include flags in test name.
18217 (parse_args): Likewise.
18218 * sysdeps/i386/fpu/libm-test-ulps: Update.
18219 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18220 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18221 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18223
80bad0cc
JM
18224 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18225 exceptions.
18226 * math/libm-test.inc ("Philosophy"): Update comment about
18227 exception testing.
18228 (UNDERFLOW_EXCEPTION): New macro.
18229 (UNDERFLOW_EXCEPTION_OK): Likewise.
18230 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18231 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18232 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18233 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18234 (INVALID_EXCEPTION_OK): Update value.
18235 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18236 (OVERFLOW_EXCEPTION_OK): Likewise.
18237 (IGNORE_ZERO_INF_SIGN): Likewise.
18238 (test_exceptions): Handle underflow exceptions.
18239 (acos_test): Update for underflow exception expectations.
18240 (cexp_test): Likewise.
18241 (clog_test): Likewise.
18242 (clog10_test): Likewise.
18243 (csqrt_test): Likewise.
18244 (ctan_test): Likewise.
18245 (ctanh_test): Likewise.
18246 (exp_test): Likewise.
18247 (exp10_test): Likewise.
18248 (exp2_test): Likewise.
18249 (expm1_test): Likewise.
18250 (fma_test): Likewise.
18251 (j0_test): Likewise.
18252 (jn_test): Likewise.
18253 (nexttoward_test): Likewise.
18254 (pow_test): Likewise.
18255 (scalbn_test): Likewise.
18256 (scalbln_test): Likewise.
18257 (tan_test): Likewise.
18258 (y1_test): Likewise.
18259 * sysdeps/i386/fpu/libm-test-ulps: Update.
18260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18261
9e0e3d0b
DM
182622012-05-23 David S. Miller <davem@davemloft.net>
18263
18264 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18265 (__libc_sigaction): Remove unused local variables.
18266
ccd0a08f
L
182672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18268
18269 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18270
62bdf9a6
PE
182712012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18272
f8591f80
PE
18273 mktime: avoid signed integer overflow
18274 * time/mktime.c (__mktime_internal): Do not mishandle the case
18275 where diff == INT_MIN.
18276
94c7d826
PE
18277 mktime: simplify computation of average
18278 * time/mktime.c (ranged_convert): Use new time_t_avg function
18279 instead of rolling our own (probably-slower) code.
18280
ce73d683
PE
18281 mktime: do not assume signed right shift propagates sign bit
18282 * time/mktime.c (isdst_differ): New static function.
18283 (__mktime_internal): No need to normalize tm_isdst now.
18284 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18285 tm_isdst values.
18286
72a22e59
PE
18287 mktime: merge another wrapv change from gnulib
18288 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18289 from some compilers.
18290
68605433
PE
18291 mktime: remove incorrect attempt at unusual arithmetics
18292 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18293 The code didn't really work on such machines anyway.
18294 (TYPE_MINIMUM): Assume two's complement.
18295 (twos_complement_arithmetic): Verify that long_int and time_t
18296 are two's complement (or unsigned, in the latter case).
18297
03cf7fe3
PE
18298 mktime: check signed shifts on long_int and time_t, too
18299 * time/mktime.c (SHR): Check that shifts work as desired
18300 on the types long_int and time_t too, as SHR is used on
18301 such types.
18302
f04dfbc2
PE
18303 mktime: do not assume 'long' is wide enough
18304 * time/mktime.c (verify): Move decl up.
18305 (long_int): New type.
18306 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18307 to remove assumption in the code that 'long' is wide enough to
18308 store year values. This assumption is not true on x32 and on
18309 some non-glibc platforms.
18310
62bdf9a6
PE
18311 mktime: merge wrapv change from gnulib
18312 * time/mktime.c (WRAPV): New macro.
18313 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18314 (guess_time_tm, __mktime_internal): Do not assume that signed
18315 integer overflow wraps around; modern compilers generate code
18316 where this assumption is no longer valid.
18317
5e292e4f
L
183182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18319
18320 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18321 Replace "jmp L(pseudo_end)" with "ret".
18322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18323 Likewise.
18324
8caf8c87
AJ
183252012-05-23 Andreas Jaeger <aj@suse.de>
18326
18327 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18328 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18329
1a09dc56
AJ
183302012-05-23 Andreas Jaeger <aj@suse.de>
18331 Maximilian Attems <max@stro.at>
18332
18333 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18334 New macros.
18335
1c87aba0
L
183362012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18337
18338 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18339 code so that pseudo_end is just ret and the stack pointer is
18340 correct also for static library in error case.
18341
40e45bd5
JM
183422012-05-23 Joseph Myers <joseph@codesourcery.com>
18343
c2670533
JM
18344 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18345 move to syscalls.list.
18346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18350
40e45bd5
JM
18351 * manual/install.texi (Running make install): Do not mention Linux
18352 kernel version for which pt_chown is not needed.
18353 (Linux): Do not mention problems with nscd with 2.0 kernels.
18354 * INSTALL: Regenerated.
18355
be08eda5
AJ
183562012-05-23 Andreas Jaeger <aj@suse.de>
18357
18358 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18359 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18360 macro.
18361 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18362 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18363 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18364 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18365 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18366 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18367 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18368 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18369 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18370 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18371 * sysdeps/unix/sysv/linux/bits/in.h
18372 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18373
a6a056bb
RM
183742012-05-22 Roland McGrath <roland@hack.frob.com>
18375
18376 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18377 (PREPARE_VERSION): Just use assert instead, it will be elided
18378 under [NDEBUG] anyway.
18379
c9009328
L
183802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18381
18382 * sysdeps/unix/sysv/linux/Makefile: Include
18383 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18384 (sysdep_routines): Remove sysctl.
c9009328
L
18385 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18386 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18387 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18388 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18389 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18390
73338355
AJ
183912012-05-22 Andreas Jaeger <aj@suse.de>
18392
18393 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18394 that pseudo_end is just ret and the stack pointer is correct also
18395 for static library in error case.
18396
d44638b0
PP
183972012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18398
18399 [BZ #14122]
18400 * nss/nsswitch.c (defconfig_entries): New variable.
18401 (__nss_database_lookup): Don't leak defconfig entries.
18402 (nss_parse_service_list): Don't leak on error paths.
18403 (free_database_entries): New function.
18404 (free_defconfig): New function.
18405 (free_mem): Move common code to free_database_entries.
18406
31a39bd8
L
184072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18408
da0331a8
L
18409 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18410 Add arch_prctl.
18411 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18412
31a39bd8
L
18413 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18414 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18415 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18416 New macro.
18417 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18418 (INTERNAL_SYSCALL_TYPES): Likewise.
18419 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18420 (LOAD_REGS_TYPES_[1-6]): Likewise.
18421 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18422 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18423
45470df3
AZ
184242012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18425
18426 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18427 copysignl for GLIBC_2_0.
18428 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18429 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18430 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18431 logbl for GLIBC_2_0.
18432 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18433 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18434
98a61bcb
L
184352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18436
a4f6e481
L
18437 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18438 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18439
f63d5db6
L
18440 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18441 Use "neg %eax".
18442
98a61bcb
L
18443 * time/mktime.c: Update copyright years.
18444
95770f14
PE
184452012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18446
6226efbd
PE
18447 mktime: merge comment-quoting-style change from gnulib
18448 * time/mktime.c: Quote 'like this' in comments.
18449 The GNU coding standards suggest that we no longer quote `like this',
18450 as "`" and "'" are typically rendered asymmetrically nowadays.
18451 The typical gnulib style is to quote 'like this' when quoting
18452 code, and "like this" when quoting English.
18453
b99e4f78
PE
18454 * time/mktime.c (compile-command): Add "-I.".
18455
643e01e6
PE
18456 mktime: merge mktime-internal.h change from gnulib
18457 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18458
2554247d
PE
18459 mktime: merge time_r change from gnulib
18460 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18461
826dd0ab
PE
18462 mktime: merge DEBUG change from gnulib
18463 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18464 case system <time.h> has a #define.
18465
bd83aabe
PE
18466 mktime: merge <sys/types.h> change from gnulib
18467 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18468 since <time.t> is now guaranteed to define time_t.
18469
95770f14
PE
18470 mktime: merge HAVE_CONFIG_H change from gnulib
18471 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18472
5e1a27a9
L
184732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18474
0e44a77e
L
18475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18476 Use "neg %eax".
18477
5e1a27a9
L
18478 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18479 __rlim_t cast.
18480 (struct rusage): Use anonymous union to pad each field to
18481 __syscall_slong_t.
18482
46259bec
DM
184832012-05-21 David S. Miller <davem@davemloft.net>
18484
18485 * Makefules (o-iterator): Remove .s cases.
18486 (compile-command.s): Delete.
18487 (COMPILE.s): Delete.
18488 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18489
59f0c22e
JM
184902012-05-21 Joseph Myers <joseph@codesourcery.com>
18491
18492 * configure.in (libc_cv_predef_stack_protector): Only consider
18493 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18494 * configure: Regenerated.
18495
20c07380
L
184962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18497
bbb3154b
L
18498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18499 New macro. Use R*LP on int and pointer.
18500 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18501 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18502 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18503 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18504
20c07380
L
18505 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18506 [__WORDSIZE_TIME64_COMPAT32] instead of
18507 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18508 (struct utmp): Likewise.
18509 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18510 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18511 Renamed to ...
18512 (__WORDSIZE_TIME64_COMPAT32): This.
18513 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18514 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18515 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18516 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18517 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18518 (__WORDSIZE_TIME64_COMPAT32): New macro.
18519
d8d1017e
AJ
185202012-05-21 Andreas Jaeger <aj@suse.de>
18521
18522 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18523 only if [SHARED]. Add prototype for __wcschr_ia32.
18524
6c7fb145
RM
185252012-05-21 Roland McGrath <roland@hack.frob.com>
18526
18527 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18528 of %rbp unmolested in the jmp_buf while mangling the low bits.
18529 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18530 unmolested high bits of %rbp while demangling the low bits.
18531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18532
66274218
AJ
185332012-05-21 Andreas Jaeger <aj@suse.de>
18534
07c58f8f
AJ
18535 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18536 * sunrpc/svc_simple.c: Use it for registerrpc.
18537 * sunrpc/xcrypt.c: Use it for passwd2des.
18538
66274218
AJ
18539 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18540
61f65140
L
185412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18542
18543 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18544 Don't define if [__SYSCALL_WORDSIZE != 32].
18545 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18546 New macro.
18547
5fefb436
AJ
185482012-05-21 Bruno Haible <bruno@clisp.org>
18549 Andreas Jaeger <aj@suse.de>
18550
18551 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18552 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18553 inptr and inend for must_buffer_ch.
18554 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18555 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18556 * stdio-common/Makefile (tests): Remove bug15.
18557 (bug15-ENV): Remove macro.
18558 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18559 anymore.
18560
d8e272ab
AJ
185612012-05-19 Andreas Jaeger <aj@suse.de>
18562 Roland McGrath <roland@hack.frob.com>
18563
18564 * manual/contrib.texi: Completely rewritten. It contains now an
18565 alphabetical list of contributors and their contributions.
18566
4a56a162
RH
185672012-05-21 Richard Henderson <rth@twiddle.net>
18568
18569 * misc/getauxval.c (__getauxval): Use unsigned long int.
18570 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18571 (getauxval): Use unsigned long int.
18572
d024d23c
L
185732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18574
18575 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18576
cbc00a03
RM
185772012-05-21 Roland McGrath <roland@hack.frob.com>
18578
18579 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18580 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18581 __alignof__ (long double).
18582
478143fa
AZ
185832012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18584
18585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18586
c7683a6d
RH
185872012-05-20 Richard Henderson <rth@twiddle.net>
18588
18589 * misc/getauxval.c: New file.
18590 * misc/sys/auxv.h: New file.
18591 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18592 (routines): Add getauxval.
18593 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18594 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18595 * elf/dl-sysdep.c (_dl_auxv): Remove.
18596 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18597 * elf/dl-support.c (_dl_auxv): New variable.
18598 (_dl_aux_init): Initialize it.
18599 * manual/startup.texi (Auxiliary Vector): New node.
18600 * sysdeps/generic/bits/hwcap.h: New file.
18601 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18602 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18603 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18604 * sysdeps/sparc/sysdep.h: ... here. Include it.
18605 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18606 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18608 Update.
c7683a6d
RH
18609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18612 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18617
a6f1845d
AZ
186182012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18619
18620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18621
cbcbe830
DM
186222012-05-19 David S. Miller <davem@davemloft.net>
18623
18624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18625
e0b16cc2
JM
186262012-05-19 Joseph Myers <joseph@codesourcery.com>
18627
18628 [BZ #14123]
18629 * math/s_ccosh.c: Include <float.h>
18630 (__ccosh): Avoid internal overflow calculating sinh and cosh
18631 values before multiplying by sin and cos values.
18632 * math/s_ccoshf.c: Likewise.
18633 * math/s_ccoshl.c: Likewise.
18634 * math/s_csin.c: Likewise.
18635 * math/s_csinf.c: Likewise.
18636 * math/s_csinl.c: Likewise.
18637 * math/s_csinh.c: Likewise.
18638 * math/s_csinhf.c: Likewise.
18639 * math/s_csinhl.c: Likewise.
18640 * math/libm-test.inc (ccos_test): Add more tests.
18641 (ccosh_test): Likewise.
18642 (csin_test): Likewise.
18643 (csinh_test): Likewise.
18644 * sysdeps/i386/fpu/libm-test-ulps: Update.
18645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18646
6ad13e08
L
186472012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18648
f66f0ce8
L
18649 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18650 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18651
6ad13e08
L
18652 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18653
b1d072a7
JM
186542012-05-19 Joseph Myers <joseph@codesourcery.com>
18655
18656 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18657 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18658 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18659 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18660 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18661 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18662 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18663 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18664 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18665 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18666 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18667 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18668 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18669 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18670 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18671 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18672 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18673 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18674 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18675 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18676 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18677 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18678 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18679 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18680 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18681 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18682 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18683 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18684 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18685 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18686 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18687
9eae47cb
AJ
186882012-05-18 Andreas Jaeger <aj@suse.de>
18689
18690 * csu/.gitignore: Delete.
18691
bb07f69f
L
186922012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18693
18694 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18695 (timex): Use __syscall_slong_t.
18696
e6bdb741
AJ
186972012-05-18 Andreas Jaeger <aj@suse.de>
18698 Carlos O'Donell <carlos_odonell@mentor.com>
18699
18700 * manual/install.texi (Configuring and compiling): Update
18701 description about files modified in the source directory.
d6c33fda 18702 * INSTALL: Regenerated.
e6bdb741 18703
1b74487e
L
187042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18705
18706 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18707 value. Use "or" to set return value to -1.
18708 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18709 negate return value.
18710
a88b64b9
TMQMF
187112012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18712
18713 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18714 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18715 failure if the compiler has Graphite support disabled.
18716 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18717 Likewise.
18718 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18719 CFLAGS-memmove.c): Likewise.
18720 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18721 Likewise.
18722
3707636e
L
187232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18724
610b8622
L
18725 * sysdeps/x86_64/x32/_itoa.h: New file.
18726
7cd195df
L
18727 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18728 getdents system call only if kernel and user dirents have the
18729 same d_ino and d_off.
18730
94b07d20
L
18731 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18732 LLONG_MAX != LONG_MAX.
18733 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18734 (_fitoa_word): Likewise.
18735
18298070
L
18736 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18737 years.
18738 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18739 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18740 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18741
553c7ea4
L
18742 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18743 include <bits/wordsize.h>. Check __x86_64__ instead of
18744 __WORDSIZE.
18745 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18746 if __x86_64__ is defined. Use anonymous union on fpstate.
18747
3707636e
L
18748 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18749 anonymous union.
18750
b53ef01a
AS
187512012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18752
37fb1dc0
AS
18753 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18754 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18755 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18756 Refer to _rtld_local_ro instead of _rtld_global_ro.
18757 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18758 Likewise.
18759 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18760 Likewise.
18761 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18762 Likewise.
18763 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18764 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18765 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18766
b53ef01a
AS
18767 * sysdeps/powerpc/powerpc32/dl-machine.c
18768 (__elf_machine_runtime_setup) [PROF]: Don't reference
18769 _dl_prof_resolve.
18770
7a185db2
AJ
187712012-05-18 Andreas Jaeger <aj@suse.de>
18772
18773 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18774 function only available for GCCs before 3.4 since GCC 3.4
18775 introduced a builtin.
18776 (lrint): Likewise.
18777 (llrintf): Likewise.
18778 (llrint): Likewise.
18779 (fmaxf): Likewise.
18780 (fmax): Likewise.
18781 (fminf): Likewise.
18782 (fmin): Likewise.
18783 (rint): Likewise.
18784 (rintf): Likewise.
18785 (nearbyint): Likewise.
18786 (nearbyintf): Likewise.
18787 (ceil): Likewise.
18788 (ceilf): Likewise.
18789 (floor): Likewise.
18790 (floorf): Likewise.
18791
3e5aef87
L
187922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18793
428bd707
L
18794 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18795 on both fields and cast pointer to __syscall_ulong_t.
18796
3e5aef87
L
18797 * bits/types.h (__fsword_t): New type.
18798 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18799 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18800 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18801 (__FSWORD_T_TYPE): Likewise.
18802 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18803 (__FSWORD_T_TYPE): Likewise.
18804 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18805 (__FSWORD_T_TYPE): Likewise.
18806 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18807 (__FSWORD_T_TYPE): Likewise.
18808 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18809 __SWORD_TYPE with __fsword_t.
18810 (statfs64): Likewise.
18811
1ba7c3dc
DM
188122012-05-17 David S. Miller <davem@davemloft.net>
18813
18814 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18815
59910343
AJ
188162012-05-17 Andreas Jaeger <aj@suse.de>
18817
18818 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18819 warning.
18820
2e4c1e9e
L
188212012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18822
18823 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18824
de7f5ce7
AJ
188252012-05-17 Andreas Jaeger <aj@suse.de>
18826
18827 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18828 when it is used.
18829
286abc3d
CM
188302012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18831
18832 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18833
477cc68e
L
188342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18835
18836 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18837 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18838
1a0994f5
CD
188392012-05-17 Andreas Jaeger <aj@suse.de>
18840 Carlos O'Donell <carlos_odonell@mentor.com>
18841
18842 [BZ #14059]
18843 * sysdeps/x86_64/multiarch/init-arch.h
18844 (bit_YMM_Usable): Rename to...
18845 (bit_AVX_Usable): ... this.
18846 (bit_FMA4_Usable): New macro.
18847 (bit_XMM_state): New macro.
18848 (bit_YMM_state): New macro.
18849 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18850 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18851 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18852 (CPUID_OSXSAVE): New macro.
18853 (CPUID_AVX): New macro.
18854 (CPUID_FMA4): New macro.
18855 (index_YMM_Usable): Rename to...
18856 (index_AVX_Usable): ... this.
18857 (HAS_AVX): Use HAS_ARCH_FEATURE.
18858 (HAS_FMA4): Likewise.
18859 (HAS_YMM_USABLE): Remove.
18860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18861 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18862 are present.
18863 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18864 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18865 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18866 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18867 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18868
0af797de
CM
188692012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18870
18871 * math/libm-test.c: Support platforms without multiple rounding modes.
18872 * math/bug-nextafter.c: Support platforms without FP exceptions.
18873 * math/bug-nexttoward.c: Likewise.
18874 * math/test-fenv.c: Likewise.
18875 * math/test-misc.c: Likewise.
18876 * stdlib/bug-getcontext.c: Likewise.
18877
e39745ff
AJ
188782012-05-17 Andreas Jaeger <aj@suse.de>
18879
18880 * manual/examples/search.c (critter_cmp): Change signature to
18881 avoid warnings.
18882 * manual/string.texi (Collation Functions): Likewise.
18883
48970aba
L
188842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18885
18886 * bits/types.h: Fold copyright years.
18887 * bits/typesizes.h: Likewise.
18888 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18889 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18890 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18892 * time/time.h: Likewise.
18893
bedee953
PP
188942012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18895
18896 [BZ #208]
18897 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18898 in instead of returning them. Return void.
18899 (__libc_mallinfo): Accumulate over all arenas.
18900 (__malloc_stats): Adjust for change in int_mallinfo interface.
18901
61653dfb
RM
189022012-05-16 Roland McGrath <roland@hack.frob.com>
18903
30b99d79
RM
18904 [BZ #10375]
18905 * configure.in (NM): Add AC_CHECK_TOOL for it.
18906 (libc_extra_cflags): New substituted variable.
18907 Check for -fstack-protector being used implicitly.
18908 * configure: Regenerated.
18909 * config.make.in (config-extra-cflags): New variable,
18910 gets @libc_extra_cflags@.
18911 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18912
61653dfb
RM
18913 [BZ #10375]
18914 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18915 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18916 * configure: Regenerated.
18917 * config.make.in (CPPUNDEFS): New substituted variable.
18918 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18919 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18920 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18921
661768bb
L
189222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18923
18924 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18925 (mq_attr): Use __syscall_slong_t.
18926
d4261567
L
189272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18928
18929 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18930 Check __x86_64__ instead of __WORDSIZE.
18931 (_STAT_VER_LINUX): Likewise.
18932 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18933 __syscall_ulong_t and __syscall_slong_t.
18934 (stat64): Likewise.
18935
cf3ff365
L
189362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18937
18938 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18939
76cf3e4d
L
189402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18941
18942 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18943
a637753a
L
189442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18945
18946 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18947 __syscall_ulong_t.
18948
d5e05119
L
18949 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18950 include <bits/wordsize.h>. Check __x86_64__ instead of
18951 __WORDSIZE.
18952 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18953 defined.
18954 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18955
f62ee380
L
18956 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18957 include <bits/wordsize.h>. Check __x86_64__ instead of
18958 __WORDSIZE.
18959 (user_regs_struct): Use "__extension__ unsigned long long"
18960 instead of "unsigned long" if __x86_64__ is defined.
18961 (user): Likewise. Pad after pointer field if __ILP32__ is
18962 defined.
18963
4e124ced
JM
189642012-05-16 Joseph Myers <joseph@codesourcery.com>
18965
6a3951a0
JM
18966 * configure.in (makeinfo): Require version 4.5 or later. Allow
18967 versions 5 to 9.
18968 * configure: Regenerated.
18969 * manual/install.texi (texinfo): Increase version requirement to
18970 4.5 or later.
18971 * INSTALL: Regenerated.
18972
4e124ced
JM
18973 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18974
953ca31a
L
189752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18976
18977 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18978
617aca05
L
18979 * sysdeps/x86_64/x32/ffs.c: New file.
18980
5762f7ae
L
18981 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18982 __syscall_ulong_t.
18983 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18984 defined. Use __syscall_ulong_t.
18985 (shminfo): Use __syscall_ulong_t.
18986 (shm_info): Likewise.
18987
a26b6856
L
18988 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18989 __syscall_ulong_t.
18990
cb2b9ef7
L
18991 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18992 <bits/wordsize.h>.
18993 (msgqnum_t): Use __syscall_ulong_t.
18994 (msglen_t): Likewise.
18995 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18996 __syscall_ulong_t.
18997
34683bb0
L
18998 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18999 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19000
84a68786
L
19001 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19002
48baa5f1
L
19003 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19004 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19005
180be88b
L
19006 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19007 __syscall_slong_t.
19008
5e90c8ad
L
19009 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19010 include <bits/wordsize.h>. Check __x86_64__ instead of
19011 __WORDSIZE.
19012
23dfb58b
L
19013 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19014 "unsigned long long int" if __x86_64__ is defined.
19015 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19016
ce5d54b0
L
19017 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19018 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19019 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19020
13dc9eac
L
19021 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19022 <stdint.h>.
19023 (GET_PC): Cast to uintptr_t first.
19024 (GET_FRAME): Likewise.
19025 (GET_STACK): Likewise.
19026
a7895d15
L
19027 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19028 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19029 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19030 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19031 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19032 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19033 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19034 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19035 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19036 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19037 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19038 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19039 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19040 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19041 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19042 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19043 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19044 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19045 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19046 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19047 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19048 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19049 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19050 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19051 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19052 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19053 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19054 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19055 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19056
656416c9
AS
190572012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19058
5bd66283
AS
19059 * Makerules (+depfiles): Also collect depfiles from .oS in
19060 $(extra-objs).
19061 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19062 .oS, $(libnldbl-routines)).
19063
656416c9
AS
19064 * Makerules (native-compile-mkdep-flags): Define.
19065 * sunrpc/Makefile (extra-objs): Add $(addprefix
19066 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19067 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19068 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19069 calling $(make-target-directory).
19070
a46f2169
L
190712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19072
19073 * bits/types.h (__snseconds_t): Removed.
19074 * time/time.h (struct timespec): Replace __snseconds_t with
19075 __syscall_slong_t.
19076 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19077 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19078 Likewise.
19079 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19080 (__SNSECONDS_T_TYPE): Likewise.
19081 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19082 (__SNSECONDS_T_TYPE): Likewise.
19083 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19084 (__SNSECONDS_T_TYPE): Likewise.
19085
6af6528b
L
190862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19087
19088 * sysdeps/mach/hurd/bits/typesizes.h
19089 (__SYSCALL_SLONG_TYPE): New macro.
19090 (__SYSCALL_ULONG_TYPE): Likewise.
19091
de986b56
L
190922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19093
19094 * bits/types.h (__syscall_slong_t): New type.
19095 (__syscall_ulong_t): Likewise.
19096
19097 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19098 (__SYSCALL_ULONG_TYPE): Likewise.
19099 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19100 (__SYSCALL_SLONG_TYPE): Likewise.
19101 (__SYSCALL_ULONG_TYPE): Likewise.
19102 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19103 (__SYSCALL_SLONG_TYPE): Likewise.
19104 (__SYSCALL_ULONG_TYPE): Likewise.
19105 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19106 (__SYSCALL_SLONG_TYPE): Likewise.
19107 (__SYSCALL_ULONG_TYPE): Likewise.
19108
85736dc7
L
191092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19110
19111 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19112 Add sigaltstack-offsets.sym.
19113 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19114 <sigaltstack-offsets.h>.
19115 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19116 longjmp_msg pointer.
19117 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19118 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19119 signal stack.
19120 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19121
cc03b296
JM
191222012-05-15 Joseph Myers <joseph@codesourcery.com>
19123
a9538892
JM
19124 * elf/stackguard-macros.h: Remove file.
19125 * sysdeps/generic/stackguard-macros.h: New file.
19126 * sysdeps/i386/stackguard-macros.h: Likewise.
19127 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19128 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19129 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19130 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19131 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19132 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19133 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19134 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19135 <elf/stackguard-macros.h>.
19136
cc03b296
JM
19137 [BZ #14109]
19138 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19139 __aligned__ in attribute.
19140 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19141 (gregset_t): Likewise.
19142
93171016
L
191432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19144
19145 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19146 * sysdeps/x86_64/64/Implies-after: Here. New file.
19147 * sysdeps/x86_64/x32/Implies-after: New file.
19148
d86813a0
L
191492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19150
19151 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19152 and access return value for _dl_profile_fixup. Use R10_LP to
19153 load frame size.
19154
2953ec75
L
191552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19156
19157 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19158
3b550e9e
L
191592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19160
19161 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19162 * sysdeps/x86_64/x32/sysdep.h: New file.
19163
eda41706
L
191642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19165
19166 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19167 * sysdeps/x86_64/setjmp.S: Likewise.
19168
9ea01d93
AZ
191692012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19170
19171 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19172 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19173 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19174 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19175 remove unused global constant.
19176
02a91938
CM
191772012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19178
19179 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19180 include of <not-cancel.h>.
19181
6540185f
RM
191822012-05-15 Roland McGrath <roland@hack.frob.com>
19183
19184 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19185
509072a0
AJ
191862012-05-15 Jeff Law <law@redhat.com>
19187 Andreas Jaeger <aj@suse.de>
19188
19189 [BZ #13594]
19190 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19191 out from...
19192 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19193 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19194 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19195 code changing __hst_map_handle.map.
19196
ba75122d
RM
191972012-05-15 Roland McGrath <roland@hack.frob.com>
19198
19199 * configure.in (sysnames): Look for Implies-before and Implies-after
19200 files.
19201 * configure: Regenerated.
19202
890d8bd8
L
192032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19204
19205 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19206 8-byte data alignment with LP_SIZE alignment.
19207
f6ee6623
L
192082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19209
19210 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19211 into R10_LP.
19212
ea2626f6
L
192132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19214
19215 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19216
085f715e
L
192172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19218
19219 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19220 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19221 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19222 Likewise.
19223 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19224
be8498fc
L
192252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19226
19227 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19228 (stackinfo_sub_sp): Likewise.
19229
70bc83b9
L
192302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19231
19232 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19233 RAX_LP.
19234
9bc0b730
L
192352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19236
19237 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19238 into R*_LP.
19239
6d2850e7
L
192402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19241
19242 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19243 sizes into R*_LP.
19244
3cb84561
L
192452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19246
19247 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19248
54e2ed81
L
192492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19250
19251 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19252 into R11_LP and load __x86_64_shared_cache_size_half into
19253 R8_LP.
19254
8a17f349
L
192552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19256
19257 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19258 R8_LP.
19259
777b1eea
AZ
192602012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19261
19262 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19263 logb for POWER7.
19264 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19265 logbf for POWER7.
19266 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19267 logbl for POWER7.
19268 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19269 powerpc32/power7/fpu/s_logb.c via #include.
19270 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19271 powerpc32/power7/fpu/s_logbf.c via #include.
19272 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19273 powerpc32/power7/fpu/s_logbl.c via #include.
19274
d20d4ac2
JM
192752012-05-15 Joseph Myers <joseph@codesourcery.com>
19276
19277 * README.libm: Remove file.
19278
6cdef1ab
L
192792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19280
19281 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19282 count for x32. Use R*_LP and omit operand-size suffix.
19283
0b254d8f
L
192842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19285
19286 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19287 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19288 * sysdeps/x86_64/x32/shlib-versions: New file.
19289
ceb809dc
RM
192902012-05-14 Roland McGrath <roland@hack.frob.com>
19291
19292 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19293 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19294 Use _dl_fatal_printf instead.
19295
37f1abd4
JM
192962012-05-14 Joseph Myers <joseph@codesourcery.com>
19297
19298 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19299 set if not set by the user. Do not allow for being unset.
19300 * sysdeps/unix/sysv/linux/configure: Regenerated.
19301
11de3a33
L
193022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19303
19304 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19305 the `q' suffix from lea and replace .quad with ASM_ADDR.
19306
e02f153a
L
193072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19308
19309 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19310 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19311 instead of $17.
19312 (PTR_DEMANGLE): Likewise.
19313
520ae0fd
L
193142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19315
19316 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19317 (LP_OP): Likewise.
19318 (ASM_ADDR): Likewise.
19319 (RAX_LP): Likewise.
19320 (RBP_LP): Likewise.
19321 (RBX_LP): Likewise.
19322 (RCX_LP): Likewise.
19323 (RDI_LP): Likewise.
19324 (RSI_LP): Likewise.
19325 (RSP_LP): Likewise.
19326 (R8_LP): Likewise.
19327 (R9_LP): Likewise.
19328 (R10_LP): Likewise.
19329 (R10_LP): Likewise.
19330 (R11_LP): Likewise.
19331 (R12_LP): Likewise.
19332 (R13_LP): Likewise.
19333 (R14_LP): Likewise.
19334 (R15_LP): Likewise.
19335
b985be81
L
193362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19337
19338 * sysdeps/x86_64/x32/dl-machine.h: New file.
19339
6a4888ff
AJ
193402012-05-14 Andreas Jaeger <aj@suse.de>
19341
19342 * manual/Makefile (subdir): Remove export of subdir.
19343 (all): Remove target.
19344 (.PHONY): Remove all from list.
19345 (mkinstalldirs): Remove.
19346 (.PHONY): Remove installdirs from list.
19347 ($(inst_infodir)/libc.info): Use make-target-directory.
19348 (installdirs): Remove.
19349 (subdir_%): Remove.
19350 (glibc-targets): Remove.
19351 (lib): Remove.
19352 (stubs): Remove.
19353 ($(objpfx)stubs ../po/manual.pot): Remove.
19354 ($(objpfx)stamp%): Remove.
19355 (make-target-directory): Remove.
19356 (subdir_install): Remove.
19357 (routines): Remove.
19358 (aux): Remove.
19359 (sources): Remove.
19360 (objects): Remove.
19361 (headers): Remove.
19362
19363 [BZ #13750]
19364 * manual/.gitignore: Remove, it's not needed anymore.
19365 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19366 all files in it.
19367 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19368 directory.
19369 (texis): Renamed to $(objpfx)texis.
19370 (texis-path): New, contains path to generated files.
19371 (chapters.%): Use texis-path for complete path, add extra argument
19372 libc-texinfo.sh.
19373 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19374 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19375 (summary,texi, stamp-summary): Use complete path of
19376 files. Generate files in build dir.
19377 (dir-add.texi): Build in build dir.
19378 (libm-err.texi,stamp-libm-err): Likewise.
19379 (version.texi, stamp-version): Likewise.
19380 (.%c.texi): Likewise.
19381 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19382 (mostlyclean): Remove target.
19383 (realclean): Remove target.
19384 (generated): Add new variable with contents from mostlyclean and
19385 realclean, remove entries duplicated in common-mostlyclean, add
19386 stamp-libm-err and stamp-version.
19387 (generated-dirs): Add libc directory.
19388 ($(inst_infodir)/libc.info): Install files from build dir.
19389
19390 * manual/install.texi (Configuring and compiling): Adjust since
19391 the info files are not part of the tar ball anymore.
19392
7ac77294
AJ
193932012-05-14 Andreas Jaeger <aj@suse.de>
19394
19395 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19396 variable.
19397
ffb7875d
JM
193982012-05-14 Joseph Myers <joseph@codesourcery.com>
19399
19400 [BZ #13717]
19401 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19402 to 2.2.0 where earlier.
19403 * sysdeps/unix/sysv/linux/configure: Regenerated.
19404 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19405 Remove conditional code.
19406 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19407 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19408 Remove conditional code.
19409 [!__NR_lchown]: Likewise.
19410 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19411 [__NR_lchown]: Likewise.
19412 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19413 comment referencing __ASSUME_LCHOWN_SYSCALL.
19414 * sysdeps/unix/sysv/linux/i386/sigaction.c
19415 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19416 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19417 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19418 Remove conditional code.
19419 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19420 (__protocol_available): Remove #if 0 code.
19421 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19422 conditional code.
19423 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19424 * sysdeps/unix/sysv/linux/kernel-features.h
19425 (__ASSUME_GETCWD_SYSCALL): Don't define.
19426 (__ASSUME_REALTIME_SIGNALS): Likewise.
19427 (__ASSUME_PREAD_SYSCALL): Likewise.
19428 (__ASSUME_PWRITE_SYSCALL): Likewise.
19429 (__ASSUME_POLL_SYSCALL): Likewise.
19430 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19431 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19432 non-SPARC.
19433 (__ASSUME_SIOCGIFNAME): Don't define.
19434 (__ASSUME_MSG_NOSIGNAL): Likewise.
19435 (__ASSUME_SENDFILE): Define unconditionally.
19436 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19437 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19438 conditional code.
19439 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19440 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19441 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19442 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19443 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19444 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19445 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19447 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19448 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19450 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19451 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19453 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19454 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19456 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19457 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19459 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19460 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19462 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19463 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19465 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19466 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19468 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19469 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19470 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19471 Remove conditional code.
19472 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19473 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19474 Remove conditional code.
19475 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19476 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19477 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19478 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19479 Remove conditional code.
19480 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19481 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19482 Remove conditional code.
19483 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19484 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19485 Remove conditional code.
19486 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19487 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19488 Remove conditional code.
19489 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19490 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19491 Remove conditional code.
19492 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19493 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19494 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19495 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19496 * sysdeps/unix/sysv/linux/sigaction.c
19497 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19498 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19499 * sysdeps/unix/sysv/linux/sigpending.c
19500 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19501 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19502 * sysdeps/unix/sysv/linux/sigprocmask.c
19503 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19504 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19505 * sysdeps/unix/sysv/linux/sigsuspend.c
19506 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19507 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19508 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19509 (__libc_missing_rt_sigs): Remove.
19510 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19511 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19512 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19513 Remove conditional code.
19514 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19515 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19516 return 1.
19517 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19518 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19519 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19520 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19521
1bfb7291
AJ
195222012-05-14 Andreas Jaeger <aj@suse.de>
19523
caae5a81
AJ
19524 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19525 it's not used in glibc.
19526 (__coshm1): Likewise.
19527 (__acosh1p): Likewise.
19528 (__sgn): Likewise.
19529
1bfb7291
AJ
19530 * manual/string.texi (Copying and Concatenation): Add missing
19531 variable in concat example.
19532 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19533
c044d724
L
195342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19535
144c5467 19536 [BZ #14103]
c044d724
L
19537 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19538 __builtin_clzl with __builtin_clzll.
19539
2523c62b
L
195402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19541
19542 [BZ #14104]
19543 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19544 libc_freeres_ptr.
19545
d7bb4c42
LD
195462012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19547
19548 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19549 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19550 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19551 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19552
9dc4e1fb
MF
195532012-05-14 Mike Frysinger <vapier@gentoo.org>
19554
19555 * NEWS: Update ia64 info.
19556
c7df0112
AS
195572012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19558
19559 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19560 used as bcopy.
19561
dc70356c
TS
195622012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19563
19564 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19565 * sysdeps/unix/syscalls.list (dup3): Likewise.
19566 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19567 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19568
9fb1a21f
L
195692012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19570
19571 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19572 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19573
4822a2a5
L
195742012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19575
19576 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19577 thread pointer.
19578 (TLS_IE): Use mov/add instead of movq/addq to load thread
19579 pointer.
19580 (TLS_GD_PREFIX): New.
19581 (TLS_GD): Use it.
19582
842b81d6
DM
195832012-05-11 David S. Miller <davem@davemloft.net>
19584
19585 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19586 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19587 (_FPU_SETCW): Likewise.
19588
1cf463cd
L
195892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19590
19591 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19592 is 32-byte aligned.
19593
60cc4a18
AS
195942012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19595
19596 [BZ #11837]
19597 * iconvdata/gb18030.c: Update tables.
19598 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19599 characters specially.
19600 (BODY for TO_LOOP): Add encoding of missing ranges.
19601
febb44a4
TS
196022012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19603
19604 [BZ #13673]
19605 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19606 * sysdeps/mach/hurd/dup3.c: Likewise.
19607 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19608 * sysdeps/powerpc/memmove.c:: Likewise.
19609
0a10fb9e
L
196102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19611
19612 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19613 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19614
df8a552f
L
196152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19616
19617 * elf/elf.h (R_X86_64_RELATIVE64): New.
19618 (R_X86_64_NUM): Updated.
19619 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19620 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19621 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19622 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19623 tst-quad1pie tst-quad2pie
19624 (modules-names): Add tst-quadmod1 tst-quadmod2.
19625 ($(objpfx)tst-quad1): New dependency.
19626 ($(objpfx)tst-quad2): Likewise.
19627 ($(objpfx)tst-quad1pie): Likewise.
19628 ($(objpfx)tst-quad2pie): Likewise.
19629 * sysdeps/x86_64/tst-quad1.c: New file.
19630 * sysdeps/x86_64/tst-quad1pie.c: New file.
19631 * sysdeps/x86_64/tst-quad2.c: Likewise.
19632 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19633 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19634 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19635 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19636 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19637
f34d6f84
ST
196382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19639
f42d41d1
ST
19640 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19641 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19642 * streams/stropts.h (t_scalar_t): Define type.
19643
3c3571fc
ST
19644 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19645 (_PATH_PRESERVE): Set to "/var/lib".
19646 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19647
61f06bd3
ST
19648 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19649 instead of int.
19650
918d4d71
ST
19651 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19652 if __dir_mkfile succeeded.
19653
f34d6f84
ST
19654 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19655 checking for _hurd_dtablesize. Unlock it right after having
19656 finished _hurd_dtable allocation.
19657
10589b4a
TS
196582012-05-10 Thomas Schwinge <thomas@schwinge.name>
19659
674cdbc7
TS
19660 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19661 * sysdeps/mach/hurd/configure: Regenerated.
19662 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19663 special-casing to...
19664 * sysdeps/gnu/configure.in: ... this new file.
19665 * sysdeps/unix/sysv/linux/configure: Regenerated.
19666 * sysdeps/gnu/configure: New generated file.
19667
8e41b99f
TS
19668 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19669 for Linux: use nsec instead of usec, as well as:
19670 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19671 members of type struct timespec.
19672 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19673 New macros.
19674 (struct stat64): Likewise.
19675 (_STATBUF_ST_NSEC): New macro.
19676 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19677
10589b4a
TS
19678 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19679 __strtoul_internal rather than strtoul.
19680
63643c85
PT
196812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19682
19683 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19684 and reject them.
19685
3faebe6a
ST
196862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19687
19688 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19689 which preserves existing values.
19690 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19691
c6474b07
PT
196922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19693
19694 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19695 TIMEOUT values. Return EINVAL for NFDS values either negative or
19696 greater than FD_SETSIZE.
19697
1043890b
ST
196982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19699
19700 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19701 allocated, call __vm_protect to finish enabling the existing space, and
19702 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19703 allocate the remainder.
19704
37ed8b9b
PT
197052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19706
19707 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19708 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19709
db653660
ST
197102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19711
37ed8b9b
PT
19712 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19713 sysdeps/mach/hurd/readlink.c.
b29d4053 19714
db653660
ST
19715 * posix/tst-sysconf.c (posix_options): Only use
19716 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19717 _POSIX_SYNCHRONIZED_IO when they are defined
19718 * sysdeps/mach/hurd/bits/posix_opt.h:
19719 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19720 (_XOPEN_REALTIME): Undefine macro.
19721 (_XOPEN_REALTIME_THREADS): Undefine macro.
19722 (_XOPEN_SHM): Undefine macro.
19723 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19724 macro to -1.
19725 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19726 macro to -1.
19727 (_POSIX_ASYNC_IO): Undefine macro.
19728 (_POSIX_PRIORITIZED_IO): Undefine macro.
19729 (_POSIX_SPIN_LOCKS): Define macro to -1.
19730
ee16e894
ST
19731 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19732 SA_NODEFER, SA_RESETHAND.
19733 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19734 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19735 F_DUPFD_CLOEXEC.
19736
6103ae3b
TS
197372012-05-10 Thomas Schwinge <thomas@schwinge.name>
19738
19739 * elf/Makefile (pldd-modules): Define unconditionally.
19740
80b4e5f3
TS
197412012-05-10 Thomas Schwinge <thomas@schwinge.name>
19742
19743 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19744
edadcbd6
ST
197452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19746
19747 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19748 Return ENOENT when name is empty.
19749 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19750
80694780
TS
197512012-05-10 Thomas Schwinge <thomas@schwinge.name>
19752
1792c087
TS
19753 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19754
80694780
TS
19755 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19756
6b645f0d
ST
197572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19758
80694780
TS
19759 Fix mlock in all cases except non-readable pages.
19760 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19761 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19762
6b645f0d
ST
19763 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19764 (__mkdir): When path is `/', just fail with EEXIST.
19765 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19766
e468f8a3
TS
197672012-05-10 Thomas Schwinge <thomas@schwinge.name>
19768
19769 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19770 <sys/uio.h> (for writev).
19771 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19772 and <sys/param.h> (for MIN).
19773
a4186cff
PT
197742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19775
19776 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19777 REQUESTED_TIME. Properly set the remaining time and return EINTR
19778 if interrupted.
19779
510bbf14
TS
197802012-05-10 Thomas Schwinge <thomas@schwinge.name>
19781
19782 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19783 Depend on against $(link-rpcuserlibs).
19784
5d5722e8
ST
197852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19786
a4186cff
PT
19787 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19788 (__libc_stack_end): Do not use attribute_relro.
19789 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19790 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19791 to libthread-provided value.
a4186cff
PT
19792 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19793 attribute_relro.
5d5722e8 19794
37233df9
TS
197952012-05-10 Thomas Schwinge <thomas@schwinge.name>
19796
be971a2b
TS
19797 [BZ #3748]
19798 * bits/libc-lock.h (__libc_once_get): New macro.
19799 * sysdeps/mach/bits/libc-lock.h: Likewise.
19800 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19801 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19802 instead of using implementation details.
19803
37233df9
TS
19804 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19805 * libio/freopen.c: Likewise.
19806 * libio/freopen64.c: Likewise.
19807 * misc/syslog.c: Likewise.
19808 * nscd/connections.c: Likewise.
19809 * nscd/netgroupcache.c: Likewise.
19810 * sysdeps/posix/getcwd.c: Likewise.
19811
38de94a5
RM
198122012-05-10 Roland McGrath <roland@hack.frob.com>
19813
19814 * math/w_ilogbf.c: Add #include <limits.h>.
19815
67530489
ST
198162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19817
a4186cff 19818 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19819 path instead of returning without unlocking.
19820
67530489
ST
19821 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19822 immediate-write ioctls.
19823 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19824
5aa3a74a
TS
198252012-05-10 Thomas Schwinge <thomas@schwinge.name>
19826
18bad2ae
TS
19827 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19828 __builtin_frame_address instead of making assumptions about the
19829 location of the return address relative to DATA. Force early load of
19830 the return address.
19831 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19832 __builtin_frame_address.
19833
5aa3a74a
TS
19834 dup3 for GNU Hurd.
19835 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19836 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19837 implement dup3 and do some further code clean-ups.
19838 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19839 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19840
ecd0de9a
ST
198412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19842
cd9fa985
ST
19843 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19844
a4186cff
PT
19845 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19846 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19847 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19848 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19849 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19850 d->port.lock.
802ca5a5 19851
a4186cff
PT
19852 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19853 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19854 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19855
bcf55240
TS
198562012-05-10 Thomas Schwinge <thomas@schwinge.name>
19857
6960eb42
TS
19858 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19859 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19860 definitions.
19861
eb43375f
TS
19862 accept4 for GNU Hurd.
19863 * include/sys/socket.h (__libc_accept4): New prototype.
19864 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19865 to implement __libc_accept4.
19866 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19867 __libc_accept4.
19868 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19869
bcf55240
TS
19870 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19871 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19872 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19873 signal-defines.sym.
19874
6178c55b
ST
198752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19876
a4186cff 19877 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19878
6f080c2f
TS
198792012-05-10 Thomas Schwinge <thomas@schwinge.name>
19880
19881 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19882 assertion on O_CLOEXEC flag.
19883 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19884 * hurd/intern-fd.c: Likewise.
19885 * hurd/port2fd.c: Likewise.
19886
bcfe3a54
ST
198872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19888
19889 [BZ #3906]
19890 * bits/in.h (IPV6_PKTINFO): Define new macro.
19891 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19892
89c9aa49
AZ
198932012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19894
19895 [BZ #13954]
19896 [BZ #13955]
19897 [BZ #13956]
19898 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19899 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19900 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19901 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19902 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19903 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19904 * math/libm-test.inc (logb_test) : Additional logb tests.
19905
021db4be
AJ
199062012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19907 Andreas Jaeger <aj@suse.de>
19908
19909 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19910 * configure: Regenerated.
19911 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19912 * config.make.in (link-obsolete-rpc): New substituted variable.
19913 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19914 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19915 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19916 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19917 so that libc.a contains the symbols.
19918 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19919 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19920 * sunrpc/auth_none.c: Likewise.
19921 * sunrpc/auth_unix.c: Likewise.
19922 * sunrpc/authdes_prot.c: Likewise.
19923 * sunrpc/authuxprot.c: Likewise.
19924 * sunrpc/clnt_gen.c: Likewise.
19925 * sunrpc/clnt_perr.c: Likewise.
19926 * sunrpc/clnt_raw.c: Likewise.
19927 * sunrpc/clnt_simp.c: Likewise.
19928 * sunrpc/clnt_tcp.c: Likewise.
19929 * sunrpc/clnt_udp.c: Likewise.
19930 * sunrpc/clnt_unix.c: Likewise.
19931 * sunrpc/des_crypt.c: Likewise.
19932 * sunrpc/des_soft.c: Likewise.
19933 * sunrpc/get_myaddr.c: Likewise.
19934 * sunrpc/key_call.c: Likewise.
19935 * sunrpc/key_prot.c: Likewise.
19936 * sunrpc/netname.c: Likewise.
19937 * sunrpc/pm_getmaps.c: Likewise.
19938 * sunrpc/pm_getport.c: Likewise.
19939 * sunrpc/pmap_clnt.c: Likewise.
19940 * sunrpc/pmap_prot.c: Likewise.
19941 * sunrpc/pmap_prot2.c: Likewise.
19942 * sunrpc/pmap_rmt.c: Likewise.
19943 * sunrpc/publickey.c: Likewise.
19944 * sunrpc/rpc_cmsg.c: Likewise.
19945 * sunrpc/rpc_common.c: Likewise.
19946 * sunrpc/rpc_dtable.c: Likewise.
19947 * sunrpc/rpc_prot.c: Likewise.
19948 * sunrpc/rpc_thread.c: Likewise.
19949 * sunrpc/rtime.c: Likewise.
19950 * sunrpc/svc.c: Likewise.
19951 * sunrpc/svc_auth.c: Likewise.
19952 * sunrpc/svc_raw.c: Likewise.
19953 * sunrpc/svc_run.c: Likewise.
19954 * sunrpc/svc_tcp.c: Likewise.
19955 * sunrpc/svc_udp.c: Likewise.
19956 * sunrpc/svc_unix.c: Likewise.
19957 * sunrpc/svcauth_des.c: Likewise.
19958 * sunrpc/xcrypt.c: Likewise.
19959 * sunrpc/xdr.c: Likewise.
19960 * sunrpc/xdr_array.c: Likewise.
19961 * sunrpc/xdr_float.c: Likewise.
19962 * sunrpc/xdr_intXX_t.c: Likewise.
19963 * sunrpc/xdr_mem.c: Likewise.
19964 * sunrpc/xdr_rec.c: Likewise.
19965 * sunrpc/xdr_ref.c: Likewise.
19966 * sunrpc/xdr_sizeof.c: Likewise.
19967 * sunrpc/xdr_stdio.c: Likewise.
19968
b5c086a2
RM
199692012-05-10 Roland McGrath <roland@hack.frob.com>
19970
19971 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19972 change. Update copyright years.
19973
6d74dd09
JM
199742012-05-10 Joseph Myers <joseph@codesourcery.com>
19975
19976 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19977
28e72501
MK
199782012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19979 Joseph Myers <joseph@codesourcery.com>
19980 Paul Pluzhnikov <ppluzhnikov@google.com>
19981
19982 [BZ #14012]
19983 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19984 requiring rpcgen.
19985 [cross-compiling] (extra-libs): Likewise.
19986 [cross-compiling] (extra-libs-others): Likewise.
19987 [cross-compiling] (librpcsvc-routines): Likewise.
19988 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19989 [cross-compiling] (omit-deps): Likewise.
19990 (sunrpc-CPPFLAGS): New variable.
19991 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19992 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19993 (cross-rpcgen-objs): New variable.
19994 (extra-objs): Append $(cross-rpcgen-objs).
19995 ($(cross-rpcgen-objs)): New rule.
19996 ($(objpfx)cross-rpcgen): Likewise.
19997 (rpcgen-cmd): Define to use $(built-program-file). Expand
19998 comment.
19999 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20000 ($(objpfx)x%.stmp): Likewise.
20001 * sunrpc/proto.h [IS_IN_build] (_): Define.
20002 [IS_IN_build] (_libc_intl_domainname): Likewise.
20003
c8c59454
L
200042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20005
20006 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20007 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20008 and R_X86_64_TPOFF64.
20009
6f27cd16
JM
200102012-05-10 Joseph Myers <joseph@codesourcery.com>
20011
20012 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20013 sysdeps/unix/sysv/syscalls.list.
20014 (stime): Likewise.
20015 (utime): Likewise.
20016 * sysdeps/unix/sysv/syscalls.list: Remove file.
20017
02467e1c
PE
200182012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20019
20020 [BZ #3440]
20021 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20022 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20023 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20024 (__LC_IDENTIFICATION): Make these macros useful in #if
20025 expressions, as required by C99.
20026
da392631
AS
200272012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20028
20029 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20030 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20031 after this.
20032
8115f29b
L
200332012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20034
20035 * stdlib/longlong.h: Updated from GCC.
20036
bdd74070
AJ
200372012-05-09 Andreas Jaeger <aj@suse.de>
20038
edfe0dbe
AJ
20039 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20040 default is first entry.
20041 (run_mode): Set type.
20042 (main): Remove informal message about syslog.
20043 (options): Fix typo.
20044
bcfe3a54
ST
20045 [BZ #14053]
20046 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 20047 to asm.
bcfe3a54
ST
20048 (lrint): Likewise.
20049 (llrintf): Likewise.
20050 (llrint): Likewise.
20051 (rint): Likewise.
20052 (rintf): Likewise.
20053 (nearbyint): Likewise.
20054 (nearbyintf): Likewise.
bdd74070 20055
91d8d69e
AJ
200562012-05-09 Andreas Jaeger <aj@suse.de>
20057 Pedro Alves <palves@redhat.com>
20058
20059 * nscd/nscd.c (run_mode): Use enum.
20060 (main): Cleanup coding style issue.
20061
bb90b80b
AJ
200622012-05-09 Alexandre Oliva <aoliva@redhat.com>
20063 Andreas Jaeger <aj@suse.de>
20064
bcfe3a54
ST
20065 * nscd/nscd.c (go_background): Replaced with...
20066 (run_mode): ... this.
bb90b80b 20067 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
20068 (options): Add -F --foreground.
20069 (main): Implement it.
20070 (parse_opt): Parse it.
bb90b80b 20071
1a4b75a1
AJ
200722012-05-09 Andreas Jaeger <aj@suse.de>
20073
20074 [BZ #14083]
20075 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20076 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20077 -Wconversion warning.
20078 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20079 Likewise.
20080
b1cc2472
JM
200812012-05-09 Joseph Myers <joseph@codesourcery.com>
20082
20083 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20084 == 0.
20085 (LC_ALL): Use macro-int-constant.
20086 (LC_COLLATE): Likewise.
20087 (LC_CTYPE): Likewise.
20088 (LC_MESSAGES): Likewise.
20089 (LC_MONETARY): Likewise.
20090 (LC_NUMERIC): Likewise.
20091 (LC_TIME): Likewise.
20092 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20093 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20094 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20095 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20096 Specify type.
20097 [C99-based standards] (float_t): Expect type.
20098 [C99-based standards] (double_t): Expect type.
20099 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20100 type.
20101 [C99-based standards] (HUGE_VALL): Likewise.
20102 [C99-based standards] (INFINITY): Likewise.
20103 [C99-based standards] (NAN): Likewise.
20104 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20105 [C99-based standards] (FP_NAN): Likewise.
20106 [C99-based standards] (FP_NORMAL): Likewise.
20107 [C99-based standards] (FP_SUBNORMAL): Likewise.
20108 [C99-based standards] (FP_ZERO): Likewise.
20109 [C99-based standards] (FP_FAST_FMA): Use
20110 optional-macro-int-constant. Specify type. Require == 1.
20111 [C99-based standards] (FP_FAST_FMAF): Likewise.
20112 [C99-based standards] (FP_FAST_FMAL): Likewise.
20113 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20114 [C99-based standards] (FP_ILOGBNAN): Likewise.
20115 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20116 Specify type.
20117 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20118 [C99-based standards] (math_errhandling): Specify type.
20119 [ISO99 || ISO11] (signgam): Do not allow.
20120 [non-C99-based standards] (copysignf): Do not allow.
20121 [non-C99-based standards] (exp2f): Likewise.
20122 [non-C99-based standards] (log2f): Likewise.
20123 [non-C99-based standards] (modff): Allow.
20124 [non-C99-based standards] (erff): Do not allow.
20125 [non-C99-based standards] (erfcf): Likewise.
20126 [non-C99-based standards] (gammaf): Likewise.
20127 [non-C99-based standards] (hypotf): Likewise.
20128 [non-C99-based standards] (j0f): Likewise.
20129 [non-C99-based standards] (j1f): Likewise.
20130 [non-C99-based standards] (jnf): Likewise.
20131 [non-C99-based standards] (lgammaf): Likewise.
20132 [non-C99-based standards] (tgammaf): Likewise.
20133 [non-C99-based standards] (y0f): Likewise.
20134 [non-C99-based standards] (y1f): Likewise.
20135 [non-C99-based standards] (ynf): Likewise.
20136 [non-C99-based standards] (isnanf): Likewise.
20137 [non-C99-based standards] (acoshf): Likewise.
20138 [non-C99-based standards] (asinhf): Likewise.
20139 [non-C99-based standards] (atanhf): Likewise.
20140 [non-C99-based standards] (cbrtf): Likewise.
20141 [non-C99-based standards] (expm1f): Likewise.
20142 [non-C99-based standards] (ilogbf): Likewise.
20143 [non-C99-based standards] (log1pf): Likewise.
20144 [non-C99-based standards] (logbf): Likewise.
20145 [non-C99-based standards] (nextafterf): Likewise.
20146 [non-C99-based standards] (remainderf): Likewise.
20147 [non-C99-based standards] (rintf): Likewise.
20148 [non-C99-based standards] (scalbf): Likewise.
20149 [non-C99-based standards] (copysignl): Likewise.
20150 [non-C99-based standards] (exp2l): Likewise.
20151 [non-C99-based standards] (log2l): Likewise.
20152 [non-C99-based standards] (modfl): Allow.
20153 [non-C99-based standards] (erfl): Do not allow.
20154 [non-C99-based standards] (erfcl): Likewise.
20155 [non-C99-based standards] (gammal): Likewise.
20156 [non-C99-based standards] (hypotl): Likewise.
20157 [non-C99-based standards] (j0l): Likewise.
20158 [non-C99-based standards] (j1l): Likewise.
20159 [non-C99-based standards] (jnl): Likewise.
20160 [non-C99-based standards] (lgammal): Likewise.
20161 [non-C99-based standards] (tgammal): Likewise.
20162 [non-C99-based standards] (y0l): Likewise.
20163 [non-C99-based standards] (y1l): Likewise.
20164 [non-C99-based standards] (ynl): Likewise.
20165 [non-C99-based standards] (isnanl): Likewise.
20166 [non-C99-based standards] (acoshl): Likewise.
20167 [non-C99-based standards] (asinhl): Likewise.
20168 [non-C99-based standards] (atanhl): Likewise.
20169 [non-C99-based standards] (cbrtl): Likewise.
20170 [non-C99-based standards] (expm1l): Likewise.
20171 [non-C99-based standards] (ilogbl): Likewise.
20172 [non-C99-based standards] (log1pl): Likewise.
20173 [non-C99-based standards] (logbl): Likewise.
20174 [non-C99-based standards] (nextafterl): Likewise.
20175 [non-C99-based standards] (remainderl): Likewise.
20176 [non-C99-based standards] (rintl): Likewise.
20177 [non-C99-based standards] (scalbl): Likewise.
20178 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20179 [non-C99-based standards] (FP_*): Do not allow.
20180 [C99-based standards] (FP_*): Change to
20181 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20182 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20183 allow.
20184 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20185 (SIG_ERR): Likewise.
20186 [X/Open-based standards] (SIG_HOLD): Likewise.
20187 (SIG_IGN): Likewise.
20188 (SIGABRT): Use macro-int-constant. Specify type. Require
20189 positive value.
20190 (SIGFPE): Likewise.
20191 (SIGILL): Likewise.
20192 (SIGINT): Likewise.
20193 (SIGSEGV): Likewise.
20194 (SIGTER): Likewise.
20195 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20196 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20197 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20198 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20199 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20200 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20201 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20202 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20203 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20204 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20205 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20206 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20207 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20208 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20209 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20210 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20211 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20212 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20213 [X/Open-based standards] (SIGTRAP): Likewise.
20214 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20215 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20216 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20217 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20218 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20219 allow.
20220
b9f1922d
IW
202212012-05-08 Ian Wienand <ianw@vmware.com>
20222
20223 [BZ #14080]
20224 * time/tzset.c (__tzset_parse_tz): Update default rules for
20225 daylight time changes in the Energy Policy Act of 2005.
20226
1db86e88
AJ
202272012-05-09 Andreas Jaeger <aj@suse.de>
20228
20229 [BZ #13983]
20230 * elf/ldconfig.c (parse_conf): Change string to make clear that
20231 ldconfig only issued a warning if ld.so.conf does not exist.
20232
dee4a4e3
DM
202332012-05-08 David S. Miller <davem@davemloft.net>
20234
ee0db190
DM
20235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20236 movxtod instead of popping the value on the stack.
20237
dee4a4e3
DM
20238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20239
6a43ec98
CD
202402012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20241
20242 * config.h.in: Add HAVE_ARM_PCS_VFP.
20243
05c2c961
RMG
202442012-05-08 Roland Mc Grath <roland@hack.frob.com>
20245
bcfe3a54
ST
20246 [BZ #13979]
20247 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20248 checking but the checks are disabled for any reason.
05c2c961 20249
4b30f61a
L
202502012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20251
20252 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20253 and ELF64_R_TYPE with ELFW(R_TYPE).
20254
eee2bc67
JM
202552012-05-08 Joseph Myers <joseph@codesourcery.com>
20256
7ea5391a
JM
20257 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20258 (ulimit): Likewise.
20259
eee2bc67
JM
20260 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20261 (settimeofday): Likewise.
20262
abb66a67
MF
202632012-05-08 Mike Frysinger <vapier@gentoo.org>
20264
20265 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20266 a struct th_u2 inside the union, and move tu_block/tu_code into
20267 a new th_u3 union of tu_block/tu_code inside of that. Move
20268 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20269 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20270 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20271 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20272 (th_stuff): Change to th_u1.tu_stuff.
20273 (th_data): Define.
20274 (th_msg): Change to th_u1.th_u2.tu_data.
20275
7f18b530
DM
202762012-05-07 David S. Miller <davem@davemloft.net>
20277
05760585
DM
20278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20279
7f18b530
DM
20280 [BZ #14074]
20281 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20282 (SETUP_PIC_REG): Use it.
20283 (SETUP_PIC_REG_LEAF): Use it.
20284
495fd99f
JM
202852012-05-07 Joseph Myers <joseph@codesourcery.com>
20286
20287 [BZ #13885]
20288 [BZ #13923]
20289 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20290 USE_AS_EXPM1L.
20291 (EXPL_FINITE): Likewise.
20292 (FLDLOG): Likewise.
20293 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20294 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20295 e_expl.S.
20296 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20297 USE_AS_EXPM1L.
20298 (EXPL_FINITE): Likewise.
20299 (FLDLOG): Likewise.
20300 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20301 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20302 e_expl.S.
20303 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20304 test of -max_value argument for long double.
20305 * sysdeps/i386/fpu/libm-test-ulps: Update.
20306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20307
6693d694
DM
203082012-05-06 David S. Miller <davem@davemloft.net>
20309
20310 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20311 quad soft-float symbols whose references which are compiler
20312 generated.
20313 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20314
6c23e11c
JM
203152012-05-06 Joseph Myers <joseph@codesourcery.com>
20316
d8b82cad
JM
20317 [BZ #13884]
20318 [BZ #13914]
20319 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20320 USE_AS_EXP10L.
20321 (EXPL_FINITE): Likewise.
20322 (FLDLOG): Likewise.
20323 (c0): Likewise.
20324 (c1): Likewise.
20325 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20326 Adjust comments for base varying.
20327 (__expl_finite): Change alias to EXPL_FINITE.
20328 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20329 e_expl.S.
20330 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20331 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20332 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20333 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20334 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20335 USE_AS_EXP10L.
20336 (EXPL_FINITE): Likewise.
20337 (FLDLOG): Likewise.
20338 (c0): Likewise.
20339 (c1): Likewise.
20340 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20341 Adjust comments for base varying.
20342 (__expl_finite): Change alias to EXPL_FINITE.
20343 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20344 tests for bugs.
20345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20346
6c23e11c
JM
20347 [BZ #14064]
20348 * math/libm-test.inc (check_float_internal): Correct ulp
20349 calculation for subnormal expected results.
20350
29ba805c
AJ
203512012-05-06 Andreas Jaeger <aj@suse.de>
20352
20353 * Makeconfig (+math-flags): New, set to -frounding-math.
20354 (+cflags): Add +math-flags so that all of glibc gets compiled with
20355 it.
20356
20357 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20358
7b17aeda
JM
203592012-05-05 Joseph Myers <joseph@codesourcery.com>
20360
5779f134
JM
20361 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20362 Disable one test.
20363
41498f4d
JM
20364 [BZ #13787]
20365 [BZ #13922]
20366 [BZ #14036]
20367 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20368 (__ieee754_expl): Allow for and saturate large arguments.
20369 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20370 (u_threshold): Likewise.
20371 (__exp): Call __ieee754_exp before checking for overflow and
20372 underflow.
20373 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20374 (u_threshold): Likewise.
20375 (__expf): Call __ieee754_expf before checking for overflow and
20376 underflow.
20377 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20378 (u_threshold): Likewise.
20379 (__expl): Call __ieee754_expl before checking for overflow and
20380 underflow.
20381 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20382 (__ieee754_expl): Allow for and saturate large arguments.
20383 * math/libm-test.inc (exp_test): Add another test. Do not allow
20384 missing overflow exception on overflow.
20385 (expm1_test): Do not allow missing overflow exception on overflow.
20386
6698b8bf
JM
20387 * sysdeps/i386/fpu/e_expl.c: Move to ...
20388 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20389 rather than using inline asm.
20390 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20391 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20392 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20393
7b17aeda
JM
20394 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20395 (nice): Likewise.
20396 (poll): Likewise.
20397 (signal): Likewise.
20398 (time): Likewise.
20399 (times): Likewise.
20400
f7c85819
JM
204012012-05-04 Joseph Myers <joseph@codesourcery.com>
20402
20403 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20404 sysdeps/unix/common/syscalls.list.
20405 (fchmod): Likewise.
20406 (fchown): Likewise.
20407 (ftruncate): Likewise.
20408 (getrusage): Likewise.
20409 (gettimeofday): Likewise.
20410 (setpgid): Likewise.
20411 (setregid): Likewise.
20412 (setreuid): Likewise.
20413 (sigaction): Likewise.
20414 (truncate): Likewise.
20415 (vhangup): Likewise.
20416 * sysdeps/unix/common/syscalls.list: Remove file.
20417 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20418 * sysdeps/unix/sysv/linux/Implies: Likewise.
20419
336270d0
L
204202012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20421
20422 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20424 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20425 Moved to ...
20426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20427 Here.
20428 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20429 to ...
20430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20431 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20432 to ...
20433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20434 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20435 to ...
20436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20437 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20438 to ...
20439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20440 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20441 to ...
20442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20443 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20444 to ...
20445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20446 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20447 to ...
20448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20449 Here.
20450 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20451 to ...
20452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20453 Here.
20454 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20455 to ...
20456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20457 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20458 Moved to ...
20459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20460 Here.
20461 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20462 to ...
20463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20464
d128e450
JM
204652012-05-04 Joseph Myers <joseph@codesourcery.com>
20466
fa8ee516
JM
20467 * sysdeps/unix/common/bits/dirent.h: Remove file.
20468 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20469
d128e450
JM
20470 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20471 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20472 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20473 * sysdeps/unix/bsd/isatty.c: Likewise.
20474 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20475 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20476 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20477
ff8faaf0 204782012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20479
62881be4 20480 [BZ #13563]
31dc8730
AZ
20481 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20482 long double comparison inaccuracies.
20483 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20485
6fef930c
AS
204862012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20487
20488 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20489 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20490
8f203e6c
JM
204912012-05-04 Joseph Myers <joseph@codesourcery.com>
20492
20493 [BZ #14049]
20494 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20495 nonzero digits before rounding a hex value.
20496 * stdlib/tst-strtod.c (tests): Add another test.
20497
5197d9c2
AK
204982012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20499
20500 * sysdeps/s390/fpu/libm-test-ulps: Update.
20501
f0c1dedf
AJ
205022012-05-03 Andreas Jaeger <aj@suse.de>
20503
20504 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20505 does not get optimized out.
20506 (malloc_opt_barrier): New.
20507
a65ef2ae 205082012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20509 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20510
2b942cb7 20511 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20512 intermediate file deletion.
2b942cb7 20513 (generated): Add .symlist files.
a65ef2ae 20514
54b71e02
JM
205152012-05-03 Joseph Myers <joseph@codesourcery.com>
20516
20517 [BZ #13775]
20518 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20519 Redirect under this condition.
20520 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20521 [__USE_GNU] (__dprintf_chk): Not under this condition.
20522 [__USE_GNU] (__vdprintf_chk): Likewise.
20523 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20524 under this condition.
20525 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20526 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20527 [__USE_XOPEN2K8] (vdprintf): Likewise.
20528 [__USE_GNU] (__dprintf_chk): Not under this condition.
20529 [__USE_GNU] (__vdprintf_chk): Likewise.
20530 [__USE_GNU] (dprintf): Likewise.
20531 [__USE_GNU] (vdprintf): Likewise.
20532
d3dfcc41
RM
205332012-05-03 Roland McGrath <roland@hack.frob.com>
20534
20535 * elf/Makefile (common-generated): Set this instead of generated for
20536 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20537 $(all-built-dso)-derived lists.
20538
7ac30cc5
AJ
205392012-05-03 Andreas Jaeger <aj@suse.de>
20540
0c51e550
AJ
20541 * sysdeps/i386/fpu/libm-test-ulps: Update.
20542
7ac30cc5
AJ
20543 * FAQ: Removed.
20544 * FAQ.in: Likewise.
20545 * scripts/gen-FAQ.pl: Likewise.
20546 * manual/install.texi (Installation): Point to online location of
20547 FAQ.
20548 * Makefile (files-for-dist): Remove FAQ.
20549 (FAQ): Remove.
20550
d4c2917f
AM
205512012-05-02 Allan McRae <allan@archlinux.org>
20552
20553 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20554 (LDFLAGS-reldepmod5.so): Likewise.
20555 (LDFLAGS-reldep6mod1.so): Likewise.
20556 (LDFLAGS-reldep6mod4.so): Likewise.
20557 (LDFLAGS-reldep8mod3.so): Likewise.
20558 (LDFLAGS-unload4mod1.so): Likewise.
20559 (LDFLAGS-unload4mod2.so): Likewise.
20560 (LDFLAGS-tst-initorder): Likewise.
20561 (LDFLAGS-tst-initordera2.so): Likewise.
20562 (LDFLAGS-tst-initordera3.so): Likewise.
20563 (LDFLAGS-tst-initordera4.so): Likewise.
20564 (LDFLAGS-tst-initorderb2.so): Likewise.
20565 (LDFLAGS-noload): Likewise.
20566 (LDFLAGS-next): Likewise.
20567 (LDFLAGS-order2mod1.so): Likewise.
20568 (LDFLAGS-order2mod2.so): Likewise.
20569 (LDFLAGS-tst-initorder2): Likewise.
20570 (LDFLAGS-tst-initorder2a.so): Likewise.
20571 (LDFLAGS-tst-initorder2b.so): Likewise.
20572 (LDFLAGS-tst-initorder2c.so): Likewise.
20573 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20574
d77f993f
DM
205752012-05-02 David S. Miller <davem@davemloft.net>
20576
20577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20578
171a70b4
PP
205792012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20580
20581 [BZ #14055]
20582 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20583
0be196ad
AJ
205842012-05-02 Andreas Jaeger <aj@suse.de>
20585
20586 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20587 since we manipulate rounding mode.
20588 (CPPFLAGS-test-idouble.c): Likewise.
20589 (CPPFLAGS-test-ifloat.c): Likewise.
20590 (CFLAGS-test-ldouble.c): Likewise.
20591 (CFLAGS-test-double.c): Likewise.
20592 (CFLAGS-test-float.c): Likewise.
20593 (CFLAGS-test-misc.c): Likewise.
20594 (CFLAGS-test-test-fenv.c): Likewise.
20595
4f9d04aa
AZ
205962012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20597
2b942cb7
RM
20598 [BZ #2550]
20599 [BZ #2570]
20600 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20601 comparisons to determine direction to adjust input.
4f9d04aa 20602
82a79e7d
RM
206032012-05-01 Roland McGrath <roland@hack.frob.com>
20604
f5a01ca9
RM
20605 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20606 output to the target.
20607
90fe4186
RM
20608 * scripts/localplt.awk: New file.
20609 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20610 (check-localplt-CFLAGS): Variable removed.
20611 ($(all-built-dso:=.jmprel)): New static pattern rule.
20612 (generated): Add those targets.
20613 (localplt-built-dso): New variable.
20614 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20615
20616 * elf/check-localplt.c: File removed.
20617
82397ed6
RM
20618 * scripts/check-execstack.awk: New file.
20619 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20620 (check-execstack-CFLAGS): Variable removed.
20621 ($(objpfx)check-execstack.h): Target removed.
20622 ($(objpfx)execstack-default): New target.
20623 (generated): Add that instead of check-execstack.h.
20624 ($(all-built-dso:=.phdr)): New static pattern rule.
20625 (generated): Add those targets.
20626 * elf/check-execstack.c: File removed.
20627
82a79e7d
RM
20628 * scripts/check-textrel.awk: New file.
20629 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20630 (check-textrel-CFLAGS): Variable removed.
20631 (all-built-dso): Use := to define.o
20632 ($(all-built-dso:=.dyn)): New static pattern rule.
20633 (generated): Add those targets.
20634 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20635 * config.make.in (READELF): New substituted variable.
20636 * elf/check-textrel.c: File removed.
20637
62fde54f 206382012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20639
615605c9
JM
20640 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20641 allow.
20642 * conform/data/ctype.h-data [C99-based standards] (isblank):
20643 Expect function.
20644 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20645 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20646 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20647 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20648 Specify type. Require positive value.
20649 (EILSEQ): Likewise.
20650 (ERANGE): Likewise.
20651 [ISO || POSIX] (EILSEQ): Do not expect.
20652 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20653 Specify type. Require positive value.
20654 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20655 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20656 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20657 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20658 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20659 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20660 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20661 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20662 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20663 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20664 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20665 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20666 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20667 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20668 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20669 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20670 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20671 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20672 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20673 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20674 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20675 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20676 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20677 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20678 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20679 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20680 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20681 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20682 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20683 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20684 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20685 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20686 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20687 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20688 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20689 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20690 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20691 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20692 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20693 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20694 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20695 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20696 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20697 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20698 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20699 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20700 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20701 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20702 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20703 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20704 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20705 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20706 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20707 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20708 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20709 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20710 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20711 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20712 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20713 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20714 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20715 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20716 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20717 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20718 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20719 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20720 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20721 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20722 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20723 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20724 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20725 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20726 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20727 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20728 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20729 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20730 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20731 Require >= 2.
20732 (FLT_ROUNDS): Expect as macro, not constant.
20733 (FLT_MANT_DIG): Use macro-int-constant.
20734 (DBL_MANT_DIG): Likewise.
20735 (LDBL_MANT_DIG): Likewise.
20736 (FLT_DIG): Likewise.
20737 (DBL_DIG): Likewise.
20738 (LDBL_DIG): Likewise.
20739 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20740 (DBL_MIN_EXP): Likewise.
20741 (LDBL_MIN_EXP): Likewise.
20742 (FLT_MAX_EXP): Use macro-int-constant.
20743 (DBL_MAX_EXP): Likewise.
20744 (LDBL_MAX_EXP): Likewise.
20745 (FLT_MAX_10_EXP): Likewise.
20746 (DBL_MAX_10_EXP): Likewise.
20747 (LDBL_MAX_10_EXP): Likewise.
20748 (FLT_MAX): Use macro-constant.
20749 (DBL_MAX): Likewise.
20750 (LDBL_MAX): Likewise.
20751 (FLT_EPSILON): Use macro-constant. Give upper bound.
20752 (DBL_EPSILON): Likewise.
20753 (LDBL_EPSILON): Likewise.
20754 (FLT_MIN): Likewise.
20755 (DBL_MIN): Likewise.
20756 (LDBL_MIN): Likewise.
20757 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20758 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20759 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20760 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20761 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20762 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20763 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20764 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20765 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20766 [ISO11] (FLT_TRUE_MIN): Likewise.
20767 [ISO11] (LDBL_TRUE_MIN): Likewise.
20768 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20769 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20770 (SCHAR_MIN): Use macro-int-constant. Specify type.
20771 (SCHAR_MAX): Likewise.
20772 (UCHAR_MAX): Likewise.
20773 (CHAR_MIN): Likewise.
20774 (CHAR_MAX): Likewise.
20775 (MB_LEN_MAX): Use macro-int-constant.
20776 (SHRT_MIN): Use macro-int-constant. Specify type.
20777 (SHRT_MAX): Likewise.
20778 (USHRT_MAX): Likewise.
20779 (INT_MAX): Likewise.
20780 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20781 bound negative.
20782 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20783 bound with "U".
20784 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20785 bound with "L".
20786 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20787 bound negative. Suffix upper bound with "L".
20788 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20789 bound with "UL".
20790 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20791 Specify type.
20792 [C99-based standards] (LLONG_MAX): Likewise.
20793 [C99-based standards] (ULLONG_MAX): Likewise.
20794 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20795 == 0.
20796 [ISO11] (max_align_t): Require type.
20797 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20798
c9140a62
JM
20799 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20800 from $CFLAGS, without defining away __attribute__ calls.
20801 (checknamespace): Use $CFLAGS_namespace.
20802
9af0bf29
JM
20803 * conform/conformtest.pl (@keywords): Only include C99 keywords
20804 for standards based on C99 or C11.
20805
343222a2
JM
20806 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20807 Disable tests.
20808 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20809 UNIX98]: Likewise.
20810
661f8cf0
JM
20811 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20812 usability of symbols in #if.
20813
ee74b9cb
JM
20814 * conform/conformtest.pl: If macro or constant types start
20815 "promoted:", expect the symbol to be of the following type
20816 promoted by the integer promotions.
62fde54f 20817
aafc49b3
JM
20818 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20819 in one place. Also handle "macro-constant".
20820
fefdf574
JM
20821 * conform/conformtest.pl: Only accept expected macro values with
20822 "==". Parse all "macro" lines in one place.
20823 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20824
f2d922fe
JM
20825 * conform/conformtest.pl: Handle braced types on "constant" lines
20826 instead of handling "typed-constant".
20827 * conform/data/signal.h-data: Use "constant" instead of
20828 "typed-constant".
20829
d22956c9
JM
20830 * conform/conformtest.pl: Handle "optional-" at start of lines in
20831 one place rather than duplicating several cases. Handle each
20832 format of "macro" line with initial "optional-".
20833
028e2e38
JM
20834 * conform/conformtest.pl: Only accept expected constant or
20835 optional-constant values with "==". Parse all "constant" lines in
20836 one place. Parse all "optional-constant" lines in one place.
20837 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20838 * conform/data/fmtmsg.h-data: Likewise.
20839 * conform/data/netinet/in.h-data: Likewise.
20840 * conform/data/tar.h-data: Likewise.
20841 * conform/data/limits.h-data: Use "==" form on "constant" and
20842 "optional-constant" lines.
20843
1b8f2850
JM
20844 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20845 Use -std=c99 for XOPEN2K.
20846 (@knownproblems): Remove.
20847 (newtoken): Don't check %isknown.
20848
a05a144b
JM
20849 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20850 Do not expect macro.
20851 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20852 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20853 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20854 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20855 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20856 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20857 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20858 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20859 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20860 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20861 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20862 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20863 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20864 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20865 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20866 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20867 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20868 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20869 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20870 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20871 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20872 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20873 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20874 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20875 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20876 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20877 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20878 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20879 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20880 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20881 [XPG3] (acosh): Likewise.
20882 [XPG3] (asinh): Likewise.
20883 [XPG3] (atanh): Likewise.
20884 [XPG3] (cbrt): Likewise.
20885 [XPG3] (expm1): Likewise.
20886 [XPG3] (ilogb): Likewise.
20887 [XPG3] (log1p): Likewise.
20888 [XPG3] (logb): Likewise.
20889 [XPG3] (nextafter): Likewise.
20890 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20891 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20892 [XPG3] (remainder): Likewise.
20893 [XPG3] (rint): Likewise.
20894 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20895 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20896 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20897 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20898 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20899 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20900 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20901 [UNIX98 || XOPEN2K] (scalb): Expect.
20902 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20903 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20904 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20905 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20906 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20907 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20908 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20909 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20910 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20911 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20912 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20913 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20914 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20915 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20916 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20917 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20918 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20919 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20920 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20921 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20922 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20923 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20924 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20925 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20926 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20927 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20928 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20929 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20930 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20931 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20932 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20933 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20934 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20935 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20936 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20937 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20938 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20939 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20940 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20941 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20942 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20943 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20944 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20945 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20946 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20947 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20948 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20949 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20950 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20951 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20952 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20953 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20954 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20955 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20956 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20957 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20958 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20959 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20960 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20961 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20962 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20963 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20964 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20965 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20966 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20967 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20968 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20969 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20970 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20971 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20972 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20973 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20974 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20975 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20976 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20977 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20978 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20979 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20980 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20981 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20982 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20983 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20984 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20985 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20986 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20987 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20988 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20989 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20990 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20991 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20992 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20993 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20994 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20995 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20996 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20997 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20998 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20999 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21000 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21001 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21002 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21003 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21004 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21005 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21006 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21007 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21008 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21009 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21010 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21011 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21012 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21013 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21014 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21015 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21016 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21017 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21018 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21019 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21020 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21021 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21022 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21023 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21024 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21025 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21026 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21027 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21028 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21029 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21030 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21031 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21032 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21033 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21034 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21035 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21036 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21037 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21038 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21039
73c5ebe3
JM
21040 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21041 _XOPEN_SOURCE_EXTENDED for XPG4.
21042
39c33b6c
JM
21043 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21044
62fde54f
JM
21045 * Makeconfig (localtime): Remove variable.
21046 (inst_localtime-file): Likewise.
21047
0741d64c
AS
210482012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21049
21050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21051 Update.
21052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21053 Update.
21054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21055 Update.
21056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21057 Update.
21058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21059 Update.
21060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21061 Update.
21062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21063 Update.
21064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21065 Update.
21066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21067 Update.
21068
7cb029ee
JM
210692012-05-01 Joseph Myers <joseph@codesourcery.com>
21070
21071 [BZ #2550]
21072 [BZ #2570]
21073 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21074 comparisons to determine direction to adjust input.
21075 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21076 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21077 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21078 Likewise.
21079 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21080 Likewise.
21081 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21082 Likewise.
21083 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21084 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21085 Likewise.
21086 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21087 Likewise.
21088 * math/libm-test.inc (nexttoward_test): Add more tests.
21089
412bd966
AS
210902012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21091
21092 [BZ #14040]
21093 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21094 in version GLIBC_2.1, not GLIBC_2.0.
21095 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21096 Likewise.
21097
9568c0c2
JM
210982012-04-30 Joseph Myers <joseph@codesourcery.com>
21099
adfbc8ac
JM
21100 [BZ #13942]
21101 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21102 (1 - x) * (1 + x).
21103 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21104 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21105 * math/libm-test.inc (acos_test): Add more tests.
21106 (asin_test): Likewise.
21107 * sysdeps/i386/fpu/libm-test-ulps: Update.
21108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21109
5ba3cc69
JM
21110 [BZ #14034]
21111 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21112 of square root.
21113 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21114 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21115 * math/libm-test.inc (acos_test_tonearest): New function.
21116 (acos_test_towardzero): Likewise.
21117 (acos_test_downward): Likewise.
21118 (acos_test_upward): Likewise.
21119 (asin_test_tonearest): Likewise.
21120 (asin_test_towardzero): Likewise.
21121 (asin_test_downward): Likewise.
21122 (asin_test_upward): Likewise.
21123 (main): Call the new functions.
21124 * sysdeps/i386/fpu/libm-test-ulps: Update.
21125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21126
9568c0c2
JM
21127 [BZ #13884]
21128 [BZ #13924]
21129 * math/e_exp10.c: Include <float.h>.
21130 (__ieee754_exp10): Handle underflow here rather than multiplying
21131 large negative argument by M_LN10.
21132 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21133 of __ieee754_expf.
21134 * math/e_exp10l.c: Include <float.h>.
21135 (__ieee754_exp10l): Handle underflow here rather than multiplying
21136 large negative argument by M_LN10l.
21137 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21138 spurious overflow exception on underflow.
21139
5ac3ea17
MP
211402012-04-29 Marek Polacek <polacek@redhat.com>
21141
21142 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21143 (__fortify_function): New macro.
21144 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21145 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21146 __extern_always_inline.
21147 * libio/bits/stdio2.h: Likewise.
21148 * libio/bits/stdio.h: Likewise.
21149 * string/string.h: Likewise.
21150 * string/bits/string3.h: Likewise.
21151 * include/stdio.h: Likewise.
21152 * stdlib/bits/stdlib.h: Likewise.
21153 * stdlib/stdlib.h: Likewise.
21154 * rt/bits/mqueue2.h: Likewise.
21155 * rt/mqueue.h: Likewise.
21156 * posix/bits/unistd.h: Likewise.
21157 * posix/unistd.h: Likewise.
21158 * io/bits/poll2.h: Likewise.
21159 * io/bits/fcntl2.h: Likewise.
21160 * io/fcntl.h: Likewise.
21161 * io/sys/poll.h: Likewise.
21162 * misc/bits/syslog.h: Likewise.
21163 * misc/bits/syslog-ldbl.h: Likewise.
21164 * misc/sys/syslog.h: Likewise.
21165 * socket/bits/socket2.h: Likewise.
21166 * socket/sys/socket.h: Likewise.
21167 * debug/tst-chk1.c: Likewise.
21168 * wcsmbs/bits/wchar2.h: Likewise.
21169 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21170 * wcsmbs/wchar.h: Likewise.
21171
ecf0ebfb
AJ
211722012-04-29 Andreas Jaeger <aj@suse.de>
21173
21174 * Makerules (tests): Remove enable-check-abi protection.
21175 (check-abi-warn): Remove.
21176 (check-abi-%): Remove check-abi-warn usage.
21177
21178 * configure.in: Remove check-abi configure option.
21179 * configure: Regenerated.
21180 * config.make.in (enable-check-abi): Remove.
21181
6d5c57fa
AS
211822012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21183
24c5d07e 21184 [BZ #14033]
ded5180a
AS
21185 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21186 double functions to double *_finite functions.
21187
7e0d315d
AS
21188 [BZ #13941]
21189 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21190 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21191 LDBL_MIN_EXP.
21192 * stdio-common/Makefile (tests): Add tst-sprintf3.
21193 * stdio-common/tst-sprintf3.c: New file.
21194
6d5c57fa
AS
21195 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21196 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21197
0749ff8b
JM
211982012-04-28 Joseph Myers <joseph@codesourcery.com>
21199
21200 * conform/conformtest.pl: Remove duplicate typed-constant
21201 handling.
21202
8dbd5d7b
DM
212032012-04-28 David S. Miller <davem@davemloft.net>
21204
21205 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21206 (check-abi-%): Remove AWK script prerequisite and explicit
21207 abilist directory.
21208 (check-abi): Rewrite to just diff the symlist with the abilist.
21209 (config-tls, config-abi-config): Delete, no longer used.
21210 (update-abi-%): Remove AWK script and explicit abilist directory.
21211 (update-abi): Rewrite to simply compare and conditionally copy the
21212 symlist and the sysdep abilist file. Remove update-abi-config
21213 checks.
21214 * abilist/ld.abilist: Remove.
21215 * abilist/libBrokenLocale.abilist: Remove.
21216 * abilist/libanl.abilist: Remove.
21217 * abilist/libcrypt.abilist: Remove.
21218 * abilist/libdl.abilist: Remove.
21219 * abilist/librt.abilist: Remove.
21220 * abilist/libthread_db.abilist: Remove.
21221 * abilist/libutil.abilist: Remove.
21222 * scripts/extract-abilist.awk: Remove.
21223 * scripts/merge-abilist.awk: Remove.
21224 * sysdeps/generic/libcidn.abilist: New file.
21225 * sysdeps/generic/libnss_compat.abilist: New file.
21226 * sysdeps/generic/libnss_db.abilist: New file.
21227 * sysdeps/generic/libnss_dns.abilist: New file.
21228 * sysdeps/generic/libnss_files.abilist: New file.
21229 * sysdeps/generic/libnss_hesiod.abilist: New file.
21230 * sysdeps/generic/libnss_nis.abilist: New file.
21231 * sysdeps/generic/libnss_nisplus.abilist: New file.
21232 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21233 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21234 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21235 file.
21236 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21237 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21238 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21239 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21240 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21241 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21242 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21243 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21244 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21245 file.
21246 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21247 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21248 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21249 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21250 file.
21251 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21252 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21253 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21254 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21255 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21256 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21257 file.
21258 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21259 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21260 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21261 file.
21262 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21263 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21264 New file.
21265 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21266 New file.
21267 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21268 New file.
21269 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21270 New file.
21271 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21272 New file.
21273 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21274 New file.
21275 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21276 New file.
21277 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21278 New file.
21279 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21280 New file.
21281 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21282 New file.
21283 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21284 New file.
21285 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21286 New file.
21287 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21288 New file.
21289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21290 file.
21291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21292 New file.
21293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21294 New file.
21295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21296 file.
21297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21298 New file.
21299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21300 New file.
21301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21302 file.
21303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21304 New file.
21305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21306 New file.
21307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21308 New file.
21309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21310 New file.
21311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21312 New file.
21313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21314 New file.
21315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21317 file.
21318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21319 New file.
21320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21321 file.
21322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21323 file.
21324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21325 file.
21326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21327 file.
21328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21329 file.
21330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21331 New file.
21332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21333 file.
21334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21335 file.
21336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21337 New file.
21338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21339 file.
21340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21342 file.
21343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21344 New file.
21345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21346 file.
21347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21348 file.
21349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21350 file.
21351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21352 file.
21353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21354 file.
21355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21356 New file.
21357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21358 file.
21359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21360 file.
21361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21362 New file.
21363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21364 file.
21365 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21366 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21367 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21368 file.
21369 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21370 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21371 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21372 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21373 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21374 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21375 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21376 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21377 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21378 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21381 file.
21382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21383 New file.
21384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21385 file.
21386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21387 file.
21388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21389 file.
21390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21391 file.
21392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21393 file.
21394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21395 New file.
21396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21397 New file.
21398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21399 file.
21400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21401 New file.
21402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21403 file.
21404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21406 file.
21407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21408 New file.
21409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21410 file.
21411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21412 file.
21413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21414 file.
21415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21416 file.
21417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21418 file.
21419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21420 New file.
21421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21422 New file.
21423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21424 file.
21425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21426 New file.
21427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21428 file.
21429
41d73a1b
JM
214302012-04-28 Joseph Myers <joseph@codesourcery.com>
21431
21432 * conform/conformtest.pl: Fix typo in handling typed-constant from
21433 allow-header.
21434
28aeeda4
JM
214352012-04-27 Joseph Myers <joseph@codesourcery.com>
21436
adae8f5e
JM
21437 * README: Cut down references to pre-2.6 Linux kernels and
21438 Linuxthreads. Update lists of configurations in libc and ports
21439 and sort alphabetically. Say "or newer" with Linux kernel version
21440 requirements.
21441
28aeeda4
JM
21442 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21443
a462cb63
RA
214442012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21445
21446 [BZ #887]
21447 * math/libm-test.inc (logb_test_downward): New test to expose
21448 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21449 rounding mode.
21450
6ad3493e
JM
214512012-04-27 Joseph Myers <joseph@codesourcery.com>
21452
21453 [BZ #14027]
21454 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21455 to be done.
21456 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21457 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21458
2ce4f015
JM
214592012-04-26 Joseph Myers <joseph@codesourcery.com>
21460
5aeb141a
JM
21461 * sysdeps/unix/i386/brk.S: Remove file.
21462 * sysdeps/unix/i386/dl-brk.S: Likewise.
21463 * sysdeps/unix/i386/pipe.S: Likewise.
21464 * sysdeps/unix/i386/sigreturn.S: Likewise.
21465 * sysdeps/unix/i386/syscall.S: Likewise.
21466 * sysdeps/unix/i386/vfork.S: Likewise.
21467 * sysdeps/unix/i386/wait.S: Likewise.
21468
7143acae
JM
21469 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21470 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21471
2ce4f015
JM
21472 * configure.in (arm*-none*): Do not allow without
21473 --enable-hacker-mode.
21474 (netbsd*): Remove case setting base_os.
21475 (386bsd*): Likewise.
21476 (freebsd*): Likewise.
21477 (bsdi*): Likewise.
21478 (osf*): Likewise.
21479 (sunos*): Likewise.
21480 (ultrix*): Likewise.
21481 (newsos*): Likewise.
21482 (dynix*): Likewise.
21483 (*bsd*): Likewise.
21484 (sysv*): Likewise.
21485 (isc*): Likewise.
21486 (esix*): Likewise.
21487 (sco*): Likewise.
21488 (minix*): Likewise.
21489 (irix4*): Likewise.
21490 (irix6*): Likewise.
21491 (solaris[2-9]*): Likewise.
21492 (none): Likewise.
21493 * configure: Regenerated.
21494
0ac229c8
AZ
214952012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21496
21497 [BZ #11521]
21498 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21499 overflow or cancellation in calculating denominator.
21500 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21501 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21502 down expression to avoid unexpected rounding in newer GCCs.
21503 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21504
33f244f4
DM
215052012-04-26 David S. Miller <davem@davemloft.net>
21506
21507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21508 long-double compat symbols.
21509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21522
cfa1f3e8
DM
215232012-04-25 David S. Miller <davem@davemloft.net>
21524
21525 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21526 HWCAP_* values only after the memory barriers have been defined.
21527 (atomic_full_barrier): Define.
21528 (atomic_read_barrier): Define.
21529 (atomic_write_barrier): Define.
21530
6e236b92
SP
215312012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21532
21533 * shlib-versions: Add libgcc_s version information.
21534 * sysdeps/generic/libgcc_s.h: Remove.
21535 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21536 libgcc_s.h.
21537 * sysdeps/gnu/unwind-resume.c: Likewise.
21538 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21539
aab39a09
DM
215402012-04-25 David S. Miller <davem@davemloft.net>
21541
21542 * sysdeps/unix/sparc/brk.S: Delete.
21543 * sysdeps/unix/sparc/dl-brk.S: Delete.
21544 * sysdeps/unix/sparc/pipe.S: Delete.
21545 * sysdeps/unix/sparc/sysdep.S: Delete.
21546 * sysdeps/unix/sparc/sysdep.h: Delete.
21547 * sysdeps/unix/sparc/vfork.S: Delete.
21548 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21549 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21550 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21551 ret_ERRVAL, r0, r1, MOVE): Define.
21552 (JUMPTARGET): Remove.
21553 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21554 sysdeps/unix/sparc/sysdep.h
21555 (ENTRY, END): Remove.
21556 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21557
a3cc4f48
JM
215582012-04-25 Joseph Myers <joseph@codesourcery.com>
21559
2ed8cda2
JM
21560 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21561 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21562 -DIS_IN_build.
21563
35d76d59
JM
21564 * timezone/README: Update upstream location and email address for
21565 tzcode and tzdata.
21566 * timezone/zdump.c: Update from tzcode 2012b.
21567 * timezone/zic.c: Likewise.
21568
a3cc4f48
JM
21569 * configure.in (libc_cv_as_needed): Remove test.
21570 * configure: Regenerated.
21571 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21572 conditional definition.
21573 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21574 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21575 * config.make.in (have-as-needed): Remove variable.
21576
ceab42c3
SP
215772012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21578 Paul Pluzhnikov <ppluzhnikov@google.com>
21579
21580 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21581 strings correctly.
21582
3ce2865f
CLT
215832012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21584
21585 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21586 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21587 * sysdeps/sh/strlen.S: Likewise.
21588
f37e0d68
JM
215892012-04-24 Joseph Myers <joseph@codesourcery.com>
21590
ae186e9a
JM
21591 * sysdeps/unix/fork.S: Remove file.
21592 * sysdeps/unix/i386/fork.S: Likewise.
21593 * sysdeps/unix/sparc/fork.S: Likewise.
21594
b96914af
JM
21595 * sysdeps/unix/system.c: Remove file.
21596 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21597
f37e0d68
JM
21598 * sysdeps/unix/getegid.S: Remove file.
21599 * sysdeps/unix/geteuid.S: Likewise.
21600
87ef29ca
RM
216012012-04-24 Roland McGrath <roland@hack.frob.com>
21602
83bcd236
RM
21603 * scripts/check-localplt.awk: New file.
21604 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21605 of diff.
21606 * scripts/data/localplt-generic.data: Add a comment.
21607
87ef29ca
RM
21608 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21609 NODE when __dir_mkfile failed.
21610 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21611 Reported by Ludovic Courtès <ludo@gnu.org>.
21612
e5a6e567
AJ
216132012-04-24 Andreas Jaeger <aj@suse.de>
21614
21615 * Makerules (common-clean): Also remove gen-as-const-headers
21616 files.
21617
c1820385
JM
216182012-04-24 Joseph Myers <joseph@codesourcery.com>
21619
21620 * Makerules (native-compile): Do not change working directory for
21621 build. Use $(OUTPUT_OPTION) in command.
21622 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21623
94e02fc4
AZ
216242012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21625
21626 [BZ #13886]
21627 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21628 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21629 * math/libm-test.inc (floor_test): Add more tests.
21630 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21631
3a533ca3
JM
216322012-04-24 Joseph Myers <joseph@codesourcery.com>
21633
940ab4b3
JM
21634 * sysdeps/unix/getdents.c: Remove file.
21635 * sysdeps/unix/sysv/getdents.c: Likewise.
21636 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21637
90e037bd
JM
21638 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21639 sysdeps/unix/mman/syscalls.list.
21640 (mmap): Likewise.
21641 (mprotect): Likewise.
21642 (msync): Likewise.
21643 (munmap): Likewise.
21644 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21645 * sysdeps/unix/mman/syscalls.list: Remove.
21646 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21647
3a533ca3
JM
21648 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21649 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21650 * configure: Regenerated.
21651 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21652 $(libgcc_s_suffix).
21653 * config.make.in (libgcc_s_suffix): Remove variable.
21654
1ad743de
JM
216552012-04-23 Joseph Myers <joseph@codesourcery.com>
21656
4ad451e2
JM
21657 * sysdeps/unix/sysv/gethostname.c: Move to ...
21658 * sysdeps/posix/gethostname.c: ... here.
21659
5e37ce39
JM
21660 * sysdeps/unix/execve.S: Remove file.
21661
1ad743de
JM
21662 * sysdeps/unix/_exit.S: Remove file.
21663
4e681b5b
AJ
216642012-04-23 Andreas Jaeger <aj@suse.de>
21665
21666 [BZ #13739]
21667 * manual/Makefile: Remove make dist support, there's no
21668 need for a stand-alone documentation tar ball.
21669 (TEXI2DVI): Define always, it's not in Makeconfig.
21670 (dist): Removed.
21671 (tar-it): Removed.
21672 (edition): Removed.
21673 (glibc-doc-$(edition).tar): Removed
21674 (%.Z): Removed.
21675 (%.gz): Removed.
21676 (%.uu): Removed.
21677 (ETAGS): Remove, it's in Makeconfig.
21678 (move-if-change): Remove, it's in Makeconfig.
21679
38686a03 216802012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21681
21682 [BZ #13970]
21683 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21684 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21685 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21686 (strtod_l, strtof_l, strtold_l): Remove __wur.
21687 It is not necessarily an error to ignore strtol's return value.
21688 One can reliably look at the stored endptr to decide whether
21689 the number had valid syntax.
21690
7c0616fa
AJ
216912012-04-21 Andreas Jaeger <aj@suse.de>
21692
803cb6b7 21693 [BZ #13739]
7c0616fa
AJ
21694 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21695
b0fe253f
JM
216962012-04-21 Joseph Myers <joseph@codesourcery.com>
21697
21698 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21699 * sysdeps/unix/sysv/Versions: Remove file.
21700
8280f22d
MT
217012012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21702
21703 [BZ #13927]
21704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21705
75ce411f 217062012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21707
21708 [BZ #7064]
21709 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21710 version from __vm86.
21711
097d59fa
JM
217122012-04-20 Joseph Myers <joseph@codesourcery.com>
21713
a90f3bcb
JM
21714 * sysdeps/unix/common/lxstat.c: Remove file.
21715 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21716
edc7ea78
JM
21717 * sysdeps/unix/sysv/Makefile: Remove file.
21718
cb78c221
JM
21719 * sysdeps/unix/sysv/direct.h: Remove file.
21720
efa6a45f
JM
21721 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21722 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21723 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21724 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21725 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21726 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21727 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21728
9c9f2d0c
JM
21729 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21730
4541c83b
JM
21731 * sysdeps/unix/xmknod.c: Remove file.
21732 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21733
f5d153a0
JM
21734 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21735
aa746595
JM
21736 * sysdeps/unix/sysv/i386/time.S: Remove file.
21737
cce5905e
JM
21738 * sysdeps/unix/fxstat.c: Remove file.
21739 * sysdeps/unix/xstat.c: Likewise.
21740 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21741
37fa3841
JM
21742 * sysdeps/unix/sysv/sigaction.c: Remove file.
21743
ff1962a3
JM
21744 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21745 (sysdep_headers): Remove variable.
21746 [termio.h not in sysdep_headers] (generated): Likewise.
21747 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21748 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21749 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21750 * sysdeps/unix/sysv/tcflow.c: Likewise.
21751 * sysdeps/unix/sysv/tcflush.c: Likewise.
21752 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21753 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21754 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21755 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21756 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21757
e7740d31
JM
21758 * sysdeps/unix/siglist.c: Remove file.
21759
ee06f18b
JM
21760 * sysdeps/unix/getppid.S: Remove file.
21761
097d59fa
JM
21762 * sysdeps/unix/mkdir.c: Remove file.
21763 * sysdeps/unix/rmdir.c: Likewise.
21764
ff3d51ec
AS
217652012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21766
21767 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21768 ERR_MAX value.
21769 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21770 errlist-compat value.
21771
50f81fd7
DM
217722012-04-18 David S. Miller <davem@davemloft.net>
21773
21774 * sysdeps/generic/memcopy.h (reg_char): Delete.
21775 * debug/strcat_chk.c: Use char, not reg_char.
21776 * debug/strcpy_chk.c: Likewise.
21777 * debug/strncat_chk.c: Likewise.
21778 * debug/strncpy_chk.c: Likewise.
21779 * string/memchr.c: Likewise.
21780 * string/memrchr.c: Likewise.
21781 * string/rawmemchr.c: Likewise.
21782 * string/strcat.c: Likewise.
21783 * string/strchr.c: Likewise.
21784 * string/strchrnul.c: Likewise.
21785 * string/strcmp.c: Likewise.
21786 * string/strcpy.c: Likewise.
21787 * string/strncat.c: Likewise.
21788 * string/strncmp.c: Likewise.
21789 * string/strncpy.c: Likewise.
21790
8ff41c46
WS
217912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21792
21793 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21794 __builtin_memcopy is called when src and dest ranges are known to not
21795 overlap.
21796
6b652f46
WS
217972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21798
21799 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21800 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21801 fwd_align_merge macro call.
21802 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21803 bwd_align_merge macro call.
21804 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21805
b282631e
WS
218062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21807
21808 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21809 bwd_align_merge macros.
21810 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21811 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21812 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21813
95aa737c
DM
218142012-04-18 David S. Miller <davem@davemloft.net>
21815
21816 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21817
7a99a614
AJ
218182012-04-18 Andreas Jaeger <aj@suse.de>
21819
21820 [BZ# 6794]
21821 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21822 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21823 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21824
21825 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21826 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21827 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21828
21829 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21830 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21831 Adjust for changed ldbl-128 files.
21832
21833 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21834 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21835 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21836
e5270c23
DM
218372012-04-17 David S. Miller <davem@davemloft.net>
21838
21839 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21840
fb5e92c9
AS
218412012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21842
21843 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21844 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21845 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21846 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21847 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21848 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21849
76da7265
AZ
218502012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21851
21852 [BZ #6794]
21853 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21854 * math/libm-test.inc: Add ilogb errno and exception tests.
21855 * math/w_ilogb.c: New file: ilogb wrapper.
21856 * math/w_ilogbf.c: New file: ilogbf wrapper.
21857 * math/w_ilogbl.c: New file: ilogbl wrapper.
21858 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21859 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21860 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21861 exception being thrown with 0.0 as argument.
21862 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21863 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21864 exception being thrown with 0.0 as argument.
21865 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21866 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21867 exception being thrown with 0.0 as argument.
21868 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21869 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21870 exception being thrown with 0.0 as argument.
21871 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21872 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21873 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21874 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21875 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21876 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21877 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21878 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21879 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21880
0396e69d
PB
218812012-04-17 Petr Baudis <pasky@ucw.cz>
21882
21883 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21884 with altivec.
21885
750b5926
MP
218862012-04-16 Marek Polacek <polacek@redhat.com>
21887
21888 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21889
751728a1
MP
218902012-04-16 Marek Polacek <polacek@redhat.com>
21891
21892 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21893 operands of fdivp instruction.
21894
34a27407
L
218952012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21896
21897 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21898 * elf/tst-auditmod3b.c: Likewise.
21899 * elf/tst-auditmod4b.c: Likewise.
21900 * elf/tst-auditmod5b.c: Likewise.
21901 * elf/tst-auditmod6b.c: Likewise.
21902 * elf/tst-auditmod6c.c: Likewise.
21903 * elf/tst-auditmod7b.c: Likewise.
21904 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21905 * sysdeps/x86_64/preconfigure.in: Likewise.
21906 * sysdeps/x86_64/preconfigure: Regenerated.
21907
7e73e17d
L
219082012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21909
21910 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21911 __ILP32__.
21912
c7a6ab72
AB
219132012-04-13 Antoine Balestrat <merkil33@gmail.com>
21914
21915 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21916 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21917
a9e8e0e0
CL
219182012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21919
21920 [BZ #13973]
21921 * locale/iso-639.def: Fix gl language name. Spotted by
21922 Yaron Shahrabani.
21923
ec98af7d
RM
219242012-04-12 Roland McGrath <roland@hack.frob.com>
21925
21926 [BZ #2074]
21927 * libio/libio.h (__io_write_fn): Update comment.
21928
247c3ede
PB
219292012-04-12 Petr Baudis <pasky@ucw.cz>
21930
21931 [BZ #2074]
21932 * stdio.texi (Hook Functions): The user provided writer function
21933 is not allowed to return -1.
21934
55939d6d
DM
219352012-04-11 David S. Miller <davem@davemloft.net>
21936
21937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21938
90020f5a
MF
219392012-04-11 Mike Frysinger <vapier@gentoo.org>
21940
21941 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21942 Add a leading slash to rtkaio.
21943
288f9098
JM
219442012-04-11 Jim Meyering <meyering@redhat.com>
21945
90020f5a
MF
21946 [BZ #11959]
21947 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21948 It is not necessarily an error to ignore fwrite's return
21949 value. One can reliably use ferror to test for errors after
21950 the fact.
288f9098 21951
4be2b570
L
219522012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21953
21954 * bits/types.h (__snseconds_t): New type.
21955 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21956
21957 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21958 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21959 (__SNSECONDS_T_TYPE): Likewise.
21960 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21961 (__SNSECONDS_T_TYPE): Likewise.
21962 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21963 (__SNSECONDS_T_TYPE): Likewise.
21964
288f9098 219652012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21966
21967 [BZ #2636]
21968 * manual/time.texi (Processor Time): Return type of times is
21969 elapsed real time since an arbitrary point in the past.
21970 (CPU Time): Move CLK_TCK from here...
21971 (Processor Time): ...to here. Correct description.
21972 * manual/conf.texi (Constants for Sysconf): Correct description of
21973 _SC_CLK_TCK.
21974
d7dd4413
DM
219752012-04-10 David S. Miller <davem@davemloft.net>
21976
21977 [BZ #13967]
21978 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21979 where the is a gap between DT_REL(A) and DT_JMPREL.
21980
b46068fc
L
219812012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21982
21983 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21984 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21985 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21986
73d65cc3
SP
219872012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21988
21989 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21990 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21991 (dl_main): Handle --inhibit-cache.
21992 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21993 _dl_inhibit_cache.
21994 * elf/dl-load.c (_dl_map_object): Use it.
21995 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21996
bcc8d661
JM
219972012-04-09 Joseph Myers <joseph@codesourcery.com>
21998
8f9a2fae
JM
21999 [BZ #13872]
22000 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22001 (__ieee754_powl): Saturate large exponents rather than testing for
22002 overflow of y*log2(x).
22003 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22004 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22005 exceptions.
22006
bcc8d661
JM
22007 [BZ #11521]
22008 * math/s_ctan.c: Include <float.h>.
22009 (__ctan): Avoid internal overflow or cancellation in calculating
22010 denominator.
22011 * math/s_ctanf.c: Likewise.
22012 * math/s_ctanl.c: Likewise.
22013 * math/s_ctanh.c: Likewise.
22014 * math/s_ctanhf.c: Likewise.
22015 * math/s_ctanhl.c: Likewise.
22016 * math/libm-test.inc (ctan_test): Add more tests.
22017 (ctanh_test): Likewise.
22018 * sysdeps/i386/fpu/libm-test-ulps: Update.
22019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22020
823fbbb4
AJ
220212012-04-09 Andreas Jaeger <aj@suse.de>
22022
03879793
AJ
22023 [BZ #6894]
22024 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22025 is an optional BSD extension.
22026
823fbbb4
AJ
22027 [BZ #10254]
22028 * manual/stdio.texi (Opening Streams): Document additional fopen
22029 parameters.
22030
8de131cb
RM
220312012-04-09 Roland McGrath <roland@hack.frob.com>
22032
22033 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22034 %eax without telling the compiler.
22035
c0ed9d7d
CD
220362012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22037
22038 [BZ # 13963]
22039 * manual/install.texi: Use sourceware.org.
22040
c483f6b4
JM
220412012-04-09 Joseph Myers <joseph@codesourcery.com>
22042
d7dd9453
JM
22043 [BZ #13873]
22044 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22045 (__ieee754_pow): Generate overflow and underflow using huge*huge
22046 and tiny*tiny rather than just returning constant infinity or zero
22047 for large exponents.
22048 * math/libm-test.inc (pow_test): Require overflow exceptions for
22049 applicable cases of large exponents.
22050
c483f6b4
JM
22051 [BZ #706]
22052 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22053 (__ieee754_pow): Use iterative multiplication algorithm only for
22054 integer exponents with absolute value below 1024. Check for odd
22055 integer exponents when using algorithm for real exponents.
22056 * math/libm-test.inc (pow_test): Add more tests.
22057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22058
d2de7579
JM
220592012-04-08 Joseph Myers <joseph@codesourcery.com>
22060
22061 [BZ #13705]
22062 * math/libm-test.inc (exp_test): Do not allow overflow exception
22063 on underflow test.
22064
f77f1232
AJ
220652012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22066
22067 [BZ #13705]
22068 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22069 instead of __kernel_standard_f.
22070
3884932b
MF
220712012-04-08 Mike Frysinger <vapier@gentoo.org>
22072
22073 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22074 * sysdeps/x86_64/memset_chk.S: Likewise.
22075
54472e9c
AJ
220762012-04-08 Andreas Jaeger <aj@suse.de>
22077
6ab0fbfc
AJ
22078 [BZ #10153]
22079 * manual/startup.texi (Environment Access): Describe return value
22080 for putenv and setenv.
22081
61efba8c
AJ
22082 [BZ #6895]
22083 * manual/filesys.texi (Directory Entries): Add description for
22084 DT_LNK.
22085
95c3f29a
AJ
22086 [BZ #6890]
22087 * manual/filesys.texi (Directory Entries): Clarify that it's file
22088 system not operating system in the description of DT_UNKNOWN.
22089
54472e9c
AJ
22090 [BZ #6578]
22091 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22092
624254b1
SC
220932012-04-08 Stephen Compall <s11@member.fsf.org>
22094
22095 [BZ #6649]
22096 * manual/llio.texi (Opening and Closing Files): Add cross
22097 reference to explain mode argument.
22098
1e4920e0
MF
220992012-04-07 Mike Frysinger <vapier@gentoo.org>
22100
22101 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22102 * sysdeps/x86_64/memset_chk.S: Likewise.
22103
5ed848f3
DM
221042012-04-07 David S. Miller <davem@davemloft.net>
22105
22106 * elf/elf.h (R_SPARC_WDISP10): Define.
22107 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22108 R_SPARC_SIZE32.
22109 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22110 R_SPARC_SIZE64 and R_SPARC_H34.
22111
96154cd8
CD
221122012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22113
22114 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22115 conditions and remove no longer applicable assertion.
22116
9904dc47
L
221172012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22118
22119 * bits/byteswap.h: Include <features.h>.
22120 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22121 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22122
f8887d0a
L
221232012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22124
22125 * bits/byteswap.h (__bswap_16): Removed.
22126 Include <bits/byteswap-16.h> to get __bswap_16.
22127 * sysdeps/i386/bits/byteswap.h: Likewise.
22128 * sysdeps/s390/bits/byteswap.h: Likewise.
22129 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22130 * bits/byteswap-16.h: New file.
22131 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22132 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22133 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22134 * string/Makefile (headers): Add bits/byteswap-16.h.
22135
62470f60
PP
221362012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22137
22138 [BZ #13895]
22139 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22140 extra indirection.
22141 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22142 * nss/tst-nss-static.c: New.
22143
4dad7bab
RM
221442012-04-06 Robert Millan <rmh@gnu.org>
22145
22146 [BZ #6486]
22147 * manual/llio.texi (File Position Primitive): lseek
22148 refers to WHENCE when it really means OFFSET.
22149
e9142a17
AJ
221502012-04-06 Andreas Jaeger <aj@suse.de>
22151
2c040eff
AJ
22152 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22153 strncmp declarations.
22154
e9142a17
AJ
22155 * abilist/libc.abilist: Add __poll and __ppoll.
22156
ff9f1c5f
DM
221572012-04-05 David S. Miller <davem@davemloft.net>
22158
dcd2ae90
DM
22159 * scripts/check-local-headers.sh: Accept a host triplet in the
22160 path matched by the exclude regexp.
22161
993eb054
DM
22162 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22163 definition.
22164 * sysdeps/powerpc/powerpc32/dl-machine.h
22165 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22166 * sysdeps/s390/s390-32/dl-machine.h
22167 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22168 * sysdeps/sparc/sparc32/dl-machine.h
22169 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22170 * sysdeps/sparc/sparc64/dl-machine.h
22171 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22172
ff9f1c5f
DM
22173 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22174 lazy binding.
48e2e132 22175 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22176 undefined symbol errors.
22177
48e2e132 22178 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22179 DT_NEEDED entries.
22180
e80d6f94
MM
221812012-04-05 Michael Matz <matz@suse.de>
22182
22183 [BZ #13592]
22184 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22185
349fa79f
AJ
221862012-04-05 Andreas Jaeger <aj@suse.de>
22187
22188 [BZ #13908]
22189 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22190 comment.
22191
f402708f
KK
221922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22193
22194 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22195 which ROUND is no valid rounding mode.
22196
2ecccfc9
KK
221972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22198
22199 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22200 read again.
22201 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22202
8a53f50f
KK
222032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22204
22205 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22206 an exception using FPU order intentionally.
22207
222082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22209
22210 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22211 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22212 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22213 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22214
d653abb7
SJ
222152012-04-05 Simon Josefsson <simon@josefsson.org>
22216
22217 [BZ #12340]
22218 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22219 EINVAL when BUFLEN is too smal.
22220
c3b1bf7d
TS
222212012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22222
22223 [BZ #13553]
22224 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22225 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22226
b1aa60f3
AJ
222272012-04-03 Andreas Jaeger <aj@suse.de>
22228
c3b1bf7d 22229 [BZ #13938]
67f60a26
AJ
22230 * manual/setjmp.texi (System V contexts): Fix sentence.
22231
b1aa60f3
AJ
22232 [BZ #13926]
22233 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22234 New macro for this case.
22235 [!__GNUC__] (__bswap_64): New inline function for this case.
22236 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22237 * bits/byteswap.h: Likewise.
22238 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22239 ull, guard with __GLIBC_HAVE_LONG_LONG.
22240
22241 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22242 __GLIBC_HAVE_LONG_LONG.
22243
22244 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22245 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22246
39c59c35
TMQMF
222472012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22248
22249 [BZ #13691]
22250 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22251 inptr and inend, rather than using last_ch.
22252
135ffda8
DM
222532012-04-02 David S. Miller <davem@davemloft.net>
22254
22255 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22256 * stdio-common/printf-parse.h (read_int): Change return type to
22257 'int', return -1 on INT_MAX overflow.
22258 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22259 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22260 overflows INT_MAX. Check for overflow of in-format-string precision
22261 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22262 SIZE_MAX not INT_MAX for integer overflow test.
22263 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22264 skip the construct in the format string but do not record anything.
22265 * stdio-common/bug22.c: Adjust to test both width/prevision
22266 INT_MAX overflow as well as total length INT_MAX overflow. Check
22267 explicitly for proper errno values.
22268
228c019e
TS
222692012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22270
302cadd3
TS
22271 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22272 CHAR_MAX.
22273 * string/test-strcmp.c [! WIDE]: Likewise.
22274 * time/tst-mktime2.c: Likewise for INT_MAX.
22275 * string/test-string.h: #include <sys/param.h> for MIN.
22276
228c019e
TS
22277 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22278 * sysdeps/i386/init-first.c (init): Likewise.
22279 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22280 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22281 * sysdeps/sh/init-first.c (init): Likewise.
22282
cfa633f5
UD
222832012-04-01 Ulrich Drepper <drepper@gmail.com>
22284
22285 * po/ru.po: Update from translation team.
d1635ef8 22286 * po/vi.po: Likewise.
cfa633f5 22287
6cd0a5ea
SP
222882012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22289
22290 * resolv/nss_dns/dns-host.c: Merge copyright years.
22291
4b43400f
LD
222922012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22293
22294 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22295 Optimize memcpy with prefetch if
22296 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22297 src, dst pointers have unequal 16 byte alignments.
22298
48c41d04
SP
222992012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22300
22301 [BZ #13928]
22302 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22303 from a CNAME entry and return the minimum ttl for the query.
22304 (gaih_getanswer_slice): Likewise.
22305
b8dc394d
JL
223062012-03-30 Jeff Law <law@redhat.com>
22307
22308 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22309 due to long keys.
22310 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22311 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22312
2f5a5ed0
JL
22313 * resolv/nss_dns/dns-host.c: Update copyright year.
22314
1d39e359
UD
223152012-03-30 Ulrich Drepper <drepper@gmail.com>
22316
c030f70c 22317 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22318 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22319
1d39e359
UD
22320 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22321 comments for sendmmsg.
22322
223232012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22324
22325 [BZ #13691]
22326 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22327 with only 1 character between 0x0041 and 0x01b0.
22328 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22329 * wcsmbs/tst-mbsnrtowcs.c: New file.
22330
20fde227
DM
223312012-03-29 David S. Miller <davem@davemloft.net>
22332
22333 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22334 small copies by hand.
22335
984a4237
JL
223362012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22337
22338 [BZ #13761]
22339 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22340 _nss_compat_initgroups_dyn): Fall back to malloc/free
22341 for large group memberships.
22342
18c9d62b
DM
223432012-03-28 David S. Miller <davem@davemloft.net>
22344
88d85d4f
DM
22345 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22346 that branches into memcpy.
22347 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22348 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22349 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22350 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22351 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22352 bits.
22353 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22354 implementation too.
22355 * sysdeps/sparc/mempcpy.S: New file.
22356
e5aa83e1
DM
22357 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22358 the IFUNC routine in the libc case.
22359 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22360
88570753
DM
22361 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22362 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22363 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22364 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22365 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22366 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22367 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22368 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22369
249d7567
DM
22370 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22371 loop to 256 bytes instead of 64 bytes and fix test signedness.
22372
18c9d62b
DM
22373 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22374 * sysdeps/sparc/sparc32/Makefile: rather than here...
22375 * sysdeps/sparc/sparc64/Makefile: and here.
22376
05f3d1f6
UD
223772012-03-28 Ulrich Drepper <drepper@gmail.com>
22378
22379 * malloc/mallocbug.c: Avoid warnings about unused variables.
22380
86ae07a8
JL
223812012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22382
22383 [BZ #13760]
22384 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22385 in the right place. Discard and retry query if response is
22386 larger than input buffer size.
22387
41bf21a1
JM
223882012-03-28 Joseph Myers <joseph@codesourcery.com>
22389
d6270972
JM
22390 [BZ #369]
22391 [BZ #2678]
22392 [BZ #3866]
22393 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22394 x for large integer exponent.
22395 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22396 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22397 sign of result as needed afterwards.
22398 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22399 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22400 result for underflowing pow the same as for overflow.
22401 (__kernel_standard_l): Handle powl overflow and underflow here
22402 rather than calling __kernel_standard.
22403 * math/libm-test.inc (pow_test): Add more tests.
22404
414fca03 22405 [BZ #3868]
41bf21a1
JM
22406 [BZ #13879]
22407 [BZ #13910]
22408 [BZ #13911]
22409 [BZ #13912]
22410 [BZ #13913]
22411 [BZ #13915]
22412 [BZ #13916]
22413 [BZ #13917]
22414 [BZ #13918]
22415 [BZ #13919]
22416 [BZ #13920]
22417 [BZ #13921]
22418 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22419 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22420 (__kernel_standard_l): New function.
22421 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22422 __kernel_standard.
22423 * math/w_acosl.c (__acosl): Likewise.
22424 * math/w_asinl.c (__asinl): Likewise.
22425 * math/w_atan2l.c (__atan2l): Likewise.
22426 * math/w_atanhl.c (__atanhl): Likewise.
22427 * math/w_coshl.c (__coshl): Likewise.
22428 * math/w_exp10l.c (__exp10l): Likewise.
22429 * math/w_exp2l.c (__exp2l): Likewise.
22430 * math/w_fmodl.c (__fmodl): Likewise.
22431 * math/w_hypotl.c (__hypotl): Likewise.
22432 * math/w_j0l.c (__j0l, __y0l): Likewise.
22433 * math/w_j1l.c (__j1l, __y1l): Likewise.
22434 * math/w_jnl.c (__jnl, __ynl): Likewise.
22435 * math/w_lgammal.c (__lgammal): Likewise.
22436 * math/w_log10l.c (__log10l): Likewise.
22437 * math/w_log2l.c (__log2l): Likewise.
22438 * math/w_logl.c (__logl): Likewise.
22439 * math/w_powl.c (__powl): Likewise.
22440 * math/w_remainderl.c (__remainderl): Likewise.
22441 * math/w_scalbl.c (sysv_scalbl): Likewise.
22442 * math/w_sinhl.c (__sinhl): Likewise.
22443 * math/w_sqrtl.c (__sqrtl): Likewise.
22444 * math/w_tgammal.c (__tgammal): Likewise.
22445 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22446 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22447 * math/libm-test.inc (acos_test): Add more tests.
22448 (acosh_test): Likewise.
22449 (asin_test): Likewise.
22450 (atanh_test): Likewise.
22451 (exp_test): Likewise.
22452 (exp10_test): Likewise.
22453 (exp2_test): Likewise.
22454 (expm1_test): Likewise.
22455 (lgamma_test): Likewise.
22456 (log_test): Likewise.
22457 (log10_test): Likewise.
22458 (log1p_test): Likewise.
22459 (log2_test): Likewise.
22460 (pow_test): Do not allow some spurious overflow exceptions.
22461 (sqrt_test): Add more tests.
22462 (tgamma_test): Likewise.
22463 (y0_test): Likewise.
22464 (y1_test): Likewise.
22465 (yn_test): Likewise.
22466
dd62fda6
AB
224672012-03-27 Anton Blanchard <anton@samba.org>
22468
22469 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22470 MAP_HUGETLB.
22471 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22472 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22473 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22474
1e3cdfda
AJ
224752012-03-27 David S. Miller <davem@davemloft.net>
22476
b855ab85
DM
22477 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22478
1e3cdfda
AJ
22479 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22480 have-as-vis3 check.
22481
224822012-03-27 Andreas Jaeger <aj@suse.de>
22483
22484 * sysdeps/x86_64/elf/configure.in: Moved to ...
22485 * sysdeps/x86_64/configure.in: ... here.
22486 * sysdeps/x86_64/elf/start.S: Moved to ...
22487 * sysdeps/x86_64/start.S: ... here.
22488 * sysdeps/x86_64/elf/configure: Delete.
22489
22490 * sysdeps/x86_64/configure.in: Merge contents from
22491 sysdeps/i386/configure.in (without i686 check).
22492
22493 * sysdeps/i386/elf/Versions: Merge into ...
22494 * sysdeps/i386/Versions: ... this.
22495 * sysdeps/i386/elf/Versions: Delete file.
22496 * sysdeps/i386/elf/start.S: Moved to ...
22497 * sysdeps/i386/start.S: ...here.
22498 * sysdeps/i386/elf/configure.in: Merge into...
22499 * sysdeps/i386/configure.in: ...here.
22500 * sysdeps/i386/elf/configure.in: Delete file.
22501 * sysdeps/i386/elf/configure: Delete file.
22502
22503 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22504 * debug/backtracesyms.c: ... here.
22505 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22506 * debug/backtracesymsfd.c: ... here.
22507 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22508 * sysdeps/generic/ifunc-sel.h: ... here.
22509
22510 * sysdeps/unix/i386/start.c: Delete file.
22511 * sysdeps/unix/sparc/start.c: Delete file.
22512 * sysdeps/unix/start.c: Delete file.
22513
22514 * sysdeps/sh/elf/configure.in: Moved to ...
22515 * sysdeps/sh/configure.in: ... here.
22516 * sysdeps/sh/elf/start.S: Moved to ...
22517 * sysdeps/sh/start.S: ... here.
22518 * sysdeps/sh/elf/configure: Delete file.
22519
22520 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22521 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22522 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22523 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22524 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22525 * sysdeps/powerpc/powerpc64/start.S: here.
22526 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22527 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22528 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22529 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22530 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22531
22532 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22533 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22534 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22535 * sysdeps/powerpc/powerpc32/start.S: ... here.
22536 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22537 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22538 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22539
22540 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22541 * sysdeps/powerpc/ifunc-sel.h: ... here.
22542 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22543 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22544
22545 * sysdeps/sparc/elf/configure.in: Moved to ...
22546 * sysdeps/sparc/configure.in: ... here.
22547 * sysdeps/sparc/elf/configure: Delete file.
22548 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22549 * sysdeps/sparc/sparc32/start.S: ... here.
22550 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22551 * sysdeps/sparc/sparc64/start.S: ... here.
22552 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22553 * sysdeps/sparc/sparc32/Makefile: ... this.
22554 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22555 * sysdeps/sparc/sparc64/Makefile: ... this.
22556
22557 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22558 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22559 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22560 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22561 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22562 * sysdeps/s390/s390-32/setjmp.S: ... here.
22563 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22564 * sysdeps/s390/s390-32/configure.in: ... here.
22565 * sysdeps/s390/s390-32/elf/configure: Delete file.
22566 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22567 * sysdeps/s390/s390-32/start.S: ... here.
22568
22569 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22570 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22571 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22572 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22573 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22574 * sysdeps/s390/s390-64/setjmp.S: ... here.
22575 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22576 * sysdeps/s390/s390-64/configure.in: ... here
22577 * sysdeps/s390/s390-64/elf/configure: Delete file.
22578 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22579 * sysdeps/s390/s390-64/start.S: ... here.
22580 * sysdeps/s390/s390-64/elf/configure: Delete.
22581
22582 * configure.in: Remove support for elf directories in sysdeps.
22583
22584 * configure: Regenerated.
22585 * sysdeps/i386/configure: Regenerated.
22586 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22587 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22588 * sysdeps/s390/s390-32/configure: Regenerated.
22589 * sysdeps/s390/s390-64/configure: Regenerated.
22590 * sysdeps/sh/configure: Regenerated.
22591 * sysdeps/sparc/configure: Regenerated.
22592 * sysdeps/x86_64/configure: Regenerated.
22593
a3f61311
AS
225942012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22595
c876e002
AS
22596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22597
a3f61311
AS
22598 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22599 denormal result into account.
22600
ac4c54f0
RM
226012012-03-25 Roland McGrath <roland@hack.frob.com>
22602
22603 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22604 Reported by Allan McRae <allan@archlinux.org>.
22605
6a9b9c02
JL
226062012-03-23 Jeff Law <law@redhat.com>
22607
22608 * nss/getnssent.c (__nss_getent): Fix typo.
22609
4c42a0c1
DM
226102012-03-23 David S. Miller <davem@davemloft.net>
22611
22612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22613
1532c7ac
L
226142012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22615
22616 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22617 to pad to uint64_t for each field.
22618 (dl_tls_index): Replace unsigned long with uint64_t.
22619
3ff42526
PP
226202012-03-23 Daniel Jacobowitz <dmj@google.com>
22621 Paul Pluzhnikov <ppluzhnikov@google.com>
22622
22623 [BZ #6528]
22624 * grp/Makefile (otherlibs): Don't set it.
22625 * inet/Makefile (otherlibs): Likewise.
22626 * login/Makefile (otherlibs): Likewise.
22627 * nscd/Makefile (otherlibs): Likewise.
22628 * posix/Makefile (otherlibs): Likewise.
22629 * pwd/Makefile (otherlibs): Likewise.
22630 * rt/Makefile (otherlibs): Likewise.
22631 * sunrpc/Makefile (otherlibs): Likewise.
22632 * nss/Makefile (otherlibs): Likewise.
22633 Add libnss_files to routines and static-only-routines.
22634 ($(objpfx)getent): Remove rule.
22635 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22636 static-only-routines.
22637
7c69cd14
JM
226382012-03-22 Joseph Myers <joseph@codesourcery.com>
22639
22640 [BZ #13892]
22641 * math/s_cexp.c: Include <float.h>.
22642 (__cexp): Handle exp result overflowing not necessarily
22643 overflowing both real and imaginary parts of result.
22644 * math/s_cexpf.c: Likewise.
22645 * math/s_cexpl.c: Likewise.
22646 * math/libm-test.inc (cexp_test): Add more tests.
22647 * sysdeps/i386/fpu/libm-test-ulps: Update.
22648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22649
81b035fe
L
226502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22651
22652 * include/link.h (ELFW): New macro.
22653 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22654 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22655
1da7940c
L
226562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22657
22658 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22659 with uint64_t.
22660
b749dbb9
L
226612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22662
22663 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22664 declaration.
22665 (struct La_x32_retval): Likewise.
22666
2ff87f3f
L
226672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22668
22669 * sysdeps/x86_64/preconfigure.in: New file.
22670 * sysdeps/x86_64/preconfigure: New generated file.
22671
c0df8e69
JM
226722012-03-22 Joseph Myers <joseph@codesourcery.com>
22673
48e44791
JM
22674 [BZ #13824]
22675 * math/e_exp2l.c: Include <float.h>.
22676 (__ieee754_exp2l): Handle overflow and underflow cases
22677 separately. Only pass fractional part of argument to
22678 __ieee754_expl.
22679 * math/libm-test.inc (exp2_test): Add more tests.
22680
c0df8e69
JM
22681 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22682 negating x to take absolute value.
22683 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22684 Likewise.
22685 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22686 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22687 Likewise.
22688 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22689 computing low part if x was negated.
22690 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22691
c8e43ba7
L
226922012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22693
22694 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22695 la_x32_gnu_pltexit.
22696 (pltexit): Cast int_retval to ptrdiff_t.
22697 * elf/tst-auditmod3b.c: Likewise.
22698 * elf/tst-auditmod4b.c: Likewise.
22699 * elf/tst-auditmod5b.c: Likewise.
22700 * elf/tst-auditmod6b.c: Likewise.
22701 * elf/tst-auditmod6c.c: Likewise.
22702 * elf/tst-auditmod7b.c: Likewise.
22703
22704 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22705 and x32_gnu_pltexit.
22706
22707 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22708 __ELF_NATIVE_CLASS.
22709 (La_x32_regs): New macro.
22710 (La_x32_retval): Likewise.
22711 (la_x32_gnu_pltenter): New function prototype.
22712 (la_x32_gnu_pltexit): Likewise.
22713
7998fa78
AS
227142012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22715
dcb33988
AS
22716 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22717 exponent.
22718
233fc563
AS
22719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22720
7998fa78
AS
22721 * configure.in (libc_cv_cc_nofma): Check for option to disable
22722 generation of FMA instructions.
22723 * configure: Regenerate.
22724 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22725 * sysdeps/ieee754/dbl-64/Makefile: New file.
22726 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22727 Remove brandred-fma4.
22728 (CFLAGS-brandred-fma4.c): Remove.
22729 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22730 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22731 define.
22732 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22733 define.
22734
8e95c99a
L
227352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22736
22737 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22738 LLONG_MAX != LONG_MAX.
22739 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22740 (_fitoa_word): Likewise.
22741 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22742 LLONG_MAX != LONG_MAX.
22743 * stdio-common/_itowa.h: Include <_itoa.h>.
22744 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22745 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22746 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22747 only if not defined.
22748 (_ITOA_WORD_TYPE): Likewise.
22749 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22750 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22751
6f4db457
DM
227522012-03-21 David S. Miller <davem@davemloft.net>
22753
22754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22755
7785fe5a
L
227562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22757
22758 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22759 of x86_64 when setting libc_cv_slibdir, libdir and
22760 libc_cv_localedir.
22761 * sysdeps/unix/sysv/linux/configure: Regenerated.
22762
4535cd55
JM
227632012-03-21 Joseph Myers <joseph@codesourcery.com>
22764
22765 * manual/lang.texi (Old Varargs): Remove section.
22766 (How Variadic): Update menu.
22767 (va_start): Do not mention varargs.h.
22768
17228132
TS
227692012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22770 Joseph Myers <joseph@codesourcery.com>
22771
22772 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22773 link test.
22774 * configure: Regenerated.
22775
8149f976
TS
227762012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22777
05f3d1f6
UD
22778 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22779 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22780 conformtest.pl
8149f976 22781
1a4ac776
JM
227822012-03-21 Joseph Myers <joseph@codesourcery.com>
22783
be22ce65
JM
22784 * NOTES: Remove.
22785 * Makefile (files-for-dist): Remove NOTES.
22786 (NOTES): Remove rule.
22787 * README: Don't refer to NOTES.
22788 * manual/creature.texi: Don't include macros.texi.
22789 * manual/intro.texi (creature.texi): Remove comment referring to
22790 NOTES.
22791
40b601fb
JM
22792 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22793 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22794 * configure: Regenerated.
22795 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22796 LIBC_TRY_CC_OPTION.
22797 (libc_cv_as_i686): Likewise.
22798 (libc_cv_cc_avx): Likewise.
22799 (libc_cv_cc_sse2avx): Likewise.
22800 (libc_cv_cc_fma4): Likewise.
22801 (libc_cv_cc_novzeroupper): Likewise.
22802 * sysdeps/i386/configure: Regenerated.
22803
1a4ac776
JM
22804 [BZ #13883]
22805 * sysdeps/i386/fpu/s_cexp.S: Remove.
22806 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22807 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22808 * math/libm-test.inc (cexp_test): Add more tests.
22809 * sysdeps/i386/fpu/libm-test-ulps: Update.
22810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22811
a458e7fe
AM
228122012-03-21 Allan McRae <allan@archlinux.org>
22813
22814 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22815
0cb7efc5
JM
228162012-03-21 Joseph Myers <joseph@codesourcery.com>
22817
22818 [BZ #13871]
22819 * math/w_exp2.c: Do not include <float.h>.
22820 (o_threshold, u_threshold): Remove.
22821 (__exp2): Calculate result before checking finiteness and calling
22822 __kernel_standard.
22823 * math/w_exp2f.c: Likewise.
22824 * math/w_exp2l.c: Likewise.
22825 * math/libm-test.inc (exp2_test): Require overflow exception for
22826 1e6 input.
2460d3aa
JM
22827
22828 [BZ #3866]
22829 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22830 range of signed 64-bit integers before using fistpll. Remove
22831 checks for whether integers fit in mantissa bits.
22832 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22833 the range of signed 32-bit integers before using fistpl. Remove
22834 checks for whether integers fit in mantissa bits.
22835 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22836 (__ieee754_powl): Test for y outside the range of signed 64-bit
22837 integers before using fistpll. Reduce 64-bit values to 63-bit
22838 ones as needed.
22839 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22840 divide-by-zero is raised for zero to large negative powers.
22841 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22842 (__ieee754_powl): Test for y outside the range of signed 64-bit
22843 integers before using fistpll. Reduce 64-bit values to 63-bit
22844 ones as needed.
22845 * math/libm-test.inc (pow_test): Add more tests.
22846
eb96ffb0
L
228472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22848
22849 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22850 <stdio-common/_itoa.h>.
22851 * debug/segfault.c: Likewise.
22852 * elf/dl-cache.c: Likewise.
22853 * elf/dl-minimal.c: Likewise.
22854 * elf/dl-misc.c: Likewise.
22855 * elf/dl-sysdep.c: Likewise.
22856 * elf/dl-version.c: Likewise.
22857 * elf/rtld.c: Likewise.
22858 * hurd/hurdsock.c: Likewise.
22859 * hurd/lookup-retry.c: Likewise.
22860 * malloc/malloc.c: Likewise.
22861 * malloc/mtrace.c: Likewise.
22862 * nscd/nscd_getgr_r.c: Likewise.
22863 * nscd/nscd_getpw_r.c: Likewise.
22864 * nscd/nscd_getserv_r.c: Likewise.
22865 * posix/getopt_init.c: Likewise.
22866 * posix/wordexp.c: Likewise.
22867 * stdio-common/_itoa.c: Likewise.
22868 * stdio-common/printf_fphex.c: Likewise.
22869 * stdio-common/vfprintf.c: Likewise.
22870 * string/_strerror.c: Likewise.
22871 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22872 * sysdeps/i386/i686/hp-timing.h: Likewise.
22873 * sysdeps/mach/_strerror.c: Likewise.
22874 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22875 * sysdeps/mach/hurd/sethostid.c: Likewise.
22876 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22877 * sysdeps/mach/xpg-strerror.c: Likewise.
22878 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22879 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22880 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22881 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22882 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22883 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22884 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22885 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22886 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22887 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22888 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22889 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22890 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22891 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22892 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22893 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22894 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22895 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22896 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22897 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22898 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22899
22900 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22901
22902 * stdio-common/_itoa.h: Moved to ...
22903 * sysdeps/generic/_itoa.h: Here.
22904
22905 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22906
22907 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22908 instead of "_itoa.h" and "_itowa.h".
22909 * stdio-common/vfprintf.: Likewise.
22910
d1af992d
L
229112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22912
22913 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22914 <bits/wordsize.h>.
22915 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22916 (__signbit): Likwise.
22917 (llrintf): Likwise.
22918 (llrint): Likwise.
22919
114883e0
L
229202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22921
22922 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22923 __WORDSIZE != 64.
22924
c135cc1b
JM
229252012-03-20 Joseph Myers <joseph@codesourcery.com>
22926
22927 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22928 OVERFLOW_EXCEPTION_OK.
22929 * math/libm-test.inc ("Philosophy"): Update comment about
22930 exception testing.
22931 (OVERFLOW_EXCEPTION): Define.
22932 (OVERFLOW_EXCEPTION_OK): Likewise.
22933 (INVALID_EXCEPTION_OK): Renumber.
22934 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22935 (IGNORE_ZERO_INF_SIGN): Likewise.
22936 (test_exceptions): Handle FE_OVERFLOW.
22937 (exp10_test): Expect overflow exceptions.
22938 (exp2_test): Likewise.
22939 (expm1_test): Likewise.
22940 (nextafter_test): Likewise.
22941 (pow_test): Likewise.
22942 (scalbn_test): Likewise.
22943 (scalbln_test): Likewise.
22944
95443d88
L
229452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22946
22947 * sysdeps/x86_64/bits/atomic.h
22948 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22949 64bit integer.
22950 (atomic_exchange_acq): Likewise.
22951 (__arch_exchange_and_add_body): Likewise.
22952 (__arch_add_body): Likewise.
22953 (atomic_add_negative): Likewise.
22954 (atomic_add_zero): Likewise.
22955
490df6c4
L
229562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22957
c2722551 22958 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22959 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22960
5e52b189
L
229612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22962
22963 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22964 Check __x86_64__ instead of __WORDSIZE.
22965
a9879d4c
L
229662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22967
22968 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22969
5df98260
DM
229702012-03-19 David S. Miller <davem@davemloft.net>
22971
e1497744
DM
22972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22973
5df98260
DM
22974 * sysdeps/sparc/fpu/fenv_private.h: New file.
22975 * sysdeps/sparc/fpu/math_private.h: Use it.
22976 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22977 Remove.
22978 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22979 (libc_feholdexcept_setroundl): Remove.
22980 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22981 Remove.
22982 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22983 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22984
b4c35121
L
229852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22986
22987 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22988 int64_t instead of long int.
22989 (INSERT_WORDS64): Likwise.
22990
56965fd7
L
229912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22992
22993 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22994 _Unwind_GetCFA return to _Unwind_Ptr first.
22995
83d1aec8
JM
229962012-03-19 Joseph Myers <joseph@codesourcery.com>
22997
1897ad44
JM
22998 [BZ #13629]
22999 * math/s_clog.c: Include <float.h>.
23000 (__clog): Scale large or subnormal inputs.
23001 * math/s_clogf.c: Likewise.
23002 * math/s_clogl.c: Likewise.
23003 * math/s_clog10.c: Include <float.h>.
23004 (M_LOG10_2): Define.
23005 (__clog10): Scale large or subnormal inputs.
23006 * math/s_clog10f.c: Likewise.
23007 * math/s_clog10l.c: Likewise.
23008 * math/libm-test.inc (clog_test): Add more tests.
23009 (clog10_test): Likewise.
23010 * sysdeps/i386/fpu/libm-test-ulps: Update.
23011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23012
7726d6a9
JM
23013 [BZ #11451]
23014 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23015 x and y.
23016 * math/libm-test.inc (atan2_test): Add another test.
23017
83d1aec8
JM
23018 * Makerules (common-objdir-compile): Remove.
23019 * sysdeps/unix/Makefile (config-generated): Do not add
23020 $(unix-generated) to variable.
23021 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23022 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23023 Remove rule.
23024 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23025 Likewise.
23026 [generic bits/local_lim.h] (before-compile): Do not append to
23027 variable.
23028 [generic bits/local_lim.h] (common-generated): Likewise.
23029 [generic sys/param.h] (before-compile): Do not append to variable.
23030 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23031 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23032 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23033 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23034 include.
23035 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23036 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23037 [generic sys/param.h] ($(addprefix
23038 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23039 [generic sys/param.h] (common-generated): Do not append to
23040 variable.
23041 [generic sys/param.h] (sysdep_headers): Likewise.
23042 [generic bits/errno.h] (before-compile): Do not append to
23043 variable.
23044 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23045 rule.
23046 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23047 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23048 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23049 [generic bits/errno.h] (common-generated): Do not append to
23050 variable.
23051 [generic bits/ioctls.h] (before-compile): Do not append to
23052 variable.
23053 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23054 rule.
23055 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23056 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23057 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23058 rule.
23059 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23060 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23061 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23062 [generic bits/ioctls.h] (common-generated): Do not append to
23063 variable.
23064 [generic sys/syscall.h] (syscall.h): Remove variable.
23065 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23066 rule.
23067 [generic sys/syscall.h] (before-compile): Do not append to
23068 variable.
23069 [generic sys/syscall.h] (common-generated): Likewise.
23070 * sysdeps/unix/errnos-tmpl.c: Remove file.
23071 * sysdeps/unix/errnos.awk: Likewise.
23072 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23073 * sysdeps/unix/ioctls.awk: Likewise.
23074 * sysdeps/unix/mk-local_lim.c: Likewise.
23075 * sysdeps/unix/snarf-ioctls: Likewise.
23076
4851a949
RH
230772012-03-19 Richard Henderson <rth@twiddle.net>
23078
bd37f2ee
RH
23079 * sysdeps/i386/fpu/fenv_private.h: New file.
23080 * sysdeps/i386/fpu/math_private.h: Use it.
23081 (math_opt_barrier, math_force_eval): Remove.
23082 (libc_feholdexcept_setround_53bit): Remove.
23083 (libc_feupdateenv_53bit): Remove.
23084 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23085 (math_opt_barrier, math_force_eval): Remove.
23086 (libc_feholdexcept): Remove.
23087 (libc_feholdexcept_setround): Remove.
23088 (libc_fetestexcept, libc_fesetenv): Remove.
23089 (libc_feupdateenv_test): Remove.
23090 (libc_feupdateenv, libc_feholdsetround): Remove.
23091 (libc_feresetround): Remove.
23092
d0adc922
RH
23093 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23094 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23095
0fe0f1f8
RH
23096 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23097 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23098 (libc_feupdateenv_testl): New.
23099 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23100 (libc_feupdateenv_testf): New.
23101 (libc_feupdateenv): Use libc_feupdateenv_test.
23102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23103 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23104
eb92c487
RH
23105 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23106 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23107 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23108 (libc_feresetround_noex): New.
23109 (libc_feresetround_noexf): New.
23110 (libc_feresetround_noexl): New.
23111 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23112 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23113 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23114 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23115 SET_RESTORE_ROUND.
23116 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23117 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23118 (__cos): Likewise.
23119 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23120 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23121 SET_RESTORE_ROUND_NOEX.
23122 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23123 SET_RESTORE_ROUND_NOEXF.
23124 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23125 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23126 (libc_feholdsetroundf): New.
23127 (libc_feresetround, libc_feresetroundf): New.
23128
7d2e8012
RH
23129 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23130 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23131 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23132
b4dabbb4
RH
23133 * sysdeps/generic/math_private.h: Include <fenv.h>.
23134 (default_libc_feholdexcept): New.
23135 (default_libc_feholdexcept_setround): New.
23136 (default_libc_fesetenv, default_libc_feupdateenv): New.
23137 (libc_feholdexcept): Only define if undefined.
23138 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23139 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23140 (libc_feholdexcept_setroundl): Likewise.
23141 (libc_feholdexcept_setround_53bit): Likewise.
23142 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23143 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23144 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23145 (libc_feupdateenv_53bit): Likewise.
23146 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23147 (libc_feholdexcept): Convert from macro to inline function.
23148 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23149 (libc_fesetenv, libc_feupdateenv): Likewise.
23150
4851a949
RH
23151 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23152 not previously defined.
23153 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23154 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23155 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23156 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23157 * sysdeps/ieee754/flt-32/math_private.h: New file.
23158 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23159 math_private.h below SET_FLOAT_WORD.
23160 (__isnan, __isinf_ns, __finite): Remove.
23161 (__isnanf, __isinf_nsf, __finitef): Remove.
23162
e79d442e
AS
231632012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23164
23165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23166
90b80344
DM
231672012-03-17 David S. Miller <davem@davemloft.net>
23168
23169 [BZ #6471]
23170 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23171 for 2.16.
23172
edc21804
DM
231732012-03-16 David S. Miller <davem@davemloft.net>
23174
77e927af
DM
23175 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23176 warnings.
23177
374976dd
DM
23178 [BZ #6471]
23179 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23180 properly.
23181 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23182 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23183 sysdep_routines when subdir is sysvipc.
23184 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23185 __getshmlba helper.
23186
edc21804
DM
23187 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23188
473c3ef3
L
231892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23190
23191 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23192 [__LP64__].
23193
eb0f39b6
L
231942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23195
23196 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23197 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23198 (__lround): Renamed to ...
23199 (__llround): This. Replace long int with long long int.
23200 Define lround functions as aliases of llround functions.
23201 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23202
6b6cd74b
L
232032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23204
23205 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23206 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23207 adresses to uintptr_t. Replace "long int" and "unsigned long
23208 int" with "greg_t" on va_arg.
23209
f1a77b01
L
232102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23211
23212 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23213 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23214
23215 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23216 Move e_machine check before EI_CLASS check. Handle x32
23217 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23218 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23219 SKIP_EM_IA_64 and include
23220 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23221
23222 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23223 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23224 (add_system_dir): New macro.
23225
23226 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23227 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23228
11b90b9f
JM
232292012-03-16 Joseph Myers <joseph@codesourcery.com>
23230
c36e1d23
JM
23231 [BZ #2551]
23232 [BZ #2552]
23233 [BZ #2553]
23234 [BZ #2554]
23235 [BZ #2562]
23236 [BZ #2563]
23237 [BZ #2565]
23238 [BZ #2566]
23239 [BZ #2576]
23240 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23241 (y0): Likewise.
23242 * math/w_j0f.c (j0f): Likewise.
23243 (y0f): Likewise.
23244 * math/w_j0l.c (__j0l): Likewise.
23245 (__y0l): Likewise.
23246 * math/w_j1.c (j1): Likewise.
23247 (y1): Likewise.
23248 * math/w_j1f.c (j1f): Likewise.
23249 (y1f): Likewise.
23250 * math/w_j1l.c (__j1l): Likewise.
23251 (__y1l): Likewise.
23252 * math/w_jn.c (jn): Likewise.
23253 (yn): Likewise.
23254 * math/w_jnf.c (jnf): Likewise.
23255 (ynf): Likewise.
23256 * math/w_jnl.c (__jnl): Likewise.
23257 (__ynl): Likewise.
23258 * math/libm-test.inc (j0_test): Add more tests.
23259 (j1_test): Likewise.
23260 (jn_test): Likewise. Add trailing semicolon to existing test.
23261 (y0_test): Likewise.
23262 (y1_test): Likewise.
23263 * sysdeps/i386/fpu/libm-test-ulps: Update.
23264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23265
11b90b9f
JM
23266 [BZ #13851]
23267 [BZ #13854]
23268 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23269 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23270 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23271 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23272 (__tanl): Set errno for infinite argument.
23273 * sysdeps/i386/fpu/mptan.c: Remove.
23274 * sysdeps/i386/fpu/s_tan.S: Likewise.
23275 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23276 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23277 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23278 * math/libm-test.inc (tan_test): Add more tests and enable more
23279 tests for double and long double.
23280 * sysdeps/i386/fpu/libm-test-ulps: Update.
23281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23282
6a1bd2a1
JK
232832012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23284
23285 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23286 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23287
10a803e0
RM
232882012-03-16 Roland McGrath <roland@hack.frob.com>
23289
23290 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23291 * configure.in: Use it for both main tree and add-ons.
23292 * configure: Regenerated.
23293
f196c7f7
L
232942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23295
23296 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23297
8848d99d
JM
232982012-03-16 Joseph Myers <joseph@codesourcery.com>
23299
96cbe7f4
JM
23300 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23301 in comment.
23302
8848d99d
JM
23303 [BZ #13851]
23304 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23305 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23306 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23307 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23308 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23309 infinite argument.
23310 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23311 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23312 != 0 for prec == 2.
23313 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23314 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23315 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23316 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23317 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23318 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23319 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23320 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23321 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23322 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23323 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23324 * math/libm-test.inc (cos_test): Add more tests and enable more
23325 tests for long double.
23326 (sin_test): Likewise.
23327 (sincos_test): Likewise.
23328 * sysdeps/i386/fpu/libm-test-ulps: Update.
23329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23330
dd7f4703
DM
233312012-03-16 David S. Miller <davem@davemloft.net>
23332
23333 * sysdeps/sparc/fpu/math_private.h: New file.
23334
006f1daa
DM
233352012-03-15 David S. Miller <davem@davemloft.net>
23336
c0c83bc8
DM
23337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23338 file.
e6a62e18 23339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23341 file.
e6a62e18
DM
23342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23347 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23348 sysdep routines.
23349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23350
88cb87d9
DM
23351 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23352 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23353
006f1daa 23354 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23356 sparc-ifunc.h
006f1daa 23357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23359 Likewise.
23360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23361 Likewise.
006f1daa
DM
23362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23366 Likewise.
006f1daa
DM
23367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23372 Likewise.
23373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23374 Likewise.
006f1daa
DM
23375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23381 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23382 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23384 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23390 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23391 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23392 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23393 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23394 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23395 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23396 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23397 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23398 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23399
11e0098e
AS
234002012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23401
23402 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23403 scaling.
23404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23405
e85b09d0
AJ
234062012-03-15 Andreas Jaeger <aj@suse.de>
23407
23408 [BZ #13852]
23409 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23410 ieee754/flt-32 implementation for sin, cos and sincos.
23411 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23412 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23413 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23414 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23415 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23416 ieee754/flt-32 implementation for tan.
23417
23418 * math/libm-test.inc (cos_test): Enable some large input tests for
23419 float as well
23420 (sin_test): Likewise.
23421 (sincos_test): Likewise.
23422 (tan_test): Add tests for large input.
23423
23424 * sysdeps/i386/fpu/libm-test-ulps: Update.
23425
81c64153
AJ
234262012-03-15 Andreas Jaeger <aj@suse.de>
23427
23428 [BZ #13658]
23429 * math/libm-test.inc (cos_test): Add more test cases.
23430 (sin_test): Likewise.
23431 (sincos_test): Likewise.
23432
7bbfa5c6
AJ
234332012-03-15 Andreas Jaeger <aj@suse.de>
23434
23435 [BZ #13837]
23436 * math/libm-test.inc (cos_test): Add a test case for large input
23437 value.
23438 (sin_test): Likewise.
23439 (sincos_test): Likewise.
23440
234412012-03-15 Andreas Jaeger <aj@suse.de>,
23442 Joseph Myers <joseph@codesourcery.com>
23443
23444 [BZ #13658]
0671f479 23445 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23446 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23447 * sysdeps/i386/fpu/branred.c: Likewise.
23448 * sysdeps/i386/fpu/dosincos.c: Likewise.
23449 * sysdeps/i386/fpu/mpa.c: Likewise.
23450 * sysdeps/i386/fpu/s_cos.S: Likewise.
23451 * sysdeps/i386/fpu/s_sin.S: Likewise.
23452 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23453 * sysdeps/i386/fpu/sincos32.c: Likewise.
23454
23455 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23456 Define.
23457 (libc_feupdateenv_53bit): Define.
23458 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23459 Define.
23460 (libc_feupdateenv_53bit): Define.
23461
23462 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23463 53 bit (without extend i386 double precision).
23464
23465 * math/libm-test.inc (sincos_test): Add tests for large input.
23466 (sin): Likewise.
23467 (cos): Likewise.
23468
23469 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23470
9cad04ea
AS
234712012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23472
23473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23474
f7062b9a
DM
234752012-03-15 David S. Miller <davem@davemloft.net>
23476
23477 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23478 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23479 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23480 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23493 file.
f7062b9a 23494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23496 file.
f7062b9a 23497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23499 file.
f7062b9a 23500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23502 file.
f7062b9a
DM
23503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23504 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23505 fmin/fmax sysdep routines.
23506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23507
7bd951ff
DM
235082012-03-14 David S. Miller <davem@davemloft.net>
23509
559398ab
DM
23510 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23511 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23513 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23514 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23515 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23516 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23517 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23518 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23519 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23520 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23521 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23526 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23527 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23528 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23529 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23530 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23531 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23532 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23533 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23534 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23535 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23536 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23537 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23538 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23539 routines.
23540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23541 file.
559398ab 23542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23544 file.
559398ab 23545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23547 file.
559398ab 23548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23550 file.
559398ab 23551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23553 file.
559398ab 23554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23556 file.
23557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23558 file.
23559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23560 file.
23561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23562 file.
23563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23564 New file.
23565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23566 file.
23567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23568 file.
559398ab 23569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23571 file.
559398ab 23572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23574 file.
559398ab 23575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23577 file.
559398ab 23578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23580 VIS3 routines.
559398ab
DM
23581
23582 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23583 New file.
23584
5a1c1e32
DM
23585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23586
eae47a36
DM
23587 * sysdeps/sparc/configure.in: New file.
23588 * sysdeps/sparc/configure: Generate.
23589 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23590 * configure: Regenerate.
23591 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23592 * config.make.in (have-as-vis3): New.
23593 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23594 available use -Av9d instead of -Av9a.
23595 * sysdeps/sparc/sparc64/Makefile: Likewise.
23596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23598 New file.
23599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23600 file.
23601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23602 New file.
23603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23604 file.
eae47a36
DM
23605 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23606 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23607 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23608 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23609 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23610
c0c83bc8
DM
23611 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23612 fzeros/fnegs to load 0x80000000 into a float register instead of
23613 using the stack.
7bd951ff
DM
23614 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23615
bd951ccb
JM
236162012-03-14 Joseph Myers <joseph@codesourcery.com>
23617
23618 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23619 bits/syscall.h.
23620 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23621 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23622 ($(inst_includedir)/bits/syscall.h): Remove rule.
23623 ($(objpfx)bits/syscall.d): Include instead of
23624 $(objpfx)syscall-list.d.
23625 (generated): Change syscall-list.h and syscall-list.d to
23626 bits/syscall.h and bits/syscall.d.
23627
bb4e6db2
RM
236282012-03-14 Roland McGrath <roland@hack.frob.com>
23629
23630 [BZ #13846]
23631 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23632
aa4a2ae1
JM
236332012-03-14 Joseph Myers <joseph@codesourcery.com>
23634
e456826d
JM
23635 [BZ #13841]
23636 * math/s_csqrt.c: Include <float.h>.
23637 (__csqrt): Scale large or subnormal inputs.
23638 * math/s_csqrtf.c: Likewise.
23639 * math/s_csqrtl.c: Likewise.
23640 * math/libm-test.inc (csqrt_test): Add more tests.
23641 * sysdeps/i386/fpu/libm-test-ulps: Update.
23642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23643
aa4a2ae1
JM
23644 [BZ #13840]
23645 * math/libm-test.inc (hypot_test): Add more tests.
23646
7c10fd35
DM
236472012-03-13 David S. Miller <davem@davemloft.net>
23648
23649 [BZ #13840]
23650 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23651 double-precision for the calculation instead of scaling.
23652
f453b98b
JM
236532012-03-13 Joseph Myers <joseph@codesourcery.com>
23654
23655 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23656 manipulate bits before adding and subtracting TWO52[sx].
23657 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23658 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23659 Likewise.
23660 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23661
09a3453f
DM
236622012-03-13 David S. Miller <davem@davemloft.net>
23663
8e59da90
DM
23664 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23665 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23666 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23667 rtld-global-offsets.h
23668 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23669
2a8ab7f2
DM
23670 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23671 large parameters.
23672
10f62770
DM
23673 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23674
5f0bdb18
DM
23675 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23676 'err' in the ifdef scope in which it is actually used.
23677
09a3453f
DM
23678 * nss/nss_db/db-init.c: Include string.h
23679
b4b2eb5e
DM
236802012-03-12 David S. Miller <davem@davemloft.net>
23681
98bb2f1c
DM
23682 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23683 masking out of the most significant byte of random value used.
23684 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23685 Fix coding style in previous change.
23686
b4b2eb5e
DM
23687 * sysdeps/unix/sysv/linux/kernel-features.h
23688 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23689 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23690 expression.
23691 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23692 later.
23693
6e226b09
DM
236942012-03-11 David S. Miller <davem@davemloft.net>
23695
a1bcbd40
DM
23696 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23697 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23698 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23699 for 'resultvar' otherwise things get truncated on 64-bit.
23700
cb9d6174
DM
23701 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23702 Fix masking out of the most significant byte of random value used.
23703
6e226b09
DM
23704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23705
058c132d
AS
237062012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23707
23708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23709
2d2cd515
DM
237102012-03-09 David S. Miller <davem@davemloft.net>
23711
23712 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23713 variables with appropriate CPP guards.
23714 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23715 frame pointer, not the stack pointer. Correct layout comments. Fix test
23716 on resulting framesize and the management of the outregs buffer for pltexit.
23717 Preserve floating point return values across _dl_call_pltexit call.
23718 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23719 framesize and the management of the outregs buffer for pltexit.
23720 Preserve floating point return values across _dl_call_pltexit
23721 call.
23722 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23723 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23724 (print_exit): Fix format string for return register value.
23725
9a07f9d0
JM
237262012-03-10 Joseph Myers <joseph@codesourcery.com>
23727
23728 * sunrpc/Makefile (others): Add rpcgen.
23729 ($(objpfx)rpcgen): Remove special build rule and dependency on
23730 libc.
23731 * sunrpc/rpcgen.c: New file.
23732
547b5e30
PE
237332012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23734
c524201a
PE
23735 [BZ #13673]
23736 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23737 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23738 * sysdeps/i386/crti.S: Likewise.
23739 * sysdeps/i386/crtn.S: Likewise.
23740 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23741 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23742 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23743 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23744 * sysdeps/sh/crti.S: Likewise.
23745 * sysdeps/sh/crtn.S: Likewise.
23746 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23747
7b6235f2
PE
23748 [BZ #13673]
23749 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23750 with URL.
23751 * locale/programs/locfile-kw.gperf: Likewise.
23752 * locale/programs/charmap-kw.h: Regenerated.
23753 * locale/programs/locfile-kw.h: Likewise.
23754
547b5e30
PE
23755 [BZ #13673]
23756 * intl/plural.y: Replace FSF snail mail address with URL.
23757 * intl/plural.c: Regenerated.
23758
5f0a5dae
RH
237592012-03-09 Richard Henderson <rth@twiddle.net>
23760
23761 * include/math_private.h: Remove file.
23762 * math/math_private.h: Move file ...
23763 * sysdeps/generic/math_private.h: ... here.
23764
b8c03620
RH
23765 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23766 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23767 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23768
4e234f5d 23769 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23770 and <math_private.h>.
23771 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23772 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23773 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23774 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23775 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23776 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23777 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23778 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23779 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23780 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23781 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23782 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23783 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23784 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23785 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23786 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23787 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23788 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23789 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23790 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23791 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23792 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23793 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23794 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23795 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23796 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23797 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23798 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23799 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23800 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23801 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23802 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23803 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23804 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23805 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23806 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23807 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23808 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23809 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23810 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23811 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23812 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23813 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23814 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23815 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23816 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23817 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23818 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23819 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23820 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23821 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23822 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23823 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23824 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23825 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23826 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23827 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23828 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23829 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23830 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23831 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23832 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23833 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23834 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23835 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23836 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23837 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23838 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23839 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23840 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23841 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23842 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23843 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23844 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23845 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23847 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23848 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23849 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23850 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23851 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23852 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23853 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23854 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23855 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23856 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23857 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23858 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23859 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23860 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23861 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23862 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23863 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23864 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23865 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23866 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23867 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23868 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23869 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23870 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23871 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23872 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23873 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23874 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23875 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23876 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23877 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23878 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23879 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23880 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23881 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23882 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23883 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23884 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23885 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23886 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23887 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23888 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23889 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23890 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23891 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23892 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23893 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23894 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23895 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23896 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23897 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23898 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23899 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23900 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23901 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23902 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23903 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23904 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23905 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23906 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23907 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23908 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23909 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23910 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23911 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23912 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23913 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23914 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23915 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23916 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23917 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23918 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23919 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23920 * sysdeps/ieee754/k_standard.c: Likewise.
23921 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23922 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23923 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23924 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23925 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23926 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23927 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23928 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23929 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23930 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23931 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23932 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23933 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23934 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23935 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23936 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23937 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23938 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23939 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23940 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23941 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23942 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23943 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23944 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23945 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23946 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23947 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23948 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23949 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23950 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23951 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23952 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23953 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23954 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23955 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23956 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23957 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23958 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23959 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23960 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23961 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23962 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23963 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23964 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23965 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23966 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23967 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23968 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23969 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23970 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23971 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23972 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23973 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23974 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23975 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23976 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23977 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23978 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23979 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23980 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23981 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23982 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23983 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23984 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23985 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23986 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23987 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23988 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23989 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23990 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23991 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23992 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23993 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23994 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23995 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23996 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23997 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23998 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23999 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24000 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24001 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24002 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24003 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24004 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24005 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24006 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24007 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24008 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24009 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24010 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24011 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24012 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24013 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24014 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24015 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24016 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24017 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24018 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24019 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24020 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24021 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24022 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24023 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24024 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24025 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24026 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24027 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24028 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24029 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24030 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24031 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24032 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24033 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24034 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24035 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24036 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24037 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24038 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24039 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24040 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24041 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24042 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24043 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24044 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24045 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24046 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24047 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24048 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24049 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24050 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24051 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24052 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24053 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24054 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24055 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24056 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24057 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24058 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24059 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24060 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24061 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24062 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24063 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24064 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24065 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24066 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24067 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24068 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24069 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24070 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24071 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24072 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24073 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24074 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24075 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24076 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24077 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24078 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24079 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24080 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24081 * sysdeps/ieee754/s_lib_version.c: Likewise.
24082 * sysdeps/ieee754/s_matherr.c: Likewise.
24083 * sysdeps/ieee754/s_signgam.c: Likewise.
24084 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24085 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24086 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24087 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24088 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24089 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24090 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24091 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24092 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24093 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24094 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24095 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24096 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24097 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24098 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24099 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24100 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24101 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24102 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24103 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24104 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24105
1991fa03
JM
241062012-03-09 Joseph Myers <joseph@codesourcery.com>
24107
24108 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24109 * sunrpc/rpc_main.c: Likewise.
24110 * sunrpc/rpc_svcout.c: Likewise.
24111
60d6f5a6
DM
241122012-03-09 David S. Miller <davem@davemloft.net>
24113
24114 * include/math_private.h: New file.
24115
4962050e
JM
241162012-03-09 Joseph Myers <joseph@codesourcery.com>
24117
02a6f887
JM
24118 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24119 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24120 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24121 from <bits/socket_type.h>.
24122 (enum __socket_type): Don't define here.
24123 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24125 bits/socket_type.h.
24126
c6e013c1
JM
24127 [BZ #13566]
24128 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24129 checking __USE_GNU.
24130
4962050e
JM
24131 * Makerules ($(inst_includedir)/%.h): New rule.
24132 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24133 (install-others): Remove variable setting.
24134 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24135
38842f45
RH
241362012-03-08 Richard Henderson <rth@twiddle.net>
24137
67bb6da6
RH
24138 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24139 from macro to inline function; merge with the
24140 !__LIBC_INTERNAL_MATH_INLINES version.
24141 (__ieee754_sqrtf): Likewise.
24142
15194b4b
RH
24143 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24144 to inline function.
24145 (__rintf, __floor, __floorf): Likewise.
24146
64e21ede
RH
24147 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24148 macro to inline function.
24149 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24150
38842f45
RH
24151 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24152 not <math/math_private.h>.
24153
c64bf5fe
DM
241542012-03-08 David S. Miller <davem@davemloft.net>
24155
24156 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24157 copyright year.
24158 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24159
82d86f28
TS
241602012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24161
24162 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24163 normalization.
24164 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24165 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24166
aea5d727
UD
241672012-03-08 Ulrich Drepper <drepper@gmail.com>
24168
24169 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24170 be defined individually, they must be defined as a block. Define
24171 S for printing a string instead of hidint the different by using a
24172 macro for adding the 'l'.
24173 * stdio-common/tst-fphex-wide.c: Adjust.
24174
70bca0a3
MP
241752012-03-07 Marek Polacek <polacek@redhat.com>
24176
24177 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24178
65b81130
MP
241792012-03-08 Marek Polacek <polacek@redhat.com>
24180
24181 [BZ #13806]
24182 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24183 * stdio-common/tst-fphex.c: Define a few macros to make the
24184 test reusable. Use them.
24185 * stdio-common/tst-fphex-wide.c: New file.
24186
07037eeb
JM
241872012-03-08 Joseph Myers <joseph@codesourcery.com>
24188
a7a93d50
JM
24189 [BZ #6911]
24190 * manual/macros.texi (gnusystems): New macro.
24191 (nongnusystems): Likewise.
24192 (gnulinuxhurdsystems): Likewise.
24193 (gnuhurdsystems): Likewise..
24194 (gnulinuxsystems): Likewise.
24195 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24196 variants of the GNU system, not "GNU system".
24197 * manual/conf.texi: Likewise.
24198 * manual/errno.texi: Likewise. Update example of errno macro
24199 expansion.
24200 * manual/filesys.texi: Likewise.
24201 (getumask): Document as specific to GNU/Hurd.
24202 * manual/install.texi: Likewise. Reword some references to
24203 GNU/Linux.
24204 * manual/intro.texi: Likewise.
24205 * manual/io.texi: Likewise.
24206 (File Name Portability): Detail which constraints are inapplicable
24207 to all GNU systems and which are only inapplicable to GNU/Hurd.
24208 * manual/job.texi: Likewise.
24209 * manual/llio.texi: Likewise.
24210 (O_NOCTTY): Document as present on GNU/Linux.
24211 * manual/maint.texi: Likewise.
24212 * manual/memory.texi: Likewise.
24213 * manual/pattern.texi: Likewise.
24214 * manual/pipe.texi: Likewise.
24215 * manual/process.texi: Likewise.
24216 * manual/resource.texi: Likewise.
24217 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24218 child on GNU/Hurd.
24219 * manual/setjmp.texi: Likewise.
24220 * manual/signal.texi: Likewise.
24221 * manual/startup.texi: Likewise.
24222 * manual/stdio.texi: Likewise.
24223 * manual/terminal.texi: Likewise.
24224 (ONLCR): Document as POSIX.
24225 (OXTABS): Document availability on GNU/Linux as XTABS.
24226 (ONOEOT): Document availability separately from other bits.
24227 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24228 * manual/time.texi: Likewise.
24229 * manual/users.texi: Likewise.
24230 * INSTALL: Regenerated.
24231 * sysdeps/gnu/errlist.c: Regenerated.
24232
07037eeb
JM
24233 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24234 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24235 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24236 puts.
24237 * configure: Regenerated.
24238
d1d3431a
JM
242392012-03-07 Joseph Myers <joseph@codesourcery.com>
24240
af6a1e37
JM
24241 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24242 default includes instead of AC_HEADER_CHECK.
24243 * sysdeps/i386/configure: Regenerated.
24244
d1d3431a
JM
24245 [BZ #10716]
24246 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24247 * math/s_cacoshf.c (__cacoshf): Likewise.
24248 * math/s_cacoshl.c (__cacoshl): Likewise.
24249 * math/s_casinh.c (__casinh): Set signs of result from argument.
24250 * math/s_casinhf.c (__casinhf): Likewise.
24251 * math/s_casinhl.c (__casinhl): Likewise.
24252 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24253 (casinh_test): Add more tests.
24254 * sysdeps/i386/fpu/libm-test-ulps: Update.
24255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24256
482ff4da
UD
242572012-03-07 Ulrich Drepper <drepper@gmail.com>
24258
872fda05
UD
24259 * po/zh_TW.po: Update from translation team.
24260
a4300c7a
UD
24261 * login/Makefile (distribute): Remove variable.
24262 * catgets/Makefile: Likewise.
24263 * mach/Makefile: Likewise.
24264 * malloc/Makefile: Likewise.
24265 * misc/Makefile: Likewise.
24266 * iconv/Makefile: Likewise.
24267 * nscd/Makefile: Likewise.
24268 * hurd/Makefile: Likewise.
24269 * manual/Makefile: Likewise.
24270 * locale/Makefile: Likewise.
24271 * intl/Makefile: Likewise.
24272 * conform/Makefile: Likewise.
24273 * nss/Makefile: Likewise.
24274 * time/Makefile: Likewise.
24275 * soft-fp/Makefile: Likewise.
24276 * dirent/Makefile: Likewise.
24277 * gmon/Makefile: Likewise.
24278 * po/Makefile: Likewise.
24279 * rt/Makefile: Likewise.
24280 * socket/Makefile: Likewise.
24281 * math/Makefile: Likewise.
24282 * signal/Makefile: Likewise.
24283 * debug/Makefile: Likewise.
24284 * elf/Makefile: Likewise.
24285 * timezone/Makefile: Likewise.
24286 * stdlib/Makefile: Likewise.
24287 * iconvdata/Makefile: Likewise.
24288 * sunrpc/Makefile: Likewise.
24289 * io/Makefile: Likewise.
24290 * argp/Makefile: Likewise.
24291 * inet/Makefile: Likewise.
24292 * hesiod/Makefile: Likewise.
24293 * grp/Makefile: Likewise.
24294 * csu/Makefile: Likewise.
24295 * wctype/Makefile: Likewise.
24296 * crypt/Makefile: Likewise.
24297 * libio/Makefile: Likewise.
24298 * string/Makefile: Likewise.
24299 * nis/Makefile: Likewise.
24300 * resolv/Makefile: Likewise.
24301 * stdio-common/Makefile: Likewise.
24302 * wcsmbs/Makefile: Likewise.
24303 * dlfcn/Makefile: Likewise.
24304 * posix/Makefile: Likewise.
24305
3b7c4e74 24306 [BZ #6959]
482ff4da
UD
24307 * timezone/Makefile: Don't install timezone files, just the programs
24308 and scripts.
24309
f72ed77d
UD
243102012-03-06 Ulrich Drepper <drepper@gmail.com>
24311
a000466f
UD
24312 * nss/databases.def: Add missing gshadow entry.
24313
f72ed77d
UD
24314 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24315
a53b7a4e
MP
243162012-03-06 Marek Polacek <polacek@redhat.com>
24317
24318 [BZ #13726]
24319 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24320 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24321 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24322 * stdio-common/tst-long-dbl-fphex.c: New file.
24323
e9258400
DM
243242012-03-06 David S. Miller <davem@davemloft.net>
24325
24326 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24327 (set_obp_int): New function.
24328 (get_obp_int): New function.
24329 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24330 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24331 Avoid unused variable warnings on 'val' and use builtin_expect.
24332 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24333 __builtin_expect.
e9258400
DM
24334 (INLINE_CLONE_SYSCALL): Likewise.
24335
3bd2c723
DM
243362012-03-05 David S. Miller <davem@davemloft.net>
24337
24338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24339
bbb78d03
AS
243402012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24341
884c5db4
AS
24342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24343
bbb78d03
AS
24344 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24345 only for |x| >= 40.
24346 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24347
1c9f702a 243482012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24349
24350 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24351 Replace gettimeofday with __vdso_gettimeofday.
24352
7be16f82
RM
24353 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24354 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24355 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24356
24357 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24358 time with __vdso_time.
24359
ed58a00f
JM
243602012-03-05 Joseph Myers <joseph@codesourcery.com>
24361
24362 * manual/lang.texi (size_t): Note types to which size_t may be
24363 equivalent with the GNU C Library, but do not describe when
24364 differences between them are significant.
24365
30ee4ced
AJ
243662012-03-05 Andreas Jaeger <aj@suse.de>
24367
24368 * sysdeps/i386/fpu/libm-test-ulps: Update.
24369
b7cd39e8
JM
243702012-03-05 Joseph Myers <joseph@codesourcery.com>
24371
24372 [BZ #3976]
24373 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24374 (__ieee754_pow): Save and restore rounding mode and use
24375 round-to-nearest for main computations.
24376 * math/libm-test.inc (pow_test_tonearest): New function.
24377 (pow_test_towardzero): Likewise.
24378 (pow_test_downward): Likewise.
24379 (pow_test_upward): Likewise.
24380 (main): Call the new functions.
24381 * sysdeps/i386/fpu/libm-test-ulps: Update.
24382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24383
24384 [BZ #3976]
24385 * math/libm-test.inc (cosh_test_tonearest): New function.
24386 (cosh_test_towardzero): Likewise.
24387 (cosh_test_downward): Likewise.
24388 (cosh_test_upward): Likewise.
24389 (sinh_test_tonearest): Likewise.
24390 (sinh_test_towardzero): Likewise.
24391 (sinh_test_downward): Likewise.
24392 (sinh_test_upward): Likewise.
24393 (main): Call the new functions.
24394 * sysdeps/i386/fpu/libm-test-ulps: Update.
24395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24396
6c6a98c9
TV
243972012-03-05 Tom de Vries <tom@codesourcery.com>
24398
24399 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24400 default stack guard is set in last bytes.
24401 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24402
21bb2d2e 244032012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24404
21bb2d2e 24405 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24406
21bb2d2e
AJ
24407 [BZ #13656]
24408 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24409 possibly allocate from heap instead of stack.
24410 * stdio-common/bug-vfprintf-nargs.c: New file.
24411 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24412
c6922934
AS
244132012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24414
24415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24416
bc957d53
MP
244172012-03-03 Marek Polacek <polacek@redhat.com>
24418
24419 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24420 * math/math_private.h: Likewise.
24421 * stdlib/tst-strtod.c: Likewise.
24422 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24423 * sysdeps/x86_64/bits/atomic.h: Likewise.
24424
6358490d
DM
244252012-03-02 David S. Miller <davem@davemloft.net>
24426
24427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24431 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24432 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24433 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24434 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24435
01ae168d
RM
244362012-03-02 Roland McGrath <roland@hack.frob.com>
24437
d9a17c07
RM
24438 [BZ #13792]
24439 * manual/examples/README: New file, says the example source files
24440 can be used under GPL>=2.
24441 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24442 line containing just "*/".
24443 * manual/examples/add.c: Add copyright header (GPL>=2).
24444 * manual/examples/argp-ex1.c: Likewise.
24445 * manual/examples/argp-ex2.c: Likewise.
24446 * manual/examples/argp-ex3.c: Likewise.
24447 * manual/examples/argp-ex4.c: Likewise.
24448 * manual/examples/atexit.c: Likewise.
24449 * manual/examples/db.c: Likewise.
24450 * manual/examples/dir.c: Likewise.
24451 * manual/examples/dir2.c: Likewise.
24452 * manual/examples/execinfo.c: Likewise.
24453 * manual/examples/filecli.c: Likewise.
24454 * manual/examples/filesrv.c: Likewise.
24455 * manual/examples/fmtmsgexpl.c: Likewise.
24456 * manual/examples/genpass.c: Likewise.
24457 * manual/examples/inetcli.c: Likewise.
24458 * manual/examples/inetsrv.c: Likewise.
24459 * manual/examples/isockad.c: Likewise.
24460 * manual/examples/longopt.c: Likewise.
24461 * manual/examples/memopen.c: Likewise.
24462 * manual/examples/memstrm.c: Likewise.
24463 * manual/examples/mkfsock.c: Likewise.
24464 * manual/examples/mkisock.c: Likewise.
24465 * manual/examples/mygetpass.c: Likewise.
24466 * manual/examples/pipe.c: Likewise.
24467 * manual/examples/popen.c: Likewise.
24468 * manual/examples/rprintf.c: Likewise.
24469 * manual/examples/search.c: Likewise.
24470 * manual/examples/select.c: Likewise.
24471 * manual/examples/setjmp.c: Likewise.
24472 * manual/examples/sigh1.c: Likewise.
24473 * manual/examples/sigusr.c: Likewise.
24474 * manual/examples/stpcpy.c: Likewise.
24475 * manual/examples/strdupa.c: Likewise.
24476 * manual/examples/strftim.c: Likewise.
24477 * manual/examples/strncat.c: Likewise.
24478 * manual/examples/subopt.c: Likewise.
24479 * manual/examples/swapcontext.c: Likewise.
24480 * manual/examples/termios.c: Likewise.
24481 * manual/examples/testopt.c: Likewise.
24482 * manual/examples/testpass.c: Likewise.
24483 * manual/examples/timeval_subtract.c: Likewise.
24484
01ae168d
RM
24485 [BZ #13792]
24486 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24487 function to ...
24488 * manual/timeval_subtract.c.texi: ... here, new file.
24489
49efa33d
DM
244902012-03-02 David S. Miller <davem@davemloft.net>
24491
24492 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24493
28afd92d
JM
244942012-03-02 Joseph Myers <joseph@codesourcery.com>
24495
804360ed
JM
24496 [BZ #3976]
24497 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24498 (__sin): Save and restore rounding mode and use round-to-nearest
24499 for all computations.
24500 (__cos): Save and restore rounding mode and use round-to-nearest
24501 for all computations.
24502 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24503 <fenv.h>.
24504 (tan): Save and restore rounding mode and use round-to-nearest for
24505 all computations.
24506 * math/libm-test.inc (cos_test_tonearest): New function.
24507 (cos_test_towardzero): Likewise.
24508 (cos_test_downward): Likewise.
24509 (cos_test_upward): Likewise.
24510 (sin_test_tonearest): Likewise.
24511 (sin_test_towardzero): Likewise.
24512 (sin_test_downward): Likewise.
24513 (sin_test_upward): Likewise.
24514 (tan_test_tonearest): Likewise.
24515 (tan_test_towardzero): Likewise.
24516 (tan_test_downward): Likewise.
24517 (tan_test_upward): Likewise.
24518 (main): Call the new functions.
24519 * sysdeps/i386/fpu/libm-test-ulps: Update.
24520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24521
a6d06d7b
JM
24522 [BZ #10135]
24523 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24524 small n, then large n, before computing and testing k+n.
24525 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24526 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24527 Likewise.
24528 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24529 Likewise.
24530 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24531 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24532 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24533 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24534 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24535 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24536 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24537 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24538 * math/libm-test.inc (scalbn_test): Add more tests.
24539 (scalbln_test): Likewise.
24540
07e12bb3
JM
24541 * manual/filesys.texi (mode_t): Describe constraints on size and
24542 signedness, not exact equivalence to a particular type.
24543 (ino_t): Likewise.
24544 (ino64_t): Likewise.
24545 (dev_t): Likewise.
24546 (nlink_t): Likewise.
24547 (blkcnt_t): Likewise.
24548 (blkcnt64_t): Likewise.
24549 * manual/llio.texi (off_t): Likewise.
24550
28afd92d
JM
24551 [BZ #3976]
24552 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24553 (__ieee754_exp): Save and restore rounding mode and use
24554 round-to-nearest for all computations.
24555 * math/libm-test.inc (exp_test_tonearest): New function.
24556 (exp_test_towardzero): Likewise.
24557 (exp_test_downward): Likewise.
24558 (exp_test_upward): Likewise.
24559 (main): Call the new functions.
24560 * sysdeps/i386/fpu/libm-test-ulps: Update.
24561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24562
b1eeb65d
CD
245632012-03-01 Chris Demetriou <cgd@google.com>
24564
24565 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24566 have predictable order.
24567
53362a4b
DM
245682012-03-01 David S. Miller <davem@davemloft.net>
24569
3c969083
DM
24570 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24571
759707de
DM
24572 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24573 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24574 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24575 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24576
dfdb8ff2
DM
24577 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24578 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24579 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24581 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24582 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24583 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24584 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24585 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24586
ead89f96
DM
24587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24588
7f66bd07
DM
24589 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24590 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24591 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24592
53362a4b
DM
24593 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24594 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24595 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24596 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24597 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24598 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24599 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24600 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24601 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24602 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24603 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24604 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24605 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24606 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24607 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24608 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24609 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24610 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24611 * sysdeps/sparc/elf/configure: Regenerated.
24612
7b1902cb
JM
246132012-03-01 Joseph Myers <joseph@codesourcery.com>
24614
bec039bc
JM
24615 * configure.in (AS, LD): Require binutils 2.20 or later.
24616 * configure: Regenerated.
24617 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24618 as required minimum version.
24619 * INSTALL: Regenerated.
24620
7b1902cb
JM
24621 [BZ #2541]
24622 [BZ #4108]
24623 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24624 before squaring exponent.
24625 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24626 bottom long double and 27 bits of top long double before squaring
24627 exponent.
24628 * math/libm-test.inc (erfc_test): Add more tests.
24629 * sysdeps/i386/fpu/libm-test-ulps: Update.
24630 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24632
f775c276
KT
246332012-03-01 Kai Tietz <ktietz@redhat.com>
24634
24635 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24636 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24637 containing bit-fields.
24638 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24639 * soft-fp/single.h (_FP_UNION_S): Likewise.
24640 * soft-fp/double.h (_FP_UNION_D): Likewise.
24641
5b8a4d4a
JM
246422012-02-29 Joseph Myers <joseph@codesourcery.com>
24643
0bab47b6
JM
24644 [BZ #13786]
24645 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24646 not include ../strcmp.S.
24647 [USE_AS_STRNCASECMP_L]: Likewise.
24648 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24649 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24650 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24651 (__strncasecmp_l_ia32): Define as alias to
24652 __strncasecmp_l_nonascii.
24653
0fcad3e2
JM
24654 [BZ #5794]
24655 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24656 * sysdeps/i386/fpu/libm-test-ulps: Update.
24657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24658
5b8a4d4a
JM
24659 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24661
8fdceb2e
JL
246622012-02-29 Jeff Law <law@redhat.com>
24663
24664 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24665 out of bounds read.
24666
1f393a11
MP
246672012-02-29 Marek Polacek <polacek@redhat.com>
24668
24669 [BZ #13706]
24670 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24671 * elf/Makefile: Add rules to run tst-unused-dep.out.
24672
8847f037
DM
246732012-02-28 David S. Miller <davem@davemloft.net>
24674
24675 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24676 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24677 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24678 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24679 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24680 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24681
169d7f11
JM
246822012-02-29 Joseph Myers <joseph@codesourcery.com>
24683
24684 * math/libm-test.inc (llround_test): Move one test from
24685 lround_test. Use TEST_f_L in moved test.
24686 (lround_test): Move misplaced test to llround_test. Add testcase
24687 from bug 2561.
24688
39adf059
UD
246892012-02-28 Ulrich Drepper <drepper@gmail.com>
24690
24691 * sysdeps/x86_64/fpu/e_expf.S: New file.
24692 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24693
71b5d1c5
SB
246942012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24695
24696 [BZ #13637]
24697 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24698 of remain_len that may cause incomplete multi-byte character and
24699 false match.
24700 * posix/bug-regex33.c: New file.
24701 * posix/Makefile (tests): Add bug-regex33.
24702
1f77f049
JM
247032012-02-28 Joseph Myers <joseph@codesourcery.com>
24704
24705 * manual/macros.texi: New file.
24706 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24707 * manual/libc.texinfo: Include macros.texi.
24708 * manual/creatute.texi: Likewise.
24709 * manual/install.texi: Likewise.
24710 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24711 @glibcadj{} in references to the GNU C Library.
24712 * manual/charset.texi: Likewise.
24713 * manual/conf.texi: Likewise.
24714 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24715 when not using those macros.
24716 * manual/creature.texi: Likewise.
24717 * manual/crypt.texi: Likewise.
24718 * manual/errno.texi: Likewise.
24719 * manual/filesys.texi: Likewise.
24720 * manual/header.texi: Likewise.
24721 * manual/install.texi: Likewise.
24722 * manual/intro.texi: Likewise.
24723 * manual/io.texi: Likewise.
24724 * manual/job.texi: Likewise.
24725 * manual/lang.texi: Likewise.
24726 * manual/libc.texiinfo: Likewise.
24727 * manual/llio.texi: Likewise.
24728 * manual/locale.texi: Likewise.
24729 * manual/maint.texi: Likewise.
24730 * manual/math.texi: Likewise.
24731 * manual/memory.texi: Likewise.
24732 * manual/message.texi: Likewise.
24733 * manual/nss.texi: Likewise.
24734 * manual/pattern.texi: Likewise.
24735 * manual/process.texi: Likewise.
24736 * manual/resource.texi: Likewise.
24737 * manual/search.texi: Likewise.
24738 * manual/setjmp.texi: Likewise.
24739 * manual/signal.texi: Likewise.
24740 * manual/socket.texi: Likewise.
24741 * manual/startup.texi: Likewise.
24742 * manual/stdio.texi: Likewise.
24743 * manual/string.texi: Likewise.
24744 * manual/sysinfo.texi: Likewise.
24745 * manual/syslog.texi: Likewise.
24746 * manual/terminal.texi: Likewise.
24747 * manual/time.texi: Likewise.
24748 * manual/users.texi: Likewise.
24749 * INSTALL: Regenerated.
24750 * NOTES: Regenerated.
d40c5d54 24751 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24752
450bf206
AS
247532012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24754
24755 * include/dirent.h: Include <dirstream.h> before
24756 <dirent/dirent.h>.
24757
741a235b
DM
247582012-02-28 David S. Miller <davem@davemloft.net>
24759
24760 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24761 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24762 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24763 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24764
d6b5aa58
DM
247652012-02-27 David S. Miller <davem@davemloft.net>
24766
1aff59a3
DM
24767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24769 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24770 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24771
d6b5aa58
DM
24772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24773 frame pointer instead of stack pointer relative arg slot.
24774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24775 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24776 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24777
433f48bf
CD
247782012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24779
24780 [BZ #3992]
24781 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24782
d674b76d
DM
247832012-02-27 David S. Miller <davem@davemloft.net>
24784
24785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24789 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24790 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24791 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24792 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24793
0e7727f7
JM
247942012-02-27 Joseph Myers <joseph@codesourcery.com>
24795
24796 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24797 later. Allow versions 5-9.
43be4ca2 24798 * configure: Regenerated.
0e7727f7
JM
24799 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24800 required minimum version and 4.6 as recommended version. Do not
24801 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24802 * INSTALL: Regenerated.
0e7727f7 24803
a78bc654
DM
248042012-02-27 David S. Miller <davem@davemloft.net>
24805
428d5830
DM
24806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24810 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24811 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24812 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24813 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24814
a78bc654
DM
24815 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24816 manipulate bits before adding and subtracting TWO112[sx].
24817 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24818
4579f81c
RM
248192012-02-27 Roland McGrath <roland@hack.frob.com>
24820
36c8acb4
RM
24821 [BZ #13775]
24822 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24823 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24824 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24825 being in POSIX, because they are in 1003.1-2008.
24826
84ad622b
RM
24827 * rt/tst-aio.c: Include <fcntl.h>.
24828 * rt/tst-aio7.c: Likewise.
24829 * rt/tst-aio64.c: Likewise.
24830
4579f81c
RM
24831 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24832
abd923db
JM
248332012-02-27 Joseph Myers <joseph@codesourcery.com>
24834
24835 * manual/install.texi (--with-headers): Describe headers as
24836 interface headers, not private headers.
24837 (Specific advice for GNU/Linux systems): Describe use of headers
24838 from "make headers_install", not private headers from older
24839 kernels.
43be4ca2 24840 * INSTALL: Regenerated.
abd923db
JM
24841 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24842 Change to 2.6.19.
24843 * sysdeps/unix/sysv/linux/configure: Regenerated.
24844
6664049b
JM
24845 * manual/llio.texi (fclean): Remove documentation.
24846
bb8b6697
JM
24847 * manual/Makefile (libc-texi-generated): New variable. Include
24848 version.texi.
24849 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24850 $(libc-texi-generated), not duplicated list of files.
24851 (version.texi, stamp-version): New rules.
24852 (realclean): Remove $(libc-texi-generated), not individual files
24853 from that list. Do not remove dir-add.texinfo.
24854 * manual/libc.texinfo: Comment out uses of edition numbers and
24855 references to printed manual. Remove last-updated dates.
24856 (EDITION): Comment out.
24857 (ISBN): Likewise.
24858 (VERSION, UPDATED): Remove.
24859 (version.texi): Include.
24860
12e5c3b9
AS
248612012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24862
24863 * sysdeps/posix/spawni.c: Include <signal.h>.
24864 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24865 * sysdeps/pthread/aio_fsync.c: Likewise.
24866
4efeffc1 248672012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24868
ba63ba08
UD
24869 * conform/Makefile (tests): Run only when not cross-compiling and
24870 when fast-check is not defined.
24871
d94a4670
UD
24872 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24873 * conform/data/limits.h-data: Fixes for POSIX2008.
24874 * conform/run-conformtest.sh: Run all tests.
24875 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24876 headers.
24877 * include/bits/dlfcn.h: Likewise.
24878 * include/langinfo.h: Likewise.
24879 * include/monetary.h: Likewise.
24880 * include/sys/poll.h: Likewise.
24881
24882 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24883 for __USE_GNU.
24884 * posix/spawn.h: Define __need_sigset_t.
24885 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24886 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24887 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24888 to get sigevent_t only.
24889 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24890 only for __USE_GNU.
24891 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24892 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24893 process_vm_writev only for __USE_GNU.
24894 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24895
24896 * conform/Makefile: For now ignore errors from run-conformtest.
24897 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24898 POSIX to avoid namespace pollution. Don't prepend headers.
24899 * conform/data/aio.h-data: Fixes for POSIX testing.
24900 * conform/data/fcntl.h-data: Likewise.
24901 * conform/data/glob.h-data: Likewise.
24902 * conform/data/grp.h-data: Likewise.
24903 * conform/data/pthread.h-data: Likewise.
24904 * conform/data/pwd.h-data: Likewise.
24905 * conform/data/signal.h-data: Likewise.
24906 * conform/data/spawn.h-data: Likewise.
24907 * conform/data/stdio.h-data: Likewise.
24908 * conform/data/stdlib.h-data: Likewise.
24909 * conform/data/stropts.h-data: Likewise.
24910 * conform/data/sys/mman.h-data: Likewise.
24911 * conform/data/sys/stat.h-data: Likewise.
24912 * conform/data/sys/types.h-data: Likewise.
24913 * conform/data/sys/wait.h-data: Likewise.
24914 * conform/data/time.h-data: Likewise.
24915 * conform/data/unistd.h-data: Likewise.
24916 * conform/data/utime.h-data: Likewise.
24917
24918 * io/sys/stat.h: fchmod was always in POSIX.
24919 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24920 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24921 * rt/aio.h: Define __need_timespec before including <time.h>.
24922 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24923 struct. Add forward declaration of pthread_attr_t and use it in
24924 sigevent.
24925 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24926 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24927 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24928 always remove CLK_TCK definition.
24929
c20105c3
AS
249302012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24931
24932 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24933
7a270350
UD
249342012-02-25 Ulrich Drepper <drepper@gmail.com>
24935
31341567
UD
24936 * conform/run-conformtest.sh: New file.
24937 * conform/Makefile: Run run-conformtest for tests.
24938 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24939 support.
24940
24941 * conform/data/uchar.h-data: New file.
24942 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24943 * conform/data/arpa/inet.h-data: Likewise.
24944 * conform/data/assert.h-data: Likewise.
24945 * conform/data/complex.h-data: Likewise.
24946 * conform/data/cpio.h-data: Likewise.
24947 * conform/data/ctype.h-data: Likewise.
24948 * conform/data/dirent.h-data: Likewise.
24949 * conform/data/dlfcn.h-data: Likewise.
24950 * conform/data/errno.h-data: Likewise.
24951 * conform/data/fcntl.h-data: Likewise.
24952 * conform/data/float.h-data: Likewise.
24953 * conform/data/fmtmsg.h-data: Likewise.
24954 * conform/data/fnmatch.h-data: Likewise.
24955 * conform/data/ftw.h-data: Likewise.
24956 * conform/data/glob.h-data: Likewise.
24957 * conform/data/grp.h-data: Likewise.
24958 * conform/data/iconv.h-data: Likewise.
24959 * conform/data/inttypes.h-data: Likewise.
24960 * conform/data/langinfo.h-data: Likewise.
24961 * conform/data/libgen.h-data: Likewise.
24962 * conform/data/limits.h-data: Likewise.
24963 * conform/data/locale.h-data: Likewise.
24964 * conform/data/math.h-data: Likewise.
24965 * conform/data/monetary.h-data: Likewise.
24966 * conform/data/mqueue.h-data: Likewise.
24967 * conform/data/ndbm.h-data: Likewise.
24968 * conform/data/net/if.h-data: Likewise.
24969 * conform/data/netdb.h-data: Likewise.
24970 * conform/data/netinet/in.h-data: Likewise.
24971 * conform/data/nl_types.h-data: Likewise.
24972 * conform/data/poll.h-data: Likewise.
24973 * conform/data/pthread.h-data: Likewise.
24974 * conform/data/pwd.h-data: Likewise.
24975 * conform/data/regex.h-data: Likewise.
24976 * conform/data/sched.h-data: Likewise.
24977 * conform/data/search.h-data: Likewise.
24978 * conform/data/semaphore.h-data: Likewise.
24979 * conform/data/setjmp.h-data: Likewise.
24980 * conform/data/signal.h-data: Likewise.
24981 * conform/data/spawn.h-data: Likewise.
24982 * conform/data/stdarg.h-data: Likewise.
24983 * conform/data/stdio.h-data: Likewise.
24984 * conform/data/stdlib.h-data: Likewise.
24985 * conform/data/string.h-data: Likewise.
24986 * conform/data/strings.h-data: Likewise.
24987 * conform/data/stropts.h-data: Likewise.
24988 * conform/data/sys/ipc.h-data: Likewise.
24989 * conform/data/sys/mman.h-data: Likewise.
24990 * conform/data/sys/msg.h-data: Likewise.
24991 * conform/data/sys/resource.h-data: Likewise.
24992 * conform/data/sys/select.h-data: Likewise.
24993 * conform/data/sys/sem.h-data: Likewise.
24994 * conform/data/sys/shm.h-data: Likewise.
24995 * conform/data/sys/socket.h-data: Likewise.
24996 * conform/data/sys/stat.h-data: Likewise.
24997 * conform/data/sys/statvfs.h-data: Likewise.
24998 * conform/data/sys/time.h-data: Likewise.
24999 * conform/data/sys/timeb.h-data: Likewise.
25000 * conform/data/sys/times.h-data: Likewise.
25001 * conform/data/sys/types.h-data: Likewise.
25002 * conform/data/sys/uio.h-data: Likewise.
25003 * conform/data/sys/un.h-data: Likewise.
25004 * conform/data/sys/utsname.h-data: Likewise.
25005 * conform/data/sys/wait.h-data: Likewise.
25006 * conform/data/syslog.h-data: Likewise.
25007 * conform/data/tar.h-data: Likewise.
25008 * conform/data/termios.h-data: Likewise.
25009 * conform/data/utime.h-data: Likewise.
25010 * conform/data/utmpx.h-data: Likewise.
25011 * conform/data/varargs.h-data: Likewise.
25012 * conform/data/wchar.h-data: Likewise.
25013 * conform/data/wctype.h-data: Likewise.
25014 * conform/data/wordexp.h-data: Likewise.
25015
25016 * include/stropts.h: New file.
25017 * include/uchar.h: New file.
25018 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25019 * include/assert.h: Likewise.
25020 * include/ctype.h: Likewise.
25021 * include/dirent.h: Likewise.
25022 * include/dlfcn.h: Likewise.
25023 * include/fcntl.h: Likewise.
25024 * include/fnmatch.h: Likewise.
25025 * include/glob.h: Likewise.
25026 * include/grp.h: Likewise.
25027 * include/libio.h: Likewise.
25028 * include/locale.h: Likewise.
25029 * include/math.h: Likewise.
25030 * include/net/if.h: Likewise.
25031 * include/netdb.h: Likewise.
25032 * include/netinet/in.h: Likewise.
25033 * include/pthread.h: Likewise.
25034 * include/pwd.h: Likewise.
25035 * include/regex.h: Likewise.
25036 * include/sched.h: Likewise.
25037 * include/search.h: Likewise.
25038 * include/setjmp.h: Likewise.
25039 * include/signal.h: Likewise.
25040 * include/stdio.h: Likewise.
25041 * include/stdlib.h: Likewise.
25042 * include/string.h: Likewise.
25043 * include/sys/cdefs.h: Likewise.
25044 * include/sys/mman.h: Likewise.
25045 * include/sys/msg.h: Likewise.
25046 * include/sys/resource.h: Likewise.
25047 * include/sys/select.h: Likewise.
25048 * include/sys/socket.h: Likewise.
25049 * include/sys/stat.h: Likewise.
25050 * include/sys/statvfs.h: Likewise.
25051 * include/sys/time.h: Likewise.
25052 * include/sys/times.h: Likewise.
25053 * include/sys/uio.h: Likewise.
25054 * include/sys/utsname.h: Likewise.
25055 * include/sys/wait.h: Likewise.
25056 * include/termios.h: Likewise.
25057 * include/time.h: Likewise.
25058 * include/ulimit.h: Likewise.
25059 * include/unistd.h: Likewise.
25060 * include/utime.h: Likewise.
25061 * include/wchar.h: Likewise.
25062 * include/wctype.h: Likewise.
25063 * include/wordexp.h: Likewise.
25064
25065 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25066
7a270350
UD
25067 * time/time.h: TIME_UTC must be a macro.
25068 Make timespec_get available for ISO C11 only as well.
25069
7724defc
UD
250702012-02-24 Ulrich Drepper <drepper@gmail.com>
25071
25072 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25073 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25074
6b1d1d46
JM
250752012-02-24 Joseph Myers <joseph@codesourcery.com>
25076
25077 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 25078
0f8bbd69
JM
250792012-02-24 Joseph Myers <joseph@codesourcery.com>
25080
25081 * manual/texinfo.tex: Update to version 2012-01-19.16.
25082
66ab80bc
JM
250832012-02-24 Joseph Myers <joseph@codesourcery.com>
25084
25085 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25086
74981cc5
RM
250872012-02-24 Roland McGrath <roland@hack.frob.com>
25088
ee968201
RM
25089 [BZ #13738]
25090 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25091 * manual/fdl-1.3.texi: New file.
25092 * manual/fdl-1.1.texi: File removed.
25093
74981cc5
RM
25094 [BZ #13738]
25095 * manual/libc.texinfo (FDL_VERSION): New @set.
25096 Use it for mention of FDL in cover text.
25097 (Documentation License): Use it in @include file name.
25098
7bb764bc
JM
250992012-02-22 Joseph Myers <joseph@codesourcery.com>
25100 Roland McGrath <roland@hack.frob.com>
25101
25102 [BZ #5461]
25103 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25104 not LONG_LONG_MAX and LONG_LONG_MIN.
25105 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25106 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25107 name.
25108 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25109
6cbeae47
JM
251102012-02-22 Joseph Myers <joseph@codesourcery.com>
25111
25112 [BZ #2547]
25113 [BZ #11365]
25114 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25115 manipulate bits before adding and subtracting TWO23[sx].
25116 * math/libm-test.inc (nearbyint_test): Add more tests.
25117
fe45ce09
JM
251182012-02-22 Joseph Myers <joseph@codesourcery.com>
25119
25120 [BZ #2548]
25121 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25122 bits before adding and subtracting TWO23[sx].
25123 * math/libm-test.inc (rint_test): Add more tests.
25124 (rint_test_tonearest): Likewise.
25125 (rint_test_towardzero): Likewise.
25126 (rint_test_downward): Likewise.
25127 (rint_test_upward: Likewise.
25128
ff3b3d82
JM
251292012-02-22 Joseph Myers <joseph@codesourcery.com>
25130
25131 [BZ #10110]
25132 * include/stdc-predef.h: New file. Extracted from features.h.
25133 * include/features.h: Include stdc-predef.h.
25134 * Makefile (headers): Add stdc-predef.h.
25135 * CONFORMANCE (Compiler limitations): Update.
25136
ef0aab35
JM
251372012-02-22 Joseph Myers <joseph@codesourcery.com>
25138
25139 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25140
58639409
DM
251412012-02-21 David S. Miller <davem@davemloft.net>
25142
25143 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25144 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25145
c0e70b25
DM
251462012-02-20 David S. Miller <davem@davemloft.net>
25147
25148 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25149 using a normal save/restore sequence, rather than allocating a
25150 dummy stack frame just to store a frame pointer and restore.
25151 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25152
fb06851d
JM
251532012-02-21 Joseph Myers <joseph@codesourcery.com>
25154
25155 * manual/install.texi: Fix stray word in line-wrapped comment.
25156
7a8b71c3
DM
251572012-02-20 David S. Miller <davem@davemloft.net>
25158
d510c123
DM
25159 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25160 both binutils and gcc support GOTDATA.
25161
0722d7c2
DM
25162 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25163 "rd %pc" in the PIC register setup sequences.
25164
3d2b3019
DM
25165 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25166 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25167 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25168 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25169 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25170 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25171 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25172 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25173 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25174 (SYSCALL_ERROR_HANDLER): Likewise.
25175 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25176 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25177 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25178 (SYSCALL_ERROR_HANDLER): Likewise.
25179
c80098a9
DM
25180 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25181 (HAVE_GCC_GOTDATA): New.
25182 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25183 relocation support in both binutils and gcc.
25184 * sysdeps/sparc/elf/configure: Regenerate.
25185
3a2545a0
DM
25186 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25187 * sysdeps/sparc/sparc32/elf/configure: Delete.
25188 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25189 * sysdeps/sparc/sparc64/elf/configure: Delete.
25190 * sysdeps/sparc/elf/configure.in: New file.
25191 * sysdeps/sparc/elf/configure: Generate.
25192
7a8b71c3
DM
25193 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25194 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25195 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25196 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25197 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25198
f1e86fca
JM
251992012-02-21 Joseph Myers <joseph@codesourcery.com>
25200
25201 * manual/install.texi: Do not mention specific glibc version
25202 numbers.
25203 * manual/libc.texinfo (VERSION, UPDATED): Update.
25204 (@copying): Use @copyright{} and range of years.
25205
0e7dfaef
JM
252062012-02-21 Joseph Myers <joseph@codesourcery.com>
25207
25208 [BZ #13695]
25209 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25210 [crti.S not in sysdirs] (generated): Do not append.
25211 [crti.S not in sysdirs] (omit-deps): Likewise.
25212 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25213 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25214 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25215 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25216 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25217 Likewise.
25218 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25219 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25220 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25221 * csu/defs.awk: Remove file.
25222 * sysdeps/generic/initfini.c: Likewise.
25223 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25224 variable.
25225 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25226 Likewise.
25227
599af3ca
JM
252282012-02-20 Joseph Myers <joseph@codesourcery.com>
25229
25230 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25231 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25232 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25233 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25234 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25235 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25236 <bits/epoll.h>.
25237 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25238 (__EPOLL_PACKED): Define to empty if not defined by
25239 <bits/epoll.h>.
25240 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25241 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25242 bits/epoll.h.
25243
0e499750
JM
252442012-02-20 Joseph Myers <joseph@codesourcery.com>
25245
25246 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25247 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25248 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25249 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25250 <bits/timerfd.h>.
25251 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25252 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25253 bits/timerfd.h.
25254
5ad91f6e
JM
252552012-02-20 Joseph Myers <joseph@codesourcery.com>
25256
25257 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25258 in C locale.
25259 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25260 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25261 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25263
06b99b02
AJ
252642012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25265
25266 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25267 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25268
7638c0fd
AS
252692012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25270
25271 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25272 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25273 defined.
25274 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25275 Likewise.
25276 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25277 entry for 2.16.
25278
92221550
AJ
252792012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25280
25281 * math/w_acos.c: Use non-signaling floating-point comparisons.
25282 * math/w_acosf.c: Likewise.
25283 * math/w_acosh.c: Likewise.
25284 * math/w_acoshf.c: Likewise.
25285 * math/w_acoshl.c: Likewise.
25286 * math/w_acosl.c: Likewise.
25287 * math/w_asin.c: Likewise.
25288 * math/w_asinf.c: Likewise.
25289 * math/w_asinl.c: Likewise.
25290 * math/w_atanh.c: Likewise.
25291 * math/w_atanhf.c: Likewise.
25292 * math/w_atanhl.c: Likewise.
25293 * math/w_exp2.c: Likewise.
25294 * math/w_exp2f.c: Likewise.
25295 * math/w_exp2l.c: Likewise.
25296 * math/w_j0.c: Likewise.
25297 * math/w_j0f.c: Likewise.
25298 * math/w_j0l.c: Likewise.
25299 * math/w_j1.c: Likewise.
25300 * math/w_j1f.c: Likewise.
25301 * math/w_j1l.c: Likewise.
25302 * math/w_jn.c: Likewise.
25303 * math/w_jnf.c: Likewise.
25304 * math/w_log.c: Likewise.
25305 * math/w_log10.c: Likewise.
25306 * math/w_log10f.c: Likewise.
25307 * math/w_log10l.c: Likewise.
25308 * math/w_log2.c: Likewise.
25309 * math/w_log2f.c: Likewise.
25310 * math/w_log2l.c: Likewise.
25311 * math/w_logf.c: Likewise.
25312 * math/w_logl.c: Likewise.
25313 * math/w_sqrt.c: Likewise.
25314 * math/w_sqrtf.c: Likewise.
25315 * math/w_sqrtl.c: Likewise.
25316 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25317 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25318 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25319 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25320 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25321
ebaf36eb
JM
253222012-02-19 Joseph Myers <joseph@codesourcery.com>
25323
25324 [BZ #9739]
25325 * manual/string.texi (strnlen): Use correct parameter name in
25326 equivalent expression.
25327
71c254a6
JM
253282012-02-19 Joseph Myers <joseph@codesourcery.com>
25329
25330 [BZ #11174]
25331 * manual/users.texi (seteuid): Consistently use neweuid for
25332 argument name.
25333
16d2c631
JM
253342012-02-19 Joseph Myers <joseph@codesourcery.com>
25335
25336 [BZ #13704]
25337 * manual/nss.texi (Services in the NSS configuration): Correct
25338 list of services in example configuration file.
25339
cd837b09
NB
253402012-02-19 Nick Bowler <nbowler@draconx.ca>
25341
25342 [BZ #11322]
25343 * manual/arith.texi: Remove statements about negative zero
25344 behaving identically to zero.
25345
02c4bbad
JM
253462012-02-18 Joseph Myers <joseph@codesourcery.com>
25347
25348 [BZ #5993]
25349 * manual/install.texi: Do not document upgrading from libc5.
25350
366842e7
JM
253512012-02-18 Joseph Myers <joseph@codesourcery.com>
25352
25353 [BZ #4596]
25354 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25355
dd54084d
DM
253562012-02-18 David S. Miller <davem@davemloft.net>
25357
25358 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25359 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25360 %o7 across the call.
25361 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25362 instead.
25363 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25364 SETUP_PIC_REG_LEAF.
25365 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25366 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25367 * sysdeps/sparc/crtn.S: Likewise.
25368
2bcc53a3
UD
253692012-02-17 Ulrich Drepper <drepper@gmail.com>
25370
25371 * aout/Makefile: Remove.
25372
09c093b5
RK
253732012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25374
25375 [BZ #13058]
25376 * manual/examples/argp-ex1.c (main): Format definition in GNU
25377 style.
25378 * manual/examples/argp-ex2.c (main): Likewise.
25379 * manual/examples/argp-ex3.c (main): Likewise.
25380 * manual/examples/argp-ex4.c (main): Likewise.
25381 * manual/examples/longopt.c (main): Use new-style prototype
25382 definition.
25383 * manual/examples/strncat.c (main): Specify return type and use
25384 (void) for arguments.
25385 * manual/examples/subopt.c (main): Use char **argv argument.
25386
2ee633a2
JM
253872012-02-17 Joseph Myers <joseph@codesourcery.com>
25388
25389 [BZ #5077]
25390 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25391 rounding modes.
25392
0520adde
FB
253932012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25394
25395 [BZ #6907]
25396 * manual/string.texi (strchr): Change when strchrnul is
25397 recommended.
25398
3f4081cd
DGM
253992012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25400
25401 [BZ #174]
25402 * manual/locale.texi (setlocale): Document LOCPATH.
25403
d1b10e78
JM
254042012-02-17 Joseph Myers <joseph@codesourcery.com>
25405
25406 [BZ #10210]
25407 * manual/process.texi (execle): Move @dots{} before last argument.
25408
79c6869c
PB
254092012-02-17 Paul Bolle <pebolle@tiscali.nl>
25410
25411 [BZ #12047]
25412 * manual/charset.texi (Generic Charset Conversion): Fix typo
25413 (LC_TYPE -> LC_CTYPE).
25414
cc6e48bc
NB
254152012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25416
25417 [BZ #5805]
25418 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25419 (scalbnf): Likewise.
25420 (scalbnl): Likewise.
25421 (scalbln): Likewise.
25422 (scalblnf): Likewise.
25423 (scalblnl): Likewise.
25424 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25425 (vwarnx): Likewise.
25426 (verr): Likewise.
25427 (verrx): Likewise.
25428 * manual/filesys.texi (telldir): Use braces around return type.
25429 * manual/llio.texi (mmap): Add space after comma.
25430 (mmap64): Likewise.
25431 * manual/math.texi (jn): Use @var{} on parameter names.
25432 (jnf): Likewise.
25433 (jnl): Likewise.
25434 (yn): Likewise.
25435 (ynf): Likewise.
25436 (ynl): Likewise.
25437 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25438 line.
25439 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25440 "...".
25441 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25442 (sched_get_priority_max): Likewise.
25443 * manual/signal.texi (sigvec): Add space after comma.
25444 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25445 names.
25446 (if_indextoname): Likewise.
25447 (if_freenameindex): Likewise.
25448 (sendto): Use ',' instead of '.' in prototype.
25449 * manual/startup.texi (syscall): Use @dots{} instead of literal
25450 "...".
25451 * manual/stdio.texi (__fpending): Separate initial words of
25452 paragraph from @deftypefun line.
25453 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25454 "...".
25455 (vsyslog): Use @var{} on parameter names.
25456 * manual/terminal.texi (stty): Use @var{} on parameter names.
25457 * manual/users.texi (getutmp): Use @var{} on parameter names.
25458 (getutmpx): Likewise.
25459
5b23062f
JM
254602012-02-17 Joseph Myers <joseph@codesourcery.com>
25461
25462 [BZ #6884]
25463 * manual/stdio.texi (fopen): Fix typos in description of
25464 ",ccs=STRING".
25465
8dee4833
AJ
254662012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25467
25468 [BZ #4026]
25469 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25470 get clock_id definition.
25471
9078ce93
TS
254722012-02-17 Thomas Schwinge <thomas@schwinge.name>
25473
25474 [BZ #4822]
25475 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25476 (madvise): Cast every argument to void on its own.
25477
3835c55f
JM
254782012-02-17 Joseph Myers <joseph@codesourcery.com>
25479
25480 [BZ #9902]
25481 * manual/startup.texi (Exit Status): Fix typo.
25482
35c47e37
JM
254832012-02-17 Joseph Myers <joseph@codesourcery.com>
25484
25485 [BZ #10140]
25486 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25487 * manual/examples/argp-ex2.c: Likewise.
25488 * manual/examples/argp-ex3.c: Likewise.
25489
e3b69ca7
RH
254902012-02-16 Richard Henderson <rth@redhat.com>
25491
25492 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25493 * sysdeps/s390/s390-32/initfini.c: Remove.
25494 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25495 * sysdeps/s390/s390-64/initfini.c: Remove.
25496
df83af67
KK
254972012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25498
25499 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25500 compiler output for sysdeps/generic/initfini.c.
25501 * sysdeps/sh/elf/initfini.c: Remove file.
25502
f63f3380
DM
255032012-02-16 David S. Miller <davem@davemloft.net>
25504
fb59b3a4
DM
25505 [BZ #11494]
25506 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25507
f63f3380
DM
25508 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25509 * sysdeps/sparc/crti.S: New file.
25510 * sysdeps/sparc/crtn.S: New file.
25511 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25512 * sysdeps/sparc/sparc64/Makefile: Likewise.
25513
df6a4a4a
MF
255142012-02-15 Mike Frysinger <vapier@gentoo.org>
25515
6dd8f3dc 25516 [BZ #3335]
df6a4a4a
MF
25517 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25518
1cac7236
RM
255192012-02-15 Roland McGrath <roland@hack.frob.com>
25520
d2c736f8
RM
25521 [BZ #4822]
25522 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25523
1cac7236
RM
25524 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25525 (write, read, close): Likewise.
25526 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25527
8e475601
JM
255282012-02-15 Joseph Myers <joseph@codesourcery.com>
25529
25530 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25531 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25532 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25533 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25534 <bits/signalfd.h>.
25535 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25537 bits/signalfd.h.
25538
ed656b40
MP
255392012-02-14 Marek Polacek <polacek@redhat.com>
25540
25541 * sysdeps/x86_64/crti.S: New file.
25542 * sysdeps/x86_64/crtn.S: New file.
25543 * sysdeps/x86_64/elf/initfini.c: Remove file.
25544
2a979d3a
JM
255452012-02-13 Joseph Myers <joseph@codesourcery.com>
25546
25547 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25548 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25549 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25550 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25551 <bits/inotify.h>.
25552 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25554 bits/inotify.h.
25555
2a418ac3
JM
255562012-02-13 Joseph Myers <joseph@codesourcery.com>
25557
25558 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25559 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25560 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25561 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25562 <bits/eventfd.h>.
25563 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25565 bits/eventfd.h.
25566
fb779be7
TS
255672012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25568
e19e83c5
RM
25569 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25570 __feraiseexcept instead of feraiseexcept.
7c35ffed 25571
fb779be7
TS
25572 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25573 nanosleep invocations.
25574 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25575 strings, and add error checking for a nanosleep invocations.
25576
59ba27a6
PE
255772012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25578
25579 Replace FSF snail mail address with URLs, as per GNU coding standards.
25580 Most of the snail mail addresses were wrong anyway, and omitting
25581 them makes the source code easier to maintain. Almost all of the
25582 changes are to license notices and to locale LC_IDENTIFICATION
25583 addresses, except for this one:
25584 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25585 not its snail mail address.
25586
57b957eb
RH
255872012-02-09 Richard Henderson <rth@twiddle.net>
25588
af850b1c
RH
25589 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25590 of kernel-features.h.
25591
57b957eb
RH
25592 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25593
6b73181a
MP
255942012-02-08 Marek Polacek <polacek@redhat.com>
25595
25596 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25597 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25598 * sysdeps/gnu/_G_config.h: Likewise.
25599 * sysdeps/generic/_G_config.h: Likewise.
25600
26ecc33a
AS
256012012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25602
6c6dbc63
AS
25603 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25604 tests.
25605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25606
e216c012
AS
25607 * sysdeps/powerpc/powerpc32/crti.S: New file.
25608 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25609 * sysdeps/powerpc/powerpc64/crti.S: New file.
25610 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25611
26ecc33a
AS
25612 * Makeconfig (have-initfini): Don't set.
25613 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25614 * configure.in (nopic_initfini): Don't substitute.
25615 * config.h.in (HAVE_INITFINI): Don't #undef.
25616 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25617 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25618
3add8e13
JM
256192012-02-08 Joseph Myers <joseph@codesourcery.com>
25620
25621 Support crti.S and crtn.S provided directly by architectures.
25622 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25623 [crti.S in sysdirs] (omit-deps): Likewise.
25624 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25625 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25626 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25627 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25628 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25629 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25630 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25631 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25632 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25633 compiler output for sysdeps/generic/initfini.c.
25634 * sysdeps/i386/elf/Makefile: Remove file.
25635 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25636
a22f12b4
MP
256372012-02-07 Marek Polacek <polacek@redhat.com>
25638
25639 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25640 * sysdeps/gnu/_G_config.h: Likewise.
25641 * sysdeps/mach/hurd/_G_config.h: Likewise.
25642
148cf100
MP
256432012-02-07 Marek Polacek <polacek@redhat.com>
25644
25645 * math/Makefile (tests): Add tst-CMPLX2.
25646 * math/tst-CMPLX2.c: New file.
25647
cfdc0dd7
AS
256482012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25649
84ba42c4
AS
25650 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25651
cfdc0dd7
AS
25652 * math/libm-test.inc (jn_test): Add missing L suffix.
25653
622c86f4
MP
256542012-02-06 Marek Polacek <polacek@redhat.com>
25655
25656 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25657 * sysdeps/i386/fpu/e_powf.S: Likewise.
25658 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25659 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25660 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25661 * sysdeps/i386/fpu/e_pow.S: Likewise.
25662 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25663 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25664 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25665 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25666 * sysdeps/i386/fpu/e_log2.S: Likewise.
25667 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25668 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25669 * sysdeps/i386/fpu/e_powl.S: Likewise.
25670 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25671 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25672 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25673 * sysdeps/i386/fpu/e_logl.S: Likewise.
25674 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25675 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25676 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25677 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25678 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25679 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25680 * sysdeps/i386/fpu/e_log.S: Likewise.
25681 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25682 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25683 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25684 * sysdeps/i386/fpu/e_logf.S: Likewise.
25685 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25686 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25687 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25688 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25689 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25690 * sysdeps/i386/fpu/e_log10.S: Likewise.
25691 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25692 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25693 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25694 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25695 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25696 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25697 * sysdeps/i386/asm-syntax.h: Likewise.
25698 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25699 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25700 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25701 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25702 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25703 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25704 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25705 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25706 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25707 * sysdeps/powerpc/sysdep.h: Likewise.
25708 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25709 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25710
d4a54ac6
JM
257112012-02-06 Joseph Myers <joseph@codesourcery.com>
25712
25713 [BZ #411]
25714 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25715
314054ea
JM
257162012-02-06 Joseph Myers <joseph@codesourcery.com>
25717
25718 * sysdeps/i386/sysdep.h: Include <features.h>.
25719 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25720 version.
25721
d8e0ca50
JM
257222012-02-05 Joseph Myers <joseph@codesourcery.com>
25723
25724 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25725 Define.
25726 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25727 LOAD_PIC_REG_STR.
25728
b1da7dd9
JM
257292012-02-03 Joseph Myers <joseph@codesourcery.com>
25730
25731 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25732 (SETUP_PIC_REG): Use GET_PC_THUNK.
25733 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25734 macro.
25735
9a1d9254
JM
257362012-02-03 Joseph Myers <joseph@codesourcery.com>
25737
25738 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25739 for non-PIC compilation.
25740 (SETUP_PIC_REG): Add .p2align directive.
25741 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25742 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25743 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25744 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25745 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25746 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25747 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25748 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25749 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25750 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25751 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25752 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25753 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25754 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25755 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25756 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25757 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25758 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25759 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25760 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25761 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25762 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25763 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25764 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25765 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25766 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25767 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25768 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25769 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25770 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25771 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25772 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25773 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25774 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25775 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25776 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25777 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25778 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25779 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25780 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25781 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25782
65dc3b75
JM
257832012-02-03 Joseph Myers <joseph@codesourcery.com>
25784
25785 * math/tst-CMPLX.c: Include <stdio.h>.
25786
d55bf177
JM
257872012-01-31 Joseph Myers <joseph@codesourcery.com>
25788
25789 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25790 float.
25791 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25792 * sysdeps/sparc/bits/mathdef.h: Likewise.
25793
69db4f8f
MP
257942012-01-31 Marek Polacek <polacek@redhat.com>
25795
25796 * libio/libio.h: Don't define _PARAMS.
25797 * locale/programs/config.h: Don't define PARAMS.
25798 * stdlib/strtol_l.c: Likewise.
25799 (__strtol_l): Remove PARAMS from the prototype.
25800
41b81892
UD
258012012-01-31 Ulrich Drepper <drepper@gmail.com>
25802
3b49edc0
UD
25803 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25804 names. Just use the correct names. Remove unnecessary wrapper
25805 functions.
25806 * malloc/arena.c: Likewise.
25807 * malloc/hooks.c: Likewise.
25808
41b81892
UD
25809 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25810 ARENA_TEST says not to. Simplify test for creation of a new arena.
25811 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25812
27a25b6e
UD
258132012-01-30 Ulrich Drepper <drepper@gmail.com>
25814
25815 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25816 into tail calls.
25817 (update_get_addr): New function.
25818 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25819 GET_ADDR_MODULE parameter.
25820
c8a89e7d
JM
258212012-01-30 Joseph Myers <joseph@codesourcery.com>
25822
25823 * crypt/cert.c: Remove __STDC__ conditionals.
25824 * crypt/crypt-entry.c: Likewise.
25825 * crypt/crypt_util.c: Likewise.
25826 * libio/filedoalloc.c: Likewise.
25827 * libio/fileops.c: Likewise.
25828 * libio/genops.c: Likewise.
25829 * libio/iofclose.c: Likewise.
25830 * libio/iofdopen.c: Likewise.
25831 * libio/iofopen.c: Likewise.
25832 * libio/iofopen64.c: Likewise.
25833 * libio/iogetdelim.c: Likewise.
25834 * libio/iopopen.c: Likewise.
25835 * libio/obprintf.c: Likewise.
25836 * libio/oldfileops.c: Likewise.
25837 * libio/oldiofclose.c: Likewise.
25838 * libio/oldiofdopen.c: Likewise.
25839 * libio/oldiofopen.c: Likewise.
25840 * libio/oldiopopen.c: Likewise.
25841 * libio/wfiledoalloc.c: Likewise.
25842 * libio/wgenops.c: Likewise.
25843 * locale/programs/xmalloc.c: Likewise.
25844 * misc/syslog.c: Likewise.
25845 * stdio-common/xbug.c: Likewise.
25846 * string/memchr.c: Likewise.
25847 * string/memcmp.c: Likewise.
25848 * string/memrchr.c: Likewise.
25849 * string/rawmemchr.c: Likewise.
25850 * sysdeps/posix/getcwd.c: Likewise.
25851 * time/strftime_l.c: Likewise.
25852
3b100462
JM
258532012-01-30 Joseph Myers <joseph@codesourcery.com>
25854
25855 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25856 * config.make.in (config-cflags-sse2avx): Define.
25857 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25858 Fix typo.
25859
607998af
CM
258602012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25861
25862 * scripts/config.guess: Update from upstream config git repository.
25863 * scripts/config.sub: Likewise.
25864
3601428f
CM
258652012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25866
3ac8b282
CM
25867 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25868 (EM_NUM): Update.
25869 (R_TILEPRO_*, R_TILEGX_*): New macros.
25870
e034841e
CM
25871 * scripts/firstversions.awk: Fix bug in version range handling.
25872
540d7568
CM
25873 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25874
3601428f
CM
25875 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25876
463de862
CM
25877 * include/sys/epoll.h: New file.
25878 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25879 libc_hidden_def.
25880
73139a76
UD
258812012-01-28 Ulrich Drepper <drepper@gmail.com>
25882
96bc5b45
UD
25883 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25884 Avoid unnecessary __WORDSIZE == 64 test.
25885 (fmaxf): Use VEX format if possible.
25886 (fmax): Likewise.
25887 (fminf): Likewise.
25888 (fmin): Likewise.
25889
56f6f6a2
UD
25890 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25891 * math/math_private.h: Remove libc_fegetround* and
25892 libc_fesetround*.
25893 * sysdeps/i386/configure.in: Check for -msse2avx.
25894 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25895 also if SSE2AVX is defined.
25896 Remove libc_fegetround* and libc_fesetround*.
25897 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25898 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25899 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25900 of HAS_YMM_USABLE.
25901 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25902 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25903 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25904 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25905 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25906
73139a76
UD
25907 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25908
d73f93a4
AZ
259092012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25910
25911 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25912 size is not set.
25913 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25914
6ee65ed6
UD
259152012-01-27 Ulrich Drepper <drepper@gmail.com>
25916
25917 [BZ #13618]
25918 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25919 relocation.
25920 * Makeconfig (libm): Define.
25921 * elf/Makefile: Add rules to build and run tst-relsort1.
25922 * elf/tst-relsort1.c: New file.
25923 * elf/tst-relsort1mod1.c: New file.
25924 * elf/tst-relsort1mod2.c: New file.
25925
8db21882
JM
259262012-01-27 Joseph Myers <joseph@codesourcery.com>
25927
25928 * math/s_ldexp.c: Remove __STDC__ conditionals.
25929 * math/s_ldexpf.c: Likewise.
25930 * math/s_ldexpl.c: Likewise.
25931 * math/s_nextafter.c: Likewise.
25932 * math/s_nexttowardf.c: Likewise.
25933 * math/s_significand.c: Likewise.
25934 * math/s_significandf.c: Likewise.
25935 * math/s_significandl.c: Likewise.
25936 * math/w_jnl.c: Likewise.
25937 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25938 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25939 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25940 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25941 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25942 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25943 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25944 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25945 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25946 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25947 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25948 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25949 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25950 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25951 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25952 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25953 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25954 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25955 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25956 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25957 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25958 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25959 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25960 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25961 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25962 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25963 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25964 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25965 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25966 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25967 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25968 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25969 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25970 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25971 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25972 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25973 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25974 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25975 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25976 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25977 * sysdeps/ieee754/k_standard.c: Likewise.
25978 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25979 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25980 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25981 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25982 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25983 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25984 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25985 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25986 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25987 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25988 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25989 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25990 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25991 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25992 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25993 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25994 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25995 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25996 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25997 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25998 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25999 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26000 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26001 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26002 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26003 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26004 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26005 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26006 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26007 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26008 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26009 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26010 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26011 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26012 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26013 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26014 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26015 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26016 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26017 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26018 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26019 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26020 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26021 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26022 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26023 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26024 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26025 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26026 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26027 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26028 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26029 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26030 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26031 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26032 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26033 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26034 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26035 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26036 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26037 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26038 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26039 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26040 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26041 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26042 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26043 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26044 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26045 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26046 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26047 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26048 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26049 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26050 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26051 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26052 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26053 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26054 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26055 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26056 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26057 * sysdeps/ieee754/s_matherr.c: Likewise.
26058 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26059 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26060 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26061 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26062
965a54a4
JM
260632012-01-26 Joseph Myers <joseph@codesourcery.com>
26064
26065 * crypt/md5.h: Remove __STDC__ conditionals.
26066 * libio/libioP.h: Likewise.
26067 * locale/programs/config.h: Likewise.
26068 * sysdeps/generic/sysdep.h: Likewise.
26069 * sysdeps/i386/asm-syntax.h: Likewise.
26070 * sysdeps/s390/asm-syntax.h: Likewise.
26071 * sysdeps/unix/sysdep.h: Likewise.
26072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26074
7071ad79
JM
260752012-01-26 Joseph Myers <joseph@codesourcery.com>
26076
26077 * libio/libio.h: Remove __STDC__ conditionals.
26078 * malloc/obstack.h: Likewise.
26079 * math/complex.h: Likewise.
26080 * math/math.h: Likewise.
26081 * sysdeps/generic/_G_config.h: Likewise.
26082 * sysdeps/gnu/_G_config.h: Likewise.
26083 * sysdeps/mach/hurd/_G_config.h: Likewise.
26084 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26085 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26086 * sysdeps/sparc/bits/mathdef.h: Likewise.
26087
afc5ed09
UD
260882012-01-26 Ulrich Drepper <drepper@gmail.com>
26089
26090 [BZ #13583]
26091 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 26092 Clean up HAS_* macros.
afc5ed09 26093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
26094 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26095 possible.
26096 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26097 HAS_AVX.
26098 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26099 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26100 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26101 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26102 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26103
bdb6de1d
JM
261042012-01-25 Joseph Myers <joseph@codesourcery.com>
26105
26106 * elf/tst-unique3.cc (gets): Remove declaration.
26107 * elf/tst-unique3lib.cc (gets): Likewise.
26108 * elf/tst-unique3lib2.cc (gets): Likewise.
26109 * elf/tst-unique4.cc (gets): Likewise.
26110
b15549e6
UD
261112012-01-24 Ulrich Drepper <drepper@gmail.com>
26112
26113 * include/stdio.h: Add C++ protection. Add gets declarations and
26114 definitions.
26115 * debug/tst-chk1.c: Don't declare gets here.
26116 * stdio-common/tst-gets.c: Likewise.
26117
a037381f
JM
261182012-01-24 Joseph Myers <joseph@codesourcery.com>
26119
26120 * posix/glob: Remove directory.
26121
f1d4aa75
JM
261222012-01-24 Joseph Myers <joseph@codesourcery.com>
26123
26124 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26125
81c0c964
PT
261262012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26127
26128 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26129 of the non-standard EPFNOSUPPORT.
26130
0ea698ae
ST
261312011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26132
26133 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26134 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26135 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26136
d220b117
UD
261372012-01-21 Ulrich Drepper <drepper@gmail.com>
26138
26139 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26140
3e1aa84e
UD
261412012-01-20 Ulrich Drepper <drepper@gmail.com>
26142
26143 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26144 transient errors.
26145 * nscd/grpcache.c (cache_addgr): Likewise.
26146 * nscd/hstcache.c (cache_addhst): Likewise.
26147 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26148 * nscd/pwdcache.c (cache_addpw): Likewise.
26149 * nscd/servicescache.c (cache_addserv): Likewise.
26150
400aa020
UD
261512012-01-16 Ulrich Drepper <drepper@gmail.com>
26152
d77e7869
UD
26153 * malloc/malloc.c: Various cleanups.
26154 * malloc/hooks.c: Likewise.
26155
400aa020
UD
26156 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26157 * stdlib/bug-fmtmsg1.c: New file.
26158
26159 * stdlib/fmtmsg.c (init): Add missing unlock.
26160 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26161
e0a309cf
MP
261622012-01-12 Marek Polacek <polacek@redhat.com>
26163
26164 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26165 and _GNU_SOURCE.
26166
929d11c7
WS
261672012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26168
26169 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26170 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26171 macro to ensure uniqueness of label name.
26172 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26173 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26174
41d0e869
UD
261752012-01-11 Ulrich Drepper <drepper@gmail.com>
26176
0cc5ed3b
UD
26177 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26178
41d0e869
UD
26179 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26180 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26181 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26182 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26183
a47a831a
UD
261842012-01-10 Ulrich Drepper <drepper@gmail.com>
26185
daa891c0
UD
26186 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26187
26188 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26189 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26190 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26191
e58ef0f2
UD
26192 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26193
a47a831a 26194 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26195 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26196 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26197 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26198
26199 * math/bits/math-finite.h: Add ldexp support.
26200
a0bfc9c7
MP
262012012-01-10 Marek Polacek <polacek@redhat.com>
26202
26203 * locale/programs/localedef.h (show_archive_content): Add noreturn
26204 attribute.
26205
d6e97a1d
UD
262062012-01-09 Ulrich Drepper <drepper@gmail.com>
26207
26208 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26209
d5835c26
UD
262102012-01-08 Ulrich Drepper <drepper@gmail.com>
26211
e5f484c6
UD
26212 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26213
d5835c26
UD
26214 * io/Makefile (headers): Add bits/poll2.h.
26215
d1f741e9
WS
262162011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26217
26218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26219 typo #include statement.
26220
ec09c1c4
UD
262212012-01-08 Ulrich Drepper <drepper@gmail.com>
26222
26223 * include/sys/cdefs.h: Define __attribute_alloc_size.
26224 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26225 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26226 * elf/pldd.c: Likewise.
26227 * iconv/iconv_charmap.c: Likewise.
26228 * iconv/iconvconfig.c: Likewise.
26229 * iconv/strtab.c: Likewise.
26230 * locale/programs/locale.c: Likewise.
26231 * locale/programs/localedef.h: Likewise.
26232 * locale/programs/simple-hash.c: Likewise.
26233 * nscd/nscd.h: Likewise.
26234 * nss/makedb.c: Likewise.
26235 * sysdeps/generic/ldconfig.h: Likewise.
26236 * locale/programs/localedef.c: Remove xmalloc prototype.
26237 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26238
20b38e03
PP
262392012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26240
26241 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26242 appropriate.
26243
a0da5fe1
UD
262442012-01-08 Ulrich Drepper <drepper@gmail.com>
26245
1d5a644a 26246 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26247 * math/tst-CMPLX.c: New file.
1d5a644a 26248
8784a6db
UD
26249 * math/complex.h (CMPLXL): Fix typo.
26250
d9a216c0
UD
26251 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26252 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26253 GLIBC_2.16.
26254 * debug/tst-chk1.c: Add poll and ppoll tests.
26255 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26256 * include/sys/poll.h: Add hidden proto for ppoll.
26257 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26258 * sysdeps/mach/hurd/ppoll.c: Likewise.
26259 * io/ppoll.c: Likewise.
26260 * debug/poll_chk.c: New file.
26261 * debug/ppoll_chk.c: New file.
26262 * include/bits/poll2.h: New file.
26263 * io/bits/poll2.h: New file.
26264
ac097f5c
UD
26265 [BZ #1350]
26266 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26267
2119dcfa
UD
26268 * configure.in: static is always set to yes. Remove.
26269 * config.make.in: Don't set build-static.
26270 * Makeconfig: Remove use of build-static.
26271 * dlfcn/Makefile: Likewise.
26272 * elf/Makefile: Likewise.
26273 * math/Makefile: Likewise.
26274 * misc/Makefile: Likewise.
26275 * nptl/Makefile: Likewise.
26276 * sysdeps/mach/hurd/Makefile: Likewise.
26277
121766a9
UD
26278 * configure.in: PWD_P is not used anymore.
26279 * config.make.in: Remove PWD_P entry.
26280
51a1d39c 26281 * configure.in: Remove last remnants of RANLIB.
8720d066 26282 No need to check for signed size_t anymore.
215f4bdc
UD
26283 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26284 and IA-64.
3857022a 26285 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26286 * aclocal.m4: Likewise.
26287
d3ed7225
UD
26288 * wcsmbs/mbrtoc16.c: Implement using towc function.
26289 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26290 * wcsmbs/wcsmbsload.c: Likewise.
26291 * iconv/gconv_simple.c: Likewise.
26292 * iconv/gconv_int.h: Likewise.
26293 * iconv/gconv_builtin.h: Likewise.
26294 * iconv/iconv_prog.c: Remove CHAR16 handling.
26295
26296 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26297
26298 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26299
a0da5fe1
UD
26300 * configure.in: Remove --with-elf and --enable-bounded options.
26301 Dont set base_machine for ia64. More non-ELF conditions removed.
26302 Remove testing and setting of leading underscore information.
26303 * config.make.in (build-bounded): Set to no.
26304 * config.h.in: Remove NO_UNDERSCORES entry.
26305 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26306 them.
26307 * csu/start.c: Remove !NO_UNDERSCORE code.
26308 * locale/localeinfo.h: Likewise.
26309 * sysdeps/generic/machine-gmon.h: Likewise.
26310 * sysdeps/generic/sysdep.h: Likewise.
26311 * sysdeps/i386/sysdep.h: Likewise.
26312 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26313 * sysdeps/mach/sysdep.h: Likewise.
26314 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26315 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26316 * sysdeps/sh/sysdep.h: Likewise.
26317 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26318 * sysdeps/unix/i386/sysdep.S: Likewise.
26319 * sysdeps/unix/sparc/start.c: Likewise.
26320 * sysdeps/unix/sparc/sysdep.S: Likewise.
26321 * sysdeps/unix/sparc/sysdep.h: Likewise.
26322 * sysdeps/unix/start.c: Likewise.
26323 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26324 * sysdeps/x86_64/sysdep.h: Likewise.
26325
df78418a
UD
263262012-01-07 Ulrich Drepper <drepper@gmail.com>
26327
a784e502
UD
26328 [BZ #13553]
26329 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26330 for non-gcc.
26331 * argp/argp-fmtstream.h: Use const instead __const.
26332 * argp/argp.h: Likewise.
26333 * assert/assert.h: Likewise.
26334 * bits/fenv.h: Likewise.
26335 * bits/sched.h: Likewise.
26336 * bits/sigset.h: Likewise.
26337 * bits/sigthread.h: Likewise.
26338 * catgets/nl_types.h: Likewise.
26339 * conform/data/pthread.h-data: Likewise.
26340 * crypt/crypt-private.h: Likewise.
26341 * crypt/crypt.h: Likewise.
26342 * crypt/crypt_util.c: Likewise.
26343 * ctype/ctype.h: Likewise.
26344 * debug/execinfo.h: Likewise.
26345 * debug/mbsnrtowcs_chk.c: Likewise.
26346 * debug/mbsrtowcs_chk.c: Likewise.
26347 * debug/wcsnrtombs_chk.c: Likewise.
26348 * debug/wcsrtombs_chk.c: Likewise.
26349 * debug/wcstombs_chk.c: Likewise.
26350 * dirent/dirent.h: Likewise.
26351 * dlfcn/dlfcn.h: Likewise.
26352 * elf/neededtest4.c: Likewise.
26353 * grp/grp.h: Likewise.
26354 * gshadow/gshadow.h: Likewise.
26355 * iconv/gconv.h: Likewise.
26356 * iconv/gconv_int.h: Likewise.
26357 * iconv/gconv_simple.c: Likewise.
26358 * iconv/iconv.h: Likewise.
26359 * iconv/loop.c: Likewise.
26360 * iconv/skeleton.c: Likewise.
26361 * include/aio.h: Likewise.
26362 * include/aliases.h: Likewise.
26363 * include/argz.h: Likewise.
26364 * include/arpa/inet.h: Likewise.
26365 * include/assert.h: Likewise.
26366 * include/dirent.h: Likewise.
26367 * include/dlfcn.h: Likewise.
26368 * include/execinfo.h: Likewise.
26369 * include/fcntl.h: Likewise.
26370 * include/fenv.h: Likewise.
26371 * include/glob.h: Likewise.
26372 * include/grp.h: Likewise.
26373 * include/libintl.h: Likewise.
26374 * include/mntent.h: Likewise.
26375 * include/netdb.h: Likewise.
26376 * include/pwd.h: Likewise.
26377 * include/rpc/netdb.h: Likewise.
26378 * include/sched.h: Likewise.
26379 * include/search.h: Likewise.
26380 * include/shadow.h: Likewise.
26381 * include/signal.h: Likewise.
26382 * include/stdio.h: Likewise.
26383 * include/stdlib.h: Likewise.
26384 * include/string.h: Likewise.
26385 * include/sys/socket.h: Likewise.
26386 * include/sys/stat.h: Likewise.
26387 * include/sys/statfs.h: Likewise.
26388 * include/sys/statvfs.h: Likewise.
26389 * include/sys/syslog.h: Likewise.
26390 * include/sys/time.h: Likewise.
26391 * include/sys/uio.h: Likewise.
26392 * include/time.h: Likewise.
26393 * include/unistd.h: Likewise.
26394 * include/utmp.h: Likewise.
26395 * include/wchar.h: Likewise.
26396 * include/wctype.h: Likewise.
26397 * inet/aliases.h: Likewise.
26398 * inet/arpa/inet.h: Likewise.
26399 * inet/netinet/ether.h: Likewise.
26400 * inet/netinet/in.h: Likewise.
26401 * intl/libintl.h: Likewise.
26402 * io/bits/fcntl2.h: Likewise.
26403 * io/fcntl.h: Likewise.
26404 * io/ftw.h: Likewise.
26405 * io/sys/poll.h: Likewise.
26406 * io/sys/stat.h: Likewise.
26407 * io/sys/statfs.h: Likewise.
26408 * io/sys/statvfs.h: Likewise.
26409 * io/utime.h: Likewise.
26410 * libio/bits/stdio.h: Likewise.
26411 * libio/bits/stdio2.h: Likewise.
26412 * libio/libio.h: Likewise.
26413 * libio/libioP.h: Likewise.
26414 * libio/stdio.h: Likewise.
26415 * locale/lc-ctype.c: Likewise.
26416 * locale/locale.h: Likewise.
26417 * login/utmp.h: Likewise.
26418 * malloc/arena.c: Likewise.
26419 * malloc/malloc.c: Likewise.
26420 * malloc/malloc.h: Likewise.
26421 * malloc/mcheck.c: Likewise.
26422 * malloc/mtrace.c: Likewise.
26423 * math/bits/mathcalls.h: Likewise.
26424 * math/fenv.h: Likewise.
26425 * math/math_private.h: Likewise.
26426 * misc/bits/error.h: Likewise.
26427 * misc/bits/syslog.h: Likewise.
26428 * misc/err.h: Likewise.
26429 * misc/error.h: Likewise.
26430 * misc/fstab.h: Likewise.
26431 * misc/mntent.h: Likewise.
26432 * misc/regexp.h: Likewise.
26433 * misc/search.h: Likewise.
26434 * misc/sgtty.h: Likewise.
26435 * misc/sys/mman.h: Likewise.
26436 * misc/sys/syslog.h: Likewise.
26437 * misc/sys/uio.h: Likewise.
26438 * misc/sys/xattr.h: Likewise.
26439 * misc/ttyent.h: Likewise.
26440 * nis/rpcsvc/ypclnt.h: Likewise.
26441 * nss/nss.h: Likewise.
26442 * posix/bits/unistd.h: Likewise.
26443 * posix/fnmatch.h: Likewise.
26444 * posix/glob.h: Likewise.
26445 * posix/sched.h: Likewise.
26446 * posix/spawn.h: Likewise.
26447 * posix/sys/wait.h: Likewise.
26448 * posix/unistd.h: Likewise.
26449 * posix/wordexp.h: Likewise.
26450 * pwd/pwd.h: Likewise.
26451 * resolv/netdb.h: Likewise.
26452 * resource/sys/resource.h: Likewise.
26453 * rt/aio.h: Likewise.
26454 * rt/bits/mqueue2.h: Likewise.
26455 * rt/mqueue.h: Likewise.
26456 * shadow/shadow.h: Likewise.
26457 * signal/signal.h: Likewise.
26458 * socket/send.c: Likewise.
26459 * socket/sendto.c: Likewise.
26460 * socket/sys/socket.h: Likewise.
26461 * stdio-common/printf.h: Likewise.
26462 * stdlib/bits/stdlib.h: Likewise.
26463 * stdlib/fmtmsg.h: Likewise.
26464 * stdlib/monetary.h: Likewise.
26465 * stdlib/stdlib.h: Likewise.
26466 * stdlib/ucontext.h: Likewise.
26467 * streams/stropts.h: Likewise.
26468 * string/argz.h: Likewise.
26469 * string/bits/string2.h: Likewise.
26470 * string/string.h: Likewise.
26471 * string/strings.h: Likewise.
26472 * sunrpc/rpc/auth.h: Likewise.
26473 * sunrpc/rpc/auth_des.h: Likewise.
26474 * sunrpc/rpc/clnt.h: Likewise.
26475 * sunrpc/rpc/netdb.h: Likewise.
26476 * sunrpc/rpc/pmap_clnt.h: Likewise.
26477 * sunrpc/rpc/xdr.h: Likewise.
26478 * sysdeps/generic/inttypes.h: Likewise.
26479 * sysdeps/generic/net/if.h: Likewise.
26480 * sysdeps/generic/sys/swap.h: Likewise.
26481 * sysdeps/gnu/net/if.h: Likewise.
26482 * sysdeps/gnu/utmpx.h: Likewise.
26483 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26484 * sysdeps/i386/i486/bits/string.h: Likewise.
26485 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26486 * sysdeps/s390/bits/string.h: Likewise.
26487 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26488 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26489 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26490 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26491 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26492 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26493 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26494 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26495 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26496 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26497 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26498 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26499 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26500 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26501 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26502 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26503 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26504 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26505 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26506 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26507 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26508 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26509 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26510 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26511 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26512 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26513 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26514 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26515 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26516 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26517 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26518 * sysvipc/sys/ipc.h: Likewise.
26519 * sysvipc/sys/msg.h: Likewise.
26520 * sysvipc/sys/sem.h: Likewise.
26521 * sysvipc/sys/shm.h: Likewise.
26522 * termios/termios.h: Likewise.
26523 * time/sys/time.h: Likewise.
26524 * time/time.h: Likewise.
26525 * wcsmbs/bits/wchar2.h: Likewise.
26526 * wcsmbs/uchar.h: Likewise.
26527 * wcsmbs/wchar.h: Likewise.
26528 * wctype/wctype.h: Likewise.
26529
0269750c
UD
26530 [BZ #13551]
26531 * Makeconfig: Remove all but ELF support including AIX support.
26532 * Makerules: Likewise.
26533 * config.h.in: Likewise.
26534 * config.make.in: Likewise.
26535 * configure: Likewise.
26536 * configure.in: Likewise.
26537 * csu/Makefile: Likewise.
26538 * csu/version.c: Likewise.
26539 * debug/Makefile: Likewise.
26540 * dlfcn/Makefile: Likewise.
26541 * elf/Makefile: Likewise.
26542 * extra-lib.mk: Likewise.
26543 * iconv/Makefile: Likewise.
26544 * include/libc-symbols.h: Likewise.
26545 * include/shlib-compat.h: Likewise.
26546 * resolv/Makefile: Likewise.
26547 * resolv/res_libc.c: Likewise.
26548 * rt/Makefile: Likewise.
26549 * sysdeps/i386/asm-syntax.h: Likewise.
26550 * sysdeps/i386/sysdep.h: Likewise.
26551 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26552 * sysdeps/mach/sysdep.h: Likewise.
26553 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26554 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26555 * sysdeps/s390/asm-syntax.h: Likewise.
26556 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26557 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26558 * sysdeps/sh/sysdep.h: Likewise.
26559 * sysdeps/unix/sparc/sysdep.h: Likewise.
26560 * sysdeps/wordsize-32/divdi3.c: Likewise.
26561 * sysdeps/x86_64/sysdep.h: Likewise.
26562
00bbd29b
UD
26563 * argp/Versions: Remove _argp_unlock_xxx.
26564
26565 [BZ #13559]
26566 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26567 * abilist/libBrokenLocale.abilist: Likewise.
26568 * abilist/libanl.abilist: Likewise.
26569 * abilist/libc.abilist: Likewise.
26570 * abilist/libcrypt.abilist: Likewise.
26571 * abilist/libdl.abilist: Likewise.
26572 * abilist/libm.abilist: Likewise.
26573 * abilist/libnsl.abilist: Likewise.
26574 * abilist/libpthread.abilist: Likewise.
26575 * abilist/libresolv.abilist: Likewise.
26576 * abilist/librt.abilist: Likewise.
26577 * abilist/libthread_db.abilist: Likewise.
26578 * abilist/libutil.abilist: Likewise.
26579 * abilist/libnss_db.abilist: New file.
26580
26581 * scripts/abilist.awk: Add support for indirect functions.
26582
a2693a0e
UD
26583 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26584
3f05895f
UD
26585 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26586
ecb6fb48
UD
26587 * shlib-versions: Remove entries for ports architectures.
26588
664f8cb9
UD
26589 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26590 files in ports.
26591 * elf/stackguard-macros.h: Remove support for IA-64.
26592 * elf/tst-auditmod1.c: Likewise.
26593 * sysdeps/generic/ldsodefs.h: Likewise.
26594
7ae81d88
UD
26595 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26596 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26597 configure files.
26598
bdeba135
UD
26599 [BZ #13552]
26600 * configure.in: Remove --enable-omitfp support.
26601 * FAQ.in: Adjust.
26602 * config.make.in: Likewise.
26603 * Makeconfig: Likewise.
26604 * manual/install.texi: Likewise.
26605
d75a0a62
UD
26606 In case anyone cares, the IA-64 architecture could move to ports.
26607 * sysdeps/ia64/*: Removed.
26608 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26609 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26610
dcc9756b
UD
26611 [BZ #13555]
26612 * configure.in: Remove entries for unsupported architectures.
26613
d3761ebc 26614 [BZ #13533]
9954432e
UD
26615 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26616 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26617 routines.
26618 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26619 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26620 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26621 fall back to using wcrtomb.
26622 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26623 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26624 renaming.
26625 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26626 * wcsmbs/tst-c16c32-1.c: New file.
26627
26628 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26629 local variable.
26630
c3a87236
UD
26631 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26632
28926a1b
UD
26633 * elf/tst-unique3.cc: Add explicit declaration of gets.
26634 * elf/tst-unique3lib.cc: Likewise.
26635 * elf/tst-unique3lib2.cc: Likewise.
26636 * elf/tst-unique4.cc: Likewise.
26637
df78418a
UD
26638 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26639
8ecd6b2a
JM
266402012-01-06 Joseph Myers <joseph@codesourcery.com>
26641
26642 [BZ #13566]
26643 * assert/assert.h (static_assert): Don't define for C++.
26644 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26645 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26646
9f115170
UD
266472012-01-03 Ulrich Drepper <drepper@gmail.com>
26648
5e0d0300
UD
26649 * iconv/loop.c (single loop): Fix assertion in storing of
26650 remaining bytes.
26651
9f115170
UD
26652 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26653
81fb02b0
UD
266542012-01-01 Ulrich Drepper <drepper@gmail.com>
26655
26656 * posix/getconf.c: Update copyright year.
26657 * nss/getent.c: Likewise.
a316c1f6 26658 * nss/makedb.c: Likewise.
81fb02b0
UD
26659 * iconv/iconvconfig.c: Likewise.
26660 * iconv/iconv_prog.c: Likewise.
26661 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26662 * elf/pldd.c: Likewise.
26663 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26664 * catgets/gencat.c: Likewise.
26665 * csu/version.c: Likewise.
26666 * elf/ldd.bash.in: Likewise.
26667 * elf/sprof.c (print_version): Likewise.
26668 * locale/programs/locale.c: Likewise.
26669 * locale/programs/localedef.c: Likewise.
a316c1f6 26670 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26671 * nscd/nscd.c (print_version): Likewise.
26672 * debug/xtrace.sh: Likewise.
26673 * malloc/memusage.sh: Likewise.
26674 * malloc/mtrace.pl: Likewise.
26675 * debug/catchsegv.sh: Likewise.
26676
2ba92745
JJ
266772011-12-30 Jakub Jelinek <jakub@redhat.com>
26678
26679 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26680 pure attribute.
26681
dadebdae
UD
266822011-12-24 Ulrich Drepper <drepper@gmail.com>
26683
d3761ebc 26684 [BZ #13533]
db6af3eb
UD
26685 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26686 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26687 transformations.
26688 * iconv/gconv_int.h: Likewise.
26689 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26690 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26691 from libc for GLIBC_2.16.
26692 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26693 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26694 * wcsmbs/uchar.h: Really define mbstate_t.
26695 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26696 * wcsmbs/c16rtomb.c: New file.
26697 * wcsmbs/mbrtoc16.c: New file.
26698 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26699 for C/POSIX locale.
26700 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26701 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26702
dadebdae
UD
26703 * wcsmbs/wchar.h: Add missing __restrict.
26704
67371b56
UD
267052011-12-23 Ulrich Drepper <drepper@gmail.com>
26706
74033a25
UD
26707 [BZ #13532]
26708 * time/Makefile (routines): Add timespec_get.
26709 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26710 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26711 timespec for ISO C11.
26712 * time/timespec_get.c: New file.
26713 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26714 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26715
380d7e87
UD
26716 [BZ #13531]
26717 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26718 * stdlib/stdlib.h: Declare aligned_alloc.
26719 * Versions.def: Add GLIBC_2.16 for libc.
26720 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26721
4e9e7a35
UD
26722 [BZ 13527]
26723 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26724 ISO C11.
26725
380d7e87 26726 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26727 code.
26728
03a71829
UD
26729 [BZ #13528]
26730 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26731
839e283e
UD
26732 [BZ #13529]
26733 * assert/assert.h (static_assert): Define.
26734
ce5294e2 26735 * version.h: Update for 2.16 development version.
90fa7312 26736
8d44e150 26737 [BZ #13526]
d7809905
UD
26738 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26739 _ISOC11_SOURCE.
26740
c0da14cd
UD
26741 * version.h (RELEASE): Bump for 2.15 release.
26742 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26743
530a3249
MP
26744 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26745 Patch by Marek Polacek <mpolacek@redhat.com>.
26746
67371b56
UD
26747 * bits/byteswap.h: Protect long long constants with __extension__.
26748 * sysdeps/i386/bits/byteswap.h: Likewise.
26749 * sysdeps/ia64/bits/byteswap.h: Likewise.
26750 * sysdeps/s390/bits/byteswap.h: Likewise.
26751 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26752
15db4de1
LD
267532011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26754
26755 [BZ #13540]
bbe315ea
LD
26756 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26757 destination buffer.
15db4de1
LD
26758 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26759
2b2596b1
MP
267602011-12-23 Marek Polacek <polacek@redhat.com>
26761
26762 * elf/dl-addr.c (determine_info): Add inline keyword.
26763 * elf/tst-auditmod4b.c (check_avx): Likewise.
26764 * elf/tst-auditmod6b.c (check_avx): Likewise.
26765 * elf/tst-auditmod6c.c (check_avx): Likewise.
26766 * elf/tst-auditmod7b.c (check_avx): Likewise.
26767
70c6c246
UD
267682011-12-23 Ulrich Drepper <drepper@gmail.com>
26769
26770 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26771 !__SSE_MATH__.
26772
c044cf14
LD
267732011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26774
15db4de1 26775 [BZ #13540]
c044cf14
LD
26776 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26777 processing for last bytes.
26778
6b13d9d9
BH
267792011-08-06 Bruno Haible <bruno@clisp.org>
26780
d455f537
BH
26781 [BZ #13061]
26782 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26783 U+0385, not to U+1FEE.
26784
6b13d9d9
BH
26785 [BZ #13062]
26786 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26787 entry for U+00A5 U+0301.
26788
db910efd
UD
267892011-12-22 Ulrich Drepper <drepper@gmail.com>
26790
27deeafc
UD
26791 [BZ #13166]
26792 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26793 buffer for the output is too small.
26794
aed9d171
UD
26795 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26796 optimization.
26797
db910efd
UD
26798 [BZ #13185]
26799 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26800 SSE flags if possible.
26801
2bd779ae
LD
268022011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26803
e7f9dac3 26804 [BZ #13540]
2bd779ae
LD
26805 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26806 processing for last bytes.
26807
154bfc16
JM
268082011-12-22 Joseph Myers <joseph@codesourcery.com>
26809
26810 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26811 (syscall-list-default-options, syscall-list-default-condition)
26812 (syscall-list-includes): Define.
26813 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26814 list of ABIs and options and #if conditions for each ABI. Do not
26815 handle common syscalls between ABIs specially.
26816 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26817 Remove.
26818 (syscall-list-variants, syscall-list-32bit-options)
26819 (syscall-list-32bit-condition, syscall-list-64bit-options)
26820 (syscall-list-64bit-condition): Define.
26821 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26822 (syscall-list-variants, syscall-list-32bit-options)
26823 (syscall-list-32bit-condition, syscall-list-64bit-options)
26824 (syscall-list-64bit-condition): Define.
26825 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26826 Remove.
26827 (syscall-list-variants, syscall-list-32bit-options)
26828 (syscall-list-32bit-condition, syscall-list-64bit-options)
26829 (syscall-list-64bit-condition): Define.
26830 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26831 Remove.
26832 (syscall-list-variants, syscall-list-32bit-options)
26833 (syscall-list-32bit-condition, syscall-list-64bit-options)
26834 (syscall-list-64bit-condition): Define.
26835
21eaf3a5
UD
268362011-12-22 Ulrich Drepper <drepper@gmail.com>
26837
16c6f992
UD
26838 * locale/iso-639.def: Add brx entry.
26839
41043168
UD
26840 [BZ #13328]
26841 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26842 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26843
21eaf3a5
UD
26844 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26845 __feraiseexcept_renamed.
26846
e3a851a2
UD
268472011-12-21 Ulrich Drepper <drepper@gmail.com>
26848
4920765e
UD
26849 [BZ #13538]
26850 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26851 EPOLLET with unsigned values.
26852 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26853 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26854
e3a851a2
UD
26855 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26856 to large cancellation.
26857 * math/s_cacoshf.c: Likewise.
26858 * math/s_cacoshl.c: Likewise.
26859
b27e24b8
RK
268602011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26861
26862 [BZ #13305]
aebefeee 26863 [BZ #12786]
b27e24b8
RK
26864 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26865 * math/s_cacoshf.c: Likewise.
26866 * math/s_cacoshl.c: Likewise.
26867
ee190f67
UD
268682011-12-21 Ulrich Drepper <drepper@gmail.com>
26869
26870 [BZ #13439]
26871 * iconv/gconv.h: Define __GCONV_SWAP.
26872 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26873 * iconvdata/utf-16.c: Likewise.
26874 * iconvdata/utf-32.c: Likewise.
26875
707f25df
AS
268762011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26877
26878 [BZ #13524]
26879 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26880 numerator after shifting it by one limb.
26881
d2daaa1e
RÁE
268822011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26883
26884 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26885 under [__USE_EXTERN_INLINES].
26886
a4647e72
UD
268872011-12-17 Ulrich Drepper <drepper@gmail.com>
26888
26889 [BZ #13446]
26890 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26891
f0b264f1
AZ
268922011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26893
26894 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26895 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26896 optimized code.
26897 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26898 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26899 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26900 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26901 for strncasecmp/strncasecmp_l compilation.
26902 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26903 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26904
8ef4f244
MP
269052011-12-08 Marek Polacek <mpolacek@redhat.com>
26906
26907 [BZ #13484]
26908 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26909 of __asm__.
26910
97ac2654
UD
269112011-12-17 Ulrich Drepper <drepper@gmail.com>
26912
26913 [BZ #13506]
26914 * time/tzfile.c (__tzfile_read): Check values from file header.
26915
91d2a845
WS
269162011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26917
26918 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26919 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26920 * powerpc/powerpc32/dl-start.S: Likewise.
26921 * powerpc/powerpc32/elf/start.S: Likewise.
26922 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26923 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26924 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26925 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26926 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26927 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26928 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26929 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26930 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26931 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26932 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26933 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26934 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26935 * powerpc/powerpc32/memset.S: Likewise.
26936 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26937 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26938 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26939 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26940 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26941 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26942 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26943 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26944 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26945 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26946 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26947 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26948 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26949
a1267ba1
AZ
269502011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26951
26952 * math/libm-test.inc: Added more nearbyint tests.
26953 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26954 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26955 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26956 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26957
ad8ac1bd
RL
269582011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26959
26960 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26961 FD_CLOEXEC.
26962
1d3e4b61
UD
269632011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26964
26965 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26966 Add wcscpy-ssse3 wcscpy-c.
26967 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26968 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26969 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26970 * sysdeps/x86_64/wcschr.S: New file.
26971 * sysdeps/x86_64/wcsrchr.S: New file.
26972 * string/test-strcmp.c: Remove checking of wcscmp function for
26973 wrong alignments.
26974 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26975 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26976 wcsrchr-sse2 wcsrchr-c.
26977 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26978 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26979 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26980 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26981 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26982 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26983 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26984 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26985 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26986 * wcsmbc/wcschr.c (WCSCHR): New macro.
26987
5b330a2d
UD
269882011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26989
26990 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26991 * wcsmbs/test-wcsrchr.c: New file.
26992 * string/test-strrchr.c: Add wcsrchr support.
26993 (WIDE): New macro.
26994 * wcsmbs/test-wcscpy.c: New file.
26995 * string/test-strcpy.c: Add wcscpy support.
26996 (WIDE): New macro.
26428b7c 26997
f039c043
UD
269982011-12-10 Ulrich Drepper <drepper@gmail.com>
26999
27000 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27001 the inner loop.
27002
850fb039
AS
270032011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27004
27005 [BZ #13472]
27006 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27007
4efbd5cb
UD
270082011-12-04 Ulrich Drepper <drepper@gmail.com>
27009
52ff5dd0 27010 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 27011 Minor optimizations.
52ff5dd0 27012
4efbd5cb
UD
27013 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27014 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27015 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27016
8a426e12
UD
270172011-12-03 Ulrich Drepper <drepper@gmail.com>
27018
aff2453d
UD
27019 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27020 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27021 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27022 for gcc to avoid warnings.
27023 * inet/Makefile (tests): Add tst-checks.
27024 * inet/tst-checks.c: New file.
27025
27026 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27027 warning.
27028
27029 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27030 __wmemcmp_sse2.
27031
27032 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27033 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27034
8a426e12
UD
27035 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27036
9bea3473
UD
270372011-12-02 Ulrich Drepper <drepper@gmail.com>
27038
3a965496
UD
27039 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27040 problem.
27041
9bea3473
UD
27042 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27043
f101631b
UD
270442011-11-29 Joseph Myers <joseph@codesourcery.com>
27045
27046 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27047 conditional on GCC version.
27048 (__arch_compare_and_exchange_val_8_acq)
27049 (__arch_compare_and_exchange_val_16_acq)
27050 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27051 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27052 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27053
a98275aa
UD
270542011-12-02 Joseph Myers <joseph@codesourcery.com>
27055
27056 * sysdeps/sh/backtrace.c: New file.
27057
d4cc29a2
AS
270582011-12-02 Andreas Schwab <schwab@redhat.com>
27059
27060 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27061 parenthesis.
27062
6257af2d
AS
270632011-12-01 Andreas Schwab <schwab@redhat.com>
27064
27065 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27066 falling back to utime.
27067
b5f44c1a
AS
270682011-11-30 Andreas Schwab <schwab@redhat.com>
27069
27070 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27071 expectations for float.
27072
f3a6cc0a
AS
270732011-11-29 Andreas Schwab <schwab@redhat.com>
27074
27075 * locale/weight.h (findidx): Add parameter len.
27076 * locale/weightwc.h (findidx): Likewise.
27077 * posix/fnmatch_loop.c (FCT): Adjust caller.
27078 * posix/regcomp.c (build_equiv_class): Likewise.
27079 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27080 * posix/regexec.c (check_node_accept_bytes): Likewise.
27081 * string/strcoll_l.c (STRCOLL): Likewise.
27082 * string/strxfrm_l.c (STRXFRM): Likewise.
27083
9d65ea3a
UD
270842011-11-17 Ulrich Drepper <drepper@gmail.com>
27085
27086 * Makefile.in: Remove CVSOPT handling.
27087 * configure.in: Remove use of AC_REVISION.
27088 * iconvdata/Makefile (distribute): No need to filter out CVS.
27089 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27090 handling.
27091
5583a086
AS
270922011-11-16 Andreas Schwab <schwab@redhat.com>
27093
27094 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27095 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27096 [USE_AS_STRNCASECMP_L]: Likewise.
27097 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27098 NO_TLS_DIRECT_SEG_REFS.
27099 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27100 Fix argument offsets for non-PIC.
27101 [USE_AS_STRNCASECMP_L]: Likewise.
27102 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27103 NO_TLS_DIRECT_SEG_REFS.
27104
d62a8200
UD
271052011-11-15 Ulrich Drepper <drepper@gmail.com>
27106
9d65ea3a 27107 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27108 O_CLOEXEC.
27109 * locale/loadlocale.c (_nl_load_locale): Likewise.
27110
09f93bd3
AS
271112011-11-15 Andreas Schwab <schwab@redhat.com>
27112
446514f9
AS
27113 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27114 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27115 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27116 (SYSCALL_GETTIME): Set errno on error.
27117
09f93bd3
AS
27118 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27119 count references to noai6ai_cached.
27120
312be3f9
UD
271212011-11-15 Ulrich Drepper <drepper@gmail.com>
27122
27123 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27124
27125 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27126 FD_CLOEXEC for /proc/self/maps.
27127
27128 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27129 FD_CLOEXEC for /proc/meminfo.
27130
27131 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27132 gai.conf.
27133
27134 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27135 FD_CLOEXEC for given file.
27136
27137 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27138
27139 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27140 FD_CLOEXEC for /etc/hosts.
27141 (_gethtent): Likewise.
27142
27143 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27144
27145 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27146 cancellation and set FD_CLOEXEC for /etc/netgroup.
27147
27148 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27149 reading /etc/publickey.
27150
27151 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27152 allow cancellation when reading /etc/group.
27153
27154 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27155 cancellation.
27156 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27157
27158 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27159 when using data file.
27160
27161 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27162
27163 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27164 (write_nis_obj): Use "c" and "e" in fopen.
27165
27166 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27167
27168 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27169
27170 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27171
27172 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27173
27174 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27175 locale.alias.
27176
27177 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27178
27179 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27180
27181 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27182
27183 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27184 file parsing and set FD_CLOEXEC.
27185
82af0fa8
UD
271862011-11-14 Ulrich Drepper <drepper@gmail.com>
27187
27188 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27189
a5fb313c
AS
271902011-11-14 Andreas Schwab <schwab@redhat.com>
27191
27192 * malloc/arena.c (arena_get2): Don't call reused_arena when
27193 _int_new_arena failed.
27194
6abf3465
UD
271952011-11-14 Ulrich Drepper <drepper@gmail.com>
27196
27197 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27198 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27199 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27200 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27201 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27202 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27203 to compile strcasecmp and strncasecmp.
27204 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27205 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27206
27207 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27208
76e3966e
UD
272092011-11-13 Ulrich Drepper <drepper@gmail.com>
27210
27211 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27212 locale-defines.sym to gen-as-const-headers.
27213 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27214 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27215 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27216 to compile strcasecmp and strncasecmp.
27217 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27218 strcasecmp_l and strncasecmp_l.
27219 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27220 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27221 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27222 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27223 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27224 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27225 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27226 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27227 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27228 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27229 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27230
ab26144e
UD
272312011-11-12 Ulrich Drepper <drepper@gmail.com>
27232
7edb22ef
UD
27233 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27234 result of SYSDEP_GETTIME_CPU to retval.
27235 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27236 parameter list to macro. Remove trailing semicolon. Adjust users.
27237
9694fc44
UD
27238 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27239 variable.
27240
8ad89ef8
UD
27241 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27242 mantissa words.
27243 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27244
0c822ef9
UD
27245 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27246 from unused variable.
27247
874e0564
UD
27248 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27249 DWARF definitions.
27250 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27251 for assembling.
27252
3a2edc79
UD
27253 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27254 over namespaces.
27255
f3c2577f
UD
27256 * sunrpc/rpc_prot.c (rejected): Fix case value.
27257
294ce126
UD
27258 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27259 unsigned long long int to avoid warnings in shift.
27260
5e2b63c6
UD
27261 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27262 of use of trans.
27263 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27264 variable tmp.
27265
e7f4b08e
UD
27266 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27267 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27268 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27269
ab26144e
UD
27270 * nis/nis_table.c (nis_list): Use variable of correct type for
27271 result of __follow_path call.
27272
8a6d5255
AZ
272732011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27274
27275 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27276 of math functions ceil, trunc, floor, round, and sqrt, when
27277 avaliable on the platform.
27278 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27279 name clash.
27280 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27281 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27282 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27283
aaddc98c
MP
272842011-10-30 Marek Polacek <mpolacek@redhat.com>
27285
27286 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27287 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27288
95b7042b
RM
272892011-11-11 Roland McGrath <roland@hack.frob.com>
27290
27291 * include/unistd.h: Fix __readlink return type.
27292 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27293
57769839
UD
272942011-11-11 Ulrich Drepper <drepper@gmail.com>
27295
27296 * stdlib/ucontext.h: Undo last change for makecontext.
27297
edc5984d
AS
272982011-11-11 Andreas Schwab <schwab@redhat.com>
27299
98591e58
AS
27300 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27301
edc5984d
AS
27302 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27303 * setjmp/setjmp.h: Mark functions as non-leaf.
27304 * setjmp/bits/setjmp2.h: Likewise.
27305 * stdlib/ucontext.h: Likewise.
27306
77cdc054
AS
273072011-11-10 Andreas Schwab <schwab@redhat.com>
27308
27309 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27310 (reused_arena): Don't check arena limit.
27311 (arena_get2): Atomically check arena limit.
27312
fe72eebd
UD
273132011-11-08 Ulrich Drepper <drepper@gmail.com>
27314
5f078c32
UD
27315 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27316 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27317
fe72eebd
UD
27318 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27319 instructions.
27320
ae1bc2fa
AS
273212011-11-07 Andreas Schwab <schwab@redhat.com>
27322
7583a88d
AS
27323 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27324 handler when locking.
27325
ae1bc2fa
AS
27326 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27327 Fix size of allocated buffer.
27328
10fb0bfa
AS
273292011-11-04 Andreas Schwab <schwab@redhat.com>
27330
998832a4
AS
27331 [BZ #10103]
27332 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27333 declarations for long double functions.
27334 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27335
10fb0bfa
AS
27336 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27337
3d7ba52b
AS
273382011-11-03 Andreas Schwab <schwab@redhat.com>
27339
a9ae54a1
AS
27340 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27341 installed.
27342
3d7ba52b
AS
27343 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27344 is disabled.
27345
bc8db248
ST
273462011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27347
27348 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27349
45b96dd6
AS
273502011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27351
647776f6
AS
27352 * include/alloca.h (stackinfo_alloca_round): Define.
27353 (extend_alloca): Use it.
27354 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27355 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27356 here.
27357
d91a8b93
AS
27358 * scripts/check-local-headers.sh: Ignore libaudit.h.
27359
45b96dd6
AS
27360 * nscd/Makefile (extra-objs): Make recursively expanded.
27361
432d41ce
UD
273622011-11-01 Ulrich Drepper <drepper@gmail.com>
27363
34372fc6
UD
27364 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27365 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27366
fadb59f8
UD
27367 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27368 * posix/tst-rfc3484-2.c: Likewise.
27369 * posix/tst-rfc3484-3.c: Likewise.
27370
78239589
UD
27371 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27372 process_vm_writev.
27373 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27374 process_vm_writev.
27375 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27376 process_vm_writev from libc using GLIBC_2.15 version.
27377
432d41ce
UD
27378 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27379
02f9c6cf
PP
273802011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27381
27382 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27383 stack usage.
27384
3a2c0242
UD
273852011-10-31 Ulrich Drepper <drepper@gmail.com>
27386
f4ec4833
UD
27387 [BZ #13367]
27388 * nss/getent.c (initgroups_keys): Show error message in case no group
27389 names are given.
27390
3a2c0242
UD
27391 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27392 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27393 __bump_nl_timestamp.
27394 * nscd/connections (nscd_init): When host database is served open
27395 netlink socket and request notification about configuration changes.
27396 (main_loop_poll): Track netlink file descriptor and bump timestamp
27397 in case data becomes available.
27398 (main_loop_epoll): Likewise.
27399 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27400 (database_pers_head): Add extra_data fileds.
27401 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27402 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27403 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27404 Adjust caller.
27405 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27406 in6ai data, call __free_in6ai.
27407 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27408 Add -DHAVE_NETLINK.
27409 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27410 interface information. Reuse previous data if netlink timestamp
27411 is not changed.
27412 (__bump_nl_timestamp): New function.
27413 (__free_in6ai): New function.
27414
636064eb
UD
274152011-10-30 Ulrich Drepper <drepper@gmail.com>
27416
27417 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27418 close_not_cancel_no_status here.
27419 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27420
9beb2334
UD
274212011-10-29 Ulrich Drepper <drepper@gmail.com>
27422
6ef76f3b
UD
27423 [BZ #13276]
27424 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27425 return value.
27426
0ffc4f3e 27427 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27428 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27429 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27430
cb95113e
UD
274312011-07-03 Andreas Jaeger <aj@suse.de>
27432
27433 [BZ #10709]
27434 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27435 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27436 * math/libm-test.inc (sin_test): Add test case.
27437
a1b560ff
UD
274382011-10-29 Ulrich Drepper <drepper@gmail.com>
27439
c9aaface
UD
27440 [BZ #13337]
27441 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27442 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27443
d272e7f1
UD
27444 * elf/chroot_canon.c (chroot_canon): Cleanups.
27445
1bc33071
UD
27446 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27447
1760874d
TJ
27448 [BZ #13335]
27449 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27450 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27451
51d91b18
UD
27452 * string/test-strchr.c: Make usable for strchrnul testing.
27453 * string/test-strchrnul.c: New file.
27454 * string/Makefile (strop-tests): Add strchrnul.
27455
a1b560ff 27456 * po/it.po: Update from translation team.
b611fb81 27457 * po/es.po: Likewise.
a1b560ff 27458
a5b81e1f
UD
274592011-10-28 Ulrich Drepper <drepper@gmail.com>
27460
fd52bc6d
UD
27461 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27462 the three constants needed as parameters. Drop the others.
27463 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27464 __m128i_strloadu_tolower.
52e4b9eb
UD
27465 Create and initialize variable zero and use it in all the places
27466 where _mm_setzero_si128 was used.
fd52bc6d 27467
a5b81e1f
UD
27468 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27469 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27470 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27471 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27472 anymore.
27473 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27474 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27475 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27476 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27477 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27478 __mpranred, __mptan.
27479 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27480 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27481 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27482 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27483 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27484 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27485 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27486 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27487 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27488
b4343346
AS
274892011-10-28 Andreas Schwab <schwab@redhat.com>
27490
0c92d8a8
AS
27491 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27492 redefine if SHARED.
27493 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27494
b4343346
AS
27495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27496 wide char related routines to wcsmbs subdir.
27497
3871f58f
AS
274982011-10-27 Andreas Schwab <schwab@redhat.com>
27499
27500 [BZ #13344]
27501 * misc/sys/cdefs.h (__THROWNL): Define.
27502 * posix/unistd.h: Use __THREADNL instead of __THREAD
27503 for memory synchronization functions.
27504
94d44d9f
RM
275052011-10-26 Roland McGrath <roland@hack.frob.com>
27506
21b64b15 27507 [BZ #13349]
94d44d9f
RM
27508 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27509 doesn't exist.
27510 * manual/stdio.texi (Obstack Streams): Node removed.
27511
f6ce9294
AS
275122011-10-26 Andreas Schwab <schwab@redhat.com>
27513
80479147
AS
27514 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27515 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27516 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27517
f6ce9294
AS
27518 * math/math_private.h (math_force_eval): Allow non-addressable
27519 arguments.
27520 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27521
618280a1
UD
275222011-10-25 Ulrich Drepper <drepper@gmail.com>
27523
e0016b11
UD
27524 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27525 file is not needed.
27526
27527 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27528 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27529 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27530 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27531 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27532 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27533 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27534 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27535 Add AVX variants.
27536 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27537 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27538 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27539 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27540 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27541 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27542 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27543 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27544 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27545 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27546 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27547 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27548 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27549 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27550 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27551 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27552 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27553 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27554 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27555
27556 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27557 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27558
618280a1
UD
27559 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27560 place. Use VEX encoding when compiling for AVX.
27561
37822576
AS
275622011-10-25 Andreas Schwab <schwab@redhat.com>
27563
1f1e1947
AS
27564 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27565 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27566
37822576
AS
27567 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27568
31ea014d
UD
275692011-10-25 Ulrich Drepper <drepper@gmail.com>
27570
d7826aa1 27571 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27572 useless if() expression.
d7826aa1
UD
27573 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27574 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27575 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27576 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27577 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27578 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27579 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27580 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27581 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27582 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27583 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27584 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27585 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27586 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27587 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27588 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27589 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27590 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27591 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27592
31ea014d
UD
27593 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27594
16437fec
AS
275952011-10-25 Andreas Schwab <schwab@redhat.com>
27596
27597 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27598 condition.
27599 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27600
31d3cc00
UD
276012011-10-25 Ulrich Drepper <drepper@gmail.com>
27602
27603 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27604 .text section. Avoid duplicate constants.
27605 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27606 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27607 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27608 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27609 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27610 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27611 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27612 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27613 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27614 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27615 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27616 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27617 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27618 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27619 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27620 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27621 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27622 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27623 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27624 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27625 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27626 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27627 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27628 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27629 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27630 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27631 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27632 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27633 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27634 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27635 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27636 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27637 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27638 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27639 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27640 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27641 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27642 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27643 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27644 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27645 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27646 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27647 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27648 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27649 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27650
58985aa9
UD
276512011-10-24 Ulrich Drepper <drepper@gmail.com>
27652
202c9deb
UD
27653 * sysdeps/x86_64/dla.h: Move to ...
27654 * sysdeps/x86_64/fpu/dla.h: ...here.
27655 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27656 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27657
af968f62
UD
27658 * config.make.in: Add have-mfma4 entry.
27659 * configure.in: Substitute libc_cv_cc_fma4.
27660 * math/Makefile (dbl-only-routines): Add sincostab.
27661 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27662 Use __sincostab not sincos.
27663 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27664 name is a macro.
27665 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27666 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27668 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27669 using __copysign.
27670 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27671 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27672 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27673 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27674 and __inv.
27675 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27676 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27677 __copysign.
27678 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27679 define aliases when function name is a macro.
27680 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27681 sysdeps/ieee754/dbl-64/sincos.tbl.
27682 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27683 fma4-enabled routines.
27684 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27685 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27686 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27687 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27688 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27689 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27690 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27691 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27692 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27693 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27694 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27695 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27696 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27697 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27698 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27699 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27700 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27701 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27702 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27703 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27704 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27705 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27706 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27707 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27708 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27709 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27710 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27711 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27712 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27713 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27714
58985aa9
UD
27715 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27716 rename.
27717 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27718 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27719 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27720 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27721 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27722 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27723 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27724 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27725
a201fbcf
AS
277262011-10-24 Andreas Schwab <schwab@redhat.com>
27727
27728 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27729
fc2ee42a
LD
277302011-10-23 Ulrich Drepper <drepper@gmail.com>
27731
bb3129bd
UD
27732 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27733
0275fff8
UD
27734 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27735 prediction.
27736 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27737
2fa2ae85
UD
27738 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27739 Remove unused variable magic_bits.
27740 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27741
fc2ee42a
LD
27742 * string/strnlen.c: Define and use STRNLEN macro.
27743 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27744 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27745 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27746 * wcsmbs/wcslen.c: Define and use WCSLEN.
27747 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27748 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27749 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27750 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27751 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27752 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27753 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27754
ce7dd29f
LD
277552011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27756
27757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27758 strnlen-sse2-no-bsf.
27759 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27760 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27761 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27762 Add strnlen support.
27763 (USE_AS_STRNLEN): New macro.
27764 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27765 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27766 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27767 * sysdeps/x86_64/wcslen.S: New file.
27768
979c70a3
MZ
277692011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27770
27771 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27772 XMM-moves are used for copying on small sizes.
27773
2d09f82f
LD
277742011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27775
27776 * wcsmbs/Makefile (strop-tests): Add wcschr.
27777 * wcsmbs/test-wcschr.c: New file.
27778 * string/test-strchr.c: Update.
27779 Add wcschr support.
27780 (WIDE): New macro.
27781
619fccca
LD
277822011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27783
2d09f82f 27784 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27785 * wcsmbs/test-wcslen.c: New file.
27786 * string/test-strlen.c: Update.
27787 Add wcslen support.
27788 (WIDE): New macro.
27789
09f699ea
UD
277902011-10-23 Ulrich Drepper <drepper@gmail.com>
27791
27792 * po/it.po: Update from translation team.
27793
95584d3b
LD
277942011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27795
27796 * sysdeps/x86_64/wcscmp.S: Update.
27797 Fix wrong comparison semantics.
27798 wcscmp shall use signed comparison not unsigned.
27799 Don't use substraction to avoid overflow bug.
27800 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27801 * wcsmbc/wcscmp.c: Likewise.
27802 * string/test-strcmp.c: Likewise.
27803 Add new tests to check cases with negative values.
27804
c8b3296b
UD
278052011-10-23 Ulrich Drepper <drepper@gmail.com>
27806
27807 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27808 * sysdeps/x86_64/dla.h: ...here. New file.
27809 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27810 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27811 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27812 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27813 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27814 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27815 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27816 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27817 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27818
246ad57a
AS
278192011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27820
27821 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27822 __ynl_finite aliases.
27823
a1a87169
UD
278242011-10-22 Ulrich Drepper <drepper@gmail.com>
27825
0d355eb7
UD
27826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27827
a1a87169
UD
27828 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27829 define DLA_FMA.
27830 [DLA_FMA] (EMULV): Use DLA_FMA.
27831 [DLA_FMA] (MUL12): Use EMULV.
27832 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27833 that are not needed.
27834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27835 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27836 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27837 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27838 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27839 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27840 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27841
ee2aafe0
AS
278422011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27843
27844 * math/s_nan.c: Undef __nan.
27845 * math/s_nanf.c: Undef __nanf.
27846 * math/s_nanl.c: Undef __nanl.
27847 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27848 "math_private.h".
27849
bc62c2fb
UD
278502011-10-22 Ulrich Drepper <drepper@gmail.com>
27851
77425c63
UD
27852 * math/s_catan.c: Add branch predictions.
27853 * math/s_catanf.c: Likewise.
27854 * math/s_catanh.c: Likewise.
27855 * math/s_catanhf.c: Likewise.
27856 * math/s_catanhl.c: Likewise.
27857 * math/s_catanl.c: Likewise.
27858 * math/s_cexp.c: Likewise.
27859 * math/s_cexpf.c: Likewise.
27860 * math/s_cexpl.c: Likewise.
27861 * math/s_clog.c: Likewise.
27862 * math/s_clog10.c: Likewise.
27863 * math/s_clog10f.c: Likewise.
27864 * math/s_clog10l.c: Likewise.
27865 * math/s_clogf.c: Likewise.
27866 * math/s_clogl.c: Likewise.
27867 * math/s_csqrt.c: Likewise.
27868 * math/s_csqrtf.c: Likewise.
27869 * math/s_csqrtl.c: Likewise.
27870 * math/s_ctanf.c: Likewise.
27871 * math/s_ctanh.c: Likewise.
27872 * math/s_ctanhf.c: Likewise.
27873 * math/s_ctanhl.c: Likewise.
27874 * math/s_ctanl.c: Likewise.
27875
bc62c2fb
UD
27876 * math/math_private.h: Define __nan, __nanf, __nanl.
27877 * math/s_cacosh.c: Include <math_private.h>.
27878 * math/s_cacoshl.c: Likewise.
27879 * math/s_casinh.c: Likewise.
27880 * math/s_casinhf.c: Likewise.
27881 * math/s_casinhl.c: Likewise.
27882 * math/s_ccos.c: Rely entire on ccosh.
27883 * math/s_ccosf.c: Rely entire on ccoshf.
27884 * math/s_ccosl.c: Rely entirely on ccoshl.
27885 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27886 Remove tests for FE_INVALID.
27887 * math/s_ccoshf.c: Likewise.
27888 * math/s_ccoshl.c: Likewise.
27889 * math/s_csin.c: Likewise.
27890 * math/s_csinf.c: Likewise.
27891 * math/s_csinh.c Likewise.
27892 * math/s_csinhf.c: Likewise.
27893 * math/s_csinhl.c: Likewise.
27894 * math/s_csinl.c: Likewise.
27895 * math/s_ctan.c: Likewise.
27896 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27897 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27898 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27899
8ec250a4
UD
279002011-10-21 Ulrich Drepper <drepper@gmail.com>
27901
c196fed8
UD
27902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27903 compilation problems.
27904
8ec250a4
UD
27905 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27906 __builtin_expect.
27907
8d4f46c6
UD
279082011-10-20 Ulrich Drepper <drepper@gmail.com>
27909
ed72b654
UD
27910 * sysdeps/i386/configure.in: Test for -mfma4 option.
27911 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27912 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27913 COMMON_CPUID_INDEX_80000001.
27914 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27915 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27916 use it if FMA3 is not supported.
27917 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27918
8d4f46c6
UD
27919 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27920 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27921
d45c60c2
AS
279222011-10-20 Andreas Schwab <schwab@redhat.com>
27923
27924 [BZ #12892]
27925 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27926 it would create a cycle with a link time dependency.
27927
d9a4d2ab
UD
279282011-10-19 Ulrich Drepper <drepper@gmail.com>
27929
855d1560
UD
27930 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27931 instruction.
27932 * string/Makefile (strop-tests): Add rawmemchr.
27933 * string/test-rawmemchr.c: New file.
27934
d9a4d2ab
UD
27935 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27936 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27937 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27938 when compiling str{,n}casecmp and when AVX is available. Hook up
27939 new optimized code in initializers.
27940
8f3b1ffe
AS
279412011-10-19 Andreas Schwab <schwab@redhat.com>
27942
27943 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27944 __feraiseexcept instead of feraiseexcept.
27945
d38f1dba
UD
279462011-10-18 Ulrich Drepper <drepper@gmail.com>
27947
d9a8d0ab
UD
27948 * math/math_private.h: Define defaults for libc_fetestexcept and
27949 libc_feupdateenv.
27950 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27951 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27952 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27953 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27954 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27955 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27956 libc_fetestexcept and libc_feupdateenv.
27957
4855e3dd
UD
27958 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27959 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27960 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27961 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27962 libc_feholdexcept_setround.
27963
581d30e3
UD
27964 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27965 Add s_nearbyint-c and s_nearbyintf-c.
27966 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27967 nearbyintf inlines.
27968 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27969 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27970 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27971 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27972
d38f1dba
UD
27973 * math/math_private.h: Define defaults for libc_fegetround,
27974 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27975 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27976 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27977 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27978 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27979 standard functions.
27980 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27981 Remove comments and hacks for old compiler versions.
27982 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27983 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27984 libc_feholdexceptl.
27985
caa6c9d8
AS
279862011-10-18 Andreas Schwab <schwab@redhat.com>
27987
27988 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27989 (__feraiseexcept_renamed): Add __NTH.
27990 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27991 namespace violations.
27992
97c066e6
UD
279932011-10-17 Ulrich Drepper <drepper@gmail.com>
27994
99ce7b04
UD
27995 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27996
1004d182
UD
27997 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27998
228a984d
UD
27999 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28000 recently added interfaces.
28001 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28002
c8553a6a
UD
28003 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28004 about macro parameter expansion.
28005
ed22dcf6
UD
28006 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28007 __NO_MATH_INLINES is defined. Cleanups.
28008
28009 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28010 and __floorf is target has SSE4.1.
28011 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28012 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28013 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28014 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28015
b171c137
UD
28016 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28017 name.
28018 (floorf): Likewise.
28019
97c066e6
UD
28020 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28021
629f62ef
AS
280222011-10-17 Andreas Schwab <schwab@redhat.com>
28023
49a43d80
AS
28024 * misc/sys/cdefs.h: Fix last change.
28025
629f62ef
AS
28026 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28027 database lookup.
28028
e453f6cd
UD
280292011-10-16 Ulrich Drepper <drepper@gmail.com>
28030
aa78043a
UD
28031 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28032
ad0f5cad
UD
28033 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28034 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28035 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28036 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28037 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28038 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28039 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28040 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28041 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28042 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28043 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28044 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28045 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28046 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28047 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28048 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28049 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28050 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28051 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28052 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28053 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28054 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28055
28056 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28057 ceil, ceilf, floor, floorf.
28058
28059 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28060 Perform IRELATIVE relocations last.
28061
e453f6cd
UD
28062 * elf/do-rel.h: Add another parameter nrelative, replacing the
28063 local variable with the same name. Change name of the function
28064 to end in Rel or Rela (uppercase).
28065 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28066 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28067 elf_dynamic_do_##reloc function.
28068
fd5bdc09
UD
280692011-10-15 Ulrich Drepper <drepper@gmail.com>
28070
79b195b5
UD
28071 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28072 is sufficient, at least on modern CPUs.
28073
d4a28569
UD
28074 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28075
b61099b5
UD
28076 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28077 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28078
bcf01e6d
UD
28079 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28080 __expl_finite.
28081 * math/bits/math-finite.h: Add entries for exp.
28082 * math/e_expl.c: Add __*_finite alias.
28083 * sysdeps/i386/fpu/e_exp.S: Likewise.
28084 * sysdeps/i386/fpu/e_expf.S: Likewise.
28085 * sysdeps/i386/fpu/e_expl.c: Likewise.
28086 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28087 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28088 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28089 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28090 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28091 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28092 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28093
ba1a0d59
UD
28094 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28095 is sufficient, at least on modern CPUs.
28096
fd5bdc09
UD
28097 * ctype/ctype-info.c (__ctype_init): Define.
28098 * include/ctype.h (__ctype_init): Declare.
28099 (__ctype_b_loc): The variable is always initialized.
28100 (__ctype_toupper_loc): Likewise.
28101 (__ctype_tolower_loc): Likewise.
28102 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28103 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28104
7872cfb0
AS
281052011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28106
b468825a
AS
28107 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28108
7872cfb0
AS
28109 * configure.in: Also look in $cxxmachine/include for C++ system
28110 headers.
28111
be13f7bf
LD
281122011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28113
28114 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28115 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28116 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28117 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28118 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28119 (USE_AS_WMEMCMP): New macro.
28120 Fixing indents.
28121 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28122 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28123 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28124 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28125 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28126 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28127 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28128 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28129 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28130 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28131 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28132 (USE_AS_WMEMCMP): New macro.
28133 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28134 * sysdeps/string/test-memcmp.c: Update.
28135 Fix simple_wmemcmp.
28136 Add new tests.
28137 * wcsmbs/wmemcmp.c: Update.
28138 (WMEMCMP): New macro.
28139 Fix overflow bug.
28140
556a2007
AJ
281412011-10-12 Andreas Jaeger <aj@suse.de>
28142
28143 [BZ #13268]
28144 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28145
538faaa7
UD
281462011-10-15 Ulrich Drepper <drepper@gmail.com>
28147
ab6737ff
UD
28148 * libio/iofwide.c (do_length): Avoid warning.
28149
538faaa7
UD
28150 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28151
396a21b1
UD
281522011-10-14 Ulrich Drepper <drepper@gmail.com>
28153
cdf2901f
UD
28154 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28155
38ad40ce
UD
28156 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28157 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28158 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28159 * sysdeps/i386/i686/fpu/e_log.S: New file.
28160 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28161 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28162
396a21b1
UD
28163 * ctype/ctype.h: Add support for inlined isXXX functions when
28164 compiling C++ code.
28165
6b1f68c9
AS
281662011-10-14 Andreas Schwab <schwab@redhat.com>
28167
349290c0
AS
28168 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28169
6b1f68c9
AS
28170 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28171
f2282d42
RM
281722011-10-13 Roland McGrath <roland@hack.frob.com>
28173
28174 [BZ #13291]
28175 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28176
5298ffa8
AS
281772011-10-13 Andreas Schwab <schwab@redhat.com>
28178
714fad23
AS
28179 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28180 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28181 feraiseexcept.
28182
81dcc7fb
AS
28183 * sysdeps/x86_64/memrchr.S: Check for zero size.
28184
5298ffa8
AS
28185 * string/stratcliff.c: Add memrchr tests.
28186
951fbcec
LD
281872011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28188
28189 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28190 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28191 rawmemchr-sse2 rawmemchr-sse2-bsf.
28192 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28193 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28194 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28195 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28196 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28197 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28198 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28199 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28200 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28201 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28202 * string/memrchr.c (MEMRCHR): New macro.
28203
0ac5ae23
UD
282042011-10-12 Ulrich Drepper <drepper@gmail.com>
28205
28206 Add integration with gcc's -ffinite-math-only and optimize wrapper
28207 functions in libm.
28208 * Versions.def: Define GLIBC_2.15 version for libm.
28209 * math/Makefile (headers): Add bits/math-finite.h.
28210 * math/bits/math-finite.h: New file.
28211 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28212 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28213 * math/e_acoshl.c: Add __*_finite alias.
28214 * math/e_acosl.c: Likewise.
28215 * math/e_asinl.c: Likewise.
28216 * math/e_atan2l.c: Likewise.
28217 * math/e_atanhl.c: Likewise.
28218 * math/e_coshl.c: Likewise.
28219 * math/e_exp10.c: Likewise.
28220 * math/e_exp10f.c: Likewise.
28221 * math/e_exp10l.c: Likewise.
28222 * math/e_exp2l.c: Likewise.
28223 * math/e_fmodl.c: Likewise.
28224 * math/e_gammal_r.c: Likewise.
28225 * math/e_hypotl.c: Likewise.
28226 * math/e_j0l.c: Likewise.
28227 * math/e_j1l.c: Likewise.
28228 * math/e_jnl.c: Likewise.
28229 * math/e_lgammal_r.c: Likewise.
28230 * math/e_log10l.c: Likewise.
28231 * math/e_log2l.c: Likewise.
28232 * math/e_logl.c: Likewise.
28233 * math/e_powl.c: Likewise.
28234 * math/e_sinhl.c: Likewise.
28235 * math/e_sqrtl.c: Likewise.
28236 * math/e_scalb.c: Completely rewritten and optimized.
28237 * math/e_scalbf.c: Likewise.
28238 * math/e_scalbl.c: Likewise.
28239 * math/w_acos.c: Likewise.
28240 * math/w_acosf.c: Likewise.
28241 * math/w_acosl.c: Likewise.
28242 * math/w_acosh.c: Likewise.
28243 * math/w_acoshf.c: Likewise.
28244 * math/w_acoshl.c: Likewise.
28245 * math/w_asin.c: Likewise.
28246 * math/w_asinf.c: Likewise.
28247 * math/w_asinl.c: Likewise.
28248 * math/w_atan2.c: Likewise.
28249 * math/w_atan2f.c: Likewise.
28250 * math/w_atan2l.c: Likewise.
28251 * math/w_atanh.c: Likewise.
28252 * math/w_atanhf.c: Likewise.
28253 * math/w_atanhl.c: Likewise.
28254 * math/w_exp10.c: Likewise.
28255 * math/w_exp10f.c: Likewise.
28256 * math/w_exp10l.c: Likewise.
28257 * math/w_fmod.c: Likewise.
28258 * math/w_fmodf.c: Likewise.
28259 * math/w_fmodl.c: Likewise.
28260 * math/w_j0.c: Likewise.
28261 * math/w_j0f.c: Likewise.
28262 * math/w_j0l.c: Likewise.
28263 * math/w_j1.c: Likewise.
28264 * math/w_j1f.c: Likewise.
28265 * math/w_j1l.c: Likewise.
28266 * math/w_jn.c: Likewise.
28267 * math/w_jnf.c: Likewise.
28268 * math/w_log.c: Likewise.
28269 * math/w_logf.c: Likewise.
28270 * math/w_logl.c: Likewise.
28271 * math/w_log10.c: Likewise.
28272 * math/w_log10f.c: Likewise.
28273 * math/w_log10l.c: Likewise.
28274 * math/w_log2.c: Likewise.
28275 * math/w_log2f.c: Likewise.
28276 * math/w_log2l.c: Likewise.
28277 * math/w_pow.c: Likewise.
28278 * math/w_powf.c: Likewise.
28279 * math/w_powl.c: Likewise.
28280 * math/w_remainder.c: Likewise.
28281 * math/w_remainderf.c: Likewise.
28282 * math/w_remainderl.c: Likewise.
28283 * math/w_scalb.c: Likewise.
28284 * math/w_scalbf.c: Likewise.
28285 * math/w_scalbl.c: Likewise.
28286 * math/w_sqrt.c: Likewise.
28287 * math/w_sqrtf.c: Likewise.
28288 * math/w_sqrtl.c: Likewise.
28289 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28290 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28291 used.
28292 * math/math_private.h: Declare __kernel_standard_f.
28293 * math/w_cosh.c: Remove cruft and optimize a bit.
28294 * math/w_coshf.c: Likewise.
28295 * math/w_coshl.c: Likewise.
28296 * math/w_exp2.c: Likewise.
28297 * math/w_exp2f.c: Likewise.
28298 * math/w_exp2l.c: Likewise.
28299 * math/w_hypot.c: Likewise.
28300 * math/w_hypotf.c: Likewise.
28301 * math/w_hypotl.c: Likewise.
28302 * math/w_lgamma.c: Likewise.
28303 * math/w_lgamma_r.c: Likewise.
28304 * math/w_lgammaf.c: Likewise.
28305 * math/w_lgammaf_r.c: Likewise.
28306 * math/w_lgammal.c: Likewise.
28307 * math/w_lgammal_r.c: Likewise.
28308 * math/w_sinh.c: Likewise.
28309 * math/w_sinhf.c: Likewise.
28310 * math/w_sinhl.c: Likewise.
28311 * math/w_tgamma.c: Likewise.
28312 * math/w_tgammaf.c: Likewise.
28313 * math/w_tgammal.c: Likewise.
28314 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28315 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28316 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28317 Minor optimizations. Pretty printing. Remove cruft.
28318 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28319 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28320 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28321 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28322 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28323 * sysdeps/i386/fpu/e_asin.S: Likewise.
28324 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28325 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28326 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28327 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28328 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28329 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28330 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28331 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28332 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28333 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28334 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28335 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28336 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28337 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28338 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28339 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28340 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28341 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28342 * sysdeps/i386/fpu/e_log.S: Likewise.
28343 * sysdeps/i386/fpu/e_log10.S: Likewise.
28344 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28345 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28346 * sysdeps/i386/fpu/e_log2.S: Likewise.
28347 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28348 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28349 * sysdeps/i386/fpu/e_logf.S: Likewise.
28350 * sysdeps/i386/fpu/e_logl.S: Likewise.
28351 * sysdeps/i386/fpu/e_pow.S: Likewise.
28352 * sysdeps/i386/fpu/e_powf.S: Likewise.
28353 * sysdeps/i386/fpu/e_powl.S: Likewise.
28354 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28355 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28356 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28357 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28358 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28359 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28360 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28361 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28362 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28363 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28364 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28365 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28366 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28367 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28368 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28369 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28370 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28371 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28372 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28373 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28374 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28375 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28376 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28377 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28379 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28380 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28381 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28383 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28384 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28385 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28386 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28387 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28388 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28389 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28390 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28391 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28392 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28393 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28394 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28395 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28396 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28397 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28398 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28399 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28400 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28401 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28402 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28403 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28404 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28405 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28406 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28407 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28408 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28409 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28410 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28411 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28412 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28413 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28414 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28415 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28416 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28417 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28418 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28419 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28420 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28421 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28422 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28423 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28424 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28425 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28426 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28427 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28428 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28429 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28430 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28431 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28432 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28433 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28434 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28435 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28436 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28437 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28438 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28439 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28440 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28441 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28442 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28443 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28444 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28445 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28446 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28447 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28448 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28449 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28450 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28451 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28452 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28453 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28454 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28455 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28456 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28457 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28458 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28459 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28460 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28461 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28462 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28463 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28464 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28465 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28466 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28467 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28468 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28469 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28470 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28471 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28472 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28473 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28474 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28475 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28476 (__isnanf): Likewise.
28477 (__isinf_ns): Likewise.
28478 (__isinf_nsf): Likewise.
28479 (__finite): Likewise.
28480 (__finitef): Likewise.
28481 (__ieee754_sqrt): Define as macro.
28482 (__ieee754_sqrtf): Define as macro.
28483 (__ieee754_sqrtl): Define as macro.
28484 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28485 inlined copy.
28486 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28487 __FINITE_MATH_ONLY__ consistent.
28488 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28489
12cc2fcd
AS
284902011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28491
a843a204
AS
28492 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28493 of rawmemchr.
28494
12cc2fcd
AS
28495 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28496
c853acd5
UD
284972011-10-09 Ulrich Drepper <drepper@gmail.com>
28498
28499 * po/ja.po: Update from translation team.
28500
c658d255
RM
285012011-10-08 Roland McGrath <roland@hack.frob.com>
28502
110946e4
RM
28503 * locale/programs/locarchive.c (prepare_address_space): New function.
28504 (create_archive, enlarge_archive, open_archive): Use it.
28505
50604220
RM
28506 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28507 inside [SHARED], where it is used.
28508
c658d255
RM
28509 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28510
28511 * nss/getent.c (netgroup_keys): Remove unused variable.
28512 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28513
6a621eb7
UD
285142011-10-08 Ulrich Drepper <drepper@gmail.com>
28515
7edb55ce
UD
28516 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28517 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28518 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28519 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28520 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28521 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28522 * math/Makefile (libm-calls): Add s_isinf_ns.
28523 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28524 * math/multc3.c: Likewise.
28525 * math/s_casin.c: Likewise.
28526 * math/s_casinf.c: Likewise.
28527 * math/s_casinl.c: Likewise.
28528 * math/s_ccos.c: Likewise.
28529 * math/s_ccosf.c: Likewise.
28530 * math/s_ccosl.c: Likewise.
28531 * math/s_ctan.c: Likewise.
28532 * math/s_ctanf.c: Likewise.
28533 * math/s_ctanh.c: Likewise.
28534 * math/s_ctanhf.c: Likewise.
28535 * math/s_ctanhl.c: Likewise.
28536 * math/s_ctanl.c: Likewise.
28537 * math/w_fmod.c: Likewise.
28538 * math/w_fmodf.c: Likewise.
28539 * math/w_fmodl.c: Likewise.
28540 * math/w_remainder.c: Likewise.
28541 * math/w_remainderf.c: Likewise.
28542 * math/w_remainderl.c: Likewise.
28543 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28544 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28545 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28546 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28547 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28548 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28549 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28550 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28551
187da0ae
UD
28552 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28553 of the number.
28554 * stdio-common/printf_fphex.c: Likewise.
28555 * stdio-common/printf_size.c: Likewise.
28556
9277c064
UD
28557 * math/e_exp10.c: Include math_private.h using <...> not "...".
28558 * math/e_exp10f.c: Likewise.
28559 * math/e_exp10l.c: Likewise.
28560 * math/e_exp2l.c: Likewise.
28561 * math/e_j0l.c: Likewise.
28562 * math/e_j1l.c: Likewise.
28563 * math/e_jnl.c: Likewise.
28564 * math/e_lgammal_r.c: Likewise.
28565 * math/e_rem_pio2l.c: Likewise.
28566 * math/e_scalb.c: Likewise.
28567 * math/e_scalbf.c: Likewise.
28568 * math/e_scalbl.c: Likewise.
28569 * math/k_cosl.c: Likewise.
28570 * math/k_sinl.c: Likewise.
28571 * math/k_tanl.c: Likewise.
28572 * math/s_cacoshf.c: Likewise.
28573 * math/s_catan.c: Likewise.
28574 * math/s_catanf.c: Likewise.
28575 * math/s_catanh.c: Likewise.
28576 * math/s_catanhf.c: Likewise.
28577 * math/s_catanhl.c: Likewise.
28578 * math/s_catanl.c: Likewise.
28579 * math/s_ccosh.c: Likewise.
28580 * math/s_ccoshf.c: Likewise.
28581 * math/s_ccoshl.c: Likewise.
28582 * math/s_cexp.c: Likewise.
28583 * math/s_cexpf.c: Likewise.
28584 * math/s_cexpl.c: Likewise.
28585 * math/s_clog.c: Likewise.
28586 * math/s_clog10.c: Likewise.
28587 * math/s_clog10f.c: Likewise.
28588 * math/s_clog10l.c: Likewise.
28589 * math/s_clogf.c: Likewise.
28590 * math/s_clogl.c: Likewise.
28591 * math/s_csin.c: Likewise.
28592 * math/s_csinf.c: Likewise.
28593 * math/s_csinh.c: Likewise.
28594 * math/s_csinhf.c: Likewise.
28595 * math/s_csinhl.c: Likewise.
28596 * math/s_csinl.c: Likewise.
28597 * math/s_csqrt.c: Likewise.
28598 * math/s_csqrtf.c: Likewise.
28599 * math/s_csqrtl.c: Likewise.
28600 * math/s_ctan.c: Likewise.
28601 * math/s_ctanf.c: Likewise.
28602 * math/s_ctanh.c: Likewise.
28603 * math/s_ctanhf.c: Likewise.
28604 * math/s_ctanhl.c: Likewise.
28605 * math/s_ctanl.c: Likewise.
28606 * math/s_ldexp.c: Likewise.
28607 * math/s_ldexpf.c: Likewise.
28608 * math/s_ldexpl.c: Likewise.
28609 * math/s_significand.c: Likewise.
28610 * math/s_significandf.c: Likewise.
28611 * math/s_significandl.c: Likewise.
28612 * math/w_acos.c: Likewise.
28613 * math/w_acosf.c: Likewise.
28614 * math/w_acosh.c: Likewise.
28615 * math/w_acoshf.c: Likewise.
28616 * math/w_acoshl.c: Likewise.
28617 * math/w_acosl.c: Likewise.
28618 * math/w_asin.c: Likewise.
28619 * math/w_asinf.c: Likewise.
28620 * math/w_asinl.c: Likewise.
28621 * math/w_atan2.c: Likewise.
28622 * math/w_atan2f.c: Likewise.
28623 * math/w_atan2l.c: Likewise.
28624 * math/w_atanh.c: Likewise.
28625 * math/w_atanhf.c: Likewise.
28626 * math/w_atanhl.c: Likewise.
28627 * math/w_cosh.c: Likewise.
28628 * math/w_coshf.c: Likewise.
28629 * math/w_coshl.c: Likewise.
28630 * math/w_dremf.c: Likewise.
28631 * math/w_exp10.c: Likewise.
28632 * math/w_exp10f.c: Likewise.
28633 * math/w_exp10l.c: Likewise.
28634 * math/w_exp2.c: Likewise.
28635 * math/w_exp2f.c: Likewise.
28636 * math/w_fmod.c: Likewise.
28637 * math/w_fmodf.c: Likewise.
28638 * math/w_fmodl.c: Likewise.
28639 * math/w_hypot.c: Likewise.
28640 * math/w_hypotf.c: Likewise.
28641 * math/w_hypotl.c: Likewise.
28642 * math/w_j0.c: Likewise.
28643 * math/w_j0f.c: Likewise.
28644 * math/w_j0l.c: Likewise.
28645 * math/w_j1.c: Likewise.
28646 * math/w_j1f.c: Likewise.
28647 * math/w_j1l.c: Likewise.
28648 * math/w_jn.c: Likewise.
28649 * math/w_jnf.c: Likewise.
28650 * math/w_jnl.c: Likewise.
28651 * math/w_lgamma.c: Likewise.
28652 * math/w_lgamma_r.c: Likewise.
28653 * math/w_lgammaf.c: Likewise.
28654 * math/w_lgammaf_r.c: Likewise.
28655 * math/w_lgammal.c: Likewise.
28656 * math/w_lgammal_r.c: Likewise.
28657 * math/w_log.c: Likewise.
28658 * math/w_log10.c: Likewise.
28659 * math/w_log10f.c: Likewise.
28660 * math/w_log10l.c: Likewise.
28661 * math/w_log2.c: Likewise.
28662 * math/w_log2f.c: Likewise.
28663 * math/w_log2l.c: Likewise.
28664 * math/w_logf.c: Likewise.
28665 * math/w_logl.c: Likewise.
28666 * math/w_pow.c: Likewise.
28667 * math/w_powf.c: Likewise.
28668 * math/w_powl.c: Likewise.
28669 * math/w_remainder.c: Likewise.
28670 * math/w_remainderf.c: Likewise.
28671 * math/w_remainderl.c: Likewise.
28672 * math/w_scalb.c: Likewise.
28673 * math/w_scalbf.c: Likewise.
28674 * math/w_scalbl.c: Likewise.
28675 * math/w_sinh.c: Likewise.
28676 * math/w_sinhf.c: Likewise.
28677 * math/w_sinhl.c: Likewise.
28678 * math/w_sqrt.c: Likewise.
28679 * math/w_sqrtf.c: Likewise.
28680 * math/w_sqrtl.c: Likewise.
28681 * math/w_tgamma.c: Likewise.
28682 * math/w_tgammaf.c: Likewise.
28683 * math/w_tgammal.c: Likewise.
28684
6a621eb7
UD
28685 * po/ja.po: Update from translation team.
28686
bf582445
AJ
286872011-09-29 Andreas Jaeger <aj@suse.de>
28688
f9efbf3a
AJ
28689 [BZ #13179]
28690 * sunrpc/netname.c (netname2host): Fix logic.
28691
bf582445
AJ
28692 [BZ #6779]
28693 [BZ #6783]
28694 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28695 correctly.
28696 * math/w_remainder.c (__remainder): Likewise.
28697 * math/w_remainderf.c (__remainderf): Likewise.
28698 * math/libm-test.inc (remainder_test): Add test cases.
28699
48693bea
AK
287002011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28701
28702 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28703 sdiv_qrnnd.
28704
42622229
LD
287052011-10-07 Ulrich Drepper <drepper@gmail.com>
28706
28707 * string/test-memcmp.c: Avoid unncessary #defines.
28708 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28709
093ecf92
LD
287102011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28711
28712 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28713 Use new sse2 version for core i3 - i7 as it's faster
28714 than sse42 version.
28715 (bit_Prefer_PMINUB_for_stringop): New.
28716 * sysdeps/x86_64/rawmemchr.S: Update.
28717 Replace with faster SSE2 version.
28718 * sysdeps/x86_64/memrchr.S: New file.
28719 * sysdeps/x86_64/memchr.S: Update.
28720 Replace with faster SSE2 version.
28721
fde56e5c
MP
287222011-09-12 Marek Polacek <mpolacek@redhat.com>
28723
28724 * elf/dl-load.c (lose): Add cast to avoid warning.
28725
21fd49a9
UD
287262011-10-07 Ulrich Drepper <drepper@gmail.com>
28727
5a06e643
UD
28728 * po/ca.po: Update from translation team.
28729
684ae515
UD
28730 * inet/getnetgrent_r.c: Hook up nscd.
28731 * nscd/Makefile (routines): Add nscd_netgroup.
28732 (nscd-modules): Add netgroupcache.
28733 (CFLAGS-netgroupcache.c): Define.
28734 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28735 (cache_search): Add const to second parameter.
28736 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28737 INNETGR.
28738 (dbs): Add netgrdb entry.
28739 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28740 (verify_persistent_db): Handle netgrdb.
28741 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28742 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28743 GETFDNETGR.
28744 (netgroup_response_header): Define.
28745 (innetgroup_response_header): Define.
28746 (datahead): Add netgroup_response_header and innetgroup_response_header
28747 elements.
28748 * nscd/nscd.conf: Add entries for netgroup cache.
28749 * nscd/nscd.h (dbtype): Add netgrdb.
28750 (_PATH_NSCD_NETGROUP_DB): Define.
28751 (netgroup_iov_disabled): Declare.
28752 (xmalloc, xcalloc, xrealloc): Move declarations here.
28753 (cache_search): Adjust prototype.
28754 Add netgroup-related prototypes.
28755 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28756 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28757 (__nscd_innetgr): Declare.
28758 * nscd/selinux.c (perms): Use access_vector_t as element type and
28759 add netgroup-related initializers.
28760 * nscd/netgroupcache.c: New file.
28761 * nscd/nscd_netgroup.c: New file.
28762 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28763 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28764 For four parameters use innetgr.
28765 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28766 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28767 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28768 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28769
21fd49a9
UD
28770 * nscd/connections.c (register_traced_file): Don't register file
28771 for disabled databases.
28772
054c0457
UD
287732011-10-06 Ulrich Drepper <drepper@gmail.com>
28774
32b63198
UD
28775 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28776
054c0457
UD
28777 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28778 from tree and freeing node.
28779
64031225
JO
287802011-09-25 Jiri Olsa <jolsa@redhat.com>
28781
28782 * nss/nsswitch.c (__nss_database_lookup): Handle
28783 nss_parse_service_list out of memory case.
28784
0490345c
JO
287852011-09-15 Jiri Olsa <jolsa@redhat.com>
28786
28787 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28788 out of memory case.
28789
3a62d00d
AS
287902011-10-04 Andreas Schwab <schwab@redhat.com>
28791
28792 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28793 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28794 pass it down.
28795 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28796 elf_machine_rela, elf_machine_lazy_rel.
28797 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28798 (ELF_DYNAMIC_DO_REL): Likewise.
28799 (ELF_DYNAMIC_DO_RELA): Likewise.
28800 (ELF_DYNAMIC_RELOCATE): Likewise.
28801 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28802 to ELF_DYNAMIC_DO_REL.
28803 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28804 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28805 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28806 elf_machine_rela.
28807 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28808 skip_ifunc, don't call ifunc function if non-zero.
28809 (elf_machine_rela): Likewise.
28810 (elf_machine_lazy_rel): Likewise.
28811 (elf_machine_lazy_rela): Likewise.
28812 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28813 (elf_machine_lazy_rel): Likewise.
28814 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28815 Likewise.
28816 (elf_machine_lazy_rel): Likewise.
28817 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28818 Likewise.
28819 (elf_machine_lazy_rel): Likewise.
28820 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28821 (elf_machine_lazy_rel): Likewise.
28822 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28823 (elf_machine_lazy_rel): Likewise.
28824 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28825 (elf_machine_lazy_rel): Likewise.
28826 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28827 (elf_machine_lazy_rel): Likewise.
28828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28829 (elf_machine_lazy_rel): Likewise.
28830 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28831 (elf_machine_lazy_rel): Likewise.
28832
68577918
UD
288332011-09-28 Ulrich Drepper <drepper@gmail.com>
28834
28835 * nss/nss_files/files-init.c (_nss_files_init): Use static
28836 initialization for all the *_traced_file variables.
28837
68822d74
AS
288382011-09-28 Andreas Schwab <schwab@redhat.com>
28839
28840 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28841
2056100b
RM
288422011-09-27 Roland McGrath <roland@hack.frob.com>
28843
28844 [BZ #13226]
28845 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28846
32c76b63
AS
288472011-09-27 Andreas Schwab <schwab@redhat.com>
28848
28849 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28850 Reread the line before reparsing it.
28851
bf972c9d
AS
288522011-09-26 Andreas Schwab <schwab@redhat.com>
28853
28854 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28855
e057a1b5
JM
288562011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28857 Maxim Kuvyrkov <maxim@codesourcery.com>
28858 Joseph Myers <joseph@codesourcery.com>
28859
28860 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28861 if needed for __stack_chk_guard.
28862
bc7e1c36
RM
288632011-09-19 Roland McGrath <roland@hack.frob.com>
28864
ecb1482f
RM
28865 * sysdeps/posix/spawni.c (script_execute): Always define it.
28866 It will be optimized away if unused.
28867 (maybe_script_execute): New function.
28868 (__spawni): Call it.
28869
bc7e1c36
RM
28870 * Makerules: Don't include tls.make.
28871 (config-tls): Always set to thread.
28872 * tls.make.c: File removed.
28873
1c3b002b
MF
288742011-09-19 Mike Frysinger <vapier@gentoo.org>
28875
28876 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28877 * config.make.in (CPPFLAGS-config): New substituted variable.
28878
2840865d
UD
288792011-09-15 Ulrich Drepper <drepper@gmail.com>
28880
88738eb6
UD
28881 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28882
cbf645a6 28883 [BZ #13192]
2840865d
UD
28884 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28885 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28886
b402e91a
RM
288872011-09-15 Roland McGrath <roland@hack.frob.com>
28888
28889 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28890 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28891 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28892 (CALL_FAIL): Likewise.
28893 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28894 (CALL_FAIL): Macro removed.
28895 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28896
4c1a1f71
UD
288972011-09-15 Ulrich Drepper <drepper@gmail.com>
28898
28899 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28900 for __FINITE_MATH_ONLY__ == 1.
28901
edc121be
AS
289022011-09-15 Andreas Schwab <schwab@redhat.com>
28903
28904 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28905 __ieee754_sqrt instead of sqrt.
28906 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28907 __ieee754_sqrtf instead of sqrtf.
28908 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28909 __floorf instead of floorf.
28910 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28911 __floorf, __truncf instead of floorf, truncf.
28912
cd205654
UD
289132011-09-14 Ulrich Drepper <drepper@gmail.com>
28914
ee4d0315
UD
28915 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28916
cd205654
UD
28917 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28918 __extern_always_inline.
28919 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28920 32-bit.
28921
48b67d71
AS
289222011-09-14 Andreas Schwab <schwab@redhat.com>
28923
28924 * elf/rtld.c (dl_main): Also relocate in dependency order when
28925 doing symbol dependency testing.
28926
1ae12c75
AS
289272011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28928
28929 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28930 Always define `refsym'.
28931
995a80df
AS
289322011-09-13 Andreas Schwab <schwab@redhat.com>
28933
e529793b
AS
28934 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28935 (__FD_ELT): Renamed from __FDELT.
28936 * misc/bits/select2.h (__FD_ELT): Likewise.
28937 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28938 __FD_MASK instead of __FDELT, __FDMASK.
28939 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28940 Likewise.
28941 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28942 Likewise.
28943
52d4fef8
AS
28944 * elf/Makefile (gen-ldd): Fix pattern.
28945
995a80df
AS
28946 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28947 (init_tls): Likewise.
28948
8682f8b0
UD
289492011-09-12 Ulrich Drepper <drepper@gmail.com>
28950
28951 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28952
de82006d
AS
289532011-09-12 Andreas Schwab <schwab@redhat.com>
28954
a7c8e6a1
AS
28955 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28956 `struct cmsghdr *' instead of `void *'.
28957 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28958 Likewise.
28959
0f31fe77
AS
289602011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28961
28962 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28963 if non-absolute.
28964 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28965 ldd_rewrite_script.
0f31fe77 28966
32b4c839
UD
289672011-09-11 Ulrich Drepper <drepper@gmail.com>
28968
83cd1420
UD
28969 * configure.in: Remove --with-tls option.
28970 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28971 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28972 out in case it is missing.
28973 * sysdeps/ia64/elf/configure.in: Likewise.
28974 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28975 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28976 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28977 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28978 * sysdeps/sh/elf/configure.in: Likewise.
28979 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28980 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28981 * sysdeps/x86_64/elf/configure.in: Likewise.
28982 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28983 * sysdeps/mach/hurd/tls.h: Likewise.
28984
633f745d
UD
28985 [BZ #13067]
28986 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28987
f318beb8
UD
28988 [BZ #13090]
28989 * configure.in: Fix use of AC_INIT.
28990
32b4c839
UD
28991 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28992
3ce1f295
UD
289932011-09-10 Ulrich Drepper <drepper@gmail.com>
28994
bb016596
UD
28995 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28996 __set_errno.
8e58439c
UD
28997 * malloc/hooks.c: Likewise.
28998
aebae053 28999 [BZ #11929]
02d46fc4
UD
29000 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29001 variables statically.
29002 (narenas): Initialize.
29003 (list_lock): Initialize.
bb016596
UD
29004 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29005 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
29006 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29007 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29008 Add initializers to main_arena and mp_.
29009 (malloc_state): Remove pagesize member. Change all users to use
29010 GLRO(dl_pagesize).
29011
29012 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29013 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29014 is always initialized.
29015
22a89187
UD
29016 * malloc/malloc.c: Removed unused configurations and dead code.
29017 * malloc/arena.c: Likewise.
29018 * malloc/hooks.c: Likewise.
02d46fc4 29019 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 29020
d063d164
UD
29021 * include/tls.h: Removed. USE___THREAD must always be defined.
29022 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29023 * elf/dl-libc.c: Likewise.
29024 * elf/dl-tsd.c: Likewise.
29025 * include/errno.h: Likewise.
29026 * include/netdb.h: Likewise.
29027 * include/resolv.h: Likewise.
29028 * inet/herrno-loc.c: Likewise.
29029 * inet/herrno.c: Likewise.
29030 * malloc/arena.c: Likewise.
29031 * malloc/hooks.c: Likewise.
29032 * malloc/malloc.c: Likewise.
29033 * resolv/res-state.c: Likewise.
29034 * resolv/res_libc.c: Likewise.
29035 * sysdeps/i386/dl-machine.h: Likewise.
29036 * sysdeps/ia64/dl-machine.h: Likewise.
29037 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29038 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29039 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29040 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29041 * sysdeps/sh/dl-machine.h: Likewise.
29042 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29043 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29044 * sysdeps/unix/i386/sysdep.S: Likewise.
29045 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29046 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29047 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29048 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29049 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29050 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29051 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29052 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29054 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29055 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29056 * sysdeps/x86_64/dl-machine.h: Likewise.
29057 * tls.make.c: Likewise.
29058
3ce1f295
UD
29059 * configure.in: Remove --with-__thread option. Make tests for
29060 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29061 tls_model attribute fail if no support is available. Remove
29062 USE_IN_LIBIO.
29063 * Makeconfig: Adjust for dropped configure option. All features are
29064 now mandatory.
29065 * Makerules: Likewise.
29066 * Versions.def: Likewise.
29067 * argp/argp-fmtstream.c: Likewise.
29068 * argp/argp-fmtstream.h: Likewise.
29069 * argp/argp-help.c: Likewise.
29070 * assert/assert.c: Likewise.
29071 * config.h.in: Likewise.
29072 * config.make.in: Likewise.
29073 * configure: Likewise.
29074 * configure.in: Likewise.
29075 * csu/Versions: Likewise.
29076 * csu/init.c: Likewise.
29077 * elf/tst-audit2.c: Likewise.
29078 * elf/tst-tls10.c: Likewise.
29079 * elf/tst-tls10.h: Likewise.
29080 * elf/tst-tls11.c: Likewise.
29081 * elf/tst-tls12.c: Likewise.
29082 * elf/tst-tls14.c: Likewise.
29083 * elf/tst-tlsmod11.c: Likewise.
29084 * elf/tst-tlsmod12.c: Likewise.
29085 * elf/tst-tlsmod13.c: Likewise.
29086 * elf/tst-tlsmod13a.c: Likewise.
29087 * elf/tst-tlsmod14a.c: Likewise.
29088 * elf/tst-tlsmod15b.c: Likewise.
29089 * elf/tst-tlsmod16a.c: Likewise.
29090 * elf/tst-tlsmod16b.c: Likewise.
29091 * elf/tst-tlsmod7.c: Likewise.
29092 * elf/tst-tlsmod8.c: Likewise.
29093 * elf/tst-tlsmod9.c: Likewise.
29094 * gmon/gmon.c: Likewise.
29095 * grp/fgetgrent_r.c: Likewise.
29096 * grp/putgrent.c: Likewise.
29097 * hurd/fopenport.c: Likewise.
29098 * include/libc-symbols.h: Likewise.
29099 * include/tls.h: Likewise.
29100 * intl/gettextP.h: Likewise.
29101 * intl/loadinfo.h: Likewise.
29102 * locale/global-locale.c: Likewise.
29103 * locale/localeinfo.h: Likewise.
29104 * mach/devstream.c: Likewise.
29105 * malloc/arena.c: Likewise.
29106 * malloc/set-freeres.c: Likewise.
29107 * misc/err.c: Likewise.
29108 * misc/getttyent.c: Likewise.
29109 * misc/mntent_r.c: Likewise.
29110 * posix/getopt.c: Likewise.
29111 * posix/wordexp.c: Likewise.
29112 * pwd/fgetpwent_r.c: Likewise.
29113 * resolv/Versions: Likewise.
29114 * resolv/res_hconf.c: Likewise.
29115 * shadow/fgetspent_r.c: Likewise.
29116 * shadow/putspent.c: Likewise.
29117 * stdio-common/printf_fphex.c: Likewise.
29118 * stdio-common/tmpfile.c: Likewise.
29119 * stdlib/abort.c: Likewise.
29120 * stdlib/fmtmsg.c: Likewise.
29121 * sunrpc/auth_unix.c: Likewise.
29122 * sunrpc/clnt_perr.c: Likewise.
29123 * sunrpc/clnt_tcp.c: Likewise.
29124 * sunrpc/clnt_udp.c: Likewise.
29125 * sunrpc/clnt_unix.c: Likewise.
29126 * sunrpc/openchild.c: Likewise.
29127 * sunrpc/svc_simple.c: Likewise.
29128 * sunrpc/svc_tcp.c: Likewise.
29129 * sunrpc/svc_udp.c: Likewise.
29130 * sunrpc/svc_unix.c: Likewise.
29131 * sunrpc/xdr.c: Likewise.
29132 * sunrpc/xdr_array.c: Likewise.
29133 * sunrpc/xdr_rec.c: Likewise.
29134 * sunrpc/xdr_ref.c: Likewise.
29135 * sunrpc/xdr_stdio.c: Likewise.
29136
1248c1c4
PB
291372011-09-09 Ulrich Drepper <drepper@gmail.com>
29138
29139 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29140
291412011-07-03 Andreas Jaeger <aj@suse.de>
29142
29143 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29144 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29145 regenerate with gen-libm-tests.pl.
29146
291472010-05-12 Petr Baudis <pasky@suse.cz>
29148
29149 [BZ #11589]
29150 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29151 around j0() zero points by switching to j1().
29152 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29153 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29154 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29155 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29156
f22e1074
UD
291572011-09-09 Ulrich Drepper <drepper@gmail.com>
29158
f19009c1
UD
29159 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29160 instead of 0.
29161 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29162 instead of 0.
f19009c1
UD
29163 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29164 Patch in part by Pavel Roskin <proski@gnu.org>.
29165
3f8cc204
UD
29166 [BZ #13138]
29167 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29168 realloc.
29169 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29170 Free memory block if necessary.
29171
f22e1074
UD
29172 [BZ #12847]
29173 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29174 be NULL. Don't lock in this case.
29175
0a2349f9
RM
291762011-09-09 Roland McGrath <roland@hack.frob.com>
29177
29178 * elf/elf.h (ELFOSABI_GNU): New macro.
29179 (ELFOSABI_LINUX): Define to that.
29180
f3cdd467
DZ
291812011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29182
29183 * string/strncat.c (strncat): Undef the symbol in case it has been
29184 defined in bits/string.h.
29185
74718d13
UD
291862011-09-09 Ulrich Drepper <drepper@gmail.com>
29187
633e9e0f
UD
29188 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29189
0a2349f9 29190 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29191 link map.
29192
f9924780
AJ
291932011-08-17 Andreas Jaeger <aj@suse.de>
29194
29195 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29196
7f5517aa
PP
291972011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29198 Ian Lance Taylor <iant@google.com>
29199
29200 * math/libm-test.inc (lround_test): New testcase.
29201 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29202
762011fe
UD
292032011-09-08 Ulrich Drepper <drepper@gmail.com>
29204
92963737
UD
29205 * Makefile: Remove support for automatic cvs check-ins.
29206 * Makerules: Likewise.
29207 * config.make.in: Likewise.
29208 * configure.in: Likewise.
29209 * intl/Makefile: Likewise.
29210 * locale/Makefile: Likewise.
29211 * po/Makefile: Likewise.
29212 * posix/Makefile: Likewise.
29213 * sysdeps/gnu/Makefile: Likewise.
29214 * sysdeps/mach/hurd/Makefile: Likewise.
29215 * sysdeps/sparc/sparc32/Makefile: Likewise.
29216
b0727fd8
JS
29217 [BZ #13118]
29218 * posix/Makefile (bug-regex32-ENV): Define.
29219 Patch by John Stanley <jpsinthemix@verizon.net>.
29220
a0f33f99
UD
29221 * misc/Makefile (headers): Add bits/select2.h.
29222 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29223 * misc/bits/select2.h: New file.
29224 * include/bits/select2.h: New file.
29225 * debug/Makefile (routines): Add fdelt_chk.
29226 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29227 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29228 FD_ISSET.
29229 * debug/fdelt_chk.c: New file.
29230
762011fe
UD
29231 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29232 * wcsmbs/test-wmemcmp.c: Likewise.
29233 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29234 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29235
292362011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29237
29238 * string/Makefile (strop-tests): Add memcmp.
29239 * string/test-wmemcmp.c: New file.
29240 * string/test-memcmp.c: Add wmemcmp support.
29241
7f513ec8
RM
292422011-09-08 Roland McGrath <roland@hack.frob.com>
29243
0442afb4
RM
29244 [BZ #13153]
29245 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29246 2011-07-19 change.
29247
7f513ec8
RM
29248 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29249 garbage value in a __mach_port_mod_refs call in the cases of the
29250 task-self and thread-self ports.
29251
a12b2239
ST
292522011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29253
29254 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29255
610f9ab4
AS
292562011-09-08 Andreas Schwab <schwab@redhat.com>
29257
7f513ec8 29258 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29259
48882a1a
LD
292602011-09-07 Ulrich Drepper <drepper@gmail.com>
29261
b49865be
UD
29262 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29263
fdc86bc9
UD
29264 * elf/dl-libc.c (dlerror_run): Pass back error code from
29265 dl_catch_error.
29266
c966526a
UD
29267 [BZ #13123]
29268 * elf/dl-load.c (lose): Free l_origin if it is valid.
29269
48882a1a
LD
29270 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29271 names.
29272 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29273 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29274 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29275 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29276 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29277 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29278
77a2a8b4
AZ
292792011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29280
29281 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29282 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29283 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29284 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29285 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29286 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29287 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29288 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29289 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29290 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29291
24f579d8
AM
292922011-08-15 Alan Modra <amodra@gmail.com>
29293
29294 [BZ #13092]
29295 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29296 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29297 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29298 ppc_mcount to static-only-routines.
29299 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29300 __mcount_internal.
29301 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29302 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29303
3d4837df
UD
293042011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29305
29306 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29307 for finite and infinity parameters.
29308
22700377
WS
293092011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29310
29311 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29312 and add nop instructions for throughput optimization.
29313 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29314
5025581e
WS
293152011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29316
29317 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29318 aligned copy for power7 with vector-scalar instructions.
29319 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29320
08a300c9
L
293212011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29322
29323 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29324 AVX check.
29325
59178ef9
AS
293262011-09-07 Andreas Schwab <schwab@redhat.com>
29327
29328 [BZ #13144]
29329 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29330 last change.
29331
e38ba7ab
UD
293322011-09-07 Ulrich Drepper <drepper@gmail.com>
29333
29334 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29335 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29336 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29337 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29338 clock_gettime.
29339
d53a73ac
UD
293402011-09-06 Ulrich Drepper <drepper@gmail.com>
29341
fc8bffcc
UD
29342 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29343 Forgot to demangle the pointer.
29344
ceaa0c5d
UD
29345 * sysdeps/i386/sysdep.h: Define atom_text_section.
29346 * sysdeps/x86_64/sysdep.h: Likewise.
29347 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29348 section with atom_text_section.
29349 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29350 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29351 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29352 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29353 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29354
a77d3c17
UD
29355 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29356 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29357 already be defined. Change to take two parameters and don't assign
29358 result to variable. Adjust all users.
29359 Define INTERNAL_GETTIME if not already defined.
29360 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29361 call.
29362 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29363 HAVE_CLOCK_GETTIME_VSYSCALL.
29364 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29365
d53a73ac
UD
29366 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29367 gettimeofday vsyscall, just use time.
29368
a8f84144
AS
293692011-09-06 Andreas Schwab <schwab@redhat.com>
29370
29371 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29372 <errno.h>.
29373
ef606249
UD
293742011-09-06 Ulrich Drepper <drepper@gmail.com>
29375
29376 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29377 syscall on x86-64.
29378 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29379 syscall.
29380 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29381 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29382 syscall if possible.
29383
6585cb60
UD
293842011-09-05 Ulrich Drepper <drepper@gmail.com>
29385
29386 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29387 e_ident. Don't pass to find_mapsXX.
29388 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29389
a5f524e4
LD
293902011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29391
29392 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29393 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29394 * sysdeps/x86_64/multiarch/strchr.S: Update.
29395 Check bit_slow_BSF bit.
29396 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29397 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29398 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29399
554881ef
UD
294002011-09-05 Ulrich Drepper <drepper@gmail.com>
29401
d96de963
UD
29402 [BZ #13134]
29403 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29404 before glibc 2.15.
29405 (tryshell): Define.
29406 (__spawni): Change last parameter to be flag. Test
29407 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29408 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29409 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29410 * posix/spawni.c: Likewise.
29411 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29412 * posix/spawnp.c: Likewise. Change normal version to use
29413 SPAWN_XFLAGS_USE_PATH.
29414 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29415 SPAWN_XFLAGS_TRY_SHELL.
29416
d48e5868
UD
29417 [BZ #13150]
29418 * posix/glob.h: Remove gcc 1.x support.
29419
554881ef
UD
29420 [BZ #13068]
29421 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29422
693fb948
LD
294232011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29424
29425 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29426 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29427 strrchr-sse2-bsf
29428 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29429 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29430 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29431 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29432 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29433 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29434
1b48c537
UD
294352011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29436
49d42c37
UD
29437 * sysdeps/x86_64/wcscmp.S: New file.
29438
1b48c537
UD
29439 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29440 wcscmp-c wcscmp-sse2
29441 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29442 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29443 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29444 * wcsmbs/wcscmp.c: Allow renaming.
29445
15c95c5d
DM
294462011-09-05 David S. Miller <davem@davemloft.net>
29447
29448 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29449 stack slot, rather than the struct return pointer slot.
29450 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29451 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29453 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29454
2f0ad8f3
UD
294552011-09-05 Ulrich Drepper <drepper@gmail.com>
29456
d88ae418
UD
29457 * po/ja.po: Update from translation team.
29458
2f0ad8f3
UD
29459 [BZ #13144]
29460 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29461 kernel in 64-bit binaries.
29462
5f4318d1
DM
294632011-09-01 David S. Miller <davem@davemloft.net>
29464
29465 * elf/elf.h (HWCAP_SPARC_*): Move to..
29466 * sysdeps/sparc/sysdep.h: this new file and add new values.
29467 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29468 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29469 _DL_HWCAP_COUNT to 24.
29470 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29471 entries.
29472 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29473 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29474 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29475 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29476 instead of magic constants.
29477 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29478
3ba57516
DM
294792011-08-31 David S. Miller <davem@davemloft.net>
29480
29481 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29483 Reimplement to do errno handling inline.
29484 (SYSCALL_ERROR_HANDLER): New macro.
29485 (__SYSCALL_STRING): Do not do errno handling in asm.
29486 (__CLONE_SYSCALL_STRING): Delete.
29487 (__INTERNAL_SYSCALL_STRING): Delete.
29488 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29489 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29490 (PSEUDO): Reimplement to do errno handling inline.
29491 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29492 (SYSCALL_ERROR_HANDLER): New macro.
29493 (__SYSCALL_STRING): Do not do errno handling in asm.
29494 (__CLONE_SYSCALL_STRING): Delete.
29495 (__INTERNAL_SYSCALL_STRING): Delete.
29496 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29497 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29498 i386.
29499 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29500 (inline_syscall*): Add 'err' argument.
29501 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29502 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29503 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29504 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29505
29506 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29507 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29508
2bc17433
AS
295092011-08-30 Andreas Schwab <schwab@redhat.com>
29510
29511 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29512
fbeb5f4d
JO
295132011-08-29 Jiri Olsa <jolsa@redhat.com>
29514
29515 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29516 directive.
29517
ad69cc26
DM
295182011-08-24 David S. Miller <davem@davemloft.net>
29519
29520 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29521
39dd69df
AS
295222011-08-24 Andreas Schwab <schwab@redhat.com>
29523
29524 * elf/Makefile: Add rules to build and run unload8 test.
29525 * elf/unload8.c: New file.
29526 * elf/unload8mod1.c: New file.
29527 * elf/unload8mod1x.c: New file.
29528 * elf/unload8mod2.c: New file.
29529 * elf/unload8mod3.c: New file.
29530
29531 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29532 it wasn't used.
29533
2c0b250a
DM
295342011-08-23 David S. Miller <davem@davemloft.net>
29535
29536 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29537 subtract stack bias.
29538 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29539 %sp not %fp in calculations.
29540 (_JMPBUF_UNWINDS_ADJ): Likewise.
29541
22044b48
DM
29542 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29543 (aio_suspend): Call it to force an exception region around the
29544 AIO_MISC_WAIT() invocation.
29545
2cae4995
AS
295462011-08-23 Andreas Schwab <schwab@redhat.com>
29547
29548 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29549 backslash.
29550
873a772e
AJ
295512011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29552
29553 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29554 protection macro.
29555 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29556 and <dl-machine.h>.
29557 (Elf64_FuncDesc): Remove.
29558
25ad0df1
DM
295592011-08-22 David S. Miller <davem@davemloft.net>
29560
29561 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29562 sigaltstack check, add missing cfi directives.
29563 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29564 missing cfi directives, and sigaltstack handling.
29565
e888bcbe
AS
295662011-08-16 Andreas Schwab <schwab@redhat.com>
29567
29568 [BZ #11724]
29569 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29570 object is seen twice.
29571 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29572
29573 * elf/Makefile (distribute): Add tst-initorder2.c.
29574 (tests): Add tst-initorder2.
29575 (modules-names): Add tst-initorder2a tst-initorder2b
29576 tst-initorder2c tst-initorder2d. Add rules to build them.
29577 ($(objpfx)tst-initorder2.out): New rule.
29578 * elf/tst-initorder2.c: New file.
29579 * elf/tst-initorder2.exp: New file.
29580
87162f46
AS
295812011-08-22 Andreas Schwab <schwab@redhat.com>
29582
70538b7f
AS
29583 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29584
f55ffe58
AS
29585 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29586 dependencies back to end of function.
29587
87162f46
AS
29588 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29589 $(elfobjdir)/ld.so.
29590
91b392a4
UD
295912011-08-21 Ulrich Drepper <drepper@gmail.com>
29592
29593 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29594 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29595 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29596 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29597 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29598 of __vdso_gettimeofday.
29599 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29600 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29601 attribute_hidden.
29602 (_libc_vdso_platform_setup): Remove initialization of
29603 __vdso_gettimeofday and __vdso_time.
29604
5c43483f
UD
296052011-08-20 Ulrich Drepper <drepper@gmail.com>
29606
775a77e7
UD
29607 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29608 and fgetc_unlocked.
29609 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29610 getc_unlocked.
89f447ed 29611
49c74ba9
UD
29612 * elf/dl-open.c (add_to_global): Report additions to the global scope
29613 for LD_DEBUG=scopes.
29614 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29615 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29616
5c43483f
UD
29617 [BZ #13114]
29618 * stdio-common/Makefile (tests): Add bug24.
29619 * stdio-common/bug24.c: New file.
29620
a101b025
AJ
296212011-08-19 Andreas Jaeger <aj@suse.de>
29622
29623 [BZ #13114]
29624 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29625 non-existant file when using close-on-exec mode.
29626
c88f1766
UD
296272011-08-20 Ulrich Drepper <drepper@gmail.com>
29628
0276a718
UD
29629 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29630 the very first instruction.
29631
c88f1766
UD
29632 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29633 the CFI state in the end.
29634 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29635 inclusion of dl-trampoline.h.
29636 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29637
51ccffa0
AS
296382011-08-19 Andreas Schwab <schwab@redhat.com>
29639
94d7165f
AS
29640 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29641 expectations for long double.
29642
51ccffa0
AS
29643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29644 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29645
fd708658 296462011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29647
29648 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29649 artificual limit depends upon the system page size.
29650
44f0a71e
UD
296512011-08-17 Ulrich Drepper <drepper@gmail.com>
29652
29653 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29654 * resolv/Makefile: Define CFLAGS-libresolv.
29655
8de79a24
AS
296562011-08-17 Andreas Schwab <schwab@redhat.com>
29657
29658 * nss/makedb.c (compute_tables): Make variables used in nested
29659 function static.
29660
27724598
UD
296612011-08-17 Ulrich Drepper <drepper@gmail.com>
29662
c5305d88
UD
29663 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29664 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29665 if buffer was too small.
29666
27724598
UD
29667 * elf/pldd.c (main): Attach to all threads in the process.
29668 Rewrite /proc handling to use *at functions.
29669
076fe015
UD
296702011-08-16 Ulrich Drepper <drepper@gmail.com>
29671
174baab3
UD
29672 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29673 specifies first scope to show.
29674 (dl_open_worker): Update callers. Move printing scope of new
29675 object to before the relocation.
44f0a71e 29676 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29677 * sysdeps/generic/ldsodefs.h: Update declaration.
29678
076fe015
UD
29679 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29680 string for the scope number.
29681
a60df2c3
UD
296822011-08-14 Ulrich Drepper <drepper@gmail.com>
29683
29684 * nscd/servicescache.c (cache_addserv): Make sure written is always
29685 initialized.
29686
5e4287d1
RM
296872011-08-14 Roland McGrath <roland@hack.frob.com>
29688
85ae0589
RM
29689 * sysdeps/i386/i486/bits/atomic.h
29690 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29691 statement expression, so as to suppress "set but not used" warning.
29692 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29693
69f63097
RM
29694 * string/strncat.c (STRNCAT): Use prototype definition.
29695
675456ef
RM
29696 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29697 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29698 -Iprograms here.
29699 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29700 (localedef-modules): Add localedef.
29701 (locale-modules): Add locale.
29702
5e4287d1
RM
29703 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29704 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29705 to avoid a warning.
29706
9c96ff23
DM
297072011-08-14 David S. Miller <davem@davemloft.net>
29708
29709 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29710 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29711
f9ddf089
UD
297122011-08-13 Ulrich Drepper <drepper@gmail.com>
29713
44f0a71e 29714 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29715 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29716 * elf/rtld.c (dl_main): Set l_name of vDSO.
29717 Call _dl_show_scope when DL_DEBUG_SCOPES.
29718 (process_dl_debug): Recognize scopes flag and also set it for all.
29719 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29720 Declare _dl_show_scope.
29721
1dc27704
UD
29722 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29723 (do_dlopen): Pass caller_dlopen to dl_open.
29724 (__libc_dlopen_mode): Initialize caller_dlopen.
29725
f9ddf089
UD
29726 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29727 of libc. Make tolower call locale-independent. Optimize a bit by
29728 using isdigit instead of isalnum.
29729 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29730
9ac533d3
UD
297312011-08-12 Ulrich Drepper <drepper@gmail.com>
29732
29733 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29734 was a dependency or dynamically loaded.
29735
89edf2e9
UD
297362011-08-11 Ulrich Drepper <drepper@gmail.com>
29737
8e999d29
UD
29738 * intl/l10nflist.c: Allow architecture-specific pop function.
29739 * sysdeps/x86_64/l10nflist.c: New file.
29740
89edf2e9
UD
29741 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29742 classification.
29743
14d96785
AS
297442011-08-10 Andreas Schwab <schwab@redhat.com>
29745
29746 * include/dirent.h: Add libc_hidden_proto for scandirat and
29747 scandirat64. Don't declare __scandirat64.
29748 * dirent/scandirat.c: Add libc_hidden_def.
29749 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29750 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29751
6761ac04
DM
297522011-08-10 David S. Miller <davem@davemloft.net>
29753
29754 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29755 enum.
29756 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29757 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29758 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29759
c55fbd1e
UD
297602011-08-09 Ulrich Drepper <drepper@gmail.com>
29761
29762 * Versions.def [libc]: Add GLIBC_2.15.
29763 * dirent/Makefile (routines): Add scandirat and scandirat64.
29764 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29765 GLIBC_2.15.
29766 * dirent/dirent.h: Declare scandirat and scandirat64.
29767 * dirent/scandirat.c: New file.
29768 * dirent/scandirat64.c: New file.
29769 * sysdeps/wordsize-64/scandirat.c: New file.
29770 * sysdeps/wordsize-64/scandirat64.c: New file.
29771 * dirent/opendir.c: Define opendirat.
29772 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29773 using scandirat.
29774 * dirent/scandir64.c: Adjust for scandir.c change.
29775 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29776 __scandirat64, and __scandir_cancel_handler.
29777 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29778 additional parameter and use openat instead of open (outside of ld.so).
29779 Add new __opendir as wrapper around __opendirat.
29780 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29781 here without requiring old scandirat implementation.
29782
879165f2
UD
297832011-08-08 Ulrich Drepper <drepper@gmail.com>
29784
29785 * dirent/scandir.c (cancel_handler): Renamed to
29786 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29787 defined. Adjust users.
29788 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29789 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29790
cb7e923b
UD
297912011-08-04 Ulrich Drepper <drepper@gmail.com>
29792
16292edd
UD
29793 * string/test-string.h (IMPL): Use __STRING to expand name and then
29794 stringify it.
29795
cb7e923b
UD
29796 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29797 of cleanups.
29798
cff82933
LD
297992011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29800
29801 * string/Makefile: Update.
29802 (strop-tests): Append strncat.
29803 * string/test-wcscmp.c: New file.
29804 New comprehensive test for wcscmp.
29805 * string/test-strcmp.c: Update.
29806 (WIDE): New define.
29807
9be9bfcc
AS
298082011-07-22 Andreas Schwab <schwab@redhat.com>
29809
29810 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29811 line.
29812
2e96f1c7
AS
298132011-07-26 Andreas Schwab <schwab@redhat.com>
29814
29815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29816 encoding to ACE if AI_IDN.
29817
85188888
JJ
298182011-08-01 Jakub Jelinek <jakub@redhat.com>
29819
29820 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29821 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29822
5fa16e9b
LD
298232011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29824
29825 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29826 Fix overflow bug in strncat.
29827 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29828
29829 * string/test-strncat.c: Update.
29830 Add new tests for checking overflow bugs.
29831
298322011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29833
29834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29835 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29836 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29837 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29838 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29839 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29840 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29841 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29842 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29843
29844 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29845 (USE_AS_STRCAT): Define.
29846 Add strcat and strncat support.
29847 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29848
8c1a459f
AS
298492011-07-25 Andreas Schwab <schwab@redhat.com>
29850
29851 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29852 __n bigger than INT_MAX+1.
29853 (__strncmp_g): Likewise.
29854
bba33c28
UD
298552011-07-23 Ulrich Drepper <drepper@gmail.com>
29856
798be72d
UD
29857 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29858 * libio/stido.h: Likewise.
29859
8accd4dc
UD
29860 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29861 (AF_NFC): Define.
29862 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29863 (AF_NFC): Define.
29864
cbff0d96
UD
29865 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29866 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29867 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29868 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29869 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29870
9191c04a
UD
29871 [BZ #13021]
29872 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29873 installed.
29874
bba33c28
UD
29875 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29876 typo.
29877 (_dl_x86_64_save_sse): Likewise.
29878
90f139dd
UD
298792011-07-22 Ulrich Drepper <drepper@gmail.com>
29880
1aae088a
UD
29881 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29882 OSXSAVE.
29883 (_dl_x86_64_save_sse): Likewise.
29884
8e2045f5
UD
29885 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29886
90f139dd
UD
29887 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29888
1d002f25
AS
298892011-07-21 Andreas Schwab <schwab@redhat.com>
29890
29891 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29892 change.
29893 (_dl_x86_64_save_sse): Use correct AVX check.
29894
21137f89
UD
298952011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29896
29897 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29898 bug in strncpy/strncat.
29899 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29900
a65c0b7a
UD
299012011-07-21 Ulrich Drepper <drepper@gmail.com>
29902
29903 * string/tester.c (test_strcat): Add tests for different alignments
29904 of source and destination.
29905 (test_strncat): Likewise.
29906
6986b98a
UD
299072011-07-20 Ulrich Drepper <drepper@gmail.com>
29908
90bb2039
UD
29909 [BZ #12852]
29910 * posix/glob.c (glob): Check passed in values before using them in
29911 expressions to avoid some overflows.
29912 (glob_in_dir): Likewise.
29913
5644ef54
UD
29914 [BZ #13007]
29915 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29916 check for AVX enablement so that we don't crash with old kernels and
29917 new hardware.
29918 * elf/tst-audit4.c: Add same checks here.
29919 * elf/tst-audit6.c: Likewise.
29920
29921 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29922
bfc9dc9b
AS
299232011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29924
29925 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29926
702e64bb
UD
299272011-07-20 Ulrich Drepper <drepper@gmail.com>
29928
29929 * po/cs.po: Update from translation team.
29930 * po/bg.po: Likewise.
29931
295e904f
MP
299322011-07-12 Marek Polacek <mpolacek@redhat.com>
29933
29934 * misc/sys/cdefs.h: Add support for const attribute.
29935 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29936 to gnu_dev_{major,minor,makedev} functions.
29937
3ff94596
MP
299382011-07-20 Marek Polacek <mpolacek@redhat.com>
29939
29940 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29941
28b59fca
AS
299422011-07-20 Andreas Schwab <schwab@redhat.com>
29943
29944 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29945 strlen results.
29946
19df733e
AK
299472011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29948
29949 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29950 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29951 register in order to avoid conflicts with the soft frame pointer
29952 being held in r11 when necessary.
29953 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29954 (INTERNAL_VSYSCALL_NCS): Likewise.
29955
c8835729
MP
299562011-07-14 Marek Polacek <mpolacek@redhat.com>
29957
29958 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29959 * elf/dl-fini.c (_dl_fini): Adjust caller.
29960 * elf/dl-close.c (_dl_close_worker): Likewise.
29961 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29962
b902330c
MP
299632011-07-15 Marek Polacek <mpolacek@redhat.com>
29964
8991e135
MP
29965 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29966 "aux_cache->nlibs < 0".
29967
b902330c
MP
29968 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29969 in the reload-count case.
29970
99710781
LD
299712011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29972
29973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29974 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29975 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29976 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29977 * sysdeps/x86_64/multiarch/strcat.S: New file.
29978 * sysdeps/x86_64/multiarch/strncat.S: New file.
29979 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29980 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29981 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29982 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29983 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29984 (USE_AS_STRCAT): Define.
29985 Add strcat and strncat support.
29986 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29987 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29988 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29989 * string/strncat.c: Update.
29990 (USE_AS_STRNCAT): Define.
29991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29992 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29993 and i7.
29994 * sysdeps/x86_64/multiarch/init-arch.h
29995 (bit_Prefer_PMINUB_for_stringop): New.
29996 (index_Prefer_PMINUB_for_stringop): Likewise.
29997 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29998 bit_Prefer_PMINUB_for_stringop.
29999
7dc6bd90
UD
300002011-07-19 Ulrich Drepper <drepper@gmail.com>
30001
30002 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30003 buffer64.
30004 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30005 of casting of buffer.
30006 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30007 buffer32 and buffer64.
30008 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30009 writes instead of casting of buffer.
30010 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30011 buffer32.
30012 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30013 casting of buffer.
30014
e0e72284
AS
300152011-07-19 Andreas Schwab <schwab@redhat.com>
30016
30017 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30018
feb1eb0b
UD
300192011-07-19 Ulrich Drepper <drepper@gmail.com>
30020
30021 * nscd/nscd.c (termination_handler): Don't do anything for a database
30022 if it has not yet been initialized.
30023
298711ff
UD
300242011-07-18 Ulrich Drepper <drepper@gmail.com>
30025
30026 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30027
300282011-07-15 Marek Polacek <mpolacek@redhat.com>
30029
30030 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30031
f9d68389
UD
300322011-07-18 Ulrich Drepper <drepper@gmail.com>
30033
30034 * po/nl.po: Update from translation team.
30035 * po/sv.po: Likewise.
30036
db290cf5
RM
300372011-07-16 Roland McGrath <roland@hack.frob.com>
30038
30039 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30040 now disallowed by GCC.
5c550700 30041
fd5e21c7
RM
30042 * configure.in (use-default-link): Default to yes if a test -shared
30043 link meets our qualifications.
30044 * configure: Regenerated.
30045
5c550700
RM
30046 * config.make.in (output-format): New variable.
30047 * configure.in: Check for ld --print-output-format support.
30048 * configure: Regenerated.
30049 * Makerules ($(common-objpfx)format.lds)
30050 [$(output-format) != unknown]: Just use $(output-format),
30051 instead of the linker-script munging.
30052
9fa2c032
RM
300532011-07-14 Roland McGrath <roland@hack.frob.com>
30054
a6928d51
RM
30055 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30056 of $(common-objpfx)shlib.lds.
30057 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30058
661607b3
RM
30059 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30060 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30061
9fa2c032
RM
30062 * configure.in (-z relro check): Adjust test code to add a large
30063 writable data section after it.
30064 * configure: Regenerated.
30065
defe9061
RM
300662011-07-11 Roland McGrath <roland@hack.frob.com>
30067
30068 * configure.in (-z relro check): Fix test code to make the variable
30069 truly const.
30070 * configure: Regenerated.
30071
319b9ad4
UD
300722011-07-11 Ulrich Drepper <drepper@gmail.com>
30073
30074 * nscd/nscd.h (struct traced_file): Define.
30075 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30076 elements. Add traced_files.
30077 (inotify_fd): Declare.
30078 (register_traced_file): Declare.
30079 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30080 (inotify_fd): Export.
30081 (resolv_conf_descr): Remove.
30082 (nscd_init): Move inotify descriptor creation to main.
30083 Don't register files for notification here.
30084 (register_traced_file): New function.
30085 (invalidate_cache): Don't use reset_res to determine whether to call
30086 res_init, go through the list of registered files.
30087 (main_loop_poll): The inotify descriptors are now stored in the
30088 structures for the traced files.
30089 (main_loop_epoll): Likewise
30090 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30091 to __nss_disable_nscd.
30092 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30093 for a database anymore. Check the records for all the registered
30094 files instead.
30095 * nss/Makefile (libnss_files-routines): Add files-init.
30096 (libnss_db-routines): Add db-init.
30097 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30098 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30099 * nss/nss_db/db-init.c: New file.
30100 * nss/nss_files/files-init.c: New file.
30101 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30102 __nss_lookup_function.
30103 (__nss_lookup_function): Call nss_load_library.
30104 (nss_load_all_libraries): New function.
30105 (__nss_disable_nscd): Take parameter with callback function for files
30106 to register. Set is_nscd. Load all the DSOs for the NSS modules
30107 used for the cached services.
30108 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30109 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30110 options for features to all the files in nscd.
30111
30112 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30113
23bee3e8
RM
301142011-07-10 Roland McGrath <roland@hack.frob.com>
30115
30116 * csu/elf-init.c (__libc_csu_init): Comment typo.
30117
46a5b7f0
UD
301182011-07-09 Ulrich Drepper <drepper@gmail.com>
30119
30120 * po/pl.po: Update from translation team.
30121 * po/ja.po: Likewise.
30122 * po/ru.po: Likewise.
30123 * po/ko.po: Likewise.
30124 * po/fr.po: Likewise.
30125
d30cf5bb
RM
301262011-07-09 Roland McGrath <roland@hack.frob.com>
30127
113ddea4
RM
30128 * configure.in (.ctors/.dtors header and trailer check):
30129 Use an empirical test on a built program.
30130 * configure: Regenerated.
30131
574920b4
RM
30132 * configure.in (-z relro check): Use an empirical test on a built DSO.
30133 Detect, but do not require, on ia64.
30134 * configure: Regenerated.
30135
d30cf5bb
RM
30136 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30137 Update tests that use readelf to use $READELF instead.
30138 * configure: Regenerated.
30139
8538fdb3
UD
301402011-07-08 Ulrich Drepper <drepper@gmail.com>
30141
30142 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30143 if the result is not used.
30144
04d08991
AJ
301452011-07-05 Andreas Jaeger <aj@suse.de>
30146
30147 [BZ#9696]
30148 * stdlib/tst-strtod.c: Add testcase.
30149
de283087
AD
301502011-07-07 Ulrich Drepper <drepper@gmail.com>
30151
4e5f31c8 30152 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30153 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30154 The latter has a higher limit. Take additional parameter to pass to
30155 the new function.
30156 (__pathconf): Pass file to __statfs_link_max.
30157 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30158 __statfs_link_max.
30159 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30160 __statfs_link_max.
30161
de283087
AD
30162 [BZ #12868]
30163 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30164 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30165 Handle Lustre.
30166 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30167 (__statfs_filesize_max): Likewise.
30168 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30169
c75fa153
AJ
301702011-07-05 Andreas Jaeger <aj@suse.de>
30171
30172 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30173
1a544854
UD
301742011-07-06 Marek Polacek <mpolacek@redhat.com>
30175
30176 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30177 `status' variable.
30178 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30179 Likewise.
30180
6f0eec67
UD
301812011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30182
30183 * Makefile (strop-tests): Add strncat.
30184 * string/test-strncat.c: New file.
30185
aae30307
UD
301862011-06-30 Marek Polacek <mpolacek@redhat.com>
30187
30188 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30189
c0cfb5eb
UD
301902011-06-21 Andreas Jaeger <aj@suse.de>
30191
30192 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30193 Copy rule from iconvdata/Makefile.
30194
01636b21
UD
301952011-07-06 Ulrich Drepper <drepper@gmail.com>
30196
30197 [BZ #12922]
30198 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30199 but no long options are defined, just return 'W'.
30200
9895c8bc
UD
302012011-06-22 Marek Polacek <mpolacek@redhat.com>
30202
30203 [BZ #9696]
30204 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30205
5d4cf042
UD
302062011-07-06 Ulrich Drepper <drepper@gmail.com>
30207
30208 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30209 netgroups to read.
960e5535 30210 (innetgr): Likewise.
5d4cf042 30211
751eb97e
RM
302122011-07-05 Roland McGrath <roland@hack.frob.com>
30213
30214 * config.make.in (install_root): Default to $(DESTDIR).
30215
f15f1e45
UD
302162011-07-05 Ulrich Drepper <drepper@gmail.com>
30217
30218 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30219
4e34ac6a
RM
302202011-07-02 Roland McGrath <roland@hack.frob.com>
30221
5e9b6af4
RM
30222 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30223
84f9ea0f
RM
30224 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30225 containing directory rather than embedding absolute directory names.
30226
ea5ee9f7
RM
30227 * scripts/check-local-headers.sh: Rewritten using awk.
30228 Match by word, not by line. Print error messages for matches.
30229 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30230
1b74661a
RM
30231 * Makerules [shlib-lds-flags empty]:
30232 ($(common-objpfx)libc_pic.opts): New target.
30233 ($(common-objpfx)libc_pic.os.clean): New target.
30234 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30235
30236 * config.make.in (OBJCOPY): New variable.
30237 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30238 * configure: Regenerated.
30239
f781ef40
RM
30240 * config.make.in (use-default-link): New variable.
30241 * configure.in (use_default_link): Grok --with-default-link to set it.
30242 * configure: Regenerated.
30243 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30244 (shlib-lds, shlib-lds-flags): Define to empty.
30245
2d4fa81e
RM
30246 * Makerules (shlib-lds): New variable.
30247 (shlib-lds-flags): New variable.
30248 (build-shlib, build-moduile, build-module-asneeded): Use it.
30249 ($(common-objpfx)libc.so): Use $(shlib-lds).
30250 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30251 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30252
31fffa6b
RM
30253 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30254 DT_FLAGS/DT_FLAGS_1 with zero flags.
30255
4e34ac6a
RM
30256 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30257 linker script munging.
30258
fcfc776b
UD
302592011-07-02 Ulrich Drepper <drepper@gmail.com>
30260
30261 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30262 as 128-bit value.
30263 * crypt/sha512.c (sha512_process_block): Perform total addition using
30264 128-bit if possible.
30265 (__sha512_finish_ctx): Likewise.
30266 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30267 as 64-bit value.
30268 * crypt/sha256.c (SWAP64): Define.
30269 (sha256_process_block): Perform total addition using 64-bit if
30270 possible.
30271 (__sha256_finish_ctx): Likewise.
30272
99231d9a
UD
302732011-07-01 Ulrich Drepper <drepper@gmail.com>
30274
30275 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30276 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30277 * nscd/hstcache.c (cache_addhst): Likewise.
30278 * nscd/grpcache.c (cache_addgr): Likewise.
30279 * nscd/aicache.c (addhstaiX): Likewise
30280 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30281
445b4a53
TK
302822011-07-01 Thorsten Kukuk <kukuk@suse.de>
30283
30284 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30285 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30286 * nscd/hstcache.c (cache_addhst): Likewise.
30287 * nscd/grpcache.c (cache_addgr): Likewise.
30288 * nscd/aicache.c (addhstaiX): Likewise
30289
6d4d8e8e
AS
302902011-07-01 Andreas Schwab <schwab@redhat.com>
30291
30292 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30293 domain only when needed.
30294
89f654c5
AS
302952011-06-30 Andreas Schwab <schwab@redhat.com>
30296
30297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30298 is always restored.
30299
cf3b23ff
UD
303002011-06-29 Ulrich Drepper <drepper@gmail.com>
30301
30302 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30303 are re-adding the entry.
30304 * nscd/servicescache.c (cache_addserv): Likewise.
30305
751626f9
AJ
303062011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30307
30308 * sysdeps/generic/dl-irel.h: fix protection against multiple
30309 inclusions.
30310 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30311
9113ea1f
UD
303122011-06-28 Ulrich Drepper <drepper@gmail.com>
30313
5c0b8d90
UD
30314 [BZ #12935]
30315 * malloc/memusage.sh: Fix quoting in message.
30316 * debug/xtrace.sh: Likewise.
30317
9113ea1f
UD
30318 * configure.in: Remove support for --experimental-malloc option, make
30319 it the default.
30320 * config.make.in: Likewise.
30321 * malloc/Makefile: Likewise.
30322
a4172181
AS
303232011-06-27 Andreas Schwab <schwab@redhat.com>
30324
30325 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30326 two-byte characters.
30327
78a7eee7
RM
303282011-06-27 Roland McGrath <roland@hack.frob.com>
30329
62bede13
RM
30330 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30331 AC_CACHE_CHECK invocation.
30332 * configure: Regenerated.
30333
78a7eee7
RM
30334 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30335
5ce33a62
UD
303362011-06-27 Ulrich Drepper <drepper@gmail.com>
30337
034807a9
UD
30338 [BZ #12350]
30339 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30340 bit from old_res_options.
30341
4902da17
UD
30342 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30343
5ce33a62
UD
30344 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30345 value type for setfct.
30346
c2344f56
L
303472011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30348
30349 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30350 __gettimeofday instead of gettimeofday.
30351
68468076
UD
303522011-06-26 Ulrich Drepper <drepper@gmail.com>
30353
30354 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30355
acb0d739
L
303562011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30357
30358 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30359
30360 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30361 info.
30362
8912479f
L
303632011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30364
30365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30366 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30367 strcpy-sse2-unaligned strncpy-sse2-unaligned
30368 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30369 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30370 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30371 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30372 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30373 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30374 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30375 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30376 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30377 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30378 (STRCPY): Support SSE2 and SSSE3 versions.
30379
d5495a11
UD
303802011-06-24 Ulrich Drepper <drepper@gmail.com>
30381
30382 [BZ #12874]
30383 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30384 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30385 kernels which artificially limit size of requests.
30386
0b1cbaae
L
303872011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30388
30389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30390 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30391 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30392 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30393 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30394 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30395 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30396 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30397 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30398 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30399 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30400 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30401 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30402 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30403 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30405 Enable unaligned load optimization for Intel Core i3, i5 and i7
30406 processors.
30407 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30408 Define.
30409 (index_Fast_Unaligned_Load): Define.
30410 (HAS_FAST_UNALIGNED_LOAD): Define.
30411
07f494a0
MP
304122011-06-23 Marek Polacek <mpolacek@redhat.com>
30413
30414 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30415
fa3fc0fe
UD
304162011-06-22 Ulrich Drepper <drepper@gmail.com>
30417
30418 [BZ #12907]
30419 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30420 until it is clear that the information is realy needed.
30421 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30422
e12df166
AS
304232011-06-22 Andreas Schwab <schwab@redhat.com>
30424
30425 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30426
852eb34d
UD
304272011-06-22 Ulrich Drepper <drepper@gmail.com>
30428
84e2a551
UD
30429 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30430 /sys/devices/system/cpu/online if it is usable.
30431
852eb34d
UD
30432 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30433 reading the information from the /proc filesystem to once a second.
30434
6e502e19
UD
304352011-06-21 Andreas Jaeger <aj@suse.de>
30436
30437 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30438 NULL after inclusion of kernel headers.
30439
75d39ff2
UD
304402011-06-21 Ulrich Drepper <drepper@gmail.com>
30441
51f9aa6a
UD
30442 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30443 calls to internal_setent.
30444
c0244a9d
UD
30445 [BZ #12885]
30446 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30447 addresses using gethostbyname4_r ignore IPv4 addresses.
30448
c5e3c2ae
UD
30449 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30450 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30451
75d39ff2
UD
30452 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30453
42675c6f
DM
304542011-06-20 David S. Miller <davem@davemloft.net>
30455
30456 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30457 inclusions.
30458 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30459
30460 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30461 (elf_irel): Use it.
30462 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30463 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30464 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30465 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30466 * sysdeps/x86_64/dl-irel.h: Likewise.
30467
30468 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30469 * elf/dl-sym.c: Likewise.
30470
57912a71
UD
304712011-06-15 Ulrich Drepper <drepper@gmail.com>
30472
30473 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30474 need to dereference resplen2.
30475
ee22793d
AS
304762011-06-14 Andreas Schwab <schwab@redhat.com>
30477
30478 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30479
a9e836b0
UD
304802011-06-15 Ulrich Drepper <drepper@gmail.com>
30481
77fb9117
UD
30482 * Makeconfig: Define vardbdir and inst_vardbdir.
30483 * nss/Makefile: Add rules to install db-Makefile.
30484
40c1b22c
UD
30485 * nss/nss_db/db-XXX.c: Cleanup.
30486
9f2da732
UD
30487 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30488 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30489 GLIBC_PRIVATE.
30490 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30491 * nss/makedb.c: Implement -g option to specify that value strings
30492 are generated and should not be added to table iterated over for
30493 get*ent calls.
30494 * nss/nss_db/db-initgroups.c: New file.
30495
82e9a1f7
UD
30496 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30497 interface.
30498
c41af17e
UD
30499 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30500 (internal_getgrouplist): Adjust to name change.
30501 Update use_initgroups_entry if this is not the first call.
30502 * nss/databases.def: Add initgroups entry.
30503
a9e836b0
UD
30504 * nss/makedb.c (compute_tables): Check result of multiple hash table
30505 sizes to minimize maximum chain length.
30506
2666d441
UD
305072011-06-14 Ulrich Drepper <drepper@gmail.com>
30508
30509 * Versions.def: Add entry for libnss_db.
30510 * shlib-versions: Likewise.
30511 * nss/Makefile: Add rules to build libnss_db.
30512 * nss/Versions: Add libnss_db information. Organize libnss_files
30513 entries better.
30514 * nss/db-Makefile: Add gshadow support. Change rules for the new
30515 makedb progra. Some minor improvements to generate smaller files.
30516 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30517 here from...
30518 * nss/makedb.c: ...here.
30519 Improve database format to be smaller and require less memory at
30520 runtime.
30521 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30522 db anymore.
30523 * nss/nss_db/db-netgrp.c: Likewise.
30524 * nss/nss_db/db-open.c: Likewise.
30525 * nss/nss_files/flies-XXX.x: Adjust comments.
30526 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30527 * nss/nss_files/files-grp.c: Likewise.
30528 * nss/nss_files/files-hosts.c: Likewise.
30529 * nss/nss_files/files-network.c: Likewise.
30530 * nss/nss_files/files-proto.c: Likewise.
30531 * nss/nss_files/files-pwd.c: Likewise.
30532 * nss/nss_files/files-rpc.c: Likewise.
30533 * nss/nss_files/files-service.c: Likewise.
30534 * nss/nss_files/files-sgrp.c: Likewise.
30535 * nss/nss_files/files-spwd.c: Likewise.
30536 * nss/nss_db/db-alias.c: Removed.
30537 * nss/nss_db/dummy-db.h: Removed.
30538
9ee76b5a
UD
305392011-06-02 Ulrich Drepper <drepper@gmail.com>
30540
30541 * nss/makedb.c: Rewritten to not use database library.
30542 * nss/Makefile: Update to build new makedb program.
30543
c71ca1f8
AJ
305442011-06-14 Andreas Jaeger <aj@suse.de>
30545
30546 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30547 memset declaration.
30548
3154bfb8
UD
305492011-06-10 Andreas Schwab <schwab@redhat.com>
30550
30551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30552 tmpbuf.
30553
b350afab
RM
305542011-06-10 Roland McGrath <roland@hack.frob.com>
30555
decd4e50
RM
30556 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30557 * elf/Makefile ($(objpfx)ld.so): Likewise.
30558
5615eaf2
RM
30559 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30560 Don't list ld.so twice in dependencies.
30561
30562 * posix/bug-regex31.c: Include <stdlib.h>.
30563
30564 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30565
30566 * nis/nss_compat/compat-spwd.c
30567 (getspent_next_nss_netgr): Remove unused variable.
30568 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30569
30570 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30571 nonmembers" output to use the right array.
30572
30573 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30574
30575 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30576
30577 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30578 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30579 * catgets/gencat.c (read_input_file): Likewise.
30580 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30581
30582 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30583 variable definition inside #if's controlling its use.
30584
30585 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30586
30587 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30588
30589 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30590
30591 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30592 unreachable code.
30593
30594 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30595
b68e08db
RM
30596 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30597 * configure: Regenerated.
30598
b350afab
RM
30599 * Makerules: Revert last change.
30600 * elf/Makefile: Likewise.
30601
28368601
RM
306022011-06-09 Roland McGrath <roland@hack.frob.com>
30603
30604 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30605 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30606 (reloc-link): Likewise.
30607
11988f8f
UD
306082011-06-09 Ulrich Drepper <drepper@gmail.com>
30609
30610 * elf/Makefile: Add rules to build pldd.
30611 * elf/pldd.c: New file.
30612 * elf/pldd-xx.c: New file.
30613
e80fab37
UD
306142011-06-07 Ulrich Drepper <drepper@gmail.com>
30615
30616 * version.h: Update for 2.15 development version.
30617
9b849836
DM
306182011-06-07 David S. Miller <davem@davemloft.net>
30619
30620 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30621 ifuncs.
30622 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30623 elf_machine_lazy_rel): Likewise.
30624 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30625 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30626 elf_machine_lazy_rel): Likewise.
30627 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30628 dl_hwcap via passed in argument.
30629 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30630 Likewise.
30631
5a31b283
AK
306322011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30633
30634 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30635
069e52f8
RM
306362011-06-06 Roland McGrath <roland@hack.frob.com>
30637
30638 [BZ #12849]
30639 * manual/fdl-1.1.texi: New file, verbatim from:
30640 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30641 * manual/lgpl-2.1.texi: New file, verbatim from:
30642 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30643 * manual/Makefile (licenses): New variable, list those new file names.
30644 (texis): Use it.
30645 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30646
30647 * manual/fdl.texi: File removed.
30648 * manual/lesser.texi: File removed.
30649 * manual/libc.texinfo (Copying, Documentation License):
30650 Use new @include file names, put @appendix directive before @include.
30651
f16846a5
JJ
306522011-06-04 Jakub Jelinek <jakub@redhat.com>
30653
30654 [BZ #12841]
30655 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30656 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30657 (mq_open): Add __NTH.
30658
3d29045b
L
306592011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30660
30661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30662 Assume Intel Core i3/i5/i7 processor if AVX is available.
30663
8c297311
UD
306642011-05-31 Ulrich Drepper <drepper@gmail.com>
30665
30666 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30667 typo.
30668
c8fc0c91
UD
306692011-05-31 Andreas Schwab <schwab@redhat.com>
30670
30671 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30672 memory. Use alloca_account. Fix memory leak when retrying.
30673
5b27a807
UD
306742011-05-31 Ulrich Drepper <drepper@gmail.com>
30675
356f8bc6
UD
30676 * version.h (RELEASE): Bump for 2.14 release.
30677 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30678
5b27a807
UD
30679 * config.make.in (RANLIB): Remove entry.
30680
01f16ab0
UD
306812011-05-30 Ulrich Drepper <drepper@gmail.com>
30682
41fce8bd
UD
30683 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30684 (libc.pot): Work around missing support for .ksh extension in xgettext.
30685
4769ae77
UD
30686 [BZ #12684]
30687 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30688 if both request failed.
30689 (send_dg): In case of server errors clear resplen or *resplen2.
30690
6b1e7d19
UD
30691 [BZ #12454]
30692 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30693 when there are multiple maps.
30694 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30695 (_dl_fini): Remove test here.
30696
01f16ab0
UD
30697 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30698
b1ebd700
UD
306992011-05-29 Ulrich Drepper <drepper@gmail.com>
30700
7ae22829
UD
30701 [BZ #12350]
30702 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30703 bit from old_res_options.
30704 (gaih_inet): Likewise.
30705
553149f6 30706 [BZ #11099]
18a84741 30707 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30708 as signed.
30709
652ffab1
UD
30710 * resolv/res_init.c (res_setoptions): Make the code more compact.
30711
16985fd0
UD
30712 [BZ #11558]
30713 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30714 set RES_USEVC.
30715
0464f746
UD
30716 [BZ #11634]
30717 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30718
7d17596c
UD
30719 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30720
cf6bbbd7
UD
30721 [BZ #11781]
30722 * malloc/malloc.h: Declare malloc hook variables as volatile.
30723
13f1ab36
UD
30724 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30725 in last patch.
30726
b1ebd700
UD
30727 [BZ #11799]
30728 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30729 raise in the comment.
80e2212d
UD
30730 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30731 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30732 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30733
ce67228d
UD
307342011-05-28 Ulrich Drepper <drepper@gmail.com>
30735
8887a920
UD
30736 [BZ #12811]
30737 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30738 grow the buffers more if it already has to be sufficient.
30739 (build_wcs_upper_buffer): Likewise.
30740 * posix/regexec.c (check_matching): Likewise.
30741 (clean_state_log_if_needed): Likewise.
30742 (extend_buffers): Don't enlarge buffers beyond size of the input
30743 buffer.
30744 Patches mostly by Emil Wojak <emil@wojak.eu>.
30745 * posix/bug-regex32.c: New file.
30746 * posix/Makefile (tests): Add bug-regex32.
30747
4f031072
UD
30748 * locale/findlocale.c (_nl_find_locale): Return right away if
30749 _nl_explode_name failed.
30750 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30751
d0478f0c
UD
30752 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30753
de81b246
UD
30754 * debug/xtrace.sh: Unify messages.
30755 * malloc/memusage.sh: Likewise.
30756
c738465a
UD
30757 [BZ #12813]
30758 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30759 time symbol from vDSO. Substitute with vsyscall if not available.
30760 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30761 __vdso_time.
30762
f1f929d7
UD
30763 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30764 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30765 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30766 Add sendmmsg and internal_sendmmsg.
30767 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30768 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30769 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30770
ce67228d
UD
30771 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30772 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30773 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30774
e57420c6
UD
307752011-05-27 Ulrich Drepper <drepper@gmail.com>
30776
a8509ca5
UD
30777 [BZ #12813]
30778 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30779 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30780 available.
30781 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30782 __vdso_getcpu.
30783
e57420c6
UD
30784 [BZ #12814]
30785 * iconvdata/Makefile (tests): Add bug-iconv9.
30786 * iconvdata/bug-iconv9.c: New file.
30787
4d07db15
AS
307882011-05-27 Andreas Schwab <schwab@redhat.com>
30789
30790 [BZ #12814]
30791 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30792
ea486f69
JJ
307932011-05-25 Jakub Jelinek <jakub@redhat.com>
30794
30795 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30796 (struct user_regs_struct): Change intcs field back to cs.
30797
6f038433
UD
307982011-05-25 Ulrich Drepper <drepper@gmail.com>
30799
30800 * po/ja.po: Update from translation team.
30801
67f86a25
UD
308022011-05-23 Ulrich Drepper <drepper@gmail.com>
30803
30804 [BZ #12795]
30805 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30806 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30807
def7fbd6
AS
308082011-05-20 Andreas Schwab <schwab@redhat.com>
30809
30810 * stdlib/longlong.h: Update from GCC.
30811
f50ef8f1
AS
308122011-05-23 Andreas Schwab <schwab@redhat.com>
30813
30814 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30815 parameter name.
30816 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30817 Add parameter name.
30818 (__sysconf): Pass it down.
30819
de7ce8f1
UD
308202011-05-22 Ulrich Drepper <drepper@gmail.com>
30821
f2962a71
UD
30822 [BZ #12671]
30823 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30824 some situations.
30825 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30826 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30827 add in in __libc_use_alloca calls. Adjust callers.
30828 (glob): Use malloc in some situations.
30829
de7ce8f1
UD
30830 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30831 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30832 pltexit.
30833
aec84f53
UD
308342011-05-21 Ulrich Drepper <drepper@gmail.com>
30835
05bb4a68
UD
30836 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30837 and CLOCK_BOOTTIME_ALARM.
30838
7ea72f99
UD
30839 [BZ #12782]
30840 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30841 is returned.
30842
7e4afad5
UD
30843 * string/_strerror.c (__strerror_r): Print negative errors as signed
30844 numbers.
30845
8e211fec
UD
30846 [BZ #12777]
30847 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30848 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30849 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30850
f7d82dc9
UD
30851 * configure.in: Fix typo in redirection and correct removal of test
30852 files in two cases.
30853
cc9e536d
UD
30854 [BZ #12788]
30855 * locale/setlocale.c (new_composite_name): Fix test to check for
30856 identical name of all categories.
30857
aec84f53
UD
30858 [BZ #12792]
30859 * libio/filedoalloc.c (local_isatty): New function.
30860 (_IO_file_doallocate): Use local_isatty.
30861 * stdio-common/perror.c (perror): In case a new stream is used
30862 forward the stream error.
30863 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30864 error flag.
30865
78e64fdc
RT
308662011-05-20 Ulrich Drepper <drepper@gmail.com>
30867
34a9094f
UD
30868 [BZ #11869]
30869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30870 alloca.
30871 * include/alloca.h (extend_alloca_account): Define.
30872
78e64fdc
RT
30873 [BZ #11857]
30874 * posix/regex.h: Fix comments with documentation of user-accessible
30875 fields after compilation and describe correct free'ing of pattern
30876 after re_compile_pattern.
30877 Patch by Reuben Thomas <rrt@sc3d.org>.
30878
457bddfc
RA
308792011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30880
30881 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30882 and -mno-altivec to prevent the compiler from using Altivec and/or
30883 VSX instructions when the corresponding registers are not available.
30884
a4527b51
AS
308852011-05-19 Andreas Schwab <schwab@redhat.com>
30886
30887 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30888
ed690b2f
UD
308892011-05-19 Ulrich Drepper <drepper@gmail.com>
30890
30891 * libio/freopen.c (freopen): Use __dup2, not dup2.
30892 * libio/freopen64.c (freopen64): Likewise.
30893
8db73634
L
308942011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30895
30896 [BZ #12775]
30897 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30898 * math/Makefile (tests): Add test-powl.
30899 (CFLAGS-test-powl.c): Define.
30900 * math/test-powl.c: New file.
30901
0a197a9d
L
309022011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30903
30904 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30905
ee30c380
UD
309062011-05-17 Ulrich Drepper <drepper@gmail.com>
30907
30908 [BZ #11837]
30909 * iconvdata/gb18030.c: Update to GB18020-2005.
30910
6ce75379
UD
309112011-05-16 Ulrich Drepper <drepper@gmail.com>
30912
a4b89fd8
AR
30913 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30914 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30915 Patch by Aharon Robbins <arnold@skeeve.com>.
30916
ea389b12
UD
30917 [BZ #11892]
30918 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30919 on the stack.
30920
68a3f91f
UD
30921 [BZ #11895]
30922 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30923 through underflows.
30924
15cc7dd1
UD
30925 [BZ #12766]
30926 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30927 point to strings before performing equality test for error_one_per_line
30928 mode.
30929
f3799213
UD
30930 [BZ #11697]
30931 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30932
d79a9c94
UD
30933 [BZ #11820]
30934 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30935 (struct user_fpregs_struct): Avoid __uint*_t types.
30936
56e5eb46
UD
30937 [BZ #6420]
30938 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30939 symbol info. Use it instead of calling _dl_addr locally.
30940 (lock_and_info): New function.
30941 (tr_freehook): Call lock_and_info and pass symbol info as additional
30942 parameter to tr_where.
30943 (tr_mallochook): Likewise.
30944 (tr_reallochook): Likewise.
30945 (tr_memalignhook): Likewise.
30946
6ce75379
UD
30947 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30948 used and couldn't be at all thread-safe.
30949
f8a3b5bf
UD
309502011-05-15 Ulrich Drepper <drepper@gmail.com>
30951
94b7cc37
UD
30952 * libio/freopen.c (freopen): Don't close old file descriptor
30953 before the new one is opened. Instead dup the new file descriptor
30954 to the old one after the new stream is created.
30955 * libio/freopen64.c (freopen64): Likewise.
30956 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30957 * libio/fileops.c (_IO_new_file_close_it): Handle new
30958 _IO_FLAGS2_NOCLOSE flag.
30959 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30960 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30961 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30962 _IO_FLAGS2_NOCLOSE flag.
30963 * include/unistd.h: Add hidden_proto for dup3.
30964 Define __have_dup3.
30965 * io/dup3.c: Define hidden symbol.
30966 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30967
bd25564e
UD
30968 [BZ #7101]
30969 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30970 when an incomplete long option is used.
30971 * posix/tst-getopt_long1.c: New file.
30972 * posix/Makefile (tests): Add tst-getopt_long1.
30973
c84cfef4
UD
30974 [BZ #10138]
30975 * scripts/config.guess: Update from autoconf-2.68.
30976 * scripts/config.sub: Likewise.
30977
3b85df27
UD
30978 [BZ #10157]
30979 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30980 tests into ...
30981 (has_cpuclock): ...this. New function.
30982 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30983 macro here based on has_cpuclock code.
30984
15a856b1
UD
30985 [BZ #10149]
30986 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30987 First byte (not low byte) is now always NUL.
30988 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30989
05f399e6
UD
30990 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30991 Use non-cancelable interfaces.
30992
10a52685 30993 [BZ #9809]
94ecc67d
UD
30994 * locale/iso-639.def: Add entry for Sorani.
30995
f8a3b5bf
UD
30996 [BZ #11901]
30997 * include/stdlib.h: Move include protection to the right place.
30998 Define abort_msg_s. Declare __abort_msg with it.
30999 * stdlib/abort.c (__abort_msg): Adjust type.
31000 * assert/assert.c (__assert_fail_base): New function. Majority
31001 of code from __assert_fail. Allocate memory for __abort_msg with
31002 mmap.
31003 (__assert_fail): Now call __assert_fail_base.
31004 * assert/assert-perr.c: Remove bulk of implementation. Use
31005 __assert_fail_base.
31006 * include/assert.hL Declare __assert_fail_base.
31007 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31008 mmap.
31009 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31010
1af4e298
UD
310112011-05-14 Ulrich Drepper <drepper@gmail.com>
31012
f8a3b5bf 31013 [BZ #11952]
d26dfc60
MG
31014 [BZ #12453]
31015 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31016 until all modules are registered in the DTV.
31017 * elf/Makefile: Add rules to build and run tst-tls19.
31018 * elf/tst-tls19.c: New file.
31019 * elf/tst-tls19mod1.c: New file.
31020 * elf/tst-tls19mod2.c: New file.
31021 * elf/tst-tls19mod3.c: New file.
31022 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31023
2fc54d6f
UD
31024 [BZ #12083]
31025 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31026 correctly.
31027
98d76b46
UD
31028 [BZ #12601]
31029 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31030 two-byte sequence errors.
31031 * iconvdata/Makefile (tests): Add bug-iconv8.
31032 * iconvdata/bug-iconv8.c: New file.
31033
da3c19ef
UD
31034 [BZ #12626]
31035 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31036 buf2 definition.
31037
ca408c15
UD
31038 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31039
d6f67f7d
UD
31040 [BZ #12432]
31041 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31042 (dummy_getcfa): New function.
31043 (init): Get _Unwind_GetCFA address, use dummy if not found.
31044 (backtrace_helper): In recursion check, also check whether CFA changes.
31045 (__backtrace): Completely initialize arg.
31046
1af4e298 31047 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
31048 storing incomplete byte sequence in state object. Avoid testing for
31049 guaranteed too small input if we know there is enough data available.
1af4e298 31050
da62f81b
AS
310512011-05-11 Andreas Schwab <schwab@redhat.com>
31052
31053 * Makeconfig (+link-pie): Indent.
31054 * Rules (binaries-pie): Define if $(have-fpie) and
31055 $(build-shared).
31056 (binaries-shared): Also filter out $(binaries-pie).
31057 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31058 * nscd/Makefile (others-pie): Add nscd.
31059 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31060 ($(objpfx)nscd): Remove command override.
31061 * login/Makefile (others-pie): Add pt_chown.
31062 ($(objpfx)pt_chown): Remove command override.
31063 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31064 remove command overrides.
31065
fcabc0f8
UD
310662011-05-13 Ulrich Drepper <drepper@gmail.com>
31067
20030ae6
UD
31068 * libio/tst_putwc.c: Fix error messages.
31069
fcabc0f8
UD
31070 [BZ #12724]
31071 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31072 currently writing and seek to current position when not.
31073 * libio/Makefile (tests): Add bug-fclose1.
31074 * libio/bug-fclose1.c: New file.
31075
320a5dc0
PB
310762011-05-12 Ulrich Drepper <drepper@gmail.com>
31077
31078 [BZ #12511]
31079 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31080 don't set DF_1_NODELETE here.
31081 (do_lookup_x): When entering new entry test for copy relocation
31082 and if necessary set DF_1_NODELETE flag.
31083 * elf/tst-unique4.cc: New file.
31084 * elf/tst-unique4.h: New file.
31085 * elf/tst-unique4lib.cc: New file.
31086 * elf/Makefile: Add rules to build and run tst-unique4.
31087 Patch by Piotr Bury <pbury@goahead.com>.
31088
22836f52
UD
310892011-05-11 Ulrich Drepper <drepper@gmail.com>
31090
f574184a
UD
31091 [BZ #12052]
31092 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31093
e1fb097f
UD
31094 [BZ #12625]
31095 * misc/mntent_r.c (addmntent): Flush the stream after the output
31096
22836f52
UD
31097 [BZ #12393]
31098 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31099 (is_trusted_path_normalize): Skip initial colon. Append slash
31100 to empty buffer. Duplicate is_trusted_path code but allow
31101 constructed patch to be prefix.
31102 (is_dst): Allow $ORIGIN followed by /.
31103 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31104 Correct testing of result of is_trusted_path_normalize
31105 (decompose_rpath): Fix warning.
31106
7b3b0b2a
UD
311072011-05-10 Ulrich Drepper <drepper@gmail.com>
31108
31109 [BZ #11257]
31110 * grp/initgroups.c (internal_getgrouplist): When we found the service
31111 list through the initgroups entry in nsswitch.conf do not always
31112 continue on a successful lookup. Don't always use the
eac80ce2 31113 __nss_group_database value if it is set.
7b3b0b2a
UD
31114 * nss/nsswitch.conf (initgroups): Change action for successful db
31115 lookup to continue for compatibility.
31116
2a81eaa5
UD
311172011-05-09 Ulrich Drepper <drepper@gmail.com>
31118
be97a69e
UD
31119 [BZ #11532]
31120 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31121 and CP774 modules.
31122 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31123 and CP774 modules.
31124 * iconvdata/tst-tables.sh: Likewise.
31125 * iconvdata/cp770.c: New file.
31126 * iconvdata/cp771.c: New file.
31127 * iconvdata/cp772.c: New file.
31128 * iconvdata/cp773.c: New file.
31129 * iconvdata/cp774.c: New file.
31130 * iconvdata/testdata/CP770: New file.
31131 * iconvdata/testdata/CP770..UTF8: New file.
31132 * iconvdata/testdata/CP771: New file.
31133 * iconvdata/testdata/CP771..UTF8: New file.
31134 * iconvdata/testdata/CP772: New file.
31135 * iconvdata/testdata/CP772..UTF8: New file.
31136 * iconvdata/testdata/CP773: New file.
31137 * iconvdata/testdata/CP773..UTF8: New file.
31138 * iconvdata/testdata/CP774: New file.
31139 * iconvdata/testdata/CP774..UTF8: New file.
31140
31141 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31142 END CHARMAP line.
31143 * iconvdata/gen-8bit-gap.sh: Likewise.
31144 * iconvdata/gen-8bit.sh: Likewise.
31145
c1e9e399
UD
31146 * locale/iso-639.def: Add ary entry.
31147
24c55fb3 31148 [BZ #11258]
96b4b1b0
UD
31149 * locale/C-translit.h.in: Add U20A1 transliteration.
31150
bdc2f971
KB
31151 [BZ #12178]
31152 * locale/iso-639.def: Add wae entry.
31153 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31154
2952b117
UD
31155 [BZ #12545]
31156 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31157 for n.
31158
2a81eaa5
UD
31159 [BZ #12711]
31160 * locale/C-translit.h.in: Add entry for U20B9.
31161 Patch by pravin.d.s@gmail.com.
31162
28377d1b
UD
311632011-05-08 Ulrich Drepper <drepper@gmail.com>
31164
7fb90fb8
UD
31165 [BZ #12713]
31166 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31167 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31168 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31169 in rtld. Use *stat64.
7fb90fb8 31170 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31171 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31172 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31173 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31174 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31175 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31176 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31177 __fstatat64 macros.
7fb90fb8
UD
31178 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31179 * dirent/rewinddir.c: Add libc_hidden_def.
31180 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31181 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31182
28377d1b
UD
31183 * include/dirent.h (__alloc_dir): Add flags parameter.
31184 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31185 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31186 __alloc_dir.
31187 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31188 from fdopendir if O_CLOEXEC is already set.
31189
66bdbaa4
AM
311902011-03-15 Alan Modra <amodra@gmail.com>
31191
31192 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31193 l_tls_firstbyte_offset non-zero. Save padding offset in
31194 l_tls_firstbyte_offset for later use.
31195 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31196 freeing static tls block.
31197
95721191
JN
311982011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31199
31200 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31201 where #ifdef was intended. The intent is to prevent ARG_MAX from
31202 being defined by the kernel headers.
31203
f87dfb1f
UD
312042011-05-07 Ulrich Drepper <drepper@gmail.com>
31205
31206 [BZ #12734]
31207 * resolv/resolv.h: Define RES_NOTLDQUERY.
31208 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31209 no-tld-query and set RES_NOTLDQUERY.
31210 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31211 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31212 modern BIND to search name as TLD unless forbidden.
31213
47c3cd7a
UD
312142011-05-07 Petr Baudis <pasky@suse.cz>
31215 Ulrich Drepper <drepper@gmail.com>
31216
31217 [BZ #12393]
31218 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31219 (is_trusted_path): ...to here.
c1e9ea35 31220 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31221 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31222 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31223
8a35c912
PP
312242011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31225
31226 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31227 __BEGIN/__END_DECLS.
31228
acd41f47
UD
312292011-05-06 Ulrich Drepper <drepper@gmail.com>
31230
31231 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31232 NSS_STATUS_NOTFOUND if no record was found.
31233
597df647
AS
312342011-05-05 Andreas Schwab <schwab@redhat.com>
31235
31236 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31237 (headers-not-in-tirpc): Remove rpc/netdb.h
31238 * resolv/netdb.h: Revert last change.
31239
b9af1301
PP
312402011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31241
31242 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31243 circular dependency between libgcc.a and libc.a.
31244
4e34d5f5
AS
312452011-05-05 Andreas Schwab <schwab@redhat.com>
31246
31247 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31248 * nis/Makefile: Don't install rpcsvc/*.
31249 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31250 instead of <rpc/types.h>.
31251 (MAXHOSTNAMELEN): Define.
31252
00ee369c
AS
312532011-05-03 Andreas Schwab <schwab@redhat.com>
31254
31255 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31256
0b592a30
MB
312572011-04-28 Maciej Babinski <mbabinski@google.com>
31258
31259 [BZ #12714]
31260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31261 gethostbyname4_r when IPv6 results are possible.
31262
6e04cbbe
UD
312632011-05-02 Ulrich Drepper <drepper@gmail.com>
31264
31265 [BZ #12723]
31266 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31267 _PC_PIPE_BUF handling.
31268
e4ecafe0
BH
312692011-04-30 Bruno Haible <bruno@clisp.org>
31270
31271 [BZ #12717]
31272 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31273 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31274 to 'int'.
31275 * inet/getnameinfo.c (getnameinfo): Likewise.
31276
125ee683
UD
312772011-04-29 Ulrich Drepper <drepper@gmail.com>
31278
31279 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31280 to groups setting in database lookup.
31281 * nss/nsswitch.conf: Add initgroups entry.
31282
b722481a
EB
312832011-04-22 Ulrich Drepper <drepper@gmail.com>
31284
31285 [BZ #12685]
31286 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31287 mode string.
31288 Patch by Eric Blake <eblake@redhat.com>.
31289
4df46dbd
L
312902011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31291
31292 * sunrpc/Makefile (need-export-routines): Add svc_run.
31293 (routines): Remove svc_run.
31294 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31295 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31296 * sunrpc/svc_run.c (svc_run): Likewise.
31297 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31298
e84142d2
UD
312992011-04-21 Ulrich Drepper <drepper@gmail.com>
31300
31301 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31302 problem in reallocation in last patch.
31303
877175d8
UD
313042011-04-20 Ulrich Drepper <drepper@gmail.com>
31305
31306 * sunrpc/Makefile: Move inclusion of Rules.
31307
ab8eed78
UD
313082011-04-19 Ulrich Drepper <drepper@gmail.com>
31309
31310 * nss/nss_files/files-initgroups.c: New file.
31311 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31312 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31313 _nss_files_initgroups_dyn.
31314
e3d8f584
RS
313152011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31316
31317 * elf/elf.h (R_ARM_IRELATIVE): Define.
31318
af190f45
UD
313192011-04-19 Ulrich Drepper <drepper@gmail.com>
31320
31321 * po/ru.po: Update from translation team.
31322
53cf59ef
UD
313232011-04-17 Ulrich Drepper <drepper@gmail.com>
31324
31325 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31326 dependencies.
31327
4c559bcd
MF
313282011-02-06 Mike Frysinger <vapier@gentoo.org>
31329
31330 [BZ #12653]
31331 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31332 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31333 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31334 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31335 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31336
4420675c
AS
313372011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31338
31339 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31340 differing bytes.
31341 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31342 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31343 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31344
75ea32ab
UD
313452011-04-17 Ulrich Drepper <drepper@gmail.com>
31346
31347 [BZ #12420]
31348 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31349 storing it.
31350 * stdlib/bug-getcontext.c: New file.
31351 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31352
27390476
AK
313532011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31354
31355 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31356 instructions into .machine "z9-109".
31357 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31358 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31359
10442705
AK
313602011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31361
31362 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31363 between environment variables and auxiliary vector.
31364
7b57bfe5
UD
313652011-04-16 Ulrich Drepper <drepper@gmail.com>
31366
31367 * Makefile: Add rules to build linkobj/libc.so.
31368 * include/libc-symbols.h: Define libc_hidden_nolink.
31369 * include/rpc/auth.h: Mark functions which are to be hidden.
31370 * include/rpc/auth_des.h: Likewise.
31371 * include/rpc/auth_unix.h: Likewise.
31372 * include/rpc/clnt.h: Likewise.
31373 * include/rpc/des_crypt.h: Likewise.
31374 * include/rpc/key_prot.h: Likewise.
31375 * include/rpc/pmap_clnt.h: Likewise.
31376 * include/rpc/pmap_prot.h: Likewise.
31377 * include/rpc/pmap_rmt.h: Likewise.
31378 * include/rpc/rpc_msg.h: Likewise.
31379 * include/rpc/svc.h: Likewise.
31380 * include/rpc/svc_auth.h: Likewise.
31381 * include/rpc/xdr.h: Likewise.
31382 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31383 * nss/Makefile: Likewise.
31384 * sunrpc/Makefile: Don't install headers. Build library with normal
31385 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31386 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31387 for the compat linking library. Remove use of INTDEF/INTUSE.
31388 * sunrpc/auth_none.c: Likewise.
31389 * sunrpc/auth_unix.c: Likewise.
31390 * sunrpc/authdes_prot.c: Likewise.
31391 * sunrpc/authuxprot.c: Likewise.
31392 * sunrpc/clnt_gen.c: Likewise.
31393 * sunrpc/clnt_perr.c: Likewise.
31394 * sunrpc/clnt_raw.c: Likewise.
31395 * sunrpc/clnt_simp.c: Likewise.
31396 * sunrpc/clnt_tcp.c: Likewise.
31397 * sunrpc/clnt_udp.c: Likewise.
31398 * sunrpc/clnt_unix.c: Likewise.
31399 * sunrpc/des_crypt.c: Likewise.
31400 * sunrpc/des_soft.c: Likewise.
31401 * sunrpc/get_myaddr.c: Likewise.
31402 * sunrpc/key_call.c: Likewise.
31403 * sunrpc/key_prot.c: Likewise.
31404 * sunrpc/netname.c: Likewise.
31405 * sunrpc/pm_getmaps.c: Likewise.
31406 * sunrpc/pm_getport.c: Likewise.
31407 * sunrpc/pmap_clnt.c: Likewise.
31408 * sunrpc/pmap_prot.c: Likewise.
31409 * sunrpc/pmap_prot2.c: Likewise.
31410 * sunrpc/pmap_rmt.c: Likewise.
31411 * sunrpc/publickey.c: Likewise.
31412 * sunrpc/rpc_cmsg.c: Likewise.
31413 * sunrpc/rpc_common.c: Likewise.
31414 * sunrpc/rpc_dtable.c: Likewise.
31415 * sunrpc/rpc_prot.c: Likewise.
31416 * sunrpc/rpc_thread.c: Likewise.
31417 * sunrpc/rtime.c: Likewise.
31418 * sunrpc/svc.c: Likewise.
31419 * sunrpc/svc_auth.c: Likewise.
31420 * sunrpc/svc_authux.c: Likewise.
31421 * sunrpc/svc_raw.c: Likewise.
31422 * sunrpc/svc_run.c: Likewise.
31423 * sunrpc/svc_simple.c: Likewise.
31424 * sunrpc/svc_tcp.c: Likewise.
31425 * sunrpc/svc_udp.c: Likewise.
31426 * sunrpc/svc_unix.c: Likewise.
31427 * sunrpc/svcauth_des.c: Likewise.
31428 * sunrpc/xcrypt.c: Likewise.
31429 * sunrpc/xdr.c: Likewise.
31430 * sunrpc/xdr_array.c: Likewise.
31431 * sunrpc/xdr_float.c: Likewise.
31432 * sunrpc/xdr_intXX_t.c: Likewise.
31433 * sunrpc/xdr_mem.c: Likewise.
31434 * sunrpc/xdr_rec.c: Likewise.
31435 * sunrpc/xdr_ref.c: Likewise.
31436 * sunrpc/xdr_sizeof.c: Likewise.
31437 * sunrpc/xdr_stdio.c: Likewise.
31438
e6c61494
UD
314392011-04-10 Ulrich Drepper <drepper@gmail.com>
31440
31441 [BZ #12650]
31442 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31443 * sysdeps/ia64/dl-tls.h: Likewise.
31444 * sysdeps/powerpc/dl-tls.h: Likewise.
31445 * sysdeps/s390/dl-tls.h: Likewise.
31446 * sysdeps/sh/dl-tls.h: Likewise.
31447 * sysdeps/sparc/dl-tls.h: Likewise.
31448 * sysdeps/x86_64/dl-tls.h: Likewise.
31449 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31450
34fe483e
AS
314512011-03-14 Andreas Schwab <schwab@redhat.com>
31452
31453 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31454 rpath element also skip the following colon.
31455 (expand_dynamic_string_token): Add is_path parameter and pass
31456 down to DL_DST_REQUIRED and _dl_dst_substitute.
31457 (decompose_rpath): Call expand_dynamic_string_token with
31458 non-zero is_path. Ignore empty rpaths.
31459 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31460 with zero is_path.
31461
f12a32e6
AS
314622011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31463
31464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31465 Make cancelable.
31466
38a7d692
UD
314672011-04-09 Ulrich Drepper <drepper@gmail.com>
31468
31469 [BZ #12655]
31470 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31471 Patch by Filipe David Manana <fdmanana@apache.org>.
31472
e451d22b
AS
314732011-04-07 Andreas Schwab <schwab@redhat.com>
31474
31475 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31476 Maintain aligned stack.
31477 (CHECK_RSP): Remove unused macro.
31478
dedc7c7b
UD
314792011-04-03 Ulrich Drepper <drepper@gmail.com>
31480
31481 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31482 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31483
94521213
UD
314842011-04-02 Ulrich Drepper <drepper@gmail.com>
31485
31486 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31487
8cb700c0 31488 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31489
0354e355
L
314902011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31491
31492 [BZ #12518]
31493 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31494 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31495 * sysdeps/x86_64/memmove.c: New file.
31496 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31497 (memcpy): Renamed to ...
31498 (__new_memcpy): This.
31499 (memcpy): Provide GLIBC_2_14 memcpy.
31500 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31501 (memcpy): Provide GLIBC_2_2_5 memcpy.
31502
8593482f
UD
315032011-04-01 Ulrich Drepper <drepper@gmail.com>
31504
31505 [BZ #12631]
31506 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31507
81a5726b
AS
315082011-03-30 Andreas Schwab <schwab@redhat.com>
31509
31510 * misc/syncfs.c: New file.
31511 * misc/Makefile (routines): Add syncfs.
31512 * posix/unistd.h: Declare syncfs.
31513 * sysdeps/unix/syscalls.list: Add syncfs.
31514
00e5419f
AS
315152011-04-01 Andreas Schwab <schwab@redhat.com>
31516
31517 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31518 open_by_handle_at.
31519 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31520 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31521 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31522 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31523 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31524 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31525 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31526
748876bf
UD
315272011-04-01 Ulrich Drepper <drepper@gmail.com>
31528
658e451d
UD
31529 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31530 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31531 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31532 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31533 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31535 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31536
748876bf
UD
31537 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31538 sync_file_range.c with -fexceptions.
31539 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31540 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31541 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31542 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31543 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31544 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31545 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31546 sync_file_range as cancellation point
31547 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31548 now a wrapper around __call_sync_file_range with cancellation handling.
31549 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31550 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31551 function name to __call_sync_file_range.
31552 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31553 Add call_sync_file_range.
748876bf 31554
6e63d5e1
AS
315552011-04-01 Andreas Schwab <schwab@redhat.com>
31556
31557 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31558 bits/timex.h.
6e63d5e1 31559
46998f74
UD
315602011-04-01 Ulrich Drepper <drepper@gmail.com>
31561
4c1423ed
UD
31562 * iconv/iconv.h: Fix typo in comment.
31563 * io/fcntl.h: Likewise.
31564 * libio/stdio.h: Likewise.
31565 * posix/spawn.h: Likewise.
31566 * posix/unistd.h: Likewise.
31567 * stdlib/stdlib.h: Likewise.
31568 * time/time.h: Likewise.
31569 * wcsmbs/wchar.h: Likewise.
31570
158648c0
UD
31571 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31572 open_by_handle): Add.
31573 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31574 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31575 Augment a few comments.
31576 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31578 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31580 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31581 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31582 open_by_handle.
31583
46998f74
UD
31584 * io/fcntl.h (AT_EMPTY_PATH): Define.
31585
83fe108b
UD
315862011-03-30 Ulrich Drepper <drepper@gmail.com>
31587
31588 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31589 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31590 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31591 to...
31592 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31593 * Versions.def: Add GLIBC_2.14.
31594 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31595 Export.
83fe108b 31596
bb242059
UD
315972011-03-22 Ulrich Drepper <drepper@gmail.com>
31598
31599 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31600 round counter.
31601 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31602
c97a1282
L
316032011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31604
31605 [BZ #12597]
31606 * string/test-strncmp.c (do_page_test): New function.
31607 (check2): Likewise.
31608 (test_main): Call check2.
31609 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31610
2a115601
UD
316112011-03-20 Ulrich Drepper <drepper@gmail.com>
31612
31613 [BZ #12587]
31614 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31615 Handle cache information in CPU leaf 4.
31616 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31617
8126d904
UD
316182011-03-18 Ulrich Drepper <drepper@gmail.com>
31619
042c49c6 31620 [BZ #12583]
8126d904
UD
31621 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31622 character representation.
31623 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31624
ccfe366e
RA
316252011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31626
31627 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31628 END(__isnan) to END(__isnanf) to match function entry point/label
31629 EALIGN(__isnanf,...).
31630
c6e13027
JJ
316312011-03-10 Jakub Jelinek <jakub@redhat.com>
31632
31633 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31634
33f85a3f
UD
316352011-03-10 Ulrich Drepper <drepper@gmail.com>
31636
028478fa
UD
31637 [BZ #12510]
31638 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31639 copy from the symbol referenced in the relocation to initialize the
31640 used variable.
31641 Patch by Piotr Bury <pbury@goahead.com>.
31642 * elf/Makefile: Add rules to build and tst-unique3.
31643 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31644 * elf/tst-unique3.cc: New file.
31645 * elf/tst-unique3.h: New file.
31646 * elf/tst-unique3lib.cc: New file.
31647 * elf/tst-unique3lib2.cc: New file.
31648
33f85a3f
UD
31649 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31650
03592fc7
MF
316512011-03-10 Mike Frysinger <vapier@gentoo.org>
31652
31653 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31654 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31655 to _start.
03592fc7 31656
6a5ee102
UD
316572011-03-06 Ulrich Drepper <drepper@gmail.com>
31658
31659 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31660 to-be-loaded object along a path to loader is ld.so.
31661
7e4ba49c
HJ
316622011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31663 Ulrich Drepper <drepper@gmail.com>
31664
31665 * sysdeps/x86_64/memset.S: After aligning destination, code
31666 branches to different locations depending on the value of
31667 misalignment, when multiarch is enabled. Fix this.
31668
316692011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31670
31671 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31672 Set _x86_64_preferred_memory_instruction for AMD processsors.
31673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31674 Set bit_Prefer_SSE_for_memop for AMD processors.
31675
13a804de
UD
316762011-03-04 Ulrich Drepper <drepper@gmail.com>
31677
31678 * libio/fmemopen.c (fmemopen): Optimize a bit.
31679
9d25c392
AS
316802011-03-03 Andreas Schwab <schwab@redhat.com>
31681
31682 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31683
a5543c6a
RM
316842011-03-03 Roland McGrath <roland@redhat.com>
31685
31686 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31687
012d35f7
DM
316882011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31689
7e4ba49c 31690 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31691 __bzero_ultra1 instead of __memset_ultra1.
31692
4bff6e01
AS
316932011-02-23 Andreas Schwab <schwab@redhat.com>
31694 Ulrich Drepper <drepper@gmail.com>
31695
31696 [BZ #12509]
31697 * include/link.h (struct link_map): Add l_orig_initfini.
31698 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31699 returning unsuccessfully.
31700 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31701 close of a file loaded at startup, restore the original l_initfini
31702 list.
31703 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31704 list, store the pointer.
31705 * elf/Makefile ($(objpfx)noload-mem): New rule.
31706 (noload-ENV): Define.
31707 (tests): Add $(objpfx)noload-mem.
31708 * elf/noload.c: Include <memcheck.h>.
31709 (main): Call mtrace. Close all opened handles.
31710
f2092faf
AS
317112011-02-17 Andreas Schwab <schwab@redhat.com>
31712
31713 [BZ #12454]
31714 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31715 dependencies are missing.
31716
6c8a2e88
ST
317172011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31718
f2092faf 31719 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31720 Hurd needs munmap.
31721 * sysdeps/mach/hurd/ifreq.h: New file.
31722
84a42118
PB
317232011-01-27 Petr Baudis <pasky@suse.cz>
31724 Ulrich Drepper <drepper@gmail.com>
31725
071f805e 31726 [BZ 12445]#
84a42118
PB
31727 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31728 to extend_alloca().
31729 * stdio-common/bug23.c: New file.
31730 * stdio-common/Makefile (tests): Add bug23.
31731
e23fe25b
AS
317322010-09-28 Andreas Schwab <schwab@redhat.com>
31733 Ulrich Drepper <drepper@gmail.com>
31734
31735 [BZ #12489]
31736 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31737 before performing relro protection. At old place add assertion
31738 to make sure nothing changed.
31739
d3f02e10
NS
317402011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31741 Glauber de Oliveira Costa <glommer@gmail.com>
31742
31743 * elf/elf.h: Add new ARM TLS relocs.
31744
d55fd7a5
RA
317452011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31746
31747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31748 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31749 cast from r3.
31750 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31751 'tests' variable.
31752 * sysdeps/wordsize-64/tst-writev.c: New file.
31753
2206397e
RA
317542011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31755
31756 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31757 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31758 insns in _dl_start to prevent a TOC reference before relocs are
31759 resolved.
31760
e9433893
UD
317612011-02-15 Ulrich Drepper <drepper@gmail.com>
31762
31763 [BZ #12469]
31764 * Makeconfig: Remove RANLIB definition.
31765 * Makerules: Don't use RANLIB.
31766 * aclocal.m4: Remove ranlib test.
31767 * configure.in: No need to check for ranlib.
31768 * elf/rtld-Rules: Don't use RANLIB.
31769
f75286c6
ST
317702011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31771
8e31c82d
ST
31772 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31773 protection macro.
31774 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31775 inclusion protection macro.
31776
f75286c6
ST
31777 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31778 SIGRTMIN and SIGRTMAX and print information in that case only when
31779 SIGRTMIN is defined.
31780
c1d0e639
JJ
317812011-02-11 Jakub Jelinek <jakub@redhat.com>
31782
31783 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31784 arginfo fn returning -1.
31785
31786 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31787 and thousands string is zero terminated.
31788
edf9294e
AS
317892011-02-03 Andreas Schwab <schwab@redhat.com>
31790
31791 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31792 sysdeps/unix/sysv/linux/bits/socket.h.
31793
2b7e92df
ST
317942011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31795
edf9294e
AS
31796 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31797 (__CPU_COUNT): Remove old macros.
31798 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31799 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31800 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31801 (__sched_cpualloc, __sched_cpufree): Add declarations.
31802
a4c7ea7b
UD
318032011-02-05 Ulrich Drepper <drepper@gmail.com>
31804
31805 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31806 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31807 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31808 (readdhstai): Return value of addhstaiX call.
31809 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31810 (addgrbyX): Return value returned by cache_addgr.
31811 (readdgrbyname): Return value returned by addgrbyX.
31812 (readdgrbygid): Likewise.
31813 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31814 (addpwbyX): Return value returned by cache_addpw.
31815 (readdpwbyname): Return value returned by addhstbyX.
31816 (readdpwbyuid): Likewise.
31817 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31818 (addservbyX): Return value returned by cache_addserv.
31819 (readdservbyname): Return value returned by addservbyX:
31820 (readdservbyport): Likewise.
31821 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31822 (addhstbyX): Return value returned by cache_addhst.
31823 (readdhstbyname): Return value returned by addhstbyX.
31824 (readdhstbyaddr): Likewise.
31825 (readdhstbynamev6): Likewise.
31826 (readdhstbyaddrv6): Likewise.
31827 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31828 (readdinitgroups): Return value returned by addinitgroupsX.
31829 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31830 (prune_cache): Keep track of timeout value of re-added entries.
31831 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31832 * nscd/nscd.h: Adjust prototypes of readd* functions.
31833
a0bf67cc
RM
318342011-02-04 Roland McGrath <roland@redhat.com>
31835
31836 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31837 (nis_stats): Likewise.
31838 * nis/nis_modify.c (nis_modify): Likewise.
31839 * nis/nis_remove.c (nis_remove): Likewise.
31840 * nis/nis_add.c (nis_add): Likewise.
31841
31842 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31843
31844 * posix/fnmatch_loop.c: Add some consts.
31845
31846 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31847
435b95eb
L
318482011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31849
31850 [BZ #12460]
31851 * config.make.in (config-cflags-novzeroupper): Define.
31852 * configure.in: Substitute libc_cv_cc_novzeroupper.
31853 * elf/Makefile (AVX-CFLAGS): Define.
31854 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31855 (CFLAGS-tst-auditmod4a.c): Likewise.
31856 (CFLAGS-tst-auditmod4b.c): Likewise.
31857 (CFLAGS-tst-auditmod6b.c): Likewise.
31858 (CFLAGS-tst-auditmod6c.c): Likewise.
31859 (CFLAGS-tst-auditmod7b.c): Likewise.
31860 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31861
8517b15e
UD
318622011-02-02 Ulrich Drepper <drepper@gmail.com>
31863
31864 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31865 function to the callback.
31866 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31867
10a656fe
AS
318682011-02-02 Andreas Schwab <schwab@redhat.com>
31869
31870 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31871 of errno.
31872
968dad0a
UD
318732011-01-19 Ulrich Drepper <drepper@gmail.com>
31874
9f94d2ea 31875 [BZ #11724]
968dad0a
UD
31876 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31877 of constructors.
31878 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31879 of destructors.
31880 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31881
31882 [BZ #11724]
31883 * elf/Makefile: Add rules to build and run new test.
31884 * elf/tst-initorder.c: New file.
31885 * elf/tst-initorder.exp: New file.
31886 * elf/tst-initordera1.c: New file.
31887 * elf/tst-initordera2.c: New file.
31888 * elf/tst-initordera3.c: New file.
31889 * elf/tst-initordera4.c: New file.
31890 * elf/tst-initorderb1.c: New file.
31891 * elf/tst-initorderb2.c: New file.
31892 * elf/tst-order-a1.c: New file.
31893 * elf/tst-order-a2.c: New file.
31894 * elf/tst-order-a3.c: New file.
31895 * elf/tst-order-a4.c: New file.
31896 * elf/tst-order-b1.c: New file.
31897 * elf/tst-order-b2.c: New file.
31898 * elf/tst-order-main.c: New file.
31899 New test case by George Gensure <werkt0@gmail.com>.
31900
86e92359
UD
319012010-10-01 Andreas Schwab <schwab@redhat.com>
31902
31903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31904 decoding ACE if AI_CANONIDN.
31905
5d5732b0
UD
319062011-01-18 Ulrich Drepper <drepper@gmail.com>
31907
31908 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31909
a77e8cbc
UD
319102011-01-17 Ulrich Drepper <drepper@gmail.com>
31911
6392473f
UD
31912 * version.h (RELEASE): Bump for 2.13 release.
31913 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31914
620a0529
UD
31915 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31916
18ba70a5
UD
31917 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31918 MADV_NOHUGEPAGE.
32465c3e
UD
31919 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31920 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31921 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31922 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31923 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31924 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31925
c0dafcf1
UD
31926 * posix/getconf.c: Update copyright year.
31927 * catgets/gencat.c: Likewise.
31928 * csu/version.c: Likewise.
31929 * debug/catchsegv.sh: Likewise.
31930 * debug/xtrace.sh: Likewise.
31931 * elf/ldconfig.c: Likewise.
31932 * elf/ldd.bash.in: Likewise.
31933 * elf/sprof.c (print_version): Likewise.
31934 * iconv/iconv_prog.c: Likewise.
31935 * iconv/iconvconfig.c: Likewise.
31936 * locale/programs/locale.c: Likewise.
31937 * locale/programs/localedef.c: Likewise.
31938 * malloc/memusage.sh: Likewise.
31939 * malloc/mtrace.pl: Likewise.
31940 * nscd/nscd.c (print_version): Likewise.
31941 * nss/getent.c: Likewise.
31942
a77e8cbc
UD
31943 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31944 PF_CAIF, and PF_ALG.
31945 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31946
77e8bddf
AS
319472011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31948
1f20b93a
AS
31949 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31950 (modules-names): Use them.
31951 (ifunc-test-modules, ifunc-pie-tests): Define.
31952 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31953 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31954 (test-extras): Likewise.
31955 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31956 $(compile-command.c).
31957 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31958 (all-built-dso): Define.
31959 (check-textrel.out, check-execstack.out): Depend on it.
31960
77e8bddf
AS
31961 * configure.in: Don't override --enable-multi-arch.
31962
bc425b33
UD
319632011-01-15 Ulrich Drepper <drepper@gmail.com>
31964
31965 [BZ #6812]
31966 * nscd/hstcache.c (tryagain): Define.
31967 (cache_addhst): Return tryagain not notfound for temporary errors.
31968 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31969 failed.
31970
794c3ad3
UD
319712011-01-14 Ulrich Drepper <drepper@gmail.com>
31972
70181fdd
UD
31973 [BZ #10563]
31974 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31975 to make the syscall.
31976 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31977
794c3ad3
UD
31978 [BZ #12378]
31979 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31980 and fall back to matching as normal character if the string ends before
31981 the matching ']' is found. This is what POSIX requires.
31982 * posix/testfnm.c: Adjust test result.
31983 * posix/globtest.sh: Adjust test result. Add new test.
31984 * posix/tst-fnmatch.input: Likewise.
31985 * posix/tst-fnmatch2.c: Add new test.
31986
68dc9497
AS
319872010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31988
31989 * elf/Makefile (check-execstack): Revert last change. Depend on
31990 check-execstack.h.
31991 (check-execstack.h): New target.
31992 (generated): Add check-execstack.h.
31993 * elf/check-execstack.c: Include "check-execstack.h".
31994 (main): Revert last change.
31995 (handle_file): Return zero if GNU_STACK is absent and
31996 DEFAULT_STACK_PERMS doesn't include PF_X.
31997
451f001b
UD
319982011-01-13 Ulrich Drepper <drepper@gmail.com>
31999
cfa28e56
UD
32000 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32001 in child fails because the descriptor is already closed.
8cf8ce17
UD
32002 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32003 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32004 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 32005
1086d70d
UD
32006 [BZ #12397]
32007 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32008 syscall.
32009
451f001b
UD
32010 [BZ #10484]
32011 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32012 temporary buffer used to handle multi lookups locally.
a85b5cb4 32013 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 32014
08769175
UD
320152011-01-12 Ulrich Drepper <drepper@gmail.com>
32016
32017 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32018 loader is ld.so.
32019
5e49c52e
UD
320202011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32021
32022 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32023 alignment for SSE2.
32024
60522a5f
UD
320252011-01-12 Ulrich Drepper <drepper@gmail.com>
32026
32027 [BZ #12394]
32028 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32029 characters. When rounding increased number of integer digits recompute
32030 number of groups.
32031 * stdio-common/tst-grouping.c: New file.
32032 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32033
f257bbd7
UD
320342011-01-09 Ulrich Drepper <drepper@gmail.com>
32035
32036 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32037 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32038
32039 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32040 void.
32041 * bits/select.h: Likewise.
32042
fa9c15cb
UD
320432011-01-08 Ulrich Drepper <drepper@gmail.com>
32044
32045 * po/ja.po: Update from translation team.
32046
16c2895f
DM
320472011-01-04 David S. Miller <davem@sunset.davemloft.net>
32048
32049 [BZ #11155]
32050 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32051 implementation just like for lxstat, fxstatat, et al.
32052
2543fef2
JM
320532010-12-27 Jim Meyering <meyering@redhat.com>
32054
32055 [BZ #12348]
32056 * posix/regexec.c (build_trtable): Return failure indication upon
32057 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32058
98727dbe
UD
320592010-12-25 Ulrich Drepper <drepper@gmail.com>
32060
5bd6dc5c
UD
32061 [BZ #12201]
32062 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32063 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32064 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32065 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32066
97983464
UD
32067 [BZ #12207]
32068 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32069
98727dbe
UD
32070 [BZ #12204]
32071 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32072 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32073
4a531bb0
L
320742010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32075
32076 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32077 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32078 script has SORT_BY_INIT_PRIORITY.
32079 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32080 NO_CTORS_DTORS_SECTIONS is defined.
32081 * elf/soinit.c: Likewise.
32082 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32083 NO_CTORS_DTORS_SECTIONS is defined.
32084 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32085 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32086 * sysdeps/sh/init-first.c: Likewise.
32087 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32088
07eb4b71
UD
320892010-12-24 Ulrich Drepper <drepper@gmail.com>
32090
32091 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32092 always use the slow path.
32093
30950a5f
RA
320942010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32095
32096 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32097 similar rule which adds the sysdep directories to the header search in
32098 order to pick up the correct platform stackinfo.h.
32099 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32100 perform test if it is, otherwise return successfully without testing.
32101 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32102 DEFAULT_STACK_PERMS define in stackinfo.h.
32103 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32104 defined in stackinfo.h.
32105 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32106 DEFAULT_STACK_PERMS defined in stackinfo.h.
32107 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32108 * sysdeps/ia64/stackinfo.h: Likewise.
32109 * sysdeps/s390/stackinfo.h: Likewise.
32110 * sysdeps/sh/stackinfo.h: Likewise.
32111 * sysdeps/sparc/stackinfo.h: Likewise.
32112 * sysdeps/x86_64/stackinfo.h: Likewise.
32113 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32114 PF_X for powerpc64. Retain PF_X for powerpc32.
32115
db753e2c
UD
321162010-12-19 Ulrich Drepper <drepper@gmail.com>
32117
14b697f7
UD
32118 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32119 accurately.
db753e2c
UD
32120 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32121 GETDENTS_64BIT_ALIGNED.
32122
28300719
UD
321232010-12-14 Ulrich Drepper <dreper@gmail.com>
32124
14b697f7 32125 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32126
4f197237
AS
321272010-12-10 Andreas Schwab <schwab@redhat.com>
32128
dbb0472f
AS
32129 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32130 _GNU_SOURCE.
32131
4f197237
AS
32132 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32133 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32134 Remove __restrict.
32135 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32136 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32137
fb88ac72
UD
321382010-12-09 Ulrich Drepper <drepper@gmail.com>
32139
32140 [BZ #11655]
32141 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32142 are initialized.
32143
42acbb92
JJ
321442010-12-09 Jakub Jelinek <jakub@redhat.com>
32145
32146 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32147
c038d98d
UD
321482010-12-03 Ulrich Drepper <drepper@gmail.com>
32149
32150 * po/it.po: Update from translation team.
32151
3a4a2499
L
321522010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32153
32154 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32155 unused codes.
32156
1e24cf6e
UD
321572010-11-30 Ulrich Drepper <drepper@gmail.com>
32158
32159 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32160
a7690819
AS
321612010-11-24 Andreas Schwab <schwab@redhat.com>
32162
32163 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32164 specially.
32165 (gaih_getanswer_slice): Likewise.
32166
3bf8d1b1
JJ
321672010-10-20 Jakub Jelinek <jakub@redhat.com>
32168
32169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32170
6db52fbb
PB
321712010-05-31 Petr Baudis <pasky@suse.cz>
32172
32173 [BZ #11149]
32174 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32175 silently even in the chroot mode.
32176
eaca7569
UD
321772010-11-22 Ulrich Drepper <drepper@gmail.com>
32178
32179 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32180 last patch a bit. Pretty printing
32181
3056dcdb
UD
321822010-05-31 Petr Baudis <pasky@suse.cz>
32183
32184 [BZ #10085]
32185 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32186 initialization of skip_initgroups_dyn.
32187
cf7c9078
UD
321882010-11-19 Ulrich Drepper <drepper@gmail.com>
32189
32190 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32191 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32192
a1fb5e3e
UD
321932010-11-16 Ulrich Drepper <drepper@gmail.com>
32194
32195 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32196
3540d66b
AS
321972010-11-11 Andreas Schwab <schwab@redhat.com>
32198
32199 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32200 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32201 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32202 ($(objpfx)tst-fnmatch-mem): New rule.
32203 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32204 * posix/tst-fnmatch.c (main): Call mtrace.
32205
13b69574
L
322062010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32207
32208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32209 Support Intel processor model 6 and model 0x2c.
32210
da93d214
LM
322112010-11-10 Luis Machado <luisgpm@br.ibm.com>
32212
32213 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32214 signed comparison.
32215
8ca52c6e
L
322162010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32217
32218 [BZ #12205]
32219 * string/test-strncasecmp.c (check_result): New function.
32220 (do_one_test): Use it.
32221 (check1): New function.
32222 (test_main): Use it.
32223 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32224 Support strcasecmp and strncasecmp.
32225
69da074d
UD
322262010-11-08 Ulrich Drepper <drepper@gmail.com>
32227
32228 [BZ #12194]
32229 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32230 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32231
ff02d528
L
322322010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32233
32234 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32235 IFUNC support.
32236 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32237 memset-x86-64.
32238 * sysdeps/x86_64/multiarch/bzero.S: New file.
32239 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32240 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32241 * sysdeps/x86_64/multiarch/memset.S: New file.
32242 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32244 Set bit_Prefer_SSE_for_memop for Intel processors.
32245 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32246 Define.
32247 (index_Prefer_SSE_for_memop): Define.
32248 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32249
344d0b54
LM
322502010-11-04 Luis Machado <luisgpm@br.ibm.com>
32251
32252 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32253 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32254
c0dde15b
UD
322552010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32256
32257 [BZ #12191]
32258 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32259 (__x86_64_raw_data_cache_size_half): Likewise.
32260 (__x86_64_raw_shared_cache_size): Likewise.
32261 (__x86_64_raw_shared_cache_size_half): Likewise.
32262
32263 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32264 (__x86_64_raw_data_cache_size_half): Likewise.
32265 (__x86_64_raw_shared_cache_size): Likewise.
32266 (__x86_64_raw_shared_cache_size_half): Likewise.
32267 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32268 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32269 and __x86_64_raw_shared_cache_size_half. Round
32270 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32271 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32272 to multiple of 256 bytes.
32273
0e516e0e
MS
322742010-11-03 Ulrich Drepper <drepper@gmail.com>
32275
32276 [BZ #12167]
32277 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32278 of inacessible symlinks. Verify result of symlink before returning it.
32279 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32280 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32281
0e012e87
ER
322822010-10-28 Erich Ritz <erichritz@gmail.com>
32283
32284 * math/math.h (isinf): Fix typo in comment.
32285
de0ff7bc
UD
322862010-11-01 Ulrich Drepper <drepper@gmail.com>
32287
32288 * po/da.po: Update from translation team.
32289
fa41c84d
UD
322902010-10-26 Ulrich Drepper <drepper@gmail.com>
32291
32292 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32293 is added to the list.
32294
f0967738
AK
322952010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32296 Ulrich Drepper <drepper@gmail.com>
32297
32298 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32299 the global list here. Move code to...
32300 (_dl_add_to_namespace_list): ...here. New function.
32301 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32302 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32303 * elf/dl-load.c (lose): Don't remove the element from the list.
32304 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32305 (_dl_map_object): Likewise.
32306
323072010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32308
32309 [BZ #12159]
32310 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32311 into all bytes of SSE register.
32312 Patch by Richard Li <richardpku@gmail.com>.
32313
f0967738 323142010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32315
32316 [BZ #12140]
32317 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32318 perturbing.
32319
d0b9e94f
MB
323202010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32321
32322 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32323 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32324 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32325 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32327 submachine.
32328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32329
8e9f92e9
AS
323302010-10-22 Andreas Schwab <schwab@redhat.com>
32331
32332 * include/dlfcn.h (__RTLD_SECURE): Define.
32333 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32334 mode & __RTLD_SECURE instead.
32335 (open_path): Rename preloaded parameter to secure.
32336 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32337 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32338 * elf/dl-deps.c (openaux): Likewise.
32339 * elf/rtld.c (struct map_args): Remove is_preloaded.
32340 (map_doit): Don't use it.
32341 (dl_main): Likewise.
32342 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32343 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32344
bc96fbda
AS
323452010-09-09 Andreas Schwab <schwab@redhat.com>
32346
32347 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32348 (sysd-rules-targets): Remove duplicates.
32349 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32350 rtld-%.$o dependency.
32351
22cd1c9b
AS
323522010-10-18 Andreas Schwab <schwab@redhat.com>
32353
32354 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32355 _dl_map_object do it.
32356
18edac48
UD
323572010-10-19 Ulrich Drepper <drepper@gmail.com>
32358
32359 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32360 fast fma builtins, define the macros in the C99 standard.
32361 (FP_FAST_FMAF): Likewise.
32362 (FP_FAST_FMAL): Likewise.
32363 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32364
32365 * bits/mathdef.h: Update copyright year.
32366 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32367
d2050124
MM
323682010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32369
32370 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32371 builtins, define the macros in the C99 standard.
32372 (FP_FAST_FMAF): Likewise.
32373 (FP_FAST_FMAL): Likewise.
32374 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32375 multiply/add.
32376 (FP_FAST_FMAF): Likewise.
32377
475facd1
JJ
323782010-10-15 Jakub Jelinek <jakub@redhat.com>
32379
32380 [BZ #3268]
32381 * math/libm-test.inc (fma_test): Some new testcases.
32382 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32383 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32384 y and infinite z. Do multiplication by C already in long double.
32385 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32386 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32387 y and infinite z. Do bitwise or of inexact bit into u.d.
32388 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32389 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32390 * sysdeps/i386/fpu/s_fma.S: Removed.
32391 * sysdeps/i386/fpu/s_fmal.S: Removed.
32392
7c08a05c
JJ
323932010-10-16 Jakub Jelinek <jakub@redhat.com>
32394
32395 [BZ #3268]
32396 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32398 computation is not scheduled after fetestexcept. Fix value
32399 of minimum denormal long double.
32400
f3f7372d
JJ
324012010-10-14 Jakub Jelinek <jakub@redhat.com>
32402
32403 [BZ #3268]
32404 * math/libm-test.inc (fma_test): Add some more tests.
32405 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32406 correctly.
32407
14d43591
AS
324082010-10-15 Andreas Schwab <schwab@redhat.com>
32409
32410 * scripts/data/localplt-s390-linux-gnu.data: New file.
32411 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32412
5e908464
JJ
324132010-10-13 Jakub Jelinek <jakub@redhat.com>
32414
32415 [BZ #3268]
32416 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32417 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32418 instead of dbl-64.
32419 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32420 inlines.
32421 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32423 if one of x and y is very large and the other is subnormal.
32424 * sysdeps/s390/fpu/s_fmaf.c: New file.
32425 * sysdeps/s390/fpu/s_fma.c: New file.
32426 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32427 * sysdeps/powerpc/fpu/s_fma.S: New file.
32428 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32429 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32430 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32431
324322010-10-12 Jakub Jelinek <jakub@redhat.com>
32433
32434 [BZ #3268]
32435 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32436 fma tests.
32437 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32438 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32439 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32440 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32441 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32442 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32443 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32444
b833d51f
UD
324452010-10-12 Ulrich Drepper <drepper@redhat.com>
32446
32447 [BZ #12078]
32448 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32449 * posix/bug-regex31.input: Add test case.
32450
1751705d
UD
324512010-10-11 Ulrich Drepper <drepper@gmail.com>
32452
e9b9cbf5
UD
32453 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32454 * posix/bug-regex31.input: New file.
32455
32456 [BZ #12078]
32457 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32458 (parse_sub_exp): Fix last change, use postorder.
32459
ef06edbe
UD
32460 * posix/bug-regex31.c: New file.
32461 * posix/Makefile: Add rules to build and run bug-regex31.
32462
a129c80d
UD
32463 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32464
32465 [BZ #12078]
32466 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32467
b76b818e
UD
32468 [BZ #12108]
32469 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32470 to have entries in sys_siglist.
32471
1751705d
UD
32472 [BZ #12093]
32473 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32474 be NULL.
32475
9ff8d36f
JJ
324762010-10-07 Jakub Jelinek <jakub@redhat.com>
32477
32478 [BZ #3268]
32479 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32480 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32481 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32482 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32483 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32484 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32485 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32486 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32487 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32488 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32489 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32490 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32491 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32492 * math/ftestexcept.c (fetestexcept): Likewise.
32493 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32494 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32495 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32496 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32497 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32498 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32499 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32500
af325969
UD
325012010-10-11 Ulrich Drepper <drepper@gmail.com>
32502
c579b202 32503 [BZ #12107]
af325969
UD
32504 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32505 newline.
32506
67a67b95
UD
325072010-10-06 Ulrich Drepper <drepper@gmail.com>
32508
32509 * string/bug-strstr1.c: New file.
32510 * string/Makefile: Add rules to build and run bug-strstr1.
32511
5fb308bc
EB
325122010-10-05 Eric Blake <eblake@redhat.com>
32513
32514 [BZ #12092]
32515 * string/str-two-way.h (two_way_long_needle): Always clear memory
32516 when skipping input due to the shift table.
32517
45db99c7
UD
325182010-10-03 Ulrich Drepper <drepper@gmail.com>
32519
3b111893
UD
32520 [BZ #12005]
32521 * malloc/mcheck.c: Handle large requests.
32522
45db99c7
UD
32523 [BZ #12077]
32524 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32525 for strncmp and strncasecmp.
32526 * string/stratcliff.c: Add tests for strcmp and strncmp.
32527 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32528
cf7a1eb8
NI
325292010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32530
32531 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32532 __set_fpscr.
32533
6484ba5e
AJ
325342010-09-30 Andreas Jaeger <aj@suse.de>
32535
32536 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32537 (CGROUP_SUPER_MAGIC): Define.
32538 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32539 Handle btrfs and cgroup file systems.
32540 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32541 Likewise.
32542
91c42559
LM
325432010-09-27 Luis Machado <luisgpm@br.ibm.com>
32544
32545 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32546 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32547
87a97932
AK
325482010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32549
32550 [BZ #12067]
32551 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32552 trying to locate the ELF header.
32553
c21cc9bc
AS
325542010-09-27 Andreas Schwab <schwab@redhat.com>
32555
32556 [BZ #11611]
32557 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32558 Mask out sign-bit copies when constructing f_fsid.
32559
315970f6
PB
325602010-09-24 Petr Baudis <pasky@suse.cz>
32561
32562 * debug/stack_chk_fail_local.c: Add missing licence exception.
32563 * debug/warning-nop.c: Likewise.
32564
1ac7a2c7
JM
325652010-09-15 Joseph Myers <joseph@codesourcery.com>
32566
32567 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32568 implementing getdents64 using getdents syscall, set d_type if
32569 __ASSUME_GETDENTS32_D_TYPE.
32570
56801c50
AS
325712010-09-16 Andreas Schwab <schwab@redhat.com>
32572
32573 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32574 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32575
dda51327
UD
325762010-09-21 Ulrich Drepper <drepper@redhat.com>
32577
32578 [BZ #12037]
32579 * posix/unistd.h: Undo change of feature selection for ftruncate from
32580 2010-01-11.
32581
8ffcee4a
UD
325822010-09-20 Ulrich Drepper <drepper@redhat.com>
32583
a545ecd9 32584 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32585 detection.
32586
e24f0a8b
AS
325872010-09-20 Andreas Schwab <schwab@redhat.com>
32588
32589 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32590 fanotify_mark.
32591 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32592
7291c56f
AS
325932010-09-14 Andreas Schwab <schwab@redhat.com>
32594
32595 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32596 variables after CHECK_SP call.
32597 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32598
bc5fb037
AS
325992010-09-13 Andreas Schwab <schwab@redhat.com>
32600 Ulrich Drepper <drepper@redhat.com>
32601
32602 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32603 re-relocationg ld.so.
32604 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32605 _dl_init_paths call.
32606 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32607 here anymore.
32608
e66e7419
UD
326092010-09-14 Ulrich Drepper <drepper@redhat.com>
32610
32611 * resolv/res_init.c (__res_vinit): Count the default server we added.
32612
c044aa75
CLT
326132010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32614 Ulrich Drepper <drepper@redhat.com>
32615
32616 [BZ #11968]
32617 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32618 (____longjmp_chk): Use %ebx for saving value across system call.
32619 Add unwind info.
32620
32cf4069
AS
326212010-09-06 Andreas Schwab <schwab@redhat.com>
32622
32623 * manual/Makefile: Don't mix pattern rules with normal rules.
32624
817328ee
AS
326252010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32626
32627 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32628 operation.
32629 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32630 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32631 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32632 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32633 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32634 Likewise.
32635
29fddf61
UD
326362010-09-04 Ulrich Drepper <drepper@redhat.com>
32637
32638 [BZ #11979]
32639 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32640 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32641
0959ffc9
UD
326422010-09-02 Ulrich Drepper <drepper@redhat.com>
32643
32644 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32645 * sysdeps/x86_64/addmul_1.S: Likewise.
32646 * sysdeps/x86_64/lshift.S: Likewise.
32647 * sysdeps/x86_64/mul_1.S: Likewise.
32648 * sysdeps/x86_64/rshift.S: Likewise.
32649 * sysdeps/x86_64/sub_n.S: Likewise.
32650 * sysdeps/x86_64/submul_1.S: Likewise.
32651
ece29840
ST
326522010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32653
0959ffc9
UD
32654 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32655 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32656 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32657 * bits/sched.h [__need_schedparam]
ece29840 32658 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32659 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32660 (__defined_schedparam): Define to 1.
ece29840
ST
32661 (__sched_param): New structure, identical to sched_param.
32662 (__need_schedparam): Undefine.
32663
e53a31fe
MF
326642010-08-31 Mike Frysinger <vapier@gentoo.org>
32665
fdc0c10d
MF
32666 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32667 (epoll_create1): Declare.
32668
e53a31fe
MF
32669 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32670
a726d796
AS
326712010-08-31 Andreas Schwab <schwab@redhat.com>
32672
32673 [BZ #7066]
32674 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32675 shifting retval into place.
32676
2f3e3dc7
UD
326772010-09-01 Ulrich Drepper <drepper@redhat.com>
32678
f2933da9
UD
32679 * nis/rpcsvc/nis.h: Update copyright notice.
32680 * nis/rpcsvc/nis.x: Likewise.
32681 * nis/rpcsvc/nis_callback.h: Likewise.
32682 * nis/rpcsvc/nis_callback.x: Likewise.
32683 * nis/rpcsvc/nis_object.x: Likewise.
32684 * nis/rpcsvc/nis_tags.h: Likewise.
32685 * nis/rpcsvc/yp.h: Likewise.
32686 * nis/rpcsvc/yp.x: Likewise.
32687 * nis/rpcsvc/ypupd.h: Likewise.
32688 * nis/yp_xdr.c: Likewise.
32689 * nis/ypupdate_xdr.c: Likewise.
32690
2f3e3dc7
UD
32691 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32692 mainly the body of pmap_getport. Add parameters to specify timeouts.
32693 (pmap_getport): Use __libc_rpc_getport.
32694 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32695 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32696 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32697
f3dcc2f9
AS
326982010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32699
32700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32701 fanotify_mark.
32702
6d34eb5b
RM
327032010-08-27 Roland McGrath <roland@redhat.com>
32704
32705 * sysdeps/i386/i686/multiarch/Makefile
32706 (CFLAGS-varshift.c): New variable.
32707
9ea3de11
UD
327082010-08-27 Ulrich Drepper <drepper@redhat.com>
32709
c96d23fc
UD
32710 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32711 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32712
9ea3de11
UD
32713 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32714
32715 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32716
623aac7f
L
327172010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32718
32719 * sysdeps/x86_64/strlen.S: Unroll the loop.
32720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32721 strlen-sse2 strlen-sse2-bsf.
32722 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32723 __strlen_no_bsf if bit_Slow_BSF is set.
32724 (__strlen_sse42): Removed.
32725 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32726 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32727
8b2b7715
RM
327282010-08-25 Roland McGrath <roland@redhat.com>
32729
32730 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32731 * sysdeps/x86_64/multiarch/varshift.c: New file.
32732 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32733 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32734 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32735 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32736
e73015f2
L
327372010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32738
32739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32740 strlen-sse2 strlen-sse2-bsf.
32741 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32742 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32743 (__strlen_sse2): Removed.
32744 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32745 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32747 bit_Slow_BSF for Atom.
32748 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32749 (index_Slow_BSF): Define.
32750 (HAS_SLOW_BSF): Define.
32751
df24a73e
UD
327522010-08-25 Ulrich Drepper <drepper@redhat.com>
32753
32754 [BZ #10851]
32755 * resolv/res_init.c (__res_vinit): When no server address at all
32756 is given default to loopback.
32757
f2ac4868
RM
327582010-08-24 Roland McGrath <roland@redhat.com>
32759
09055553
RM
32760 * configure.in: Remove config-name.h generation.
32761 * configure: Regenerated.
32762 * config-name.in: File removed.
32763 * scripts/config-uname.sh: New file.
32764 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32765 ($(objdir)config-name.h): New target.
32766
f2ac4868
RM
32767 * sunrpc/rpc_parse.h: Avoid nested comment.
32768
73f27d5e
RH
327692010-08-24 Richard Henderson <rth@redhat.com>
32770 Ulrich Drepper <drepper@redhat.com>
32771 H.J. Lu <hongjiu.lu@intel.com>
32772
32773 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32775 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32776 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32777 _mm_alignr_epi8 with _mm_loadu_si128.
32778 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32779 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32780 (__m128i_shift_right): Removed.
32781 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32782 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32783 * sysdeps/x86_64/multiarch/varshift.h: New file.
32784 * sysdeps/x86_64/multiarch/varshift.S: New file.
32785
84b9230c
MF
327862010-08-21 Mike Frysinger <vapier@gentoo.org>
32787
32788 * configure.in: Move assembler checks to before sysdep dir checking.
32789
9bbd0ddc
PB
327902010-08-20 Petr Baudis <pasky@suse.cz>
32791
32792 * LICENSES: Sync the sunrpc license.
32793
9da4bb31
UD
327942010-08-19 Ulrich Drepper <drepper@redhat.com>
32795
a7ab6ec8
UD
32796 * sunrpc/auth_des.c: Update copyright notice once again.
32797 * sunrpc/auth_none.c: Likewise.
32798 * sunrpc/auth_unix.c: Likewise.
32799 * sunrpc/authdes_prot.c: Likewise.
32800 * sunrpc/authuxprot.c: Likewise.
32801 * sunrpc/bindrsvprt.c: Likewise.
32802 * sunrpc/clnt_gen.c: Likewise.
32803 * sunrpc/clnt_perr.c: Likewise.
32804 * sunrpc/clnt_raw.c: Likewise.
32805 * sunrpc/clnt_simp.c: Likewise.
32806 * sunrpc/clnt_tcp.c: Likewise.
32807 * sunrpc/clnt_udp.c: Likewise.
32808 * sunrpc/clnt_unix.c: Likewise.
32809 * sunrpc/des_crypt.c: Likewise.
32810 * sunrpc/des_soft.c: Likewise.
32811 * sunrpc/get_myaddr.c: Likewise.
32812 * sunrpc/getrpcport.c: Likewise.
32813 * sunrpc/key_call.c: Likewise.
32814 * sunrpc/key_prot.c: Likewise.
32815 * sunrpc/openchild.c: Likewise.
32816 * sunrpc/pm_getmaps.c: Likewise.
32817 * sunrpc/pm_getport.c: Likewise.
32818 * sunrpc/pmap_clnt.c: Likewise.
32819 * sunrpc/pmap_prot.c: Likewise.
32820 * sunrpc/pmap_prot2.c: Likewise.
32821 * sunrpc/pmap_rmt.c: Likewise.
32822 * sunrpc/rpc/auth.h: Likewise.
32823 * sunrpc/rpc/auth_unix.h: Likewise.
32824 * sunrpc/rpc/clnt.h: Likewise.
32825 * sunrpc/rpc/des_crypt.h: Likewise.
32826 * sunrpc/rpc/key_prot.h: Likewise.
32827 * sunrpc/rpc/netdb.h: Likewise.
32828 * sunrpc/rpc/pmap_clnt.h: Likewise.
32829 * sunrpc/rpc/pmap_prot.h: Likewise.
32830 * sunrpc/rpc/pmap_rmt.h: Likewise.
32831 * sunrpc/rpc/rpc.h: Likewise.
32832 * sunrpc/rpc/rpc_des.h: Likewise.
32833 * sunrpc/rpc/rpc_msg.h: Likewise.
32834 * sunrpc/rpc/svc.h: Likewise.
32835 * sunrpc/rpc/svc_auth.h: Likewise.
32836 * sunrpc/rpc/types.h: Likewise.
32837 * sunrpc/rpc/xdr.h: Likewise.
32838 * sunrpc/rpc_clntout.c: Likewise.
32839 * sunrpc/rpc_cmsg.c: Likewise.
32840 * sunrpc/rpc_common.c: Likewise.
32841 * sunrpc/rpc_cout.c: Likewise.
32842 * sunrpc/rpc_dtable.c: Likewise.
32843 * sunrpc/rpc_hout.c: Likewise.
32844 * sunrpc/rpc_main.c: Likewise.
32845 * sunrpc/rpc_parse.c: Likewise.
32846 * sunrpc/rpc_parse.h: Likewise.
32847 * sunrpc/rpc_prot.c: Likewise.
32848 * sunrpc/rpc_sample.c: Likewise.
32849 * sunrpc/rpc_scan.c: Likewise.
32850 * sunrpc/rpc_scan.h: Likewise.
32851 * sunrpc/rpc_svcout.c: Likewise.
32852 * sunrpc/rpc_tblout.c: Likewise.
32853 * sunrpc/rpc_util.c: Likewise.
32854 * sunrpc/rpc_util.h: Likewise.
32855 * sunrpc/rpcinfo.c: Likewise.
32856 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32857 * sunrpc/rpcsvc/key_prot.x: Likewise.
32858 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32859 * sunrpc/rpcsvc/mount.x: Likewise.
32860 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32861 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32862 * sunrpc/rpcsvc/rex.x: Likewise.
32863 * sunrpc/rpcsvc/rstat.x: Likewise.
32864 * sunrpc/rpcsvc/rusers.x: Likewise.
32865 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32866 * sunrpc/rpcsvc/spray.x: Likewise.
32867 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32868 * sunrpc/rtime.c: Likewise.
32869 * sunrpc/svc.c: Likewise.
32870 * sunrpc/svc_auth.c: Likewise.
32871 * sunrpc/svc_authux.c: Likewise.
32872 * sunrpc/svc_raw.c: Likewise.
32873 * sunrpc/svc_run.c: Likewise.
32874 * sunrpc/svc_simple.c: Likewise.
32875 * sunrpc/svc_tcp.c: Likewise.
32876 * sunrpc/svc_udp.c: Likewise.
32877 * sunrpc/svc_unix.c: Likewise.
32878 * sunrpc/svcauth_des.c: Likewise.
32879 * sunrpc/xcrypt.c: Likewise.
32880 * sunrpc/xdr.c: Likewise.
32881 * sunrpc/xdr_array.c: Likewise.
32882 * sunrpc/xdr_float.c: Likewise.
32883 * sunrpc/xdr_mem.c: Likewise.
32884 * sunrpc/xdr_rec.c: Likewise.
32885 * sunrpc/xdr_ref.c: Likewise.
32886 * sunrpc/xdr_sizeof.c: Likewise.
32887 * sunrpc/xdr_stdio.c: Likewise.
32888
9da4bb31
UD
32889 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32890 handling.
32891
bdaa77bc
AS
328922010-08-19 Andreas Schwab <schwab@redhat.com>
32893
32894 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32895
fe2f79db
LM
328962010-08-19 Luis Machado <luisgpm@br.ibm.com>
32897
32898 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32899 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32900 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32901 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32902 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32903 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32904 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32905 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32906 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32907 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32908 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32909 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32910 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32911 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32912
b9b42ee0
AB
329132010-07-26 Anton Blanchard <anton@samba.org>
32914
32915 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32916 * malloc/arena.c (heap_trim): Likewise.
32917
1c06ba31
UD
329182010-08-16 Ulrich Drepper <drepper@redhat.com>
32919
32920 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32921 here. Not...
32922 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32923 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32924
f8392f40
L
329252010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32926
32927 * sysdeps/i386/elf/Makefile: New file.
32928
3162f12e
AS
329292010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32930
32931 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32932 from fanotify_init.
32933 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32934 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32935
28c90b2c
UD
329362010-08-15 Ulrich Drepper <drepper@redhat.com>
32937
32938 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32939 of strncasecmp_l.
1feccb6c 32940 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32941
ca6bb004
UD
329422010-08-14 Ulrich Drepper <drepper@redhat.com>
32943
e9f82e0d
UD
32944 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32945 strncase_l-nonascii.
32946 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32947 Add strncase_l-ssse3.
32948 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32949 * sysdeps/x86_64/strcmp.S: Likewise.
32950 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32951 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32952 * sysdeps/x86_64/strncase.S: New file.
32953 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32954 * sysdeps/x86_64/strncase_l.S: New file.
32955 * string/Makefile (strop-tests): Add strncasecmp.
32956 * string/test-strncasecmp.c: New file.
32957
32958 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32959 warning.
32960
ca6bb004
UD
32961 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32962 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32963
052fa7b3
AS
329642010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32965
32966 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32967
962dba78
UD
329682010-08-12 Ulrich Drepper <drepper@redhat.com>
32969
32970 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32971 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32972 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32973
bebff237
AM
329742010-05-01 Alan Modra <amodra@gmail.com>
32975
32976 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32977 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32978 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32979 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32980 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32981 tidying. Don't tail-call __sigjmp_save for static lib.
32982 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32983 save location.
32984 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32985 (CALL_MCOUNT): Add eh info, and nop after bl.
32986 (TAIL_CALL_SYSCALL_ERROR): New macro.
32987 (PSEUDO_RET): Use it.
32988 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32989 Correct save location of integer regs and cr.
32990 (_dl_profile_resolve): Correct cr save location. Delete nops
32991 after bl when SHARED. Reduce cfi size a little by better
32992 placement of cfi directives.
32993 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32994 make a stack frame. Instead use parm save area as a temp.
32995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32996 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32998 Don't make a stack frame for parent, use parm save area.
32999 Increase child stack frame to 112 bytes. Don't save unused reg,
33000 and adjust reg usage. Set up cfi on error recovery and
33001 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33003 (__makecontext): Add dummy nop after jump to exit.
33004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33005 Use correct parm save area and cr save, reduce stack frame.
33006 Correct cfi for possible PSEUDO_RET frame setup.
33007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33008 Branch to local label emitted by PSEUDO_RET rather than
33009 __syscall_error.
33010
02637374
AS
330112010-08-12 Andreas Schwab <schwab@redhat.com>
33012
33013 [BZ #11904]
33014 * locale/programs/locale.c (print_assignment): New function.
33015 (show_locale_vars): Use it.
33016
c3e2f19b
UD
330172010-08-11 Ulrich Drepper <drepper@redhat.com>
33018
3cdaa6ad
UD
33019 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33020 field.
33021 (struct statfs64): Likewise.
33022 (_STATFS_F_FLAGS): Define.
33023 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33024 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33025 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33026 (ST_VALID): Define locally.
33027 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33028 __statvfs_getflags, use the provided value.
33029 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33030 __ASSUME_STATFS_F_FLAGS.
33031
754f7da3
UD
33032 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33033
10b3bedc
UD
33034 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33035 Add sys/fanotify.h.
33036 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33037 fanotify_mask for GLIBC_2.13.
33038 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33039 fanotify_init and fanotify_mark.
33040 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33041 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33042
c08fb0d7
UD
33043 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33044 Add prlimit.
33045 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33046 prlimit64 for GLIBC_2.13.
33047 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33048 prlimit64.
33049 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33050 syscall.
33051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33052 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33053 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33054 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33055 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33056 add prlimit alias.
33057 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33058
15bac72b
UD
33059 [BZ #11903]
33060 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33061 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33062
c3e2f19b
UD
33063 * nss/Makefile: Add rules to build and run tst-nss-test1.
33064 * shlib-versions: Add entry for libnss_test1.
33065 * nss/nss_test1.c: New file.
33066 * nss/tst-nss-test1.c: New file.
33067
33068 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33069 (__nss_configure_lookup): Set appropriate entry in
33070 __nss_configure_lookup to true.
33071 * nss/nsswitch.h: Define enum with indeces of databases in
33072 databases and __nss_database_custom arrays. Declare
33073 __nss_database_custom.
33074 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33075 to avoid using nscd when custom rules are installed.
33076 * nss/getXXbyYY_r.c: Likewise.
33077 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33078
33079 * nss/nss_files/files-parse.c: Whitespace fixes.
33080
f15ce4d8
UD
330812010-08-09 Ulrich Drepper <drepper@redhat.com>
33082
33083 [BZ #11883]
33084 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33085 * posix/fnmatch_loop.c: Likewise.
33086
d22e4cc9
AK
330872010-07-17 Andi Kleen <ak@linux.intel.com>
33088
33089 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33090 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33091 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33092 * Versions.def [GLIBC_2.13]: Add.
33093
805bc17d
UD
330942010-08-06 Ulrich Drepper <drepper@redhat.com>
33095
33096 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33097 Also fail if tpwd after pwuid call is NULL.
33098
5a42321d
ST
330992010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33100
33101 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33102 when converting to ms.
33103
fd3ebeda
ST
331042010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33105
33106 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33107 EOPNOTSUPP errors with ENOTTY.
33108 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33109 EOPNOTSUPP errors with ENOTTY.
33110
73507d3a
UD
331112010-07-31 Ulrich Drepper <drepper@redhat.com>
33112
33113 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33114 Add strcasecmp_l-ssse3.
33115 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33116 strcasecmp.
33117 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33118 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33119 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33120
fe36dd02
UD
331212010-07-30 Ulrich Drepper <drepper@redhat.com>
33122
66f6765a
UD
33123 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33124
42e08a54
UD
33125 * string/Makefile (strop-tests): Add strcasecmp.
33126 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33127 strcasecmp_l-nonascii.
33128 (gen-as-const-headers): Add locale-defines.sym.
33129 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33130 * sysdeps/x86_64/strcasecmp.S: New file.
33131 * sysdeps/x86_64/strcasecmp_l.S: New file.
33132 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33133 * sysdeps/x86_64/locale-defines.sym: New file.
33134 * string/test-strcasecmp.c: New file.
33135
fe36dd02
UD
33136 * string/test-strcasestr.c: Test both ends of the range of characters.
33137 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33138
48cbc0d6
RM
331392010-07-29 Roland McGrath <roland@redhat.com>
33140
76e6d6bc 33141 [BZ #11856]
48cbc0d6
RM
33142 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33143
880113d9
UD
331442010-07-27 Ulrich Drepper <drepper@redhat.com>
33145
33146 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33147 for ld.so.
33148
deb9cabb
AS
331492010-07-27 Andreas Schwab <schwab@redhat.com>
33150
33151 * manual/memory.texi (Malloc Tunable Parameters): Document
33152 M_PERTURB.
33153
1c7570ff
RM
331542010-07-26 Roland McGrath <roland@redhat.com>
33155
33156 [BZ #11840]
33157 * configure.in (-fgnu89-inline check): Set and substitute
33158 gnu89_inline, not libc_cv_gnu89_inline.
33159 * configure: Regenerated.
33160 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33161
24fb0f88
UD
331622010-07-26 Ulrich Drepper <drepper@redhat.com>
33163
33164 * string/test-strnlen.c: New file.
33165 * string/Makefile (strop-tests): Add strnlen.
33166 * string/tester.c (test_strnlen): Add a few more test cases.
33167 * string/tst-strlen.c: Better error reporting.
33168
33169 * sysdeps/x86_64/strnlen.S: New file.
33170
8e96b93a
UD
331712010-07-24 Ulrich Drepper <drepper@redhat.com>
33172
33173 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33174 lower-latency instructions.
33175
dbc676d4
UD
331762010-07-23 Ulrich Drepper <drepper@redhat.com>
33177
33178 * string/test-strcasestr.c: New file.
33179 * string/test-strstr.c: New file.
33180 * string/Makefile (strop-tests): Add strstr and strcasestr.
33181 * string/str-two-way.h: Don't undefine MAX.
33182 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33183
f6a31e0e
AS
331842010-07-21 Andreas Schwab <schwab@redhat.com>
33185
33186 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33187 strcasestr-nonascii.
33188 (CFLAGS-strcasestr-nonascii.c): Define.
33189 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33190 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33191 Remove unused attribute.
33192
5dbc3b6c
RM
331932010-07-20 Roland McGrath <roland@redhat.com>
33194
33195 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33196 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33197 ld.so.cache was broken. With it, there is no way to disable dsocaps
33198 like LD_HWCAP_MASK can disable hwcaps.
33199
23d101d8
EPM
332002010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33201
33202 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33203
cc9f2e47
UD
332042010-07-16 Ulrich Drepper <drepper@redhat.com>
33205
33206 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33207 call in strcasestr.
33208 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33209 __strcasestr_sse42_nonascii.
33210 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33211 strcasestr-nonascii.c.
33212 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33213
77c1b069
LM
332142010-06-15 Luis Machado <luisgpm@br.ibm.com>
33215
33216 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33217 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33218 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33219 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33220
440566c3
UD
332212010-07-09 Ulrich Drepper <drepper@redhat.com>
33222
33223 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33224 fcntl.
33225
5be9d05d
AS
332262010-07-06 Andreas Schwab <schwab@redhat.com>
33227
c30b7ee2 33228 [BZ #11577]
5be9d05d
AS
33229 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33230 dl_signal_cerror.
33231
8a492a67
UD
332322010-07-06 Ulrich Drepper <drepper@redhat.com>
33233
33234 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33235 _PC_PIPE_BUF using F_GETPIPE_SZ.
33236
713df3d5
RM
332372010-07-05 Roland McGrath <roland@redhat.com>
33238
33239 * manual/arith.texi (Rounding Functions): Fix rint description
33240 implicit in round description.
33241
702e8f14
UD
332422010-07-02 Ulrich Drepper <drepper@redhat.com>
33243
33244 * elf/Makefile: Fix linking for a few tests to make recent linker
33245 happy.
33246
52ed8be9
AS
332472010-06-30 Andreas Schwab <schwab@redhat.com>
33248
33249 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33250 $(common-objpfx)libc_nonshared.a.
33251
f47c9a11
LM
332522010-06-21 Luis Machado <luisgpm@br.ibm.com>
33253
33254 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33255 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33256 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33257 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33258 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33259 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33260 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33261 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33276 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33277 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33278 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33279 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33280 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33281 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33282 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33283 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33284 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33285 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33286 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33287 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33302
6fb8cbcb
L
333032010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33304
33305 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33306 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33307 * string/memmove.c (memmove): Renamed to ...
33308 (MEMMOVE): ...this. Default to memmove.
33309 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33310 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33311 (END_CHK): Define.
33312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33313 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33314 mempcpy-ssse3-back memmove-ssse3-back.
33315 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33316 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33317 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33318 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33319 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33320 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33321 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33322 * sysdeps/x86_64/multiarch/memmove.c: New file.
33323 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33324 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33325 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33326 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33327 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33328 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33329 Define.
33330 (index_Fast_Copy_Backward): Define.
33331 (HAS_ARCH_FEATURE): Define.
33332 (HAS_FAST_REP_STRING): Define.
33333 (HAS_FAST_COPY_BACKWARD): Define.
33334
4e733bac 333352010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33336
33337 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33338 Restore proper fallback handling.
33339
63c4ed22
UD
333402010-06-19 Ulrich Drepper <drepper@redhat.com>
33341
ac2b484c
UD
33342 [BZ #11701]
33343 * posix/group_member.c (__group_member): Correct checking loop.
33344
63c4ed22
UD
33345 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33346 OOM in getpwuid_r correctly. Return error number when the caller
33347 should return, otherwise -1.
33348 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33349 call returning > 0 value.
33350 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33351
765ade4b
AS
333522010-06-07 Andreas Schwab <schwab@redhat.com>
33353
33354 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33355 libc_nonshared.a from targets in modules-names.
33356
80da2e09
KS
333572010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33358
33359 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33360 requires it.
33361
158db122
LM
333622010-06-10 Luis Machado <luisgpm@br.ibm.com>
33363
33364 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33365 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33366 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33367 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33368
caa78cf8
AS
333692010-06-02 Andreas Schwab <schwab@redhat.com>
33370
33371 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33372
b2ef2c01
UD
333732010-06-14 Ulrich Drepper <drepper@redhat.com>
33374
33375 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33376 and F_GETPIPE_SZ.
33377 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33378 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33379 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33380 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33381 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33382 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33383
fbd643b6
RM
333842010-06-14 Roland McGrath <roland@redhat.com>
33385
33386 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33387
f32f2869
JJ
333882010-06-07 Jakub Jelinek <jakub@redhat.com>
33389
33390 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33391 __REDIRECT followed by __THROW.
33392 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33393 * posix/getopt.h (getopt): Likewise.
33394
2a50c078
EPM
333952010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33396
33397 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33398 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33399 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33400 in AT_FLAGS.
33401 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33402 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33403
eb5ad2eb
LM
334042010-05-28 Luis Machado <luisgpm@br.ibm.com>
33405
33406 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33407
3c88fe1e
L
334082010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33409
33410 [BZ #11640]
33411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33412 Properly check family and model.
33413
d2f73151
TY
334142010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33415
33416 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33417
ebd2e13d
LM
334182010-05-24 Luis Machado <luisgpm@br.ibm.com>
33419
33420 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33421
b32b8b45
UD
334222010-05-21 Ulrich Drepper <drepper@redhat.com>
33423
33424 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33425 symbol reference.
33426
9acbe24d
AS
334272010-05-19 Andreas Schwab <schwab@redhat.com>
33428
33429 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33430 symbol reference.
33431
f0ccf6ea
AS
334322010-05-21 Andreas Schwab <schwab@redhat.com>
33433
3d04ff3a
AS
33434 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33435 and internal_recvmmsg.
33436 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33437 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33438 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33439 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33440
f0ccf6ea
AS
33441 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33442 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33443 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33444
5b08ac57
AS
334452010-05-20 Andreas Schwab <schwab@redhat.com>
33446
33447 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33448
4828935d
LM
334492010-05-17 Luis Machado <luisgpm@br.ibm.com>
33450
33451 POWER7 optimizations.
33452 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33453 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33454
373d545e
UD
334552010-05-19 Ulrich Drepper <drepper@redhat.com>
33456
33457 * version.h: Update for 2.13 development version.
33458
21a2b1ae
AS
334592010-05-12 Andrew Stubbs <ams@codesourcery.com>
33460
33461 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33462 exceptions. Return 0.
33463
3f7dcb2b
RM
334642010-05-07 Roland McGrath <roland@redhat.com>
33465
33466 * elf/ldconfig.c (main): Add a const.
33467
5f24d53a 334682010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33469
a160f8d8
UD
33470 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33471 (args_options): Add no-idn option.
33472 (ahosts_keys_int): Add idn_flags to ai_flags.
33473 (parse_option): Handle 'i' option to clear idn_flags.
33474
5f24d53a
UD
33475 * malloc/malloc.c (_int_free): Possible race in the most recently
33476 added check. Only act on the data if no current modification
33477 happened.
265bb1ce
UD
33478
33479See ChangeLog.17 for earlier changes.