]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use __gnu_inline__ for __extern_always_inline in g++-4.2
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0695940b
RS
12013-05-01 Richard Smith <richard@metafoo.co.uk>
2
3 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5 Use __attribute__ ((__gnu_inline__)).
6 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7 Don't use __attribute__ ((__gnu_inline__)).
8
10de07f5
JM
92013-05-01 Joseph Myers <joseph@codesourcery.com>
10
11 [BZ #15423]
12 * math/s_catan.c (__catan): Handle small real or imaginary part of
13 input specially to avoid spurious underflow.
14 * math/s_catanf.c (__catanf): Likewise.
15 * math/s_catanh.c (__catanh): Likewise.
16 * math/s_catanhf.c (__catanhf): Likewise.
17 * math/s_catanhl.c (__catanhl): Likewise.
18 * math/s_catanl.c (__catanl): Likewise.
19 * math/libm-test.inc (catan_test): Add more tests.
20 (catanh_test): Likewise.
21 * sysdeps/i386/fpu/libm-test-ulps: Update.
22 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23
cb4d5414
AZ
242013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25
26 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27
caf84319
JM
282013-04-30 Joseph Myers <joseph@codesourcery.com>
29
30 [BZ #15416]
31 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32 accurately for denominator in atan2.
33 * math/s_catanf.c (__catanf): Likewise.
34 * math/s_catanh.c (__catanh): Likewise.
35 * math/s_catanhf.c (__catanhf): Likewise.
36 * math/s_catanhl.c (__catanhl): Likewise.
37 * math/s_catanl.c (__catanl): Likewise.
38 * math/libm-test.inc (catan_test): Add more tests.
39 (catanh_test): Likewise.
40 * sysdeps/i386/fpu/libm-test-ulps: Update.
41 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42
d569c6ee
SP
432013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44
6dbe713d
SP
45 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
46
f0ee064b
SP
47 * benchtests/Makefile (bench): Remove slow benchmarks.
48 * benchtests/atan-inputs: Add slow benchmark inputs.
49 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
50 (BENCH_FUNC): Accept variant offset.
51 (VARIANT): Define.
52 * benchtests/bench-skeleton.c (main): Run benchmark for each
53 variant.
54 * benchtests/cos-inputs: Add slow benchmark inputs.
55 * benchtests/exp-inputs: Likewise.
56 * benchtests/pow-inputs: Likewise.
57 * benchtests/sin-inputs: Likewise.
58 * benchtests/slowatan-inputs: Remove.
59 * benchtests/slowatan.c: Remove.
60 * benchtests/slowcos-inputs: Remove.
61 * benchtests/slowcos.c: Remove.
62 * benchtests/slowexp-inputs: Remove.
63 * benchtests/slowexp.c: Remove.
64 * benchtests/slowpow-inputs: Remove.
65 * benchtests/slowpow.c: Remove.
66 * benchtests/slowsin-inputs: Remove.
67 * benchtests/slowsin.c: Remove.
68 * benchtests/slowtan-inputs: Remove.
69 * benchtests/slowtan.c: Remove.
70 * benchtests/tan-inputs: Add slow benchmark inputs.
71 * scripts/bench.pl: Parse comments and directives.
72
d569c6ee
SP
73 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
74 in CPPFLAGS.
75 ($(objpfx)bench-%.c): Remove *-ITER.
76 * benchtests/bench-modf.c: Remove definition of ITER.
77 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
78 (main): Loop for DURATION seconds instead of fixed number of
79 iterations.
80 * scripts/bench.pl: Don't expect iterations in parameters.
81
a6a242fe
RM
822013-04-29 Roland McGrath <roland@hack.frob.com>
83
84 * io/fchdir.c (__fchdir): Renamed from fchdir.
85 (fchdir): Define as weak alias.
86
f2da7793
JM
872013-04-29 Joseph Myers <joseph@codesourcery.com>
88
89 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
90 (ERRNO_EDOM): Likewise.
91 (ERRNO_ERANGE): Likewise.
92 (noErrnoTests): New variable.
93 (init_max_error): Set errno to 0.
94 (test_single_errno): New function.
95 (test_errno): Likewise.
96 (check_float_internal): Call test_errno. Set errno to 0.
97 (check_complex): Refer to errno tests in comment.
98 (check_int): Call test_errno. Set errno to 0.
99 (check_long): Likewise.
100 (check_bool): Likewise.
101 (check_longlong): Likewise.
102 (cos_test): Use ERRNO_* flags for errno tests instead of
103 check_int.
104 (expm1_test): Likewise.
105 (fmod_test): Likewise.
106 (ilogb_test): Likewise.
107 (lgamma_test): Likewise.
108 (pow_test): Likewise.
109 (remainder_test): Likewise.
110 (sin_test): Likewise.
111 (tan_test): Likewise.
112 (yn_test): Likewise.
113 (initialize): Set errno to 0.
114 (main): Print number of errno tests.
115 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
116
b1a36ceb
AJ
1172013-04-29 Andreas Jaeger <aj@suse.de>
118
c3ed8088
AJ
119 [BZ #15084]
120 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
121 and RES_USEVC.
122
f1a24198
AJ
123 [BZ #15085]
124 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
125 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
126 unimplemented.
127
9ce3b2cb
AJ
128 [BZ #15380]
129 * stdlib/random.c (__initstate): Return NULL if
130 __initstate fails.
131
f1a24198 132 [BZ #15086]
b1a36ceb
AJ
133 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
134 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
135 RES_SNGLKUPREOP.
136
7e7b6f36
AZ
1372013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
138
139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
140
4d14f449
JM
1412013-04-29 Joseph Myers <joseph@codesourcery.com>
142
143 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
144 of individual tests.
145 (casin_test): Likewise.
146 (casinh_test): Likewise.
147
5b4217d7
JM
1482013-04-27 Joseph Myers <joseph@codesourcery.com>
149
150 [BZ #15409]
151 * math/s_catan.c (__catan): Handle arguments with large real or
152 imaginary part separately without squaring.
153 * math/s_catanf.c (__catanf): Likewise.
154 * math/s_catanh.c (__catanh): Likewise.
155 * math/s_catanhf.c (__catanhf): Likewise.
156 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
157 and redefine.
158 (__catanhl): Handle arguments with large real or imaginary part
159 separately without squaring.
160 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
161 and redefine.
162 (__catanl): Handle arguments with large real or imaginary part
163 separately without squaring.
164 * math/libm-test.inc (catan_test): Add more tests.
165 (catanh_test): Likewise.
166 * sysdeps/i386/fpu/libm-test-ulps: Update.
167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
168
4220c3ef
AJ
1692013-04-27 Andreas Jaeger <aj@suse.de>
170
171 [BZ #15007]
172 * stdlib/stdlib.h: Update guards for qecvt.
173 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
174 <stdlib.h>.
175
4721b2d1
AM
1762013-04-27 Allan McRae <allan@archlinux.org>
177
178 * sysdeps/i386/fpu/libm-test-ulps: Update.
179
f0302940
JM
1802013-04-26 Joseph Myers <joseph@codesourcery.com>
181
9457fd95
JM
182 [BZ #15406]
183 * math/s_catan.c: Include <float.h>.
184 (__catan): Ensure underflow exception occurs for underflowed
185 result.
186 * math/s_catanf.c: Include <float.h>.
187 (__catanf): Ensure underflow exception occurs for underflowed
188 result.
189 * math/s_catanh.c: Include <float.h>.
190 (__catanh): Ensure underflow exception occurs for underflowed
191 result.
192 * math/s_catanhf.c: Include <float.h>.
193 (__catanhf): Ensure underflow exception occurs for underflowed
194 result.
195 * math/s_catanhl.c: Include <float.h>.
196 (__catanhl): Ensure underflow exception occurs for underflowed
197 result.
198 * math/s_catanl.c: Include <float.h>.
199 (__catanl): Ensure underflow exception occurs for underflowed
200 result.
201 * math/libm-test.inc (catan_test): Add more tests.
202 (catanh_test): Likewise.
203
f0302940
JM
204 [BZ #15405]
205 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
206 underflowed result.
207 * math/s_ccoshf.c (__ccoshf): Likewise.
208 * math/s_ccoshl.c (__ccoshl): Likewise.
209 * math/s_csin.c (__csin): Likewise.
210 * math/s_csinf.c (__csinf): Likewise.
211 * math/s_csinh.c (__csinh): Likewise.
212 * math/s_csinhf.c (__csinhf): Likewise.
213 * math/s_csinhl.c (__csinhl): Likewise.
214 * math/s_csinl.c (__csinl): Likewise.
215 * math/libm-test.inc (ccos_test): Add more tests.
216 (ccosh_test): Likewise.
217 (csin_test): Likewise.
218 (csinh_test): Likewise.
219
aa630f59
AZ
2202013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
221
222 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
223 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
224 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
225 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
226 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
227 powerpc/power5+/fpu folders.
228 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
229
230
1b835983
MT
2312013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
232
233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
234
73709b26
JM
2352013-04-25 Joseph Myers <joseph@codesourcery.com>
236
237 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
238 additions to variable.
239 [$(config-machine) = x86_64] (modules-names): Likewise.
240 ($(objpfx)tst-audit3): Remove dependency.
241 ($(objpfx)tst-audit3.out): Likewise.
242 ($(objpfx)tst-audit4): Likewise.
243 ($(objpfx)tst-audit4.out): Likewise.
244 ($(objpfx)tst-audit5): Likewise.
245 ($(objpfx)tst-audit5.out): Likewise.
246 ($(objpfx)tst-audit6): Likewise.
247 ($(objpfx)tst-audit6.out): Likewise.
248 ($(objpfx)tst-audit7): Likewise.
249 ($(objpfx)tst-audit7.out): Likewise.
250 (tst-audit3-ENV): Remove variable.
251 (tst-audit4-ENV): Likewise.
252 (tst-audit5-ENV): Likewise.
253 (tst-audit6-ENV): Likewise.
254 (tst-audit7-ENV): Likewise.
255 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
256 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
257 addition to variable.
258 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
259 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
260 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
261 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
262 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
263 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
264 tst-audit3, tst-audit4 and tst-audit5.
265 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
266 tst-audit6 and tst-audit7.
267 [$(subdir) = elf] (modules-names): Add audit modules for those
268 tests.
269 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
270 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
271 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
272 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
273 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
274 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
275 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
276 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
277 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
278 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
279 [$(subdir) = elf] (tst-audit3-ENV): New variable.
280 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
281 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
282 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
283 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
284 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
285 Likewise.
286 [$(subdir) = elf && $(config-cflags-avx) = yes]
287 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
288 [$(subdir) = elf && $(config-cflags-avx) = yes]
289 (CFLAGS-tst-auditmod4a.c): Likewise.
290 [$(subdir) = elf && $(config-cflags-avx) = yes]
291 (CFLAGS-tst-auditmod4b.c): Likewise.
292 [$(subdir) = elf && $(config-cflags-avx) = yes]
293 (CFLAGS-tst-auditmod6b.c): Likewise.
294 [$(subdir) = elf && $(config-cflags-avx) = yes]
295 (CFLAGS-tst-auditmod6c.c): Likewise.
296 [$(subdir) = elf && $(config-cflags-avx) = yes]
297 (CFLAGS-tst-auditmod7b.c): Likewise.
298 * elf/tst-audit3.c: Move to ...
299 * sysdeps/x86_64/tst-audit3.c: ... here.
300 * elf/tst-audit4.c: Move to ...
301 * sysdeps/x86_64/tst-audit4.c: ... here.
302 * elf/tst-audit5.c: Move to ...
303 * sysdeps/x86_64/tst-audit5.c: ... here.
304 * elf/tst-audit6.c: Move to ...
305 * sysdeps/x86_64/tst-audit6.c: ... here.
306 * elf/tst-audit7.c: Move to ...
307 * sysdeps/x86_64/tst-audit7.c: ... here.
308 * elf/tst-auditmod3a.c: Move to ...
309 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
310 * elf/tst-auditmod3b.c: Move to ...
311 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
312 * elf/tst-auditmod4a.c: Move to ...
313 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
314 * elf/tst-auditmod4b.c: Move to ...
315 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
316 * elf/tst-auditmod5a.c: Move to ...
317 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
318 * elf/tst-auditmod5b.c: Move to ...
319 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
320 * elf/tst-auditmod6a.c: Move to ...
321 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
322 * elf/tst-auditmod6b.c: Move to ...
323 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
324 * elf/tst-auditmod6c.c: Move to ...
325 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
326 * elf/tst-auditmod7a.c: Move to ...
327 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
328 * elf/tst-auditmod7b.c: Move to ...
329 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
330
1ef74943
PP
3312013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
332
333 [BZ #15366]
334 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
335 define unconditionally.
336 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
337 define unconditionally.
338 (INT8_C, INT16_C, etc.): Likewise.
339
93fd48c5
MR
3402013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
341
ae9552cf
MR
342 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
343 __ehdr_start with hidden visibility.
344
93fd48c5
MR
345 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
346
418601aa
CD
3472013-04-24 Carlos O'Donell <carlos@redhat.com>
348
349 * math/libm-test.inc (cos_test): Use accurate hex constants.
350 (sincost_test): Likewise.
351
2f38fbfe
JM
3522013-04-24 Joseph Myers <joseph@codesourcery.com>
353
5e221800
JM
354 * math/libm-test.inc (catan_test): Add more tests.
355 (catanh_test): Likewise.
356
77f143fd
JM
357 * math/s_catanf.c (__catanf): Use suffixed floating-point
358 constants.
359 * math/s_catanhf.c (__catanhf): Likewise.
360 * math/s_catanhl.c (__catanhl): Likewise.
361 * math/s_catanl.c (__catanl): Likewise.
362
2f38fbfe
JM
363 [BZ #15394]
364 * math/s_catan.c (__catan): Calculate imaginary part of result
365 with log1p not log unless computing log of number close to 0.
366 * math/s_catanf.c (__catanf): Likewise.
367 * math/s_catanl.c (__catanl): Likewise.
368 * math/s_catanh.c (__catanh): Calculate real part of result with
369 log1p not log unless computing log of number close to 0.
370 * math/s_catanhf.c (__catanhf): Likewise.
371 * math/s_catanhl.c (__catanhl): Likewise.
372 * math/libm-test.inc (catan_test): Add more tests.
373 (catanh_test): Likewise.
374 * sysdeps/i386/fpu/libm-test-ulps: Update.
375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
376
45d69176
SP
3772013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
378
379 * benchtests/Makefile: Mention files in which fast and slow
380 paths of math functions are implemented.
381
87f51853
RM
3822013-04-23 Roland McGrath <roland@hack.frob.com>
383
384 * sysdeps/posix/timespec_get.c: New file.
385
3c026539
AZ
3862013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
387
388 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
389 POWER.
390 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
391 for POWER.
392 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
393 powerpc/power5/fpu folders.
394 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
395 * benchtests/Makefile: Add modf testcase.
396 * benchtests/bench-modf.c: New file: Benchmark test for mo
397
ff491d14
SP
3982013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
399
400 [BZ #14888]
401 * time/Makefile (tests): Add tst-strptime-whitespace.
402 * time/strptime_l.c (get_number): Use ISSPACE.
403 (__strptime_internal): Likewise.
404 * time/tst-strptime-whitespace.c: New test case.
405
7ed3f4e8
AS
4062013-04-23 Andreas Schwab <schwab@linux-m68k.org>
407
408 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
409 member.
410 (_nss_files_init): Set it here.
411
5c95f7b6
HC
4122013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
413
414 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
415 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
416 unsigned.
417
d34c9158
JBG
4182013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
419
420 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
421
2169712d
SP
4222013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
423
424 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
425 size just once.
426
29c5de99
DM
4272013-04-21 David S. Miller <davem@davemloft.net>
428
429 * po/ru.po: Update Russion translation from translation project.
430
ccdad15d
AC
4312013-04-17 Adam Conrad <adconrad@0c3.net>
432
433 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
434 and setfsgid.
435
0f122b8d
CD
4362013-04-17 Carlos O'Donell <carlos@redhat.com>
437
5c5b07da 438 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 439 * configure: Regenerate.
5c5b07da 440 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
441 Add example to error message.
442 * sysdeps/i386/configure: Regenerate.
443
037714dd
SP
4442013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
445
446 * benchtests/Makefile (bench): Add cos, tan, slowcos and
447 slowtan.
448 * benchtests/cos-inputs: New file.
449 * benchtests/slowcos-inputs: New file.
450 * benchtests/slowcos.c: New file.
451 * benchtests/slowtan-inputs: New file.
452 * benchtests/slowtan.c: New file.
453 * benchtests/tan-inputs: New file.
454
e913141d
RM
4552013-04-16 Roland McGrath <roland@hack.frob.com>
456
457 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
458 considered kosher.
459
a2964074
SP
4602013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
461
4856bcd2
SP
462 * benchtests/Makefile: Include cppflags-iterator.mk to add
463 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
464
a2964074
SP
465 * Makefile.in (bench-clean): New target.
466 * benchtests/Makefile (bench-clean): Likewise.
467
9fbf9aca
DH
4682013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
469
470 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
471
207d1e2a
TS
4722013-04-15 Thomas Schwinge <thomas@codesourcery.com>
473
474 * stdio-common/tstdiomisc.c: Fix coding-style violation.
475
306dfba9
AS
4762013-04-15 Andreas Schwab <schwab@suse.de>
477
478 * nscd/grpcache.c (cache_addgr): Properly check for short write.
479 * nscd/initgrcache.c (addinitgroupsX): Likewise.
480 * nscd/pwdcache.c (cache_addpw): Likewise.
481 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
482 more than recsize.
483
206a6699
SP
4842013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
485
486 * benchtests/Makefile (bench): Write all output to
487 bench-out.tmp together.
488
0582f6b3
AS
4892013-04-15 Andreas Schwab <schwab@suse.de>
490
491 * nscd/nscd.c (main): Don't fork again after closing files.
492
acb4325f
SP
4932013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
494
5cb26d0a
SP
495 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
496
acb4325f
SP
497 * benchtests/Rules (bench-deps): Collect dependencies into a
498 single variable. Add Makefile to dependencies.
499 ($(objpfx)bench-%.c): Depend on bench-deps.
500
47792506
RM
5012013-04-12 Roland McGrath <roland@hack.frob.com>
502 Xavier Roche <roche+kml2@exalead.com>
503
504 [BZ #15361]
505 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
506 just that it's a file descriptor.
507 * manual/llio.texi (Synchronizing AIO Operations): Update description
508 for EBADF error from aio_fsync.
509
8fc1bee5
SP
5102013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
511
512 * Rules (bench): Move target definition...
513 * benchtests/Makefile: ... here.
514
aba5e333
CD
5152013-04-11 Carlos O'Donell <carlos@redhat.com>
516
517 * math/libm-test.inc (cos_test): Fix PI/2 test.
518 (sincos_test): Likewise.
519 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
520 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
521
273cdee8
AS
5222013-04-11 Andreas Schwab <schwab@suse.de>
523
6ecec3b6
AS
524 [BZ #13988]
525 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
526 accept exponent character only when digits were seen.
527 * stdio-common/Makefile (tests): Add bug26.
528 * stdio-common/bug26.c: New file.
529
273cdee8
AS
530 [BZ #14293]
531 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
532 non-freeable.
533
8da491f5
SP
5342013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
535
01dc6df9
SP
536 * Makeconfig (rtld-prefix): Define built linker prefix.
537 * Rules (run-bench): Use it.
538 * math/Makefile (run-regen-ulps): Likewise.
539
8da491f5
SP
540 * Rules (bench): Remove eval.
541
abe7f530
SP
5422013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
543 Roland McGrath <roland@hack.frob.com>
544 Ondrej Bilka <neleai@seznam.cz>
545
546 [BZ #15346]
547 * time/getdate.c: Include ctype.h and alloca.h.
548 (__getdate_r): Trim leading and trailing spaces of input.
549 * time/tst-getdate.c (tests): Add tests with leading and
550 trailing spaces.
551
61c23e62
RM
5522013-04-08 Roland McGrath <roland@hack.frob.com>
553
554 [BZ #14280]
555 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
556 when computing value.
557
7208a313
CD
5582013-04-06 Carlos O'Donell <carlos@redhat.com>
559
085b2d41
CD
560 * math/README.libm-test (How can I generate "libm-test-ulps"?):
561 Use testrun.sh to run libm tests.
562
7208a313
CD
563 [BZ #15309]
564 * elf/dl-open.c (dl_open_worker): memset all of seen array.
565
872c0acd
MM
5662013-04-06 Marko Myllynen <myllynen@redhat.com>
567
568 [BZ #15264]
569 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
570
26510bdd
CD
5712013-04-06 Carlos O'Donell <carlos@redhat.com>
572
573 * Makefile.in (regen-ulps): New target.
574 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
575 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
576 [ifneq (no,$(PERL)] (regen-ulps): New target.
577 [ifeq (no,$(PERL)] (regen-ulps): New target.
578 * math/libm-test.inc (ulps_file_name): Define.
579 (output_dir): New variable.
580 (options): Add "output-dir" option.
581 (parse_opt): Handle 'o' case.
582 (main): If output_dir is non-NULL use it as a prefix
583 otherwise use "".
584 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
585
a01f19c8
CD
5862013-04-06 Carlos O'Donell <carlos@redhat.com>
587
588 [BZ #10060, #10062]
589 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
590 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
591 fail configure if __sync_val_compare_and_swap is not inlined.
592 * sysdeps/i386/configure: Regenerate.
593 * configure.in: Build for i686 when configured for i386.
594 * configure: Regenerate.
595 * README: Remove i386 reference.
596
b7a329a5
CD
5972013-04-06 Carlos O'Donell <carlos@redhat.com>
598
599 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
600 * sysdeps/s390/s390-64/sysdep.h: Likewise.
601
bf0f50df
TS
6022013-04-05 Thomas Schwinge <thomas@codesourcery.com>
603
ee091edf
TS
604 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
605 (lmsnanval): New variables.
606 (F): Add conversion tests.
607 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
608 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
609
a8b792d6
TS
610 * stdio-common/tstdiomisc.c (F): Properly collect individual
611 tests' results.
612
a1cbf437
TS
613 [BZ #14686, #15336]
614 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
615 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
616 Instead, use input NaN values or generate a qNaN by arithmetic
617 operation. Also fix bugs to comply with the standard.
618 * math/libm-test.inc (remainder_test): Add more tests.
619
8b43a0c9
TS
620 [BZ #15335, #15342]
621 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
622 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
623 input NaN values or generate a qNaN by arithmetic operation.
624
d91da4ce
TS
625 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
626 unreachable code.
627
bf0f50df
TS
628 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
629 definitions.
630
05e166c8
JM
6312013-04-03 Joseph Myers <joseph@codesourcery.com>
632
633 [BZ #14478]
634 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
635 underflowed result.
636 * math/s_cexpf.c (__cexpf): Likewise.
637 * math/s_cexpl.c (__cexpl): Likewise.
638 * math/libm-test.inc (cexp_test): Add more tests.
639
1cef1b19
AS
6402013-04-03 Andreas Schwab <schwab@suse.de>
641
642 [BZ #15330]
643 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
644 order arrays from heap if bigger than alloca cutoff.
645
74d87055
TS
6462013-04-03 Thomas Schwinge <thomas@codesourcery.com>
647
648 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
649 (SNAN_TESTS_double): Refer to GCC PR56831.
650 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
651 GCC PR56828.
652
d755bba4
SP
6532013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
654
90d5d5bb
SP
655 * Rules (bench): Move bench.out after the run is complete.
656
73e0cd5d
SP
657 * Rules (bench): Echo currently running benchmark.
658
64aabd4b
SP
659 * benchtests/Makefile (bench): Add atan and slowatan.
660 * benchtests/atan-inputs: New file.
661 * benchtests/slowatan-inputs: New file.
662 * benchtests/slowatan.c: New file.
663
c871eccd
SP
664 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
665 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
666 its value.
667
d755bba4
SP
668 [BZ #15305]
669 * sysdeps/unix/sysv/linux/kernel-features.h
670 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
671 __ASSUME_XFS_RESTRICTED_CHOWN.
672 * sysdeps/unix/sysv/linux/pathconf.c
673 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
674 Save and restore errno.
675
52ce4860
JM
6762013-04-02 Joseph Myers <joseph@codesourcery.com>
677
678 [BZ #15327]
679 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
680 arguments using __kernel_casinh.
681 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
682 arguments using __kernel_casinhf.
683 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
684 arguments using __kernel_casinhl.
685 * math/libm-test.inc (cacosh_test): Add more tests.
686 * sysdeps/i386/fpu/libm-test-ulps: Update.
687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
688
81f311c2
SP
6892013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
690
e7906a47
SP
691 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
692 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
693
92e3664b
SP
694 * bench/Makefile (bench): Add sin and slowsin.
695 * benchtests/sin-inputs: New file.
696 * benchtests/slowsin-inputs: New file.
697 * benchtests/slowsin.c: New file.
698
81f311c2
SP
699 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
700 (bench): Add slowexp and slowpow.
701 (exp-ITER): Increase iterations.
702 (pow-ITER): Likewise.
703 * benchtests/exp-inputs: Change input.
704 * benchtests/pow-inputs: Likewise.
705 * benchtests/slowexp-inputs: New file.
706 * benchtests/slowexp.c: New file.
707 * benchtests/slowpow-inputs: New file.
708 * benchtests/slowpow.c: New file.
709
ab0f1aa9
AZ
7102013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
711
712 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
713 instructions.
714 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
715 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
716 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
717 * benchtests/Makefile: Add rint benchtest.
718 * benchtests/rint-inputs: Input for rint benchtest.
719
57267616
TS
7202013-04-02 Thomas Schwinge <thomas@codesourcery.com>
721
722 * Versions.def (libm): Add GLIBC_2.18.
723 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
724 hidden libm prototypes.
725 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
726 * math/Makefile (libm-calls): Add s_issignaling.
727 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
728 __issignalingf, __issignalingl. Adjust all libm.abilist files.
729 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
730 declaration.
731 * math/math.h [__USE_GNU] (issignaling): New macro.
732 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
733 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
734 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
735 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
736 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
737 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
738 * manual/arith.texi (issignaling): New section.
739 * manual/libm-err-tab.pl (@all_functions): Update comment.
740 * math/gen-libm-test.pl (parse_args): Apply special handling for
741 issignaling.
742 * math/libm-test.inc (print_float, issignaling_test): New
743 functions.
744 (check_float_internal): Add issignaling checks.
745 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
746 default definition.
747 * sysdeps/powerpc/math-tests.h: New file.
748 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
749 tests.
750 * math/test-snan.c (TEST_FUNC): Likewise.
751
6142896d
DM
7522013-03-30 David S. Miller <davem@davemloft.net>
753
754 * po/de.po: Update from translation team.
755
ccc8cadf
JM
7562013-03-30 Joseph Myers <joseph@codesourcery.com>
757
758 [BZ #10357]
759 * math/k_casinh.c (__kernel_casinh): Handle arguments with
760 imaginary part less than 1.0 and real part less than 0.5
761 specially.
762 * math/k_casinhf.c (__kernel_casinhf): Likewise.
763 * math/k_casinhl.c (__kernel_casinhl): Likewise.
764 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
765 (cacos_test): Add more tests.
766 (casin_test): Likewise.
767 (casinh_test): Likewise.
768 * sysdeps/i386/fpu/libm-test-ulps: Update.
769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
770
0f6a8d4b
SP
7712013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
772
0d1029de
SP
773 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
774 ONE with its value.
775
c2d94018
SP
776 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
777 (__pow_mp): Replace ONE and MONE with their values.
778 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
779 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
780 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
781 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
782 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
783 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
784
27ec37f1
SP
785 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
786
a64d7e0e
SP
787 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
788 (__pow_mp): Replace ZERO and MZERO with their values.
789 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
790 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
791 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
792 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
793 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
794 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
795 (__sqr): Likewise.
796
d26dd3eb
SP
797 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
798
0f6a8d4b
SP
799 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
800
e57b0c61
RM
8012013-03-28 Roland McGrath <roland@hack.frob.com>
802
803 * include/stdlib.h [!SHARED] (__call_tls_dtors):
804 Declare with __attribute__ ((weak)).
805 * stdlib/exit.c (__libc_atexit) [!SHARED]:
806 Call __call_tls_dtors only if it's not NULL.
807
356b3480
RM
8082013-03-28 Roland McGrath <roland@hack.frob.com>
809
288f7d79
RM
810 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
811 didn't do it already, then set _dl_phdr and _dl_phnum based on the
812 magic __ehdr_start linker symbol if it's defined.
813 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
814 them up here if it was already done.
815
dc0a0263
RM
816 * elf/dl-support.c (_dl_phdr): Make pointer to const.
817 (_dl_aux_init): Use const in cast when setting it.
818 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
819 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
820 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
821
3d3436ae
RM
822 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
823 Declare them here.
824 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
825 * csu/libc-tls.c: Nor here.
826 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
827
356b3480
RM
828 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
829 (__libc_message): Never call vsyslog.
830
b0f1246a
AM
8312013-03-28 Alan Modra <amodra@gmail.com>
832
833 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
834 Define as empty.
835 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
836 Likewise.
837
fbbe2b9a
AZ
8382013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
839
840 [BZ #15214]
841 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
842 underflow.
843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
844
1728ab37
SP
8452013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
846
7a86be6e
SP
847 [BZ #15304]
848 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
849 Don't add gid passed as argument.
850
1728ab37
SP
851 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
852
3a7182a1
JM
8532013-03-27 Joseph Myers <joseph@codesourcery.com>
854
855 [BZ #15307]
856 * math/k_casinh.c (__kernel_casinh): Handle arguments with
857 imaginary part between 1.0 and 1.5 and real part less than 0.5
858 specially.
859 * math/k_casinhf.c (__kernel_casinhf): Likewise.
860 * math/k_casinhl.c (__kernel_casinhl): Likewise.
861 * math/libm-test.inc (cacos_test): Add more tests.
862 (casin_test): Likewise.
863 (casinh_test): Likewise.
864 * sysdeps/i386/fpu/libm-test-ulps: Update.
865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
866
6f2e90e7
SP
8672013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
868
5739f705
SP
869 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
870 constants.
871 (norm): Likewise.
872 (denorm): Likewise.
873 (__dbl_mp): Likewise.
874 (add_magnitudes): Likewise.
875 (sub_magnitudes): Likewise.
876 (__add): Likewise.
877 (__sub): Likewise.
878 (__mul): Likewise.
879 (__sqr): Likewise.
880 (__inv): Likewise.
881 (__dvd): Likewise.
882
e375e83d
SP
883 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
884 commented code.
885 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
886 (__dubcos): Likewise.
887 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
888 (__ieee754_acos): Likewise.
889 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
890 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
891 (__exp1): Likewise.
892 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
893 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
894 (log1): Likewise.
895 (my_log2): Likewise.
896 (checkint): Likewise.
897 * sysdeps/ieee754/dbl-64/e_remainder.c
898 (__ieee754_remainder): Likewise.
899 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
900 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
901 (bsloww): Likewise.
902 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
903
6f2e90e7
SP
904 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
905 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
906 MANTISSA_STORE_T to store computations on mantissa. Use
907 macros for rounding and division.
908 (denorm): Likewise.
909 (__dbl_mp): Likewise.
910 (add_magnitudes): Likewise.
911 (sub_magnitudes): Likewise.
912 (__mul): Likewise.
913 (__sqr): Likewise.
914 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
915 powers of two in terms of TWOPOW macro.
916 (mp_no): Make type of mantissa as MANTISSA_T.
917 [!RADIXI]: Define RADIXI.
918 [!TWO52]: Define TWO52.
919 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
920
fce14d4e
AZ
9212013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
922
923 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
924 llroundl symbol when building for PPC32.
925
9ad027fb
MW
9262013-03-24 Mark H Weaver <mhw@netris.org>
927
928 * manual/arith.texi (Normalization Functions): Fix prototypes for
929 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
930
e42a38dd
AZ
9312013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
932
933 [BZ #13889]
934 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
935 high value to check if expl overflow.
936 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
937 to check for underflow and overflow.
938 * math/libm-test.inc: Add exp test.
939
2e0fb521
DL
9402013-03-21 Dmitry V. Levin <ldv@altlinux.org>
941
942 [BZ #11120]
943 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
944 with NOT_IN_libc.
945
b5784d95
AZ
9462013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
947
948 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
949 symbol.
950
5aa4a1a1
TS
9512013-03-21 Thomas Schwinge <thomas@codesourcery.com>
952
bdef0be7
TS
953 * math/gen-libm-test.pl (parse_args, special_functions): Properly
954 wrap blocks consisting of several statements.
955
5aa4a1a1
TS
956 * sysdeps/generic/math-tests.h: New file.
957 * sysdeps/i386/fpu/math-tests.h: Likewise.
958 * math/test-snan.c: Include it.
959 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
960
98c48fe5
JM
9612013-03-21 Joseph Myers <joseph@codesourcery.com>
962
963 [BZ #15285]
964 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
965 (__ieee754_j0l): Do not improve calculations using cos of twice
966 input for inputs above LDBL_MAX / 2.0L.
967 (__ieee754_y0l): Likewise.
968 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
969 (__ieee754_j1l): Do not improve calculations using cos of twice
970 input for inputs above LDBL_MAX / 2.0L.
971 (__ieee754_y1l): Likewise.
972 * math/libm-test.inc (j0_test): Add another test.
973 (j1_test): Likewise.
974 (y0_test): Likewise.
975 (y1_test): Likewise.
976 * sysdeps/i386/fpu/libm-test-ulps: Update.
977
3775a8bc
SP
9782013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
979
980 * Rules ($(objpfx)bench-%.c): Include code from a C source
981 file.
982
0a1b2ae6
JM
9832013-03-21 Joseph Myers <joseph@codesourcery.com>
984
985 [BZ #15287]
986 * math/k_casinh.c (__kernel_casinh): Handle arguments with
987 imaginary part 1.0 and real part less than 0.5 specially.
988 * math/k_casinhf.c (__kernel_casinhf): Likewise.
989 * math/k_casinhl.c (__kernel_casinhl): Likewise.
990 * math/libm-test.inc (cacos_test): Add more tests.
991 (casin_test): Likewise.
992 (casinh_test): Likewise.
993 * sysdeps/i386/fpu/libm-test-ulps: Update.
994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
995
b33d4ce4
SP
9962013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
997
998 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
999 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1000
bef0b507
JM
10012013-03-20 Joseph Myers <joseph@codesourcery.com>
1002
1003 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1004 * config.make.in (config-cflags-sse4): Remove variable.
1005 (config-cflags-avx): Likewise.
1006 (config-cflags-sse2avx): Likewise.
1007 (config-cflags-novzeroupper): Likewise.
1008 (config-asflags-i686): Likewise.
1009 (have-mfma4): Likewise.
1010 (have-as-vis3): Likewise.
1011 (MIG): Likewise.
1012 * configure.in (MIG): Do not AC_SUBST.
1013 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1014 (libc_cv_cc_sse4): Do not AC_SUBST.
1015 (libc_cv_cc_avx): Likewise.
1016 (libc_cv_cc_sse2avx): Likewise.
1017 (libc_cv_cc_novzeroupper): Likewise.
1018 (libc_cv_cc_fma4): Likewise.
1019 (libc_cv_as_i686): Likewise.
1020 (libc_cv_sparc_as_vis3): Likewise.
1021 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1022 LIBC_CONFIG_VAR.
1023 (config-asflags-i686): Likewise.
1024 (config-cflags-avx): Likewise.
1025 (config-cflags-sse2avx): Likewise.
1026 (have-mfma4): Likewise.
1027 (config-cflags-novzeroupper): Likewise.
1028 * sysdeps/mach/configure.in (MIG): Likewise.
1029 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1030 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1031 LIBC_CONFIG_VAR.
1032 (config-cflags-avx): Likewise.
1033 (config-cflags-sse2avx): Likewise.
1034 (have-mfma4): Likewise.
1035 (config-cflags-novzeroupper): Likewise.
1036 * configure: Regenerated.
1037 * sysdeps/i386/configure: Likewise.
1038 * sysdeps/mach/configure: Likewise.
1039 * sysdeps/sparc/configure: Likewise.
1040 * sysdeps/x86_64/configure: Likewise.
1041
912cc4b3
RM
10422013-03-20 Roland McGrath <roland@hack.frob.com>
1043
1044 [BZ #14812]
1045 * locale/programs/localedef.c (options): Put N_ translation marker
1046 on argument names, not just descriptions.
1047
04eed2b0
MS
10482013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1049
1050 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1051
a065ceff
OB
10522013-03-20 Ondřej Bílka <neleai@seznam.cz>
1053
9bb2a810 1054 [BZ #14176]
a065ceff
OB
1055 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1056
a600e5ce
RM
10572013-03-19 Roland McGrath <roland@hack.frob.com>
1058
1059 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1060 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1061 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1062 [!BEFORE_ABORT] (before_abort): New function.
1063 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1064 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1065 (writev_for_fatal): New function.
1066 (WRITEV_FOR_FATAL): New macro; call that.
1067 (backtrace_and_maps): New function.
1068 (BEFORE_ABORT): New macro; call that.
1069 (struct str_list): Type removed.
1070 (__libc_message, __libc_fatal): Functions removed.
1071 Include <sysdeps/posix/libc_fatal.c> instead.
1072
6b18bea6
JM
10732013-03-19 Joseph Myers <joseph@codesourcery.com>
1074
1075 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1076 constants.
1077 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1078 double constants.
1079
aaa8cb4b
AS
10802013-03-19 Andreas Schwab <schwab@suse.de>
1081
44673770
AS
1082 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1083 * sysdeps/gnu/configure: Regenerate.
1084
aaa8cb4b
AS
1085 * configure.in: Substitute libc_cv_rtlddir.
1086 * configure: Regenerate.
1087 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1088 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1089 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1090 * elf/Makefile (install-others, CFLAGS-interp.c)
1091 (ldso_install, common-ldd-rewrite): Likewise.
1092 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1093 $(inst_slibdir)/$(rtld-installed-name).
1094 * scripts/rellns-sh: Add -p option.
1095 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1096 for source.
1097
d3cfc668
SP
10982013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1099
1100 * manual/nptl.texi: Renamed to ...
1101 * manual/threads.texi: ... this.
1102 * manual/Makefile (chapters): Update.
1103
0e2b9cdd
RM
11042013-03-18 Roland McGrath <roland@hack.frob.com>
1105
1106 [BZ #14812]
1107 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1108 on argument names, not just descriptions.
0e2b9cdd
RM
1109 * malloc/memusagestat.c (options): Likewise.
1110 * nss/getent.c (options): Likewise.
63270c24
RM
1111
11122013-03-18 Benno Schulenberg <bensberg@justemail.net>
1113
1114 [BZ #14812]
1115 * iconv/iconv_prog.c (options): Put N_ translation marker
1116 on argument names, not just descriptions.
1117 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1118
b2e1393c
OB
11192013-03-18 Ondrej Bilka <neleai@seznam.cz>
1120
1121 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1122 implementation which is faster on all x86_64 architectures.
1123 Tested on AMD, Intel Nehalem, SNB, IVB.
1124 * sysdeps/x86_64/strnlen.S: Likewise.
1125
1126 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1127 Remove all multiarch strlen and strnlen versions.
1128 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1129 Remove strlen and strnlen related parts.
1130
1131 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1132 Inline strlen part.
1133 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1134
1135 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1136 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1137 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1138 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1139 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1140 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1141
ec4ff04d
CD
11422013-03-17 Carlos O'Donell <carlos@redhat.com>
1143
1144 * manual/memory.texi (Malloc Tunable Parameters):
1145 Sort parameters alphabetically. Add comments for missing entries.
1146
cd18e90a
DM
11472013-03-17 David S. Miller <davem@davemloft.net>
1148
1149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1150
2a185d32
JM
11512013-03-16 Joseph Myers <joseph@codesourcery.com>
1152
d2f9799e
JM
1153 [BZ #15283]
1154 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1155 for arguments at most half maximum finite value.
1156 * math/libm-test.inc (j0_test): Add more tests.
1157 (j1_test): Likewise.
1158 (y0_test): Likewise.
1159 (y1_test): Likewise.
1160 * sysdeps/i386/fpu/libm-test-ulps: Update.
1161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1162
2a185d32
JM
1163 [BZ #14155]
1164 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1165 1 / x and functions P and Q for arguments above 0x1p256L.
1166 (__ieee754_y0l): Likewise.
1167 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1168 (__ieee754_y1l): Likewise.
1169 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1170 (j1_test): Likewise.
1171 (y0_test): Likewise.
1172 (y1_test): Likewise.
1173
6cbec759
TS
11742013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1175
1176 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1177 variable.
1178
bc16e260
RM
11792013-03-15 Roland McGrath <roland@hack.frob.com>
1180
aefc9b8c
RM
1181 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1182 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1183 zero since it's initialized to EXEC_PAGESIZE.
1184
bc16e260
RM
1185 * sysdeps/unix/sysv/linux/ldsodefs.h
1186 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1187 * sysdeps/generic/ldsodefs.h: ... here.
1188
a57da955
TS
11892013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1190
af00a34d
TS
1191 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1192
495ded2c
TS
1193 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1194 math/test-snan.c.
1195 * math/test-snan.c: Renamed from
1196 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1197 * math/Makefile (tests): Add test-snan.
1198 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1199 test-powerpc-snan.
1200
777b0332
TS
1201 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1202 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1203 functions.
1204 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1205 __builtin_nan family of functions.
1206 * math/libm-test.inc (initialize): Initialize qnan_value with
1207 __builtin_nan family of functions.
1208 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1209 Remove variables.
1210 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1211 Remove functions.
1212 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1213 storage class. Initialize qNaN_var and sNaN_var with
1214 __builtin_nan and __builtin_nans families of functions,
1215 respectively.
1216
64d063b8
TS
1217 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1218 (sqrt_test): Remove duplicate test with qNaN input.
1219 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1220 (round_test, signbit_test, significand_test): Note missing +/-Inf
1221 as well as qNaN tests.
1222
67e971f1
TS
1223 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1224 qNaN_var. Fix a few strings, too.
1225 * math/libm-test.inc (nan_value): Rename to qnan_value.
1226 * math/gen-libm-test.pl (%beautify): Adjust to that.
1227 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1228 * math/test-misc.c (main): Likewise.
1229 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1230 to __qnan_bytes, and __qnan_union, respectively.
1231 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1232 Likewise.
1233 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1234 and lqnanval, respectively.
1235 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1236 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1237 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1238 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1239
64487e12
TS
1240 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1241 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1242 doubles.
1243
e015e27b
TS
1244 * math/test-misc.c (main): Fix copy'n'pastos.
1245 * misc/tst-efgcvt.c (special): Likewise.
1246
a57da955
TS
1247 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1248 Remove declarations.
1249
1e380345
SP
12502013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1251
1252 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1253 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1254 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1255 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1256
ef26eece
AZ
12572013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1258
1259 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1260 macro to return vdso values correctly in IFUNC implementations.
1261 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1262 Optimization by using IFUNC.
1263
8cfdb7e0
SP
12642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1265 Richard Henderson <rth@redhat.com>
1266 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1267
1268 * Makefile.in (bench): New target.
1269 * NEWS: Mention the benchmark framework.
1270 * Rules (bench): Likewise.
1271 (binaries-bench): Generate binaries for functions to
1272 benchmark.
1273 * benchtests/Makefile: New makefile for benchmark tests.
1274 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1275 programs.
1276 * benchtests/exp-inputs: New input file for EXP function.
1277 * benchtests/pow-inputs: New input file for POW function.
1278 * scripts/bench.pl: New script to generate source files for
1279 benchmark programs.
1280
bcda9880
SP
12812013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1282
d22ca8cd
SP
1283 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1284 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1285 computations on mantissa. Use macros for rounding and
1286 division.
1287 (denorm): Likewise.
1288 (__dbl_mp): Likewise.
1289 (add_magnitudes): Likewise.
1290 (sub_magnitudes): Likewise.
1291 (__mul): Likewise.
1292 (__sqr): Likewise.
1293 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1294 powers of two in terms of TWOPOW macro.
1295 (mp_no): Make type of mantissa as MANTISSA_T.
1296 [!RADIXI]: Define RADIXI.
1297 [!TWO52]: Define TWO52.
1298 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1299
bcda9880
SP
1300 * manual/nptl.texi (cindex): Modify threads to pthreads.
1301
06d5adfb
JM
13022013-03-15 Joseph Myers <joseph@codesourcery.com>
1303
1304 * sysdeps/x86_64/preconfigure: Regenerated.
1305
41c7328e
JM
13062013-03-14 Joseph Myers <joseph@codesourcery.com>
1307
1308 [BZ #14155]
1309 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1310 0x1p28 and above.
1311 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1312 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1313 0x1p28 and above.
1314 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1315 * math/libm-test.inc (j0_test): Do not allow one spurious
1316 underflow exception.
1317 (y1_test): Likewise.
1318
e25cfa60
SP
13192013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1320
0409959c
SP
1321 * manual/Makefile (chapters): Add nptl.
1322 * manual/debug.texi (Debugging Support): Add link to Threads
1323 chapter.
1324 * manual/nptl.texi: New file.
1325
e25cfa60
SP
1326 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1327
58a1335e
PB
13282013-03-14 Petr Baudis <pasky@ucw.cz>
1329
1330 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1331 for non-NULL pointer before the memory validity test. Pointed
1332 out by Holger Brunck <holger.brunck@keymile.com>.
1333
9dc7c64f
AS
13342013-03-13 Andreas Schwab <schwab@suse.de>
1335
1336 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1337 instead of .os.
1338
54206aa6
JM
13392013-03-13 Joseph Myers <joseph@codesourcery.com>
1340
1341 * timezone/zic.c: Update from tzcode 2013b.
1342
e98cdb38
CD
13432013-03-12 Carlos O'Donell <carlos@redhat.com>
1344
1345 * manual/install.texi (Configuring and compiling):
1346 Mention i686 and i586.
1347 * INSTALL: Regenerate.
1348
9967e003
RM
13492013-03-12 Roland McGrath <roland@hack.frob.com>
1350
1351 * sysdeps/init_array/elf-init.c: New file.
1352 * csu/elf-init.c
1353 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1354 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1355
1356 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1357 __gmon_start__ as global, but as static with a .preinit_array pointer.
1358 * sysdeps/init_array/gmon-start.c: New file. Use that.
1359 * sysdeps/init_array/crti.S: New file, empty except for comments.
1360 * sysdeps/init_array/crtn.S: Likewise.
1361
e6b5a293 13622013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1363
1364 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1365 definining bcopy.
80f844c9
OB
1366 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1367 Remove Prefer_SSE_for_memop.
1368 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1369 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1370 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1372 memset-x86-64.
80f844c9 1373 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1374 Remove bzero, memset ifunc support.
80f844c9
OB
1375 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1376 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1377 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1378 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1379
fb6b0fcb
AS
13802013-03-11 Andreas Schwab <schwab@suse.de>
1381
1382 [BZ #15234]
1383 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1384 by SHLIB_COMPAT.
1385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1386 (GLIBC_2.16): Remove pthread_atfork.
1387
3e6bd4b1
PP
13882013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1389
1390 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1391 (ptestcases.h): Likewise.
1392
222d7f00
RM
13932013-03-08 Roland McGrath <roland@hack.frob.com>
1394
1395 * Makeconfig ($(common-objpfx)config.status): Depend on
1396 sysdeps/*/preconfigure{,.in} too.
1397
1ba4f030
JM
13982013-03-08 Joseph Myers <joseph@codesourcery.com>
1399
a222d91a
JM
1400 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1401 (__free_hook): Use void * instead of __malloc_ptr_t.
1402 (__malloc_hook): Likewise.
1403 (__realloc_hook): Likewise.
1404 (__memalign_hook): Likewise.
1405 (__after_morecore_hook): Likewise.
1406 * malloc/arena.c (save_malloc_hook): Likewise.
1407 (save_free_hook): Likewise.
1408 * malloc/hooks.c (malloc_hook_ini): Likewise.
1409 (realloc_hook_ini): Likewise.
1410 (memalign_hook_ini): Likewise.
1411 * malloc/malloc.c (malloc_hook_ini): Likewise.
1412 (realloc_hook_ini): Likewise.
1413 (memalign_hook_ini): Likewise.
1414 (__free_hook): Likewise.
1415 (__malloc_hook): Likewise.
1416 (__realloc_hook): Likewise.
1417 (__memalign_hook): Likewise.
1418 (__libc_malloc): Likewise.
1419 (__libc_free): Likewise.
1420 (__libc_realloc): Likewise.
1421 (__libc_memalign): Likewise.
1422 (__libc_valloc): Likewise.
1423 (__libc_pvalloc): Likewise.
1424 (__libc_calloc): Likewise.
1425 (__posix_memalign): Likewise.
1426 * malloc/morecore.c (__sbrk): Likewise.
1427 (__default_morecore): Likewise.
1428
5cc45e10
JM
1429 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1430
dd54b864
JM
1431 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1432 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1433 __malloc_ptrdiff_t.
1434
1ba4f030
JM
1435 * malloc/malloc.h (__malloc_size_t): Remove macro.
1436 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1437 __malloc_size_t.
1438 (old_memalign_hook): Likewise.
1439 (old_realloc_hook): Likewise.
1440 (struct hdr): Likewise.
1441 (flood): Likewise.
1442 (mallochook): Likewise.
1443 (memalignhook): Likewise.
1444 (reallochook): Likewise.
1445 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1446 (tr_old_realloc_hook): Likewise.
1447 (tr_old_memalign_hook): Likewise.
1448 (tr_mallochook): Likewise.
1449 (tr_reallochook): Likewise.
1450 (tr_memalignhook): Likewise.
1451
edf66e57
AZ
14522013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1453
1454 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1455 default_ldbl_pack and using as default implementation.
1456 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1457 implementation.
1458 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1459 redundant definition.
1460 (ldbl_insert_mantissa): Likewise.
1461 (ldbl_canonicalize): Likewise.
1462 (ldbl_nearbyint): Likewise.
1463 (ldbl_pack): Rename to ldbl_pack_ppc.
1464 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1465 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1466 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1467
6d9145d8
SP
14682013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1469
1470 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1471 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1472 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1473 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1475 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1476 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1477 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1478
4dd4e157
AJ
14792013-03-07 Andreas Jaeger <aj@suse.de>
1480
1481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1482 bits/mman-linux.h.
1483
adbb8027
SP
14842013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1485
ce544b5b
SP
1486 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1487 Include mpa.h and declare __MPEXP.
1488 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1489 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1490 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1491 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1492 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1493 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1494 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1495
4cc149fd
SP
1496 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1497 (__slowpow): Use long double EXPL and LOGL functions to
1498 compute POW.
1499 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1500 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1501 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1502 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1503 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1504 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1505
e6ebd4a7
SP
1506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1507 intermediate variable to calculate exponent.
1508 (__sqr): Likewise.
1509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1510 Likewise.
1511 (__sqr): Likewise.
1512
82a9811d
SP
1513 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1514 [!NO__SQR]: Define __sqr.
1515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1516 and NO__SQR. Remove all code except __mul and __sqr. Include
1517 sysdeps/ieee754/dbl-64/mpa.c.
1518 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1519
adbb8027
SP
1520 [BZ #12723]
1521 * posix/Makefile (tests): Add tst-pathconf.
1522 * posix/tst-pathconf.c: New test case.
1523 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1524 _PC_PIPE_BUF.
1525 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1526
39120df9
PF
15272013-03-06 Patsy Franklin <pfrankli@redhat.com>
1528
1529 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1530
67525cb8
AJ
15312013-03-06 Andreas Jaeger <aj@suse.de>
1532
664a9ce4
AJ
1533 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1534 definition via __MAP_ANONYMOUS.
1535
8e39047d
AJ
1536 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1537 it's not part of Linux headers.
1538
67525cb8
AJ
1539 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1540 (MAP_HUGE_MASK): Define.
1541
1542 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1543 Define.
1544 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1545 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1546 Define.
1547 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1548 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1549 Define.
1550 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1551 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1552 Define.
1553 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1554
1555 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1556 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1557 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1558 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1559 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1560 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1561
1562 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1563 Handle f2fs.
1564
1565 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1566 Handle f2fs and efivarfs.
1567
1568 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1569 f2fs.
1570
1571 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1572 (EFIVARFS_MAGIC): Add.
1573 (F2FS_LINK_MAX): Add.
1574
e1b42695
PP
15752013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1576
1577 * stdio-common/vfprintf.c: Replace __builtin_expect with
1578 __glibc_unlikely.
1579
2d67d91a
JM
15802013-03-06 Joseph Myers <joseph@codesourcery.com>
1581
1582 [BZ #13550]
1583 * sysdeps/generic/bp-sym.h: Remove file.
1584 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1585 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1586 <bp-sym.h> and <bp-asm.h>.
1587 (__longjmp): Don't use BP_SYM.
1588 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1589 and <bp-asm.h>.
1590 (memcpy): Don't use BP_SYM.
1591 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1592 <bp-sym.h> and <bp-asm.h>.
1593 (memcpy): Don't use BP_SYM.
1594 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1595 <bp-asm.h>.
1596 (memcpy): Don't use BP_SYM.
1597 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1598 <bp-asm.h>.
1599 (memset): Don't use BP_SYM.
1600 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1601 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1602 (__bzero): Don't use BP_SYM.
1603 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1604 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1605 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1606 <bp-sym.h> and <bp-asm.h>.
1607 (memcmp): Don't use BP_SYM. Remove comment about bounded
1608 pointers.
1609 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1610 <bp-sym.h> and <bp-asm.h>.
1611 (memcpy): Don't use BP_SYM.
1612 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1613 <bp-sym.h> and <bp-asm.h>.
1614 (memset): Don't use BP_SYM.
1615 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1616 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1617 (__bzero): Don't use BP_SYM.
1618 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1619 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1620 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1621 <bp-sym.h> and <bp-asm.h>.
1622 (strncmp): Don't use BP_SYM. Remove comment about bounded
1623 pointers.
1624 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1625 <bp-sym.h> and <bp-asm.h>.
1626 (memcpy): Don't use BP_SYM.
1627 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1628 <bp-sym.h> and <bp-asm.h>.
1629 (memset): Don't use BP_SYM.
1630 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1631 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1632 (__bzero): Don't use BP_SYM.
1633 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1634 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1635 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1636 <bp-sym.h> and <bp-asm.h>.
1637 (__memchr): Don't use BP_SYM.
1638 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1639 <bp-sym.h> and <bp-asm.h>.
1640 (memcmp): Don't use BP_SYM. Remove comment about bounded
1641 pointers.
1642 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1643 <bp-sym.h> and <bp-asm.h>.
1644 (memcpy): Don't use BP_SYM.
1645 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1646 <bp-sym.h> and <bp-asm.h>.
1647 (__mempcpy): Don't use BP_SYM.
1648 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1649 <bp-sym.h> and <bp-asm.h>.
1650 (__memrchr): Don't use BP_SYM.
1651 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1652 <bp-sym.h> and <bp-asm.h>.
1653 (memset): Don't use BP_SYM.
1654 (__bzero): Likewise.
1655 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1656 <bp-sym.h> and <bp-asm.h>.
1657 (__rawmemchr): Don't use BP_SYM.
1658 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1659 <bp-sym.h> and <bp-asm.h>.
1660 (__STRCMP): Don't use BP_SYM.
1661 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1662 <bp-sym.h> and <bp-asm.h>.
1663 (strchr): Don't use BP_SYM.
1664 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1665 <bp-sym.h> and <bp-asm.h>.
1666 (__strchrnul): Don't use BP_SYM.
1667 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1668 <bp-sym.h> and <bp-asm.h>.
1669 (strlen): Don't use BP_SYM.
1670 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1671 <bp-sym.h> and <bp-asm.h>.
1672 (strncmp): Don't use BP_SYM. Remove comment about bounded
1673 pointers.
1674 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1675 <bp-sym.h> and <bp-asm.h>.
1676 (__strnlen): Don't use BP_SYM.
1677 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1678 <bp-sym.h> and <bp-asm.h>.
1679 (__GI__setjmp): Don't use BP_SYM.
1680 (_setjmp): Likewise.
1681 (__sigsetjmp): Likewise.
1682 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1683 (L(start_addresses)): Don't use BP_SYM.
1684 (_start): Likewise.
1685 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1686 <bp-asm.h>.
1687 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1688 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1689 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1690 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1691 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1692 <bp-asm.h>.
1693 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1694 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1695 about bounded pointers.
1696 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1697 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1698 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1699 <bp-asm.h>.
1700 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1701 about bounded pointers. Remove GKM FIXME comments.
1702 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1703 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1704 <bp-asm.h>.
1705 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1706 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1707 Remove GKM FIXME comments.
1708 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1709 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1710 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1711 <bp-asm.h>.
1712 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1713 about bounded pointers. Remove GKM FIXME comment.
1714 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1715 and <bp-asm.h>.
1716 (strncmp): Don't use BP_SYM. Remove comment about bounded
1717 pointers.
1718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1719 <bp-sym.h> and <bp-asm.h>.
1720 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1722 <bp-sym.h> and <bp-asm.h>.
1723 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1724 comment.
1725
cdcf361f
PP
17262013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1727
1728 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1729 call free(NULL).
1730
3c4a2b15
DM
17312013-03-05 David S. Miller <davem@davemloft.net>
1732
1733 * po/es.po: Update from translation team.
1734
cdcf361f 17352013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1736
1737 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1738 <bits/mman-linux.h>.
1739 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1740 is fine.
1741 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1742 <bits/mman-linux.h> to end of file.
1743 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1744 is fine.
1745 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1746 <bits/mman-linux.h> to end of file.
1747 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1748 is fine.
1749 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1750 <bits/mman-linux.h> to end of file.
1751
1752 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1753 (MCL_CURRENT, MCL_FUTURE): Define here.
1754
5f67c04f
AK
17552013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1756
8a4473cc 1757 [BZ #15232]
5f67c04f
AK
1758 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1759 attribute_hidden.
1760 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1761
c3e94a95
AK
17622013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1763
1764 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1765 fourth parameter needed for rt_sigprocmask syscall.
1766 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1767 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1768 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1769 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1770 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1771 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1772
cfb6382a
JM
17732013-03-04 Joseph Myers <joseph@codesourcery.com>
1774
1775 [BZ #13550]
1776 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1777 comment about bounded pointers.
1778 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1779 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1780
539d8e01
AJ
17812013-03-04 Andreas Jaeger <aj@suse.de>
1782
1783 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1784 common definitions.
1785
1786 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1787 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1788 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1789 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1790 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1791 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1792
2e167a70 17932013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1794
1795 [BZ #15055]
1796 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1797 __ieee754_sqrl instead of __sqrl.
1798
68508633
JM
17992013-03-01 Joseph Myers <joseph@codesourcery.com>
1800
1801 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1802 * sysdeps/powerpc/fpu_control.h: ... here.
1803 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1804 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1805 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1806 * sysdeps/powerpc/bits/mathinline.h: ... here.
1807
7775448e
RM
18082013-03-01 Roland McGrath <roland@hack.frob.com>
1809
1810 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1811 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1812 to just [NEED_DL_SYSINFO_DSO].
1813 * elf/dl-support.c: Likewise.
1814 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1815 * elf/rtld.c (dl_main): Likewise.
1816 * elf/setup-vdso.h (setup_vdso): Likewise.
1817 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1818 * sysdeps/unix/sysv/linux/dl-sysdep.c
1819 (_dl_discover_osversion): Likewise.
1820
4e9b5995
CD
18212013-03-01 Carlos O'Donell <carlos@redhat.com>
1822
1823 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1824 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1825
e23872c8
SP
18262013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1827
e5c74c63
SP
1828 * NEWS: Mention libm performance improvements and non-x86 PI
1829 futex support.
1830
e23872c8
SP
1831 * csu/libc-start.c (__pthread_initialize_minimal): Change
1832 function arguments.
1833 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1834
b5510883
JM
18352013-02-28 Joseph Myers <joseph@codesourcery.com>
1836
1837 [BZ #13550]
1838 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1839 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1840 <bp-sym.h> and <bp-asm.h>.
1841 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1842 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1843 and <bp-asm.h>.
1844 (memcpy): Don't use BP_SYM.
1845 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1846 <bp-asm.h>.
1847 (__mpn_add_n): Don't use BP_SYM.
1848 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1849 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1850 and <bp-asm.h>.
1851 (__mpn_addmul_1): Don't use BP_SYM.
1852 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1853 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1854 <bp-sym.h>.
1855 (_setjmp): Don't use BP_SYM.
1856 (__novmx_setjmp): Likewise.
1857 (__GI__setjmp): Likewise.
1858 (__vmx_setjmp): Likewise.
1859 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1860 <bp-sym.h>.
1861 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1862 (__bzero): Don't use BP_SYM.
1863 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1864 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1865 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1866 <bp-sym.h> and <bp-asm.h>.
1867 (memcpy): Don't use BP_SYM.
1868 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1869 <bp-sym.h> and <bp-asm.h>.
1870 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1871 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1872 <bp-sym.h> and <bp-asm.h>.
1873 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1874 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1875 <bp-asm.h>.
1876 (__mpn_lshift): Don't use BP_SYM.
1877 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1878 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1879 <bp-asm.h>.
1880 (memset): Don't use BP_SYM.
1881 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1882 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1883 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1884 <bp-asm.h>.
1885 (__mpn_mul_1): Don't use BP_SYM.
1886 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1887 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1888 <bp-sym.h> and <bp-asm.h>.
1889 (memcmp): Don't use BP_SYM.
1890 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1891 <bp-sym.h> and <bp-asm.h>.
1892 (memcpy): Don't use BP_SYM.
1893 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1894 <bp-sym.h> and <bp-asm.h>.
1895 (memset): Don't use BP_SYM.
1896 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1897 <bp-sym.h> and <bp-asm.h>.
1898 (strncmp): Don't use BP_SYM.
1899 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1900 <bp-sym.h> and <bp-asm.h>.
1901 (memcpy): Don't use BP_SYM.
1902 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1903 <bp-sym.h> and <bp-asm.h>.
1904 (memset): Don't use BP_SYM.
1905 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1906 <bp-sym.h> and <bp-asm.h>.
1907 (__memchr): Don't use BP_SYM.
1908 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1909 <bp-sym.h> and <bp-asm.h>.
1910 (memcmp): Don't use BP_SYM.
1911 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1912 <bp-sym.h> and <bp-asm.h>.
1913 (memcpy): Don't use BP_SYM.
1914 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1915 <bp-sym.h> and <bp-asm.h>.
1916 (__mempcpy): Don't use BP_SYM.
1917 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1918 <bp-sym.h> and <bp-asm.h>.
1919 (__memrchr): Don't use BP_SYM.
1920 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1921 <bp-sym.h> and <bp-asm.h>.
1922 (memset): Don't use BP_SYM.
1923 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1924 <bp-sym.h> and <bp-asm.h>.
1925 (__rawmemchr): Don't use BP_SYM.
1926 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1927 <bp-sym.h> and <bp-asm.h>.
1928 (__STRCMP): Don't use BP_SYM.
1929 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1930 <bp-sym.h> and <bp-asm.h>.
1931 (strchr): Don't use BP_SYM.
1932 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1933 <bp-sym.h> and <bp-asm.h>.
1934 (__strchrnul): Don't use BP_SYM.
1935 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1936 <bp-sym.h> and <bp-asm.h>.
1937 (strlen): Don't use BP_SYM.
1938 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1939 <bp-sym.h> and <bp-asm.h>.
1940 (strncmp): Don't use BP_SYM.
1941 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1942 <bp-sym.h> and <bp-asm.h>.
1943 (__strnlen): Don't use BP_SYM.
1944 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1945 <bp-asm.h>.
1946 (__mpn_rshift): Don't use BP_SYM.
1947 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1948 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1949 <bp-sym.h> and <bp-asm.h>.
1950 (__sigsetjmp): Don't use BP_SYM.
1951 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1952 (L(start_addresses)): Don't use BP_SYM.
1953 (_start): Likewise.
1954 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1955 <bp-asm.h>.
1956 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1957 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1958 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1959 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1960 <bp-asm.h>.
1961 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1962 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1963 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1964 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1965 <bp-asm.h>.
1966 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1967 comments.
1968 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1969 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1970 <bp-asm.h>.
1971 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1972 FIXME comments.
1973 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1974 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1975 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1976 <bp-asm.h>.
1977 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1978 comment.
1979 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1980 and <bp-asm.h>.
1981 (strncmp): Don't use BP_SYM,
1982 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1983 <bp-asm.h>.
1984 (__mpn_sub_n): Don't use BP_SYM.
1985 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1986 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1987 and <bp-asm.h>.
1988 (__mpn_submul_1): Don't use BP_SYM.
1989 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1991 <bp-sym.h> and <bp-asm.h>.
1992 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1994 <bp-sym.h> and <bp-asm.h>.
1995 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1996 comment.
1997
8d19fe64
SP
19982013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1999
2000 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2001 Use ZK to minimize writes to Z.
2002 (sub_magnitudes): Simplify code a bit.
2003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2004 Use ZK to minimize writes to Z.
2005 (sub_magnitudes): Simplify code a bit.
2006
85bd816a
RM
20072013-02-27 Roland McGrath <roland@hack.frob.com>
2008
2009 * csu/gmon-start.c: Add special exception to license text.
2010
b5977bf2
RH
20112013-02-27 Richard Henderson <rth@redhat.com>
2012
2013 * scripts/config.guess: Update from config.git.
2014 * scripts/config.sub: Likewise.
2015
11d6e2f2
SP
20162013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2017
09c14ed2
SP
2018 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2019
a688864e
SP
2020 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2021
6295157a
SP
2022 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2023
b8de2202
SP
2024 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2025
11d6e2f2
SP
2026 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2027
7e80ddb8
RM
20282013-02-26 Roland McGrath <roland@hack.frob.com>
2029
2030 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2031 [$(build-shared = yes].
7e80ddb8 2032
7da6d9ed
SP
20332013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2034
45f05884
SP
2035 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2036 (__mul): Reduce iterations for calculating mantissa.
2037
2236d359
SP
2038 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2039 MPTWO.
2040 (__mpranred): Likewise.
2041
7da6d9ed
SP
2042 [BZ #15160]
2043 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2044 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2045
b7688c42
PE
20462013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2047
2048 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2049 Define __attribute__.
2050
53a5c423
SP
20512013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2052
2053 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2054 unused.
2055 * posix/regex_internal.h (__attribute): Remove.
2056 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2057 (re_string_context_at): Likewise.
2058 (bitset_not): Use __attribute__ and mark function as possibly
2059 unused.
2060 (bitset_merge): Likewise.
2061 (bitset_mask): Likewise.
2062 (re_string_char_size_at): Likewise.
2063 (re_string_wchar_at): Likewise.
2064 (re_string_elem_size_at): Likewise.
2065
60f5a8b5
SP
20662013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2067
2a983a2e
SP
2068 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2069 code.
2070 (cc32): Likewise.
2071
e69804d1
SP
2072 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2073 (__acr): Likewise.
2074 (__cpy): Likewise.
2075 (norm): Likewise.
2076 (denorm): Likewise.
2077 (__dbl_mp): Likewise.
2078 (add_magnitudes): Likewise.
2079 (sub_magnitudes): Likewise.
2080 (__mul): Likewise.
2081 (__inv): Likewise.
2082
2f22a1e8
SP
2083 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2084 style.
2085
8930ddc7
SP
2086 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2087 style.
2088
dc60cb11
SP
2089 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2090 code.
2091
60f5a8b5
SP
2092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2093 up changes with default code.
2094 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2095 Likewise.
2096
b4d1fd33
AM
20972013-02-24 Allan McRae <allan@archlinux.org>
2098
faf6f8bc
AM
2099 * manual/socket.texi (The Internet Namespace): Order menu items
2100 to match that in the file.
2101
b4d1fd33
AM
2102 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2103 node listing of the info page menu.
2104
2366713d
JM
21052013-02-21 Joseph Myers <joseph@codesourcery.com>
2106
2107 [BZ #13550]
2108 * sysdeps/i386/bp-asm.h: Remove file.
2109 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2110 (PARMS): Do not use macros from bp-asm.h.
2111 (S1): Likewise.
2112 (S2): Likewise.
2113 (SIZE): Likewise.
2114 (__mpn_add_n): Do not use BP_SYM
2115 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2116 "bp-asm.h".
2117 (PARMS): Do not use macros from bp-asm.h.
2118 (S1): Likewise.
2119 (SIZE): Likewise.
2120 (__mpn_addmul_1): Do not use BP_SYM
2121 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2122 "bp-asm.h".
2123 (PARMS): Do not use macros from bp-asm.h.
2124 (SIGMSK): Likewise.
2125 (_setjmp): Likewise. Do not use BP_SYM.
2126 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2127 "bp-asm.h".
2128 (PARMS): Do not use macros from bp-asm.h.
2129 (SIGMSK): Likewise.
2130 (setjmp): Likewise. Do not use BP_SYM.
2131 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2132 "bp-asm.h".
2133 (PARMS): Do not use macros from bp-asm.h.
2134 (__frexp): Do not use BP_SYM.
2135 (frexp): Likewise.
2136 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2137 "bp-asm.h".
2138 (PARMS): Do not use macros from bp-asm.h.
2139 (__frexpf): Do not use BP_SYM.
2140 (frexpf): Likewise.
2141 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2142 "bp-asm.h".
2143 (PARMS): Do not use macros from bp-asm.h.
2144 (__frexpl): Do not use BP_SYM.
2145 (frexpl): Likewise.
2146 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2147 "bp-asm.h".
2148 (PARMS): Do not use macros from bp-asm.h.
2149 (__remquo): Do not use BP_SYM.
2150 (remquo): Likewise.
2151 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2152 "bp-asm.h".
2153 (PARMS): Do not use macros from bp-asm.h.
2154 (__remquof): Do not use BP_SYM.
2155 (remquof): Likewise.
2156 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2157 "bp-asm.h".
2158 (PARMS): Do not use macros from bp-asm.h.
2159 (__remquol): Do not use BP_SYM.
2160 (remquol): Likewise.
2161 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2162 "bp-asm.h".
2163 (PARMS): Do not use macros from bp-asm.h.
2164 (DEST): Likewise.
2165 (SRC): Likewise.
2166 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2167 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2168 "bp-asm.h".
2169 (PARMS): Do not use macros from bp-asm.h.
2170 (strlen): Do not use BP_SYM.
2171 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2172 "bp-asm.h".
2173 (PARMS): Do not use macros from bp-asm.h.
2174 (S1): Likewise.
2175 (S2): Likewise.
2176 (SIZE): Likewise.
2177 (__mpn_add_n): Do not use BP_SYM.
2178 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2179 "bp-asm.h".
2180 (PARMS): Do not use macros from bp-asm.h.
2181 (S1): Likewise.
2182 (SIZE): Likewise.
2183 (__mpn_addmul_1): Do not use BP_SYM.
2184 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2185 weak_alias.
2186 (bzero): Likewise.
2187 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2188 "bp-asm.h".
2189 (PARMS): Do not use macros from bp-asm.h.
2190 (S): Likewise.
2191 (SIZE): Likewise.
2192 (__mpn_lshift): Do not use BP_SYM.
2193 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2194 "bp-asm.h".
2195 (PARMS): Do not use macros from bp-asm.h.
2196 (DEST): Likewise.
2197 (SRC): Likewise.
2198 (LEN): Likewise.
2199 (memcpy): Likewise. Do not use BP_SYM.
2200 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2201 libc_hidden_def and weak_alias.
2202 (mempcpy): Do not use BP_SYM in weak_alias.
2203 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2204 "bp-asm.h".
2205 (PARMS): Do not use macros from bp-asm.h.
2206 (DEST): Likewise.
2207 (LEN): Likewise.
2208 [!BZERO_P] (CHR): Likewise.
2209 (memset): Likewise. Do not use BP_SYM.
2210 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2211 "bp-asm.h".
2212 (PARMS): Do not use macros from bp-asm.h.
2213 (S1): Likewise.
2214 (SIZE): Likewise.
2215 (__mpn_mul_1): Do not use BP_SYM.
2216 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2217 "bp-asm.h".
2218 (PARMS): Do not use macros from bp-asm.h.
2219 (S): Likewise.
2220 (SIZE): Likewise.
2221 (__mpn_rshift): Do not use BP_SYM.
2222 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2223 "bp-asm.h".
2224 (PARMS): Do not use macros from bp-asm.h.
2225 (STR): Likewise.
2226 (CHR): Likewise.
2227 (strchr): Likewise. Do not use BP_SYM.
2228 (index): Do not use BP_SYM in weak_alias.
2229 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2230 "bp-asm.h".
2231 (PARMS): Do not use macros from bp-asm.h.
2232 (DEST): Likewise.
2233 (SRC): Likewise.
2234 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2235 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2236 "bp-asm.h".
2237 (PARMS): Do not use macros from bp-asm.h.
2238 (strlen): Do not use BP_SYM.
2239 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2240 "bp-asm.h".
2241 (PARMS): Do not use macros from bp-asm.h.
2242 (S1): Likewise.
2243 (S2): Likewise.
2244 (SIZE): Likewise.
2245 (__mpn_sub_n): Do not use BP_SYM.
2246 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2247 "bp-asm.h".
2248 (PARMS): Do not use macros from bp-asm.h.
2249 (S1): Likewise.
2250 (SIZE): Likewise.
2251 (__mpn_submul_1): Do not use BP_SYM.
2252 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2253 "bp-asm.h".
2254 (PARMS): Do not use macros from bp-asm.h.
2255 (S1): Likewise.
2256 (S2): Likewise.
2257 (SIZE): Likewise.
2258 (__mpn_add_n): Do not use BP_SYM.
2259 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2260 weak_alias.
2261 (bzero): Likewise.
2262 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2263 "bp-asm.h".
2264 (PARMS): Do not use macros from bp-asm.h.
2265 (BLK2): Likewise.
2266 (LEN): Likewise.
2267 (memcmp): Do not use BP_SYM.
2268 (bcmp): Do not use BP_SYM in weak_alias.
2269 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2270 "bp-asm.h".
2271 (PARMS): Do not use macros from bp-asm.h.
2272 (DEST): Likewise.
2273 (SRC): Likewise.
2274 (LEN): Likewise.
2275 (memcpy): Likewise. Do not use BP_SYM.
2276 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2277 "bp-asm.h".
2278 (PARMS): Do not use macros from bp-asm.h.
2279 (DEST): Likewise.
2280 (SRC): Likewise.
2281 (LEN): Likewise.
2282 (memmove): Likewise. Do not use BP_SYM.
2283 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2284 "bp-asm.h".
2285 (PARMS): Do not use macros from bp-asm.h.
2286 (DEST): Likewise.
2287 (SRC): Likewise.
2288 (LEN): Likewise.
2289 (__mempcpy): Likewise. Do not use BP_SYM.
2290 (mempcpy): Do not use BP_SYM in weak_alias.
2291 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2292 "bp-asm.h".
2293 (PARMS): Do not use macros from bp-asm.h.
2294 (DEST): Likewise.
2295 (LEN): Likewise.
2296 [!BZERO_P] (CHR): Likewise.
2297 (memset): Likewise. Do not use BP_SYM.
2298 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2299 "bp-asm.h".
2300 (PARMS): Do not use macros from bp-asm.h.
2301 (STR2): Likewise.
2302 (strcmp): Do not use BP_SYM.
2303 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2304 "bp-asm.h".
2305 (PARMS): Do not use macros from bp-asm.h.
2306 (STR): Likewise.
2307 (DELIM): Likewise.
2308 [USE_AS_STRTOK_R] (SAVE): Likewise.
2309 (FUNCTION): Likewise. Do not use BP_SYM.
2310 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2311 aliases.
2312 (strtok_r): Likewise.
2313 (__GI___strtok_r): Likewise.
2314 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2315 (PARMS): Do not use macros from bp-asm.h.
2316 (S): Likewise.
2317 (SIZE): Likewise.
2318 (__mpn_lshift): Do not use BP_SYM.
2319 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2320 (PARMS): Do not use macros from bp-asm.h.
2321 (STR): Likewise.
2322 (CHR): Likewise.
2323 (__memchr): Do not use BP_SYM.
2324 (memchr): Do not use BP_SYM in weak_alias.
2325 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2326 (PARMS): Do not use macros from bp-asm.h.
2327 (BLK2): Likewise.
2328 (LEN): Likewise.
2329 (memcmp): Do not use BP_SYM.
2330 (bcmp): Do not use BP_SYM in weak_alias.
2331 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2332 (PARMS): Do not use macros from bp-asm.h.
2333 (S1): Likewise.
2334 (SIZE): Likewise.
2335 (__mpn_mul_1): Do not use BP_SYM.
2336 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2337 "bp-asm.h".
2338 (PARMS): Do not use macros from bp-asm.h.
2339 (STR): Likewise.
2340 (CHR): Likewise.
2341 (__rawmemchr): Do not use BP_SYM.
2342 (rawmemchr): Do not use BP_SYM in weak_alias.
2343 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2344 (PARMS): Do not use macros from bp-asm.h.
2345 (S): Likewise.
2346 (SIZE): Likewise.
2347 (__mpn_rshift): Do not use BP_SYM.
2348 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2349 (PARMS): Do not use macros from bp-asm.h.
2350 (SIGMSK): Likewise.
2351 (__sigsetjmp): Likewise. Do not use BP_SYM.
2352 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2353 (_start): Do not use BP_SYM.
2354 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2355 (PARMS): Do not use macros from bp-asm.h.
2356 (DEST): Likewise.
2357 (SRC): Likewise.
2358 (__stpcpy): Likewise. Do not use BP_SYM.
2359 (stpcpy): Do not use BP_SYM in weak_alias.
2360 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2361 "bp-asm.h".
2362 (PARMS): Do not use macros from bp-asm.h.
2363 (DEST): Likewise.
2364 (SRC): Likewise.
2365 (LEN): Likewise.
2366 (__stpncpy): Likewise. Do not use BP_SYM.
2367 (stpncpy): Do not use BP_SYM in weak_alias.
2368 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2369 (PARMS): Do not use macros from bp-asm.h.
2370 (STR): Likewise.
2371 (CHR): Likewise.
2372 (strchr): Likewise. Do not use BP_SYM.
2373 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2374 "bp-asm.h".
2375 (PARMS): Do not use macros from bp-asm.h.
2376 (STR): Likewise.
2377 (CHR): Likewise.
2378 (__strchrnul): Likewise. Do not use BP_SYM.
2379 (strchrnul): Do not use BP_SYM in weak_alias.
2380 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2381 "bp-asm.h".
2382 (PARMS): Do not use macros from bp-asm.h.
2383 (STOP): Likewise.
2384 (strcspn): Do not use BP_SYM.
2385 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2386 "bp-asm.h".
2387 (PARMS): Do not use macros from bp-asm.h.
2388 (STR): Likewise.
2389 (STOP): Likewise.
2390 (strpbrk): Likewise. Do not use BP_SYM.
2391 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2392 "bp-asm.h".
2393 (PARMS): Do not use macros from bp-asm.h.
2394 (STR): Likewise.
2395 (CHR): Likewise.
2396 (strrchr): Likewise. Do not use BP_SYM.
2397 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2398 (PARMS): Do not use macros from bp-asm.h.
2399 (SKIP): Likewise.
2400 (strspn): Do not use BP_SYM.
2401 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2402 (PARMS): Do not use macros from bp-asm.h.
2403 (STR): Likewise.
2404 (DELIM): Likewise.
2405 (SAVE): Likewise.
2406 (FUNCTION): Likewise. Do not use BP_SYM.
2407 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2408 aliases.
2409 (strtok_r): Likewise.
2410 (__GI___strtok_r): Likewise.
2411 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2412 (PARMS): Do not use macros from bp-asm.h.
2413 (S1): Likewise.
2414 (S2): Likewise.
2415 (SIZE): Likewise.
2416 (__mpn_sub_n): Do not use BP_SYM.
2417 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2418 "bp-asm.h".
2419 (PARMS): Do not use macros from bp-asm.h.
2420 (S1): Likewise.
2421 (SIZE): Likewise.
2422 (__mpn_submul_1): Do not use BP_SYM.
2423 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2424 <bp-sym.h>.
2425 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2426 and <bp-asm.h>.
2427 (PARMS): Do not use macros from bp-asm.h.
2428 (FLAGS): Likewise.
2429 (PTID): Likewise.
2430 (TLS): Likewise.
2431 (CTID): Likewise.
2432 (__clone): Do not use BP_SYM.
2433 (clone): Do not use BP_SYM in weak_alias.
2434 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2435 and <bp-asm.h>.
2436 (PARMS): Do not use macros from bp-asm.h.
2437 (LEN): Likewise.
2438 (__mmap64): Do not use BP_SYM.
2439 (mmap64): Do not use BP_SYM in weak_alias.
2440 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2441 <bp-sym.h> and <bp-asm.h>.
2442 (PARMS): Do not use macros from bp-asm.h.
2443 (__posix_fadvise64_l64): Do not use BP_SYM.
2444 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2445 (PARMS): Do not use macros from bp-asm.h.
2446 (NSOPS): Likewise.
2447 (semtimedop): Do not use BP_SYM.
2448 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2449 and <bp-asm.h>.
2450
582a3cff
AM
24512013-02-21 Allan McRae <allan@archlinux.org>
2452
2453 * manual/message.texi (Charset conversion in gettext):
2454 Move @end statement to beginning of line.
2455
bab8a695
SP
24562013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2457
80945231
SP
2458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2459 static.
2460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2461 Likewise.
2462
bab8a695
SP
2463 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2464 (denorm): Likewise.
2465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2467
e21d7aa7
AK
24682013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2469
2470 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2471 tail-call to the resolved function if pltexit isn't needed.
2472
4c7a4263
SP
24732013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2474
2475 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2476 or Y being zero as being unlikely.
2477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2478 Likewise.
2479
41f49342
CD
24802013-02-20 Carlos O'Donell <carlos@redhat.com>
2481
2482 * manual/nss.texi (System Databases and Name Service Switch):
2483 Remove frobnicate @pxref.
2484
50022a93
TS
24852013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2486
2487 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2488 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2489
08cbd996
PM
24902013-02-20 Petr Machata <pmachata@redhat.com>
2491
2492 * elf/elf.h (R_ARM_TARGET1): New macro.
2493 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2494 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2495 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2496 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2497 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2498 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2499 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2500 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2501 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2502 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2503 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2504 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2505 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2506 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2507 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2508 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2509 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2510 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2511 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2512 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2513 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2514 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2515 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2516 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2517 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2518 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2519 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2520 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2521 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2522 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2523 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2524 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2525 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2526 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2527 (R_ARM_THM_GOT_BREL12): Likewise.
2528 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2529 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2530 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2531 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2532 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2533 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2534 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2535 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2536 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2537
c7b275d6
TS
25382013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2539
2540 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2541 __attribute_used__ to __attribute__ ((unused)).
2542
20cd7fb3
SP
25432013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2544
2545 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2546 powerpc mpa.c.
2547 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2548 comment formatting.
2549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2550
92945b52
JM
25512013-02-19 Joseph Myers <joseph@codesourcery.com>
2552
2553 [BZ #13550]
2554 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2555 Remove macro.
2556 (ENTER): Remove both macro definitions.
2557 (LEAVE): Likewise.
2558 (CHECK_BOUNDS_LOW): Likewise.
2559 (CHECK_BOUNDS_HIGH): Likewise.
2560 (CHECK_BOUNDS_BOTH): Likewise.
2561 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2562 (RETURN_BOUNDED_POINTER): Likewise.
2563 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2564 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2565 (POP_ERRNO_LOCATION_RETURN): Likewise.
2566 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2567 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2568 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2569 macros.
2570 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2571 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2572 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2573 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2574 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2575 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2576 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2577 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2578 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2579 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2580 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2581 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2582 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2583 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2584 removed macros.
2585 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2586 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2587 macros.
2588 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2589 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2590 * sysdeps/i386/i586/memset.S (memset): Likewise.
2591 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2592 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2593 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2594 macros.
2595 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2596 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2597 Change uses of L(2) to L(out).
2598 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2599 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2600 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2601 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2602 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2603 removed macros.
2604 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2605 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2606 macros.
2607 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2608 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2609 (RETURN): Do not use macro LEAVE.
2610 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2611 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2612 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2613 * sysdeps/i386/i686/memset.S (memset): Likewise.
2614 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2615 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2616 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2617 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2618 Likewise.
2619 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2620 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2621 L(1_2) and L(1_3) into L(1).
2622 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2623 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2624 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2625 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2626 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2627 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2628 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2629 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2630 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2631 macros.
2632 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2633 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2634 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2635 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2636 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2637 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2638 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2639 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2640 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2641 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2642 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2643 * sysdeps/i386/strspn.S (strspn): Likewise.
2644 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2645 conditional code.
2646 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2647 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2648 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2649 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2650 L(1_3) into L(1_1).
2651 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2652 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2653 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2654 macros.
2655 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2656
2389741a
JJ
26572013-02-19 Jakub Jelinek <jakub@redhat.com>
2658
2659 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2660 macro.
2661
2016b3cd
SP
26622013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2663
e4f22324
SP
2664 * math/atest-exp.c (exp_mpn): Remove ROUND.
2665 * math/atest-exp2.c (exp_mpn): Likewise.
2666 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2667
2016b3cd
SP
2668 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2669 * stdlib/tst-tls-atexit-lib.c: Likewise.
2670 * stdlib/tst-tls-atexit.c: Likewise.
2671
4be9b544
MF
26722013-02-18 Mike Frysinger <vapier@gentoo.org>
2673
2674 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2675 and __attribute_alloc_size__.
2676
2f62b9ee
MF
26772013-02-18 Mike Frysinger <vapier@gentoo.org>
2678
2679 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2680 __attribute_alloc_size__.
2681 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2682 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2683
6ff444c4
MF
26842013-02-18 Mike Frysinger <vapier@gentoo.org>
2685
2686 * include/programs/xmalloc.h: New file.
2687 * catgets/gencat.c: Include it.
2688 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2689 * elf/pldd.c: Likewise.
2690 * iconv/iconv_charmap.c: Likewise.
2691 * iconv/iconvconfig.c: Likewise.
2692 * iconv/strtab.c: Likewise.
2693 * locale/programs/locale.c: Likewise.
2694 * locale/programs/localedef.h: Likewise.
2695 * locale/programs/simple-hash.c: Likewise.
2696 * nscd/nscd.h: Likewise.
2697 * nss/makedb.c: Likewise.
2698 * sysdeps/generic/ldconfig.h: Likewise.
2699
be179c8a
SP
27002013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2701
ba384f6e
SP
2702 * Versions.def: Add GLIBC_2.18.
2703 * include/link.h (struct link_map): New member l_tls_dtor_count.
2704 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2705 (__call_tls_dtors): Likewise.
2706 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2707 __cxa_thread_atexit_impl.
2708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2709 Likewise.
2710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2711 Likewise.
2712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2713 Likewise.
2714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2715 Likewise.
2716 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2718 Likewise.
2719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2720 Likewise.
2721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2723 Likewise.
2724 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2725 (tests): Add test case tst-tls-atexit.
2726 (modules-names): Add shared library for tst-tls-atexit.
2727 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2728 (GLIBC_PRIVATE): Add __call_tls_dtors.
2729 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2730 for libstdc++.
2731 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2732 * stdlib/tst-tls-atexit.c: New test case.
2733 * stdlib/tst-tls-atexit-lib.c: New test case.
2734
ffaa74cf 2735 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2736
be179c8a
SP
2737 * elf/Versions (ld): Add _dl_find_dso_for_object.
2738 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2739 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2740 (dl_open_worker): Use _dl_find_dso_for_object.
2741 * elf/dl-sym.c (do_sym): Likewise.
2742 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2743
f78b5caa
AK
27442013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2745
2746 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2747 Syntactic changes only.
2748 (_dl_runtime_profile): Do a tail-call to the resolved function.
2749
29691210
JM
27502013-02-17 Joseph Myers <joseph@codesourcery.com>
2751
2752 [BZ #13550]
2753 * sysdeps/x86_64/bp-asm.h: Remove file.
2754 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2755 <bp-sym.h> and <bp-asm.h>.
2756 (__clone): Do not use BP_SYM.
2757 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2758 <bp-sym.h> and <bp-asm.h>.
2759 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2760 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2761 "bp-asm.h".
2762 (_setjmp): Do not use BP_SYM.
2763 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2764 "bp-asm.h".
2765 (setjmp): Do not use BP_SYM.
2766 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2767 libc_hidden_def.
2768 (mempcpy): Do not use BP_SYM in weak_alias.
2769 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2770 "bp-asm.h".
2771 (strchr): Do not use BP_SYM.
2772 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2773 "bp-asm.h".
2774 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2775 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2776 (_start): Do not use BP_SYM.
2777 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2778 "bp-asm.h".
2779 (strcat): Do not use BP_SYM.
2780 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2781 "bp-asm.h".
2782 (STRCMP): Do not use BP_SYM.
2783 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2784 "bp-asm.h".
2785 (STRCPY): Do not use BP_SYM.
2786 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2787 "bp-asm.h".
2788 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2789 "bp-asm.h".
2790 (FUNCTION): Do not use BP_SYM.
2791 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2792 weak_alias.
2793 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2794
f238fd19
AJ
27952013-02-17 Andreas Jaeger <aj@suse.de>
2796
2797 * time/Versions: Sort entries.
2798 * string/Versions: Likewise.
2799 * resolv/Versions: Likewise.
2800 * posix/Versions: Likewise.
2801 * iconv/Versions: Likewise.
2802 * elf/Versions: Likewise.
2803 * wcsmbs/Versions: Likewise.
2804
bd07f23c 28052013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2806
22af19f9
SP
2807 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2808 loop termination condition.
2809
4709fe76
SP
2810 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2811 variable to calculate EZ.
2812 (__sqr): Likewise.
2d0e0f29
SP
2813
2814 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2815 the lower precision input.
2816
daaa7713
JM
28172013-02-15 Joseph Myers <joseph@codesourcery.com>
2818
2819 [BZ #13550]
2820 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2821 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2822 (run-via-rtld-prefix): Do not handle %-bp tests.
2823 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2824 (all-object-suffixes): Remove .ob.
2825 (bppfx): Remove variable.
2826 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2827 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2828 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2829 [$(build-bounded) = yes] (libtype.ob): Likewise.
2830 * Makerules (elide-routines.ob): Remove variable.
2831 (do-tests-clean): Do not handle *-bp.out.
2832 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2833 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2834 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2835 (tests): Do not include $(tests-bp.out).
2836 (xtests): Do not include $(xtests-bp.out).
2837 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2838 [$(build-bounded) = yes] ($(addprefix
2839 $(objpfx),$(binaries-bounded))): Remove rule.
2840 ($(objpfx)%-bp.out): Remove rule.
2841 * config.make.in (build-bounded): Remove variable.
2842 * crypt/Makefile [$(build-bounded) = yes]
2843 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2844 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2845 append to variable.
2846 [$(build-bounded) = yes] (install-lib): Likewise.
2847 [$(build-bounded) = yes] (generated): Likewise.
2848 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2849 Remove rule.
2850 * intl/Makefile [$(build-bounded) = yes]
2851 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2852 * math/Makefile [$(build-bounded) = yes]
2853 ($(tests:%=$(objpfx)%-bp): Likewise.
2854 * misc/Makefile [$(build-bounded) = yes]
2855 ($(objpfx)tst-tsearch-bp): Likewise.
2856 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2857 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2858 Remove dependency.
2859 * string/Makefile (o-objects.ob): Remove variable.
2860 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2861 (CFLAGS-.ob): Remove variable.
2862 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2863 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2864 both definitions of variable.
2865 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2866 (ASFLAGS-.ob): Remove variable.
2867
e97ed6dd
JM
28682013-02-14 Joseph Myers <joseph@codesourcery.com>
2869
2bdd4ca6
JM
2870 [BZ #13550]
2871 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2872 Remove __BOUNDED_POINTERS__ from condition.
2873 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2874 * string/bits/string2.h [!__NO_STRING_INLINES &&
2875 !__BOUNDED_POINTERS__]: Likewise.
2876 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2877 Likewise.
2878 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2879 Remove conditional code.
2880 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2881 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2882 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2883 condition.
2884
e97ed6dd
JM
2885 [BZ #13550]
2886 * csu/libc-start.c: Do not include <bp-sym.h>.
2887 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2888 * elf/dl-open.c: Do not include <bp-sym.h>.
2889 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2890 * math/fegetenv.c: Do not include <bp-sym.h>.
2891 (fegetenv): Do not use BP_SYM in versioned symbols.
2892 * nptl/sysdeps/pthread/bits/libc-lockP.h
2893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2894 <bp-sym.h>.
2895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2896 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2898 (__pthread_mutex_destroy): Likewise.
2899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2900 (__pthread_mutex_lock): Likewise.
2901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2902 (__pthread_mutex_trylock): Likewise.
2903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2904 (__pthread_mutex_unlock): Likewise.
2905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2906 (__pthread_mutexattr_init): Likewise.
2907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2908 (__pthread_mutexattr_destroy): Likewise.
2909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2910 (__pthread_mutexattr_settype): Likewise.
2911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2912 (__pthread_rwlock_init): Likewise.
2913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2914 (__pthread_rwlock_destroy): Likewise.
2915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2916 (__pthread_rwlock_rdlock): Likewise.
2917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2918 (__pthread_rwlock_tryrdlock): Likewise.
2919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2920 (__pthread_rwlock_wrlock): Likewise.
2921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2922 (__pthread_rwlock_trywrlock): Likewise.
2923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2924 (__pthread_rwlock_unlock): Likewise.
2925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2926 (__pthread_key_create): Likewise.
2927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2928 (__pthread_setspecific): Likewise.
2929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2930 (__pthread_getspecific): Likewise.
2931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2932 Likewise.
2933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2934 (_pthread_cleanup_push_defer): Likewise.
2935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2936 (_pthread_cleanup_pop_restore): Likewise.
2937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2938 (pthread_setcancelstate): Likewise.
2939 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2940 <bp-sym.h>.
2941 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2942 (memchr): Do not use BP_SYM in weak_alias.
2943 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2944 (fegetenv): Do not use BP_SYM in versioned symbols.
2945 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2946 (fesetenv): Do not use BP_SYM in versioned symbols.
2947 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2948 (feupdateenv): Do not use BP_SYM in versioned symbols.
2949 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2950 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2951 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2952 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2953 (open64): Do not use BP_SYM in weak_alias.
2954 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2955 (fegetenv): Do not use BP_SYM in versioned symbols.
2956 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2957 (fesetenv): Do not use BP_SYM in versioned symbols.
2958 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2959 (feupdateenv): Do not use BP_SYM in versioned symbols.
2960 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2961 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2962 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2963 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2964 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2965 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2966 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2967 <bp-sym.h>.
2968 (__libc_start_main): Do not use BP_SYM.
2969
d6752ccd
SP
29702013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2971
cb57ce60
SP
2972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2973 redundant return line.
2974 (norm): Likewise.
2975 (denorm): Likewise.
2976 (dbl_mp): Likewise.
2977 (sub_magnitudes): Likewise.
2978 (__add): Likewise.
2979 (__sub): Likewise.
2980 (__mul): Likewise.
2981 (__inv): Likewise.
2982 (__dvd): Likewise.
2983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2984 (norm): Likewise.
2985 (denorm): Likewise.
2986 (dbl_mp): Likewise.
2987 (sub_magnitudes): Likewise.
2988 (__add): Likewise.
2989 (__sub): Likewise.
2990 (__mul): Likewise.
2991 (__inv): Likewise.
2992 (__dvd): Likewise.
2993
f414520d
SP
2994 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2995 instead of __mul.
2996 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2997 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2998 (cc32): Likewise.
2999
d6752ccd
SP
3000 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3001 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3002 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3003 of __mul for squares.
3004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3005 function
3006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3007 Likewise.
3008 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3009 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3010
70d9946a
JM
30112013-02-13 Joseph Myers <joseph@codesourcery.com>
3012
3013 [BZ #13550]
3014 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3015 code.
3016 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3017 prototype or function definition. Rename ubp_* variables and
3018 parameters. Remove argv definitions conditional on
3019 [__BOUNDED_POINTERS__].
3020 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3021 * elf/dl-runtime.c (_dl_fixup): Likewise.
3022 * include/set-hooks.h (RUN_HOOK): Likewise.
3023 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3024 definition.
3025 * string/strcpy.c (strcpy): Do not use __unbounded.
3026 * sysdeps/generic/frame.h (struct layout): Likewise.
3027 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3028 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3029 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3030 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3031 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3032 (__backtrace): Likewise.
3033 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3034 use __ptrvalue.
3035 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3036 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3037 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3038 Likewise.
3039 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3040 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3041 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3042 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3043 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3044 Do not use __unbounded.
3045 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3046 Rename __unboundedrlimits parameter to rlimits in prototype.
3047 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3048 Do not use __unbounded.
3049 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3050 not use __ptrvalue.
3051 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3052 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3053 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3054 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3055 __ptrvalue or __unbounded.
3056 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3057 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3058 use __unbounded.
3059 (__new_msgctl): Do not use __ptrvalue.
3060 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3061 __unbounded.
3062 (__libc_msgrcv): Do not use __ptrvalue.
3063 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3064 startup_info): Do not use __unbounded.
3065 (__libc_start_main): Likewise. Rename ubp_* variables and
3066 parameters. Remove argv definitions conditional on
3067 [__BOUNDED_POINTERS__].
3068 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3069 __ptrvalue.
3070 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3071 use __unbounded.
3072 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3073 or __ptrvalue.
3074 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3075 use __unbounded.
3076 (__new_shmctl): Do not use __ptrvalue.
3077 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3078 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3079 Likewise.
3080 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3081 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3082 (__libc_sigaction): Likewise.
3083 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3084 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3085 Likewise.
3086 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3087
cc7834d6
OB
30882013-02-13 Ondřej Bílka <neleai@seznam.cz>
3089
ffb1ec7b 3090 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3091
3092 * string/mempcpy.c: Implement by calling memcpy.
3093
bdf02814
SP
30942013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3095
c2af38aa
SP
3096 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3097
4e92d59e
SP
3098 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3099 evaluation.
3100
909279a5
SP
3101 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3102 values in the mantissa.
3103
bdf02814
SP
3104 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3105 minimize writes to Z.
3106 (sub_magnitudes): Simplify code a bit.
3107
cd525923
RM
31082013-02-12 Roland McGrath <roland@hack.frob.com>
3109
3110 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3111 from the message. The linker prefixes all warnings with that already.
3112
7e2f0d2d
AS
31132013-02-12 Andreas Schwab <schwab@suse.de>
3114
a445af0b
AS
3115 [BZ #15078]
3116 * posix/regexec.c (extend_buffers): Add parameter min_len.
3117 (check_matching): Pass minimum needed length.
3118 (clean_state_log_if_needed): Likewise.
3119 (get_subexp): Likewise.
3120 * posix/Makefile (tests): Add bug-regex34.
3121 (bug-regex34-ENV): Define.
3122 * posix/bug-regex34.c: New file.
3123
7e2f0d2d
AS
3124 [BZ #11561]
3125 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3126 elements compare against the byte sequence of it, not its name.
3127 * posix/Makefile (tests): Add bug-regex35.
3128 (bug-regex35-ENV): Define.
3129 * posix/bug-regex35.c: New file.
3130
a175b684
TV
31312013-02-11 Tom de Vries <tom@codesourcery.com>
3132
3133 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3134 comment.
3135 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3136 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3137 (CHECK_EOL): Add undef.
3138
310998fe 31392013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3140
3141 * bits/stdlib-bsearch.h: New file.
3142 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3143 * stdlib/stdlib.h: Likewise.
41eda41d 3144
8ded91fb
RM
31452013-02-11 Roland McGrath <roland@hack.frob.com>
3146
3147 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3148 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3149 declaration.
3150 * manual/search.texi (Array Search Function): Add missing const in
3151 lfind prototype.
3152 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3153 declaration to use rlim_t.
3154 (Basic Scheduling Functions): Remove erroneous const from
3155 sched_getparam prototype. Remove erroneous * from
3156 sched_get_priority_max and sched_get_priority_min prototypes.
3157 (Resource Usage): Fix summary @comment on vtimes to refer to
3158 sys/vtimes.h rather than vtimes.h.
3159 Add missing *s in vtimes prototype.
3160 (Limits on Resources): Fix ulimit prototype to return long int.
3161 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3162 prototypes to use long int rather than double.
3163 (BSD Random): Fix initstate and setstate to use char *, not void *.
3164 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3165 prototype to make second argument 'struct aiocb64 *const[]'.
3166 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3167 (Status of AIO Operations): Remove erroneous const in aio_return and
3168 aio_return64 prototypes.
3169 (Synchronizing I/O): Fix sync prototype to return void.
3170 * manual/startup.texi (Suboptions): Remove an erroneous const in
3171 getsubopt prototype.
3172 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3173 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3174 use size_t rather than int.
3175 (Scanning All Users): Likewise for getpwent_r.
3176 (Setting Groups): Add missing const to setgroups prototype.
3177 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3178 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3179 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3180 'const void *' rather than 'const char *'.
3181 (Host Address Functions): Likewise for inet_ntop.
3182 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3183 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3184 ssize_t for return value.
3185 (Sending Data): Likewise for send, sendto, sendmsg.
3186 (Socket Option Functions): Add a missing const in setsockopt prototype.
3187 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3188 use wchar_t for the argument.
3189 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3190 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3191 take no arguments.
3192 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3193 double/float/long double for second argument.
3194 Fix return types of significand, significandf, significandl.
3195 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3196 argument in fchmod prototype.
3197 (File Owner): Use uid_t and gid_t in fchown prototype.
3198 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3199 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3200 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3201 use 'const struct dirent **' as argument types to CMP function pointer
3202 argument.
3203 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3204 (File Times): Fix summary magic @comment for struct utimbuf and utime
3205 to refer to utime.h, not time.h.
3206 * manual/string.texi (Argz Functions): Add missing const in
3207 argz_extract and argz_next prototypes.
3208 (Finding Tokens in a String): Likewise for basename.
3209 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3210 (Copying and Concatenation): Fix typo in wmemmove prototype.
3211 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3212 (Signal Stack): Remove erroneous const in sigstack prototype.
3213 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3214 prototype.
3215 (Simple Calendar Time): Likewise for stime.
3216 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3217 prototype.
3218 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3219 say sys/sysctl.h instead.
3220 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3221 and vsyslog prototypes.
3222
fe77fe6d
TV
32232013-02-11 Tom de Vries <tom@codesourcery.com>
3224
3225 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3226 Remove.
3227
3a09b620
RM
32282013-02-11 Roland McGrath <roland@hack.frob.com>
3229
3230 * misc/sys/mman.h: Fix typo in mremap comment.
3231
550a0b89
RM
32322013-02-08 Roland McGrath <roland@hack.frob.com>
3233
3234 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3235 the '\0' terminator.
3236
a2da1673
JM
32372013-02-08 Joseph Myers <joseph@codesourcery.com>
3238
3239 [BZ #13550]
3240 * debug/segfault.c: Don't include <bp-checks.h>.
3241 * sysdeps/generic/bp-checks.h: Remove file.
3242 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3243 (__GETDENTS): Don't use CHECK_N.
3244 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3245 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3246 (__getgroups): Don't use CHECK_N.
3247 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3248 (setgroups): Don't use CHECK_N.
3249 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3250 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3251 (__libc_msgrcv): Don't use CHECK_N.
3252 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3253 (__libc_msgsnd): Don't use CHECK_N.
3254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3255 <bp-checks.h>.
3256 (__libc_pread): Don't use CHECK_N.
3257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3258 include <bp-checks.h>.
3259 (__libc_pread64): Don't use CHECK_N.
3260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3261 include <bp-checks.h>.
3262 (__libc_pwrite): Don't use CHECK_N.
3263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3264 include <bp-checks.h>.
3265 (__libc_pwrite64): Don't use CHECK_N.
3266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3267 <bp-checks.h>.
3268 (__libc_pread): Don't use CHECK_N.
3269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3270 include <bp-checks.h>.
3271 (__libc_pread64): Don't use CHECK_N.
3272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3273 include <bp-checks.h>.
3274 (__libc_pwrite): Don't use CHECK_N.
3275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3276 include <bp-checks.h>.
3277 (__libc_pwrite64): Don't use CHECK_N.
3278 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3279 (do_pread): Don't use CHECK_N.
3280 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3281 (do_pread64): Don't use CHECK_N.
3282 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3283 (do_pwrite): Don't use CHECK_N.
3284 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3285 (do_pwrite64): Don't use CHECK_N.
3286 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3287 (__libc_readv): Don't use CHECK_N.
3288 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3289 (semop): Don't use CHECK_N.
3290 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3291 <bp-checks.h>.
3292 (semtimedop): Don't use CHECK_N.
3293 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3294 (__libc_pread): Don't use CHECK_N.
3295 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3296 <bp-checks.h>.
3297 (__libc_pread64): Don't use CHECK_N.
3298 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3299 <bp-checks.h>.
3300 (__libc_pwrite): Don't use CHECK_N.
3301 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3302 <bp-checks.h>.
3303 (__libc_pwrite64): Don't use CHECK_N.
3304 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3305 <bp-checks.h>.
3306 (__libc_msgrcv): Don't use CHECK_N.
3307 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3308 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3309 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3310 (__libc_writev): Don't use CHECK_N.
3311
b84660a8
RM
33122013-02-08 Roland McGrath <roland@hack.frob.com>
3313
7f3e75f8
RM
3314 * string/strcpy.c: Removed unused variable.
3315
b84660a8
RM
3316 * Makeconfig (+sysdep-includes): Define with := rather than =.
3317 Use an existing include/ subdir of each sysdeps dir before it.
3318
471514d3
CD
33192013-02-08 Carlos O'Donell <carlos@redhat.com>
3320
3321 * nscd/connection.c (register_traced_file): Comment function.
3322 [HAVE_INOTIFY] (union __inev): Define.
3323 [HAVE_INOTIFY] (inotify_check_files): New function.
3324 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3325 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3326 clear_db_cache.
3327 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3328
b2d3c3be
CD
33292013-02-08 Carlos O'Donell <carlos@redhat.com>
3330
3331 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3332 loaded if not already and that a failure is permanent.
3333
b39949d2
CD
33342013-02-08 Carlos O'Donell <carlos@redhat.com>
3335
ddacd1db 3336 [BZ #15006]
b39949d2
CD
3337 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3338 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3339
b2c9eff4
JM
33402013-02-08 Joseph Myers <joseph@codesourcery.com>
3341
f3aae3f3
JM
3342 [BZ #13550]
3343 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3344 (CHECK_1_NULL_OK): Likewise.
3345 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3346 (__fxstat): Do not use CHECK_1.
3347 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3348 <bp-checks.h>.
3349 (___fxstat64): Do not use CHECK_1.
3350 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3351 <bp-checks.h>.
3352 (__fxstatat): Do not use CHECK_1.
3353 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3354 <bp-checks.h>.
3355 (__fxstatat64): Do not use CHECK_1.
3356 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3357 <bp-checks.h>.
3358 (__fxstat): Do not use CHECK_1.
3359 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3360 <bp-checks.h>.
3361 (__fxstatat): Do not use CHECK_1.
3362 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3363 <bp-checks.h>.
3364 (__getresgid): Do not use CHECK_1.
3365 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3366 <bp-checks.h>.
3367 (__getresuid): Do not use CHECK_1.
3368 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3369 <bp-checks.h>.
3370 (__lxstat): Do not use CHECK_1.
3371 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3372 <bp-checks.h>.
3373 (__old_msgctl): Do not use CHECK_1.
3374 (__new_msgctl): Likewise.
3375 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3376 <bp-checks.h>.
3377 (__new_setrlimit): Do not use CHECK_1.
3378 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3379 <bp-checks.h>.
3380 (__old_shmctl): Do not use CHECK_1.
3381 (__new_shmctl): Likewise.
3382 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3383 <bp-checks.h>.
3384 (__xstat): Do not use CHECK_1.
3385 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3386 (__lxstat): Do not use CHECK_1.
3387 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3388 <bp-checks.h>.
3389 (___lxstat64): Do not use CHECK_1.
3390 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3391 (__old_msgctl): Do not use CHECK_1.
3392 (__new_msgctl): Likewise.
3393 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3394 <bp-checks.h>.
3395 (__gettimeofday): Do not use CHECK_1.
3396 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3397 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3398 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3399 <bp-checks.h>.
3400 (__gettimeofday): Do not use CHECK_1.
3401 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3402 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3403 (__new_shmctl): Do not use CHECK_1.
3404 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3405 <bp-checks.h>.
3406 (do_sigtimedwait): Do not use CHECK_1.
3407 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3408 <bp-checks.h>.
3409 (do_sigwaitinfo): Do not use CHECK_1.
3410 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3411 <bp-checks.h>.
3412 (msgctl): Do not use CHECK_1.
3413 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3414 <bp-checks.h>.
3415 (shmctl): Do not use CHECK_1.
3416 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3417 (ustat): Do not use CHECK_1.
3418 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3419 <bp-checks.h>.
3420 (__fxstat): Do not use CHECK_1.
3421 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3422 <bp-checks.h>.
3423 (__fxstatat): Do not use CHECK_1.
3424 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3425 <bp-checks.h>.
3426 (__lxstat): Do not use CHECK_1.
3427 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3428 <bp-checks.h>.
3429 (__xstat): Do not use CHECK_1.
3430 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3431 (__xstat): Do not use CHECK_1.
3432 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3433 (___xstat64): Do not use CHECK_1.
3434
b2c9eff4
JM
3435 [BZ #13550]
3436 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3437 definitions.
3438 (CHECK_BOUNDS_HIGH): Likewise.
3439 * string/strcpy.c: Do not include <bp-checks.h>.
3440 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3441
f1d70dad
RM
34422013-02-07 Roland McGrath <roland@hack.frob.com>
3443
3444 * nscd/nscd-client.h (__nscd_drop_map_ref):
3445 Add __attribute__ ((unused)).
3446 * nis/nss-nisplus.h (niserr2nss): Likewise.
3447
3448 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3449 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3450
3451 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3452 Remove inline keyword.
3453 * include/rounding-mode.h (round_away): Likewise.
3454 * libio/wfileops.c (adjust_wide_data): Likewise.
3455 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3456 (__m128i_strloadu_tolower): Likewise.
3457 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3458 (__m128i_strloadu_tolower): Likewise.
3459 * time/mktime.c (ydhms_diff): Likewise.
3460 * locale/elem-hash.h (elem_hash): Likewise.
3461 * locale/setlocale.c (setdata): Likewise.
3462 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3463 (re_string_wchar_at): Likewise.
3464 (bitset_not, bitset_merge, bitset_mask): Likewise.
3465 [!(__GNUC__ > 3)] (inline): Remove macro.
3466 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3467 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3468 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3469 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3470 * string/memcmp.c (memcmp_bytes): Likewise.
3471 * locale/programs/locarchive.c (compute_hashval): Likewise.
3472 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3473 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3474 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3475 * nss/getent.c (print_rpc, print_protocols): Likewise.
3476 (print_passwd, print_group, print_aliases): Likewise.
3477 * nis/nss-nisplus.h (niserr2nss): Likewise.
3478 * nscd/connections.c (restart_p): Likewise.
3479 Change return type to bool.
3480
eab55bfb
RM
34812013-02-05 Roland McGrath <roland@hack.frob.com>
3482
7bd642f5
RM
3483 * Makeconfig (all-Depend-files): Add existing
3484 $(sorted-subdirs:=/Depend) files.
3485 (all-subdirs): Remove nss.
3486 * sysdeps/unix/inet/Subdirs: Add it here instead.
3487 * hesiod/Depend: New file.
3488
573c29b2
RM
3489 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3490 instead of calling alloca.
3491
b2e25af0
RM
3492 * io/lseek.c (__lseek): Rename to __libc_lseek.
3493 Define __lseek as an alias.
3494
eab55bfb
RM
3495 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3496
9a0d1941
CD
34972013-02-04 Carlos O'Donell <carlos@redhat.com>
3498
3499 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3500 else clause and remove check for non-standard endianness.
3501
b83bbec4
DM
35022013-02-04 David S. Miller <davem@davemloft.net>
3503
3504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3505
6277fdab
JM
35062013-02-04 Joseph Myers <joseph@codesourcery.com>
3507
3508 [BZ #13550]
3509 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3510 (__ubp_memchr): Remove prototype.
3511 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3512 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3513 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3514 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3515 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3516 Remove alias.
3517 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3518 (__ubp_memchr): Likewise.
3519 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3520 (__ubp_memchr): Likewise.
3521 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3522 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3523 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3524 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3525 CHECK_STRING.
3526 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3527 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3528 (__getcwd): Do not use CHECK_STRING.
3529 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3530 <bp-checks.h>.
3531 (__real_chown): Do not use CHECK_STRING.
3532 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3533 <bp-checks.h>.
3534 (fchownat): Do not use CHECK_STRING.
3535 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3536 CHECK_STRING.
3537 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3538 <bp-checks.h>.
3539 (__lchown): Do not use CHECK_STRING.
3540 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3541 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3542 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3543 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3545 include <bp-checks.h>.
3546 (truncate64): Do not use CHECK_STRING.
3547 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3548 <bp-checks.h>.
3549 (__real_chown): Do not use CHECK_STRING.
3550 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3551 <bp-checks.h>.
3552 (__lchown): Do not use CHECK_STRING.
3553 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3554 <bp-checks.h>.
3555 (__chown): Do not use CHECK_STRING.
3556 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3557 <bp-checks.h>.
3558 (truncate64): Do not use CHECK_STRING.
3559 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3560 Likewise.
3561 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3562 (__xmknod): Do not use CHECK_STRING.
3563 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3564 <bp-checks.h>.
3565 (__xmknodat): Do not use CHECK_STRING.
3566 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3567 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3568
903ae060
AS
35692013-02-04 Andreas Schwab <schwab@suse.de>
3570
3571 [BZ #14142]
3572 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3573 * include/netdb.h: Likewise for h_errno.
3574 * elf/tst-stackguard1.c: Include <tls.h>.
3575
542f9466
JK
35762013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3577
3578 * elf/link.h (struct link_map): Extend the l_addr comment.
3579 * include/link.h (struct link_map): Likewise.
3580
e782a927
JM
35812013-02-01 Joseph Myers <joseph@codesourcery.com>
3582
3583 [BZ #13550]
3584 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3585 (BOUNDED_1): Remove macro.
3586 * debug/backtrace.c: Don't include <bp-checks.h>.
3587 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3588 (__backtrace): Likewise.
3589 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3590 <bp-checks.h>.
3591 (__backtrace): Don't use BOUNDED_1.
3592 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3593 <bp-checks.h>.
3594 (__backtrace): Don't use BOUNDED_1.
3595 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3596 (__backtrace): Don't use BOUNDED_1.
3597 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3598 (shmat): Don't use BOUNDED_N.
3599
8cf28c5e
JM
36002013-01-31 Joseph Myers <joseph@codesourcery.com>
3601
3a7ac8a0
JM
3602 [BZ #13550]
3603 * sysdeps/generic/bp-start.h: Remove file.
3604 * csu/libc-start.c: Don't include <bp-start.h>.
3605 (LIBC_START_MAIN): Set up __environ directly instead of using
3606 INIT_ARGV_and_ENVIRON.
3607 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3608 <bp-start.h>.
3609
f3499f95
JM
3610 [BZ #13550]
3611 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3612 definitions.
3613 (CHECK_FCNTL): Likewise.
3614 (CHECK_N_PAGES): Likewise.
3615
32a45bea
JM
3616 [BZ #13550]
3617 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3618 definitions.
3619 (CHECK_SIGSET_NULL_OK): Likewise.
3620 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3621 <bp-checks.h>.
3622 (sigpending): Don't use CHECK_SIGSET.
3623 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3624 <bp-checks.h>.
3625 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3626 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3627 <bp-checks.h>.
3628 (do_sigsuspend): Don't use CHECK_SIGSET.
3629 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3630 use CHECK_SIGSET.
3631 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3632 (do_sigwait): Don't use CHECK_SIGSET.
3633 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3634 use CHECK_SIGSET.
3635 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3636 include <bp-checks.h>.
3637 (sigpending): Don't use CHECK_SIGSET.
3638 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3639 include <bp-checks.h>.
3640 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3641 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3642 <bp-checks.h>.
3643 (sigpending): Don't use CHECK_SIGSET.
3644 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3645 <bp-checks.h>.
3646 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3647
2e8a5c8c
JM
3648 [BZ #13550]
3649 * sysdeps/generic/bp-semctl.h: Remove file.
3650 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3651 <bp-checks.h> and <bp-semctl.h>.
3652 (__old_semctl): Don't use CHECK_SEMCTL.
3653 (__new_semctl): Likewise.
3654 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3655 and <bp-semctl.h>.
3656 (__old_semctl): Don't use CHECK_SEMCTL.
3657 (__new_semctl): Likewise.
3658 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3659 <bp-checks.h> and <bp-semctl.h>.
3660 (__old_semctl): Don't use CHECK_SEMCTL.
3661 (__new_semctl): Likewise.
3662 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3663 <bp-checks.h> and <bp-semctl.h>.
3664 (semctl): Don't use CHECK_SEMCTL.
3665
c2d54929
JM
3666 [BZ #13550]
3667 * Makerules (elide-bp-thunks): Remove variable.
3668 (elide-routines.oS): Don't use $(elide-bp-thunks).
3669 (elide-routines.os): Likewise.
3670 (elide-routines.o): Likewise.
3671 (elide-routines.op): Likewise.
3672 (elide-routines.og): Likewise.
3673 (objects): Don't use $(bp-thunks).
3674 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3675 include.
3676 (common-generated): Do not add s-proto-bp.d.
3677 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3678 (int): Likewise.
3679 (typ): Likewise.
3680 Do not generate makefile rules for bounded-pointer thunks.
3681 * sysdeps/generic/bp-thunks.h: Remove file.
3682 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3683 * sysdeps/unix/s-proto-bp.S: Likewise.
3684
8cf28c5e
JM
3685 [BZ #15062]
3686 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3687 parts of result separately when argument is not close to line from
3688 -i to i and one part of argument is small.
3689 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3690 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3691 * math/libm-test.inc (cacos_test): Add more tests.
3692 (casin_test): Likewise.
3693 (casinh_test): Likewise.
3694 * sysdeps/i386/fpu/libm-test-ulps: Update.
3695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3696
c4e33b8d
DM
36972013-01-31 David S. Miller <davem@davemloft.net>
3698
3699 * po/de.po: Update from translation team.
3700
3b60b421
MK
37012013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3702
3703 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3704
bb931195
TS
37052013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3706
b5a5da23
TS
3707 * configure.in (_AC_PROG_CC_C89): New definition.
3708 * configure: Regenerate.
3709
bb931195
TS
3710 * configure.in (AC_PROG_CPP): New definition.
3711 * configure: Regenerate.
3712
8c53a12c
JM
37132013-01-23 Joseph Myers <joseph@codesourcery.com>
3714
3715 * debug/tst-backtrace.h: New file.
3716 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3717 (ret): Remove variable.
3718 (x): Likewise.
3719 (FAIL): Remove macro.
3720 (NO_INLINE): Likewise.
3721 (fn1): Use match function instead of strstr.
3722 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3723 (ret): Remove variable.
3724 (x): Likewise.
3725 (FAIL): Remove macro.
3726 (NO_INLINE): Likewise.
3727 (fn): Use match function instead of strstr.
3728 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3729 (ret): Remove variable.
3730 (x): Likewise.
3731 (FAIL): Remove macro.
3732 (NO_INLINE): Likewise.
3733 (handle_signal): Use match function instead of strstr.
3734 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3735 (ret): Remove variable.
3736 (x): Likewise.
3737 (FAIL): Remove macro.
3738 (NO_INLINE): Likewise.
3739 (handle_signal): Use match function instead of strstr.
3740
4858fa2a
RM
37412013-01-23 Roland McGrath <roland@hack.frob.com>
3742
3743 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3744
bae8e7f5
DM
37452013-01-23 David S. Miller <davem@davemloft.net>
3746
3747 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3748 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3749 argument of CAS if possible.
3750 * sysdeps/sparc/sparc64/bits/atomic.h
3751 (__arch_compare_and_exchange_val_32_acq): Likewise.
3752 (__arch_compare_and_exchange_val_64_acq): Likewise.
3753
9cbbc4ae
PT
37542013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3755
3756 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3757 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3758 Include <limits.h>.
67b3f58c 3759 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3760
5655a0b5
AC
37612013-01-23 Adam Conrad <adconrad@0c3.net>
3762
3763 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3764 (LDFLAGS-tst-array5): Likewise.
3765
052aff95
JM
37662013-01-23 Joseph Myers <joseph@codesourcery.com>
3767
3768 [BZ #15036]
3769 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3770 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3771 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3772 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3773
7c1e01aa
DM
37742013-01-21 David S. Miller <davem@davemloft.net>
3775
3776 * sysdeps/sparc/backtrace.c: New file.
3777 * sysdeps/sparc/sparc32/backtrace.h: New file.
3778 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3779 * sysdeps/sparc/sparc64/backtrace.h: New file.
3780 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3781 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3782 -funwind-tables.
3783
ab087e0a
AS
37842013-01-21 Andreas Schwab <schwab@suse.de>
3785
3786 [BZ #15020]
3787 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3788 closed its stdout.
3789
ed689c2f
AS
37902013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3791
3792 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3793 "mpa2.h".
3794 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3795
31d470ac
JM
37962013-01-18 Joseph Myers <joseph@codesourcery.com>
3797 Mark Mitchell <mark@codesourcery.com>
3798 Tom de Vries <tom@codesourcery.com>
3799 Paul Pluzhnikov <ppluzhnikov@google.com>
3800
3801 * debug/tst-backtrace2.c: New file.
3802 * debug/tst-backtrace3.c: Likewise.
3803 * debug/tst-backtrace4.c: Likewise.
3804 * debug/tst-backtrace5.c: Likewise.
3805 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3806 (CFLAGS-tst-backtrace3.c): Likewise.
3807 (CFLAGS-tst-backtrace4.c): Likewise.
3808 (CFLAGS-tst-backtrace5.c): Likewise.
3809 (LDFLAGS-tst-backtrace2): Likewise.
3810 (LDFLAGS-tst-backtrace3): Likewise.
3811 (LDFLAGS-tst-backtrace4): Likewise.
3812 (LDFLAGS-tst-backtrace5): Likewise.
3813 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3814 tst-backtrace4 and tst-backtrace5.
3815
90567f30 38162013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3817 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3818
3819 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3820 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3821 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3822 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3824 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3825 "+r" and remove output regs list as redundant. Add explicit inline
3826 asm to specify register of return val to work around compiler codegen
3827 bug. Remove (int) cast on return value. Add return type parameter to
3828 use in macro so that this macro does not truncate return value for
3829 64-bit values.
3830 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3831 pass to INTERNAL_VSYSCALL_NCS.
3832 (INLINE_VSYSCALL): Add 'long int' as return type to
3833 INTERNAL_VSYSCALL_NCS macro invocation.
3834 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3835 INTERNAL_VSYSCALL_NCS macro invocation.
3836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3837
d3b9ea61
SP
38382013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3839
0b57daeb
SP
3840 [BZ #14496]
3841 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3842 Fix application of SIMD FP exception mask.
3843
caa99d06
SP
3844 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3845 mp_no from a power of two.
3846 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3847 __mpexp_twomm1. Use __pow_mp.
3848
d3b9ea61
SP
3849 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3850 multiplication.
3851
1dbaee3c
DM
38522013-01-17 David S. Miller <davem@davemloft.net>
3853
3854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3855
728d7b43
JM
38562013-01-17 Joseph Myers <joseph@codesourcery.com>
3857
3858 [BZ #15023]
3859 * include/complex.h: Condition contents on [!_COMPLEX_H].
3860 (__kernel_casinhf): New prototype.
3861 (__kernel_casinh): Likewise.
3862 (__kernel_casinhl): Likewise.
3863 * math/Makefile (libm_calls): Add k_casinh.
3864 * math/k_casinh.c: New file.
3865 * math/k_casinhf.c: Likewise.
3866 * math/k_casinhl.c: Likewise.
3867 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3868 finite nonzero arguments.
3869 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3870 finite nonzero arguments.
3871 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3872 finite nonzero arguments.
3873 * math/s_casinh.c: Do not include <float.h>.
3874 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3875 * math/s_casinhf.c: Do not include <float.h>.
3876 (__casinhf): Move code for finite nonzero arguments to
3877 k_casinhf.c.
3878 * math/s_casinhl.c: Do not include <float.h>.
3879 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3880 redefine.
3881 (__casinhl): Move code for finite nonzero arguments to
3882 k_casinhl.c.
3883 * math/libm-test.inc (cacos_test): Add more tests.
3884 * sysdeps/i386/fpu/libm-test-ulps: Update.
3885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3886
2a26ef3a
PT
38872013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3888
3889 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3890 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3891 [!HAVE_MREMAP]: Remove [defined linux] case.
3892 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3893
a897655d
SP
38942013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3895
3896 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3897
881ebe89 38982013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3899
3900 * elf/elf.h (R_386_SIZE32): New relocation.
3901 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3902 R_386_SIZE32.
3903 (elf_machine_rela): Likewise.
3904 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3905 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3906
59981e9b
JM
39072013-01-17 Joseph Myers <joseph@codesourcery.com>
3908
3909 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3910 (FP_FAST_FMA): Do not define.
3911 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3912 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3913 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3914 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3915 !_SOFT_FLOAT]: Likewise.
3916 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3917 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3918 value.
3919 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3920 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3921 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3922 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3923 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3924 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3925 file.
3926
cfa8054f
AS
39272013-01-16 Andreas Schwab <schwab@suse.de>
3928
3929 [BZ #14327]
3930 * include/stdlib.h (__mktemp): Add declaration.
3931 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3932 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3933
dd930cc5
SP
39342013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3935
881ebe89
SP
3936 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3937 definitions.
3938 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3939 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3940 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3941 definitions here.
3942 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3943 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3944 definitions.
3945 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3946 and ONE.
3947 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3948 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3949 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3950 definitions.
3951 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3952 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3953 definitions.
3954 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3955
dd930cc5
SP
3956 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3957
c19a9f89
DM
39582013-01-15 David S. Miller <davem@davemloft.net>
3959
1aa61767
DM
3960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3961 trunc{,f} to libm-sysdep_routes.
3962 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3964 file.
3965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3967 file.
3968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3969 file.
3970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3972 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3973 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3974 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3975 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3976 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3977 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3978
c42d5e98
DM
3979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3980 nearbyint{,f} to libm-sysdep_routes.
3981 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3983 New file.
3984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3985 file.
3986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3987 New file.
3988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3989 file.
3990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3992 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3993 file.
3994 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3995 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3996 file.
3997 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3998 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3999 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4000
c19a9f89
DM
4001 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4002 libc_feholdexcept and libc_fesetenv.
4003
357679d2
MF
40042013-01-15 Mike Frysinger <vapier@gentoo.org>
4005
4006 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4007
65a82e3d
DM
40082013-01-14 David S. Miller <davem@davemloft.net>
4009
8b954ab9
DM
4010 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4011 (SPARC_ASM_VIS2_IFUNC): Likewise.
4012 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4014 use of 'siam' instruction.
4015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4016 Likewise.
4017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4018 Likewise.
4019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4020 Likewise.
4021 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4022 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4026 file.
4027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4028 file.
4029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4030 file.
4031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4032 file.
4033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4035 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4036 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4038 new VIS2 routines.
4039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4042 Likewise.
4043 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4046 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4048 routines to libm-sysdep_routines.
4049 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4050
65a82e3d
DM
4051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4052 fdim/fdimf to libm-sysdep_routines.
4053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4054 file.
4055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4057 file.
4058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4061 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4062 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4063 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4064 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4065
e34ab705
SP
40662013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4067
2a91b573
SP
4068 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4069 to optimize copies.
4070
1066a534
SP
4071 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4072 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4074
e34ab705
SP
4075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4076 local variable MPTWO.
4077 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4078 Likewise.
4079
aba5e596
MF
40802013-01-13 Mike Frysinger <vapier@gentoo.org>
4081
4082 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4083 GLOB_NOESCAPE.
4084
e557e9e5
MF
40852013-01-13 Mike Frysinger <vapier@gentoo.org>
4086
4087 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4088
0428cec9
MF
40892013-01-13 Mike Frysinger <vapier@gentoo.org>
4090
4091 * manual/pattern.texi (glob_t): Document gl_flags.
4092 (glob64_t): Likewise.
4093
8794a964
DM
40942013-01-11 David S. Miller <davem@davemloft.net>
4095
66438c3f
RM
4096 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4097 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4098 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4099 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4100 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4101 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4102 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4103 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4104 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4105 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4106 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4107 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4108 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4109
4ae4244d
DM
4110 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4111 sparc V9 rather than using V8 code.
4112 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4113 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4114
8794a964
DM
4115 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4116 Move to...
4117 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4118 Here.
4119
6270516e
RM
41202013-01-11 Roland McGrath <roland@hack.frob.com>
4121
4122 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4123 not in the main loop.
4124 * configure: Regenerated.
4125
6a57d931
JM
41262013-01-11 Joseph Myers <joseph@codesourcery.com>
4127
4128 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4129 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4130 to just #else.
4131 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4132 [!__GLIBC_HAVE_LONG_LONG] case.
4133 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4134 condition to just #else.
4135 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4136 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4137 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4138 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4139 unconditional.
4140 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4141 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4142 #elif condition to just #else.
4143 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4144 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4145 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4146 #elif condition to just #else.
4147
0e8529e9
SE
41482013-01-11 Steve Ellcey <sellcey@mips.com>
4149
4150 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4151 (EF_MIPS_ARCH_64): Fix value.
4152 (EF_MIPS_ARCH_32R2): New.
4153 (EF_MIPS_ARCH_64R2): New.
4154
740b3dbe
L
41552013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4156
4157 * Makeconfig (+link-pie-before-libc): New.
4158 (+link-pie-after-libc): Likewise.
4159 (+link-pie-tests): Likewise.
4160 (+link-pie): Rewritten.
4161 (link-before-libc): Remove $(config-LDFLAGS).
4162 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4163 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4164 (config-LDFLAGS): Renamed to ...
4165 (rtld-LDFLAGS): This.
4166 (rtld-tests-LDFLAGS): New macro.
4167 (link-libc-rpath-link): Likewise.
4168 (link-libc-tests-rpath-link): Likewise.
4169 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4170 (link-libc): Prepand $(link-libc-rpath-link).
4171 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4172 (test-program-prefix): New macro.
4173 (test-via-rtld-prefix): Likewise.
4174 (test-program-cmd): Likewise.
4175 (host-test-program-cmd): Likewise.
4176 * Makefile ($(common-objpfx)testrun.sh): Replace
4177 $(run-program-prefix) with $(test-program-prefix).
4178 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4179 $(rtld-LDFLAGS).
4180 ($(common-objpfx)shlib.lds): Likewise.
4181 (build-module-helper): Likewise.
4182 ($(common-objpfx)format.lds): Likewise.
4183 * Rules (binaries-pie-tests): New.
4184 (binaries-pie-notests): Likewise.
4185 (binaries-pie): Rewritten.
4186 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4187 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4188 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4189 (make-test-out): Replace $(host-built-program-cmd) with
4190 $(host-test-program-cmd).
4191 * config.make.in (build-hardcoded-path-in-tests): New variable.
4192 * configure.in (--enable-hardcoded-path-in-tests): New configure
4193 option.
4194 (hardcoded_path_in_tests): New AC_SUBST.
4195 * configure: Regenerated.
4196 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4197 $(built-program-cmd) with $(test-program-cmd).
4198 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4199 (test_program_cmd): This.
4200 * elf/Makefile ($(objpfx)order.out): Run test with
4201 $(test-program-prefix).
4202 ($(objpfx)order2.out): Likewise.
4203 ($(objpfx)tst-initorder.out): Likewise.
4204 ($(objpfx)tst-initorder2.out): Likewise.
4205 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4206 $(test-program-cmd).
4207 ($(objpfx)tst-array1-static.out): Likewise.
4208 ($(objpfx)tst-array2.out): Likewise.
4209 ($(objpfx)tst-array3.out): Likewise.
4210 ($(objpfx)tst-array4.out): Likewise.
4211 ($(objpfx)tst-array5.out): Likewise.
4212 ($(objpfx)tst-array5-static.out): Likewise.
4213 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4214 $(test-program-cmd).
4215 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4216 $(run-program-prefix) with $(test-program-prefix).
4217 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4218 (test_program_prefix): This.
4219 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4220 $(run-program-prefix) with $(test-program-prefix).
4221 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4222 (test_program_prefix): This.
4223 * iconvdata/tst-tables.sh: Likewise.
4224 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4225 $(run-program-prefix) with $(test-program-prefix).
4226 ($(objpfx)tst-translit.out): Likewise.
4227 ($(objpfx)tst-gettext2.out): Likewise.
4228 ($(objpfx)tst-gettext4.out): Likewise.
4229 ($(objpfx)tst-gettext6.out): Likewise.
4230 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4231 (test_program_prefix): This.
4232 * intl/tst-gettext2.sh: Likewise.
4233 * intl/tst-gettext4.sh Likewise.
4234 * intl/tst-gettext6.sh: Likewise.
4235 * intl/tst-translit.sh: Likewise.
4236 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4237 with $(test-program-cmd).
4238 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4239 $(run-program-prefix) with $(test-program-prefix).
4240 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4241 (test_program_prefix): This.
4242 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4243 $(run-program-prefix) with $(test-program-prefix).
4244 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4245 (test_program_prefix): This.
4246 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4247 * posix/Makefile ($(objpfx)globtest.out): Replace
4248 $(run-via-rtld-prefix) and $(test-wrapper) with
4249 $(test-program-prefix) and $(test-via-rtld-prefix).
4250 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4251 $(test-program-prefix).
4252 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4253 $(host-test-program-cmd).
4254 (tst-spawn-ARGS): Likewise.
4255 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4256 $(test-program-prefix).
4257 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4258 (test_via_rtld_prefix): This.
4259 (test_wrapper): Renamed to ...
4260 (test_program_prefix): This.
4261 (run_program_prefix): Replaced by test_program_prefix.
4262 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4263 (test_program_prefix): This.
4264 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4265 with $(host-test-program-cmd).
4266 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4267 $(run-program-prefix) with $(test-program-prefix).
4268 ($(objpfx)tst-printf.out): Likewise.
4269 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4270 $(test-program-cmd).
4271 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4272 (test_program_prefix): This.
4273 * stdio-common/tst-unbputc.sh: Likewise.
4274 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4275 $(run-program-prefix) with $(test-program-prefix).
4276 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4277 (test_program_prefix): This.
4278 * string/Makefile ($(objpfx)tst-svc.out): Replace
4279 $(built-program-cmd) with $(test-program-cmd).
4280
c6fe55cf
AJ
42812013-01-11 Andreas Jaeger <aj@suse.de>
4282
4283 [BZ #15003]
4284 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4285 value. Sync with Linux 3.7.
4286
9e6919c8
DM
42872013-01-10 David S. Miller <davem@davemloft.net>
4288
4289 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4290 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4291 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4292
1c9f1a02
RM
42932013-01-10 Roland McGrath <roland@hack.frob.com>
4294
4295 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4296 never set.
4297 * configure: Regenerated.
4298
b9de2dde
DM
42992013-01-10 David S. Miller <davem@davemloft.net>
4300
4301 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4302 sparc V9 rather than using V8 code.
4303 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4304 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4305
e7f68ef4
RM
43062013-01-10 Roland McGrath <roland@hack.frob.com>
4307
4308 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4309 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4310 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4311 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4312 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4313 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4314 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4315 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4316 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4317 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4318 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4319 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4320 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4321 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4322 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4323 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4324 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4325 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4326 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4327 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4328 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4329 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4330 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4331 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4332 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4333 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4334 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4335
5a47cc9c
DM
43362013-01-10 David S. Miller <davem@davemloft.net>
4337
4338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4339
4cf8f209
L
43402013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4341
4342 * posix/Makefile (tests-static): New variable.
4343 (tests): Add $(tests-static).
4344 (tst-exec-static-ARGS): New variable.
4345 (tst-spawn-static-ARGS): Likewise.
4346 * posix/tst-exec-static.c: New file.
4347 * posix/tst-spawn-static.c: Likewise.
4348 * posix/tst-exec.c: Support run directly.
4349 * posix/tst-spawn.c: Likewise.
4350
fed0faa1
JM
43512013-01-10 Joseph Myers <joseph@codesourcery.com>
4352
828beb13
JM
4353 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4354 long.
4355 * math/bits/mathcalls.h (llrint): Likewise.
4356 (llround): Likewise.
4357 * stdlib/stdlib.h (struct drand48_data): Likewise.
4358 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4359 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4360 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4361 Likewise.
4362 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4363 Likewise.
4364 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4365 (elf_greg_t): Likewise.
4366 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4367 (__jmp_buf): Likewise.
4368 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4369 definitions.
4370 (llrint): Likewise, for all definitions.
4371 (llrintl): Likewise.
4372
fed0faa1
JM
4373 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4374 Remove [__GNUC__] condition.
4375 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4376 condition to just [__USE_ISOC99].
4377 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4378
1a20cb20
L
43792013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4380
4381 [BZ #14200]
4382 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4383 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4384 defined.
4385 (_POSIX_V6_ILP32_OFF32): Likewise.
4386 (_XBS5_ILP32_OFF32): Likewise.
4387 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4388 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4389
751b85f7
SP
43902013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4391
7490eb81
SP
4392 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4393
751b85f7
SP
4394 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4395 doubles __mpexp_twomm1. Adjust usage.
4396 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4397 Remove.
4398
988197f0
AS
43992013-01-10 Andreas Schwab <schwab@suse.de>
4400
4401 [BZ #14964]
4402 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4403 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4404
e83d7298
DM
44052013-01-09 David S. Miller <davem@davemloft.net>
4406
034ed64b 4407 [BZ #15003]
e83d7298
DM
4408 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4409 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4410 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4411 TCP_FASTOPEN): Define.
4412 (tcp_repair_opt): New structure.
4413 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4414 enum values.
4415 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4416 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4417 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4418 (tcp_cookie_transactions): New structure.
4419
d5e0b9bd
AB
44202013-01-09 Anton Blanchard <anton@samba.org>
4421
4422 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4423 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4424 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4425 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4426
0c07e3ea
JM
44272013-01-09 Joseph Myers <joseph@codesourcery.com>
4428
4429 * include/features.h (__USE_ANSI): Remove.
4430
232f7002
RM
44312013-01-09 Roland McGrath <roland@hack.frob.com>
4432
ad98e30c
RM
4433 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4434
232f7002
RM
4435 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4436
950c99ca
SP
44372013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4438
b5792741
SP
4439 * sysdeps/s390/fpu/libm-test-ulps: Update.
4440
47cf2278
SP
4441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4442
950c99ca
SP
4443 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4444 (__acr): Likewise.
4445 (__cpy): Likewise.
4446 (norm): Likewise.
4447 (denorm): Likewise.
4448 (__mp_dbl): Likewise.
4449 (__dbl_mp): Likewise.
4450 (add_magnitudes): Likewise.
4451 (sub_magnitudes): Likewise.
4452 (__add): Likewise.
4453 (__sub): Likewise.
4454 (__mul): Likewise.
4455 (__inv): Likewise.
4456 (__dvd): Likewise.
4457 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4458 (__acr): Likewise.
4459 (__cpy): Likewise.
4460 (norm): Likewise.
4461 (denorm): Likewise.
4462 (__mp_dbl): Likewise.
4463 (__dbl_mp): Likewise.
4464 (add_magnitudes): Likewise.
4465 (sub_magnitudes): Likewise.
4466 (__add): Likewise.
4467 (__sub): Likewise.
4468 (__mul): Likewise.
4469 (__inv): Likewise.
4470 (__dvd): Likewise.
4471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4472 (__acr): Likewise.
4473 (__cpy): Likewise.
4474 (norm): Likewise.
4475 (denorm): Likewise.
4476 (__mp_dbl): Likewise.
4477 (__dbl_mp): Likewise.
4478 (add_magnitudes): Likewise.
4479 (sub_magnitudes): Likewise.
4480 (__add): Likewise.
4481 (__sub): Likewise.
4482 (__mul): Likewise.
4483 (__inv): Likewise.
4484 (__dvd): Likewise.
4485
eede9df9
JM
44862013-01-08 Joseph Myers <joseph@codesourcery.com>
4487
4488 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4489 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4490 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4491 2 && __USE_EXTERN_INLINES]: Likewise.
4492
c40ea3d9
AJ
44932013-01-08 Andreas Jaeger <aj@suse.de>
4494
4495 [BZ# 14985]
4496 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4497 Remove.
4498 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4499 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4500
2ccdea26
AB
45012013-01-07 Anton Blanchard <anton@samba.org>
4502
4503 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4504 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4505 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4506 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4507 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4508 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4509 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4510 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4512 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4513 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4514 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4515 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4516 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4517 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4518 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4519 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4520 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4521 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4522 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4523 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4524 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4525 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4526 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4527 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4528 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4529 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4530 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4531 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4532 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4533 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4534 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4535 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4536 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4537 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4538 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4539 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4540 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4541 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4542 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4543 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4544 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4545 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4546
a9708fed
JM
45472013-01-07 Joseph Myers <joseph@codesourcery.com>
4548
375607b9
JM
4549 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4550 (__MALLOC_PMT): Likewise.
4551 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4552 [__GNUC__], only on [_LIBC].
4553 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4554 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4555 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4556 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4557 forward declaration.
4558 (realloc_hook_ini): Likewise.
4559 (memalign_hook_ini): Likewise.
4560 (__libc_memalign): Do not use __MALLOC_PMT in variable
4561 declaration.
4562 (__libc_valloc): Likewise.
4563 (__libc_pvalloc): Likewise.
4564 (__libc_calloc): Likewise.
4565 (__posix_memalign): Likewise.
4566
a9708fed
JM
4567 [BZ #14996]
4568 * math/s_casinh.c: Include <float.h>.
4569 (__casinh): Do not do computation with squaring and square root
4570 for large arguments.
4571 * math/s_casinhf.c: Include <float.h>.
4572 (__casinhf): Do not do computation with squaring and square root
4573 for large arguments.
4574 * math/s_casinhl.c: Include <float.h>.
4575 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4576 (__casinhl): Do not do computation with squaring and square root
4577 for large arguments.
4578 * math/libm-test.inc (casin_test): Add more tests.
4579 (casinh_test): Likewise.
4580 * sysdeps/i386/fpu/libm-test-ulps: Update.
4581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4582
afec409a
L
45832013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4584
4585 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4586 (__x86_64_raw_data_cache_size): Likewise.
4587 (__x86_64_data_cache_size_half): Likewise.
4588 (__x86_64_raw_data_cache_size_half): Likewise.
4589 (__x86_64_shared_cache_size): Likewise.
4590 (__x86_64_raw_shared_cache_size): Likewise.
4591 (__x86_64_shared_cache_size_half): Likewise.
4592 (__x86_64_raw_shared_cache_size_half): Likewise.
4593 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4594 to ...
4595 (__x86_data_cache_size): This.
4596 (__x86_64_raw_data_cache_size): Renamed to ...
4597 (__x86_raw_data_cache_size): This.
4598 (__x86_64_data_cache_size_half): Renamed to ...
4599 (__x86_data_cache_size_half): This.
4600 (__x86_64_raw_data_cache_size_half): Renamed to ...
4601 (__x86_raw_data_cache_size_half): This.
4602 (__x86_64_shared_cache_size): Renamed to ...
4603 (__x86_shared_cache_size): This.
4604 (__x86_64_raw_shared_cache_size): Renamed to ...
4605 (__x86_raw_shared_cache_size): This.
4606 (__x86_64_shared_cache_size_half): Renamed to ...
4607 (__x86_shared_cache_size_half): This.
4608 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4609 (__x86_raw_shared_cache_size_half): This.
4610 * sysdeps/x86_64/memcpy.S: Updated.
4611 * sysdeps/x86_64/memset.S: Likewise.
4612 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4613 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4614 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4615
0b3986d0
DM
46162013-01-04 David S. Miller <davem@davemloft.net>
4617
4618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4619
e47686e9
AS
46202013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4621
d643bac1
AS
4622 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4623 1 to avoid redefinition warning.
4624 (__USE_GNU): Don't define.
4625 (init_signaling_nan): Protoize.
4626
e47686e9
AS
4627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4628
b18decba
SP
46292013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4630
fffb407f
SP
4631 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4632 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4633 (__cpymn): Likewise.
4634 (norm): Remove commented code.
4635 (denorm): Likewise.
4636 (__mp_dbl): Likewise.
4637 (__inv): Likewise.
4638 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4639 (__cpymn): Likewise.
4640 (norm): Remove commented code.
4641 (denorm): Likewise.
4642 (__mp_dbl): Likewise.
4643 (__inv): Likewise.
4644
b18decba
SP
4645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4646 mp_no value for 1.0 and 2.0.
4647 (norm): Use RADIXI instead of radixi.d.
4648 (denorm): Likewise.
4649 (__mul): Use 0.0 instead of zero.d.
4650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4651 mp_no value for 1.0 and 2.0.
4652 (norm): Use RADIXI instead of radixi.d.
4653 (denorm): Likewise.
4654 (__mul): Use 0.0 instead of zero.d.
4655
cdc1c96f
JM
46562013-01-04 Joseph Myers <joseph@codesourcery.com>
4657
4658 [BZ #14994]
4659 * math/s_casinh.c (__casinh): Reduce finite argument to first
4660 quadrant then set signs of results at the end.
4661 * math/s_casinhf.c (__casinhf): Likewise.
4662 * math/s_casinhl.c (__casinhl): Likewise.
4663 * math/libm-test.inc (casin_test): Add more tests.
4664 (casinh_test): Likewise.
4665 * sysdeps/i386/fpu/libm-test-ulps: Update.
4666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4667
302913e1
SP
46682013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4669
6420d207
SP
4670 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4671
a9e48ab4
SP
4672 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4673
b7837264
SP
4674 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4675 declarations.
4676 (denorm): Likewise.
4677 (__mp_dbl): Likewise.
4678 (__inv): Likewise.
4679
f8af25d2
SP
4680 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4681 and adjust the header comment.
4682
302913e1
SP
4683 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4684 variable name from declaration.
4685
5d7dd1ca
L
46862013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4687
4688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4689 Initialize COMMON_CPUID_INDEX_7 element.
4690 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4691 (CPUID_RTM): Likewise.
4692 (HAS_RTM): Likewise.
4693 (COMMON_CPUID_INDEX_7): New enum.
4694
2f5f40f4
AS
46952013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4696
4697 [BZ #14981]
4698 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4699 size is zero, record memory as freed.
4700
4056f4a0
AJ
47012013-01-03 Andreas Jaeger <aj@suse.de>
4702
4703 * po/ia.po: Add new Interlingua translation.
4704
ab15736f 47052012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4706
4707 * locale/programs/localedef.c: Fix description of '--posix' flag.
4708
568035b7
JM
47092013-01-02 Joseph Myers <joseph@codesourcery.com>
4710
e6898b8d
JM
4711 * NEWS: Update dates in second copyright notice.
4712 * README: Update copyright dates in example.
4713 * manual/libc.texinfo: Update copyright dates.
4714 * scripts/test-installation.pl: Update copyright date in --version
4715 output.
4716
0e2f9562
JM
4717 * hurd/ctty-input.c: Fix copyright notice formatting.
4718 * hurd/ctty-output.c: Likewise.
4719 * hurd/dtable.c: Likewise.
4720 * hurd/hurd-raise.c: Likewise.
4721 * hurd/hurdprio.c: Likewise.
4722 * hurd/msgportdemux.c: Likewise.
4723 * misc/sys/file.h: Likewise.
4724 * misc/sys/ioctl.h: Likewise.
4725 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4726 * sysdeps/mach/hurd/chdir.c: Likewise.
4727 * sysdeps/mach/hurd/fchdir.c: Likewise.
4728 * sysdeps/mach/hurd/rename.c: Likewise.
4729 * sysdeps/mach/hurd/rmdir.c: Likewise.
4730 * sysdeps/mach/hurd/seekdir.c: Likewise.
4731 * sysdeps/mach/hurd/setsid.c: Likewise.
4732 * sysdeps/posix/wait3.c: Likewise.
4733
568035b7
JM
4734 * All files with FSF copyright notices: Update copyright dates
4735 using scripts/update-copyrights.
4736 * intl/plural.c: Regenerated.
4737 * locale/programs/charmap-kw.h: Likewise.
4738 * locale/programs/locfile-kw.h: Likewise.
4739
da08f647
SP
47402013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4741
0f5477af
SP
4742 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4743 four values.
4744
44e0d4c2
SP
4745 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4746 calculation loop and add branch prediction.
4747
4d55b4e5
SP
4748 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4749 check access beyond bounds of m1np.
4750
da08f647
SP
4751 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4752 MPTWO.
4753 (__inv): Remove local variable MPTWO to use the global
4754 constant.
4755 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4756 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4757 variable MPTWO.
4758 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4759 MP3HALFS static const.
4760
8e051029
DM
47612013-01-01 David S. Miller <davem@davemloft.net>
4762
4763 * po/ca.po: Update from translation team.
4764
f4cf5f2d
JM
47652013-01-01 Joseph Myers <joseph@codesourcery.com>
4766
4767 * scripts/update-copyrights: New file.
4768 * Makeconfig: Reformat copyright notice.
4769 * ctype/ctype.h: Likewise.
4770 * debug/swprintf_chk.c: Likewise.
4771 * elf/dl-cache.c: Likewise.
4772 * elf/dl-debug.c: Likewise.
4773 * elf/dl-object.c: Likewise.
4774 * grp/initgroups.c: Likewise.
4775 * hurd/Makefile: Likewise.
4776 * hurd/hurd/signal.h: Likewise.
4777 * hurd/hurdfault.c: Likewise.
4778 * hurd/hurdioctl.c: Likewise.
4779 * hurd/hurdlookup.c: Likewise.
4780 * hurd/intr-msg.c: Likewise.
4781 * iconv/gconv_open.c: Likewise.
4782 * libio/swprintf.c: Likewise.
4783 * locale/lc-ctype.c: Likewise.
4784 * locale/nl_langinfo.c: Likewise.
4785 * mach/Machrules: Likewise.
4786 * mach/Makefile: Likewise.
4787 * malloc/obstack.h: Likewise.
4788 * manual/Makefile: Likewise.
4789 * manual/tsort.awk: Likewise.
4790 * misc/bits/stab.def: Likewise.
4791 * nis/nis_print_group_entry.c: Likewise.
4792 * nis/nis_table.c: Likewise.
4793 * nis/nss_compat/compat-pwd.c: Likewise.
4794 * nis/nss_compat/compat-spwd.c: Likewise.
4795 * po/Makefile: Likewise.
4796 * posix/fnmatch.c: Likewise.
4797 * posix/regex.h: Likewise.
4798 * resolv/Makefile: Likewise.
4799 * resolv/nss_dns/dns-network.c: Likewise.
4800 * resolv/res_hconf.c: Likewise.
4801 * scripts/gen-sorted.awk: Likewise.
4802 * soft-fp/soft-fp.h: Likewise.
4803 * stdio-common/printf.h: Likewise.
4804 * stdlib/monetary.h: Likewise.
4805 * stdlib/random.c: Likewise.
4806 * stdlib/random_r.c: Likewise.
4807 * sysdeps/generic/Makefile: Likewise.
4808 * sysdeps/gnu/Makefile: Likewise.
4809 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4810 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4811 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4812 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4813 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4814 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4815 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4816 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4817 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4818 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4819 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4820 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4821 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4822 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4823 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4824 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4825 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4826 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4827 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4828 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4829 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4830 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4831 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4832 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4833 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4834 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4835 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4836 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4837 * sysdeps/mach/hurd/errnos.awk: Likewise.
4838 * sysdeps/mach/hurd/fork.c: Likewise.
4839 * sysdeps/mach/hurd/getcwd.c: Likewise.
4840 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4841 * sysdeps/mach/hurd/mmap.c: Likewise.
4842 * sysdeps/mach/hurd/utimes.c: Likewise.
4843 * sysdeps/mach/hurd/xmknod.c: Likewise.
4844 * sysdeps/posix/profil.c: Likewise.
4845 * sysdeps/posix/readdir_r.c: Likewise.
4846 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4847 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4848 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4849 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4851 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4852 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4853 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4855 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4856 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4857 * sysdeps/pthread/lio_listio.c: Likewise.
4858 * sysdeps/sparc/dl-procinfo.h: Likewise.
4859 * sysdeps/unix/i386/sysdep.S: Likewise.
4860 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4861 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4862 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4863 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4865 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4866 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4867 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4868 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4869 * sysdeps/wordsize-32/divdi3.c: Likewise.
4870 * time/sys/time.h: Likewise.
4871 * wcsmbs/Makefile: Likewise.
4872
0549fbba
DM
48732013-01-01 David S. Miller <davem@davemloft.net>
4874
a141f1a7
DM
4875 * po/fr.po: Update from translation team.
4876
0549fbba
DM
4877 * catgets/gencat.c: Update copyright year.
4878 * csu/version.c: Likewise.
4879 * debug/catchsegv.sh: Likewise.
4880 * debug/pcprofiledump.c: Likewise.
4881 * debug/xtrace.sh: Likewise.
4882 * elf/ldconfig.c: Likewise.
4883 * elf/ldd.bash.in: Likewise.
4884 * elf/pldd.c: Likewise.
4885 * elf/sotruss.ksh: Likewise.
4886 * elf/sprof.c: Likewise.
4887 * iconv/iconv_prog.c: Likewise.
4888 * iconv/iconvconfig.c: Likewise.
4889 * locale/programs/locale.c: Likewise.
4890 * locale/programs/localedef.c: Likewise.
4891 * login/programs/pt_chown.c: Likewise.
4892 * malloc/memusage.sh: Likewise.
4893 * malloc/memusagestat.c: Likewise.
4894 * malloc/mtrace.pl: Likewise.
4895 * nscd/nscd.c: Likewise.
4896 * nss/getent.c: Likewise.
4897 * nss/makedb.c: Likewise.
4898 * posix/getconf.c: Likewise.
4899
18ea052c
SP
49002012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4901
4902 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4903 numbers.
4904
9c89fca6
MF
49052012-12-30 Mike Frysinger <vapier@gentoo.org>
4906
4907 * math/bits/mathcalls.h (modf): Use __nonnull.
4908
085ec079
SP
49092012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4910
4911 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4912 (split): Use macro CN instead of the bare value.
4913 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4914 could be used.
4915 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4916 instead of the bare value.
4917 (power1): Likewise.
4918
6d9f97e1
SP
49192012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4920
d63f73be
SP
4921 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4922 __ATAN_TWOM.
4923 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4924
6d9f97e1
SP
4925 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4926 their values.
4927 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4928 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4929 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4930 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4931
4c4febf5
AJ
49322012-12-28 Andreas Jaeger <aj@suse.de>
4933
af5843ef
AJ
4934 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4935 values are from Linux 3.7.
4936
4c4febf5
AJ
4937 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4938 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4939
99136f82
SP
49402012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4941
2f216c3c 4942 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4943 TRUE case.
4944
99136f82
SP
4945 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4946 (norm): Likewise.
4947 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4948 variables with preprocessor constants.
4949 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4950 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4951 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4952
7fffbdff
BH
49532012-12-27 Bruno Haible <bruno@clisp.org>
4954
4955 [BZ #14317]
4956 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4957 only if needed.
4958
b76eb5f0
SP
49592012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4960
31a7fe5c
SP
4961 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4962 and use variable directly.
4963 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4964
b76eb5f0
SP
4965 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4966 MPONE.
4967 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4968 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4969 variable MPONE.
4970 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4971 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4972 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4973 include directive. Remove local variable MPONE.
4974 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4975 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4976 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4977
2c8bfe7d
DM
49782012-12-25 David S. Miller <davem@davemloft.net>
4979
4980 * version.h (RELEASE): Set to "development".
4981 (VERSION): Set to "2.17.90".
4982 * NEWS: Add 2.18 section.
4983
147d03b0
DM
49842012-12-21 David S. Miller <davem@davemloft.net>
4985
4986 * po/hr.po: Update from translation team.
4987
a8ebb2b9
AK
49882012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4989
4990 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4991
95b4f1b6
SE
49922012-12-19 Steve Ellcey <sellcey@mips.com>
4993
b2d94007 4994 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4995
cedb2a90
MS
49962012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4997
4998 * manual/contrib.texi (Contributors): Spelling correction.
4999
bbf527d6
DM
50002012-12-15 David S. Miller <davem@davemloft.net>
5001
5002 * po/ru.po: Update from translation team.
5003
bc38c906
DM
50042012-12-13 David S. Miller <davem@davemloft.net>
5005
85429b1a
DM
5006 * NEWS: Mention IFUNC testsuite enhancements.
5007
d283e353
DM
5008 * po/pl.po: Update from translation team.
5009 * po/bg.po: Likewise.
5010
bc38c906
DM
5011 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5012 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5013
a181b0d7
DM
50142012-12-11 David S. Miller <davem@davemloft.net>
5015
4641d57e
DM
5016 * po/sv.po: Update from translation team.
5017
f7bc6495
DM
5018 * po/vi.po: Update from translation team.
5019
6fc9048f
DM
5020 * po/cs.po: Update from translation team.
5021
a181b0d7
DM
5022 * po/de.po: Update from translation team.
5023 * po/eo.po: Likewise.
5024 * po/nl.po: Likewise.
5025
f70bfe80
SP
50262012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5027
3c8b4190
SP
5028 [BZ #14246]
5029 * manual/argp.texi (Argp Helper Functions): Move node to follow
5030 Argp Parsing State.
5031
f70bfe80
SP
5032 [BZ #14872]
5033 * manual/conf.texi (Limits on File System Capacity): Mention if
5034 terminating null is included in the max size.
5035
188f0adf
AJ
50362012-12-10 Andreas Jaeger <aj@suse.de>
5037
5038 * po/cs.po: Update from translation team.
5039
56e7d3ad
SP
50402012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5041
5042 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5043 void pointer and cast to uintptr_t.
5044 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5045 path.
5046 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5047 * sysdeps/s390/s390-64/memset.S: Likewise.
5048
76f2d2ea 50492012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5050
5051 [BZ #14833]
5052 * menual/message.texi (Message Translation): Fix typos.
5053 (Helper programs for gettext): Likewise.
5054
67cbf9a2
AS
50552012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5056
5057 [BZ #14898]
5058 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5059 Change to -1.
5060
682d0e9a
DM
50612012-12-07 David S. Miller <davem@davemloft.net>
5062
5063 * po/libc.pot: Update.
5064
573cd484
RH
50652012-12-07 Richard Henderson <rth@redhat.com>
5066
7e9da188 5067 [BZ #10114]
573cd484
RH
5068 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5069 normal/normal case to before the switch.
5070 (_FP_DIV): Likewise.
5071
e933a943
MF
50722012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5073 Mike Frysinger <vapier@gentoo.org>
5074
5075 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5076 check for __NR_fadvise64_64.
5077
82123268
CM
50782012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5079
5080 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5081 0, not just to plain "0" as a statement.
5082 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5083 with cw.
5084
d9814526
JM
50852012-12-06 Joseph Myers <joseph@codesourcery.com>
5086
5087 * NEWS: Use sourceware.org in Bugzilla URL.
5088
7728c574
SP
50892012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5090
f16946dd
SP
5091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5092 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5093
5704bbcb
SP
5094 * stdio-common/tst-put-error.c (do_test): Add newline to the
5095 padded test to ensure flush.
5096
17aa0516
JL
50972012-12-05 Jeff Law <law@redhat.com>
5098
5099 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5100
363313b5
JM
51012012-12-05 Joseph Myers <joseph@codesourcery.com>
5102
effbd42a
JM
5103 * README: Don't refer to ports add-on as distributed separately.
5104 Mention AArch64 in list of systems supported in the ports add-on.
5105
87600365
JM
5106 * LICENSES: Add more non-FSF copyright and license notices.
5107
a0d7066a
JM
5108 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5109 ((unused)).
5110
66ca5a5b
JM
5111 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5112
363313b5
JM
5113 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5114 10000 as width of padded output.
5115
b37984ad
JM
51162012-12-04 Joseph Myers <joseph@codesourcery.com>
5117
9003570a
JM
5118 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5119
b37984ad
JM
5120 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5121 variable LX with __attribute__ ((unused)).
5122 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5123 Likewise.
5124 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5125 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5126 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5127 with __attribute__ ((unused)).
5128
c8df52ec
DM
51292012-12-04 David S. Miller <davem@abraco.davemloft.net>
5130
5131 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5132
b3b099af
JM
51332012-12-04 Joseph Myers <joseph@codesourcery.com>
5134
c33aa6e3
JM
5135 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5136 (CFLAGS-nldbl-acos.c): New variable.
5137 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5138 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5139 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5140 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5141 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5142 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5143 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5144 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5145 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5146 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5147 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5148 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5149 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5150 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5151 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5152 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5153 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5154 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5155 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5156 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5157 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5158 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5159 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5160 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5161 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5162 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5163 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5164 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5165 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5166 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5167 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5168 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5169 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5170 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5171 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5172 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5173 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5174 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5175 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5176 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5177 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5178 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5179 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5180 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5181 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5182 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5183 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5184 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5185 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5186 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5187 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5188 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5189 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5190 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5191 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5192 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5193 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5194 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5195 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5196 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5197 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5198 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5199 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5200 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5201 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5202 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5203 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5204 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5205 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5206 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5207 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5208 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5209 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5210 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5211 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5212 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5213 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5214 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5215 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5216 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5217 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5218 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5219 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5220 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5221 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5222 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5223 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5224 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5225 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5226 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5227 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5228 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5229 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5230 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5231 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5232 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5233 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5234
20f0018d
JM
5235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5236 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5237
b3b099af
JM
5238 [BZ #14914]
5239 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5240 whole low double instead of just low 47 bits when splitting values
5241 into two parts.
5242
029264d1
AM
52432012-12-03 Allan McRae <allan@archlinux.org>
5244
5245 * manual/stdio.texi (Predefined Printf Handlers): Remove
5246 @hsep and @vsep usage.
5247
c9d6789e
MF
52482012-12-03 Mike Frysinger <vapier@gentoo.org>
5249
5250 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5251 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5252
4b7634a5
JL
52532012-12-03 Jeff Law <law@redhat.com>
5254
5255 * time/sys/time.h (settimeofday): Do not mark TV argument
5256 as __nonnull.
5257
eb6cbd24
MF
52582012-12-01 Mike Frysinger <vapier@gentoo.org>
5259
5260 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5261 when currently writing and seek to current position when not.
5262 * libio/Makefile (tests): Remove bug-fclose1.
5263 * libio/bug-fclose1.c: Delete.
5264
f638872a
JM
52652012-12-01 Joseph Myers <joseph@codesourcery.com>
5266
5267 * manual/arith.texi (feenableexcept): Fix typo.
5268 (fedisableexcept): Likewise.
5269
48085d14
RM
52702012-11-30 Roland McGrath <roland@hack.frob.com>
5271
5272 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5273 second, differently-typed declaration, rather than a cast.
5274
1a538b9f
SP
52752012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5276
5277 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5278 * include/rpc/svc.h: ... here.
5279
d07f2ff1 52802012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5281
5282 [BZ #13013]
5283 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5284 depending n and resplen2 to catch cases where answer
5285 equals answerp2.
5286
c93ec1f0
CD
52872012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5288
5289 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5290 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5291
37db69de
MF
52922012-11-29 Mike Frysinger <vapier@gentoo.org>
5293
5294 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5295
e10c4e4f
RM
52962012-11-29 Roland McGrath <roland@hack.frob.com>
5297
5298 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5299
2af1b328
JL
53002012-11-28 Jeff Law <law@redhat.com>
5301
5302 [BZ #13761]
5303 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5304 dataset_temporary. Track alloca usage into alloca_used.
5305 If dataset is large allocate and release it via malloc/free.
5306
111db5b1
FW
53072012-06-04 Florian Weimer <fweimer@redhat.com>
5308
f06cc227 5309 [BZ #14197]
111db5b1
FW
5310 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5311
dd694abd
DM
53122012-11-28 David S. Miller <davem@davemloft.net>
5313
5314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5315
9984dd01
JM
53162012-11-28 Joseph Myers <joseph@codesourcery.com>
5317
5318 [BZ #14803]
5319 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5320 of pi/2 rounded to nearest to 64 bits.
5321 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5322 nearest to 64 bits.
5323 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5324 bits.
5325
14bc93a9
JL
53262012-11-28 Jeff Law <law@redhat.com>
5327 Martin Osvald <mosvald@redhat.com>
5328
5329 [BZ #14889]
5330 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5331 * sunrpc/svc.c: Include time.h.
5332 (__svc_accept_failed): New function.
5333 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5334 any reason other than EINTR, call __svc_accept_failed.
5335 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5336 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5337
e3c6aa3a
AS
53382012-11-28 Andreas Schwab <schwab@suse.de>
5339
5340 * scripts/abilist.awk: Also handle indirect functions in .opd
5341 section.
5342
1bead169
JM
53432012-11-28 Joseph Myers <joseph@codesourcery.com>
5344
5345 [BZ #13881]
5346 * sysdeps/x86/fpu/powl_helper.c: New file.
5347 * sysdeps/x86/fpu/Makefile: Likewise.
5348 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5349 (p3): New object.
5350 (__ieee754_powl): Use __powl_helper for finite arguments except
5351 integer exponents below 8.
5352 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5353 (p3): New object.
5354 (__ieee754_powl): Use __powl_helper for finite arguments except
5355 integer exponents below 8.
5356 * math/libm-test.inc (pow_test): Add more tests and enable some
5357 previously disabled tests.
5358 * sysdeps/i386/fpu/libm-test-ulps: Update.
5359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5360
0817d63d
SP
53612012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5362 Carlos O'Donell <carlos_odonell@mentor.com>
5363
5364 * nss/makedb.c (is_prime): Assert that input is odd and greater
5365 than 4. Note that fact in a comment too.
5366 (next_prime): Add 4 to input.
5367
de2fd463
SP
53682012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5369
5370 [BZ #11741]
5371 * libio/Makefile (tests): Add test case tst-fwrite-error.
5372 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5373 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5374 * libio/tst-fwrite-error.c: New test case.
5375
c515fb51
L
53762012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5377
5378 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5379 before casting to void *.
5380 * include/libc-internal.h (__pointer_type): New macro.
5381 (__integer_if_pointer_type_sub): Likewise.
5382 (__integer_if_pointer_type): Likewise.
5383 (cast_to_integer): Likewise.
5384 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5385 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5386 before casting to atomic64_t.
5387 (atomic_exchange_acq): Likewise.
5388 (__arch_exchange_and_add_body): Likewise.
5389 (__arch_add_body): Likewise.
5390 (atomic_add_negative): Likewise.
5391 (atomic_add_zero): Likewise.
5392
4cf77aa9
JM
53932012-11-26 Joseph Myers <joseph@codesourcery.com>
5394
5395 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5396 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5397 (add_fdes): Likewise.
5398 (linear_search_fdes): Likewise.
5399 (binary_search_unencoded_fdes): Likewise.
5400
d260b3b4
AS
54012012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5402
5403 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5404
67060746
AC
54052012-11-24 Adam Conrad <adconrad@0c3.net>
5406
5407 * configure.in: Autodetect C++ header directories.
5408 * configure: Regenerated.
5409
800938a1
MF
54102012-11-23 Mike Frysinger <vapier@gentoo.org>
5411
5412 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5413
4e6e34e6
AS
54142012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5415
5416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5417
7c7feb47
JM
54182012-11-22 Joseph Myers <joseph@codesourcery.com>
5419
7184dcdf
JM
5420 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5421 LDBL_MANT_DIG == 106]: Disable some tests.
5422 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5423 Likewise.
5424 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5425 Likewise.
5426
0a42601f
JM
5427 [BZ #14871]
5428 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5429 input for small inputs. Return +/- pi/2 for large inputs.
5430 * math/libm-test.inc (atan_test): Add more tests.
5431
79c9b9fe
JM
5432 * sysdeps/generic/unwind-dw2-fde-glibc.c
5433 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5434 __attribute__ ((unused)).
5435
c60d3bf2
JM
5436 [BZ #14645]
5437 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5438 x * y if x and y are nonzero and z is zero.
5439
ef1e0867
JM
5440 [BZ #14811]
5441 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5442 nonzero exponents with absolute value below 0x1p-117 to +/-
5443 0x1p-117.
5444
1468ded3
JM
5445 [BZ #14869]
5446 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5447 up arguments below 2**-450, not just those below 2**-500.
5448 * math/libm-test.inc (hypot_test): Add another test.
5449
8e27e3cc
JM
5450 [BZ #14868]
5451 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5452 Return a+b for ratio over 2**120, not 2**60.
5453 * math/libm-test.inc (hypot_test): Add another test.
5454
c9c0279b
JM
5455 * math/libm-test.inc (clog_test): Use
5456 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5457 (clog10_test): Likewise.
5458
7c7feb47
JM
5459 [BZ #6778]
5460 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5461
fff1530e
AS
54622012-11-22 Andreas Schwab <schwab@suse.de>
5463
5464 * sysdeps/i386/fpu/libm-test-ulps: Update.
5465
94558d30
PT
54662012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5467
5468 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5469 printf output with newline.
5470
7e1be741
L
54712012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5472
6bfea974
L
5473 [BZ #14865]
5474 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5475 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5476 -z nodlopen, -z initfirst and -z execstack support.
5477 * configure: Regenerated.
5478
7e1be741
L
5479 * elf/elf.h (DF_1_NODIRECT): New macro.
5480 (DF_1_IGNMULDEF): Likewise.
5481 (DF_1_NOKSYMS): Likewise.
5482 (DF_1_NOHDR): Likewise.
5483 (DF_1_EDITED): Likewise.
5484 (DF_1_NORELOC): Likewise.
5485 (DF_1_SYMINTPOSE): Likewise.
5486 (DF_1_GLOBAUDIT): Likewise.
5487 (DF_1_SINGLETON): Likewise.
5488 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5489 DT_1_SUPPORTED_MASK bits.
5490 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5491
105ce2ce
CD
54922012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5493
5494 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5495
123be9de
TS
54962012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5497
d072f3f7
TS
5498 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5499 macro.
5500
123be9de
TS
5501 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5502 (sendmmsg): Move declarations...
5503 * socket/sys/socket.h: ... here.
5504 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5505 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5506 include it from...
5507 * socket/recvmmsg.c: ... this new file.
5508 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5509 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5510 definition of __sendmmsg hidden.
5511 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5512 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5513 Move ENOSYS stub into and include it from...
5514 * socket/sendmmsg.c: ... this new file.
5515 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5516 (sysdep_routines): Move recvmmsg and sendmmsg...
5517 * socket/Makefile (routines): ... here.
5518 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5519 (GLIBC_PRIVATE): Add __sendmmsg.
5520 * include/sys/socket.h (__sendmmsg): Add declarations.
5521 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5522 sendmmsg.
5523
cf9a5d18
JM
55242012-11-20 Joseph Myers <joseph@codesourcery.com>
5525
5526 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5527 variable I1 with __attribute__ ((unused)).
5528 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5529
ecd4caf9
JM
55302012-11-19 Joseph Myers <joseph@codesourcery.com>
5531
be14d48f
JM
5532 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5533 DUMMY variables with __attribute__ ((unused)).
5534
ecd4caf9
JM
5535 * bits/byteswap.h: Include <bits/types.h>.
5536 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5537
986cab95
PT
55382012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5539
5540 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5541 string_t. Do not manually set errno.
5542 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5543 length with __strnlen. Make sure to both set errno and return it on
5544 failure.
5545
6d33cc9d
DM
55462012-11-19 David S. Miller <davem@davemloft.net>
5547
5548 With help from Joseph Myers.
5549 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5550 very large arguments properly.
5551 * math/libm-test.inc (atan_test): New tests.
5552 (atan2_test): New tests.
5553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5555
ee663277
JM
55562012-11-19 Joseph Myers <joseph@codesourcery.com>
5557
877f2d8e
JM
5558 [BZ #14856]
5559 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5560 Define to 3.
5561
116fc08a
JM
5562 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5563 [POSIX] (EADDRNOTAVAIL): Likewise.
5564 [POSIX] (EAFNOSUPPORT): Likewise.
5565 [POSIX] (EALREADY): Likewise.
5566 [POSIX] (ECONNABORTED): Likewise.
5567 [POSIX] (ECONNREFUSED): Likewise.
5568 [POSIX] (ECONNRESET): Likewise.
5569 [POSIX] (EDESTADDRREQ): Likewise.
5570 [POSIX] (EDQUOT): Likewise.
5571 [POSIX] (EHOSTUNREACH): Likewise.
5572 [POSIX] (EIDRM): Likewise.
5573 [POSIX] (EISCONN): Likewise.
5574 [POSIX] (ELOOP): Likewise.
5575 [POSIX] (EMULTIHOP): Likewise.
5576 [POSIX] (ENETDOWN): Likewise.
5577 [POSIX] (ENETUNREACH): Likewise.
5578 [POSIX] (ENOBUFS): Likewise.
5579 [POSIX] (ENODATA): Likewise.
5580 [POSIX] (ENOLINK): Likewise.
5581 [POSIX] (ENOMSG): Likewise.
5582 [POSIX] (ENOPROTOOPT): Likewise.
5583 [POSIX] (ENOSR): Likewise.
5584 [POSIX] (ENOSTR): Likewise.
5585 [POSIX] (ENOTCONN): Likewise.
5586 [POSIX] (ENOTSOCK): Likewise.
5587 [POSIX] (EOPNOTSUPP): Likewise.
5588 [POSIX] (EOVERFLOW): Likewise.
5589 [POSIX] (EPROTO): Likewise.
5590 [POSIX] (EPROTONOSUPPORT): Likewise.
5591 [POSIX] (EPROTOTYPE): Likewise.
5592 [POSIX] (ESTALE): Likewise.
5593 [POSIX] (ETIME): Likewise.
5594 [POSIX] (ETXTBSY): Likewise.
5595 [POSIX] (EWOULDBLOCK): Likewise.
5596 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5597 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5598 [POSIX] (SEEK_CUR): Likewise.
5599 [POSIX] (SEEK_END): Likewise.
5600 [POSIX || UNIX98] (mode_t): Do not require.
5601 [POSIX] (off_t): Likewise.
5602 [POSIX] (pid_t): Likewise.
5603 [POSIX] (sys/stat.h): Do not allow header.
5604 [POSIX] (unistd.h): Likewise.
5605 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5606 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5607 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5608 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5609 require.
5610 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5611 sigevent): Specify elements.
5612 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5613 entry.
5614 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5615 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5616
a483863f
JM
5617 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5618 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5619 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5620 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5621 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5622 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5623 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5624 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5625 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5626 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5627 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5628 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5629 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5630 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5631 Likewise.
5632 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5633 Likewise.
5634 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5635 Likewise.
5636 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5637 Likewise.
5638 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5639 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5640 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5641 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5642 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5643 Specify lower bound on value.
5644 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5645 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5646 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5647 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5648 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5649 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5650 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5651 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5652 value.
5653 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5654 as optional.
5655 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5656 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5657 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5658 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5659 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5660 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5661 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5662 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5663 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5664 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5665 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5666 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5667 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5668 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5669 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5670 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5671 entry.
5672 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5673 optional.
5674 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5675 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5676 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5677 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5678 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5679 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5680 Likewise.
5681 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5682 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5683 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5684 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5685 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5686 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5687 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5688 as optional.
5689 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5690 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5691 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5692 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5693 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5694 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5695 specify as optional.
5696 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5697 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5698 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5699 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5700 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5701 [XPG3] (NL_LANGMAX): Likewise.
5702 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5703 [POSIX || XPG3] (NL_NMAX): Likewise.
5704 [POSIX || XPG3] (NL_SETMAX): Likewise.
5705 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5706 [XPG3] (NZERO): Likewise.
5707 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5708 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5709 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5710 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5711 (REG_ERANGE): Expect.
5712 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5713 optional-constant.
5714 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5715 Use (void) in prototype.
5716 [POSIX] (*_t): Allow.
5717 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5718 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5719 (WRDE_BADVAL): Expect.
5720
5ba924e3
JM
5721 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5722 expect.
5723 [XPG3 || XPG4] (O_RSYNC): Likewise.
5724 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5725 Likewise.
5726 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5727 [XPG3 || XPG4] (sigqueue): Likewise.
5728 [XPG3 || XPG4] (sigtimedwait): Likewise.
5729 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5730 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5731 [XPG3 || XPG4] (vsnprintf): Likewise.
5732 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5733 Likewise.
5734 [XPG3 || XPG4] (blksize_t): Likewise.
5735 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5736 Likewise.
5737 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5738 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5739 [XPG3 || XPG4] (struct itimerspec): Likewise.
5740 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5741 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5742 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5743 [XPG3 || XPG4] (clockid_t): Likewise.
5744 [XPG3 || XPG4] (timer_t): Likewise.
5745 [XPG3 || XPG4] (clock_getres): Likewise.
5746 [XPG3 || XPG4] (clock_gettime): Likewise.
5747 [XPG3 || XPG4] (clock_settime): Likewise.
5748 [XPG3 || XPG4] (nanosleep): Likewise.
5749 [XPG3 || XPG4] (timer_create): Likewise.
5750 [XPG3 || XPG4] (timer_delete): Likewise.
5751 [XPG3 || XPG4] (timer_gettime): Likewise.
5752 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5753 [XPG3 || XPG4] (timer_settime): Likewise.
5754 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5755 [XPG3 || XPG4] (getlogin_r): Likewise.
5756 [XPG3 || XPG4] (pread): Likewise.
5757 [XPG3 || XPG4] (pthread_atfork): Likewise.
5758 [XPG3 || XPG4] (pwrite): Likewise.
5759
ee663277
JM
5760 [BZ #14835]
5761 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5762 <bits/siginfo.h>.
5763
942caa16
PT
57642012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5765
e19af380
PT
5766 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5767 finalizing MALLSTREAM.
5768
942caa16
PT
5769 * sysdeps/mach/hurd/syncfs.c: New file.
5770
cfde9b46
SP
57712012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5772
5773 [BZ #14719]
5774 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5775 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5776 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5777 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5778 (_nss_dns_gethostbyname4_r): Likewise.
5779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5780 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5781
f6da27e5
PH
57822012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5783
5784 [BZ #13763]
5785 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5786
6665d4a2
SM
57872012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5788
1f51ee92
SM
5789 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5790 * elf/cache.c (print_entry): Print ",AArch64" for
5791 FLAG_AARCH64_LIB64
5792
6665d4a2
SM
5793 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5794 * elf/cache.c (print_entry): Print ",hard-float" for
5795 FLAG_ARM_LIBHF.
5796
05b227bd
DM
57972012-11-18 David S. Miller <davem@davemloft.net>
5798
5799 With help from Joseph Myers.
5800 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5801 cutoff to 2**-13.
5802 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5803 cutoff to 2**-25.
5804 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5805 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5806 small.
5807 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5808 * math/libm-test.inc (y0_test): New tests.
5809 (y1_test): New tests.
5810 * sysdeps/i386/fpu/libm-test-ulps: Update.
5811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5813
786b0b67
AS
58142012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5815
5816 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5817 64-bit targets.
5818 * configure: Regenerated.
5819
8e18b86d
DM
58202012-11-17 David S. Miller <davem@davemloft.net>
5821
5822 [BZ #14811]
5823 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5824 nonzero exponents with absolute value below 0x1p-128 to +/-
5825 0x1p-128.
5826
531f1ae0
JM
58272012-11-17 Joseph Myers <joseph@codesourcery.com>
5828
12df29e2
JM
5829 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5830
150dc1a0
JM
5831 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5832
531f1ae0
JM
5833 * posix/getconf-speclist.c: New file.
5834 * posix/posix-envs.def: Likewise.
5835 * posix/confstr.c (START_ENV_GROUP): New macro.
5836 (END_ENV_GROUP): Likewise.
5837 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5838 (KNOWN_PRESENT_ENV_STRING): Likewise.
5839 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5840 (UNKNOWN_ENVIRONMENT): Likewise.
5841 (confstr): Include posix-envs.def instead of handling
5842 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5843 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5844 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5845 (END_ENV_GROUP): Likewise.
5846 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5847 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5848 (UNKNOWN_ENVIRONMENT): Likewise.
5849 (__sysconf): Include posix-envs.def instead of handling associated
5850 cases directly here.
5851 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5852 preprocessing getconf-speclist.c rather than running getconf or
5853 generating empty file.
5854
a93f9cbc
PT
58552012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5856
5857 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5858
d64d9f87
AL
58592012-11-16 Andrej Lajovic <natrij@gmail.com>
5860
5861 [BZ #14672]
5862 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5863
447885eb
DM
58642012-11-16 David S. Miller <davem@davemloft.net>
5865
5866 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5867 smaller than LDBL_EPSILON/2.0L, just return xm1.
5868
bcbf9830
L
58692012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5870
5871 * elf/tst-array1.c (init): Set constructor priority to 1000.
5872 (fini): Set destructor priority to 1000.
5873 * elf/tst-array2dep.c: Likewise.
5874
2b766585
SP
58752012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5876
5877 [BZ #11741]
5878 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5879 (_IO_new_file_xsputn): Also return EOF if none of the input
5880 data was written when overflow failed.
5881 * libio/iopadn.c (_IO_padn): Likewise.
5882 * libio/iowpadn.c (_IO_wpadn): Likewise.
5883 * stdio-common/tst-put-error.c: Add copyright notice.
5884 (do_test): Add case for printing padded string.
5885 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5886 _IO_padn returned error.
5887 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5888 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5889 return EOF.
5890
b1848fde
SP
58912012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5892
5893 * libio/libioP.h: Add comment note that the references to C++
5894 bits are now obsolete.
5895
2fd89785
MS
58962012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5897
5898 * math/libm-test.inc (check_complex): Use asprintf.
5899
e3ea5409
JM
59002012-11-14 Joseph Myers <joseph@codesourcery.com>
5901
5902 * debug/pcprofiledump.c (print_version): Update copyright year.
5903 * malloc/memusagestat.c (print_version): Likewise.
5904
2e64d265
L
59052012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5906
5907 [BZ #14831]
5908 * elf/Makefile (tests): Add tst-audit8.
5909 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5910 ($(objpfx)tst-audit8.out): New target.
5911 (tst-audit8-ENV): New variable.
5912 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5913 audit if l_reloc_result is NULL.
5914 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5915 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5916 * elf/tst-audit8.c: New file.
5917
c485e4d2
MS
59182012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5919
5920 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5921 * misc/Makefile (CFLAGS-select.c): Define.
5922 * posix/Makefile (CFLAGS-pause.c): Define.
5923
3a0d900a
DM
59242012-11-13 David S. Miller <davem@davemloft.net>
5925
5926 * crypt/Makefile: Move test targets after toplevel Rules
5927 inclusion. Grab any necessary sysdep routines when linking.
5928 * crypt/md5.c (md5_process_block): Remove define, we will always
5929 name it __md5_process_block.
5930 (md5_finish_ctx): Update md5_process_block call.
5931 (md5_stream): Likewise.
5932 (md5_process_bytes): Likewise.
5933 (md5_process_block): Rename to __md5_process_block and move to ...
5934 * crypt/md5-block.c: ... here.
5935 * crypt/sha256.c (sha256_process_block): Move to ...
5936 * crypt/sha256-block.c: ... here.
5937 * crypt/sha512.c (sha512_process_block): Move to ...
5938 * crypt/sha512-block.c: ... here.
5939 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5940 path.
5941 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5942 * sysdeps/sparc/sparc64/multiarch/Makefile
5943 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5944 crypt subdir.
5945 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5946 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5947 multiarch changes.
5948 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5949 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5950 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5951 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5952 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5953 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5954 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5955 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5956 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5957 file.
5958 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5959 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5960 file.
5961 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5962
8ca89318
JM
59632012-11-13 Joseph Myers <joseph@codesourcery.com>
5964
e27d476a
JM
5965 * timezone/tzselect.ksh: Update from tzcode git revision
5966 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5967 * timezone/zdump.c: Likewise.
5968 * timezone/zic.c: Likewise.
5969 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5970 in TZVERSION setting, not $(PKGVERSION).
5971 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5972 REPORT_BUGS_TO settings.
5973
8ca89318
JM
5974 [BZ #14838]
5975 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5976 macro.
5977
47594329
MS
59782012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5979
5980 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5981 detection to immediately after _FP_ROUND().
5982 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5983 bits are 0.
5984
640ac3f1
DM
59852012-11-11 David S. Miller <davem@davemloft.net>
5986
5987 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5988 inttypes.h
5989 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5990 __close rather than their public counterparts.
5991
3d2577bb
JM
59922012-11-10 Joseph Myers <joseph@codesourcery.com>
5993
5994 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5995 file.
5996 [UNIX98] (sem_timedwait): Do not expect.
5997 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5998 [XPG4 || UNIX98] (sockatmark): Do not expect.
5999 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6000 (clock_getcpuclockid): Do not expect.
6001 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6002 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6003 Do not expect.
6004 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6005 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6006 [UNIX98] (vwscanf): Likewise.
6007 [UNIX98] (vswscanf): Likewise.
6008
fb1ae1ee
JM
60092012-11-09 Joseph Myers <joseph@codesourcery.com>
6010
9ec6f8bd
JM
6011 * timezone/version.h: Remove file.
6012 * timezone/README: Do not refer to version.h.
6013 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6014 $(objpfx)version.h.
6015 ($(objpfx)zdump.o): Likewise.
c3f81911 6016 ($(objpfx)version.h): New target.
9ec6f8bd 6017
0aa8f8a1
JM
6018 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6019 2012i.
6020 * timezone/README: Don't mention modification to tzselect.ksh.
6021 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6022 work on unmodified tzselect.ksh. Substitute version numbers in
6023 tzselect.ksh.
6024
4e87147f
JM
6025 * Makefile (format-me): Remove.
6026 (INSTALL): Adjust indentation. Use commands directly instead of
6027 using $(format-me).
6028
8b748aed
JM
6029 * aclocal.m4 (ACX_PKGVERSION): New macro.
6030 (ACX_BUGURL): Likewise.
6031 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6032 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6033 (REPORT_BUGS_TO): Likewise.
6034 * configure: Regenerated.
6035 * config.h.in (PKGVERSION): New macro.
6036 (REPORT_BUGS_TO): Likewise.
6037 * config.make.in (PKGVERSION): New variable.
6038 (PKGVERSION_TEXI): Likewise.
6039 (REPORT_BUGS_TO): Likewise.
6040 (REPORT_BUGS_TEXI): Likewise.
6041 * Makefile (format-me): Use -I$(common-objpfx)manual.
6042 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6043 ($(common-objpfx)manual/%): New target.
6044 (manual/%): Remove target.
6045 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6046 (print_version): Use PKGVERSION.
6047 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6048 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6049 and REPORT_BUGS_TO.
6050 ($(objpfx)xtrace): Likewise.
6051 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6052 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6053 (print_version): Use PKGVERSION.
6054 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6055 (do_version): Use PKGVERSION.
6056 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6057 REPORT_BUGS_TO.
6058 (common-ldd-rewrite): Likewise.
6059 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6060 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6061 (print_version): Use PKGVERSION.
6062 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6063 * elf/pldd.c (argp_program_bug_address): Remove variable.
6064 (more_help): New function.
6065 (argp): Use more_help.
6066 (print_version): Use PKGVERSION.
6067 * elf/sln.c (main): Use PKGVERSION.
6068 (usage): Use REPORT_BUGS_TO.
6069 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6070 (top level): Use PKGVERSION.
6071 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6072 (print_version): Use PKGVERSION.
6073 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6074 (print_version): Use PKGVERSION.
6075 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6076 (print_version): Use PKGVERSION.
6077 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6078 (print_version): Use PKGVERSION.
6079 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6080 (print_version): Use PKGVERSION.
6081 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6082 (print_version): Use PKGVERSION.
6083 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6084 and BUGURL.
6085 ($(objpfx)memusage): Likewise.
6086 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6087 (do_version): Use PKGVERSION.
6088 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6089 (print_version): Use PKGVERSION.
6090 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6091 ($PKGVERSION): New variable.
6092 ($REPORT_BUGS_TO): Likewise.
6093 (usage): Use $REPORT_BUGS_TO.
6094 (top level): Use $PKGVERSION.
6095 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6096 ($(objpfx)pkgvers.texi): New rule.
6097 ($(objpfx)stamp-pkgvers): Likewise.
6098 * manual/install.texi: Include pkgvers.texi.
6099 (--with-pkgversion): Document new configure option.
6100 (--with-bugurl): Likewise.
6101 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6102 than necessarily for this particular distribution. Use
6103 REPORT_BUGS_TO for where to report bugs.
6104 * INSTALL: Regenerated.
6105 * manual/libc.texinfo: Include pkgvers.texi.
6106 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6107 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6108 (print_version): Use PKGVERSION.
6109 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6110 (print_version): Use PKGVERSION.
6111 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6112 (print_version): Use PKGVERSION.
6113 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6114 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6115 macro.
6116 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6117 (print_version): Use PKGVERSION.
6118 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6119 (print_version): Use PKGVERSION.
6120 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6121 and PKGVERSION.
6122
92e4b6a9
JM
6123 * timezone/checktab.awk: Update from tzcode 2012i.
6124 * timezone/ialloc.c: Likewise.
6125 * timezone/private.h: Likewise.
6126 * timezone/scheck.c: Likewise.
6127 * timezone/tzfile.h: Likewise.
6128 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6129 (TZVERSION): Hardcode tzcode version number.
6130 * timezone/zdump.c: Update from tzcode 2012i.
6131 * timezone/zic.c: Likewise.
6132 * timezone/version.h: New file.
6133 * timezone/README: Describe version.h. Update upstream location.
6134
9bde902c
JM
6135 [BZ #14824]
6136 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6137 (mktemp): Enable declaration.
6138 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6139 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6140 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6141 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6142 Likewise.
6143 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6144 Likewise.
6145 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6146 Likewise.
6147 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6148 Likewise.
6149 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6150 Likewise.
6151 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6152 Likewise.
6153
fb1ae1ee
JM
6154 [BZ #14821]
6155 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6156 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6157 for copies of such integer values.
6158 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6159 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6160
2c1adbcb
AJ
61612012-11-09 Andreas Jaeger <aj@suse.de>
6162
6163 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6164 definitions and declarations that are provided by
6165 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6166
d0f8457e
AK
61672012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6168
3a235abb 6169 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6170 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6171 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6172 definition.
6173
57241e26
MS
61742012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6175
6176 * elf/elf.h: Update comment before AArch64 relocations.
6177
60e8270d
DM
61782012-11-07 David S. Miller <davem@davemloft.net>
6179
6180 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6181 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6182 (__start_context): Declare.
6183 (__makecontext_ret): Delete.
6184 (__makecontext): Hook up __start_context instead of
6185 __makecontext_ret.
6186 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6187 (sysdep_routines): Add __start_context when in stdlib.
6188
0fbb0fbc
JM
61892012-11-07 Joseph Myers <joseph@codesourcery.com>
6190
6191 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6192 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6193 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6194 hardcoded "nm".
6195 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6196 (READELF): New variable. Use it instead of hardcoded "readelf".
6197
eb48db7e
L
61982012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6199
6200 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6201 * sysdeps/x86/Makefile: Here.
6202 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6203 * sysdeps/x86/tst-xmmymm.sh: This.
6204
05bcf62a
JM
62052012-11-07 Joseph Myers <joseph@codesourcery.com>
6206
c4b6cf53
JM
6207 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6208 expectations.
6209 [UNIX98] (pthread_barrier_t): Do not expect.
6210 [UNIX98] (pthread_barrierattr_t): Likewise.
6211 [UNIX98] (pthread_spinlock_t): Likewise.
6212 [UNIX98] (pthread_barrier_destroy): Likewise.
6213 [UNIX98] (pthread_barrier_init): Likewise.
6214 [UNIX98] (pthread_barrier_wait): Likewise.
6215 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6216 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6217 [UNIX98] (pthread_barrierattr_init): Likewise.
6218 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6219 [UNIX98] (pthread_getcpuclockid): Likewise.
6220 [UNIX98] (pthread_mutex_timedlock): Likewise.
6221 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6222 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6223 [UNIX98] (pthread_sigmask): Likewise.
6224 [UNIX98] (pthread_spin_destroy): Likewise.
6225 [UNIX98] (pthread_spin_init): Likewise.
6226 [UNIX98] (pthread_spin_lock): Likewise.
6227 [UNIX98] (pthread_spin_trylock): Likewise.
6228 [UNIX98] (pthread_spin_unlock): Likewise.
6229 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6230 Do not expect.
6231 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6232 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6233 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6234 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6235 [XPG3 || XPG4] (pthread_key_t): Likewise.
6236 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6237 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6238 [XPG3 || XPG4] (pthread_once_t): Likewise.
6239 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6240 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6241 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6242 [XPG3 || XPG4] (pthread_t): Likewise.
6243
cbe6e120
JM
6244 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6245 not expect.
6246 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6247
1b126443
JM
6248 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6249 Change function return type to int.
6250
b961a573
JM
6251 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6252 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6253 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6254 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6255 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6256 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6257 [!POSIX] (posix_madvise): Likewise.
6258 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6259 && !UNIX98].
6260 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6261 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6262 (mode_t): Likewise.
6263 (posix_mem_offset): Likewise.
6264 (posix_typed_mem_get_info): Likewise.
6265 (posix_typed_mem_open): Likewise.
6266
9e188909
JM
6267 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6268 Change condition to [XOPEN2K8].
6269
05bcf62a
JM
6270 * conform/conformtest.pl: Preprocess allow-header data with -x c
6271 instead of from stdin.
6272 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6273 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6274 [C99-based standards] (cerfc): Likewise.
6275 [C99-based standards] (cexp2): Likewise.
6276 [C99-based standards] (cexpm1): Likewise.
6277 [C99-based standards] (clog10): Likewise.
6278 [C99-based standards] (clog1p): Likewise.
6279 [C99-based standards] (clog2): Likewise.
6280 [C99-based standards] (clgamma): Likewise.
6281 [C99-based standards] (ctgamma): Likewise.
6282 [C99-based standards] (cerff): Likewise.
6283 [C99-based standards] (cerfcf): Likewise.
6284 [C99-based standards] (cexp2f): Likewise.
6285 [C99-based standards] (cexpm1f): Likewise.
6286 [C99-based standards] (clog10f): Likewise.
6287 [C99-based standards] (clog1pf): Likewise.
6288 [C99-based standards] (clog2f): Likewise.
6289 [C99-based standards] (clgammaf): Likewise.
6290 [C99-based standards] (ctgammaf): Likewise.
6291 [C99-based standards] (cerfl): Likewise.
6292 [C99-based standards] (cerfcl): Likewise.
6293 [C99-based standards] (cexp2l): Likewise.
6294 [C99-based standards] (cexpm1l): Likewise.
6295 [C99-based standards] (clog10l): Likewise.
6296 [C99-based standards] (clog1pl): Likewise.
6297 [C99-based standards] (clog2l): Likewise.
6298 [C99-based standards] (clgammal): Likewise.
6299 [C99-based standards] (ctgammal): Likewise.
6300 * conform/data/inttypes.h-data [C99-based standards]: Include
6301 stdint.h-data. Remove all expectations for stdint.h contents.
6302 [C99-based standards] (PRI*): Do not allow.
6303 [C99-based standards] (SCN*): Likewise.
6304 [C99-based standards] (*_t): Likewise.
6305 [C99-based-standards] (PRId8): Expect macro.
6306 [C99-based-standards] (PRIi8): Likewise.
6307 [C99-based-standards] (PRIo8): Likewise.
6308 [C99-based-standards] (PRIu8): Likewise.
6309 [C99-based-standards] (PRIx8): Likewise.
6310 [C99-based-standards] (PRIX8): Likewise.
6311 [C99-based-standards] (SCNd8): Likewise.
6312 [C99-based-standards] (SCNi8): Likewise.
6313 [C99-based-standards] (SCNo8): Likewise.
6314 [C99-based-standards] (SCNu8): Likewise.
6315 [C99-based-standards] (SCNx8): Likewise.
6316 [C99-based-standards] (PRIdLEAST8): Likewise.
6317 [C99-based-standards] (PRIiLEAST8): Likewise.
6318 [C99-based-standards] (PRIoLEAST8): Likewise.
6319 [C99-based-standards] (PRIuLEAST8): Likewise.
6320 [C99-based-standards] (PRIxLEAST8): Likewise.
6321 [C99-based-standards] (PRIXLEAST8): Likewise.
6322 [C99-based-standards] (SCNdLEAST8): Likewise.
6323 [C99-based-standards] (SCNiLEAST8): Likewise.
6324 [C99-based-standards] (SCNoLEAST8): Likewise.
6325 [C99-based-standards] (SCNuLEAST8): Likewise.
6326 [C99-based-standards] (SCNxLEAST8): Likewise.
6327 [C99-based-standards] (PRIdFAST8): Likewise.
6328 [C99-based-standards] (PRIiFAST8): Likewise.
6329 [C99-based-standards] (PRIoFAST8): Likewise.
6330 [C99-based-standards] (PRIuFAST8): Likewise.
6331 [C99-based-standards] (PRIxFAST8): Likewise.
6332 [C99-based-standards] (PRIXFAST8): Likewise.
6333 [C99-based-standards] (SCNdFAST8): Likewise.
6334 [C99-based-standards] (SCNiFAST8): Likewise.
6335 [C99-based-standards] (SCNoFAST8): Likewise.
6336 [C99-based-standards] (SCNuFAST8): Likewise.
6337 [C99-based-standards] (SCNxFAST8): Likewise.
6338 [C99-based-standards] (PRId16): Likewise.
6339 [C99-based-standards] (PRIi16): Likewise.
6340 [C99-based-standards] (PRIo16): Likewise.
6341 [C99-based-standards] (PRIu16): Likewise.
6342 [C99-based-standards] (PRIx16): Likewise.
6343 [C99-based-standards] (PRIX16): Likewise.
6344 [C99-based-standards] (SCNd16): Likewise.
6345 [C99-based-standards] (SCNi16): Likewise.
6346 [C99-based-standards] (SCNo16): Likewise.
6347 [C99-based-standards] (SCNu16): Likewise.
6348 [C99-based-standards] (SCNx16): Likewise.
6349 [C99-based-standards] (PRIdLEAST16): Likewise.
6350 [C99-based-standards] (PRIiLEAST16): Likewise.
6351 [C99-based-standards] (PRIoLEAST16): Likewise.
6352 [C99-based-standards] (PRIuLEAST16): Likewise.
6353 [C99-based-standards] (PRIxLEAST16): Likewise.
6354 [C99-based-standards] (PRIXLEAST16): Likewise.
6355 [C99-based-standards] (SCNdLEAST16): Likewise.
6356 [C99-based-standards] (SCNiLEAST16): Likewise.
6357 [C99-based-standards] (SCNoLEAST16): Likewise.
6358 [C99-based-standards] (SCNuLEAST16): Likewise.
6359 [C99-based-standards] (SCNxLEAST16): Likewise.
6360 [C99-based-standards] (PRIdFAST16): Likewise.
6361 [C99-based-standards] (PRIiFAST16): Likewise.
6362 [C99-based-standards] (PRIoFAST16): Likewise.
6363 [C99-based-standards] (PRIuFAST16): Likewise.
6364 [C99-based-standards] (PRIxFAST16): Likewise.
6365 [C99-based-standards] (PRIXFAST16): Likewise.
6366 [C99-based-standards] (SCNdFAST16): Likewise.
6367 [C99-based-standards] (SCNiFAST16): Likewise.
6368 [C99-based-standards] (SCNoFAST16): Likewise.
6369 [C99-based-standards] (SCNuFAST16): Likewise.
6370 [C99-based-standards] (SCNxFAST16): Likewise.
6371 [C99-based-standards] (PRId32): Likewise.
6372 [C99-based-standards] (PRIi32): Likewise.
6373 [C99-based-standards] (PRIo32): Likewise.
6374 [C99-based-standards] (PRIu32): Likewise.
6375 [C99-based-standards] (PRIx32): Likewise.
6376 [C99-based-standards] (PRIX32): Likewise.
6377 [C99-based-standards] (SCNd32): Likewise.
6378 [C99-based-standards] (SCNi32): Likewise.
6379 [C99-based-standards] (SCNo32): Likewise.
6380 [C99-based-standards] (SCNu32): Likewise.
6381 [C99-based-standards] (SCNx32): Likewise.
6382 [C99-based-standards] (PRIdLEAST32): Likewise.
6383 [C99-based-standards] (PRIiLEAST32): Likewise.
6384 [C99-based-standards] (PRIoLEAST32): Likewise.
6385 [C99-based-standards] (PRIuLEAST32): Likewise.
6386 [C99-based-standards] (PRIxLEAST32): Likewise.
6387 [C99-based-standards] (PRIXLEAST32): Likewise.
6388 [C99-based-standards] (SCNdLEAST32): Likewise.
6389 [C99-based-standards] (SCNiLEAST32): Likewise.
6390 [C99-based-standards] (SCNoLEAST32): Likewise.
6391 [C99-based-standards] (SCNuLEAST32): Likewise.
6392 [C99-based-standards] (SCNxLEAST32): Likewise.
6393 [C99-based-standards] (PRIdFAST32): Likewise.
6394 [C99-based-standards] (PRIiFAST32): Likewise.
6395 [C99-based-standards] (PRIoFAST32): Likewise.
6396 [C99-based-standards] (PRIuFAST32): Likewise.
6397 [C99-based-standards] (PRIxFAST32): Likewise.
6398 [C99-based-standards] (PRIXFAST32): Likewise.
6399 [C99-based-standards] (SCNdFAST32): Likewise.
6400 [C99-based-standards] (SCNiFAST32): Likewise.
6401 [C99-based-standards] (SCNoFAST32): Likewise.
6402 [C99-based-standards] (SCNuFAST32): Likewise.
6403 [C99-based-standards] (SCNxFAST32): Likewise.
6404 [C99-based-standards] (PRId64): Likewise.
6405 [C99-based-standards] (PRIi64): Likewise.
6406 [C99-based-standards] (PRIo64): Likewise.
6407 [C99-based-standards] (PRIu64): Likewise.
6408 [C99-based-standards] (PRIx64): Likewise.
6409 [C99-based-standards] (PRIX64): Likewise.
6410 [C99-based-standards] (SCNd64): Likewise.
6411 [C99-based-standards] (SCNi64): Likewise.
6412 [C99-based-standards] (SCNo64): Likewise.
6413 [C99-based-standards] (SCNu64): Likewise.
6414 [C99-based-standards] (SCNx64): Likewise.
6415 [C99-based-standards] (PRIdLEAST64): Likewise.
6416 [C99-based-standards] (PRIiLEAST64): Likewise.
6417 [C99-based-standards] (PRIoLEAST64): Likewise.
6418 [C99-based-standards] (PRIuLEAST64): Likewise.
6419 [C99-based-standards] (PRIxLEAST64): Likewise.
6420 [C99-based-standards] (PRIXLEAST64): Likewise.
6421 [C99-based-standards] (SCNdLEAST64): Likewise.
6422 [C99-based-standards] (SCNiLEAST64): Likewise.
6423 [C99-based-standards] (SCNoLEAST64): Likewise.
6424 [C99-based-standards] (SCNuLEAST64): Likewise.
6425 [C99-based-standards] (SCNxLEAST64): Likewise.
6426 [C99-based-standards] (PRIdFAST64): Likewise.
6427 [C99-based-standards] (PRIiFAST64): Likewise.
6428 [C99-based-standards] (PRIoFAST64): Likewise.
6429 [C99-based-standards] (PRIuFAST64): Likewise.
6430 [C99-based-standards] (PRIxFAST64): Likewise.
6431 [C99-based-standards] (PRIXFAST64): Likewise.
6432 [C99-based-standards] (SCNdFAST64): Likewise.
6433 [C99-based-standards] (SCNiFAST64): Likewise.
6434 [C99-based-standards] (SCNoFAST64): Likewise.
6435 [C99-based-standards] (SCNuFAST64): Likewise.
6436 [C99-based-standards] (SCNxFAST64): Likewise.
6437 [C99-based-standards] (PRIdMAX): Likewise.
6438 [C99-based-standards] (PRIiMAX): Likewise.
6439 [C99-based-standards] (PRIoMAX): Likewise.
6440 [C99-based-standards] (PRIuMAX): Likewise.
6441 [C99-based-standards] (PRIxMAX): Likewise.
6442 [C99-based-standards] (PRIXMAX): Likewise.
6443 [C99-based-standards] (SCNdMAX): Likewise.
6444 [C99-based-standards] (SCNiMAX): Likewise.
6445 [C99-based-standards] (SCNoMAX): Likewise.
6446 [C99-based-standards] (SCNuMAX): Likewise.
6447 [C99-based-standards] (SCNxMAX): Likewise.
6448 [C99-based-standards] (PRIdPTR): Likewise.
6449 [C99-based-standards] (PRIiPTR): Likewise.
6450 [C99-based-standards] (PRIoPTR): Likewise.
6451 [C99-based-standards] (PRIuPTR): Likewise.
6452 [C99-based-standards] (PRIxPTR): Likewise.
6453 [C99-based-standards] (PRIXPTR): Likewise.
6454 [C99-based-standards] (SCNdPTR): Likewise.
6455 [C99-based-standards] (SCNiPTR): Likewise.
6456 [C99-based-standards] (SCNoPTR): Likewise.
6457 [C99-based-standards] (SCNuPTR): Likewise.
6458 [C99-based-standards] (SCNxPTR): Likewise.
6459 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6460 allow.
6461 * conform/data/stdint.h-data: Update comments to clarify
6462 requirements.
6463 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6464 type.
6465 [C99-based standards] (INT8_MAX): Likewise.
6466 [C99-based standards] (INT16_MIN): Likewise.
6467 [C99-based standards] (INT16_MAX): Likewise.
6468 [C99-based standards] (INT32_MIN): Likewise.
6469 [C99-based standards] (INT32_MAX): Likewise.
6470 [C99-based standards] (INT64_MIN): Likewise.
6471 [C99-based standards] (INT64_MAX): Likewise.
6472 [C99-based standards] (UINT8_MAX): Likewise.
6473 [C99-based standards] (UINT16_MAX): Likewise.
6474 [C99-based standards] (UINT32_MAX): Likewise.
6475 [C99-based standards] (UINT64_MAX): Likewise.
6476 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6477 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6478 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6479 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6480 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6481 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6482 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6483 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6484 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6485 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6486 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6487 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6488 [C99-based standards] (INT_FAST8_MIN): Likewise.
6489 [C99-based standards] (INT_FAST8_MAX): Likewise.
6490 [C99-based standards] (INT_FAST16_MIN): Likewise.
6491 [C99-based standards] (INT_FAST16_MAX): Likewise.
6492 [C99-based standards] (INT_FAST32_MIN): Likewise.
6493 [C99-based standards] (INT_FAST32_MAX): Likewise.
6494 [C99-based standards] (INT_FAST64_MIN): Likewise.
6495 [C99-based standards] (INT_FAST64_MAX): Likewise.
6496 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6497 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6498 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6499 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6500 [C99-based standards] (INTPTR_MIN): Likewise.
6501 [C99-based standards] (INTPTR_MAX): Likewise.
6502 [C99-based standards] (UINTPTR_MAX): Likewise.
6503 [C99-based standards] (INTMAX_MIN): Likewise.
6504 [C99-based standards] (INTMAX_MAX): Likewise.
6505 [C99-based standards] (UINTMAX_MAX): Likewise.
6506 [C99-based standards] (PTRDIFF_MIN): Likewise.
6507 [C99-based standards] (PTRDIFF_MAX): Likewise.
6508 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6509 [C99-based standards] (SIZE_MAX): Likewise.
6510 [C99-based standards] (WCHAR_MAX): Likewise.
6511 [C99-based standards] (WINT_MAX): Likewise.
6512 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6513 constraint on value.
6514 [C99-based standards] (WCHAR_MIN): Likewise.
6515 [C99-based standards] (WINT_MIN): Likewise.
6516 [C99-based standards] (*_t): Allow.
6517 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6518 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6519 Include math.h-data and complex.h-data. Remove all expectations
6520 of math.h and complex.h contents.
6521 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6522 at end of line.
6523 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6524 (struct tm): Expect tag.
6525 [C99-based-standards] (wcstof): Expect function.
6526 [C99-based-standards] (wcstold): Likewise.
6527 [C99-based-standards] (wcstoll): Likewise.
6528 [C99-based-standards] (wcstoull): Likewise.
6529 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6530 macro-int-constant. Specify type.
6531 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6532 constraint on value.
6533 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6534 Specify type.
6535 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6536 Specify value.
6537 [ISO C standards]: Do not allow headers.
6538 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6539 wcs[abcdefghijklmnopqrstuvwxyz]*.
6540 [ISO C standards] (*_t): Do not allow.
6541 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6542 Expect function.
6543 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6544 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6545 Specify type.
6546 [ISO C standards]: Do not allow headers.
6547 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6548 is[abcdefghijklmnopqrstuvwxyz]*.
6549 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6550 to[abcdefghijklmnopqrstuvwxyz]*.
6551 [ISO C standards] (*_t): Do not allow.
6552 * conform/data/stdalign.h-data: New file.
6553 * conform/data/stdbool.h-data: Likewise.
6554 * conform/data/stdnoreturn.h-data: Likewise.
6555
7514feb8
RM
65562012-11-07 Roland McGrath <roland@hack.frob.com>
6557
6558 [BZ #14815]
6559 * manual/filesys.texi (Directory Entries): Typo fix.
6560 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6561
19b2ecfc
MS
65622012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6563
6564 * elf/elf.h (EM_AARCH64): New macro.
6565 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6566 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6567 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6568 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6569 (R_AARCH64_TLSDESC): Likewise.
6570 (NT_ARM_TLS): Likewise.
6571 (NT_ARM_HW_BREAK): Likewise.
6572 (NT_ARM_HW_WATCH): Likewise.
6573
60e235ee
JM
65742012-11-07 Joseph Myers <joseph@codesourcery.com>
6575
6576 [BZ #14811]
6577 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6578 (__ieee754_powl): Saturate nonzero exponents with absolute value
6579 below 0x1p-79 to +/- 0x1p-79.
6580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6581 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6582 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6583 nonzero exponents with absolute value below 0x1p-32 to +/-
6584 0x1p-32.
6585 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6586 (__ieee754_powl): Saturate nonzero exponents with absolute value
6587 below 0x1p-79 to +/- 0x1p-79.
6588 * math/libm-test.inc (pow_test): Add more tests.
6589
0ab234b7
AK
65902012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6591
6592 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6593 _dl_s390_cap_flags with kernel. Increase string length.
6594 (_dl_s390_platforms): Add z196 and zEC12.
6595
45832f74
JM
65962012-11-07 Joseph Myers <joseph@codesourcery.com>
6597
6598 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6599 Change XOPEN21K to XOPEN2K.
6600
19218757
MK
66012012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6602
6603 * string/memmove.c: Use memcpy when possible.
6604
c5f45721
AJ
66052012-11-06 Andreas Jaeger <aj@suse.de>
6606
6607 * po/eo.po: Update from translation team.
6608
82477c28
JM
66092012-11-06 Joseph Myers <joseph@codesourcery.com>
6610
6611 [BZ #14793]
6612 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6613 exponent and small x and y exponents, scale x or y up. Increase
6614 by 2 the exponent used in scaling up.
6615 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6616 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6617 * math/libm-test.inc (fma_test): Add more tests.
6618 (fma_test_towardzero): Likewise.
6619 (fma_test_downward): Likewise.
6620 (fma_test_upward): Likewise.
6621
99252c8c
JM
66222012-11-05 Joseph Myers <joseph@codesourcery.com>
6623
acfa885f
JM
6624 [BZ #14805]
6625 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6626 fenv_t *.
6627
99252c8c
JM
6628 [BZ #14801]
6629 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6630 namespace for names of struct fields.
6631 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6632 fenv_t fields.
6633 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6634 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6635
d6d98dea
ST
66362012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6637
6638 [BZ #3665]
6639 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6640
e10bb107
TS
66412012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6642
6643 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6644 PTR_DEMANGLE.
6645
6646 [BZ #5246]
6647 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6648 PTR_DEMANGLE.
6649
a0c2940d
JM
66502012-11-04 Joseph Myers <joseph@codesourcery.com>
6651
6652 [BZ #14797]
6653 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6654 definitely overflow as x * y not x * y + z.
6655 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6656 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6657 * math/libm-test.inc (fma_test): Add more tests.
6658 (fma_test_towardzero): Likewise.
6659 (fma_test_downward): Likewise.
6660 (fma_test_upward): Likewise.
6661
b830319d
TS
66622012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6663
6664 [BZ #157]
6665
6666 * include/stub-tag.h: Remove file.
6667 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6668 '#include' of it.
6669 * manual/maint.texi (Porting): Don't reference it.
6670 * Makerules ($(objpfx)stubs): Likewise.
6671 * dirent/closedir.c: Don't include <stub-tag.h>.
6672 * dirent/dirfd.c: Likewise.
6673 * dirent/fdopendir.c: Likewise.
6674 * dirent/getdents.c: Likewise.
6675 * dirent/getdents64.c: Likewise.
6676 * dirent/opendir.c: Likewise.
6677 * dirent/readdir.c: Likewise.
6678 * dirent/readdir64.c: Likewise.
6679 * dirent/readdir64_r.c: Likewise.
6680 * dirent/readdir_r.c: Likewise.
6681 * dirent/rewinddir.c: Likewise.
6682 * dirent/seekdir.c: Likewise.
6683 * dirent/telldir.c: Likewise.
6684 * gmon/profil.c: Likewise.
6685 * grp/setgroups.c: Likewise.
6686 * inet/if_index.c: Likewise.
6687 * io/access.c: Likewise.
6688 * io/chdir.c: Likewise.
6689 * io/chmod.c: Likewise.
6690 * io/chown.c: Likewise.
6691 * io/close.c: Likewise.
6692 * io/dup.c: Likewise.
6693 * io/dup2.c: Likewise.
6694 * io/dup3.c: Likewise.
6695 * io/euidaccess.c: Likewise.
6696 * io/faccessat.c: Likewise.
6697 * io/fchdir.c: Likewise.
6698 * io/fchmod.c: Likewise.
6699 * io/fchmodat.c: Likewise.
6700 * io/fchown.c: Likewise.
6701 * io/fchownat.c: Likewise.
6702 * io/fcntl.c: Likewise.
6703 * io/flock.c: Likewise.
6704 * io/fstatfs.c: Likewise.
6705 * io/fstatfs64.c: Likewise.
6706 * io/fstatvfs.c: Likewise.
6707 * io/fstatvfs64.c: Likewise.
6708 * io/futimens.c: Likewise.
6709 * io/fxstat.c: Likewise.
6710 * io/fxstat64.c: Likewise.
6711 * io/fxstatat.c: Likewise.
6712 * io/fxstatat64.c: Likewise.
6713 * io/getcwd.c: Likewise.
6714 * io/isatty.c: Likewise.
6715 * io/lchmod.c: Likewise.
6716 * io/lchown.c: Likewise.
6717 * io/link.c: Likewise.
6718 * io/linkat.c: Likewise.
6719 * io/lseek.c: Likewise.
6720 * io/lseek64.c: Likewise.
6721 * io/lxstat64.c: Likewise.
6722 * io/mkdir.c: Likewise.
6723 * io/mkdirat.c: Likewise.
6724 * io/mkfifo.c: Likewise.
6725 * io/mkfifoat.c: Likewise.
6726 * io/open.c: Likewise.
6727 * io/open64.c: Likewise.
6728 * io/openat.c: Likewise.
6729 * io/openat64.c: Likewise.
6730 * io/pipe.c: Likewise.
6731 * io/pipe2.c: Likewise.
6732 * io/poll.c: Likewise.
6733 * io/posix_fadvise.c: Likewise.
6734 * io/posix_fadvise64.c: Likewise.
6735 * io/posix_fallocate.c: Likewise.
6736 * io/posix_fallocate64.c: Likewise.
6737 * io/read.c: Likewise.
6738 * io/readlink.c: Likewise.
6739 * io/readlinkat.c: Likewise.
6740 * io/rmdir.c: Likewise.
6741 * io/sendfile.c: Likewise.
6742 * io/sendfile64.c: Likewise.
6743 * io/statfs.c: Likewise.
6744 * io/statfs64.c: Likewise.
6745 * io/statvfs.c: Likewise.
6746 * io/statvfs64.c: Likewise.
6747 * io/symlink.c: Likewise.
6748 * io/symlinkat.c: Likewise.
6749 * io/ttyname.c: Likewise.
6750 * io/ttyname_r.c: Likewise.
6751 * io/umask.c: Likewise.
6752 * io/unlink.c: Likewise.
6753 * io/unlinkat.c: Likewise.
6754 * io/utime.c: Likewise.
6755 * io/utimensat.c: Likewise.
6756 * io/write.c: Likewise.
6757 * io/xmknod.c: Likewise.
6758 * io/xmknodat.c: Likewise.
6759 * io/xstat.c: Likewise.
6760 * io/xstat64.c: Likewise.
6761 * login/getpt.c: Likewise.
6762 * login/grantpt.c: Likewise.
6763 * login/unlockpt.c: Likewise.
6764 * math/e_acoshl.c: Likewise.
6765 * math/e_acosl.c: Likewise.
6766 * math/e_asinl.c: Likewise.
6767 * math/e_atan2l.c: Likewise.
6768 * math/e_atanhl.c: Likewise.
6769 * math/e_coshl.c: Likewise.
6770 * math/e_expl.c: Likewise.
6771 * math/e_fmodl.c: Likewise.
6772 * math/e_gammal_r.c: Likewise.
6773 * math/e_hypotl.c: Likewise.
6774 * math/e_j0l.c: Likewise.
6775 * math/e_j1l.c: Likewise.
6776 * math/e_jnl.c: Likewise.
6777 * math/e_lgammal_r.c: Likewise.
6778 * math/e_log10l.c: Likewise.
6779 * math/e_log2l.c: Likewise.
6780 * math/e_logl.c: Likewise.
6781 * math/e_powl.c: Likewise.
6782 * math/e_rem_pio2l.c: Likewise.
6783 * math/e_sinhl.c: Likewise.
6784 * math/e_sqrtl.c: Likewise.
6785 * math/fclrexcpt.c: Likewise.
6786 * math/fedisblxcpt.c: Likewise.
6787 * math/feenablxcpt.c: Likewise.
6788 * math/fegetenv.c: Likewise.
6789 * math/fegetexcept.c: Likewise.
6790 * math/fegetround.c: Likewise.
6791 * math/feholdexcpt.c: Likewise.
6792 * math/fesetenv.c: Likewise.
6793 * math/fesetround.c: Likewise.
6794 * math/feupdateenv.c: Likewise.
6795 * math/fgetexcptflg.c: Likewise.
6796 * math/fraiseexcpt.c: Likewise.
6797 * math/fsetexcptflg.c: Likewise.
6798 * math/ftestexcept.c: Likewise.
6799 * math/k_cosl.c: Likewise.
6800 * math/k_rem_pio2l.c: Likewise.
6801 * math/k_sinl.c: Likewise.
6802 * math/k_tanl.c: Likewise.
6803 * math/s_asinhl.c: Likewise.
6804 * math/s_atanl.c: Likewise.
6805 * math/s_cbrtl.c: Likewise.
6806 * math/s_erfl.c: Likewise.
6807 * math/s_expm1l.c: Likewise.
6808 * math/s_log1pl.c: Likewise.
6809 * math/s_tanhl.c: Likewise.
6810 * misc/acct.c: Likewise.
6811 * misc/brk.c: Likewise.
6812 * misc/chflags.c: Likewise.
6813 * misc/chroot.c: Likewise.
6814 * misc/fchflags.c: Likewise.
6815 * misc/fgetxattr.c: Likewise.
6816 * misc/flistxattr.c: Likewise.
6817 * misc/fremovexattr.c: Likewise.
6818 * misc/fsetxattr.c: Likewise.
6819 * misc/fsync.c: Likewise.
6820 * misc/ftruncate.c: Likewise.
6821 * misc/futimes.c: Likewise.
6822 * misc/futimesat.c: Likewise.
6823 * misc/getdomain.c: Likewise.
6824 * misc/getdtsz.c: Likewise.
6825 * misc/gethostid.c: Likewise.
6826 * misc/gethostname.c: Likewise.
6827 * misc/getloadavg.c: Likewise.
6828 * misc/getpagesize.c: Likewise.
6829 * misc/getsysstats.c: Likewise.
6830 * misc/getxattr.c: Likewise.
6831 * misc/gtty.c: Likewise.
6832 * misc/ioctl.c: Likewise.
6833 * misc/lgetxattr.c: Likewise.
6834 * misc/listxattr.c: Likewise.
6835 * misc/llistxattr.c: Likewise.
6836 * misc/lremovexattr.c: Likewise.
6837 * misc/lsetxattr.c: Likewise.
6838 * misc/lutimes.c: Likewise.
6839 * misc/madvise.c: Likewise.
6840 * misc/mincore.c: Likewise.
6841 * misc/mlock.c: Likewise.
6842 * misc/mlockall.c: Likewise.
6843 * misc/mmap.c: Likewise.
6844 * misc/mprotect.c: Likewise.
6845 * misc/msync.c: Likewise.
6846 * misc/munlock.c: Likewise.
6847 * misc/munlockall.c: Likewise.
6848 * misc/munmap.c: Likewise.
6849 * misc/preadv.c: Likewise.
6850 * misc/preadv64.c: Likewise.
6851 * misc/ptrace.c: Likewise.
6852 * misc/pwritev.c: Likewise.
6853 * misc/pwritev64.c: Likewise.
6854 * misc/readv.c: Likewise.
6855 * misc/reboot.c: Likewise.
6856 * misc/remap_file_pages.c: Likewise.
6857 * misc/removexattr.c: Likewise.
6858 * misc/revoke.c: Likewise.
6859 * misc/select.c: Likewise.
6860 * misc/setdomain.c: Likewise.
6861 * misc/setegid.c: Likewise.
6862 * misc/seteuid.c: Likewise.
6863 * misc/sethostid.c: Likewise.
6864 * misc/sethostname.c: Likewise.
6865 * misc/setregid.c: Likewise.
6866 * misc/setreuid.c: Likewise.
6867 * misc/setxattr.c: Likewise.
6868 * misc/sstk.c: Likewise.
6869 * misc/stty.c: Likewise.
6870 * misc/swapoff.c: Likewise.
6871 * misc/swapon.c: Likewise.
6872 * misc/sync.c: Likewise.
6873 * misc/syncfs.c: Likewise.
6874 * misc/syscall.c: Likewise.
6875 * misc/truncate.c: Likewise.
6876 * misc/ualarm.c: Likewise.
6877 * misc/usleep.c: Likewise.
6878 * misc/ustat.c: Likewise.
6879 * misc/utimes.c: Likewise.
6880 * misc/vhangup.c: Likewise.
6881 * misc/writev.c: Likewise.
6882 * posix/_exit.c: Likewise.
6883 * posix/alarm.c: Likewise.
6884 * posix/execve.c: Likewise.
6885 * posix/fexecve.c: Likewise.
6886 * posix/fork.c: Likewise.
6887 * posix/fpathconf.c: Likewise.
6888 * posix/getaddrinfo.c: Likewise.
6889 * posix/getegid.c: Likewise.
6890 * posix/geteuid.c: Likewise.
6891 * posix/getgid.c: Likewise.
6892 * posix/getgroups.c: Likewise.
6893 * posix/getlogin.c: Likewise.
6894 * posix/getlogin_r.c: Likewise.
6895 * posix/getpgid.c: Likewise.
6896 * posix/getpid.c: Likewise.
6897 * posix/getppid.c: Likewise.
6898 * posix/getresgid.c: Likewise.
6899 * posix/getresuid.c: Likewise.
6900 * posix/getsid.c: Likewise.
6901 * posix/getuid.c: Likewise.
6902 * posix/glob64.c: Likewise.
6903 * posix/nanosleep.c: Likewise.
6904 * posix/pathconf.c: Likewise.
6905 * posix/pause.c: Likewise.
6906 * posix/posix_madvise.c: Likewise.
6907 * posix/pread.c: Likewise.
6908 * posix/pread64.c: Likewise.
6909 * posix/pwrite.c: Likewise.
6910 * posix/pwrite64.c: Likewise.
6911 * posix/sched_getaffinity.c: Likewise.
6912 * posix/sched_getp.c: Likewise.
6913 * posix/sched_gets.c: Likewise.
6914 * posix/sched_primax.c: Likewise.
6915 * posix/sched_primin.c: Likewise.
6916 * posix/sched_rr_gi.c: Likewise.
6917 * posix/sched_setaffinity.c: Likewise.
6918 * posix/sched_setp.c: Likewise.
6919 * posix/sched_sets.c: Likewise.
6920 * posix/sched_yield.c: Likewise.
6921 * posix/setgid.c: Likewise.
6922 * posix/setlogin.c: Likewise.
6923 * posix/setpgid.c: Likewise.
6924 * posix/setresgid.c: Likewise.
6925 * posix/setresuid.c: Likewise.
6926 * posix/setsid.c: Likewise.
6927 * posix/setuid.c: Likewise.
6928 * posix/sleep.c: Likewise.
6929 * posix/spawni.c: Likewise.
6930 * posix/sysconf.c: Likewise.
6931 * posix/times.c: Likewise.
6932 * posix/wait.c: Likewise.
6933 * posix/wait3.c: Likewise.
6934 * posix/wait4.c: Likewise.
6935 * posix/waitpid.c: Likewise.
6936 * resolv/gai_sigqueue.c: Likewise.
6937 * resource/getpriority.c: Likewise.
6938 * resource/getrlimit.c: Likewise.
6939 * resource/getrusage.c: Likewise.
6940 * resource/nice.c: Likewise.
6941 * resource/setpriority.c: Likewise.
6942 * resource/setrlimit.c: Likewise.
6943 * resource/ulimit.c: Likewise.
6944 * rt/aio_cancel.c: Likewise.
6945 * rt/aio_fsync.c: Likewise.
6946 * rt/aio_read.c: Likewise.
6947 * rt/aio_sigqueue.c: Likewise.
6948 * rt/aio_suspend.c: Likewise.
6949 * rt/aio_write.c: Likewise.
6950 * rt/clock_getres.c: Likewise.
6951 * rt/clock_gettime.c: Likewise.
6952 * rt/clock_nanosleep.c: Likewise.
6953 * rt/clock_settime.c: Likewise.
6954 * rt/lio_listio.c: Likewise.
6955 * rt/mq_close.c: Likewise.
6956 * rt/mq_getattr.c: Likewise.
6957 * rt/mq_notify.c: Likewise.
6958 * rt/mq_open.c: Likewise.
6959 * rt/mq_receive.c: Likewise.
6960 * rt/mq_send.c: Likewise.
6961 * rt/mq_setattr.c: Likewise.
6962 * rt/mq_timedreceive.c: Likewise.
6963 * rt/mq_timedsend.c: Likewise.
6964 * rt/mq_unlink.c: Likewise.
6965 * rt/shm_open.c: Likewise.
6966 * rt/shm_unlink.c: Likewise.
6967 * rt/timer_create.c: Likewise.
6968 * rt/timer_delete.c: Likewise.
6969 * rt/timer_getoverr.c: Likewise.
6970 * rt/timer_gettime.c: Likewise.
6971 * rt/timer_settime.c: Likewise.
6972 * setjmp/__longjmp.c: Likewise.
6973 * setjmp/setjmp.c: Likewise.
6974 * signal/kill.c: Likewise.
6975 * signal/killpg.c: Likewise.
6976 * signal/raise.c: Likewise.
6977 * signal/sigaction.c: Likewise.
6978 * signal/sigaltstack.c: Likewise.
6979 * signal/sigblock.c: Likewise.
6980 * signal/sigignore.c: Likewise.
6981 * signal/sigintr.c: Likewise.
6982 * signal/signal.c: Likewise.
6983 * signal/sigpause.c: Likewise.
6984 * signal/sigpending.c: Likewise.
6985 * signal/sigqueue.c: Likewise.
6986 * signal/sigreturn.c: Likewise.
6987 * signal/sigset.c: Likewise.
6988 * signal/sigsetmask.c: Likewise.
6989 * signal/sigstack.c: Likewise.
6990 * signal/sigsuspend.c: Likewise.
6991 * signal/sigtimedwait.c: Likewise.
6992 * signal/sigvec.c: Likewise.
6993 * signal/sigwait.c: Likewise.
6994 * signal/sigwaitinfo.c: Likewise.
6995 * signal/sysv_signal.c: Likewise.
6996 * socket/accept.c: Likewise.
6997 * socket/accept4.c: Likewise.
6998 * socket/bind.c: Likewise.
6999 * socket/connect.c: Likewise.
7000 * socket/getpeername.c: Likewise.
7001 * socket/getsockname.c: Likewise.
7002 * socket/getsockopt.c: Likewise.
7003 * socket/isfdtype.c: Likewise.
7004 * socket/listen.c: Likewise.
7005 * socket/recv.c: Likewise.
7006 * socket/recvfrom.c: Likewise.
7007 * socket/recvmsg.c: Likewise.
7008 * socket/send.c: Likewise.
7009 * socket/sendmsg.c: Likewise.
7010 * socket/sendto.c: Likewise.
7011 * socket/setsockopt.c: Likewise.
7012 * socket/shutdown.c: Likewise.
7013 * socket/sockatmark.c: Likewise.
7014 * socket/socket.c: Likewise.
7015 * socket/socketpair.c: Likewise.
7016 * stdio-common/ctermid.c: Likewise.
7017 * stdio-common/cuserid.c: Likewise.
7018 * stdio-common/remove.c: Likewise.
7019 * stdio-common/rename.c: Likewise.
7020 * stdio-common/renameat.c: Likewise.
7021 * stdio-common/tempname.c: Likewise.
7022 * stdlib/getcontext.c: Likewise.
7023 * stdlib/makecontext.c: Likewise.
7024 * stdlib/setcontext.c: Likewise.
7025 * stdlib/swapcontext.c: Likewise.
7026 * stdlib/system.c: Likewise.
7027 * streams/fattach.c: Likewise.
7028 * streams/fdetach.c: Likewise.
7029 * streams/getmsg.c: Likewise.
7030 * streams/getpmsg.c: Likewise.
7031 * streams/putmsg.c: Likewise.
7032 * streams/putpmsg.c: Likewise.
7033 * sysdeps/unix/bsd/getpt.c: Likewise.
7034 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7035 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7036 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7038 Likewise.
7039 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7040 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7041 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7042 * sysvipc/msgctl.c: Likewise.
7043 * sysvipc/msgget.c: Likewise.
7044 * sysvipc/msgrcv.c: Likewise.
7045 * sysvipc/msgsnd.c: Likewise.
7046 * sysvipc/semctl.c: Likewise.
7047 * sysvipc/semget.c: Likewise.
7048 * sysvipc/semop.c: Likewise.
7049 * sysvipc/semtimedop.c: Likewise.
7050 * sysvipc/shmat.c: Likewise.
7051 * sysvipc/shmctl.c: Likewise.
7052 * sysvipc/shmdt.c: Likewise.
7053 * sysvipc/shmget.c: Likewise.
7054 * termios/tcdrain.c: Likewise.
7055 * termios/tcflow.c: Likewise.
7056 * termios/tcflush.c: Likewise.
7057 * termios/tcgetattr.c: Likewise.
7058 * termios/tcgetpgrp.c: Likewise.
7059 * termios/tcsendbrk.c: Likewise.
7060 * termios/tcsetattr.c: Likewise.
7061 * termios/tcsetpgrp.c: Likewise.
7062 * time/adjtime.c: Likewise.
7063 * time/clock.c: Likewise.
7064 * time/getitimer.c: Likewise.
7065 * time/gettimeofday.c: Likewise.
7066 * time/setitimer.c: Likewise.
7067 * time/settimeofday.c: Likewise.
7068 * time/stime.c: Likewise.
7069 * time/time.c: Likewise.
7070
70712012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7072
a20492cf
PT
7073 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7074 /usr/old/bin.
7075
72e182e3
PT
7076 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7077 instead of spaces.
7078 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7079
fbeafede
JM
70802012-11-03 Joseph Myers <joseph@codesourcery.com>
7081
5b5b04d6
JM
7082 [BZ #14796]
7083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7084 FE_TONEAREST before applying Dekker multiplication and Knuth
7085 addition. Clear inexact exceptions and check for exact zero
7086 results afterwards.
7087 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7088 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7089 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7090 * math/libm-test.inc (fma_test): Add more tests.
7091 (fma_test_towardzero): Likewise.
7092 (fma_test_downward): Likewise.
7093 (fma_test_upward): Likewise.
7094 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7095 function.
7096 (libc_fesetround): New macro.
7097 (libc_fesetroundf): Likewise.
7098 (libc_fesetroundl): Likewise.
7099 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7100 function.
7101 (libc_fesetround_387): Likewise.
7102 (libc_fesetroundf): New macro.
7103 (libc_fesetround): Likewise.
7104 (libc_fesetroundl): Likewise.
7105 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7106 function.
7107 (libc_fesetroundf): New macro.
7108 (libc_fesetround): Likewise.
7109 (libc_fesetroundl): Likewise.
7110 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7111 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7112 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7113 libm_hidden_ver.
7114 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7115 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7116 libm_hidden_def.
7117 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7118 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7119 libm_hidden_ver.
7120 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7121 libm_hidden_def.
7122
fbeafede
JM
7123 [BZ #3439]
7124 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7125 integer constant usable in #if and use that to give value to enum
7126 constant.
7127 (FE_DIVBYZERO): Likewise.
7128 (FE_UNDERFLOW): Likewise.
7129 (FE_OVERFLOW): Likewise.
7130 (FE_INVALID): Likewise.
7131 (FE_INVALID_SNAN): Likewise.
7132 (FE_INVALID_ISI): Likewise.
7133 (FE_INVALID_IDI): Likewise.
7134 (FE_INVALID_ZDZ): Likewise.
7135 (FE_INVALID_IMZ): Likewise.
7136 (FE_INVALID_COMPARE): Likewise.
7137 (FE_INVALID_SOFTWARE): Likewise.
7138 (FE_INVALID_SQRT): Likewise.
7139 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7140 (FE_TONEAREST): Likewise.
7141 (FE_TOWARDZERO): Likewise.
7142 (FE_UPWARD): Likewise.
7143 (FE_DOWNWARD): Likewise.
7144 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7145 (FE_DIVBYZERO): Likewise.
7146 (FE_OVERFLOW): Likewise.
7147 (FE_UNDERFLOW): Likewise.
7148 (FE_INEXACT): Likewise.
7149 (FE_TONEAREST): Likewise.
7150 (FE_DOWNWARD): Likewise.
7151 (FE_UPWARD): Likewise.
7152 (FE_TOWARDZERO): Likewise.
7153 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7154 (FE_UNDERFLOW): Likewise.
7155 (FE_OVERFLOW): Likewise.
7156 (FE_DIVBYZERO): Likewise.
7157 (FE_INVALID): Likewise.
7158 (FE_TONEAREST): Likewise.
7159 (FE_TOWARDZERO): Likewise.
7160 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7161 (FE_OVERFLOW): Likewise.
7162 (FE_UNDERFLOW): Likewise.
7163 (FE_DIVBYZERO): Likewise.
7164 (FE_INEXACT): Likewise.
7165 (FE_TONEAREST): Likewise.
7166 (FE_TOWARDZERO): Likewise.
7167 (FE_UPWARD): Likewise.
7168 (FE_DOWNWARD): Likewise.
7169 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7170 (FE_DIVBYZERO): Likewise.
7171 (FE_OVERFLOW): Likewise.
7172 (FE_UNDERFLOW): Likewise.
7173 (FE_INEXACT): Likewise.
7174 (FE_TONEAREST): Likewise.
7175 (FE_DOWNWARD): Likewise.
7176 (FE_UPWARD): Likewise.
7177 (FE_TOWARDZERO): Likewise.
7178
105ca950
CM
71792012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7180
7181 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7182
a542b389
AS
71832012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7184
7185 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7186 commands. Quote $PWD.
7187 (blacklist_exports): Don't use remove_newlines. Replace "declare
7188 -x" by "export".
7189 (remove_newlines): Remove.
7190
f62c8abc
L
71912012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7192
7193 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7194 * stdlib/stdlib.h (atof): Moved to ...
7195 * include/bits/stdlib-float.h: Here. New file.
7196 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7197 * stdlib/bits/stdlib-float.h: New file.
7198 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7199 -mno-sse -mno-mmx.
7200 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7201 <xmmintrin.h>.
7202
0155d5b2
JM
72032012-11-02 Joseph Myers <joseph@codesourcery.com>
7204
a68d0680
JM
7205 * conform/conformtest.pl (@headers): Add fenv.h.
7206 * conform/data/fenv.h-data: New file.
7207 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7208 include of <math/fenv.h>.
7209
caf7f573
JM
7210 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7211 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7212 && !UNIX98]. Enables tests for XOPEN2K8.
7213 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7214 POSIX2008]: Likewise.
7215
6c073ad6
JM
7216 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7217 (struct rusage): Do not expect type or its members.
7218
0155d5b2
JM
7219 [BZ #3439]
7220 * math/math.h (FP_NAN): Define macro to integer constant usable in
7221 #if and use that to give value to enum constant.
7222 (FP_INFINITE): Likewise.
7223 (FP_ZERO): Likewise.
7224 (FP_SUBNORMAL): Likewise.
7225 (FP_NORMAL): Likewise.
7226
b5dcacb4
AS
72272012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7228
7229 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7230 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7231 arguments.
7232
f7934be8
RM
72332012-11-02 Roland McGrath <roland@hack.frob.com>
7234
7235 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7236 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7237 autoconf-time if not.
7238 * configure.in: Remove AC_PREREQ.
7239
d7d08bde
TMQMF
72402012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7241
7242 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7243 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7244 of the internal implementation.
7245
dcdae19a
JM
72462012-11-02 Joseph Myers <joseph@codesourcery.com>
7247
7248 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7249 except include of <misc/sys/syslog.h>.
7250
d6cffd3e
AS
72512012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7252
7253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7254 function returns with a NULL context exit with zero.
7255
b3563932
TMQMF
72562012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7257
7258 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7259
b288a93d
L
72602012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7261
7262 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7263 (run_program_cmd): This.
7264 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7265 (tst_langinfo): New variable. Use it.
7266
a2421a68
SAS
72672012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7268
7269 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7270 floating point opcodes.
7271
6f796e1b
TS
72722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7273
7402596b
TS
7274 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7275 variable.
7276
d0d4f868
TS
7277 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7278
6f796e1b
TS
7279 * sysdeps/mach/hurd/powerpc: Remove directory.
7280 * sysdeps/mach/powerpc: Likewise.
7281
4da224a2
AS
72822012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7283
7284 * scripts/check-local-headers.sh: Ignore c++ headers.
7285
341dd673
TS
72862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7287
7288 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7289 __libc_cleanup_region_start argument.
7290
473611b2
JM
72912012-11-01 Joseph Myers <joseph@codesourcery.com>
7292
7293 [BZ #14784]
7294 [BZ #14785]
7295 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7296 x * y using scaling, not as x * y + z.
7297 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7298 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7299 * math/libm-test.inc (fma_test): Add more tests.
7300 (fma_test_towardzero): Likewise.
7301 (fma_test_downward): Likewise.
7302 (fma_test_upward): Likewise.
7303
4078da3d
TS
73042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7305
7306 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7307
903252aa
JM
73082012-10-31 Joseph Myers <joseph@codesourcery.com>
7309
7310 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7311 New variable.
7312
cbc818d0
TS
73132012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7314
7315 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7316
5a03cb1e
AS
73172012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7318
7319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7320 Fix sort order.
7321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7322 Likewise.
7323
90aff2ff
TMQMF
73242012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7325
7326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7327 Fix the order of the list for glibc 2.17.
7328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7329 Likewise.
7330
1818fcb7
AS
73312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7332
7333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7334
ef82f4da
JM
73352012-10-31 Joseph Myers <joseph@codesourcery.com>
7336
16a0e2ec
JM
7337 [BZ #14610]
7338 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7339 for low part of x being zero before using __atanl (y).
7340 * math/libm-test.inc (atan2_test): Add another test.
7341
0eb69512
JM
7342 * manual/install.texi (Configuring and compiling): Document
7343 general use of test-wrapper and test-wrapper-env.
7344 * INSTALL: Regenerated.
7345
ef82f4da
JM
7346 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7347 (__fma): Do not extract and scale down low bits on after-rounding
7348 systems when result rounded to normal precision would have normal
7349 exponent.
7350 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7351 (__fmal): Do not extract and scale down low bits on after-rounding
7352 systems when result rounded to normal precision would have normal
7353 exponent.
7354 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7355 (__fmal): Do not extract and scale down low bits on after-rounding
7356 systems when result rounded to normal precision would have normal
7357 exponent.
7358 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7359 macro.
7360 (fma_test): Add more tests.
7361 (fma_test_towardzero): Likewise.
7362 (fma_test_downward): Likewise.
7363 (fma_test_upward): Likewise.
7364
954ef0d9
L
73652012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7366
7367 * sysdeps/i386/tininess.h: Renamed to ...
7368 * sysdeps/x86/tininess.h: This.
7369 * sysdeps/x86_64/tininess.h: Removed.
7370
df61ffb2
JM
73712012-10-30 Joseph Myers <joseph@codesourcery.com>
7372
7373 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7374 input. Use $(build-program-cmd).
7375 ($(objpfx)tst-array1-static.out): Likewise.
7376 ($(objpfx)tst-array2.out): Likewise.
7377 ($(objpfx)tst-array3.out): Likewise.
7378 ($(objpfx)tst-array4.out): Likewise.
7379 ($(objpfx)tst-array5.out): Likewise.
7380 ($(objpfx)tst-array5-static.out): Likewise.
7381
01767843
CM
73822012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7383
47cc1490
CM
7384 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7385 if defined.
7386
01767843
CM
7387 * nss/nsswitch.h (nss_interface_function): Provide new
7388 macro for use with NSS functions.
7389 * grp/initgroups.c: Use new macro.
7390 * nss/getXXbyYY.c: Likewise.
7391 * nss/getXXbyYY_r.c: Likewise.
7392 * nss/getXXent.c: Likewise.
7393 * nss/getXXent_r.c: Likewise.
7394 * sysdeps/posix/getaddrinfo.c: Likewise.
7395
8321aa97
AJ
73962012-10-30 Andreas Jaeger <aj@suse.de>
7397
7398 * po/ru.po: Update Russion translation from translation project.
7399
2a27fd6d
JM
74002012-10-30 Joseph Myers <joseph@codesourcery.com>
7401
8627a232
JM
7402 [BZ #14152]
7403 [BZ #14783]
7404 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7405 result and shift together with sticky bit instead of replicating
7406 round-to-nearest rounding.
7407 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7408 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7409 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7410 missing underflow exceptions.
7411 (fma_test_towardzero): Add more tests.
7412 (fma_test_downward): Likewise.
7413 (fma_test_upward): Likewise.
7414
2a27fd6d
JM
7415 [BZ #14047]
7416 * sysdeps/generic/tininess.h: New file.
7417 * sysdeps/i386/tininess.h: Likewise.
7418 * sysdeps/sh/tininess.h: Likewise.
7419 * sysdeps/x86_64/tininess.h: Likewise.
7420 * stdlib/tst-strtod-underflow.c: Likewise.
7421 * stdlib/tst-tininess.c: Likewise.
7422 * stdlib/strtod_l.c: Include <tininess.h>.
7423 (round_and_return): Do not set errno for exact underflow cases.
7424 Force an underflow exception when setting errno for underflow.
7425 Determine underflow based on rounding to normal precision if
7426 TININESS_AFTER_ROUNDING.
7427 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7428 ERANGE for exact underflow cases.
7429 * stdlib/Makefile (tests): Add tst-tininess and
7430 tst-strtod-underflow.
7431 ($(objpfx)tst-tininess): Use $(link-libm).
7432 ($(objpfx)tst-strtod-underflow): Likewise.
7433
e7170363
AJ
74342012-10-30 Andreas Jaeger <aj@suse.de>
7435
e5088dc6
AJ
7436 [BZ#14767]
7437 * elf/Makefile (tests): Remove conditional for have-initfini-array
7438 since this is now always required and the variable does not exist
7439 anymore.
7440 (tests-static): Likewise.
7441 (modules-names): Likewise.
7442
e7170363 7443 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7444
7445 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7446 merged with constructor/destructor.
7447 (init_array): Likewise.
7448 * elf/tst-array2dep.c (fini_array): Likewise.
7449 (init_array): Likewise.
7450
60457d8a
MF
74512012-10-29 Mike Frysinger <vapier@gentoo.org>
7452
7453 * manual/message.texi: Delete @cartouche tags.
7454
8bece752
PT
74552012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7456
94ce799f
PT
7457 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7458 EOPNOTSUPP.
7459 * sysdeps/mach/hurd/fsync.c: Likewise.
7460
8bece752
PT
7461 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7462 [_POSIX_REALTIME_SIGNALS]: Change condition to
7463 [_POSIX_REALTIME_SIGNALS > 0].
7464
86ebe6b1
AJ
74652012-10-27 Andreas Jaeger <aj@suse.de>
7466
7467 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7468 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7469 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7470 [__WORDSIZE != 64]: Likewise.
7471
54399c08
L
74722012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7473
7474 * iconvdata/tst-table.sh: Remove ${SHELL}.
7475 * iconvdata/tst-tables.sh: Likewise.
7476
e2211bed
DM
74772012-10-25 David S. Miller <davem@davemloft.net>
7478
7479 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7480 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7481 of strtoull.
7482
f303f97c
DM
7483 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7484 ifunc-impl-list.c
7485 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7486 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7487 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7488 file.
7489
1e9d84cd
RM
74902012-10-25 Roland McGrath <roland@hack.frob.com>
7491
7492 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7493 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7494 __getdirentries.
7495
df381762
JM
74962012-10-25 Joseph Myers <joseph@codesourcery.com>
7497 Jim Blandy <jimb@codesourcery.com>
7498
7499 * scripts/cross-test-ssh.sh: New file.
7500 * manual/install.texi (Configuring and compiling): Document use of
7501 cross-test-ssh.sh.
7502 * INSTALL: Regenerated.
7503
bff64913
PT
75042012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7505
7506 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7507 EOPNOTSUPP.
7508
25fe8932
JM
75092012-10-25 Joseph Myers <joseph@codesourcery.com>
7510
7511 * Makeconfig (run-program-prefix): Fix comment.
7512
cc1290d0
JM
75132012-10-24 Joseph Myers <joseph@codesourcery.com>
7514 Jim Blandy <jimb@codesourcery.com>
7515
7516 * Makeconfig (test-wrapper): New variable,
7517 (test-wrapper-env): Likewise.
7518 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7519 (run-built-tests): Define to yes.
7520 (run-program-prefix): Use $(test-wrapper).
7521 (built-program-cmd): Likewise.
7522 * Rules (make-test-out): Use $(test-wrapper-env) and
7523 $(host-built-program-cmd).
7524 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7525 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7526 tst-pathopt.sh.
7527 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7528 $(test-wrapper-env) to tst-rtld-load-self.sh.
7529 ($(objpfx)order2.out): Use $(test-wrapper).
7530 ($(objpfx)tst-initorder.out): Likewise.
7531 ($(objpfx)tst-initorder2.out): Likewise.
7532 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7533 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7534 (test_wrapper_env): New variable. Use it to run ld.so.
7535 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7536 Use it to run ld.so.
7537 (test_wrapper_env): Likewise.
7538 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7539 $(test-wrapper) to run-iconv-test.sh.
7540 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7541 (ICONV): Use $test_wrapper.
7542 * posix/Makefile ($(objpfx)globtest.out): Pass
7543 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7544 globtest.sh, not $(run-program-prefix).
7545 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7546 (test_wrapper): Likewise.
7547 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7548 set together with run_via_rtld_prefix.
7549 (run_program_prefix): Define in terms of test_wrapper and
7550 run_via_rtld_prefix.
7551
6e6249d0
RM
75522012-10-24 Roland McGrath <roland@hack.frob.com>
7553
7554 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7555 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7556 Targets removed.
7557
7558 [BZ #14743]
7559 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7560 Declare __clock_getres, __clock_gettime, __clock_settime,
7561 __clock_nanosleep, and __clock_getcpuclockid.
7562 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7563 Remove librt_hidden_def (clock_gettime).
7564 * sysdeps/unix/clock_gettime.c: Likewise.
7565 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7566 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7567 * rt/clock_getres.c: Define __clock_getres as an alias.
7568 * sysdeps/posix/clock_getres.c: Likewise.
7569 * rt/clock_settime.c: Define __clock_settime as an alias.
7570 * sysdeps/unix/clock_settime.c: Likewise.
7571 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7572 * sysdeps/unix/clock_nanosleep.c: Likewise.
7573 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7574 * rt/clock-compat.c: New file.
7575 * rt/Makefile (librt-routines): Add clock-compat and move
7576 $(clock-routines) to ...
7577 (routines): ... here, new variable.
7578 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7579 Don't add get_clockfreq here.
7580 * rt/Versions (libc: GLIBC_2.17): New version set.
7581 Add clock_* symbols here.
7582 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7583 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7584 (GLIBC_2.17): Add clock_* symbols.
7585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7587 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7589 Likewise.
7590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7591 Likewise.
7592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7596 * NEWS: Mention the move.
7597
7598 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7599 Use __open, __read, __close rather than their public counterparts.
7600 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7601 (__get_clockfreq_via_cpuinfo): Likewise.
7602 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7603 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7604
7605 * config.h.in (HAVE_IFUNC): New #undef.
7606 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7607 was successful.
7608 * configure: Regenerated.
7609
0cae3f4b
MF
76102012-10-24 Mike Frysinger <vapier@gentoo.org>
7611
7612 * configure.in: Move READELF check to start of file.
7613 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7614 libc_cv_asm_gnu_indirect_function in the process.
7615 * configure: Regenerated.
7616
8175a253
MF
76172012-10-24 Mike Frysinger <vapier@gentoo.org>
7618
7619 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7620 send the output to /dev/null.
7621 (libc_cv_cc_with_libunwind): Likewise.
7622 (libc_cv_as_noexecstack): Likewise.
7623 * configure: Regenerate.
7624
0708a7d1
JM
76252012-10-24 Joseph Myers <joseph@codesourcery.com>
7626
10b40d85
JM
7627 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7628
0708a7d1
JM
7629 * posix/globtest.sh (TMPDIR): Do not set.
7630 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7631 (testout): Likewise.
7632
9fddec1a
AJ
76332012-10-24 Andreas Jaeger <aj@suse.de>
7634
3a8db22f
AJ
7635 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7636 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7637 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7638 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7639 posix_fadvise64, posix_fallocate64.
7640
9fddec1a
AJ
7641 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7642 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7643 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7644 Likewise.
7645 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7646 Likewise.
7647 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7648
7649 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7650 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7651 <bits/fcntl-linux.h>.
7652 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7653
7654 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7655 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7656 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7657 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7658 [__WORDSIZE != 64]: Likewise.
7659
ebfd1bbd
JM
76602012-10-23 Joseph Myers <joseph@codesourcery.com>
7661
03ac099f
JM
7662 * Makeconfig (run-built-tests): New variable.
7663 * Rules [$(cross-compiling) = yes]: Change condition to
7664 [$(run-built-tests) = no].
7665 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7666 to [$(run-built-tests) = yes].
7667 * elf/Makefile [$(cross-compiling) = no]: Likewise
7668 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7669 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7670 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7671 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7672 * io/Makefile [$(cross-compiling) = no]: Likewise.
7673 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7674 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7675 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7676 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7677 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7678 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7679 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7680 * string/Makefile [$(cross-compiling) = no]: Likewise.
7681
ebfd1bbd
JM
7682 * posix/Makefile ($(objpfx)globtest.out): Pass
7683 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7684 $(rtld-installed-name).
7685 * posix/globtest.sh (elf_objpfx): Remove variable.
7686 (rtld_installed_name): Likewise.
7687 (library_path): Likewise.
7688 (run_program_prefix): New variable. Use for running globtest
7689 binary.
7690
166bca24
JB
76912012-10-23 Jim Blandy <jimb@codesourcery.com>
7692 Joseph Myers <joseph@codesourcery.com>
7693
7694 * Makeconfig (host-built-program-cmd): New variable.
7695 * elf/Makefile (tst-stackguard1-ARGS): Use
7696 $(host-built-program-cmd).
7697 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7698 (tst-spawn-ARGS): Likewise.
7699 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7700
88866099
JM
77012012-10-23 Joseph Myers <joseph@codesourcery.com>
7702 Jim Blandy <jimb@codesourcery.com>
7703
7704 * Makeconfig (run-via-rtld-prefix): New variable.
7705 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7706 (built-program-cmd): Likewise.
7707
b4b4c296
AJ
77082012-10-22 Andreas Jaeger <aj@suse.de>
7709
7710 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7711 __O_RSYNC if it exists, otherwise to O_SYNC.
7712
6fb54a22
JB
77132012-10-22 Jim Blandy <jimb@codesourcery.com>
7714 Joseph Myers <joseph@codesourcery.com>
7715
7716 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7717 /dev/null.
7718 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7719 from /dev/null
7720 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7721 /dev/null.
7722
481b90b9
AJ
77232012-10-22 Andreas Jaeger <aj@suse.de>
7724
2a0e2669
AJ
7725 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7726 Define always.
7727 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7728
76e38f9a
AJ
7729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7730 bits/fcntl-linux.h.
7731
7cd37b43
AJ
7732 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7733 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7734
481b90b9
AJ
7735 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7736 to __O_LARGEFILE.
7737 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7738 to __O_LARGEFILE.
7739
aba75984
JB
77402012-10-21 Jim Blandy <jimb@codesourcery.com>
7741 Joseph Myers <joseph@codesourcery.com>
7742
7743 * config.make.in (NM): New variable.
7744
88d4247f
AJ
77452012-10-21 Andreas Jaeger <aj@suse.de>
7746
7747 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7748 definitions and declarations that are provided by
7749 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7750
f2eed205
L
77512012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7752
7753 [BZ #14683]
7754 * elf/Makefile (tests-static): Add tst-leaks1-static.
7755 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7756 ($(objpfx)tst-leaks1-static): New rule.
7757 ($(objpfx)tst-leaks1-static-mem): Likewise.
7758 (tst-leaks1-static-ENV): New macro.
7759 * elf/dl-open.c (dl_open_worker): Check the main application
7760 only if SHARED is defined.
7761 * elf/tst-leaks1-static.c: New file.
7762
335e6931
AJ
77632012-10-20 Andreas Jaeger <aj@suse.de>
7764
7765 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7766 generic values for Linux.
7767 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7768 and declarations that are provided by <bits/fcntl-linux.h> and
7769 include <bits/fcntl-linux.h>.
7770 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7771 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7772
ac5c94d3
RM
77732012-10-20 Roland McGrath <roland@hack.frob.com>
7774
7775 * io/fcntl.h: Move include of <bits/types.h> to the top and
7776 include it unconditionally.
7777
de54b33a
L
77782012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7779
228cfb01
L
7780 * wcsmbs/Makefile (tests-ifunc): New variable.
7781 (tests): Add $(tests-ifunc).
7782 * wcsmbs/test-wcschr-ifunc.c: New file.
7783 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7784 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7785 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7786 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7787 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7788
69f07e5f
L
7789 * string/Makefile (tests-ifunc): New variable.
7790 (tests): Add $(tests-ifunc).
7791 * string/test-memccpy.c (TEST_NAME): New macro.
7792 * string/test-memchr.c (TEST_NAME): Likewise.
7793 * string/test-memcmp.c (TEST_NAME): Likewise.
7794 * string/test-memcpy.c (TEST_NAME): Likewise.
7795 * string/test-memmem.c (TEST_NAME): Likewise.
7796 * string/test-memmove.c (TEST_NAME): Likewise.
7797 * string/test-memset.c (TEST_NAME): Likewise.
7798 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7799 * string/test-stpcpy.c (TEST_NAME): Likewise.
7800 * string/test-stpncpy.c (TEST_NAME): Likewise.
7801 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7802 * string/test-strcasestr.c (TEST_NAME): Likewise.
7803 * string/test-strcat.c (TEST_NAME): Likewise.
7804 * string/test-strchr.c (TEST_NAME): Likewise.
7805 * string/test-strcmp.c(TEST_NAME): Likewise.
7806 * string/test-strcpy.c (TEST_NAME): Likewise.
7807 * string/test-strcspn.c (TEST_NAME): Likewise.
7808 * string/test-strlen.c (TEST_NAME): Likewise.
7809 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7810 * string/test-strncmp.c (TEST_NAME): Likewise.
7811 * string/test-strncpy.c (TEST_NAME): Likewise.
7812 * string/test-strnlen.c (TEST_NAME): Likewise.
7813 * string/test-strpbrk.c (TEST_NAME): Likewise.
7814 * string/test-strrchr.c (TEST_NAME): Likewise.
7815 * string/test-strspn.c (TEST_NAME): Likewise.
7816 * string/test-strstr.c (TEST_NAME): Likewise.
7817 * string/test-bcopy-ifunc.c: New file.
7818 * string/test-bzero-ifunc.c: Likewise.
7819 * string/test-memccpy-ifunc.c: Likewise.
7820 * string/test-memchr-ifunc.c: Likewise.
7821 * string/test-memcmp-ifunc.c: Likewise.
7822 * string/test-memcpy-ifunc.c: Likewise.
7823 * string/test-memmem-ifunc.c: Likewise.
7824 * string/test-memmove-ifunc.c: Likewise.
7825 * string/test-mempcpy-ifunc.c: Likewise.
7826 * string/test-memset-ifunc.c: Likewise.
7827 * string/test-rawmemchr-ifunc.c: Likewise.
7828 * string/test-stpcpy-ifunc.c: Likewise.
7829 * string/test-stpncpy-ifunc.c: Likewise.
7830 * string/test-strcasecmp-ifunc.c: Likewise.
7831 * string/test-strcasestr-ifunc.c: Likewise.
7832 * string/test-strcat-ifunc.c: Likewise.
7833 * string/test-strchr-ifunc.c: Likewise.
7834 * string/test-strchrnul-ifunc.c: Likewise.
7835 * string/test-strcmp-ifunc.c: Likewise.
7836 * string/test-strcpy-ifunc.c: Likewise.
7837 * string/test-strcspn-ifunc.c: Likewise.
7838 * string/test-strlen-ifunc.c: Likewise.
7839 * string/test-strncasecmp-ifunc.c: Likewise.
7840 * string/test-strncat-ifunc.c: Likewise.
7841 * string/test-strncmp-ifunc.c: Likewise.
7842 * string/test-strncpy-ifunc.c: Likewise.
7843 * string/test-strnlen-ifunc.c: Likewise.
7844 * string/test-strpbrk-ifunc.c: Likewise.
7845 * string/test-strrchr-ifunc.c: Likewise.
7846 * string/test-strspn-ifunc.c: Likewise.
7847 * string/test-strstr-ifunc.c: Likewise.
7848
de54b33a
L
7849 * debug/Makefile (tests-ifunc): New variable.
7850 (tests): Add $(tests-ifunc).
7851 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7852 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7853 * debug/test-stpcpy_chk-ifunc.c: New file.
7854 * debug/test-strcpy_chk-ifunc.c: Likewise.
7855
88481c16
SP
78562012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7857
7858 [BZ #13601]
7859 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7860 header is not read in.
7861
135948bd
JM
78622012-10-19 Joseph Myers <joseph@codesourcery.com>
7863
89f1c388
JM
7864 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7865 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7866 directly. Pass built executable to script as
7867 $(built-program-cmd).
7868 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7869 $testprogram without using LD_LIBRARY_PATH and $ldso.
7870
e40a0d21
JM
7871 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7872 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7873 $(rtld-installed-name).
7874 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7875 (rtld_installed_name): Likewise.
7876 (library_path): Likewise.
7877 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7878 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7879 $(run-program-prefix) to tst-tables.sh.
7880 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7881 it to run tst-table-from and tst-table-to.
7882 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7883 Pass it to tst-table.sh.
7884 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7885 $(run-program-prefix) to tst-gettext.sh.
7886 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7887 tst-translit.sh.
7888 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7889 tst-gettext2.sh.
7890 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7891 to run tst-gettext.
7892 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7893 to run tst-gettext2.
7894 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7895 to run tst-translit.
7896 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7897 $(run-program-prefix) to tst-mtrace.sh.
7898 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7899 to run tst-mtrace.
7900 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7901 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7902 $(rtld-installed-name).
7903 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7904 (rtld_installed_name): Likewise.
7905 (run_program_prefix): New variable. Use it to run wordexp-test.
7906
728e272a
JM
7907 * Makeconfig (ARCH): Remove all definitions.
7908 (machine): Likewise.
7909 [ARCH]: Remove conditional code.
7910 [!objdir]: Give error.
7911 [!objdir] (objpfx): Remove.
7912 [!objdir] (common-objpfx): Likewise.
7913 [!objdir] (common-objdir): Likewise.
7914 * configure.in (config_makefile): Remove. Hardcode Makefile in
7915 AC_CONFIG_FILES call.
7916 * configure: Regenerated.
7917
d528cdcf
JM
7918 [BZ #13888]
7919 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7920 or TMPDIR.
7921 (testout): Likewise.
7922
135948bd
JM
7923 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7924 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7925 $(rtld-installed-name).
7926 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7927 (rtld_installed_name): Likwise.
7928 (runit): Remove function.
7929 (run_getconf): New variable, Use it for running getconf binary.
7930
38c78296
L
79312012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7932
7933 [BZ #14716]
7934 * string/test-memmem.c (check_result): New function.
7935 (do_one_test): Use it.
7936 (check1): New function.
7937 (test_main): Use it.
7938
d077f65f
MT
79392012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7940
7941 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7942
ced52c71
JM
79432012-10-18 Joseph Myers <joseph@codesourcery.com>
7944
7945 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7946 (_G_LSEEK64): Likewise.
7947 (_G_MMAP64): Likewise.
7948 (_G_FSTAT64): Likewise.
7949 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7950 (_G_LSEEK64): Likewise.
7951 (_G_MMAP64): Likewise.
7952 (_G_FSTAT64): Likewise.
7953 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7954 unconditional. Call __mmap64 directly.
7955 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7956 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7957 __lseek64 directly.
7958 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7959 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7960 __mmap64 directly.
7961 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7962 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7963 __lseek64 directly.
7964 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7965 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7966 __lseek64 directly.
7967 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7968 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7969 __lseek64 directly.
7970 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7971 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7972 __fxstat64 directly.
7973 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7974 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7975 unconditional.
7976 (freopen64) [!_G_OPEN64]: Remove conditional code.
7977 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7978 unconditional.
7979 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7980 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7981 unconditional.
7982 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7983 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7984 unconditional.
7985 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7986 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7987 unconditional.
7988 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7989 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7990 unconditional.
7991 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7992 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7993 unconditional.
7994 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7995 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7996 unconditional.
7997 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7998
b741de23
SP
79992012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8000
8001 [BZ #12140]
8002 * manual/memory.texi (Malloc Tunable Parameters): Add note
8003 about free list pointers overwriting some perturb bytes.
8004 Wording suggested by Roland McGrath.
8005
f9b9d9c9
JM
80062012-10-17 Joseph Myers <joseph@codesourcery.com>
8007
8008 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8009 (lgamma_test): Likewise.
8010 (tgamma_test): Likewise.
8011
172a631a
FW
80122012-10-16 Florian Weimer <fweimer@redhat.com>
8013
8014 [BZ #14700]
8015 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8016 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8017
e9f37252
MK
80182012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8019
8020 * NEWS: Mention BZ #14716.
8021 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8022 when removing AVAILABLE1_USES_J macro.
8023
d394eb74
L
80242012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8025
8026 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8027 (__bswap_64): __uint64_t for unsigned 64-bit int.
8028
ca38dc17
AS
80292012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8030
8031 * include/string.h (memmem): Declare libc hidden alias.
8032 * string/memmem.c (memmem): Define libc hidden alias.
8033 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8034 __read, __close instead of open, read, close.
8035
9a387d1f
L
80362012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8037
ac49ecaf
L
8038 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8039 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8040 global and hidden.
8041 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8042 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8043 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8044 Likewise.
8045 (__rawmemchr_sse2): Likewise.
8046 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8047 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8048 (__strchr_sse2): Likewise.
8049 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8050 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8051 (__strcasecmp_sse2): Likewise.
8052 (__strncasecmp_sse2): Likewise.
8053 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8054 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8055 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8056 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8057 (__strrchr_sse2): Likewise.
8058 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8059 ifunc-impl-list.c.
8060 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8061 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8062 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8063 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8064 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8065 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8066 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8067 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8068 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8069 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8070 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8071 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8072 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8073 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8074 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8075 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8076 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8077 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8078 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8079 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8080 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8081 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8082 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8083 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8084 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8085 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8086 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8087 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8088 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8089 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8090
b090e8ea
L
8091 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8092 global and hidden.
8093 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8094 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8095 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8096 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8097 Likewise.
8098 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8099 Likewise.
8100 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8101 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8102 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8103 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8104 ifunc-impl-list.c.
8105 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8106 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8107 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8108 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8109 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8110 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8111 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8112 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8113 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8114 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8115 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8116 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8117 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8118 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8119 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8120 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8121 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8122 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8123 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8124 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8125 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8126 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8127 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8128 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8129 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8130 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8131 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8132 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8133 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8134 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8135 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8136 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8137 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8138 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8139 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8140 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8141 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8142 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8143 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8144 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8145 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8146
11dd4af6
L
8147 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8148 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8149 * include/ifunc-impl-list.h: New file.
8150 * misc/ifunc-impl-list.c: Likewise.
8151 * misc/Makefile (routines): Add ifunc-impl-list.
8152 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8153 * string/test-string.h: Include <ifunc-impl-list.h>.
8154 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8155 impl_array): New variables.
8156 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8157 are defined.
8158 (test_init): Call __libc_ifunc_impl_list to initialize
8159 func_list if TEST_IFUNC and TEST_NAME are defined.
8160
9a387d1f
L
8161 * string/Makefile (strop-tests): Add bcopy and bzero.
8162 * string/test-bcopy.c: New file.
8163 * string/test-bzero.c: Likewise.
8164 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8165 defined.
8166 * string/test-memset.c: Support bzero test if TEST_BZERO is
8167 defined.
8168 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8169 __libc_memmove.
8170 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8171 __libc_memset.
8172 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8173 of memset.
8174
472371b9
JM
81752012-10-10 Joseph Myers <joseph@codesourcery.com>
8176
1e4a9536
JM
8177 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8178 * configure: Regenerated.
8179
d173d12e
JM
8180 * Makeconfig (+link-static-before-libc): Don't include
8181 $(link-static-libc).
8182
472371b9
JM
8183 * libio/libio.h (_IO_pos_t): Remove.
8184
89a3ad0b
AO
81852012-10-10 Alexandre Oliva <aoliva@redhat.com>
8186
8187 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8188 McGrath.
8189
e7451425
AO
81902012-10-10 Alexandre Oliva <aoliva@redhat.com>
8191
8192 * crypt/crypt-entry.c: Include fips-private.h.
8193 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8194 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8195 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8196 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8197
4ba74a35
AO
81982012-10-10 Alexandre Oliva <aoliva@redhat.com>
8199
8200 * crypt/crypt-private.h: Include stdbool.h.
8201 (_ufc_setup_salt_r): Return bool.
8202 * crypt/crypt-entry.c: Include errno.h.
8203 (__crypt_r): Return NULL with EINVAL for bad salt.
8204 * crypt/crypt_util.c (bad_for_salt): New.
8205 (_ufc_setup_salt_r): Check that salt is long enough and within
8206 the specified alphabet.
8207 * crypt/badsalttest.c: New file.
8208 * crypt/Makefile (tests): Add it.
8209 ($(objpfx)badsalttest): New.
8210
f96f1242
MK
82112012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8212
8213 * NEWS: Add entry for BZ #14602.
8214
0e8e0c1c
JM
82152012-10-09 Joseph Myers <joseph@codesourcery.com>
8216
8217 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8218 type-generic.
8219 * math/libm-test.inc: Update comment listing what functions and
8220 macros are tested.
8221 (isgreater_test): New function.
8222 (isgreaterequal_test): Likewise.
8223 (isless_test): Likewise.
8224 (islessequal_test): Likewise.
8225 (islessgreater_test): Likewise.
8226 (isunordered_test): Likewise.
8227 (main): Call the new functions.
8228
273edc5e
RM
82292012-10-09 Roland McGrath <roland@hack.frob.com>
8230
b8493de0
RM
8231 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8232 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8233 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8234 * sysdeps/i386/configure: Regenerated.
8235 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8236 * sysdeps/mach/configure: Regenerated.
8237 * sysdeps/mach/hurd/configure: Regenerated.
8238 * sysdeps/powerpc/configure: Regenerated.
8239 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8240 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8241 * sysdeps/s390/s390-32/configure: Regenerated.
8242 * sysdeps/s390/s390-64/configure: Regenerated.
8243 * sysdeps/sh/configure: Regenerated.
8244 * sysdeps/sparc/configure: Regenerated.
8245 * sysdeps/unix/sysv/linux/configure: Regenerated.
8246 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8247 * sysdeps/x86_64/configure: Regenerated.
8248
273edc5e
RM
8249 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8250 defined. Don't check if MAP is NULL.
8251
c8450f70
JM
82522012-10-09 Joseph Myers <joseph@codesourcery.com>
8253
8254 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8255 (_G_stat64): Likewise.
8256 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8257 (_G_stat64): Likewise.
8258 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8259 instead of struct _G_stat64.
8260 * libio/fileops.c (mmap_remap_check): Likewise.
8261 (decide_maybe_mmap): Likewise.
8262 (_IO_new_file_seekoff): Likewise.
8263 (_IO_file_stat): Likewise.
8264 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8265 _G_off64_t.
8266 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8267 instead of struct _G_stat64.
8268 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8269
57e605ba
MK
82702012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8271
8272 [BZ #14602]
8273 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8274 Replace with ...
8275 (CHECK_EOL): New macro.
8276 (two_way_short_needle): Check beginning of haystack for EOL. Use
8277 CHECK_EOL.
8278 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8279 Replace with CHECK_EOL.
8280 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8281 Replace with CHECK_EOL.
8282
ef1bb361
JM
82832012-10-08 Joseph Myers <joseph@codesourcery.com>
8284
8285 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8286 type-generic.
8287 * math/libm-test.inc: Update comment listing what functions and
8288 macros are tested.
8289 (finite_test): New function.
8290 (isinf_test): Likewise.
8291 (isnan_test): Likewise.
8292 (fpclassify_test): Test subnormal input.
8293 (isfinite_test): Likewise.
8294 (isnormal_test): Likewise.
8295 (main): Call the new functions.
8296
55f11534
JN
82972012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8298
8299 [BZ #14660]
8300 * Makerules (%.dynsym): Force C locale when running
8301 $(OBJDUMP) --dynamic-syms.
8302
1ab29350
AS
83032012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8304
8305 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8306 <stdint.h>.
8307
f1ecb7ef
DM
83082012-10-06 David S. Miller <davem@davemloft.net>
8309
8310 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8311 upper 32-bits of the length value in %o2 since we use branch-on-register
8312 tests which consider the entire 64-bit register.
8313
5d41d91a
L
83142012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8315
8316 * string/test-strstr.c (check2): Add a test for page boundary.
8317
3baddb72
DM
83182012-10-05 David S. Miller <davem@davemloft.net>
8319
8320 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8321 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8322 file.
8323 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8324 sysdep_routines.
8325 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8326 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8327 and bzero when HWCAP_SPARC_CRYPTO is present.
8328
9cee5585
L
83292012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8330
d7e0dab9
L
8331 [BZ #14602]
8332 * string/test-strstr.c (check2): New function.
8333 (test_main): Call check2.
8334
03759f47
L
8335 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8336 and bug-strchr1.
8337 * string/bug-strcasestr1.c (do_test): Moved to ...
8338 * string/test-strcasestr.c (check1): Here. New function.
8339 (do_one_test): Break out result checking code into ...
8340 (check_result): This. New function.
8341 (do_one_test): Call check_result.
8342 (test_main): Call check1.
8343 * string/bug-strchr1.c (do_test): Moved to ...
8344 * string/test-strchr.c (check1): Here. New function.
8345 (do_one_test): Break out result checking code into ...
8346 (check_result): This. New function.
8347 (do_one_test): Call check_result.
8348 (test_main): Call check1.
8349 * string/bug-strstr1.c (main): Moved to ...
046f153e 8350 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8351 (do_one_test): Break out result checking code into ...
8352 (check_result): This. New function.
8353 (do_one_test): Call check_result.
8354 (test_main): Call check1.
8355 * string/bug-strcasestr1.c: Removed.
8356 * string/bug-strchr1.c: Likewise.
8357 * string/bug-strstr1.c: Likewise.
8358
53cea63e
L
8359 * elf/Makefile (dl-routines): Add hwcaps.
8360 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8361 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8362 (_dl_important_hwcaps): Moved to ...
8363 * elf/dl-hwcaps.c: Here. New file.
8364 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8365
9cee5585 8366 [BZ #14557]
bb859b06
L
8367 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8368 if IS_IN_rtld isn't defined.
8369
9cee5585
L
8370 * elf/dl-support.c (_dl_sysinfo_map): New.
8371 Include "get-dynamic-info.h" and "setup-vdso.h".
8372 (_dl_non_dynamic_init): Call setup_vdso.
8373 * elf/dynamic-link.h: Don't include <assert.h>.
8374 (elf_get_dynamic_info): Moved to ...
8375 * elf/get-dynamic-info.h: Here. New file.
8376 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8377 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8378 * elf/setup-vdso.h: Here. New file.
8379 * elf/rtld.c: Include "setup-vdso.h".
8380 (dl_main): Call setup_vdso.
8381
23c31b76
JM
83822012-10-05 Joseph Myers <joseph@codesourcery.com>
8383
28234b07
JM
8384 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8385 creal in comment listing functions tested. List finite, isinf,
8386 isnan, isless, islessequal, isgreater, isgreaterequal,
8387 islessgreater, isunordered, lgamma_r and pow10 as functions and
8388 macros not tested. Mention which functions not tested are aliases
8389 for other functions. Fix typo. Note that signs of NaNs are not
8390 tested.
8391
23c31b76
JM
8392 * scripts/config.guess: Update from config.git.
8393 * scripts/config.sub: Likewise.
8394
9043e228
RM
83952012-10-04 Roland McGrath <roland@hack.frob.com>
8396
8397 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8398 * misc/madvise.c (madvise): Renamed to __madvise.
8399 Make madvise a weak alias.
8400 * include/sys/mman.h: Declare __madvise.
8401 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8402 * sysdeps/unix/syscalls.list
8403 (madvise): Make __madvise the strong name, and madvise a weak alias.
8404 * sysdeps/unix/sysv/linux/syscalls.list
8405 (madvise, mmap): Remove redundant entries.
8406 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8407 * malloc/malloc.c (mtrim): Likewise.
8408 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8409
f57f8055
RM
84102012-10-03 Roland McGrath <roland@hack.frob.com>
8411
8412 * sysdeps/mach/hurd/dl-cache.c: File removed.
8413 * config.h.in (USE_LDCONFIG): New #undef.
8414 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8415 * configure: Regenerated.
8416 * elf/Makefile (dl-routines): Add dl-cache only under
8417 [$(use-ldconfig) = yes].
8418 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8419 cache on [USE_LDCONFIG].
8420 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8421 [USE_LDCONFIG].
8422 * elf/rtld.c (dl_main): Likewise.
8423
5bb0c10a
PT
84242012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8425
8426 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8427 _SC_LEVEL4_CACHE_LINESIZE.
8428
010188c6
RM
84292012-10-03 Roland McGrath <roland@hack.frob.com>
8430
8431 * sysdeps/unix/bsd/confstr.h: File removed.
8432
b6c5ec07
AO
84332012-10-02 Alexandre Oliva <aoliva@redhat.com>
8434
8435 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8436 sys/sdt-config.h.
8437
408223d4
RM
84382012-10-02 Roland McGrath <roland@hack.frob.com>
8439
8440 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8441 Make 'mapoff' field ElfW(Off) rather than off_t.
8442
bb9510dc
DL
84432012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8444
fc997c6e
DL
8445 * nscd/Makefile: Remove nscd-cflags and all its users.
8446 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8447 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8448
bb9510dc
DL
8449 [BZ #10631]
8450 * malloc.c (malloc_printerr): Clarify error message.
8451
05699367
L
84522012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8453
8454 [BZ #14648]
8455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8456 Set bit_FMA_Usable if FMA is supported.
8457 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8458 macro.
8459 (bit_FMA4_Usable): Updated.
8460 (index_FMA_Usable): New macro.
8461 (CPUID_FMA): Likewise
8462 (HAS_FMA): Defined with bit_FMA_Usable.
8463
51367701
RM
84642012-10-01 Roland McGrath <roland@hack.frob.com>
8465
8466 * bits/types.h (__swblk_t): Type removed.
8467 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8468 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8469 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8470 (__SWBLK_T_TYPE): Likewise.
8471 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8472 (__SWBLK_T_TYPE): Likewise.
8473 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8474 (__SWBLK_T_TYPE): Likewise.
8475 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8476 (__SWBLK_T_TYPE): Likewise.
8477
4d57bf63 84782012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8479 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8480
8481 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8482 (xdr_mapname): Use YPMAXMAP as maxsize.
8483 (xdr_peername): Use YPMAXPEER as maxsize.
8484 (xdr_keydat): Use YPAXRECORD as maxsize.
8485 (xdr_valdat): Use YPMAXRECORD as maxsize.
8486
93c65d43
RM
84872012-10-01 Roland McGrath <roland@hack.frob.com>
8488
497a03d6
RM
8489 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8490
93c65d43
RM
8491 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8492 * csu/init-first.c: ... here.
8493 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8494 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8495 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8496 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8497 * sysdeps/i386/init-first.c: File removed.
8498 * sysdeps/sh/init-first.c: File removed.
8499
bec749fd
JM
85002012-10-01 Joseph Myers <joseph@codesourcery.com>
8501
8502 [BZ #14645]
8503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8504 if x * y might underflow to zero and z is zero.
8505 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8506 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8507 * math/libm-test.inc (min_subnorm_value): New variable.
8508 (fma_test): Add more tests.
8509 (fma_test_towardzero): Likewise.
8510 (fma_test_downward): Likewise
8511 (fma_test_upward): Likewise.
8512 (initialize): Set min_subnorm_value.
8513
8ec5b013
JM
85142012-09-29 Joseph Myers <joseph@codesourcery.com>
8515
8516 [BZ #14638]
8517 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8518 0 + 0.
8519 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8520 mode for addition resulting in exact zero.
8521 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8522 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8523 exact 0 + 0.
8524 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8525 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8526 * math/libm-test.inc (fma_test): Add more tests.
8527 (fma_test_towardzero): New function.
8528 (fma_test_downward): Likewise.
8529 (fma_test_upward): Likewise.
8530 (main): Call the new functions.
8531
b1fa802e
DM
85322012-09-28 David S. Miller <davem@davemloft.net>
8533
8534 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8535
d3b9fd9e
RM
85362012-09-28 Roland McGrath <roland@hack.frob.com>
8537
ea4d37b3
RM
8538 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8539 instead of SIGALRM.
8540
ac51c949
RM
8541 * sysdeps/gnu/_G_config.h: Moved to ...
8542 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8543 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8544 * sysdeps/generic/_G_config.h: ... here.
8545
28c195f7
RM
8546 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8547
848917f9
RM
8548 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8549
6bacf05b
RM
8550 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8551 Conditionalize target on [libnss_test1.so-version].
8552
91363dbb
RM
8553 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8554
cc87f7d8
RM
8555 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8556 (elfobjdir): Move out of conditionals.
8557
b1c608fe
RM
8558 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8559 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8560 (__nss_lookup_function): Conditionalize label remove_from_tree on
8561 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8562
1d9a6d96
DM
85632012-09-28 David S. Miller <davem@davemloft.net>
8564
8565 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8566 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8567 file.
8568 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8569 sysdep_routines.
8570 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8571 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8572 when HWCAP_SPARC_CRYPTO is present.
8573
72581615
PT
85742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8575
8576 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8577
715a900c
JL
85782012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8579
8580 [BZ #6530]
8581 * stdio-common/vfprintf.c (process_string_arg): Revert
8582 2000-07-22 change.
8583
85842011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8585
8586 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8587 for testcase.
8588 * stdio-common/tst-sprintf.c: Include <locale.h>
8589 (main): Test sprintf's handling of incomplete multibyte
8590 characters.
8591
9bac1d86
L
85922012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8593
8594 * elf/dl-runtime.c (VERSYMIDX): Removed.
8595 * elf/dl-version.c (VERSYMIDX): Likewise.
8596 * elf/do-rel.h (VERSYMIDX): Likewise.
8597 (VALIDX): Likewise.
8598 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8599 * elf/rtld.c (VALIDX): Likewise.
8600 (ADDRIDX): Likewise.
9bac1d86
L
8601 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8602 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8603 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8604 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8605 (VALIDX): Likewise.
8606 (ADDRIDX): Likewise.
9bac1d86 8607
b31606c0
PT
86082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8609
8610 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8611
11541177
JL
86122012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8613
8614 [BZ #11438]
8615 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8616 to global scope.
8617 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8618 addresses are in the same scope as 192.0.2/24.
8619 * posix/gai.conf: Document new scope table defaults.
8620
adb26fae
SP
86212012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8622
8623 [BZ #5298]
8624 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8625 for ftell. Compute offsets from write pointers instead.
8626 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8627
4573c6b0
SP
86282012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8629
8630 [BZ #14543]
8631 * libio/Makefile (tests): New test case tst-fseek.
8632 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8633 combination works in wide mode.
8634 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8635 state when the external buffer state changes.
8636
aa9bbfe6
DM
86372012-09-27 David S. Miller <davem@davemloft.net>
8638
8639 [BZ #14376]
8640 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8641 pass reloc->r_addend in as the 'high' argument to
8642 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8643
784421e7
DM
8644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8645
c39bc8b8
PT
86462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8647
8648 * rt/tst-aio2.c: Include <pthread.h>.
8649 * rt/tst-aio3.c: Likewise.
8650
1ccc2399
SE
86512012-09-27 Steve Ellcey <sellcey@mips.com>
8652
8653 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8654
31ed4153
L
86552012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8656
25f5f885
L
8657 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8658 contents on [SHARED].
31ed4153 8659
b7bfe116
MP
86602012-09-26 Marek Polacek <polacek@redhat.com>
8661
8662 [BZ #14530]
8663 [BZ #13741]
8664 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8665 for C++ and GCC <4.3 as well as for non GCC compilers.
8666
43c4edba
MT
86672012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8668
8669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8670
6a1bf82f
RM
86712012-09-25 Roland McGrath <roland@hack.frob.com>
8672
8673 * Makefile.in (all, install): Declare with .PHONY.
8674 Reported by Michael Hope <michael.hope@linaro.org>.
8675
8ad11b9a
TMQMF
86762012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8677
8678 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8679 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8680 system header.
8681 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8682 Likewise.
8683 (sydep_routines): Add the new and the internal functions.
8684 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8685 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8687 (GLIBC_2.17): Add the new function.
8688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8689 (GLIBC_2.17): Likewise.
8690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8691 (GLIBC_2.17): Likewise.
8692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8693 (GLIBC_2.17): Likewise.
8694 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8695
7e2fca8d
AM
86962012-09-25 Alan Modra <amodra@gmail.com>
8697
8698 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8699 Add release barrier before setting once_control to say
8700 initialisation is done. Add hints on lwarx. Use macro in
8701 place of isync.
8702 (clear_once_control): Add release barrier.
8703
b87c4b24
JM
87042012-09-25 Joseph Myers <joseph@codesourcery.com>
8705
d032e0d2
JM
8706 [BZ #13629]
8707 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8708 specially.
8709 * math/s_clog10.c (__clog10): Likewise.
8710 * math/s_clog10f.c (__clog10f): Likewise.
8711 * math/s_clog10l.c (__clog10l): Likewise.
8712 * math/s_clogf.c (__clogf): Likewise.
8713 * math/s_clogl.c (__clogl): Likewise.
8714 * math/Makefile (libm-calls): Add x2y2m1.
8715 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8716 (__x2y2m1): Likewise.
8717 (__x2y2m1l): Likewise.
8718 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8719 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8722 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8723 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8724 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8725 * sysdeps/i386/fpu/libm-test-ulps: Update.
8726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8727
b87c4b24
JM
8728 [BZ #14621]
8729 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8730 int as type of variable DEPTH.
8731 (glob): Use size_t instead of int as type of variables NEWCOUNT
8732 and OLD_PATHC.
8733
6d3bf199
LD
87342012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8735
22bf5c17
LD
8736 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8737 Add s_sincosf-sse2.
8738 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8739 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8740 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8741 macros for using routine as __sincosf_ia32.
8742 Use macro for function declaration and weak_alias.
8743 * sysdeps/i386/fpu/libm-test-ulps: Update.
8744
8745 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8747
8748 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8749 subnormal argument.
8750 * math/s_cexpf.c (__cexpf): Likewise.
8751 * math/s_csinf.c (__csinf): Likewise.
8752 * math/s_csinhf.c (__csinhf): Likewise.
8753 * math/s_ctanf.c (__ctanf): Likewise.
8754 * math/s_ctanhf.c (__ctanhf): Likewise.
8755 * math/s_ccosh.c (__ccoshf): Likewise.
8756 * math/s_cexp.c (__cexpl): Likewise.
8757 * math/s_csin.c (__csin): Likewise.
8758 * math/s_csinh.c (__csinh): Likewise.
8759 * math/s_ctan.c (__ctan): Likewise.
8760 * math/s_ctanh.c (ctanh): Likewise.
8761 * math/s_ccoshl.c (__ccoshl): Likewise.
8762 * math/s_cexpl.c (__cexpl): Likewise.
8763 * math/s_csinl.c (__csinl): Likewise.
8764 * math/s_csinhl.c (__csinhl): Likewise.
8765 * math/s_ctanl.c (__ctanl): Likewise.
8766 * math/s_ctanhl.c (__ctanhl): Likewise.
8767
203e5603
JM
87682012-09-25 Joseph Myers <joseph@codesourcery.com>
8769
8770 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8771 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8772 (_IO_off_t): Define to __off_t, not _G_off_t.
8773 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8774 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8775 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8776 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8777 type of __dummy and __dummy2 fields.
8778 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8779 (_G_ssize_t): Likewise.
8780 (_G_off_t): Likewise.
8781 (_G_pid_t): Likewise.
8782 (_G_uid_t): Likewise.
8783 (_G_wchar_t): Likewise.
8784 (_G_wint_t): Likewise.
8785 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8786 (_G_ssize_t): Likewise.
8787 (_G_off_t): Likewise.
8788 (_G_pid_t): Likewise.
8789 (_G_uid_t): Likewise.
8790 (_G_wchar_t): Likewise.
8791 (_G_wint_t): Likewise.
8792 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8793 (_G_ssize_t): Likewise.
8794 (_G_off_t): Likewise.
8795 (_G_pid_t): Likewise.
8796 (_G_uid_t): Likewise.
8797 (_G_wchar_t): Likewise.
8798 (_G_wint_t): Likewise.
8799
9fab36eb
SP
88002012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8801
8802 * malloc/arena.c: Include malloc-sysdep.h.
8803 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8804 is sufficient to shrink the heap or an unmap is needed.
8805 * sysdeps/generic/malloc-sysdep.h: New file. Define
8806 new function check_may_shrink_heap.
8807 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8808 new function check_may_shrink_heap.
8809
2b4f00d1
SP
88102012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8811
8812 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8813 comments.
8814
9a9028b1
DL
88152012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8816
57c69bef
DL
8817 * catgets/test-gencat.sh: Add "set -e".
8818 * elf/tst-pathopt.sh: Likewise.
8819 * grp/tst_fgetgrent.sh: Likewise.
8820 * iconvdata/run-iconv-test.sh: Likewise.
8821 * intl/tst-gettext.sh: Likewise.
8822 * intl/tst-gettext2.sh: Likewise.
8823 * intl/tst-gettext4.sh: Likewise.
8824 * intl/tst-gettext6.sh: Likewise.
8825 * intl/tst-translit.sh: Likewise.
8826 * io/ftwtest-sh: Likewise.
8827 * libio/test-freopen.sh: Likewise.
8828 * malloc/tst-mtrace.sh: Likewise.
8829 * posix/globtest.sh: Likewise.
8830 * posix/tst-getconf.sh: Likewise.
8831 * posix/wordexp-tst.sh: Likewise.
8832 * stdio-common/tst-printf.sh: Likewise.
8833 * stdio-common/tst-unbputc.sh: Likewise.
8834 * stdlib/tst-fmtmsg.sh: Likewise.
8835 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8836 * catgets/Makefile: Do not specify -e option when running
8837 testsuite shell scripts.
8838 * elf/Makefile: Likewise.
8839 * grp/Makefile: Likewise.
8840 * iconvdata/Makefile: Likewise.
8841 * intl/Makefile: Likewise.
8842 * io/Makefile: Likewise.
8843 * libio/Makefile: Likewise.
8844 * malloc/Makefile: Likewise.
8845 * posix/Makefile: Likewise.
8846 * stdio-common/Makefile: Likewise.
8847 * stdlib/Makefile: Likewise.
8848 * sysdeps/x86_64/Makefile: Likewise.
8849
9a9028b1
DL
8850 * io/ftwtest-sh: Add copyright header.
8851 * posix/globtest.sh: Likewise.
8852 * posix/tst-getconf.sh: Likewise.
8853 * posix/wordexp-tst.sh: Likewise.
8854 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8855
ced6f16e
L
88562012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8857
94b32c39
L
8858 [BZ #13679]
8859 * Makeconfig (+link): Defined as $(+link-static) if
8860 $(build-shared) isn't yes.
8861 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8862 isn't yes.
8863 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8864
189e935b
L
8865 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8866
ced6f16e
L
8867 [BZ #14562]
8868 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8869 new chunk size with MALLOC_ALIGN_MASK.
8870
a9f8e53a
JM
88712012-09-24 Joseph Myers <joseph@codesourcery.com>
8872
8873 [BZ #5044]
8874 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8875 <rounding-mode.h>.
8876 (__printf_fphex): Determine rounding using get_rounding_mode and
8877 round_away.
8878 * stdio-common/tst-printf-round.c (struct hex_test): New
8879 structure.
8880 (hex_tests): New variable.
8881 (test_hex_in_one_mode): New function.
8882 (do_test): Also run tests for hex float output.
8883
43153109
JM
88842012-09-21 Joseph Myers <joseph@codesourcery.com>
8885
8886 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8887 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8888 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8889 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8890 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8891 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8892 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8893 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8894
8a26625d
JM
88952012-09-20 Joseph Myers <joseph@codesourcery.com>
8896
8897 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8898 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8899 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8900 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8901
f3fd569c
DL
89022012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8903
8904 [BZ #14579]
8905 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8906 mode only.
8907 * elf/tst-rtld-load-self.sh: New test.
8908 * elf/Makefile: Run it.
8909
63bbedd4
JM
89102012-09-18 Joseph Myers <joseph@codesourcery.com>
8911
8912 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8913 (tst-writev-ENV): Remove.
8914 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8915
626f8b6a
CM
89162012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8917
8918 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8919
b7aaa4d6
JM
89202012-09-17 Joseph Myers <joseph@codesourcery.com>
8921
8922 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8923 unconditional.
8924 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8925 Likewise.
8926 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8927 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8928 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8929 Likewise.
8930
65513990
L
89312012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8932
8933 [BZ #14587]
8934 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8935 * config.make.in (have-cpp-asm-debuginfo): Removed.
8936 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8937 * configure: Regenerated.
8938
784761be
JM
89392012-09-14 Joseph Myers <joseph@codesourcery.com>
8940
8941 [BZ #5044]
8942 * stdio-common/printf_fp.c: Include <stdbool.h> and
8943 <rounding-mode.h>.
8944 (___printf_fp): Determine rounding using get_rounding_mode and
8945 round_away.
8946 * stdio-common/tst-printf-round.c: New file.
8947 * stdio-common/Makefile (tests): Add tst-printf-round.
8948 (link-libm): New variable.
8949 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8950
9503345f
L
89512012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8952
8953 [BZ #14576]
8954 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8955 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8956 Likewise.
8957 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8958 Likewise.
8959
ad35fc00
JM
89602012-09-13 Joseph Myers <joseph@codesourcery.com>
8961
8962 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8963 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8964 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8965 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8966
6c9b0f68
JM
89672012-09-12 Joseph Myers <joseph@codesourcery.com>
8968
8969 [BZ #14518]
8970 * include/rounding-mode.h: New file.
8971 * sysdeps/generic/get-rounding-mode.h: Likewise.
8972 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8973 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8974 (MAX_VALUE): New macro.
8975 (MIN_VALUE): Likewise.
8976 (overflow_value): New function.
8977 (underflow_value): Likewise.
8978 (round_and_return): Use overflow_value and underflow_value to
8979 determine return values in overflow and underflow cases. Use
8980 round_away to determine rounding depending on rounding mode.
8981 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8982 determine return values in overflow and underflow cases.
8983 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8984 (struct test_results): New structure.
8985 (struct test): Use struct test_results to store expected results
8986 for all rounding modes.
8987 (TEST): Include expected results for all rounding modes.
8988 (test_in_one_mode): New function.
8989 (do_test): Use test_in_one_mode to compute and check results.
8990 Check results for all rounding modes.
8991 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8992 $(link-libm).
8993
19fcedd5
AM
89942012-12-09 Allan McRae <allan@archlinux.org>
8995
1e9d84cd 8996 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8997
8bbfd2f1
JM
89982012-09-11 Joseph Myers <joseph@codesourcery.com>
8999
9000 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9001 (_G_int32_t): Likewise.
9002 (_G_uint16_t): Likewise.
9003 (_G_uint32_t): Likewise.
9004 (_G_HAVE_BOOL): Likewise.
9005 (_G_HAVE_ATEXIT): Likewise.
9006 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9007 (_G_HAVE_IO_FILE_OPEN): Likewise.
9008 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9009 (_G_int32_t): Likewise.
9010 (_G_uint16_t): Likewise.
9011 (_G_uint32_t): Likewise.
9012 (_G_HAVE_BOOL): Likewise.
9013 (_G_HAVE_ATEXIT): Likewise.
9014 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9015 (_G_HAVE_IO_FILE_OPEN): Likewise.
9016 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9017 (_G_int32_t): Likewise.
9018 (_G_uint16_t): Likewise.
9019 (_G_uint32_t): Likewise.
9020 (_G_HAVE_BOOL): Likewise.
9021 (_G_HAVE_ATEXIT): Likewise.
9022 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9023 (_G_HAVE_IO_FILE_OPEN): Likewise.
9024
b1dc5912
L
90252012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9026
9027 * csu/libc-tls.c: Update copyright years.
9028
0e886ef9
JM
90292012-09-10 Joseph Myers <joseph@codesourcery.com>
9030
28361c5e
JM
9031 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9032 [!_G_USING_THUNKS]: Remove conditional code.
9033 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9034 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9035
0e886ef9
JM
9036 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9037 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9038 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9039 (_G_VTABLE_LABEL_PREFIX): Likewise.
9040 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9041 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9042 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9043 (_G_VTABLE_LABEL_PREFIX): Likewise.
9044 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9045 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9046 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9047 (_G_VTABLE_LABEL_PREFIX): Likewise.
9048 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9049
bcba7aa2
L
90502012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9051
9052 * libio/Makefile: Include ../Makeconfig before tests.
9053 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9054 only if $(build-shared) is yes.
9055
06585ee8
L
9056 * iconv/gconv_db.c: Update copyright years.
9057
80ccd52c
LD
90582012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9059
9060 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9061 unwind info if defined PIC. Fix special cases description.
9062 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9063
9064 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9065 DP_HI_MASK entry.
9066 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9067
691bc9c1
L
90682012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9069
3d9b46b3
L
9070 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9071
de2139a9
L
9072 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9073 is NULL.
9074
5ca78dd0
L
9075 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9076 (LDLIBS-tst-chk4): This.
9077 (LDFLAGS-tst-chk5): Renamed to ...
9078 (LDLIBS-tst-chk5): This.
9079 (LDFLAGS-tst-chk6): Renamed to ...
9080 (LDLIBS-tst-chk6): This.
9081 (LDFLAGS-tst-lfschk4): Renamed to ...
9082 (LDLIBS-tst-lfschk4): This.
9083 (LDFLAGS-tst-lfschk5): Renamed to ...
9084 (LDLIBS-tst-lfschk5): This.
9085 (LDFLAGS-tst-lfschk6): Renamed to ...
9086 (LDLIBS-tst-lfschk6): This.
9087
691bc9c1
L
9088 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9089 on $(common-objpfx)soversions.mk.
9090
65cafb1c
JM
90912012-09-07 Joseph Myers <joseph@codesourcery.com>
9092
9093 [BZ #10014]
9094 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9095 example host name.
9096
c78ab094
SP
90972012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9098
9099 * malloc/arena.c (arena_get_retry): New function that gets
9100 another arena for the caller to try its request on.
9101 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9102 current arena cannot fulfill the request.
9103 (__libc_memalign): Likewise.
9104 (__libc_memalign): Likewise.
9105 (__libc_pvalloc): Likewise.
9106 (__libc_calloc): Likewise.
9107
01f49f59
JT
91082012-09-05 John Tobey <john.tobey@gmail.com>
9109
9110 [BZ #13542]
9111 * manual/arith.texi (Operations on Complex): Fix description
9112 of carg branch cut.
9113
4c23fed5
JM
91142012-09-06 Joseph Myers <joseph@codesourcery.com>
9115
1d3c8572
JM
9116 [BZ #10014]
9117 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9118 host name.
9119
4c23fed5
JM
9120 [BZ #10038]
9121 * manual/memory.texi (Memory): Make order of menu items match
9122 order of sections.
9123
04570aaa
L
91242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9125
9126 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9127 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9128 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9129
b80af2f4
L
91302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9131
9132 * csu/libc-tls.c (static_dtv): Renamed to ...
9133 (_dl_static_dtv): This. Make it global.
9134 (_dl_initial_dtv): Removed.
9135 (__libc_setup_tls): Updated.
9136 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9137 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9138 DL_INITIAL_DTV.
9139
2abe9f15
PM
91402012-09-06 Petr Machata <pmachata@redhat.com>
9141
9142 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9143 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9144 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9145 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9146
0948c3af
L
91472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9148
9149 [BZ #14545]
9150 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9151 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9152 freeing dtv[-1].
9153
a5055ad1
L
91542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9155
9156 [BZ #14544]
9157 * Makeconfig (link-static-before-libc): Replace $(+prector)
9158 with $(+prectorT).
9159 (link-static-after-libc): Replace $(+postctor) with
9160 $(+postctorT).
9161 (link-bounded): Replace $(+prector)/$(+postctor) with
9162 $(+prectorT)/$(+postctorT).
9163 (+prectorT): New macro.
9164 (+postctorT): Likewise.
9165
ed8c2ecd
JM
91662012-09-06 Joseph Myers <joseph@codesourcery.com>
9167
9168 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9169 (round_str): Handle values above the maximum for IBM long double
9170 as inexact.
9171 * stdlib/tst-strtod-round.c (tests): Regenerated.
9172
14c996c8
AK
91732012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9174
9175 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9176 assembler flag.
9177 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9178 zarch_nohighgprs around the zarch optimized routines.
9179 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9180 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9181 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9182 for zarch.
9183
430d6ce6
DM
91842012-09-05 David S. Miller <davem@davemloft.net>
9185
9186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9187
ff04dda4
DM
9188 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9189 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9190 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9191 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9192 entries.
9193
24d4e01b
AO
91942012-09-05 Alexandre Oliva <aoliva@redhat.com>
9195
9196 * malloc/arena.c: Fold copyright years.
9197 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9198
61d58174
AO
91992012-09-05 Alexandre Oliva <aoliva@redhat.com>
9200
9201 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9202
20196a5e
AO
92032012-09-05 Alexandre Oliva <aoliva@redhat.com>
9204
9205 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9206
5c447383
AO
92072012-09-05 Alexandre Oliva <aoliva@redhat.com>
9208
9209 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9210 change internal state upon failure.
9211
fad64255
AO
92122012-09-05 Alexandre Oliva <aoliva@redhat.com>
9213
9214 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9215 * malloc/memusage.c (mmap): Likewise.
9216 (mmap64, mremap): Likewise. Adjust name in comment.
9217
1ffb8c90
SP
92182012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9219
9220 * libio/fileops.c: Fix typos in comments.
9221 * libio/oldfileops.c: Likewise.
9222 * libio/wfileops.c: Likewise.
9223
6ef9cc37
SP
92242012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9225
9226 [BZ #1349]
9227 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9228 (tst-malloc-usable-ENV): Set environment for test case.
9229 * malloc/hooks.c (malloc_check_get_size): New function to get
9230 requested size.
9231 * malloc/malloc.c (musable): Use malloc_check_get_size.
9232 * malloc/tst-malloc-usable.c: New test case.
9233
4d038ae3
AS
92342012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9235
9236 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9237
c4e85184
AM
92382012-09-05 Allan McRae <allan@archlinux.org>
9239
b9dafc56 9240 [BZ #13966]
c4e85184
AM
9241 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9242 determine header location.
9243 * configure: Regenerated.
9244
e1343020
AS
92452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9246
9247 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9248 float format.
9249 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9250 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9251 format.
e1343020
AS
9252 (test): Regenerate.
9253
0a9f1987
DM
92542012-09-04 David S. Miller <davem@davemloft.net>
9255
9256 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9257 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9258 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9259
29237804
FW
92602012-09-04 Florian Weimer <fweimer@redhat.com>
9261
9262 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9263 failures.
9264
edb3cb88
FW
9265 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9266
60160d83
JM
92672012-09-04 Joseph Myers <joseph@codesourcery.com>
9268
9269 [BZ #9914]
9270 * libio/iogetdelim.c: Include <limits.h>.
9271 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9272 + len + 1 would overflow.
9273
bcd6c8dc
AJ
92742012-09-03 Andreas Jaeger <aj@suse.de>
9275
9276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9277 * sysdeps/i386/fpu/libm-test-ulps: Update.
9278
4ffffbd2
LD
92792012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9280
9281 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9282 Add s_sinf-sse2, s_conf-sse2.
9283
9284 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9285 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9286 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9287 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9288
9289 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9290 for using routine as __sinf_ia32.
9291 Use macro for function declaration and weak_alias.
9292 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9293 for using routine as __cosf_ia32.
9294 Use macro for function declaration and weak_alias.
9295
9296 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9297 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9298
9299 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9300 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9301 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9302
9303 * math/libm-test.inc (cos_test): Add more test cases.
9304 (sin_test): Likewise.
9305 (sincos_test): Likewise.
9306
511fa286
AK
93072012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9308
9309 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9310 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9311 hidden.
9312 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9313
5f30cfec
L
93142012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9315
9316 [BZ #14538]
9317 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9318 first element of the GOT.
9319 (elf_machine_load_address): Return the difference between
9320 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9321
0786794f
AM
93222012-09-01 Allan McRae <allan@archlinux.org>
9323
5f30cfec
L
9324 [BZ #13412]
9325 * configure.in (AWK): Require gawk version 3.0 or later.
9326 * configure: Regenerated.
0786794f 9327
26889eac
JM
93282012-09-01 Joseph Myers <joseph@codesourcery.com>
9329
9330 * sysdeps/unix/sysv/linux/kernel-features.h
9331 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9332 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9333 [__NR_clock_getres]: Make code unconditional.
9334 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9335 (clock_getcpuclockid): Remove code left unreachable by removal of
9336 conditionals.
9337 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9338 code unconditional.
9339 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9340 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9341 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9342 Make code unconditional.
9343 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9344 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9345 * sysdeps/unix/sysv/linux/clock_settime.c
9346 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9347 conditional code.
9348 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9349 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9350
d22e28b0
L
93512012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9352
9353 [BZ #14476]
9354 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9355 scripts/test-installation.pl.
9356
9357 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9358 and $ld_so_version if it is set.
9359
050af9c4
SP
93602012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9361
9362 [BZ #14516]
9363 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9364 failure if reading from procfs failed.
9365 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9366
ad845c0b
JM
93672012-08-27 Joseph Myers <joseph@codesourcery.com>
9368
9369 * sysdeps/unix/sysv/linux/kernel-features.h
9370 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9371 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9372 Remove conditional code.
9373 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9374 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9375 Remove conditional code.
9376 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9377 * sysdeps/unix/sysv/linux/i386/fxstat.c
9378 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9379 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9380 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9381 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9382 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9383 * sysdeps/unix/sysv/linux/i386/lxstat.c
9384 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9385 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9386 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9387 Remove conditional code.
9388 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9389 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9390 Remove conditional code.
9391 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9392 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9393 <kernel-features.h>.
9394 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9395 Remove.
9396 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9397 Remove conditional code.
9398 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9399 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9400 Remove conditional.
9401
5dbf56af
MF
94022012-08-27 Mike Frysinger <vapier@gentoo.org>
9403
9404 [BZ #5400]
9405 * NEWS: Add fixed bug number.
9406
d6e70f43
JM
94072012-08-27 Joseph Myers <joseph@codesourcery.com>
9408
7efb4737
JM
9409 [BZ #14519]
9410 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9411 underflowing exponent in case of negative sign.
9412 * stdlib/tst-strtod-round-data: Add more tests.
9413 * stdlib/tst-strtod-round.c (tests): Regenerated.
9414
af92131a
JM
9415 [BZ #3479]
9416 * stdlib/strtod_l.c (NDIG): Remove.
9417 (HEXNDIG): Likewise.
9418 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9419 smallest representable value.
9420 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9421 lie within an exact representation of 1/2 ulp of the result.
9422 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9423 unconditionally.
9424 (TENS_P9_IDX): Define unconditionally.
9425 (TENS_P9_SIZE): Likewise.
9426 (TENS_P10_IDX): Likewise.
9427 (TENS_P10_SIZE): Likewise.
9428 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9429 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9430 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9431 entries for 10^2^13 and 10^2^14.
9432 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9433 (TENS_P13_IDX): Define.
9434 (TENS_P13_SIZE): Likewise.
9435 (TENS_P14_IDX): Likewise.
9436 (TENS_P14_SIZE): Likewise.
9437 (_fpioconst_pow10): Change array size to
9438 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9439 unconditional.
9440 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9441 1024]: Add entries for 10^2^13 and 10^2^14.
9442 [LAST_POW10 > _LAST_POW10]: Remove #error.
9443 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9444 (_fpioconst_pow10): Change array size to
9445 FPIOCONST_POW10_ARRAY_SIZE.
9446 * stdlib/gen-fpioconst.c: New file.
9447 * stdlib/gen-tst-strtod-round.c: Likewise.
9448 * stdlib/tst-strtod-round-data: Likewise.
9449 * stdlib/tst-strtod-round.c: Likewise.
9450 * stdlib/Makefile (tests): Add tst-strtod-round.
9451
d6e70f43
JM
9452 [BZ #14459]
9453 * stdlib/strtod_l.c: Include <stdint.h>.
9454 (NDEBUG): Do not define.
9455 (round_and_return): Change EXPONENT parameter to type intmax_t.
9456 Rearrange calculations to avoid internal overflow possibilities.
9457 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9458 Rearrange calculations to avoid internal overflow possibilities.
9459 Assert that number fits inside MPNSIZE limbs.
9460 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9461 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9462 calculations and add assertions to avoid internal overflow
9463 possibilities. Add casts to avoid signed/unsigned operations.
9464 * stdlib/tst-strtod-overflow.c: New file.
9465 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9466
1f529f7d
MP
94672012-08-25 Marek Polacek <polacek@redhat.com>
9468
9469 * time/time.h: Fix some typos in comments.
9470
59a629f1
RM
94712012-08-23 Roland McGrath <roland@hack.frob.com>
9472
9473 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9474 * posix/tst-rfc3484-2.c: Likewise.
9475 * posix/tst-rfc3484-3.c: Likewise.
9476
d3bafbc9
SM
94772012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9478
9479 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9480 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9481
4efcc022
JM
94822012-08-23 Joseph Myers <joseph@codesourcery.com>
9483
9484 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9485 #include of fxstatat64.c.
9486
3cc3ef96
RM
94872012-08-22 Roland McGrath <roland@hack.frob.com>
9488
f04e2132
RM
9489 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9490 * shadow/getspent_r.c: Likewise.
9491 * shadow/getspnam.c: Likewise.
9492 * shadow/getspnam_r.c: Likewise.
9493 * gshadow/getsgent.c: Likewise.
9494 * gshadow/getsgent_r.c: Likewise.
9495 * gshadow/getsgnam.c: Likewise.
9496 * gshadow/getsgnam_r.c: Likewise.
9497 * inet/getnetbyad.c: Likewise.
9498 * inet/getnetbyad_r.c: Likewise.
9499 * inet/getnetbynm.c: Likewise.
9500 * inet/getnetbynm_r.c: Likewise.
9501 * inet/getnetent.c: Likewise.
9502 * inet/getnetent_r.c: Likewise.
9503 * inet/getproto.c: Likewise.
9504 * inet/getproto_r.c: Likewise.
9505 * inet/getprtent.c: Likewise.
9506 * inet/getprtent_r.c: Likewise.
9507 * inet/getprtname.c: Likewise.
9508 * inet/getprtname_r.c: Likewise.
9509 * inet/getrpcbyname.c: Likewise.
9510 * inet/getrpcbyname_r.c: Likewise.
9511 * inet/getrpcbynumber.c: Likewise.
9512 * inet/getrpcbynumber_r.c: Likewise.
9513 * inet/getrpcent.c: Likewise.
9514 * inet/getrpcent_r.c: Likewise.
9515 * inet/getaliasent.c: Likewise.
9516 * inet/getaliasent_r.c: Likewise.
9517 * inet/getaliasname.c: Likewise.
9518 * inet/getaliasname_r.c: Likewise.
9519 * nscd/getgrgid_r.c: Likewise.
9520 * nscd/getgrnam_r.c: Likewise.
9521 * nscd/gethstbyad_r.c: Likewise.
9522 * nscd/gethstbynm3_r.c: Likewise.
9523 * nscd/getpwnam_r.c: Likewise.
9524 * nscd/getpwuid_r.c: Likewise.
9525 * nscd/getsrvbynm_r.c: Likewise.
9526 * nscd/getsrvbypt_r.c: Likewise.
9527 * nscd/gai.c: Likewise.
9528
c53d909c
RM
9529 * configure.in (build_nscd): New substituted variable, set
9530 by --disable-build-nscd and defaults to $use_nscd.
9531 * configure: Regenerated.
9532 * config.make.in (build-nscd): New substituted variable.
9533 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9534 Change conditional to require [$(build-nscd) = yes] as well.
9535 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9536
3cc3ef96
RM
9537 [BZ# 13696]
9538 * configure.in (use_nscd): New substituted variable, set by
9539 --disable-nscd. If enabled, define USE_NSCD.
9540 * configure: Regenerated.
9541 * config.h.in: Add USE_NSCD.
9542 * config.make.in (use-nscd): New substituted variable.
9543 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9544 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9545 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9546 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9547 (CFLAGS-getgrnam_r.c): Likewise.
9548 (CFLAGS-initgroups.c): Likewise.
9549 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9550 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9551 Variables removed.
9552 * inet/getnetgrent_r.c
9553 (nscd_setnetgrent): New function, broken out of ...
9554 (setnetgrent): ... here. Call it.
9555 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9556 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9557 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9558 * nscd/Makefile (routines, aux): Move definitions after include of
9559 Makeconfig. Conditionalize on [$(use-nscd) != no].
9560 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9561 Conditionalize on [USE_NSCD].
9562 (is_nscd, nscd_init_cb): Likewise.
9563 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9564 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9565 * nss/nss_db/db-init.c: Likewise.
9566 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9567 [USE_NSCD].
9568 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9569 (make_request): Use it.
9570 (cache_valid_p): New function.
9571 (__check_pf): Use it.
9572 * NEWS: Add item for --disable-nscd.
9573
07e51550
DL
95742012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9575
9576 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9577 to support sed >= 4.2.1-20-ga9bf076.
9578 * configure: Regenerated.
9579
35a5b08b
RM
95802012-08-22 Roland McGrath <roland@hack.frob.com>
9581
9582 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9583 Conditionalize whole body on [IREL].
9584
8479f23a
JL
95852012-08-22 Jeff Law <law@redhat.com>
9586
9587 [BZ #14505]
9588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9589 if the family is PF_UNSPEC.
9590
48da0b21
MF
95912012-08-22 Mike Frysinger <vapier@gentoo.org>
9592
9593 * Makerules (lib-version): Rename from V.
9594 (install-lib-nosubdir): Change V to lib-version.
9595
15d0da8c
WS
95962012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9597
9598 [BZ #14252]
9599 * powerpc32/power6/wcschr.c: New file.
9600 * powerpc32/power6/wcscpy.c: New file.
9601 * powerpc32/power6/wcsrchr.c: New file.
9602 * powerpc64/power6/wcschr.c: New file.
9603 * powerpc64/power6/wcscpy.c: New file.
9604 * powerpc64/power6/wcsrchr.c: New file.
9605
bcca0895
MK
96062012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9607
9608 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9609 (two_way_short_needle): Use it.
5a4aaa33
RM
9610 * string/strstr.c (AVAILABLE1_USES_J): Define.
9611 * string/strcasestr.c: Likewise.
99677e57
MK
9612
9613 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9614 array references.
9615 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9616
400726de
MK
9617 [BZ #11607]
9618 * NEWS: Add an entry.
9619 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9620 define their defaults.
9621 (two_way_short_needle): Detect end-of-string on-the-fly.
9622 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9623 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9624 * string/bug-strcasestr1.c: New test.
9625 * string/Makefile: Run it.
9626
20a71f2c
MK
96272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9628
9629 [BZ #11607]
9630 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9631 the first character.
9632
21ad0558
RM
96332012-08-21 Roland McGrath <roland@hack.frob.com>
9634
9635 * csu/elf-init.c (__libc_csu_irel): Function removed.
9636 * csu/libc-start.c (apply_irel): New function.
9637 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9638
0e1d9911
JM
96392012-08-21 Joseph Myers <joseph@codesourcery.com>
9640
9641 * sysdeps/unix/sysv/linux/kernel-features.h
9642 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9643 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9644 <kernel-features.h>.
9645 [__NR_fadvise64_64]: Make code unconditional.
9646 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9647 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9648 !__NR_fadvise64_64)]: Likewise.
9649 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9650 !__NR_fadvise64_64))]: Likewise.
9651 [__NR_fadvise64]: Make code unconditional.
9652 [!__NR_fadvise64]: Remove conditional code.
9653 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9654 <kernel-features.h>.
9655 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9656 unconditional.
9657 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9658 conditional code.
9659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9660 not include <kernel-features.h>.
9661 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9662 unconditional.
9663 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9664 conditional code.
9665 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9666 include <kernel-features.h>.
9667 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9668 unconditional.
9669 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9670 conditional code.
9671
14a50c9d
WS
96722012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9673
9674 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9675 slight instruction rearrangements per scrollpipe analysis.
9676 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9677
c0f4faf0
RM
96782012-08-20 Roland McGrath <roland@hack.frob.com>
9679
696da859
RM
9680 * manual/syslog.texi (syslog; vsyslog, closelog):
9681 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9682 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9683
c0f4faf0
RM
9684 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9685 DSOCAPS to match condition on defining it.
9686
348363b2
JM
96872012-08-20 Joseph Myers <joseph@codesourcery.com>
9688
a35cbf28
JM
9689 * sysdeps/unix/sysv/linux/kernel-features.h
9690 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9692 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9693 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9695 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9696 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9698 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9699 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9700
445f7ecd
JM
9701 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9702 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9703
348363b2
JM
9704 * sysdeps/unix/sysv/linux/kernel-features.h
9705 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9706 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9707 unconditional.
9708 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9709 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9710 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9711 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9712 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9713 Make code unconditional.
9714 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9715 (__mmap64) [!__NR_mmap2]: Likewise.
9716 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9717 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9718 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9719 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9720 [__NR_mmap2]: Make code unconditional.
9721 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9722 (__mmap64) [!__NR_mmap2]: Likewise.
9723
bc5bc0e5
AK
97242012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9725
9726 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9727
88d506de
AJ
97282012-08-18 Andreas Jaeger <aj@suse.de>
9729
9730 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9731
493387d2
MF
97322012-08-18 Mike Frysinger <vapier@gentoo.org>
9733
9734 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9735 * include/unistd.h (__have_sock_cloexec): Likewise.
9736 (__have_pipe2): Likewise.
9737 (__have_dup3): Likewise.
9738
a277af22
MF
97392012-08-18 Mike Frysinger <vapier@gentoo.org>
9740
9741 [BZ #9685]
9742 * include/unistd.h (__have_pipe2): Change define into an extern int.
9743 (__have_dup3): Likewise.
9744 * socket/have_sock_cloexec.c: Include fcntl.h.
9745 (__have_pipe2): New variable.
9746 (__have_dup3): Likewise.
9747
fdab8fd3
MF
97482012-08-17 Mike Frysinger <vapier@gentoo.org>
9749
9750 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9751
31035e80
MP
97522012-08-17 Marek Polacek <polacek@redhat.com>
9753
9754 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9755 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9756
3bd9e993
RM
97572012-08-17 Roland McGrath <roland@hack.frob.com>
9758
c91c505f
RM
9759 * configure.in: Add AC_SUBST for sysheaders.
9760 * configure: Regenerated.
9761 * config.make.in (sysheaders): New substituted variable.
9762
7c6f9d53
RM
9763 * sysdeps/unix/mkfifo.c: Moved ...
9764 * sysdeps/posix/mkfifo.c: ... here.
9765 * sysdeps/unix/mkfifoat.c: Moved ...
9766 * sysdeps/posix/mkfifoat.c: ... here.
9767
9768 * sysdeps/unix/utime.c: Moved ...
9769 * sysdeps/posix/utime.c: ... here.
9770
9771 * sysdeps/unix/time.c: Moved ...
9772 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9773 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9774 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9775
9776 * sysdeps/unix/nice.c: Moved ...
9777 * sysdeps/posix/nice.c: ... here.
9778
9779 * sysdeps/unix/alarm.c: Moved ...
9780 * sysdeps/posix/alarm.c: ... here.
9781
3bd9e993
RM
9782 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9783
d1f09384
JL
97842012-08-17 Jeff Law <law@redhat.com>
9785
9786 * intl/Makefile (codeset_mo): New variable.
9787 ($(codeset_mo)): New target.
9788 (tst-codeset.out): Depend on that. Remove explicit rule.
9789 (tst-gettext3.out, tst-gettext5.out): Likewise.
9790 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9791 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9792 * intl/tst-codeset.sh: Remove.
9793 * intl/tst-gettext3.sh: Likewise.
9794 * intl/tst-gettext5.sh: Likewise.
9795
2ae1ae5c
RM
97962012-08-17 Roland McGrath <roland@hack.frob.com>
9797
c31fdb83
RM
9798 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9799 * sysdeps/unix/syscalls.list: ... here.
9800
a0844057
RM
9801 * sysdeps/posix/getaddrinfo.c
9802 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9803 (gaiconf_init, gaiconf_reload): Use them.
9804 [!_STATBUF_ST_NSEC]
9805 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9806 Define using time_t rather than struct timespec.
9807
750c1f2a
RM
9808 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9809 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9810 Macros removed.
9811 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9812 [!NO_THREADS].
9813 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9814 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9815 Likewise.
9816
2ae1ae5c
RM
9817 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9818 __libc_cleanup_push argument.
9819
e66a42f5
RM
9820 * bits/param.h: New file.
9821 * misc/sys/param.h: New file.
9822 * include/sys/param.h: New file.
9823 * misc/Makefile (headers): Add bits/param.h.
9824 * sysdeps/generic/sys/param.h: File removed.
9825 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9826 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9827 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9828 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9829
b7c08a66
RM
9830 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9831 last change.
9832
b2e1c562
RM
9833 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9834 [_IO_MTSAFE_IO].
9835 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9836 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9837 New macros.
9838
c75ccd4c
RM
9839 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9840 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9841 rather than -D_IO_MTSAFE_IO conditionally.
9842 * stdio-common/Makefile (CPPFLAGS): Likewise.
9843 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9844 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9845 Use $(libio-mtsafe).
9846 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9847 of -D_IO_MTSAFE_IO.
9848 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9849 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9850 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9851 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9852 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9853 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9854 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9855 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9856 (CFLAGS-fread_u_chk.c): Likewise.
9857 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9858 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9859 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9860 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9861 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9862 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9863 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9864 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9865 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9866
9867 * libio/Makefile: Test [$(libc-reentrant) = yes]
9868 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9869
9870 * Makeconfig
9871 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9872 * sysdeps/pthread/configure: File removed.
9873 * sysdeps/pthread/Makeconfig: New file.
9874 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9875 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9876
d9195db8
GB
98772012-08-16 Gary Benson <gbenson@redhat.com>
9878
9879 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9880 unmapping the first object in a namespace.
9881
86466cd9
RM
98822012-08-16 Roland McGrath <roland@hack.frob.com>
9883
9884 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9885 (__internal_setnetgrent): ... this. Add internal_function to
9886 definition. Add libc_hidden_def.
9887 (setnetgrent): Update caller.
9888 (internal_endnetgrent): Renamed to ...
9889 (__internal_endnetgrent): ... this. Add internal_function to
9890 definition. Add libc_hidden_def.
9891 (endnetgrent): Update caller.
9892 (internal_getnetgrent_r): Renamed to ...
9893 (__internal_getnetgrent_r): ... this. Add internal_function to
9894 definition. Add libc_hidden_def.
9895 (__getnetgrent_r): Update caller.
9896 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9897
c3c8283c
JM
98982012-08-16 Joseph Myers <joseph@codesourcery.com>
9899
9900 * stdlib/longlong.h: Update from GCC.
9901
db1ee0a8
RM
99022012-08-16 Roland McGrath <roland@hack.frob.com>
9903
9904 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9905 on _QL, which is set by umul_ppmm but never used.
9906 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9907 variables, which are set by GMP macros but never used.
9908 * stdio-common/_itowa.c (_itowa): Likewise.
9909 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9910 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9911
30f69637
CD
99122012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9913
9914 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9915 struct La_sh_regs is not constant.
9916 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9917 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9918 and struct La_sparc64_regs are not constant.
9919
93a78ac4
JM
99202012-08-16 Joseph Myers <joseph@codesourcery.com>
9921
9922 * sysdeps/unix/sysv/linux/kernel-features.h
9923 (__ASSUME_POSIX_TIMERS): Remove.
9924 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9925 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9926 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9927 Make code unconditional.
9928 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9929 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9930 Make code unconditional.
9931 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9932 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9933 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9934 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9935 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9936 Make code unconditional.
9937 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9938 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9939 (__libc_missing_posix_timers): Remove.
9940
dd924cd7
RM
99412012-08-15 Roland McGrath <roland@hack.frob.com>
9942
4b4f2771
RM
9943 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9944 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9945
601c888b
RM
9946 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9947
176790a7
RM
9948 * elf/dl-sym.c: Include <stdlib.h>.
9949
329bc018
RM
9950 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9951 constants, which avoids warnings in 32-bit builds.
9952
e04e272d
RM
9953 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9954 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9955
952bf94a
RM
9956 * misc/lseek.c: File moved to ...
9957 * io/lseek.c: ... here.
9958
7c99b50a
RM
9959 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9960
dd924cd7
RM
9961 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9962 shifting LEN more than 31 bits at once.
9963
b3f479a8
LD
99642012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9965
9966 [BZ #14195]
8c4ae0d4
RM
9967 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9968 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9969 * string/test-strncasecmp.c (check1): Renamed to...
9970 (bz12205): ...this.
9971 (bz14195): Add new testcase for two empty input strings and N > 0.
9972 (test_main): Call new testcase, adapt for renamed function.
9973
9c55864e
AJ
99742012-08-15 Andreas Jaeger <aj@suse.de>
9975
9976 [BZ #14090]
9977 * crypt/md5test2.c: New test, based on test supplied by Serge
9978 Belyshev <belyshev@depni.sinp.msu.ru>.
9979 * crypt/Makefile (xtests): Add md5test-giant..
9980 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9981
02dcb6c5
PE
99822012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9983
9984 [BZ #14090]
9985 * crypt/md5.c (md5_process_block): Don't assume the buffer
9986 length is less than 2**32.
9987 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9988 length is less than 2**64.
9989
a3f95dcc
RM
99902012-08-15 Roland McGrath <roland@hack.frob.com>
9991
be75d758
RM
9992 * string/str-two-way.h: Include <sys/param.h>.
9993 (MAX): Macro removed.
9994
7312ca90
RM
9995 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9996 Move #define and #undef of memmove to just before and after
9997 including <string.h>.
9998
9a0a5486
RM
9999 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10000 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10001 and after including <string.h>. Move declarations of
10002 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10003 to before #include "string/memmove.c".
10004
67cc348d
RM
10005 * include/dirent.h: Declare __getdirentries.
10006
a3f95dcc
RM
10007 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10008 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10009
ca98e171
MF
100102012-08-14 Mike Frysinger <vapier@gentoo.org>
10011
10012 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10013 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10014 * sysdeps/i386/configure: Regenerated.
10015 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10016 STABS_CURRENT_FILE, and STABS_FUN.
10017 (END): Remove call to STABS_FUN_END.
10018 (STABS_CURRENT_FILE1): Delete.
10019 (STABS_CURRENT_FILE): Likewise.
10020 (STABS_FUN): Likewise.
10021 (STABS_FUN_END): Likewise.
10022 (STABS_FUN2): Likewise.
10023 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10024 * sysdeps/x86_64/configure: Regenerated.
10025
5908bf46
RM
100262012-08-14 Roland McGrath <roland@hack.frob.com>
10027
10028 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10029 * elf/dl-lookup.c: Likewise.
5908bf46 10030
f2c05b9e
JM
100312012-08-14 Joseph Myers <joseph@codesourcery.com>
10032
10033 * sysdeps/unix/sysv/linux/kernel-features.h
10034 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10035 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10036 unconditionally.
10037 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10038 unconditionally.
10039 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10040 condition on __ASSUME_CLONE_THREAD_FLAGS.
10041
e11f5155
AJ
100422012-08-14 Andreas Jaeger <aj@suse.de>
10043
10044 * sysdeps/i386/fpu/libm-test-ulps: Update.
10045
51a9ba86
MK
100462012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10047
2fdd4f78
AJ
10048 * include/atomic.h (atomic_exchange_and_add): Split into ...
10049 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10050 New atomic macros.
51a9ba86 10051
ba6cba9e
MT
100522012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10053
10054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10055
42443a47
JL
100562012-08-13 Jeff Law <law@redhat.com>
10057
10058 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10059 null byte in the output string.
10060
121dce05
JM
100612012-08-10 Joseph Myers <joseph@codesourcery.com>
10062
10063 * sysdeps/unix/sysv/linux/kernel-features.h
10064 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10065 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10066 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10067 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10068 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10069 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10070 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10071
bf51f568
JL
100722012-08-09 Jeff Law <law@redhat.com>
10073
10074 [BZ #13939]
10075 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10076 When avoid_arena is set, don't retry in the that arena. Pick the
10077 next one, whatever it might be.
10078 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10079 (arena_lock): Pass in new parameter to arena_get2.
10080 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10081 arena_get2.
10082 (__libc_malloc): Unify retrying after main arena failure with
10083 __libc_memalign version.
10084 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10085
f85fa270
L
100862012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10087
10088 [BZ #14166]
10089 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10090 to __redirect_strstr.
10091 (__strstr_sse42): Use typeof __redirect_strstr.
10092 (__strstr_ia32): Likewise.
10093 (__libc_strstr): New prototype.
10094 (strstr): Renamed to ...
10095 (__libc_strstr): This.
10096 (strstr): New strong alias of __libc_strstr.
10097 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10098 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10099 __redirect_time.
10100 Include <time.h>.
10101 (__libc_time): New prototype.
10102 (time_ifunc): Replace time with __libc_time.
10103 (time): New strong alias and hidden definition of __libc_time.
10104 (__GI_time): Remove strong alias.
10105 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10106 Include <stddef.h>.
10107 (memmove): Redefined to __redirect_memmove.
10108 (__memmove_sse2): Use typeof __redirect_memmove.
10109 (__memmove_ssse3): Likewise.
10110 (__memmove_ssse3_back): Likewise.
10111 (__libc_memmove): New prototype.
10112 (memmove): Renamed to ...
10113 (__libc_memmove): This.
10114 (memmove): New strong alias of __libc_memmove.
10115
33b4a91e
MS
101162012-08-08 Mark Salter <msalter@redhat.com>
10117
10118 * elf/elf.h
10119 (R_MN10300_TLS_GD): Define.
10120 (R_MN10300_TLS_LD): Likewise.
10121 (R_MN10300_TLS_LDO): Likewise.
10122 (R_MN10300_TLS_GOTIE): Likewise.
10123 (R_MN10300_TLS_IE): Likewise.
10124 (R_MN10300_TLS_LE): Likewise.
10125 (R_MN10300_TLS_DTPMOD): Likewise.
10126 (R_MN10300_TLS_DTPOFF): Likewise.
10127 (R_MN10300_TLS_TPOFF): Likewise.
10128 (R_MN10300_SYM_DIFF): Likewise.
10129 (R_MN10300_ALIGN): Likewise.
10130 (R_MN10300_NUM): Update.
10131
b36137f1
JM
101322012-08-08 Joseph Myers <joseph@codesourcery.com>
10133
10134 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10135 Remove.
10136
cdd915fd
RM
101372012-08-08 Roland McGrath <roland@hack.frob.com>
10138
a2433aac
RM
10139 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10140
cdd915fd
RM
10141 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10142 sysdeps/unix -> sysdeps/posix move.
10143 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10144
bf9b740a
AM
101452012-08-07 Allan McRae <allan@archlinux.org>
10146
10147 [BZ #14303]
10148 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10149 (SUNOS_CPP): Likewise.
10150 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10151 not found.
10152 (open_input): Call CPP using execvp.
10153
93df14ee
JM
101542012-08-07 Joseph Myers <joseph@codesourcery.com>
10155
10156 * sysdeps/unix/sysv/linux/kernel-features.h
10157 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10158 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10159 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10160 (__ASSUME_WAITID_SYSCALL): Likewise.
10161 * sysdeps/unix/sysv/linux/dl-execstack.c
10162 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10163 code unconditional.
10164 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10165 conditional code.
10166 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10167 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10168 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10169 code.
10170 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10171 unconditional.
10172 [__ASSUME_WAITID_SYSCALL]: Likewise.
10173 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10174
d34689de
RM
101752012-08-07 Roland McGrath <roland@hack.frob.com>
10176
a281decc
RM
10177 * sysdeps/unix/closedir.c: Renamed to ...
10178 * sysdeps/posix/closedir.c: ... here.
10179 * sysdeps/unix/dirfd.c: Renamed to ...
10180 * sysdeps/posix/dirfd.c: ... here.
10181 * sysdeps/unix/dirstream.h: Renamed to ...
10182 * sysdeps/posix/dirstream.h: ... here.
10183 * sysdeps/unix/fdopendir.c: Renamed to ...
10184 * sysdeps/posix/fdopendir.c: ... here.
10185 * sysdeps/unix/opendir.c: Renamed to ...
10186 * sysdeps/posix/opendir.c: ... here.
10187 * sysdeps/unix/readdir.c: Renamed to ...
10188 * sysdeps/posix/readdir.c: ... here.
10189 * sysdeps/unix/readdir_r.c: Renamed to ...
10190 * sysdeps/posix/readdir_r.c: ... here.
10191 * sysdeps/unix/rewinddir.c: Renamed to ...
10192 * sysdeps/posix/rewinddir.c: ... here.
10193 * sysdeps/unix/seekdir.c: Renamed to ...
10194 * sysdeps/posix/seekdir.c: ... here.
10195 * sysdeps/unix/telldir.c: Renamed to ...
10196 * sysdeps/posix/telldir.c: ... here.
10197 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10198 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10199 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10200 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10201
22895b47
RM
10202 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10203 * bits/fcntl.h: ... here.
10204
707a53b6
RM
10205 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10206 not 0.
10207 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10208 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10209 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10210 (struct flock): Move l_start, l_len to the beginning.
10211 Use __pid_t for l_pid.
10212 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10213 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10214 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10215 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10216 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10217 [__USE_LARGEFILE64] (struct flock64): New type.
10218 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10219
f0bd3e25
RM
10220 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10221 * bits/dirent.h: ... here.
10222
d34689de
RM
10223 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10224 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10225
6dad2c06
JM
102262012-08-07 Joseph Myers <joseph@codesourcery.com>
10227
10228 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10229 Change from 2.6.0 to 2.6.16.
10230 * sysdeps/unix/sysv/linux/configure: Regenerated.
10231 * sysdeps/unix/sysv/linux/kernel-features.h
10232 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10233 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10234 version.
10235 (__ASSUME_UTIMES): Likewise.
10236 (__ASSUME_CLONE_STOPPED): Remove.
10237 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10238 architectures, not kernel version.
10239 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10240 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10241 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10242 (__ASSUME_WAITID_SYSCALL): Likewise.
10243 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10244 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10245 * README: State 2.6.16 as minimum Linux kernel version. Do not
10246 refer to older versions.
10247
03af9520
RM
102482012-08-06 Roland McGrath <roland@hack.frob.com>
10249
8e49df1d
RM
10250 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10251 Define alphasort64 as an alias.
10252 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10253 Define versionsort64 as an alias.
10254 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10255 Define scandir64 as an alias.
10256 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10257 Define scandirat64 as an alias.
10258 * dirent/alphasort64.c (alphasort64):
10259 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10260 * dirent/versionsort64.c: Likewise.
10261 * dirent/scandir64.c: Likewise.
10262 * dirent/scandirat64.c: Likewise.
10263 * sysdeps/wordsize-64/alphasort.c: File removed.
10264 * sysdeps/wordsize-64/alphasort64.c: File removed.
10265 * sysdeps/wordsize-64/scandir.c: File removed.
10266 * sysdeps/wordsize-64/scandir64.c: File removed.
10267 * sysdeps/wordsize-64/scandirat.c: File removed.
10268 * sysdeps/wordsize-64/scandirat64.c: File removed.
10269 * sysdeps/wordsize-64/versionsort.c: File removed.
10270 * sysdeps/wordsize-64/versionsort64.c: File removed.
10271 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10272 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10273 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10274 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10275 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10276 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10277 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10278 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10279
10280 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10281 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10282 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10283 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10284 [defined __arch64__ || defined __sparcv9]
10285 (__INO_T_MATCHES_INO64_T): New macro.
10286 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10287 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10288 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10289 * sysdeps/unix/sysv/linux/bits/dirent.h
10290 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10291 (_DIRENT_MATCHES_DIRENT64): New macro.
10292
03af9520
RM
10293 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10294 Define lockf64 as an alias.
10295 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10296 Define fseeko64 as an alias.
10297 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10298 Define ftello64 as an alias.
10299 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10300 Define _IO_fgetpos64 and fgetpos64 as aliases.
10301 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10302 Define _IO_fsetpos64 and fsetpos64 as aliases.
10303 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10304 Conditionalize body on this.
10305 * libio/fseeko64.c: Likewise.
10306 * libio/ftello64.c: Likewise.
10307 * libio/iofgetpos64.c: Likewise.
10308 * libio/iofsetpos64.c: Likewise.
10309 * sysdeps/wordsize-64/lockf.c: File removed.
10310 * sysdeps/wordsize-64/lockf64.c: File removed.
10311 * sysdeps/wordsize-64/fseeko.c: File removed.
10312 * sysdeps/wordsize-64/fseeko64.c: File removed.
10313 * sysdeps/wordsize-64/ftello.c: File removed.
10314 * sysdeps/wordsize-64/ftello64.c: File removed.
10315 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10316 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10317 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10318 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10319 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10320 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10321 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10322 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10323 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10324 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10325 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10326 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10327 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10328 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10329
10330 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10331 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10332 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10333 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10334 [defined __arch64__ || defined __sparcv9]
10335 (__OFF_T_MATCHES_OFF64_T): New macro.
10336 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10337 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10338 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10339 (__OFF_T_MATCHES_OFF64_T): New macro.
10340
c5757acd
L
103412012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10342
10343 * stdlib/secure-getenv.c (__secure_getenv): Replace
10344 GLIBC_2_16 with GLIBC_2_17.
10345
3a31811e
L
103462012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10347
10348 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10349 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10350
faa2bccb
DM
103512012-08-03 David S. Miller <davem@davemloft.net>
10352
10353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10354
85fe1997
JM
103552012-08-03 Joseph Myers <joseph@codesourcery.com>
10356
10357 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10358 Remove.
10359 (__ASSUME_CORRECT_SI_PID): Likewise.
10360 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10361 (__ASSUME_TMPFS_NAME): Likewise.
10362 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10363 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10364 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10365 (HAVE_AUX_SECURE): Make definition unconditional.
10366 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10367 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10368
4f75b7a0
RM
103692012-08-03 Roland McGrath <roland@hack.frob.com>
10370
10371 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10372 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10373 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10374 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10375 __eloop_threshold instead of SYMLOOP_MAX.
10376
10377 * sysdeps/generic/eloop-threshold.h: New file.
10378 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10379 of MAXSYMLINKS.
10380 * elf/chroot_canon.c (chroot_canon): Likewise.
10381
7aab07e4
JM
103822012-08-03 Joseph Myers <joseph@codesourcery.com>
10383
10384 [BZ #13717]
10385 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10386 Change to 2.6.0 everywhere.
10387 * sysdeps/unix/sysv/linux/configure: Regenerated.
10388 * sysdeps/unix/sysv/linux/kernel-features.h
10389 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10390 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10391 kernel versions.
10392 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10393 (__ASSUME_FUTEX_REQUEUE): Remove.
10394 (__ASSUME_STATFS64): Define unconditionally.
10395 (__ASSUME_AT_SECURE): Likewise.
10396 (__ASSUME_CORRECT_SI_PID): Likewise.
10397 (__ASSUME_TGKILL): Define without depending on kernel version for
10398 i386.
10399 (__ASSUME_UTIMES): Likewise.
10400 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10401 kernel version.
10402 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10403 (__ASSUME_TMPFS_NAME): Likewise.
10404 * README: Update reference to Linux kernel versions.
10405
b67e9372
MP
104062012-08-02 Marek Polacek <polacek@redhat.com>
10407
1f529f7d 10408 [BZ# 14150]
b67e9372
MP
10409 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10410 libc_cv_asm_type_prefix with %.
10411 * configure: Regenerated.
d2441631
RM
10412 * include/libc-symbols.h: Remove comment about
10413 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10414 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10415 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10416 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10417 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10418 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10419 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10420 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10421 * elf/tst-unique2mod1.c: Likewise.
10422 * elf/tst-unique1mod2.c: Likewise.
10423 * elf/tst-unique1mod1.c: Likewise.
10424 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10425 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10426 Replace ASM_TYPE_DIRECTIVE with .type.
10427 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10428 * sysdeps/i386/sysdep.h: Likewise.
10429 * sysdeps/x86_64/sysdep.h: Likewise.
10430 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10432 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10433 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10434 * sysdeps/powerpc/powerpc32/sysdep.h:
10435 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10436 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10437 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10438 * sysdeps/i386/fpu/e_powf.S: Likewise.
10439 * sysdeps/i386/fpu/e_expl.S: Likewise.
10440 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10441 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10442 * sysdeps/i386/fpu/e_pow.S: Likewise.
10443 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10444 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10445 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10446 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10447 * sysdeps/i386/fpu/e_log2.S: Likewise.
10448 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10449 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10450 * sysdeps/i386/fpu/e_powl.S: Likewise.
10451 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10452 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10453 * sysdeps/i386/fpu/e_logl.S: Likewise.
10454 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10455 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10456 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10457 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10458 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10459 * sysdeps/i386/fpu/e_log.S: Likewise.
10460 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10461 * sysdeps/i386/fpu/e_logf.S: Likewise.
10462 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10463 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10464 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10465 * sysdeps/i386/fpu/e_log10.S: Likewise.
10466 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10467 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10468 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10469 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10470 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10471 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10472 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10473 * sysdeps/i386/i686/strtok.S: Likewise.
10474 * sysdeps/i386/i386-mcount.S: Likewise.
10475 * sysdeps/i386/strtok.S: Likewise.
10476 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10477 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10478 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10479 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10480 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10481 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10482 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10483 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10484 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10485 * sysdeps/x86_64/_mcount.S: Likewise.
10486 * sysdeps/x86_64/strtok.S: Likewise.
10487 * sysdeps/sh/_mcount.S: Likewise.
10488
2747bf9a
RM
104892012-08-01 Roland McGrath <roland@hack.frob.com>
10490
10491 * libio/iofopen.c: Include <fcntl.h>.
10492 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10493 (_IO_fopen64, fopen64): Define as aliases.
10494 * libio/iofopen64.c: Include <fcntl.h>.
10495 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10496 Conditionalize body on this.
10497 * sysdeps/wordsize-64/iofopen.c: File removed.
10498 * sysdeps/wordsize-64/iofopen64.c: File removed.
10499
3fb791b8
MP
105002012-08-01 Marek Polacek <polacek@redhat.com>
10501
10502 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10503 Use dlfcn directly instead of a variable.
10504 (binfmt-subdir): Do not define.
10505 (dlfcn): Likewise.
10506
a9f1039f
JM
105072012-08-01 Joseph Myers <joseph@codesourcery.com>
10508
23bddc06
JM
10509 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10510 Remove all definitions.
10511 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10512 <kernel-features.h>.
10513 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10514 (miss_F_GETOWN_EX): Remove all definitions.
10515 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10516 macro definition.
10517 [!__ASSUME_FCNTL64]: Remove conditional code.
10518 [__ASSUME_FCNTL64]: Make code unconditional.
10519 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10520 <kernel-features.h>.
10521 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10522 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10523 (lockf64) [__NR_fcntl64]: Make code unconditional.
10524 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10525
a9f1039f
JM
10526 * sysdeps/unix/sysv/linux/kernel-features.h
10527 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10528 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10529 Make code unconditional.
10530 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10531 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10533 [__NR_vfork]: Make code unconditional.
10534 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10535 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10537 [__NR_vfork]: Make code unconditional.
10538 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10539 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10540
09c0ee5f
RM
105412012-08-01 Roland McGrath <roland@hack.frob.com>
10542
48aec5b9
RM
10543 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10544 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10545
cd97c966
RM
10546 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10547 Define mkstemp64 as an alias.
3f55550c
RM
10548 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10549 Define mkstemps64 as an alias.
cd97c966
RM
10550 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10551 Define mkostemp64 as an alias.
b8625cfc
RM
10552 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10553 Define mkostemps64 as an alias.
cd97c966
RM
10554 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10555 Conditionalize body on this.
10556 * misc/mkostemp64.c: Likewise.
b8625cfc 10557 * misc/mkostemps64.c: Likewise.
3f55550c 10558 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10559 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10560 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10561 * sysdeps/wordsize-64/mkostemp.c: File removed.
10562 * sysdeps/wordsize-64/mkstemp.c: File removed.
10563 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10564 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10565 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10566 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10567
09c0ee5f
RM
10568 [BZ #14138]
10569 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10570 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10571 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10572 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10573
10574 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10575 compat_symbol macros from <shlib-compat.h> rather than the underlying
10576 default_symbol_version and symbol_version macros, so that DEFAULT
10577 lines in shlib-versions are respected.
10578 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10579
7e66ee51
FW
105802012-08-01 Florian Weimer <fweimer@redhat.com>
10581
10582 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10583 Declare with warn_unused_result.
10584 (setgid, setregid, setegid, setresgid): Likewise.
10585 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10586 Likewise.
10587 * WUR-REPORT: Remove set*id functions.
10588
d2a54255
PT
105892012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10590
10591 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10592
7ecdb005
RM
105932012-07-31 Roland McGrath <roland@hack.frob.com>
10594
789bd351
RM
10595 * include/sys/socket.h (__libc_accept, __libc_accept4):
10596 Add attribute_hidden.
10597 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10598
40ce302d
RM
10599 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10600 use of PTR_MANGLE.
10601 * inet/getnetgrent_r.c (setup): Likewise.
10602
7ecdb005
RM
10603 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10604
e2eabb2c
DM
106052012-07-31 David S. Miller <davem@davemloft.net>
10606
10607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10608
d0419dbf
JM
106092012-07-31 Joseph Myers <joseph@codesourcery.com>
10610
10611 [BZ #13629]
10612 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10613 value between 1.0 and 2.0 and smaller part has absolute value less
10614 than 1.0.
10615 * math/s_clog10.c (__clog10): Likewise.
10616 * math/s_clog10f.c (__clog10f): Likewise.
10617 * math/s_clog10l.c (__clog10l): Likewise.
10618 * math/s_clogf.c (__clogf): Likewise.
10619 * math/s_clogl.c (__clogl): Likewise.
10620 * math/libm-test.inc (clog_test): Add more tests.
10621 (clog10_test): Likewise.
10622 * sysdeps/i386/fpu/libm-test-ulps: Update.
10623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10624
2bc13872
FW
106252012-07-31 Florian Weimer <fweimer@redhat.com>
10626
10627 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10628 Exit with zero in case no suitable GID is found, and write a
10629 message to standard error.
10630
bea9b193
RM
106312012-07-30 Roland McGrath <roland@hack.frob.com>
10632
10633 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10634 rather than to 1.
10635 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10636 (MAXPATHLEN): Removed.
10637 (NOGROUP, NODEV): New macros.
10638 (setbit, clrbit, isset, isclr): New macros.
10639 (howmany, roundup, powerof2): New macros.
10640 (DEV_BSIZE): New macro.
10641
10642 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10643 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10644
10645 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10646 definition on [!__NO_LONG_DOUBLE_MATH].
10647
10648 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10649 PTR_MANGLE and PTR_DEMANGLE.
10650
10651 * socket/accept4.c (accept4): Rename to __libc_accept4.
10652 Define accept4 as a weak alias.
10653
10654 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10655 on [_DIRENT_HAVE_D_TYPE].
10656 * io/ftw.c (ftw_dir): Likewise.
10657
10658 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10659
10660 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10661
10662 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10663 Use the BSD numbers rather than the arbitrary ones we had.
10664 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10665 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10666 (SIGXCPU, SIGXFSZ): New macros.
10667 (_NSIG): Now 32.
10668
10669 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10670 initializer on [_LIBC_REENTRANT].
10671
10672 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10673 definitions inside [_POSIX_MAPPED_FILES].
10674
10675 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10676
10677 * dirent/opendir.c: Include <fcntl.h>.
10678
10679 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10680 (__libc_getspecific): Likewise.
10681 (__libc_key_create): Likewise.
10682
10683 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10684 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10685 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10686 (tmpfile64): Define as alias.
10687 * sysdeps/wordsize-64/tmpfile.c: File removed.
10688 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10689 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10690 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10691
10692 * stdio-common/vfscanf.c: Include <stdbool.h>.
10693 * nss/makedb.c: Likewise.
10694 * stdio-common/_i18n_number.h: Likewise.
10695 * argp/argp-help.c: Likewise.
10696 * posix/wordexp.c: Likewise.
10697 * sysdeps/posix/spawni.c: Likewise.
10698 * nss/nss_files/files-initgroups.c: Likewise.
10699 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10700 * nss/nss_files/files-initgroups.c: Likewise.
10701 * nss/nss_db/db-netgrp.c: Likewise.
10702 * nss/nss_db/db-initgroups.c: Likewise.
10703 * io/fchmodat.c: Include <sys/stat.h>.
10704
10705 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10706 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10707
10708 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10709 [HAVE_MMAP].
10710
10711 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10712 Add multiple inclusion protection.
10713
e5abc686
DM
107142012-07-27 David S. Miller <davem@davemloft.net>
10715
10716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10717
815e6fa3
GB
107182012-07-27 Gary Benson <gbenson@redhat.com>
10719
10720 [BZ #14298]
10721 * elf/rtld.c: Include <stap-probe.h>.
10722 (dl_main): Added static probes "init_start" and "init_complete".
10723 * elf/dl-load.c: Include <stap-probe.h>.
10724 (lose): Take new parameter "nsid".
10725 Added static probe "map_failed".
10726 (_dl_map_object_from_fd): Pass namespace id to lose.
10727 Added static probe "map_start".
10728 (open_verify): Pass namespace id to lose.
10729 * elf/dl-open.c: Include <stap-probe.h>.
10730 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10731 and "reloc_complete".
10732 * elf/dl-close.c: Include <stap-probe.h>.
10733 (_dl_close_worker): Added static probes "unmap_start" and
10734 "unmap_complete".
10735 * elf/rtld-debugger-interface.txt: New file documenting the above.
10736
9f98c16c
RM
107372012-07-26 Roland McGrath <roland@hack.frob.com>
10738
10739 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10740 rather than a string variable.
10741 * sunrpc/rpc_main.c (h_output): Likewise.
10742 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10743
f3c22df3
PT
107442012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10745
10746 * inet/check_native.c: New file.
10747
3129cfc6
JM
107482012-07-26 Joseph Myers <joseph@codesourcery.com>
10749
da865e95
JM
10750 [BZ #13629]
10751 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10752 if larger part has absolute value 1.0.
10753 * math/s_clog10.c (__clog10): Likewise.
10754 * math/s_clog10f.c (__clog10f): Likewise.
10755 * math/s_clog10l.c (__clog10l): Likewise.
10756 * math/s_clogf.c (__clogf): Likewise.
10757 * math/s_clogl.c (__clogl): Likewise.
10758 * math/libm-test.inc (clog_test): Add more tests.
10759 (clog10_test): Likewise.
10760 * sysdeps/i386/fpu/libm-test-ulps: Update.
10761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10762
3129cfc6
JM
10763 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10764 (pltexit): Likewise.
10765 (La_regs): Likewise.
10766 (La_retval): Likewise.
10767 (int_retval): Likewise.
10768 Update #error for removed macros to refer only to definitions in
10769 tst-audit.h.
10770 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10771 macro.
10772 (pltexit): Likewise.
10773 (La_regs): Likewise.
10774 (La_retval): Likewise.
10775 (int_retval): Likewise.
10776 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10777 macro.
10778 (pltexit): Likewise.
10779 (La_regs): Likewise.
10780 (La_retval): Likewise.
10781 (int_retval): Likewise.
10782 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10783 macro.
10784 (pltexit): Likewise.
10785 (La_regs): Likewise.
10786 (La_retval): Likewise.
10787 (int_retval): Likewise.
10788 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10789 macro.
10790 (pltexit): Likewise.
10791 (La_regs): Likewise.
10792 (La_retval): Likewise.
10793 (int_retval): Likewise.
10794 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10795 macro.
10796 (pltexit): Likewise.
10797 (La_regs): Likewise.
10798 (La_retval): Likewise.
10799 (int_retval): Likewise.
10800 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10801 macro.
10802 (pltexit): Likewise.
10803 (La_regs): Likewise.
10804 (La_retval): Likewise.
10805 (int_retval): Likewise.
10806 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10807 macro definitions in tst-audit.h.
10808 * sysdeps/i386/tst-audit.h: New file.
10809 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10810 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10811 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10812 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10813 * sysdeps/sh/tst-audit.h: Likewise.
10814 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10815 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10816 * sysdeps/x86_64/tst-audit.h: Likewise.
10817
bfc07087
AJ
108182012-07-26 Andreas Jaeger <aj@suse.de>
10819
b1b2aaf8
AJ
10820 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10821 ptrace.
10822
10823 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10824 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10825 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10826 PTRACE_O_MASK.
10827 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10828 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10829 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10830
bfc07087
AJ
10831 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10832 value.
10833
10834 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10835 _sigsys.
10836 (si_call_addr, si_syscall, si_arch): Define new macro.
10837 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10838 _sigsys.
10839 (si_call_addr, si_syscall, si_arch): Define new marcro.
10840 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10841 _sigsys.
10842 (si_call_addr, si_syscall, si_arch): Define new macro.
10843 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10844 _sigsys.
10845 (si_call_addr, si_syscall, si_arch): Define new macro.
10846
89b4b02f
JM
108472012-07-25 Joseph Myers <joseph@codesourcery.com>
10848
10849 [BZ #13717]
10850 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10851 Change to 2.4.21 where previously 2.4.1.
10852 * sysdeps/unix/sysv/linux/configure: Regenerated.
10853 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10854 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10855 Linux kernel version.
10856 (__ASSUME_STD_AUXV): Remove.
10857 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10858 kernel version.
10859 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10860 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10861 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10862 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10863 (__ASSUME_NETLINK_SUPPORT): Likewise.
10864 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10865 (__no_netlink_support): Remove conditional definition.
10866 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10867 Remove.
10868 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10869 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10870 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10871 (if_nameindex_ioctl): Remove.
10872 (if_nameindex_netlink): Do not handle __no_netlink_support.
10873 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10874 code.
10875 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10876 Remove conditional code.
10877 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10878 code.
10879 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10880 unconditional.
10881 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10882 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10883 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10884 Remove.
10885 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10886 [!__ASSUME_STD_AUXV]: Remove conditional code.
10887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10888 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10889 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10891 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10892 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10893 code.
10894 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10896 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10897 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10898 conditional code.
10899 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10901 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10902 code.
10903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10904 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10905 conditional code.
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10907 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10908 code unconditional.
10909 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10910 conditional code.
10911 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10912 unconditional.
10913 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10914 conditional code.
10915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10916 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10917 unconditional.
10918 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10919 conditional code.
10920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10921 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10922 code unconditional.
10923 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10924 conditional code.
10925 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10926 unconditional.
10927 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10928 conditional code.
10929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10930 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10931 code unconditional.
10932 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10933 conditional code.
10934 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10935 unconditional.
10936 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10937 conditional code.
10938
842a39cd
AS
109392012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10940
10941 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10942 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10943 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10944 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10945 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10946 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10947 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10948 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10949 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10950 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10951 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10952 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10953 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10954 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10955 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10956 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10957 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10958 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10959 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10960 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10961 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10962 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10963 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10964
84b3fd84
FW
109652012-07-25 Florian Weimer <fweimer@redhat.com>
10966
10967 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10968 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10969 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10970 Introduce __libc_secure_getenv.
0c7936d5
FW
10971 * stdlib/Versions (2.17): Add secure_getenv
10972 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10973 * stdlib/secure-getenv.c: Rename __secure_getenv to
10974 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10975 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10976 * stdlib/tst-secure-getenv.c: New.
10977 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10978 * manual/startup.texi (Environment Access): Document
10979 secure_getenv.
84b3fd84
FW
10980 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10981 __libc_secure_getenv.
10982 * inet/ruserpass.c (ruserpass): Likewise.
10983 * malloc/mtrace.c (mtrace): Likewise.
10984 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10985 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10986 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10987 * sysdeps/posix/tempname.c: Likewise. Evaluate
10988 HAVE_SECURE_GETENV.
10989 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10990 __secure_getenv to __libc_secure_getenv.
84b3fd84 10991 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10993 Likewise.
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10995 Likewise.
10996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10998 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11003
56e49b71
JM
110042012-07-25 Joseph Myers <joseph@codesourcery.com>
11005
11006 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11007 (struct La_i86_retval): Likewise.
11008 (struct La_x86_64_regs): Likewise.
11009 (struct La_x86_64_retval): Likewise.
11010 (struct La_x32_regs): Likewise.
11011 (struct La_x32_retval): Likewise.
11012 (struct La_ppc32_regs): Likewise.
11013 (struct La_ppc32_retval): Likewise.
11014 (struct La_ppc64_regs): Likewise.
11015 (struct La_ppc64_retval): Likewise.
11016 (struct La_sh_regs): Likewise.
11017 (struct La_sh_retval): Likewise.
11018 (struct La_s390_32_regs): Likewise.
11019 (struct La_s390_32_retval): Likewise.
11020 (struct La_s390_64_regs): Likewise.
11021 (struct La_s390_64_retval): Likewise.
11022 (struct La_sparc32_regs): Likewise.
11023 (struct La_sparc32_retval): Likewise.
11024 (struct La_sparc64_regs): Likewise.
11025 (struct La_sparc64_retval): Likewise.
11026 (struct audit_ifaces): Remove architecture-specific pltenter and
11027 pltexit members.
11028 * sysdeps/i386/ldsodefs.h: New file.
11029 * sysdeps/powerpc/ldsodefs.h: Likewise.
11030 * sysdeps/s390/ldsodefs.h: Likewise.
11031 * sysdeps/sh/ldsodefs.h: Likewise.
11032 * sysdeps/sparc/ldsodefs.h: Likewise.
11033 * sysdeps/x86_64/ldsodefs.h: Likewise.
11034
354691b7
MP
110352012-07-25 Marek Polacek <polacek@redhat.com>
11036
11037 [BZ #6808]
11038 * math/libm-test.inc (yn_test): Add another test.
11039 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11040 to ERANGE when the result is +-Inf.
11041 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11042 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11043 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11044 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11045
bf9e2071
JM
110462012-07-24 Joseph Myers <joseph@codesourcery.com>
11047
11048 * conform/data/time.h-data (NULL): Use macro-constant. Require
11049 equal to 0.
11050 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11051 clock_t.
11052 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11053
57633811
TS
110542012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11055
11056 * configure.in <sysdeps resolving>: Correct printing
11057 Implies_before.
11058 * configure: Regenerate.
11059
c23c33b0
TS
110602012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11061
11062 * math/w_ilogb.c: Include <limits.h>.
11063 * math/w_ilogbl.c: Likewise.
11064
b5982523
JM
110652012-07-20 Joseph Myers <joseph@codesourcery.com>
11066
11067 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11068 va_copy. Document allowing for unavailable va_copy only as
11069 pre-C99 compatibility.
11070 * manual/string.texi (Copying and Concatenation): Use va_copy
11071 instead of __va_copy in concat example.
11072
ac4ea442
PT
110732012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11074
11075 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11076 (__sendto): Use create_address_port. Initialize APORT and deallocate
11077 it if not null.
11078
f98eafbd
PT
11079 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11080 with O_NOLINK passed to __file_name_lookup.
11081
898c7aab
PT
11082 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11083 with O_NOLINK passed to __file_name_lookup.
11084
0ced335a
PT
11085 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11086 negative N or less than NGIDS.
11087
b3404dbd
PT
11088 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11089 type to string_t. Set ERANGE as errno and return it if NAME is not big
11090 enough. Use memcpy instead of strncpy.
11091
0f48659e
JM
110922012-07-20 Joseph Myers <joseph@codesourcery.com>
11093
11094 * elf/Makefile (check-data): Remove.
11095 (localplt.data): New vpath directive.
11096 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11097 instead of $(check-data).
11098 * scripts/data/localplt-generic.data: Move to ...
11099 * sysdeps/generic/localplt.data: ... here.
11100 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11101 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11102 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11104 ... here.
11105 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11107 ... here.
11108 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11110 ... here.
11111 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11113 ... here.
11114 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11116 ... here.
11117 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11119 ... here.
11120
d37cbdaa
AZ
111212012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11122
11123 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11124 PPC32 and PPC64 files.
11125 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11126 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11127
46f85fc2
AK
111282012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11129
11130 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11131 __makecontext_ret to ...
11132 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11133 ... here and call exit if uc_link is NULL. New file.
11134 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11135 __makecontext_ret.S.
11136 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11137 __makecontext_ret to ...
11138 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11139 ... here and call exit if uc_link is NULL. New file.
11140 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11141 __makecontext_ret.S.
11142
08f43f9b
AK
111432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11144
11145 * elf/elf.h (R_390_IRELATIVE): New definition.
11146 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11147 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11148 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11149 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11150 (elf_machine_lazy_rel): Likewise.
11151 * sysdeps/s390/dl-irel.h: New file.
11152 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11153 * sysdeps/s390/s390-64/memset.S: New asm code.
11154 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11155 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11156 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11157 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11158 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11159 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11160 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11161 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11162 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11163 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11164 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11165 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11166 * sysdeps/s390/s390-32/memset.S: New asm code.
11167 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11168
3b05db33
MP
111692012-07-17 Marek Polacek <polacek@redhat.com>
11170
11171 [BZ #14349]
11172 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11173 * sysdeps/s390/s390-64/configure.in: Likewise.
11174 * sysdeps/sparc/configure.in: Likewise.
11175 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11176 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11177 * sysdeps/i386/configure.in: Likewise.
11178 * sysdeps/x86_64/configure.in: Likewise.
11179 * sysdeps/sh/configure.in: Likewise.
11180 * sysdeps/s390/s390-32/configure: Regenerated.
11181 * sysdeps/s390/s390-64/configure: Likewise.
11182 * sysdeps/x86_64/configure: Likewise.
11183 * sysdeps/sh/configure: Likewise.
11184 * sysdeps/powerpc/powerpc64/configure: Likewise.
11185 * sysdeps/powerpc/powerpc32/configure: Likewise.
11186 * sysdeps/sparc/configure: Likwise.
11187 * sysdeps/i386/configure: Likewise.
11188
a66877c6
MP
11189 * elf/dl-open.c: Comment fixes.
11190
cfc82fd8
JM
111912012-07-17 Joseph Myers <joseph@codesourcery.com>
11192
bd29910a
JM
11193 * Makefile [CXX] (check-data): Remove.
11194 [CXX] (c++-types.data): New vpath directive.
11195 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11196 vpath. Do not allow for C++ type data being missing.
11197 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11198 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11199 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11200 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11201 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11202 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11203 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11205 ... here.
11206 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11208 ... here.
11209 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11211 ... here.
11212 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11214 ... here.
11215 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11217 ... here.
11218 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11220 ... here.
11221 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11223 ... here.
11224 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11226
cfc82fd8
JM
11227 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11228 definitions to architecture-specific files.
11229 (TLS_IE): Likewise.
11230 (TLS_LD): Likewise.
11231 (TLS_GD): Likewise.
11232 * sysdeps/i386/tls-macros.h: New file.
11233 * sysdeps/powerpc/tls-macros.h: Likewise.
11234 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11235 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11236 * sysdeps/sh/tls-macros.h: Likewise.
11237 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11238 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11239 * sysdeps/x86_64/tls-macros.h: Likewise.
11240
f7db3170
TS
112412012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11242
07cbfc23
TS
11243 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11244 zero value for regular exit case.
11245
f7db3170
TS
11246 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11247 (__start_context): Preserve zero value for regular exit case.
11248
dc97c227
TS
112492012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11250 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11251
11252 * manual/setjmp.texi (setcontext): Clarify normal process
11253 termination when uc_link is the null pointer.
11254 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11255 exit call.
11256
d0cd7d02
AS
112572012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11258
11259 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11260 preprocessor. Test for each exception mask separately.
11261
dd318934
AJ
112622012-07-16 Andreas Jaeger <aj@suse.de>
11263
11264 * po/ru.po: Update from translation team.
11265
8048311a
JM
112662012-07-15 Joseph Myers <joseph@codesourcery.com>
11267
11268 * conform/data/string.h-data (NULL): Use macro-constant. Require
11269 equal to 0.
11270 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11271 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11272 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11273 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11274 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11275
b637d46e
AJ
112762012-07-13 Andreas Jaeger <aj@suse.de>
11277
11278 * po/fr.po: Update from translation team.
11279
541428fe
MP
112802012-07-12 Marek Polacek <polacek@redhat.com>
11281
11282 [BZ #14173]
11283 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11284 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11285 loop condition.
11286
ec332e94
JM
112872012-07-12 Joseph Myers <joseph@codesourcery.com>
11288
11289 [BZ #13717]
11290 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11291 Change to 2.4.1 where previously 2.4.0.
11292 * sysdeps/unix/sysv/linux/configure: Regenerated.
11293 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11294 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11295 version.
11296 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11297 (__ASSUME_AT_CLKTCK): Remove.
11298 (__ASSUME_AT_PAGESIZE): Likewise.
11299 (__ASSUME_AT_XID): Likewise.
11300 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11301 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11302 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11303 unconditionally.
11304 (HAVE_AUX_PAGESIZE): Likewise.
11305 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11306 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11307 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11308
7b6e99be
JB
113092012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11310
11311 [BZ #14307]
11312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11313 the temporary buffer used to invoke __gethostbyname2_r,
11314 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11315 host_data / struct gaih_addrtuple.
11316 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11317 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11318 header file nss/nsswitch.h.
11319 * nss/nsswitch.h (global scope): Add definition of implementation
11320 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11321 resolv/nss_dns/dns-host.c).
11322
608404eb
AJ
113232012-07-11 Andreas Jaeger <aj@suse.de>
11324
11325 * po/fr.po: Update from translation team.
11326
71220aca
AJ
11327 * po/sv.po: Update from translation team
11328 * po/fr.po: Another update from translation team.
11329
28cfe843
AZ
113302012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11331
11332 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11333 for subnormals or multiply small sinh result by itself.
11334 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11336
6b90f981
DM
113372012-07-11 David S. Miller <davem@davemloft.net>
11338
11339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11340
c6825772
AS
113412012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11342
11343 [BZ #14347]
11344 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11345 (INTERNAL_MARK): Shift it here.
11346
7b8e0d49
MP
113472012-07-10 Marek Polacek <polacek@redhat.com>
11348
11349 [BZ #14151]
11350 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11351 libc_cv_asm_global_directive with .globl.
11352 * configure: Regenerated.
11353 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11354 with .globl.
11355 * sysdeps/i386/configure: Regenerated.
11356 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11357 with .globl.
11358 * sysdeps/x86_64/configure: Regenerated.
11359 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11360 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11361 * elf/tst-unique2mod2.c: Likewise.
11362 * elf/tst-unique2mod1.c: Likewise.
11363 * elf/tst-unique1mod2.c: Likewise.
11364 * elf/tst-unique1mod1.c: Likewise.
11365 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11366 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11367 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11368 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11369 * sysdeps/mach/sysdep.h: Likewise.
11370 * sysdeps/i386/sysdep.h: Likewise.
11371 * sysdeps/i386/i386-mcount.S: Likewise.
11372 * sysdeps/x86_64/_mcount.S: Likewise.
11373 * sysdeps/x86_64/sysdep.h: Likewise.
11374 * sysdeps/sh/_mcount.S: Likewise.
11375 * sysdeps/sh/sysdep.h: Likewise.
11376 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11377 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11378 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11379 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11380 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11381 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11382 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11383 * locale/localeinfo.h: Likewise.
11384 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11385 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11386
6c55cda3
RM
113872012-07-09 Roland McGrath <roland@hack.frob.com>
11388
11389 [BZ #14336]
11390 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11391 system".
11392 * manual/message.texi (The Uniforum approach): Likewise.
11393 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11394 (glibc iconv Implementation): Likewise.
11395
638a572e
JM
113962012-07-09 Joseph Myers <joseph@codesourcery.com>
11397
11398 [BZ #14337]
11399 * math/s_clog.c (__clog): Avoid scaling a value down where that
11400 could result in underflow.
11401 * math/s_clog10.c (__clog10): Likewise.
11402 * math/s_clog10f.c (__clog10f): Likewise.
11403 * math/s_clog10l.c (__clog10l): Likewise.
11404 * math/s_clogf.c (__clogf): Likewise.
11405 * math/s_clogl.c (__clogl): Likewise.
11406 * math/libm-test.inc (clog_test): Add more tests.
11407 (clog10_test): Likewise.
11408 * sysdeps/i386/fpu/libm-test-ulps: Update.
11409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11410
261f4859
AS
114112012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11412
0abaf3e4
AS
11413 [BZ #14283]
11414 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11415 by 7 not 8 to examine high bit of fractional part.
11416
261f4859
AS
11417 [BZ #14042]
11418 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11419 for call to __mcount_internal.
11420 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11421 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11422 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11423
f17ac40d
JM
114242012-07-06 Joseph Myers <joseph@codesourcery.com>
11425
9ad63c23
JM
11426 [BZ #14154]
11427 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11428 approximation for values within 0x1p-13f of an odd multiple of
11429 pi/4.
11430 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11431 exception. Add more tests.
11432 * sysdeps/i386/fpu/libm-test-ulps: Update.
11433
f17ac40d
JM
11434 [BZ #6778]
11435 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11436 inputs and return -1 for them. Do not check for +Inf in case not
11437 reachable for +Inf.
11438 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11439 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11440 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11441 and return -1 for them. Do not check for +Inf in case not
11442 reachable for +Inf.
11443 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11444 define.
11445 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11446 and return -1 for them. Do not check for +Inf in case not
11447 reachable for +Inf.
11448 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11449 spurious underflow.
11450 * sysdeps/i386/fpu/libm-test-ulps: Update.
11451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11452
fb21f89b
MF
114532012-07-06 Mike Frysinger <vapier@gentoo.org>
11454
11455 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11456
cdfe2c5e
JM
114572012-07-05 Joseph Myers <joseph@codesourcery.com>
11458
11459 [BZ #14157]
11460 [BZ #14331]
11461 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11462 could result in spurious underflow. Scale down values above
11463 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11464 * math/s_csqrtf.c (__csqrtf): Likewise.
11465 * math/s_csqrtl.c (__csqrtl): Likewise.
11466 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11467 spurious underflow.
11468 * sysdeps/i386/fpu/libm-test-ulps: Update.
11469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11470
70d35b67
AS
114712012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11472
704bc459
AS
11473 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11474 xopen-msg.sed.
11475 * catgets/xopen-msg.awk: New file.
11476 * catgets/xopen-msg.sed: Removed.
11477
70d35b67
AS
11478 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11479 po2text.sed.
11480 * intl/po2test.awk: New file.
11481 * intl/po2test.sed: Removed.
11482
ca61cf32
JM
114832012-07-04 Joseph Myers <joseph@codesourcery.com>
11484
11485 [BZ #14328]
11486 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11487 or multiply small sinh result by itself.
11488 * math/s_ctanf.c (__ctanf): Likewise.
11489 * math/s_ctanh.c (__ctanh): Likewise.
11490 * math/s_ctanhf.c (__ctanhf): Likewise.
11491 * math/s_ctanhl.c (__ctanhl): Likewise.
11492 * math/s_ctanl.c (__ctanl): Likewise.
11493 * math/libm-test.inc (ctan_test_tonearest): New function.
11494 (ctan_test_towardzero): Likewise.
11495 (ctan_test_downward): Likewise.
11496 (ctan_test_upward): Likewise.
11497 (ctanh_test_tonearest): Likewise.
11498 (ctanh_test_towardzero): Likewise.
11499 (ctanh_test_downward): Likewise.
11500 (ctanh_test_upward): Likewise.
11501 (main): Call these new functions.
11502 * sysdeps/i386/fpu/libm-test-ulps: Update.
11503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11504
ca48a46a
MF
115052012-07-03 Mike Frysinger <vapier@gentoo.org>
11506
11507 * .gitignore: Delete /ports entry.
11508
9d63d37d
AJ
115092012-07-03 Andreas Jaeger <aj@suse.de>
11510
11511 * po/bg.po: Update from translation team.
11512 * po/cs.po: Likewise.
11513 * po/de.po: Likewise.
11514 * po/hr.po: Likewise.
11515 * po/nl.pl: Likewise.
11516 * po/pl.po: Likewise.
11517 * po/vi.po: Likewise.
11518
370ca3d2
JM
115192012-07-03 Joseph Myers <joseph@codesourcery.com>
11520
95f5a9a8
JM
11521 * Makeconfig [!+link] (+link-before-libc): New variable.
11522 [!+link] (+link-after-libc): Likewise.
11523 [!+link] (+link-tests): Likewise.
11524 [!+link] (+link): Define in terms of $(+link-before-libc) and
11525 $(+link-after-libc).
11526 [!+link-static] (+link-static-before-libc): New variable.
11527 [!+link-static] (+link-static-after-libc): Likewise.
11528 [!+link-static] (+link-static-tests): Likewise.
11529 [!+link-static] (+link-static): Define in terms of
11530 $(+link-static-before-libc) and $(+link-static-after-libc).
11531 [build-shared] (link-libc-before-gnulib): New variable.
11532 [build-shared] (link-libc-tests): Likewise.
11533 [build-shared] (link-libc): Define in terms of
11534 $(link-libc-before-gnulib).
11535 [!build-shared] (link-libc-tests): New variable.
11536 (link-libc-static-tests): New variable.
11537 [!gnulib] (gnulib-arch): New variable.
11538 [!gnulib] (gnulib-tests): Likewise.
11539 [!gnulib] (static-gnulib-arch): Likewise.
11540 [!gnulib] (static-gnulib-tests): Likewise.
11541 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11542 Define with "=" instead of ":=".
11543 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11544 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11545 * Rules (binaries-all-notests): New variable.
11546 (binaries-all-tests): Likewise.
11547 (binaries-static-notests): Likewise.
11548 (binaries-static-tests): Likewise.
11549 (binaries-all): Define using $(binaries-all-notests) and
11550 $(binaries-all-tests).
11551 (binaries-static): Define using $(binaries-static-notests) and
11552 $(binaries-static-tests).
11553 (binaries-shared-tests): New variable.
11554 (binaries-shared-notests): Likewise.
11555 (binaries-shared): Remove variable.
11556 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11557 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11558 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11559 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11560 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11561 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11562 * elf/Makefile (sln-modules): New variable.
11563 (extra-objs): Add $(sln-modules:=.o).
11564 (ldconfig-modules): Add static-stubs.
11565 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11566 * elf/static-stubs.c: New file.
11567
7a845b2c
JM
11568 [BZ #14283]
11569 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11570 by 7 not 8 to examine high bit of fractional part. Use volatile
11571 variables when splitting into final array of floats if
11572 __FLT_EVAL_METHOD__ != 0.
11573 * math/libm-test.inc (cos_test): Add another test.
11574 (sin_test): Likewise.
11575 * sysdeps/i386/fpu/libm-test-ulps: Update.
11576
e2283f38
JM
11577 [BZ #14273]
11578 * math/libm-test.inc (cosh_test): Add more tests.
11579
370ca3d2
JM
11580 * version.h (RELEASE): Set to "development".
11581 (VERSION): Set to "2.16.90".
11582
ee9247c3
CD
115832012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11584
11585 * NEWS: Update copyright. Remove last-updated date.
11586 Mention math library bug fixes and timezone data changes.
11587 * README: Mention GNU/Hurd, x32, and HPPA support status.
11588
4648c381
TS
115892012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11590
11591 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11592
aac78a43
AJ
115932012-06-27 Andreas Jaeger <aj@suse.de>
11594
11595 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11596
ed3dbfad
AJ
115972012-06-25 Andreas Jaeger <aj@suse.de>
11598
11599 * sysdeps/s390/fpu/libm-test-ulps: Update.
11600
4d0ee855
AS
116012012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11602 Thomas Schwinge <thomas@codesourcery.com>
11603
11604 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11605 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11606 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11607 fanotify_mark.
11608
af1bce34
TS
116092012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11610
a9fa33ba
TS
11611 * sysdeps/mach/start.c: Remove file.
11612 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11613 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11614 * sysdeps/sh/init-first.c: Likewise.
11615
58f902b8
TS
11616 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11617 registers for frame unwinding purposes, add CFI directives.
11618 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11619 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11620 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11621 Likewise.
11622
1518f58b
TS
11623 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11624 __fortify_fail returning.
11625 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11626
db9b5059
TS
11627 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11628 sysdeps/sh/____longjmp_chk.S.
11629 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11630 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11631 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11632 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11633
967705fe
TS
11634 * sysdeps/sh/abort-instr.h: New file.
11635 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11636 process in case exit returns.
11637
a9def8c4
TS
11638 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11639 initialize the GOT register before use.
11640
2a649725
TS
11641 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11642 calculation of ARGC > 4.
11643
af1bce34
TS
11644 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11645 meaningful names to some local labels.
11646
d230f50a
KK
116472012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11648 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11649
11650 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11651 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11652 (__arch_compare_and_exchange_val_16_acq): Likewise.
11653 (__arch_compare_and_exchange_val_32_acq): Likewise.
11654 (atomic_exchange_and_add): Fix gUSA sequence.
11655 (atomic_add): Likewise.
11656 (atomic_add_negative): Likewise.
11657 (atomic_add_zero): Likewise.
11658 (atomic_bit_test_set): Likewise.
11659
0479b305
AS
116602012-06-22 Andreas Schwab <schwab@redhat.com>
11661
11662 [BZ #13579]
11663 * include/link.h (struct link_map): Add l_free_initfini.
11664 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11665 l_initfini.
11666 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11667 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11668 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11669 set.
11670
0e3933b9
CD
116712012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11672
11673 * configure.in: Use AC_LANG_SOURCE.
11674 * configure: Regenerate.
11675
4248b1b1
RM
116762012-06-22 Roland McGrath <roland@hack.frob.com>
11677
11678 * configure.in (libc_cv_localstatedir): New substituted variable.
11679 * configure: Regenerated.
11680 * config.make.in (localstatedir): New variable, substituted from
11681 libc_cv_localstatedir.
11682 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11683 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11684 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11685 * sysdeps/gnu/configure: Regenerated.
11686
006dd861
JL
116872012-06-21 Jeff Law <law@redhat.com>
11688
11689 [BZ #14277]
11690 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11691 free. Simplify list management for _LIBC case.
11692
79662d42
JM
116932012-06-21 Joseph Myers <joseph@codesourcery.com>
11694
b7abb4bf
JM
11695 [BZ #14273]
11696 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11697 Clear sign bit of 64-bit integer value before comparing against
11698 overflow value.
11699
79662d42
JM
11700 * sysdeps/mach/configure: Regenerated.
11701
1f150908
L
117022012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11703
11704 [BZ #14278]
11705 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11706
28363bbf
JL
117072012-06-21 Jeff Law <law@redhat.com>
11708
11709 [BZ #13882]
11710 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11711 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11712 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11713 * elf/dl-open.c (dl_open_worker): Likewise.
11714
09615db4
CD
117152012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11716
11717 * scripts/list-sources.sh: Scan PORTS for translations.
11718 * po/libc.pot: Regenerated.
11719
2174c6dd
AJ
117202012-06-21 Andreas Jaeger <aj@suse.de>
11721
11722 [BZ #12194]
11723 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11724 warning.
11725 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11726 * bits/byteswap-16.h (__bswap_16): Likewise.
11727 * bits/byteswap.h (__bswap_constant_16): Likewise.
11728
3ee947b1
L
117292012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11730
11731 [BZ #14117]
a2f34833
L
11732 * sysdeps/i386/fpu_control.h: Removed.
11733 * sysdeps/x86_64/fpu_control.h: Moved to ...
11734 * sysdeps/x86/fpu_control.h: Here.
11735
3ee947b1
L
11736 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11737 (_FPU_SETCW): Likewise.
11738
ed1825f8
L
117392012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11740
25f1282a
L
11741 [BZ #14117]
11742 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11743 * sysdeps/x86/fpu/bits/mathinline.h: This.
11744 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11745
ed1825f8
L
11746 [BZ #14050]
11747 [BZ #14117]
11748 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11749 functions if __x86_64__ is defined.
11750
36d54b74
CLT
117512012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11752
11753 * string/endian.h: Add !__ASSEMBLER__ condition for including
11754 conversion interfaces.
11755
10285c21
JM
117562012-06-15 Joseph Myers <joseph@codesourcery.com>
11757
11758 [BZ #14241]
11759 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11760 of ABS(x) in calculating zero to negative powers other than odd
11761 integers.
11762 * math/libm-test.inc (pow_test): Add more tests.
11763
06c5abbd
AJ
117642012-06-15 Andreas Jaeger <aj@suse.de>
11765
11766 * manual/contrib.texi (Contributors): Update entry of Liubov
11767 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11768 Machado Filho.
11769
a3aeac40
CH
117702012-06-15 Cyril Hrubis <metan@ucw.cz>
11771
11772 * string/string.h: Add __wur to GNU version of strerror_r.
11773
49bdf4c1
L
117742012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11775
11776 [BZ #14229]
11777 * string/Makefile (tests): Add tst-strtok_r.
11778 * string/tst-strtok_r.c: New file.
11779 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11780 RAX_LP/RDX_LP on SAVE_PTR.
11781
834f9b8d
RM
117822012-06-14 Roland McGrath <roland@hack.frob.com>
11783
11784 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11785
75fa1921
JM
117862012-06-14 Joseph Myers <joseph@codesourcery.com>
11787
11788 * libm_test.inc (csqrt_test): Allow more spurious underflow
11789 exceptions.
11790 (j0_test): Likewise.
11791 (j1_test): Likewise.
11792 (y0_test): Likewise.
11793 (y1_test): Likewise.
11794
771766df
CD
117952012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11796
11797 * po/Makefile (libc.pot): Use UTF-8 charset.
11798
ceb9e56b
PP
117992012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11800
11801 [BZ #14210]
11802 Suppress sign-conversion warning from FD_SET.
11803 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11804 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11805 not unsigned long int.
11806 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11807
ddb28975
L
118082012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11809
11810 [BZ #14050]
11811 [BZ #14117]
11812 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11813 __extern_always_inline instead of __extern_inline.
11814 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11815 (__signbit): Likewise.
11816 (__signbitl): Support C++ namespace.
11817 (lrintf): New inline function.
11818 (lrint): Likewise.
11819 (llrintf): Likewise.
11820 (llrint): Likewise.
11821 (fmaxf): Likewise.
11822 (fmax): Likewise.
11823 (fminf): Likewise.
11824 (fmin): Likewise.
11825 (rint): Likewise.
11826 (rintf): Likewise.
11827 (ceil): Likewise.
11828 (ceilf): Likewise.
11829 (floor): Likewise.
11830 (floorf): Likewise.
11831 (nearbyint): Likewise.
11832 (nearbyintf): Likewise.
11833
d7b4fb26
TS
118342012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11835
11836 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11837 non-default versions.
11838
eb55f5c2
RM
118392012-06-11 Roland McGrath <roland@hack.frob.com>
11840
11841 [BZ #14218]
11842 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11843
366af02c
TS
118442012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11845
99ff6e5c
TS
11846 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11847 (FE_UPWARD, FE_DOWNWARD): Don't define.
11848 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11849 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11850
366af02c
TS
11851 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11852 reading it.
11853 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11854 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11855
793ea851
KK
118562012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11857
11858 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11859 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11860 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11861 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11862
a728a38f
L
118632012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11864
11865 [BZ #14117]
c08010c7
L
11866 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11867 * sysdeps/i386/fpu/Implies: New file.
11868 * sysdeps/x86_64/fpu/Implies: Likewise.
11869 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11870 * sysdeps/x86/fpu/bits/fenv.h: This.
11871
a728a38f
L
11872 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11873 __SSE_MATH__.
11874
6e230d11
SP
118752012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11876
11877 [BZ #14134]
11878 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11879 character 0xffff that matches the last element of the
11880 conversion table.
11881
1b671feb
AZ
118822012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11883
11884 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11885 fmodl commit.
11886
6043738b
AZ
118872012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11888
11889 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11890 values higher than 25.6283.
11891
34ae0b32
AZ
118922012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11893
11894 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11895 subnormal exponent extraction and add some __builtin_expect.
11896 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11897 Fix for subnormal mantissa calculation.
11898
1214ec8f
MF
118992012-06-04 Mike Frysinger <vapier@gentoo.org>
11900
11901 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11902 cpu2 is -1 and errno is not ENOSYS.
11903
f3d1f93c
L
119042012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11905
11906 [BZ #14117]
0e4a3cd7
L
11907 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11908 * sysdeps/x86/bits/string.h: This.
11909 * sysdeps/x86_64/bits/string.h: Removed.
11910
6704c645
L
11911 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11912 if not compiling for x86-64, but compiling for >= i486.
11913
48495318
L
11914 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11915 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11916
14adcbfc
L
11917 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11918 New macro from Linux kernel 3.4.0.
11919 (FP_XSTATE_MAGIC2): Likewise.
11920 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11921 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11922 (struct _fpx_sw_bytes): New struct.
11923 (struct _xsave_hdr): Likewise.
11924 (struct _ymmh_state): Likewise.
11925 (struct _xstate): Likewise.
11926
68e408ab
L
11927 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11928 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11929 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11930 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11931 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11932 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11933
f3d1f93c
L
11934 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11935 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11936 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11937 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11938 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11939 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11940
d9dc34cd
TMQMF
119412012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11942
11943 [BZ #13743]
11944 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11945 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11946 (sysdep_headers): Include sys/platform/ppc.h.
11947 * sysdeps/powerpc/test-gettimebase.c: Test for
11948 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11949 * manual/Makefile (appendices): Include platform.texi.
11950 * manual/contrib.texi (Contributors): Update @node pointers.
11951 * manual/maint.texi (Maintenance): Likewise.
11952 (Platform): New node.
11953 * manual/platform.texi: New file. Document the new features.
11954
4af3879c
SP
119552012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11956 Jakub Jelinek <jakub@redhat.com>
11957
11958 [BZ #14188]
11959 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11960 where __builtin_expect is unavailable.
11961
2fd6ff13
DM
119622012-06-03 David S. Miller <davem@davemloft.net>
11963
11964 * stdlib/longlong.h: Updated from GCC.
11965
173f7220
AS
119662012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11967
11968 [BZ #14042]
11969 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11970 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11971 __mcount_internal.
11972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11973 (GLIBC_2.16): Likewise.
11974
f34a1c6f
L
119752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11976
11977 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11978
88a4576f
JM
119792012-06-01 Joseph Myers <joseph@codesourcery.com>
11980
ea32bcdd
JM
11981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11982 (default-abi): New variable.
11983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11984 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11985 variable.
11986 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11987 Likewise.
11988 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11989 Likewise.
11990 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11991 Likewise.
11992
88a4576f
JM
11993 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11994 definition. Document in comment.
11995
402fe938
DM
119962012-06-01 David S. Miller <davem@davemloft.net>
11997
11998 * stdlib/longlong.h: Updated from GCC.
11999
3553723f
L
120002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12001
12002 [BZ #14117]
3bd872c4
L
12003 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12004 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12005 sys/debugreg.h sys/io.h here.
12006 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12007 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12008 sys/io.h.
12009 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12010 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12011 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12012 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12013 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12014 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12015
3553723f
L
12016 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12017 Define only if __x86_64__ is defined.
12018
4842e4fe
JM
120192012-06-01 Joseph Myers <joseph@codesourcery.com>
12020
c5bfe3d5
JM
12021 [BZ #14048]
12022 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12023 Use int64_t for variable i.
12024 * math/libm-test.inc (fmod_test): Add more tests.
12025
4842e4fe
JM
12026 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12027 z computation is not scheduled after fetestexcept.
12028 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12029 Use math_force_eval instead of asm to ensure calculation scheduled
12030 before exception test.
12031 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12032 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12033
efb73488
AJ
120342012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12035
12036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12037 computation is not scheduled after fetestexcept.
12038
29bcce7c
L
120392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12040
12041 [BZ #14117]
12042 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12043 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12044
73a68f94
AZ
120452012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12046
12047 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12048 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12049
67b6df78
L
120502012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12051
edf2933a 12052 [BZ #14117]
ebc64a18
L
12053 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12054 <bits/wordsize.h>.
12055 (__WCHAR_MIN): Support __WORDSIZE == 64.
12056 (__WCHAR_MAX): Likewise.
12057
edf2933a
L
12058 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12059 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12060
57c6cf40
L
12061 [BZ #14183]
12062 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12063 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12064
67b6df78 12065 [BZ #14117]
8eb6281e
L
12066 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12067 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12068
aac639f4
L
12069 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12070 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12071
67b6df78
L
12072 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12073 Defined to 1 if __x86_64__ isn't defined.
12074 (_STAT_VER_LINUX_OLD): New.
12075 (st_atime): Remove duplicate.
12076 (st_mtime): Likewise.
12077 (st_ctime): Likewise.
12078
1c2cfe81
DM
120792012-05-31 David S. Miller <davem@davemloft.net>
12080
12081 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12082 entries.
12083
5be8418c
AS
120842012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12085
e7725326
AS
12086 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12087 gen-libm-test.pl.
12088
5be8418c
AS
12089 [BZ #14132]
12090 * elf/dl-reloc.c: Include <_itoa.h>.
12091 (_dl_reloc_bad_type): Remove use of INTUSE.
12092 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12093 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12094 * stdio-common/psiginfo.c (psiginfo): Likewise.
12095 * stdio-common/psignal.c (psignal): Likewise.
12096 * string/strsignal.c (strsignal): Likewise.
12097 * include/signal.h (_sys_siglist): Declare hidden proto.
12098 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12099 INTVARDEF with libc_hidden_data_def.
12100 * stdio-common/itoa-udigits.c: Likewise.
12101 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12102 (_itoa_lower_digits_internal): Remove declaration.
12103 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12104 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12105 (_sys_sigabbrev_internal): Remove aliases.
12106 (_sys_siglist): Define hidden alias.
12107
507352f1
MT
121082012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12109
12110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12111 bits/sysctl.h.
12112
42bbb1c3
L
121132012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12114
12115 [BZ #14117]
6bd784b6
L
12116 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12117 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12118
8bca20f0
L
12119 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12120 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12121 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12122 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12123 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12124 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12125
f9e890a9
L
12126 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12127 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12128 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12129
471101a1
L
12130 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12131 with __addr.
12132 (insw): Likewise.
12133 (insl): Likewise.
12134 (outsb): Likewise.
12135 (outsw): Likewise.
12136 (outsl): Likewise.
12137
6451c862
L
12138 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12139 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12140 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12141
a254b8c9
L
12142 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12143 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12144 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12145 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12146 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12147 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12148
b8dfdd92
L
12149 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12150 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12151
578cd270
L
12152 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12153 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12154
de662f5f
L
12155 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12156 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12157 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12158
25653439
L
12159 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12160 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12161 to ...
12162 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12163
6bad24a0
L
12164 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12165 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12166 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12167
42bbb1c3
L
12168 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12169 for x86-64.
12170 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12171
2d10d547
JM
121722012-05-31 Joseph Myers <joseph@codesourcery.com>
12173
12174 * math/math.h (M_El): Use two more decimal places.
12175 (M_LOG2El): Likewise.
12176 (M_LOG10El): Likewise.
12177 (M_LN2l): Likewise.
12178 (M_LN10l): Likewise.
12179 (M_PIl): Likewise.
12180 (M_PI_2l): Likewise.
12181 (M_PI_4l): Likewise.
12182 (M_1_PIl): Likewise.
12183 (M_2_PIl): Likewise.
12184 (M_2_SQRTPIl): Likewise.
12185 (M_SQRT2l): Likewise.
12186 (M_SQRT1_2l): Likewise.
12187
f230c29b
DM
121882012-05-31 David S. Miller <davem@davemloft.net>
12189
12190 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12191 values between float registers.
12192 * sysdeps/sparc/sparc64/memset.S: Likewise.
12193 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12194
fed806c3
MF
121952012-05-31 Mike Frysinger <vapier@gentoo.org>
12196
12197 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12198 -D_FORTIFY_SOURCE=1.
12199 (CPPFLAGS-tst-longjmp_chk.c): Define.
12200 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12201 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12202 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12203 CFLAGS-tst-wchar-h.c.
12204
30917259
MP
122052012-05-31 Marek Polacek <polacek@redhat.com>
12206
12207 [BZ #14132]
12208 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12209 __endmntent_internal): Remove declaration.
12210 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12211 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12212 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12213
1c58d5dc
DM
122142012-05-30 David S. Miller <davem@davemloft.net>
12215
12216 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12217 (___Q_simulate_exceptions): Use real FP ops rather than writing
12218 into the %fsr.
12219 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12220 Likewise.
12221
7dc00e0d
L
122222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12223
12224 [BZ #14117]
0bd53985
L
12225 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12226 * sysdeps/x86/bits/xtitypes.h: This.
12227
3a257e66
L
12228 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12229 * sysdeps/x86/bits/wordsize.h: This.
12230
62f62904
L
12231 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12232 * sysdeps/x86/bits/huge_vall.h: This.
12233
404fe9d9
L
12234 * sysdeps/i386/bits/select.h: Removed.
12235 * sysdeps/x86_64/bits/select.h: Renamed to ...
12236 * sysdeps/x86/bits/select.h: This.
12237
d48d0446
L
12238 * sysdeps/i386/bits/setjmp.h: Removed.
12239 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12240 * sysdeps/x86/bits/setjmp.h: This.
12241
7dc00e0d
L
12242 * sysdeps/i386/bits/mathdef.h: Removed.
12243 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12244 * sysdeps/x86/bits/mathdef.h: This.
12245
03277f8f
AS
122462012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12247
12248 [BZ #14132]
12249 * include/sys/socket.h (__connect_internal)
12250 (__libc_sa_len_internal): Remove declaration.
12251 (__connect, __libc_sa_len): Declare hidden_proto.
12252 (SA_LEN): Remove use of INTUSE.
12253 * socket/connect.c: Add libc_hidden_def.
12254 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12255 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12256 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12257 alias.
12258 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12259 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12260 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12261 of adding _internal alias.
12262
13764867
L
122632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12264
12265 [BZ #14117]
6bd97696
L
12266 * sysdeps/i386/bits/link.h: Removed.
12267 * sysdeps/i386/bits/linkmap.h: Likewise.
12268 * sysdeps/x86_64/bits/link.h: Renamed to ...
12269 * sysdeps/x86/bits/link.h: This.
12270 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12271 * sysdeps/x86/bits/linkmap.h: This.
12272
f726f0bb
L
12273 * sysdeps/i386/bits/endian.h: Removed.
12274 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12275 * sysdeps/x86/bits/endian.h: This.
12276
13764867
L
12277 * sysdeps/i386/bits/byteswap.h: Removed.
12278 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12279 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12280 * sysdeps/x86/bits/byteswap.h: This.
12281 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12282 * sysdeps/x86/bits/byteswap-16.h: This.
12283 * sysdeps/i386/Implies: Add x86.
12284 * sysdeps/x86_64/Implies: Likewise.
12285
ae251b0b
DM
122862012-05-30 David S. Miller <davem@davemloft.net>
12287
12288 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12289 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12290 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12291 (FP_TRAPPING_EXCEPTIONS): Define.
12292 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12293 (FP_TRAPPING_EXCEPTIONS): Define.
12294 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12295 subnormals only when inexact has been signalled or underflow
12296 exceptions are enabled.
12297 (_FP_PACK_CANONICAL): Likewise.
12298
d5c90867
L
122992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12300
12301 [BZ #14183]
12302 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12303 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12304
63f1549e
RH
123052012-05-30 Richard Henderson <rth@twiddle.net>
12306
8d8f2279
RH
12307 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12308 with #ifndef NOT_IN_libc.
12309
63f1549e
RH
12310 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12311 marked to avoid plt entry.
12312
0ab0291b
L
123132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12314
12315 [BZ #14112]
12316 * Makeconfig (default-abi): New macro.
12317 (abi-includes): Likewise.
12318 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12319 $(abi-$(default-abi)-lib-soname) for soname if defined.
12320 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12321 abi-variants.
12322 * Makefile (installed-stubs): Likewise.
12323 * include/stubs-biarch.h: Removed.
12324 * scripts/lib-names.awk: Only handle one library at a time.
12325 * scripts/soversions.awk: Remove WORDSIZE support.
12326 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12327 entries.
12328 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12329 Removed.
12330 (syscall-list-default-condition): Likewise.
12331 (syscall-list-default-condition): Likewise.
12332 (syscall-list-includes): Likewise.
12333 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12334 syscall-list-* with abi-*. Handle undefined abi-variants.
12335 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12336 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12337 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12338 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12339 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12340 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12341 Removed.
12342 (syscall-list-32-options): Likewise.
12343 (syscall-list-32-condition): Likewise.
12344 (syscall-list-64-options): Likewise.
12345 (syscall-list-64-condition): Likewise.
12346 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12347 macro.
12348 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12349 Renamed to ...
12350 (abi-*): This.
12351 (abi-64-ld-soname): New macro.
12352 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12353 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12354 Renamed to ...
12355 (abi-*): This.
12356 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12357 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12358
4da0431d
JM
123592012-05-30 Joseph Myers <joseph@codesourcery.com>
12360
3a85279c
JM
12361 * sysdeps/unix/sysv/linux/kernel-features.h
12362 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12363 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12364 include <kernel-features.h>.
12365 [!__NR_ftruncate64]: Remove conditional code.
12366 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12367 [__NR_ftruncate64]: Make code unconditional.
12368 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12369 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12370 include <kernel-features.h>.
12371 [!__NR_ftruncate64]: Remove conditional code.
12372 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12373 [__NR_ftruncate64]: Make code unconditional.
12374 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12376 include <kernel-features.h>.
12377 [!__NR_ftruncate64]: Remove conditional code.
12378 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12379 [__NR_ftruncate64]: Make code unconditional.
12380 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12382 include <kernel-features.h>.
12383 [!__NR_ftruncate64]: Remove conditional code.
12384 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12385 [__NR_ftruncate64]: Make code unconditional.
12386 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12387
4da0431d
JM
12388 * configure.in (libc_cv_fpie): Weaken to a compile test using
12389 LIBC_TRY_CC_OPTION.
12390 * configure: Regenerated.
12391
11ef492c
AK
123922012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12393
12394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12398 Refreshed.
12399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12405 Refreshed.
12406
d66ef399
DM
124072012-05-27 David S. Miller <davem@davemloft.net>
12408
12409 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12410 (___Q_zero): New.
12411 (__Q_simulate_exceptions): Return void. Change to simulate
12412 exceptions by writing into the %fsr.
12413 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12414 (__Qp_handle_exceptions): Likewise.
12415 (numbers): Delete.
12416 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12417 __Qp_handle_exceptions.
12418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12419 __Qp_handle_exceptions.
12420 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12421 as unused and give dummy FP_RND_NEAREST initializer.
12422 (FP_INHIBIT_RESULTS): Define.
12423 (___Q_simulate_exceptions): Update declaration.
12424 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12425 formatting.
12426 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12427 as unused and give dummy FP_RND_NEAREST initializer.
12428 (__Qp_handle_exceptions): Update declaration.
12429 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12430 formatting.
12431
04fb54b5
TS
124322012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12433
12434 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12435 the temporary FPU control word.
12436 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12437 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12438 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12439 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12440 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12441 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12442 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12443 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12444 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12445 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12446 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12447
3f99608f
KK
124482012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12449
12450 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12451 fields.
12452
65a4de4e
CLT
124532012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12454
12455 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12456 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12457 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12458 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12459 Likewise.
12460 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12461 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12462 Likewise.
12463
15749d40
UD
124642012-05-27 Ulrich Drepper <drepper@gmail.com>
12465
12466 * po/h.po: Update from translation team.
12467
25dbcb27
AS
124682012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12469
3d3f8e55
AS
12470 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12471
25dbcb27
AS
12472 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12473 handling of denormals.
12474 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12475 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12476 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12477 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12478 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12479 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12480 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12481 Likewise.
12482
7ad47a80 124832012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12484
12485 [BZ #14152]
12486 * math/libm-test.inc (fma_test): Don't always expect underflow
12487 exception.
12488
9c6ea9fa
SP
124892012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12490
12491 [BZ #12416]
12492 * elf/tst-execstack.c: Include stackinfo.h.
12493 (do_test): Adjust test case to ensure that pthread_getattr_np
12494 behaviour remains the same after marking stack executable.
12495
a8239222
JM
124962012-05-25 Joseph Myers <joseph@codesourcery.com>
12497
12498 * sysdeps/unix/sysv/linux/kernel-features.h
12499 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12500 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12501 kernel-features.h.
12502 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12503 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12504 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12505 kernel-features.h.
12506 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12507 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12508
918b5606
L
125092012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12510
12511 * configure.in: Define the default includes to being none.
12512 * configure: Regenerated.
12513
3a097cc7
RM
125142012-05-25 Roland McGrath <roland@hack.frob.com>
12515
8422c9a5
RM
12516 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12517 * sysdeps/x86_64/setjmp.S: Likewise.
12518 * sysdeps/i386/bsd-setjmp.S: Likewise.
12519 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12520 * sysdeps/i386/setjmp.S: Likewise.
12521 * sysdeps/i386/__longjmp.S: Likewise.
12522 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12523 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12524
3a097cc7
RM
12525 * include/stap-probe.h: New file.
12526 * configure.in: Handle --enable-systemtap.
12527 * configure: Regenerated.
12528 * config.h.in (USE_STAP_PROBE): New #undef.
12529 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12530 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12531 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12532
21708942
JM
125332012-05-25 Joseph Myers <joseph@codesourcery.com>
12534
12535 [BZ #13717]
12536 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12537 to 2.4.0 where earlier.
12538 * sysdeps/unix/sysv/linux/configure: Regenerated.
12539 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12540 <kernel-features.h>.
12541 [__ASSUME_32BITUIDS]: Make code unconditional.
12542 [!__ASSUME_32BITUIDS]: Remove conditional code.
12543 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12544 <kernel-features.h>.
12545 [__ASSUME_32BITUIDS]: Make code unconditional.
12546 [!__ASSUME_32BITUIDS]: Remove conditional code.
12547 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12548 [__ASSUME_32BITUIDS]: Make code unconditional.
12549 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12550 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12551 <kernel-features.h>.
12552 [__ASSUME_32BITUIDS]: Make code unconditional.
12553 [!__ASSUME_32BITUIDS]: Remove conditional code.
12554 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12555 <kernel-features.h>.
12556 [__ASSUME_32BITUIDS]: Make code unconditional.
12557 [!__ASSUME_32BITUIDS]: Remove conditional code.
12558 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12559 <kernel-features.h>.
12560 [__ASSUME_32BITUIDS]: Make code unconditional.
12561 [!__ASSUME_32BITUIDS]: Remove conditional code.
12562 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12563 <kernel-features.h>.
12564 [__ASSUME_32BITUIDS]: Make code unconditional.
12565 [!__ASSUME_32BITUIDS]: Remove conditional code.
12566 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12567 <kernel-features.h>.
12568 [__ASSUME_32BITUIDS]: Make code unconditional.
12569 [!__ASSUME_32BITUIDS]: Remove conditional code.
12570 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12571 <kernel-features.h>.
12572 [__ASSUME_32BITUIDS]: Make code unconditional.
12573 [!__ASSUME_32BITUIDS]: Remove conditional code.
12574 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12575 <kernel-features.h>.
12576 [__ASSUME_32BITUIDS]: Make code unconditional.
12577 [!__ASSUME_32BITUIDS]: Remove conditional code.
12578 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12579 <kernel-features.h>.
12580 [__ASSUME_32BITUIDS]: Make code unconditional.
12581 [!__ASSUME_32BITUIDS]: Remove conditional code.
12582 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12583 <kernel-features.h>.
12584 [__ASSUME_32BITUIDS]: Make code unconditional.
12585 [!__ASSUME_32BITUIDS]: Remove conditional code.
12586 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12587 <kernel-features.h>.
12588 [__ASSUME_32BITUIDS]: Make code unconditional.
12589 [!__ASSUME_32BITUIDS]: Remove conditional code.
12590 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12591 <kernel-features.h>.
12592 [__NR_setresgid] (__setresgid): Do not declare.
12593 [__ASSUME_32BITUIDS]: Make code unconditional.
12594 [!__ASSUME_32BITUIDS]: Remove conditional code.
12595 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12596 <kernel-features.h>.
12597 [__NR_setresuid] (__setresuid): Do not declare.
12598 [__ASSUME_32BITUIDS]: Make code unconditional.
12599 [!__ASSUME_32BITUIDS]: Remove conditional code.
12600 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12601 <kernel-features.h>.
12602 [__ASSUME_32BITUIDS]: Make code unconditional.
12603 [!__ASSUME_32BITUIDS]: Remove conditional code.
12604 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12605 <kernel-features.h>.
12606 [__ASSUME_32BITUIDS]: Make code unconditional.
12607 [!__ASSUME_32BITUIDS]: Remove conditional code.
12608 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12609 <kernel-features.h>.
12610 [__ASSUME_32BITUIDS]: Make code unconditional.
12611 [!__ASSUME_32BITUIDS]: Remove conditional code.
12612 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12613 <kernel-features.h>.
12614 [__ASSUME_32BITUIDS]: Make code unconditional.
12615 [!__ASSUME_32BITUIDS]: Remove conditional code.
12616 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12617 <kernel-features.h>.
12618 [__ASSUME_32BITUIDS]: Make code unconditional.
12619 [!__ASSUME_32BITUIDS]: Remove conditional code.
12620 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12621 <kernel-features.h>.
12622 [__ASSUME_32BITUIDS]: Make code unconditional.
12623 [!__ASSUME_32BITUIDS]: Remove conditional code.
12624 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12625 <kernel-features.h>.
12626 [__ASSUME_32BITUIDS]: Make code unconditional.
12627 [!__ASSUME_32BITUIDS]: Remove conditional code.
12628 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12629 <kernel-features.h>.
12630 [__ASSUME_32BITUIDS]: Make code unconditional.
12631 [!__ASSUME_32BITUIDS]: Remove conditional code.
12632 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12633 <kernel-features.h>.
12634 [__ASSUME_32BITUIDS]: Make code unconditional.
12635 [!__ASSUME_32BITUIDS]: Remove conditional code.
12636 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12637 <kernel-features.h>.
12638 [__ASSUME_32BITUIDS]: Make code unconditional.
12639 [!__ASSUME_32BITUIDS]: Remove conditional code.
12640 * sysdeps/unix/sysv/linux/kernel-features.h
12641 (__ASSUME_SETRESUID_SYSCALL): Remove.
12642 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12643 (__ASSUME_32BITUIDS): Likewise.
12644 (__ASSUME_LDT_WORKS): Likewise.
12645 (__ASSUME_O_DIRECTORY): Likewise.
12646 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12647 architecture but not kernel version.
12648 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12649 (__ASSUME_MMAP2_SYSCALL): Likewise.
12650 (__ASSUME_STAT64_SYSCALL): Likewise.
12651 (__ASSUME_IPC64): Likewise.
12652 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12653 <kernel-features.h>.
12654 [__ASSUME_32BITUIDS]: Make code unconditional.
12655 [!__ASSUME_32BITUIDS]: Remove conditional code.
12656 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12657 <kernel-features.h>.
12658 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12659 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12660 132096]: Remove conditional code.
12661 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12662 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12663 <kernel-features.h>.
12664 [__ASSUME_32BITUIDS]: Make code unconditional.
12665 [!__ASSUME_32BITUIDS]: Remove conditional code.
12666 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12667 <kernel-features.h>.
12668 [__ASSUME_32BITUIDS]: Make code unconditional.
12669 [!__ASSUME_32BITUIDS]: Remove conditional code.
12670 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12671 <kernel-features.h>.
12672 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12673 unconditional.
12674 (__setresgid): Do not declare.
12675 [__ASSUME_32BITUIDS]: Make code unconditional.
12676 [!__ASSUME_32BITUIDS]: Remove conditional code.
12677 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12678 <kernel-features.h>.
12679 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12680 unconditional.
12681 (__setresuid): Do not declare.
12682 [__ASSUME_32BITUIDS]: Make code unconditional.
12683 [!__ASSUME_32BITUIDS]: Remove conditional code.
12684 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12685 <kernel-features.h>.
12686 [__ASSUME_32BITUIDS]: Make code unconditional.
12687 [!__ASSUME_32BITUIDS]: Remove conditional code.
12688 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12689 <kernel-features.h>.
12690 [__ASSUME_32BITUIDS]: Make code unconditional.
12691 [!__ASSUME_32BITUIDS]: Remove conditional code.
12692
a386f1cc
RH
126932012-05-25 Richard Henderson <rth@twiddle.net>
12694
12695 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12696 dl_hwcap to ifunc resolver.
12697 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12698 elf_ifunc_invoke.
12699 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12700 dl_hwcap to ifunc resolver.
12701 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12702
b6550497
JM
127032012-05-24 Joseph Myers <joseph@codesourcery.com>
12704
12705 [BZ #14153]
12706 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12707 for |x| <= 2**-26, not 2**-57.
12708 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12709 exception.
12710
b0bc23a1
JL
127112012-05-24 Jeff Law <law@redhat.com>
12712
12713 * stdio-common/Makefile (tests): Add bug25.
12714 * stdio-common/bug25.c: New test.
12715
347c92e9
L
127162012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12717
12718 [BZ #13576]
12719 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12720 multiple of MALLOC_ALIGNMENT in size.
12721 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12722
6bcc8b3f
JM
127232012-05-24 Joseph Myers <joseph@codesourcery.com>
12724
12725 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12726 Require >= 256.
12727 (FILENAME_MAX): Use macro-int-constant.
12728 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12729 (_IOFBF): Use macro-int-constant.
12730 (_IOLBF): Likewise.
12731 (_IONBF): Likewise.
12732 (SEEK_CUR): Likewise.
12733 (SEEK_END): Likewise.
12734 (SEEK_SET): Likewise.
12735 (TMP_MAX): Likewise.
12736 (EOF): Use macro-int-constant. Require < 0.
12737 (NULL): Use macro-constant. Require == 0.
12738 (stdin): Require type to be FILE *.
12739 (stdout): Likewise.
12740 (stderr): Likewise.
12741 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12742 macro-int-constant.
12743 (EXIT_SUCCESS): Likewise.
12744 (NULL): Use macro-constant. Require == 0.
12745 (RAND_MAX): Use macro-int-constant.
12746 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12747 [C99-based standards] (strtof): Require function.
12748 [C99-based standards] (strtold): Likewise.
12749 [C99-based standards] (strtoll): Likewise.
12750 [C99-based standards] (strtoull): Likewise.
12751 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12752 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12753 [ISO || ISO99 || ISO11] (math.h): Likewise.
12754 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12755 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12756 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12757
d18ea0c5
AS
127582012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12759
12760 [BZ #14132]
56d25bb8
AS
12761 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12762 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12763 * intl/dgettext.c (DCGETTEXT): Likewise.
12764 * intl/gettext.c (DCGETTEXT): Likewise.
12765 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12766 * posix/regex_internal.h (gettext): Likewise.
12767 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12768 Remove declaration.
12769 * include/argz.h (__argz_count_internal)
12770 (__argz_stringify_internal): Remove declaration.
12771 (__argz_count, __argz_stringify): Declare hidden proto.
12772 * intl/dcgettext.c: Remove use of INTDEF.
12773 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12774 * string/argz-stringify.c: Likewise.
12775 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12776 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12777 Declare hidden proto.
d18ea0c5
AS
12778 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12779 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12780 Declare hidden proto.
12781 * include/stdio.h (__asprintf_internal): Don't declare.
12782 (__asprintf): Don't define as macro. Declare hidden proto.
12783 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12784 (__fsetlocking): Declare hidden proto.
12785 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12786 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12787 hidden proto.
12788 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12789 (_IO_setlinebuf): Remove use of INTUSE.
12790 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12791 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12792 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12793 Remove declaration.
12794 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12795 (_IO_do_flush): Remove use of INTUSE.
12796 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12797 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12798 (_IO_adjust_column, _IO_least_wmarker)
12799 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12800 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12801 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12802 (_IO_default_doallocate, _IO_wdefault_doallocate)
12803 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12804 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12805 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12806 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12807 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12808 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12809 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12810 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12811 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12812 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12813 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12814 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12815 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12816 proto.
12817 (_IO_flush_all_internal, _IO_adjust_column_internal)
12818 (_IO_default_uflow_internal, _IO_default_finish_internal)
12819 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12820 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12821 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12822 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12823 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12824 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12825 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12826 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12827 (_IO_file_close_internal, _IO_file_close_it_internal)
12828 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12829 (_IO_file_init_internal, _IO_file_attach_internal)
12830 (_IO_file_fopen_internal, _IO_file_read_internal)
12831 (_IO_file_sync_internal, _IO_file_seek_internal)
12832 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12833 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12834 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12835 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12836 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12837 (_IO_list_all_internal, _IO_link_in_internal)
12838 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12839 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12840 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12841 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12842 (_IO_do_write_internal, _IO_padn_internal)
12843 (_IO_getline_info_internal, _IO_getline_internal)
12844 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12845 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12846 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12847 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12848 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12849 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12850 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12851 with libc_hidden_ver, remove use of INTUSE.
12852 * libio/genops.c: Likewise.
12853 * libio/freopen.c: Likewise.
12854 * libio/freopen64.c: Likewise.
12855 * libio/iofclose.c: Likewise.
12856 * libio/iofdopen.c: Likewise.
12857 * libio/iofflush.c: Likewise.
12858 * libio/iofflush_u.c: Likewise.
12859 * libio/iofgets.c: Likewise.
12860 * libio/iofgets_u.c: Likewise.
12861 * libio/iofopen.c: Likewise.
12862 * libio/iofopncook.c: Likewise.
12863 * libio/iofread.c: Likewise.
12864 * libio/iofread_u.c: Likewise.
12865 * libio/ioftell.c: Likewise.
12866 * libio/iofwrite.c: Likewise.
12867 * libio/iogetline.c: Likewise.
12868 * libio/iogets.c: Likewise.
12869 * libio/iogetwline.c: Likewise.
12870 * libio/iopadn.c: Likewise.
12871 * libio/iopopen.c: Likewise.
12872 * libio/ioseekoff.c: Likewise.
12873 * libio/ioseekpos.c: Likewise.
12874 * libio/iosetbuffer.c: Likewise.
12875 * libio/iosetvbuf.c: Likewise.
12876 * libio/ioungetc.c: Likewise.
12877 * libio/ioungetwc.c: Likewise.
12878 * libio/iovdprintf.c: Likewise.
12879 * libio/iovsprintf.c: Likewise.
12880 * libio/iovsscanf.c: Likewise.
12881 * libio/memstream.c: Likewise.
12882 * libio/obprintf.c: Likewise.
12883 * libio/oldfileops.c: Likewise.
12884 * libio/oldiofclose.c: Likewise.
12885 * libio/oldiofdopen.c: Likewise.
12886 * libio/oldiofopen.c: Likewise.
12887 * libio/oldiopopen.c: Likewise.
12888 * libio/oldstdfiles.c: Likewise.
12889 * libio/putc.c: Likewise.
12890 * libio/setbuf.c: Likewise.
12891 * libio/setlinebuf.c: Likewise.
12892 * libio/stdfiles.c: Likewise.
12893 * libio/strops.c: Likewise.
12894 * libio/vasprintf.c: Likewise.
12895 * libio/vscanf.c: Likewise.
12896 * libio/vsnprintf.c: Likewise.
12897 * libio/vswprintf.c: Likewise.
12898 * libio/wfiledoalloc.c: Likewise.
12899 * libio/wfileops.c: Likewise.
12900 * libio/wgenops.c: Likewise.
12901 * libio/wmemstream.c: Likewise.
12902 * libio/wstrops.c: Likewise.
12903 * libio/__fpurge.c: Likewise.
12904 * libio/__fsetlocking.c: Likewise.
12905 * assert/assert.c: Likewise.
12906 * debug/fgets_chk.c: Likewise.
12907 * debug/fgets_u_chk.c: Likewise.
12908 * debug/fread_chk.c: Likewise.
12909 * debug/fread_u_chk.c: Likewise.
12910 * debug/gets_chk.c: Likewise.
12911 * debug/obprintf_chk.c: Likewise.
12912 * debug/vasprintf_chk.c: Likewise.
12913 * debug/vdprintf_chk.c: Likewise.
12914 * debug/vsnprintf_chk.c: Likewise.
12915 * debug/vsprintf_chk.c: Likewise.
12916 * malloc/mtrace.c: Likewise.
12917 * misc/error.c: Likewise.
12918 * misc/syslog.c: Likewise.
12919 * stdio-common/asprintf.c: Likewise.
12920 * stdio-common/fxprintf.c: Likewise.
12921 * stdio-common/getw.c: Likewise.
12922 * stdio-common/isoc99_fscanf.c: Likewise.
12923 * stdio-common/isoc99_scanf.c: Likewise.
12924 * stdio-common/isoc99_vfscanf.c: Likewise.
12925 * stdio-common/isoc99_vscanf.c: Likewise.
12926 * stdio-common/isoc99_vsscanf.c: Likewise.
12927 * stdio-common/printf-prs.c: Likewise.
12928 * stdio-common/printf_fp.c: Likewise.
12929 * stdio-common/printf_fphex.c: Likewise.
12930 * stdio-common/printf_size.c: Likewise.
12931 * stdio-common/putw.c: Likewise.
12932 * stdio-common/scanf.c: Likewise.
12933 * stdio-common/sprintf.c: Likewise.
12934 * stdio-common/tmpfile.c: Likewise.
12935 * stdio-common/vfprintf.c: Likewise.
12936 * stdio-common/vfscanf.c: Likewise.
12937 * stdlib/strfmon_l.c: Likewise.
12938 * sunrpc/openchild.c: Likewise.
12939 * sunrpc/xdr_stdio.c: Likewise.
12940 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12941 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12942
d6c33fda
RM
129432012-05-24 Roland McGrath <roland@hack.frob.com>
12944
c1487492
RM
12945 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12946
12947 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12948 in the third column, to generate for the shared library an IFUNC
12949 that uses _dl_vdso_vsym.
12950 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12951 * Makeconfig (object-suffixes-noshared): New variable.
12952
12953 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12954 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12955 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12956 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12957
d6c33fda
RM
12958 [BZ #14132]
12959 * include/sys/time.h (__gettimeofday): Remove macro.
12960 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12961 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12962 Remove INTDEF.
12963 (__gettimeofday): Add libc_hidden_def.
12964 (gettimeofday): Add libc_hidden_weak.
12965 * sysdeps/mach/gettimeofday.c: Likewise.
12966 * sysdeps/posix/gettimeofday.c: Likewise.
12967 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12968 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12969 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12970 (__gettimeofday_internal): Remove strong_alias.
12971 (__gettimeofday): Add libc_hidden_def.
12972 (gettimeofday): Add libc_hidden_weak.
12973 * sysdeps/unix/syscalls.list (gettimeofday):
12974 Remove __gettimeofday_internal alias.
12975
b5a2bbe6
L
129762012-05-24 Daniel Jacobowitz <drow@false.org>
12977 H.J. Lu <hongjiu.lu@intel.com>
12978
12979 [BZ #12495]
12980 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12981 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12982 (largebin_index_32_big): New.
12983 (largebin_index): Use it for 16-byte alignment.
12984 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12985 correction with front_misalign.
12986
cfba4fda
L
129872012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12988
7f907421
L
12989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12991 Likewise.
12992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12993 Likewise.
12994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12995 Likewise.
12996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12997 Likewise.
12998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12999 Likewise.
13000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13001 Likewise.
13002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13003 Likewise.
13004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13005 Likewise.
13006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13007 Likewise.
13008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13009 Likewise.
13010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13011 Likewise.
13012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13013 Likewise.
13014
cfba4fda
L
13015 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13016 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13017
80bad0cc
JM
130182012-05-24 Joseph Myers <joseph@codesourcery.com>
13019
7a25eb06
JM
13020 [BZ #10846]
13021 [BZ #14036]
13022 * math/libm-test.inc (exp_test): Add test from bug 14036.
13023 (pow_test): Add test from bug 10846.
13024
795405f9
JM
13025 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13026 and other flags.
13027 (special_function): Do not include flags in test name.
13028 (parse_args): Likewise.
13029 * sysdeps/i386/fpu/libm-test-ulps: Update.
13030 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13031 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13032 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13034
80bad0cc
JM
13035 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13036 exceptions.
13037 * math/libm-test.inc ("Philosophy"): Update comment about
13038 exception testing.
13039 (UNDERFLOW_EXCEPTION): New macro.
13040 (UNDERFLOW_EXCEPTION_OK): Likewise.
13041 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13042 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13043 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13044 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13045 (INVALID_EXCEPTION_OK): Update value.
13046 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13047 (OVERFLOW_EXCEPTION_OK): Likewise.
13048 (IGNORE_ZERO_INF_SIGN): Likewise.
13049 (test_exceptions): Handle underflow exceptions.
13050 (acos_test): Update for underflow exception expectations.
13051 (cexp_test): Likewise.
13052 (clog_test): Likewise.
13053 (clog10_test): Likewise.
13054 (csqrt_test): Likewise.
13055 (ctan_test): Likewise.
13056 (ctanh_test): Likewise.
13057 (exp_test): Likewise.
13058 (exp10_test): Likewise.
13059 (exp2_test): Likewise.
13060 (expm1_test): Likewise.
13061 (fma_test): Likewise.
13062 (j0_test): Likewise.
13063 (jn_test): Likewise.
13064 (nexttoward_test): Likewise.
13065 (pow_test): Likewise.
13066 (scalbn_test): Likewise.
13067 (scalbln_test): Likewise.
13068 (tan_test): Likewise.
13069 (y1_test): Likewise.
13070 * sysdeps/i386/fpu/libm-test-ulps: Update.
13071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13072
9e0e3d0b
DM
130732012-05-23 David S. Miller <davem@davemloft.net>
13074
13075 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13076 (__libc_sigaction): Remove unused local variables.
13077
ccd0a08f
L
130782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13079
13080 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13081
62bdf9a6
PE
130822012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13083
f8591f80
PE
13084 mktime: avoid signed integer overflow
13085 * time/mktime.c (__mktime_internal): Do not mishandle the case
13086 where diff == INT_MIN.
13087
94c7d826
PE
13088 mktime: simplify computation of average
13089 * time/mktime.c (ranged_convert): Use new time_t_avg function
13090 instead of rolling our own (probably-slower) code.
13091
ce73d683
PE
13092 mktime: do not assume signed right shift propagates sign bit
13093 * time/mktime.c (isdst_differ): New static function.
13094 (__mktime_internal): No need to normalize tm_isdst now.
13095 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13096 tm_isdst values.
13097
72a22e59
PE
13098 mktime: merge another wrapv change from gnulib
13099 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13100 from some compilers.
13101
68605433
PE
13102 mktime: remove incorrect attempt at unusual arithmetics
13103 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13104 The code didn't really work on such machines anyway.
13105 (TYPE_MINIMUM): Assume two's complement.
13106 (twos_complement_arithmetic): Verify that long_int and time_t
13107 are two's complement (or unsigned, in the latter case).
13108
03cf7fe3
PE
13109 mktime: check signed shifts on long_int and time_t, too
13110 * time/mktime.c (SHR): Check that shifts work as desired
13111 on the types long_int and time_t too, as SHR is used on
13112 such types.
13113
f04dfbc2
PE
13114 mktime: do not assume 'long' is wide enough
13115 * time/mktime.c (verify): Move decl up.
13116 (long_int): New type.
13117 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13118 to remove assumption in the code that 'long' is wide enough to
13119 store year values. This assumption is not true on x32 and on
13120 some non-glibc platforms.
13121
62bdf9a6
PE
13122 mktime: merge wrapv change from gnulib
13123 * time/mktime.c (WRAPV): New macro.
13124 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13125 (guess_time_tm, __mktime_internal): Do not assume that signed
13126 integer overflow wraps around; modern compilers generate code
13127 where this assumption is no longer valid.
13128
5e292e4f
L
131292012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13130
13131 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13132 Replace "jmp L(pseudo_end)" with "ret".
13133 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13134 Likewise.
13135
8caf8c87
AJ
131362012-05-23 Andreas Jaeger <aj@suse.de>
13137
13138 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13139 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13140
1a09dc56
AJ
131412012-05-23 Andreas Jaeger <aj@suse.de>
13142 Maximilian Attems <max@stro.at>
13143
13144 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13145 New macros.
13146
1c87aba0
L
131472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13148
13149 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13150 code so that pseudo_end is just ret and the stack pointer is
13151 correct also for static library in error case.
13152
40e45bd5
JM
131532012-05-23 Joseph Myers <joseph@codesourcery.com>
13154
c2670533
JM
13155 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13156 move to syscalls.list.
13157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13161
40e45bd5
JM
13162 * manual/install.texi (Running make install): Do not mention Linux
13163 kernel version for which pt_chown is not needed.
13164 (Linux): Do not mention problems with nscd with 2.0 kernels.
13165 * INSTALL: Regenerated.
13166
be08eda5
AJ
131672012-05-23 Andreas Jaeger <aj@suse.de>
13168
13169 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13170 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13171 macro.
13172 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13173 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13174 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13175 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13176 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13177 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13178 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13179 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13180 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13181 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13182 * sysdeps/unix/sysv/linux/bits/in.h
13183 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13184
a6a056bb
RM
131852012-05-22 Roland McGrath <roland@hack.frob.com>
13186
13187 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13188 (PREPARE_VERSION): Just use assert instead, it will be elided
13189 under [NDEBUG] anyway.
13190
c9009328
L
131912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13192
13193 * sysdeps/unix/sysv/linux/Makefile: Include
13194 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13195 (sysdep_routines): Remove sysctl.
c9009328
L
13196 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13197 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13198 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13199 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13200 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13201
73338355
AJ
132022012-05-22 Andreas Jaeger <aj@suse.de>
13203
13204 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13205 that pseudo_end is just ret and the stack pointer is correct also
13206 for static library in error case.
13207
d44638b0
PP
132082012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13209
13210 [BZ #14122]
13211 * nss/nsswitch.c (defconfig_entries): New variable.
13212 (__nss_database_lookup): Don't leak defconfig entries.
13213 (nss_parse_service_list): Don't leak on error paths.
13214 (free_database_entries): New function.
13215 (free_defconfig): New function.
13216 (free_mem): Move common code to free_database_entries.
13217
31a39bd8
L
132182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13219
da0331a8
L
13220 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13221 Add arch_prctl.
13222 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13223
31a39bd8
L
13224 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13225 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13226 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13227 New macro.
13228 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13229 (INTERNAL_SYSCALL_TYPES): Likewise.
13230 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13231 (LOAD_REGS_TYPES_[1-6]): Likewise.
13232 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13233 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13234
45470df3
AZ
132352012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13236
13237 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13238 copysignl for GLIBC_2_0.
13239 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13240 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13241 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13242 logbl for GLIBC_2_0.
13243 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13244 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13245
98a61bcb
L
132462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13247
a4f6e481
L
13248 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13249 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13250
f63d5db6
L
13251 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13252 Use "neg %eax".
13253
98a61bcb
L
13254 * time/mktime.c: Update copyright years.
13255
95770f14
PE
132562012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13257
6226efbd
PE
13258 mktime: merge comment-quoting-style change from gnulib
13259 * time/mktime.c: Quote 'like this' in comments.
13260 The GNU coding standards suggest that we no longer quote `like this',
13261 as "`" and "'" are typically rendered asymmetrically nowadays.
13262 The typical gnulib style is to quote 'like this' when quoting
13263 code, and "like this" when quoting English.
13264
b99e4f78
PE
13265 * time/mktime.c (compile-command): Add "-I.".
13266
643e01e6
PE
13267 mktime: merge mktime-internal.h change from gnulib
13268 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13269
2554247d
PE
13270 mktime: merge time_r change from gnulib
13271 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13272
826dd0ab
PE
13273 mktime: merge DEBUG change from gnulib
13274 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13275 case system <time.h> has a #define.
13276
bd83aabe
PE
13277 mktime: merge <sys/types.h> change from gnulib
13278 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13279 since <time.t> is now guaranteed to define time_t.
13280
95770f14
PE
13281 mktime: merge HAVE_CONFIG_H change from gnulib
13282 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13283
5e1a27a9
L
132842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13285
0e44a77e
L
13286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13287 Use "neg %eax".
13288
5e1a27a9
L
13289 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13290 __rlim_t cast.
13291 (struct rusage): Use anonymous union to pad each field to
13292 __syscall_slong_t.
13293
46259bec
DM
132942012-05-21 David S. Miller <davem@davemloft.net>
13295
13296 * Makefules (o-iterator): Remove .s cases.
13297 (compile-command.s): Delete.
13298 (COMPILE.s): Delete.
13299 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13300
59f0c22e
JM
133012012-05-21 Joseph Myers <joseph@codesourcery.com>
13302
13303 * configure.in (libc_cv_predef_stack_protector): Only consider
13304 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13305 * configure: Regenerated.
13306
20c07380
L
133072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13308
bbb3154b
L
13309 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13310 New macro. Use R*LP on int and pointer.
13311 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
13312 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13313 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
13314 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13315
20c07380
L
13316 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13317 [__WORDSIZE_TIME64_COMPAT32] instead of
13318 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13319 (struct utmp): Likewise.
13320 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13321 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13322 Renamed to ...
13323 (__WORDSIZE_TIME64_COMPAT32): This.
13324 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13325 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13326 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13327 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13328 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13329 (__WORDSIZE_TIME64_COMPAT32): New macro.
13330
d8d1017e
AJ
133312012-05-21 Andreas Jaeger <aj@suse.de>
13332
13333 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13334 only if [SHARED]. Add prototype for __wcschr_ia32.
13335
6c7fb145
RM
133362012-05-21 Roland McGrath <roland@hack.frob.com>
13337
13338 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13339 of %rbp unmolested in the jmp_buf while mangling the low bits.
13340 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13341 unmolested high bits of %rbp while demangling the low bits.
13342 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13343
66274218
AJ
133442012-05-21 Andreas Jaeger <aj@suse.de>
13345
07c58f8f
AJ
13346 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13347 * sunrpc/svc_simple.c: Use it for registerrpc.
13348 * sunrpc/xcrypt.c: Use it for passwd2des.
13349
66274218
AJ
13350 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13351
61f65140
L
133522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13353
13354 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13355 Don't define if [__SYSCALL_WORDSIZE != 32].
13356 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13357 New macro.
13358
5fefb436
AJ
133592012-05-21 Bruno Haible <bruno@clisp.org>
13360 Andreas Jaeger <aj@suse.de>
13361
13362 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13363 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13364 inptr and inend for must_buffer_ch.
13365 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13366 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13367 * stdio-common/Makefile (tests): Remove bug15.
13368 (bug15-ENV): Remove macro.
13369 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13370 anymore.
13371
d8e272ab
AJ
133722012-05-19 Andreas Jaeger <aj@suse.de>
13373 Roland McGrath <roland@hack.frob.com>
13374
13375 * manual/contrib.texi: Completely rewritten. It contains now an
13376 alphabetical list of contributors and their contributions.
13377
4a56a162
RH
133782012-05-21 Richard Henderson <rth@twiddle.net>
13379
13380 * misc/getauxval.c (__getauxval): Use unsigned long int.
13381 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13382 (getauxval): Use unsigned long int.
13383
d024d23c
L
133842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13385
13386 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13387
cbc00a03
RM
133882012-05-21 Roland McGrath <roland@hack.frob.com>
13389
13390 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13391 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13392 __alignof__ (long double).
13393
478143fa
AZ
133942012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13395
13396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13397
c7683a6d
RH
133982012-05-20 Richard Henderson <rth@twiddle.net>
13399
13400 * misc/getauxval.c: New file.
13401 * misc/sys/auxv.h: New file.
13402 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13403 (routines): Add getauxval.
13404 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13405 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13406 * elf/dl-sysdep.c (_dl_auxv): Remove.
13407 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13408 * elf/dl-support.c (_dl_auxv): New variable.
13409 (_dl_aux_init): Initialize it.
13410 * manual/startup.texi (Auxiliary Vector): New node.
13411 * sysdeps/generic/bits/hwcap.h: New file.
13412 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13413 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13414 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13415 * sysdeps/sparc/sysdep.h: ... here. Include it.
13416 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13417 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13419 Update.
c7683a6d
RH
13420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13423 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13428
a6f1845d
AZ
134292012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13430
13431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13432
cbcbe830
DM
134332012-05-19 David S. Miller <davem@davemloft.net>
13434
13435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13436
e0b16cc2
JM
134372012-05-19 Joseph Myers <joseph@codesourcery.com>
13438
13439 [BZ #14123]
13440 * math/s_ccosh.c: Include <float.h>
13441 (__ccosh): Avoid internal overflow calculating sinh and cosh
13442 values before multiplying by sin and cos values.
13443 * math/s_ccoshf.c: Likewise.
13444 * math/s_ccoshl.c: Likewise.
13445 * math/s_csin.c: Likewise.
13446 * math/s_csinf.c: Likewise.
13447 * math/s_csinl.c: Likewise.
13448 * math/s_csinh.c: Likewise.
13449 * math/s_csinhf.c: Likewise.
13450 * math/s_csinhl.c: Likewise.
13451 * math/libm-test.inc (ccos_test): Add more tests.
13452 (ccosh_test): Likewise.
13453 (csin_test): Likewise.
13454 (csinh_test): Likewise.
13455 * sysdeps/i386/fpu/libm-test-ulps: Update.
13456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13457
6ad13e08
L
134582012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13459
f66f0ce8
L
13460 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13461 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13462
6ad13e08
L
13463 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13464
b1d072a7
JM
134652012-05-19 Joseph Myers <joseph@codesourcery.com>
13466
13467 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13468 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13469 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13470 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13471 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13472 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13473 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13474 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13475 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13476 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13477 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13478 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13479 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13480 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13481 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13482 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13483 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13484 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13485 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13486 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13487 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13488 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13489 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13490 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13491 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13492 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13493 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13494 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13495 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13496 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13497 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13498
9eae47cb
AJ
134992012-05-18 Andreas Jaeger <aj@suse.de>
13500
13501 * csu/.gitignore: Delete.
13502
bb07f69f
L
135032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13504
13505 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13506 (timex): Use __syscall_slong_t.
13507
e6bdb741
AJ
135082012-05-18 Andreas Jaeger <aj@suse.de>
13509 Carlos O'Donell <carlos_odonell@mentor.com>
13510
13511 * manual/install.texi (Configuring and compiling): Update
13512 description about files modified in the source directory.
d6c33fda 13513 * INSTALL: Regenerated.
e6bdb741 13514
1b74487e
L
135152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13516
13517 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13518 value. Use "or" to set return value to -1.
13519 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13520 negate return value.
13521
a88b64b9
TMQMF
135222012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13523
13524 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13525 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13526 failure if the compiler has Graphite support disabled.
13527 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13528 Likewise.
13529 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13530 CFLAGS-memmove.c): Likewise.
13531 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13532 Likewise.
13533
3707636e
L
135342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13535
610b8622
L
13536 * sysdeps/x86_64/x32/_itoa.h: New file.
13537
7cd195df
L
13538 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13539 getdents system call only if kernel and user dirents have the
13540 same d_ino and d_off.
13541
94b07d20
L
13542 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13543 LLONG_MAX != LONG_MAX.
13544 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13545 (_fitoa_word): Likewise.
13546
18298070
L
13547 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13548 years.
13549 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13550 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13551 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13552
553c7ea4
L
13553 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13554 include <bits/wordsize.h>. Check __x86_64__ instead of
13555 __WORDSIZE.
13556 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13557 if __x86_64__ is defined. Use anonymous union on fpstate.
13558
3707636e
L
13559 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13560 anonymous union.
13561
b53ef01a
AS
135622012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13563
37fb1dc0
AS
13564 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13565 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13566 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13567 Refer to _rtld_local_ro instead of _rtld_global_ro.
13568 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13569 Likewise.
13570 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13571 Likewise.
13572 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13573 Likewise.
13574 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13575 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13576 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13577
b53ef01a
AS
13578 * sysdeps/powerpc/powerpc32/dl-machine.c
13579 (__elf_machine_runtime_setup) [PROF]: Don't reference
13580 _dl_prof_resolve.
13581
7a185db2
AJ
135822012-05-18 Andreas Jaeger <aj@suse.de>
13583
13584 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13585 function only available for GCCs before 3.4 since GCC 3.4
13586 introduced a builtin.
13587 (lrint): Likewise.
13588 (llrintf): Likewise.
13589 (llrint): Likewise.
13590 (fmaxf): Likewise.
13591 (fmax): Likewise.
13592 (fminf): Likewise.
13593 (fmin): Likewise.
13594 (rint): Likewise.
13595 (rintf): Likewise.
13596 (nearbyint): Likewise.
13597 (nearbyintf): Likewise.
13598 (ceil): Likewise.
13599 (ceilf): Likewise.
13600 (floor): Likewise.
13601 (floorf): Likewise.
13602
3e5aef87
L
136032012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13604
428bd707
L
13605 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13606 on both fields and cast pointer to __syscall_ulong_t.
13607
3e5aef87
L
13608 * bits/types.h (__fsword_t): New type.
13609 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13610 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13612 (__FSWORD_T_TYPE): Likewise.
13613 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13614 (__FSWORD_T_TYPE): Likewise.
13615 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13616 (__FSWORD_T_TYPE): Likewise.
13617 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13618 (__FSWORD_T_TYPE): Likewise.
13619 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13620 __SWORD_TYPE with __fsword_t.
13621 (statfs64): Likewise.
13622
1ba7c3dc
DM
136232012-05-17 David S. Miller <davem@davemloft.net>
13624
13625 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13626
59910343
AJ
136272012-05-17 Andreas Jaeger <aj@suse.de>
13628
13629 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13630 warning.
13631
2e4c1e9e
L
136322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13633
13634 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13635
de7f5ce7
AJ
136362012-05-17 Andreas Jaeger <aj@suse.de>
13637
13638 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13639 when it is used.
13640
286abc3d
CM
136412012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13642
13643 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13644
477cc68e
L
136452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13646
13647 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13648 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13649
1a0994f5
CD
136502012-05-17 Andreas Jaeger <aj@suse.de>
13651 Carlos O'Donell <carlos_odonell@mentor.com>
13652
13653 [BZ #14059]
13654 * sysdeps/x86_64/multiarch/init-arch.h
13655 (bit_YMM_Usable): Rename to...
13656 (bit_AVX_Usable): ... this.
13657 (bit_FMA4_Usable): New macro.
13658 (bit_XMM_state): New macro.
13659 (bit_YMM_state): New macro.
13660 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13661 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13662 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13663 (CPUID_OSXSAVE): New macro.
13664 (CPUID_AVX): New macro.
13665 (CPUID_FMA4): New macro.
13666 (index_YMM_Usable): Rename to...
13667 (index_AVX_Usable): ... this.
13668 (HAS_AVX): Use HAS_ARCH_FEATURE.
13669 (HAS_FMA4): Likewise.
13670 (HAS_YMM_USABLE): Remove.
13671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13672 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13673 are present.
13674 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13675 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13676 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13677 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13678 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13679
0af797de
CM
136802012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13681
13682 * math/libm-test.c: Support platforms without multiple rounding modes.
13683 * math/bug-nextafter.c: Support platforms without FP exceptions.
13684 * math/bug-nexttoward.c: Likewise.
13685 * math/test-fenv.c: Likewise.
13686 * math/test-misc.c: Likewise.
13687 * stdlib/bug-getcontext.c: Likewise.
13688
e39745ff
AJ
136892012-05-17 Andreas Jaeger <aj@suse.de>
13690
13691 * manual/examples/search.c (critter_cmp): Change signature to
13692 avoid warnings.
13693 * manual/string.texi (Collation Functions): Likewise.
13694
48970aba
L
136952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13696
13697 * bits/types.h: Fold copyright years.
13698 * bits/typesizes.h: Likewise.
13699 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13700 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13702 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13703 * time/time.h: Likewise.
13704
bedee953
PP
137052012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13706
13707 [BZ #208]
13708 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13709 in instead of returning them. Return void.
13710 (__libc_mallinfo): Accumulate over all arenas.
13711 (__malloc_stats): Adjust for change in int_mallinfo interface.
13712
61653dfb
RM
137132012-05-16 Roland McGrath <roland@hack.frob.com>
13714
30b99d79
RM
13715 [BZ #10375]
13716 * configure.in (NM): Add AC_CHECK_TOOL for it.
13717 (libc_extra_cflags): New substituted variable.
13718 Check for -fstack-protector being used implicitly.
13719 * configure: Regenerated.
13720 * config.make.in (config-extra-cflags): New variable,
13721 gets @libc_extra_cflags@.
13722 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13723
61653dfb
RM
13724 [BZ #10375]
13725 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13726 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13727 * configure: Regenerated.
13728 * config.make.in (CPPUNDEFS): New substituted variable.
13729 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13730 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13731 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13732
661768bb
L
137332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13734
13735 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13736 (mq_attr): Use __syscall_slong_t.
13737
d4261567
L
137382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13739
13740 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13741 Check __x86_64__ instead of __WORDSIZE.
13742 (_STAT_VER_LINUX): Likewise.
13743 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13744 __syscall_ulong_t and __syscall_slong_t.
13745 (stat64): Likewise.
13746
cf3ff365
L
137472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13748
13749 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13750
76cf3e4d
L
137512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13752
13753 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13754
a637753a
L
137552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13756
13757 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13758 __syscall_ulong_t.
13759
d5e05119
L
13760 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13761 include <bits/wordsize.h>. Check __x86_64__ instead of
13762 __WORDSIZE.
13763 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13764 defined.
13765 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13766
f62ee380
L
13767 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13768 include <bits/wordsize.h>. Check __x86_64__ instead of
13769 __WORDSIZE.
13770 (user_regs_struct): Use "__extension__ unsigned long long"
13771 instead of "unsigned long" if __x86_64__ is defined.
13772 (user): Likewise. Pad after pointer field if __ILP32__ is
13773 defined.
13774
4e124ced
JM
137752012-05-16 Joseph Myers <joseph@codesourcery.com>
13776
6a3951a0
JM
13777 * configure.in (makeinfo): Require version 4.5 or later. Allow
13778 versions 5 to 9.
13779 * configure: Regenerated.
13780 * manual/install.texi (texinfo): Increase version requirement to
13781 4.5 or later.
13782 * INSTALL: Regenerated.
13783
4e124ced
JM
13784 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13785
953ca31a
L
137862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13787
13788 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13789
617aca05
L
13790 * sysdeps/x86_64/x32/ffs.c: New file.
13791
5762f7ae
L
13792 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13793 __syscall_ulong_t.
13794 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13795 defined. Use __syscall_ulong_t.
13796 (shminfo): Use __syscall_ulong_t.
13797 (shm_info): Likewise.
13798
a26b6856
L
13799 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13800 __syscall_ulong_t.
13801
cb2b9ef7
L
13802 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13803 <bits/wordsize.h>.
13804 (msgqnum_t): Use __syscall_ulong_t.
13805 (msglen_t): Likewise.
13806 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13807 __syscall_ulong_t.
13808
34683bb0
L
13809 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13810 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13811
84a68786
L
13812 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13813
48baa5f1
L
13814 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13815 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13816
180be88b
L
13817 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13818 __syscall_slong_t.
13819
5e90c8ad
L
13820 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13821 include <bits/wordsize.h>. Check __x86_64__ instead of
13822 __WORDSIZE.
13823
23dfb58b
L
13824 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13825 "unsigned long long int" if __x86_64__ is defined.
13826 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13827
ce5d54b0
L
13828 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13829 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13830 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13831
13dc9eac
L
13832 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13833 <stdint.h>.
13834 (GET_PC): Cast to uintptr_t first.
13835 (GET_FRAME): Likewise.
13836 (GET_STACK): Likewise.
13837
a7895d15
L
13838 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13839 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13840 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13841 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13842 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13843 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13844 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13845 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13846 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13847 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13848 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13849 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13850 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13851 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13852 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13853 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13854 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13855 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13856 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13857 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13858 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13859 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13860 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13861 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13862 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13863 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13864 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13865 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13866 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13867
656416c9
AS
138682012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13869
5bd66283
AS
13870 * Makerules (+depfiles): Also collect depfiles from .oS in
13871 $(extra-objs).
13872 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13873 .oS, $(libnldbl-routines)).
13874
656416c9
AS
13875 * Makerules (native-compile-mkdep-flags): Define.
13876 * sunrpc/Makefile (extra-objs): Add $(addprefix
13877 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13878 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13879 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13880 calling $(make-target-directory).
13881
a46f2169
L
138822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13883
13884 * bits/types.h (__snseconds_t): Removed.
13885 * time/time.h (struct timespec): Replace __snseconds_t with
13886 __syscall_slong_t.
13887 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13888 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13889 Likewise.
13890 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13891 (__SNSECONDS_T_TYPE): Likewise.
13892 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13893 (__SNSECONDS_T_TYPE): Likewise.
13894 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13895 (__SNSECONDS_T_TYPE): Likewise.
13896
6af6528b
L
138972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13898
13899 * sysdeps/mach/hurd/bits/typesizes.h
13900 (__SYSCALL_SLONG_TYPE): New macro.
13901 (__SYSCALL_ULONG_TYPE): Likewise.
13902
de986b56
L
139032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13904
13905 * bits/types.h (__syscall_slong_t): New type.
13906 (__syscall_ulong_t): Likewise.
13907
13908 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13909 (__SYSCALL_ULONG_TYPE): Likewise.
13910 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13911 (__SYSCALL_SLONG_TYPE): Likewise.
13912 (__SYSCALL_ULONG_TYPE): Likewise.
13913 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13914 (__SYSCALL_SLONG_TYPE): Likewise.
13915 (__SYSCALL_ULONG_TYPE): Likewise.
13916 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13917 (__SYSCALL_SLONG_TYPE): Likewise.
13918 (__SYSCALL_ULONG_TYPE): Likewise.
13919
85736dc7
L
139202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13921
13922 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13923 Add sigaltstack-offsets.sym.
13924 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13925 <sigaltstack-offsets.h>.
13926 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13927 longjmp_msg pointer.
13928 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13929 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13930 signal stack.
13931 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13932
cc03b296
JM
139332012-05-15 Joseph Myers <joseph@codesourcery.com>
13934
a9538892
JM
13935 * elf/stackguard-macros.h: Remove file.
13936 * sysdeps/generic/stackguard-macros.h: New file.
13937 * sysdeps/i386/stackguard-macros.h: Likewise.
13938 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13939 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13940 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13941 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13942 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13943 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13944 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13945 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13946 <elf/stackguard-macros.h>.
13947
cc03b296
JM
13948 [BZ #14109]
13949 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13950 __aligned__ in attribute.
13951 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13952 (gregset_t): Likewise.
13953
93171016
L
139542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13955
13956 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13957 * sysdeps/x86_64/64/Implies-after: Here. New file.
13958 * sysdeps/x86_64/x32/Implies-after: New file.
13959
d86813a0
L
139602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13961
13962 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13963 and access return value for _dl_profile_fixup. Use R10_LP to
13964 load frame size.
13965
2953ec75
L
139662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13967
13968 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13969
3b550e9e
L
139702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13971
13972 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13973 * sysdeps/x86_64/x32/sysdep.h: New file.
13974
eda41706
L
139752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13976
13977 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13978 * sysdeps/x86_64/setjmp.S: Likewise.
13979
9ea01d93
AZ
139802012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13981
13982 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13983 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13984 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13985 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13986 remove unused global constant.
13987
02a91938
CM
139882012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13989
13990 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13991 include of <not-cancel.h>.
13992
6540185f
RM
139932012-05-15 Roland McGrath <roland@hack.frob.com>
13994
13995 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13996
509072a0
AJ
139972012-05-15 Jeff Law <law@redhat.com>
13998 Andreas Jaeger <aj@suse.de>
13999
14000 [BZ #13594]
14001 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14002 out from...
14003 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14004 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14005 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14006 code changing __hst_map_handle.map.
14007
ba75122d
RM
140082012-05-15 Roland McGrath <roland@hack.frob.com>
14009
14010 * configure.in (sysnames): Look for Implies-before and Implies-after
14011 files.
14012 * configure: Regenerated.
14013
890d8bd8
L
140142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14015
14016 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14017 8-byte data alignment with LP_SIZE alignment.
14018
f6ee6623
L
140192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14020
14021 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14022 into R10_LP.
14023
ea2626f6
L
140242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14025
14026 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14027
085f715e
L
140282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14029
14030 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14031 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14032 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14033 Likewise.
14034 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14035
be8498fc
L
140362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14037
14038 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14039 (stackinfo_sub_sp): Likewise.
14040
70bc83b9
L
140412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14042
14043 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14044 RAX_LP.
14045
9bc0b730
L
140462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14047
14048 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14049 into R*_LP.
14050
6d2850e7
L
140512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14052
14053 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14054 sizes into R*_LP.
14055
3cb84561
L
140562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14057
14058 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14059
54e2ed81
L
140602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14061
14062 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14063 into R11_LP and load __x86_64_shared_cache_size_half into
14064 R8_LP.
14065
8a17f349
L
140662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14067
14068 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14069 R8_LP.
14070
777b1eea
AZ
140712012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14072
14073 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14074 logb for POWER7.
14075 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14076 logbf for POWER7.
14077 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14078 logbl for POWER7.
14079 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14080 powerpc32/power7/fpu/s_logb.c via #include.
14081 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14082 powerpc32/power7/fpu/s_logbf.c via #include.
14083 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14084 powerpc32/power7/fpu/s_logbl.c via #include.
14085
d20d4ac2
JM
140862012-05-15 Joseph Myers <joseph@codesourcery.com>
14087
14088 * README.libm: Remove file.
14089
6cdef1ab
L
140902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14091
14092 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14093 count for x32. Use R*_LP and omit operand-size suffix.
14094
0b254d8f
L
140952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14096
14097 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14098 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14099 * sysdeps/x86_64/x32/shlib-versions: New file.
14100
ceb809dc
RM
141012012-05-14 Roland McGrath <roland@hack.frob.com>
14102
14103 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14104 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14105 Use _dl_fatal_printf instead.
14106
37f1abd4
JM
141072012-05-14 Joseph Myers <joseph@codesourcery.com>
14108
14109 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14110 set if not set by the user. Do not allow for being unset.
14111 * sysdeps/unix/sysv/linux/configure: Regenerated.
14112
11de3a33
L
141132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14114
14115 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14116 the `q' suffix from lea and replace .quad with ASM_ADDR.
14117
e02f153a
L
141182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14119
14120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14121 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14122 instead of $17.
14123 (PTR_DEMANGLE): Likewise.
14124
520ae0fd
L
141252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14126
14127 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14128 (LP_OP): Likewise.
14129 (ASM_ADDR): Likewise.
14130 (RAX_LP): Likewise.
14131 (RBP_LP): Likewise.
14132 (RBX_LP): Likewise.
14133 (RCX_LP): Likewise.
14134 (RDI_LP): Likewise.
14135 (RSI_LP): Likewise.
14136 (RSP_LP): Likewise.
14137 (R8_LP): Likewise.
14138 (R9_LP): Likewise.
14139 (R10_LP): Likewise.
14140 (R10_LP): Likewise.
14141 (R11_LP): Likewise.
14142 (R12_LP): Likewise.
14143 (R13_LP): Likewise.
14144 (R14_LP): Likewise.
14145 (R15_LP): Likewise.
14146
b985be81
L
141472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14148
14149 * sysdeps/x86_64/x32/dl-machine.h: New file.
14150
6a4888ff
AJ
141512012-05-14 Andreas Jaeger <aj@suse.de>
14152
14153 * manual/Makefile (subdir): Remove export of subdir.
14154 (all): Remove target.
14155 (.PHONY): Remove all from list.
14156 (mkinstalldirs): Remove.
14157 (.PHONY): Remove installdirs from list.
14158 ($(inst_infodir)/libc.info): Use make-target-directory.
14159 (installdirs): Remove.
14160 (subdir_%): Remove.
14161 (glibc-targets): Remove.
14162 (lib): Remove.
14163 (stubs): Remove.
14164 ($(objpfx)stubs ../po/manual.pot): Remove.
14165 ($(objpfx)stamp%): Remove.
14166 (make-target-directory): Remove.
14167 (subdir_install): Remove.
14168 (routines): Remove.
14169 (aux): Remove.
14170 (sources): Remove.
14171 (objects): Remove.
14172 (headers): Remove.
14173
14174 [BZ #13750]
14175 * manual/.gitignore: Remove, it's not needed anymore.
14176 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14177 all files in it.
14178 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14179 directory.
14180 (texis): Renamed to $(objpfx)texis.
14181 (texis-path): New, contains path to generated files.
14182 (chapters.%): Use texis-path for complete path, add extra argument
14183 libc-texinfo.sh.
14184 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14185 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14186 (summary,texi, stamp-summary): Use complete path of
14187 files. Generate files in build dir.
14188 (dir-add.texi): Build in build dir.
14189 (libm-err.texi,stamp-libm-err): Likewise.
14190 (version.texi, stamp-version): Likewise.
14191 (.%c.texi): Likewise.
14192 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14193 (mostlyclean): Remove target.
14194 (realclean): Remove target.
14195 (generated): Add new variable with contents from mostlyclean and
14196 realclean, remove entries duplicated in common-mostlyclean, add
14197 stamp-libm-err and stamp-version.
14198 (generated-dirs): Add libc directory.
14199 ($(inst_infodir)/libc.info): Install files from build dir.
14200
14201 * manual/install.texi (Configuring and compiling): Adjust since
14202 the info files are not part of the tar ball anymore.
14203
7ac77294
AJ
142042012-05-14 Andreas Jaeger <aj@suse.de>
14205
14206 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14207 variable.
14208
ffb7875d
JM
142092012-05-14 Joseph Myers <joseph@codesourcery.com>
14210
14211 [BZ #13717]
14212 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14213 to 2.2.0 where earlier.
14214 * sysdeps/unix/sysv/linux/configure: Regenerated.
14215 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14216 Remove conditional code.
14217 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14218 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14219 Remove conditional code.
14220 [!__NR_lchown]: Likewise.
14221 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14222 [__NR_lchown]: Likewise.
14223 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14224 comment referencing __ASSUME_LCHOWN_SYSCALL.
14225 * sysdeps/unix/sysv/linux/i386/sigaction.c
14226 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14227 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14228 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14229 Remove conditional code.
14230 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14231 (__protocol_available): Remove #if 0 code.
14232 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14233 conditional code.
14234 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14235 * sysdeps/unix/sysv/linux/kernel-features.h
14236 (__ASSUME_GETCWD_SYSCALL): Don't define.
14237 (__ASSUME_REALTIME_SIGNALS): Likewise.
14238 (__ASSUME_PREAD_SYSCALL): Likewise.
14239 (__ASSUME_PWRITE_SYSCALL): Likewise.
14240 (__ASSUME_POLL_SYSCALL): Likewise.
14241 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14242 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14243 non-SPARC.
14244 (__ASSUME_SIOCGIFNAME): Don't define.
14245 (__ASSUME_MSG_NOSIGNAL): Likewise.
14246 (__ASSUME_SENDFILE): Define unconditionally.
14247 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14248 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14249 conditional code.
14250 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14251 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14252 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14253 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14254 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14255 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14256 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14258 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14261 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14262 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14264 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14267 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14268 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14270 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14273 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14276 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14279 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14281 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14282 Remove conditional code.
14283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14284 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14285 Remove conditional code.
14286 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14287 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14288 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14289 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14290 Remove conditional code.
14291 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14292 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14293 Remove conditional code.
14294 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14295 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14296 Remove conditional code.
14297 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14298 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14299 Remove conditional code.
14300 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14301 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14302 Remove conditional code.
14303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14304 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14305 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14306 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14307 * sysdeps/unix/sysv/linux/sigaction.c
14308 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14309 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14310 * sysdeps/unix/sysv/linux/sigpending.c
14311 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14312 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14313 * sysdeps/unix/sysv/linux/sigprocmask.c
14314 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14315 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14316 * sysdeps/unix/sysv/linux/sigsuspend.c
14317 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14318 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14319 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14320 (__libc_missing_rt_sigs): Remove.
14321 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14322 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14323 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14324 Remove conditional code.
14325 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14326 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14327 return 1.
14328 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14329 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14330 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14331 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14332
1bfb7291
AJ
143332012-05-14 Andreas Jaeger <aj@suse.de>
14334
caae5a81
AJ
14335 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14336 it's not used in glibc.
14337 (__coshm1): Likewise.
14338 (__acosh1p): Likewise.
14339 (__sgn): Likewise.
14340
1bfb7291
AJ
14341 * manual/string.texi (Copying and Concatenation): Add missing
14342 variable in concat example.
14343 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14344
c044d724
L
143452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14346
144c5467 14347 [BZ #14103]
c044d724
L
14348 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14349 __builtin_clzl with __builtin_clzll.
14350
2523c62b
L
143512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14352
14353 [BZ #14104]
14354 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14355 libc_freeres_ptr.
14356
d7bb4c42
LD
143572012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14358
14359 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14360 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14361 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14362 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14363
9dc4e1fb
MF
143642012-05-14 Mike Frysinger <vapier@gentoo.org>
14365
14366 * NEWS: Update ia64 info.
14367
c7df0112
AS
143682012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14369
14370 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14371 used as bcopy.
14372
dc70356c
TS
143732012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14374
14375 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14376 * sysdeps/unix/syscalls.list (dup3): Likewise.
14377 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14378 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14379
9fb1a21f
L
143802012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14381
14382 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14383 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14384
4822a2a5
L
143852012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14386
14387 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14388 thread pointer.
14389 (TLS_IE): Use mov/add instead of movq/addq to load thread
14390 pointer.
14391 (TLS_GD_PREFIX): New.
14392 (TLS_GD): Use it.
14393
842b81d6
DM
143942012-05-11 David S. Miller <davem@davemloft.net>
14395
14396 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14397 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14398 (_FPU_SETCW): Likewise.
14399
1cf463cd
L
144002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14401
14402 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14403 is 32-byte aligned.
14404
60cc4a18
AS
144052012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14406
14407 [BZ #11837]
14408 * iconvdata/gb18030.c: Update tables.
14409 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14410 characters specially.
14411 (BODY for TO_LOOP): Add encoding of missing ranges.
14412
febb44a4
TS
144132012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14414
14415 [BZ #13673]
14416 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14417 * sysdeps/mach/hurd/dup3.c: Likewise.
14418 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14419 * sysdeps/powerpc/memmove.c:: Likewise.
14420
0a10fb9e
L
144212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14422
14423 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14424 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14425
df8a552f
L
144262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14427
14428 * elf/elf.h (R_X86_64_RELATIVE64): New.
14429 (R_X86_64_NUM): Updated.
14430 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14431 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14432 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14433 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14434 tst-quad1pie tst-quad2pie
14435 (modules-names): Add tst-quadmod1 tst-quadmod2.
14436 ($(objpfx)tst-quad1): New dependency.
14437 ($(objpfx)tst-quad2): Likewise.
14438 ($(objpfx)tst-quad1pie): Likewise.
14439 ($(objpfx)tst-quad2pie): Likewise.
14440 * sysdeps/x86_64/tst-quad1.c: New file.
14441 * sysdeps/x86_64/tst-quad1pie.c: New file.
14442 * sysdeps/x86_64/tst-quad2.c: Likewise.
14443 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14444 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14445 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14446 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14447 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14448
f34d6f84
ST
144492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14450
f42d41d1
ST
14451 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14452 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14453 * streams/stropts.h (t_scalar_t): Define type.
14454
3c3571fc
ST
14455 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14456 (_PATH_PRESERVE): Set to "/var/lib".
14457 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14458
61f06bd3
ST
14459 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14460 instead of int.
14461
918d4d71
ST
14462 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14463 if __dir_mkfile succeeded.
14464
f34d6f84
ST
14465 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14466 checking for _hurd_dtablesize. Unlock it right after having
14467 finished _hurd_dtable allocation.
14468
10589b4a
TS
144692012-05-10 Thomas Schwinge <thomas@schwinge.name>
14470
674cdbc7
TS
14471 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14472 * sysdeps/mach/hurd/configure: Regenerated.
14473 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14474 special-casing to...
14475 * sysdeps/gnu/configure.in: ... this new file.
14476 * sysdeps/unix/sysv/linux/configure: Regenerated.
14477 * sysdeps/gnu/configure: New generated file.
14478
8e41b99f
TS
14479 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14480 for Linux: use nsec instead of usec, as well as:
14481 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14482 members of type struct timespec.
14483 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14484 New macros.
14485 (struct stat64): Likewise.
14486 (_STATBUF_ST_NSEC): New macro.
14487 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14488
10589b4a
TS
14489 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14490 __strtoul_internal rather than strtoul.
14491
63643c85
PT
144922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14493
14494 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14495 and reject them.
14496
3faebe6a
ST
144972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14498
14499 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14500 which preserves existing values.
14501 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14502
c6474b07
PT
145032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14504
14505 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14506 TIMEOUT values. Return EINVAL for NFDS values either negative or
14507 greater than FD_SETSIZE.
14508
1043890b
ST
145092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14510
14511 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14512 allocated, call __vm_protect to finish enabling the existing space, and
14513 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14514 allocate the remainder.
14515
37ed8b9b
PT
145162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14517
14518 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14519 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14520
db653660
ST
145212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14522
37ed8b9b
PT
14523 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14524 sysdeps/mach/hurd/readlink.c.
b29d4053 14525
db653660
ST
14526 * posix/tst-sysconf.c (posix_options): Only use
14527 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14528 _POSIX_SYNCHRONIZED_IO when they are defined
14529 * sysdeps/mach/hurd/bits/posix_opt.h:
14530 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14531 (_XOPEN_REALTIME): Undefine macro.
14532 (_XOPEN_REALTIME_THREADS): Undefine macro.
14533 (_XOPEN_SHM): Undefine macro.
14534 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14535 macro to -1.
14536 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14537 macro to -1.
14538 (_POSIX_ASYNC_IO): Undefine macro.
14539 (_POSIX_PRIORITIZED_IO): Undefine macro.
14540 (_POSIX_SPIN_LOCKS): Define macro to -1.
14541
ee16e894
ST
14542 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14543 SA_NODEFER, SA_RESETHAND.
14544 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14545 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14546 F_DUPFD_CLOEXEC.
14547
6103ae3b
TS
145482012-05-10 Thomas Schwinge <thomas@schwinge.name>
14549
14550 * elf/Makefile (pldd-modules): Define unconditionally.
14551
80b4e5f3
TS
145522012-05-10 Thomas Schwinge <thomas@schwinge.name>
14553
14554 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14555
edadcbd6
ST
145562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14557
14558 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14559 Return ENOENT when name is empty.
14560 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14561
80694780
TS
145622012-05-10 Thomas Schwinge <thomas@schwinge.name>
14563
1792c087
TS
14564 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14565
80694780
TS
14566 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14567
6b645f0d
ST
145682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14569
80694780
TS
14570 Fix mlock in all cases except non-readable pages.
14571 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14572 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14573
6b645f0d
ST
14574 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14575 (__mkdir): When path is `/', just fail with EEXIST.
14576 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14577
e468f8a3
TS
145782012-05-10 Thomas Schwinge <thomas@schwinge.name>
14579
14580 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14581 <sys/uio.h> (for writev).
14582 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14583 and <sys/param.h> (for MIN).
14584
a4186cff
PT
145852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14586
14587 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14588 REQUESTED_TIME. Properly set the remaining time and return EINTR
14589 if interrupted.
14590
510bbf14
TS
145912012-05-10 Thomas Schwinge <thomas@schwinge.name>
14592
14593 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14594 Depend on against $(link-rpcuserlibs).
14595
5d5722e8
ST
145962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14597
a4186cff
PT
14598 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14599 (__libc_stack_end): Do not use attribute_relro.
14600 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14601 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14602 to libthread-provided value.
a4186cff
PT
14603 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14604 attribute_relro.
5d5722e8 14605
37233df9
TS
146062012-05-10 Thomas Schwinge <thomas@schwinge.name>
14607
be971a2b
TS
14608 [BZ #3748]
14609 * bits/libc-lock.h (__libc_once_get): New macro.
14610 * sysdeps/mach/bits/libc-lock.h: Likewise.
14611 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14612 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14613 instead of using implementation details.
14614
37233df9
TS
14615 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14616 * libio/freopen.c: Likewise.
14617 * libio/freopen64.c: Likewise.
14618 * misc/syslog.c: Likewise.
14619 * nscd/connections.c: Likewise.
14620 * nscd/netgroupcache.c: Likewise.
14621 * sysdeps/posix/getcwd.c: Likewise.
14622
38de94a5
RM
146232012-05-10 Roland McGrath <roland@hack.frob.com>
14624
14625 * math/w_ilogbf.c: Add #include <limits.h>.
14626
67530489
ST
146272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14628
a4186cff 14629 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14630 path instead of returning without unlocking.
14631
67530489
ST
14632 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14633 immediate-write ioctls.
14634 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14635
5aa3a74a
TS
146362012-05-10 Thomas Schwinge <thomas@schwinge.name>
14637
18bad2ae
TS
14638 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14639 __builtin_frame_address instead of making assumptions about the
14640 location of the return address relative to DATA. Force early load of
14641 the return address.
14642 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14643 __builtin_frame_address.
14644
5aa3a74a
TS
14645 dup3 for GNU Hurd.
14646 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14647 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14648 implement dup3 and do some further code clean-ups.
14649 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14650 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14651
ecd0de9a
ST
146522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14653
cd9fa985
ST
14654 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14655
a4186cff
PT
14656 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14657 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14658 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14659 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14660 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14661 d->port.lock.
802ca5a5 14662
a4186cff
PT
14663 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14664 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14665 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14666
bcf55240
TS
146672012-05-10 Thomas Schwinge <thomas@schwinge.name>
14668
6960eb42
TS
14669 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14670 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14671 definitions.
14672
eb43375f
TS
14673 accept4 for GNU Hurd.
14674 * include/sys/socket.h (__libc_accept4): New prototype.
14675 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14676 to implement __libc_accept4.
14677 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14678 __libc_accept4.
14679 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14680
bcf55240
TS
14681 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14682 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14683 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14684 signal-defines.sym.
14685
6178c55b
ST
146862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14687
a4186cff 14688 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14689
6f080c2f
TS
146902012-05-10 Thomas Schwinge <thomas@schwinge.name>
14691
14692 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14693 assertion on O_CLOEXEC flag.
14694 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14695 * hurd/intern-fd.c: Likewise.
14696 * hurd/port2fd.c: Likewise.
14697
bcfe3a54
ST
146982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14699
14700 [BZ #3906]
14701 * bits/in.h (IPV6_PKTINFO): Define new macro.
14702 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14703
89c9aa49
AZ
147042012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14705
14706 [BZ #13954]
14707 [BZ #13955]
14708 [BZ #13956]
14709 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14710 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14711 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14712 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14713 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14714 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14715 * math/libm-test.inc (logb_test) : Additional logb tests.
14716
021db4be
AJ
147172012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14718 Andreas Jaeger <aj@suse.de>
14719
14720 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14721 * configure: Regenerated.
14722 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14723 * config.make.in (link-obsolete-rpc): New substituted variable.
14724 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14725 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14726 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14727 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14728 so that libc.a contains the symbols.
14729 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14730 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14731 * sunrpc/auth_none.c: Likewise.
14732 * sunrpc/auth_unix.c: Likewise.
14733 * sunrpc/authdes_prot.c: Likewise.
14734 * sunrpc/authuxprot.c: Likewise.
14735 * sunrpc/clnt_gen.c: Likewise.
14736 * sunrpc/clnt_perr.c: Likewise.
14737 * sunrpc/clnt_raw.c: Likewise.
14738 * sunrpc/clnt_simp.c: Likewise.
14739 * sunrpc/clnt_tcp.c: Likewise.
14740 * sunrpc/clnt_udp.c: Likewise.
14741 * sunrpc/clnt_unix.c: Likewise.
14742 * sunrpc/des_crypt.c: Likewise.
14743 * sunrpc/des_soft.c: Likewise.
14744 * sunrpc/get_myaddr.c: Likewise.
14745 * sunrpc/key_call.c: Likewise.
14746 * sunrpc/key_prot.c: Likewise.
14747 * sunrpc/netname.c: Likewise.
14748 * sunrpc/pm_getmaps.c: Likewise.
14749 * sunrpc/pm_getport.c: Likewise.
14750 * sunrpc/pmap_clnt.c: Likewise.
14751 * sunrpc/pmap_prot.c: Likewise.
14752 * sunrpc/pmap_prot2.c: Likewise.
14753 * sunrpc/pmap_rmt.c: Likewise.
14754 * sunrpc/publickey.c: Likewise.
14755 * sunrpc/rpc_cmsg.c: Likewise.
14756 * sunrpc/rpc_common.c: Likewise.
14757 * sunrpc/rpc_dtable.c: Likewise.
14758 * sunrpc/rpc_prot.c: Likewise.
14759 * sunrpc/rpc_thread.c: Likewise.
14760 * sunrpc/rtime.c: Likewise.
14761 * sunrpc/svc.c: Likewise.
14762 * sunrpc/svc_auth.c: Likewise.
14763 * sunrpc/svc_raw.c: Likewise.
14764 * sunrpc/svc_run.c: Likewise.
14765 * sunrpc/svc_tcp.c: Likewise.
14766 * sunrpc/svc_udp.c: Likewise.
14767 * sunrpc/svc_unix.c: Likewise.
14768 * sunrpc/svcauth_des.c: Likewise.
14769 * sunrpc/xcrypt.c: Likewise.
14770 * sunrpc/xdr.c: Likewise.
14771 * sunrpc/xdr_array.c: Likewise.
14772 * sunrpc/xdr_float.c: Likewise.
14773 * sunrpc/xdr_intXX_t.c: Likewise.
14774 * sunrpc/xdr_mem.c: Likewise.
14775 * sunrpc/xdr_rec.c: Likewise.
14776 * sunrpc/xdr_ref.c: Likewise.
14777 * sunrpc/xdr_sizeof.c: Likewise.
14778 * sunrpc/xdr_stdio.c: Likewise.
14779
b5c086a2
RM
147802012-05-10 Roland McGrath <roland@hack.frob.com>
14781
14782 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14783 change. Update copyright years.
14784
6d74dd09
JM
147852012-05-10 Joseph Myers <joseph@codesourcery.com>
14786
14787 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14788
28e72501
MK
147892012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14790 Joseph Myers <joseph@codesourcery.com>
14791 Paul Pluzhnikov <ppluzhnikov@google.com>
14792
14793 [BZ #14012]
14794 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14795 requiring rpcgen.
14796 [cross-compiling] (extra-libs): Likewise.
14797 [cross-compiling] (extra-libs-others): Likewise.
14798 [cross-compiling] (librpcsvc-routines): Likewise.
14799 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14800 [cross-compiling] (omit-deps): Likewise.
14801 (sunrpc-CPPFLAGS): New variable.
14802 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14803 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14804 (cross-rpcgen-objs): New variable.
14805 (extra-objs): Append $(cross-rpcgen-objs).
14806 ($(cross-rpcgen-objs)): New rule.
14807 ($(objpfx)cross-rpcgen): Likewise.
14808 (rpcgen-cmd): Define to use $(built-program-file). Expand
14809 comment.
14810 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14811 ($(objpfx)x%.stmp): Likewise.
14812 * sunrpc/proto.h [IS_IN_build] (_): Define.
14813 [IS_IN_build] (_libc_intl_domainname): Likewise.
14814
c8c59454
L
148152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14816
14817 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14818 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14819 and R_X86_64_TPOFF64.
14820
6f27cd16
JM
148212012-05-10 Joseph Myers <joseph@codesourcery.com>
14822
14823 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14824 sysdeps/unix/sysv/syscalls.list.
14825 (stime): Likewise.
14826 (utime): Likewise.
14827 * sysdeps/unix/sysv/syscalls.list: Remove file.
14828
02467e1c
PE
148292012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14830
14831 [BZ #3440]
14832 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14833 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14834 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14835 (__LC_IDENTIFICATION): Make these macros useful in #if
14836 expressions, as required by C99.
14837
da392631
AS
148382012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14839
14840 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14841 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14842 after this.
14843
8115f29b
L
148442012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14845
14846 * stdlib/longlong.h: Updated from GCC.
14847
bdd74070
AJ
148482012-05-09 Andreas Jaeger <aj@suse.de>
14849
edfe0dbe
AJ
14850 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14851 default is first entry.
14852 (run_mode): Set type.
14853 (main): Remove informal message about syslog.
14854 (options): Fix typo.
14855
bcfe3a54
ST
14856 [BZ #14053]
14857 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14858 to asm.
bcfe3a54
ST
14859 (lrint): Likewise.
14860 (llrintf): Likewise.
14861 (llrint): Likewise.
14862 (rint): Likewise.
14863 (rintf): Likewise.
14864 (nearbyint): Likewise.
14865 (nearbyintf): Likewise.
bdd74070 14866
91d8d69e
AJ
148672012-05-09 Andreas Jaeger <aj@suse.de>
14868 Pedro Alves <palves@redhat.com>
14869
14870 * nscd/nscd.c (run_mode): Use enum.
14871 (main): Cleanup coding style issue.
14872
bb90b80b
AJ
148732012-05-09 Alexandre Oliva <aoliva@redhat.com>
14874 Andreas Jaeger <aj@suse.de>
14875
bcfe3a54
ST
14876 * nscd/nscd.c (go_background): Replaced with...
14877 (run_mode): ... this.
bb90b80b 14878 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14879 (options): Add -F --foreground.
14880 (main): Implement it.
14881 (parse_opt): Parse it.
bb90b80b 14882
1a4b75a1
AJ
148832012-05-09 Andreas Jaeger <aj@suse.de>
14884
14885 [BZ #14083]
14886 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14887 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14888 -Wconversion warning.
14889 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14890 Likewise.
14891
b1cc2472
JM
148922012-05-09 Joseph Myers <joseph@codesourcery.com>
14893
14894 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14895 == 0.
14896 (LC_ALL): Use macro-int-constant.
14897 (LC_COLLATE): Likewise.
14898 (LC_CTYPE): Likewise.
14899 (LC_MESSAGES): Likewise.
14900 (LC_MONETARY): Likewise.
14901 (LC_NUMERIC): Likewise.
14902 (LC_TIME): Likewise.
14903 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14904 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14905 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14906 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14907 Specify type.
14908 [C99-based standards] (float_t): Expect type.
14909 [C99-based standards] (double_t): Expect type.
14910 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14911 type.
14912 [C99-based standards] (HUGE_VALL): Likewise.
14913 [C99-based standards] (INFINITY): Likewise.
14914 [C99-based standards] (NAN): Likewise.
14915 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14916 [C99-based standards] (FP_NAN): Likewise.
14917 [C99-based standards] (FP_NORMAL): Likewise.
14918 [C99-based standards] (FP_SUBNORMAL): Likewise.
14919 [C99-based standards] (FP_ZERO): Likewise.
14920 [C99-based standards] (FP_FAST_FMA): Use
14921 optional-macro-int-constant. Specify type. Require == 1.
14922 [C99-based standards] (FP_FAST_FMAF): Likewise.
14923 [C99-based standards] (FP_FAST_FMAL): Likewise.
14924 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14925 [C99-based standards] (FP_ILOGBNAN): Likewise.
14926 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14927 Specify type.
14928 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14929 [C99-based standards] (math_errhandling): Specify type.
14930 [ISO99 || ISO11] (signgam): Do not allow.
14931 [non-C99-based standards] (copysignf): Do not allow.
14932 [non-C99-based standards] (exp2f): Likewise.
14933 [non-C99-based standards] (log2f): Likewise.
14934 [non-C99-based standards] (modff): Allow.
14935 [non-C99-based standards] (erff): Do not allow.
14936 [non-C99-based standards] (erfcf): Likewise.
14937 [non-C99-based standards] (gammaf): Likewise.
14938 [non-C99-based standards] (hypotf): Likewise.
14939 [non-C99-based standards] (j0f): Likewise.
14940 [non-C99-based standards] (j1f): Likewise.
14941 [non-C99-based standards] (jnf): Likewise.
14942 [non-C99-based standards] (lgammaf): Likewise.
14943 [non-C99-based standards] (tgammaf): Likewise.
14944 [non-C99-based standards] (y0f): Likewise.
14945 [non-C99-based standards] (y1f): Likewise.
14946 [non-C99-based standards] (ynf): Likewise.
14947 [non-C99-based standards] (isnanf): Likewise.
14948 [non-C99-based standards] (acoshf): Likewise.
14949 [non-C99-based standards] (asinhf): Likewise.
14950 [non-C99-based standards] (atanhf): Likewise.
14951 [non-C99-based standards] (cbrtf): Likewise.
14952 [non-C99-based standards] (expm1f): Likewise.
14953 [non-C99-based standards] (ilogbf): Likewise.
14954 [non-C99-based standards] (log1pf): Likewise.
14955 [non-C99-based standards] (logbf): Likewise.
14956 [non-C99-based standards] (nextafterf): Likewise.
14957 [non-C99-based standards] (remainderf): Likewise.
14958 [non-C99-based standards] (rintf): Likewise.
14959 [non-C99-based standards] (scalbf): Likewise.
14960 [non-C99-based standards] (copysignl): Likewise.
14961 [non-C99-based standards] (exp2l): Likewise.
14962 [non-C99-based standards] (log2l): Likewise.
14963 [non-C99-based standards] (modfl): Allow.
14964 [non-C99-based standards] (erfl): Do not allow.
14965 [non-C99-based standards] (erfcl): Likewise.
14966 [non-C99-based standards] (gammal): Likewise.
14967 [non-C99-based standards] (hypotl): Likewise.
14968 [non-C99-based standards] (j0l): Likewise.
14969 [non-C99-based standards] (j1l): Likewise.
14970 [non-C99-based standards] (jnl): Likewise.
14971 [non-C99-based standards] (lgammal): Likewise.
14972 [non-C99-based standards] (tgammal): Likewise.
14973 [non-C99-based standards] (y0l): Likewise.
14974 [non-C99-based standards] (y1l): Likewise.
14975 [non-C99-based standards] (ynl): Likewise.
14976 [non-C99-based standards] (isnanl): Likewise.
14977 [non-C99-based standards] (acoshl): Likewise.
14978 [non-C99-based standards] (asinhl): Likewise.
14979 [non-C99-based standards] (atanhl): Likewise.
14980 [non-C99-based standards] (cbrtl): Likewise.
14981 [non-C99-based standards] (expm1l): Likewise.
14982 [non-C99-based standards] (ilogbl): Likewise.
14983 [non-C99-based standards] (log1pl): Likewise.
14984 [non-C99-based standards] (logbl): Likewise.
14985 [non-C99-based standards] (nextafterl): Likewise.
14986 [non-C99-based standards] (remainderl): Likewise.
14987 [non-C99-based standards] (rintl): Likewise.
14988 [non-C99-based standards] (scalbl): Likewise.
14989 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14990 [non-C99-based standards] (FP_*): Do not allow.
14991 [C99-based standards] (FP_*): Change to
14992 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14993 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14994 allow.
14995 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14996 (SIG_ERR): Likewise.
14997 [X/Open-based standards] (SIG_HOLD): Likewise.
14998 (SIG_IGN): Likewise.
14999 (SIGABRT): Use macro-int-constant. Specify type. Require
15000 positive value.
15001 (SIGFPE): Likewise.
15002 (SIGILL): Likewise.
15003 (SIGINT): Likewise.
15004 (SIGSEGV): Likewise.
15005 (SIGTER): Likewise.
15006 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15007 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15008 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15009 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15010 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15011 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15012 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15013 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15014 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15015 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15016 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15017 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15018 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15019 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15020 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15021 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15022 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15023 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15024 [X/Open-based standards] (SIGTRAP): Likewise.
15025 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15026 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15027 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15028 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15029 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15030 allow.
15031
b9f1922d
IW
150322012-05-08 Ian Wienand <ianw@vmware.com>
15033
15034 [BZ #14080]
15035 * time/tzset.c (__tzset_parse_tz): Update default rules for
15036 daylight time changes in the Energy Policy Act of 2005.
15037
1db86e88
AJ
150382012-05-09 Andreas Jaeger <aj@suse.de>
15039
15040 [BZ #13983]
15041 * elf/ldconfig.c (parse_conf): Change string to make clear that
15042 ldconfig only issued a warning if ld.so.conf does not exist.
15043
dee4a4e3
DM
150442012-05-08 David S. Miller <davem@davemloft.net>
15045
ee0db190
DM
15046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15047 movxtod instead of popping the value on the stack.
15048
dee4a4e3
DM
15049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15050
6a43ec98
CD
150512012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15052
15053 * config.h.in: Add HAVE_ARM_PCS_VFP.
15054
05c2c961
RMG
150552012-05-08 Roland Mc Grath <roland@hack.frob.com>
15056
bcfe3a54
ST
15057 [BZ #13979]
15058 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15059 checking but the checks are disabled for any reason.
05c2c961 15060
4b30f61a
L
150612012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15062
15063 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15064 and ELF64_R_TYPE with ELFW(R_TYPE).
15065
eee2bc67
JM
150662012-05-08 Joseph Myers <joseph@codesourcery.com>
15067
7ea5391a
JM
15068 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15069 (ulimit): Likewise.
15070
eee2bc67
JM
15071 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15072 (settimeofday): Likewise.
15073
abb66a67
MF
150742012-05-08 Mike Frysinger <vapier@gentoo.org>
15075
15076 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15077 a struct th_u2 inside the union, and move tu_block/tu_code into
15078 a new th_u3 union of tu_block/tu_code inside of that. Move
15079 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15080 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15081 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15082 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15083 (th_stuff): Change to th_u1.tu_stuff.
15084 (th_data): Define.
15085 (th_msg): Change to th_u1.th_u2.tu_data.
15086
7f18b530
DM
150872012-05-07 David S. Miller <davem@davemloft.net>
15088
05760585
DM
15089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15090
7f18b530
DM
15091 [BZ #14074]
15092 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15093 (SETUP_PIC_REG): Use it.
15094 (SETUP_PIC_REG_LEAF): Use it.
15095
495fd99f
JM
150962012-05-07 Joseph Myers <joseph@codesourcery.com>
15097
15098 [BZ #13885]
15099 [BZ #13923]
15100 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15101 USE_AS_EXPM1L.
15102 (EXPL_FINITE): Likewise.
15103 (FLDLOG): Likewise.
15104 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15105 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15106 e_expl.S.
15107 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15108 USE_AS_EXPM1L.
15109 (EXPL_FINITE): Likewise.
15110 (FLDLOG): Likewise.
15111 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15112 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15113 e_expl.S.
15114 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15115 test of -max_value argument for long double.
15116 * sysdeps/i386/fpu/libm-test-ulps: Update.
15117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15118
6693d694
DM
151192012-05-06 David S. Miller <davem@davemloft.net>
15120
15121 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15122 quad soft-float symbols whose references which are compiler
15123 generated.
15124 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15125
6c23e11c
JM
151262012-05-06 Joseph Myers <joseph@codesourcery.com>
15127
d8b82cad
JM
15128 [BZ #13884]
15129 [BZ #13914]
15130 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15131 USE_AS_EXP10L.
15132 (EXPL_FINITE): Likewise.
15133 (FLDLOG): Likewise.
15134 (c0): Likewise.
15135 (c1): Likewise.
15136 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15137 Adjust comments for base varying.
15138 (__expl_finite): Change alias to EXPL_FINITE.
15139 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15140 e_expl.S.
15141 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15142 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15143 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15144 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15145 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15146 USE_AS_EXP10L.
15147 (EXPL_FINITE): Likewise.
15148 (FLDLOG): Likewise.
15149 (c0): Likewise.
15150 (c1): Likewise.
15151 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15152 Adjust comments for base varying.
15153 (__expl_finite): Change alias to EXPL_FINITE.
15154 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15155 tests for bugs.
15156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15157
6c23e11c
JM
15158 [BZ #14064]
15159 * math/libm-test.inc (check_float_internal): Correct ulp
15160 calculation for subnormal expected results.
15161
29ba805c
AJ
151622012-05-06 Andreas Jaeger <aj@suse.de>
15163
15164 * Makeconfig (+math-flags): New, set to -frounding-math.
15165 (+cflags): Add +math-flags so that all of glibc gets compiled with
15166 it.
15167
15168 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15169
7b17aeda
JM
151702012-05-05 Joseph Myers <joseph@codesourcery.com>
15171
5779f134
JM
15172 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15173 Disable one test.
15174
41498f4d
JM
15175 [BZ #13787]
15176 [BZ #13922]
15177 [BZ #14036]
15178 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15179 (__ieee754_expl): Allow for and saturate large arguments.
15180 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15181 (u_threshold): Likewise.
15182 (__exp): Call __ieee754_exp before checking for overflow and
15183 underflow.
15184 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15185 (u_threshold): Likewise.
15186 (__expf): Call __ieee754_expf before checking for overflow and
15187 underflow.
15188 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15189 (u_threshold): Likewise.
15190 (__expl): Call __ieee754_expl before checking for overflow and
15191 underflow.
15192 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15193 (__ieee754_expl): Allow for and saturate large arguments.
15194 * math/libm-test.inc (exp_test): Add another test. Do not allow
15195 missing overflow exception on overflow.
15196 (expm1_test): Do not allow missing overflow exception on overflow.
15197
6698b8bf
JM
15198 * sysdeps/i386/fpu/e_expl.c: Move to ...
15199 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15200 rather than using inline asm.
15201 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15202 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15203 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15204
7b17aeda
JM
15205 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15206 (nice): Likewise.
15207 (poll): Likewise.
15208 (signal): Likewise.
15209 (time): Likewise.
15210 (times): Likewise.
15211
f7c85819
JM
152122012-05-04 Joseph Myers <joseph@codesourcery.com>
15213
15214 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15215 sysdeps/unix/common/syscalls.list.
15216 (fchmod): Likewise.
15217 (fchown): Likewise.
15218 (ftruncate): Likewise.
15219 (getrusage): Likewise.
15220 (gettimeofday): Likewise.
15221 (setpgid): Likewise.
15222 (setregid): Likewise.
15223 (setreuid): Likewise.
15224 (sigaction): Likewise.
15225 (truncate): Likewise.
15226 (vhangup): Likewise.
15227 * sysdeps/unix/common/syscalls.list: Remove file.
15228 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15229 * sysdeps/unix/sysv/linux/Implies: Likewise.
15230
336270d0
L
152312012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15232
15233 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15235 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15236 Moved to ...
15237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15238 Here.
15239 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15240 to ...
15241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15242 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15243 to ...
15244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15245 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15246 to ...
15247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15248 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15249 to ...
15250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15251 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15252 to ...
15253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15254 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15255 to ...
15256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15257 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15258 to ...
15259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15260 Here.
15261 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15262 to ...
15263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15264 Here.
15265 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15266 to ...
15267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15268 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15269 Moved to ...
15270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15271 Here.
15272 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15273 to ...
15274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15275
d128e450
JM
152762012-05-04 Joseph Myers <joseph@codesourcery.com>
15277
fa8ee516
JM
15278 * sysdeps/unix/common/bits/dirent.h: Remove file.
15279 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15280
d128e450
JM
15281 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15282 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15283 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15284 * sysdeps/unix/bsd/isatty.c: Likewise.
15285 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15286 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15287 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15288
ff8faaf0 152892012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15290
62881be4 15291 [BZ #13563]
31dc8730
AZ
15292 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15293 long double comparison inaccuracies.
15294 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15296
6fef930c
AS
152972012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15298
15299 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15300 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15301
8f203e6c
JM
153022012-05-04 Joseph Myers <joseph@codesourcery.com>
15303
15304 [BZ #14049]
15305 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15306 nonzero digits before rounding a hex value.
15307 * stdlib/tst-strtod.c (tests): Add another test.
15308
5197d9c2
AK
153092012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15310
15311 * sysdeps/s390/fpu/libm-test-ulps: Update.
15312
f0c1dedf
AJ
153132012-05-03 Andreas Jaeger <aj@suse.de>
15314
15315 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15316 does not get optimized out.
15317 (malloc_opt_barrier): New.
15318
a65ef2ae 153192012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 15320 Roland McGrath <roland@hack.frob.com>
a65ef2ae 15321
2b942cb7 15322 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 15323 intermediate file deletion.
2b942cb7 15324 (generated): Add .symlist files.
a65ef2ae 15325
54b71e02
JM
153262012-05-03 Joseph Myers <joseph@codesourcery.com>
15327
15328 [BZ #13775]
15329 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15330 Redirect under this condition.
15331 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15332 [__USE_GNU] (__dprintf_chk): Not under this condition.
15333 [__USE_GNU] (__vdprintf_chk): Likewise.
15334 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15335 under this condition.
15336 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15337 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15338 [__USE_XOPEN2K8] (vdprintf): Likewise.
15339 [__USE_GNU] (__dprintf_chk): Not under this condition.
15340 [__USE_GNU] (__vdprintf_chk): Likewise.
15341 [__USE_GNU] (dprintf): Likewise.
15342 [__USE_GNU] (vdprintf): Likewise.
15343
d3dfcc41
RM
153442012-05-03 Roland McGrath <roland@hack.frob.com>
15345
15346 * elf/Makefile (common-generated): Set this instead of generated for
15347 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15348 $(all-built-dso)-derived lists.
15349
7ac30cc5
AJ
153502012-05-03 Andreas Jaeger <aj@suse.de>
15351
0c51e550
AJ
15352 * sysdeps/i386/fpu/libm-test-ulps: Update.
15353
7ac30cc5
AJ
15354 * FAQ: Removed.
15355 * FAQ.in: Likewise.
15356 * scripts/gen-FAQ.pl: Likewise.
15357 * manual/install.texi (Installation): Point to online location of
15358 FAQ.
15359 * Makefile (files-for-dist): Remove FAQ.
15360 (FAQ): Remove.
15361
d4c2917f
AM
153622012-05-02 Allan McRae <allan@archlinux.org>
15363
15364 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15365 (LDFLAGS-reldepmod5.so): Likewise.
15366 (LDFLAGS-reldep6mod1.so): Likewise.
15367 (LDFLAGS-reldep6mod4.so): Likewise.
15368 (LDFLAGS-reldep8mod3.so): Likewise.
15369 (LDFLAGS-unload4mod1.so): Likewise.
15370 (LDFLAGS-unload4mod2.so): Likewise.
15371 (LDFLAGS-tst-initorder): Likewise.
15372 (LDFLAGS-tst-initordera2.so): Likewise.
15373 (LDFLAGS-tst-initordera3.so): Likewise.
15374 (LDFLAGS-tst-initordera4.so): Likewise.
15375 (LDFLAGS-tst-initorderb2.so): Likewise.
15376 (LDFLAGS-noload): Likewise.
15377 (LDFLAGS-next): Likewise.
15378 (LDFLAGS-order2mod1.so): Likewise.
15379 (LDFLAGS-order2mod2.so): Likewise.
15380 (LDFLAGS-tst-initorder2): Likewise.
15381 (LDFLAGS-tst-initorder2a.so): Likewise.
15382 (LDFLAGS-tst-initorder2b.so): Likewise.
15383 (LDFLAGS-tst-initorder2c.so): Likewise.
15384 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15385
d77f993f
DM
153862012-05-02 David S. Miller <davem@davemloft.net>
15387
15388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15389
171a70b4
PP
153902012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15391
15392 [BZ #14055]
15393 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15394
0be196ad
AJ
153952012-05-02 Andreas Jaeger <aj@suse.de>
15396
15397 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15398 since we manipulate rounding mode.
15399 (CPPFLAGS-test-idouble.c): Likewise.
15400 (CPPFLAGS-test-ifloat.c): Likewise.
15401 (CFLAGS-test-ldouble.c): Likewise.
15402 (CFLAGS-test-double.c): Likewise.
15403 (CFLAGS-test-float.c): Likewise.
15404 (CFLAGS-test-misc.c): Likewise.
15405 (CFLAGS-test-test-fenv.c): Likewise.
15406
4f9d04aa
AZ
154072012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15408
2b942cb7
RM
15409 [BZ #2550]
15410 [BZ #2570]
15411 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15412 comparisons to determine direction to adjust input.
4f9d04aa 15413
82a79e7d
RM
154142012-05-01 Roland McGrath <roland@hack.frob.com>
15415
f5a01ca9
RM
15416 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15417 output to the target.
15418
90fe4186
RM
15419 * scripts/localplt.awk: New file.
15420 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15421 (check-localplt-CFLAGS): Variable removed.
15422 ($(all-built-dso:=.jmprel)): New static pattern rule.
15423 (generated): Add those targets.
15424 (localplt-built-dso): New variable.
15425 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15426
15427 * elf/check-localplt.c: File removed.
15428
82397ed6
RM
15429 * scripts/check-execstack.awk: New file.
15430 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15431 (check-execstack-CFLAGS): Variable removed.
15432 ($(objpfx)check-execstack.h): Target removed.
15433 ($(objpfx)execstack-default): New target.
15434 (generated): Add that instead of check-execstack.h.
15435 ($(all-built-dso:=.phdr)): New static pattern rule.
15436 (generated): Add those targets.
15437 * elf/check-execstack.c: File removed.
15438
82a79e7d
RM
15439 * scripts/check-textrel.awk: New file.
15440 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15441 (check-textrel-CFLAGS): Variable removed.
15442 (all-built-dso): Use := to define.o
15443 ($(all-built-dso:=.dyn)): New static pattern rule.
15444 (generated): Add those targets.
15445 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15446 * config.make.in (READELF): New substituted variable.
15447 * elf/check-textrel.c: File removed.
15448
62fde54f 154492012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15450
615605c9
JM
15451 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15452 allow.
15453 * conform/data/ctype.h-data [C99-based standards] (isblank):
15454 Expect function.
15455 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15456 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15457 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15458 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15459 Specify type. Require positive value.
15460 (EILSEQ): Likewise.
15461 (ERANGE): Likewise.
15462 [ISO || POSIX] (EILSEQ): Do not expect.
15463 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15464 Specify type. Require positive value.
15465 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15466 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15467 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15468 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15469 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15470 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15471 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15472 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15473 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15474 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15475 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15476 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15477 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15478 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15479 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15480 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15481 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15482 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15483 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15484 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15485 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15486 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15487 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15488 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15489 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15490 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15491 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15492 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15493 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15494 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15495 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15496 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15497 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15498 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15499 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15500 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15501 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15502 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15503 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15504 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15505 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15506 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15507 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15508 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15509 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15510 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15511 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15512 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15513 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15514 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15515 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15516 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15517 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15518 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15519 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15520 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15521 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15522 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15523 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15524 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15525 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15526 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15527 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15528 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15529 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15530 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15531 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15532 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15533 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15534 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15535 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15536 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15537 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15538 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15539 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15540 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15541 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15542 Require >= 2.
15543 (FLT_ROUNDS): Expect as macro, not constant.
15544 (FLT_MANT_DIG): Use macro-int-constant.
15545 (DBL_MANT_DIG): Likewise.
15546 (LDBL_MANT_DIG): Likewise.
15547 (FLT_DIG): Likewise.
15548 (DBL_DIG): Likewise.
15549 (LDBL_DIG): Likewise.
15550 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15551 (DBL_MIN_EXP): Likewise.
15552 (LDBL_MIN_EXP): Likewise.
15553 (FLT_MAX_EXP): Use macro-int-constant.
15554 (DBL_MAX_EXP): Likewise.
15555 (LDBL_MAX_EXP): Likewise.
15556 (FLT_MAX_10_EXP): Likewise.
15557 (DBL_MAX_10_EXP): Likewise.
15558 (LDBL_MAX_10_EXP): Likewise.
15559 (FLT_MAX): Use macro-constant.
15560 (DBL_MAX): Likewise.
15561 (LDBL_MAX): Likewise.
15562 (FLT_EPSILON): Use macro-constant. Give upper bound.
15563 (DBL_EPSILON): Likewise.
15564 (LDBL_EPSILON): Likewise.
15565 (FLT_MIN): Likewise.
15566 (DBL_MIN): Likewise.
15567 (LDBL_MIN): Likewise.
15568 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15569 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15570 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15571 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15572 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15573 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15574 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15575 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15576 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15577 [ISO11] (FLT_TRUE_MIN): Likewise.
15578 [ISO11] (LDBL_TRUE_MIN): Likewise.
15579 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15580 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15581 (SCHAR_MIN): Use macro-int-constant. Specify type.
15582 (SCHAR_MAX): Likewise.
15583 (UCHAR_MAX): Likewise.
15584 (CHAR_MIN): Likewise.
15585 (CHAR_MAX): Likewise.
15586 (MB_LEN_MAX): Use macro-int-constant.
15587 (SHRT_MIN): Use macro-int-constant. Specify type.
15588 (SHRT_MAX): Likewise.
15589 (USHRT_MAX): Likewise.
15590 (INT_MAX): Likewise.
15591 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15592 bound negative.
15593 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15594 bound with "U".
15595 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15596 bound with "L".
15597 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15598 bound negative. Suffix upper bound with "L".
15599 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15600 bound with "UL".
15601 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15602 Specify type.
15603 [C99-based standards] (LLONG_MAX): Likewise.
15604 [C99-based standards] (ULLONG_MAX): Likewise.
15605 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15606 == 0.
15607 [ISO11] (max_align_t): Require type.
15608 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15609
c9140a62
JM
15610 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15611 from $CFLAGS, without defining away __attribute__ calls.
15612 (checknamespace): Use $CFLAGS_namespace.
15613
9af0bf29
JM
15614 * conform/conformtest.pl (@keywords): Only include C99 keywords
15615 for standards based on C99 or C11.
15616
343222a2
JM
15617 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15618 Disable tests.
15619 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15620 UNIX98]: Likewise.
15621
661f8cf0
JM
15622 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15623 usability of symbols in #if.
15624
ee74b9cb
JM
15625 * conform/conformtest.pl: If macro or constant types start
15626 "promoted:", expect the symbol to be of the following type
15627 promoted by the integer promotions.
62fde54f 15628
aafc49b3
JM
15629 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15630 in one place. Also handle "macro-constant".
15631
fefdf574
JM
15632 * conform/conformtest.pl: Only accept expected macro values with
15633 "==". Parse all "macro" lines in one place.
15634 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15635
f2d922fe
JM
15636 * conform/conformtest.pl: Handle braced types on "constant" lines
15637 instead of handling "typed-constant".
15638 * conform/data/signal.h-data: Use "constant" instead of
15639 "typed-constant".
15640
d22956c9
JM
15641 * conform/conformtest.pl: Handle "optional-" at start of lines in
15642 one place rather than duplicating several cases. Handle each
15643 format of "macro" line with initial "optional-".
15644
028e2e38
JM
15645 * conform/conformtest.pl: Only accept expected constant or
15646 optional-constant values with "==". Parse all "constant" lines in
15647 one place. Parse all "optional-constant" lines in one place.
15648 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15649 * conform/data/fmtmsg.h-data: Likewise.
15650 * conform/data/netinet/in.h-data: Likewise.
15651 * conform/data/tar.h-data: Likewise.
15652 * conform/data/limits.h-data: Use "==" form on "constant" and
15653 "optional-constant" lines.
15654
1b8f2850
JM
15655 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15656 Use -std=c99 for XOPEN2K.
15657 (@knownproblems): Remove.
15658 (newtoken): Don't check %isknown.
15659
a05a144b
JM
15660 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15661 Do not expect macro.
15662 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15663 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15664 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15665 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15666 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15667 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15668 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15669 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15670 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15671 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15672 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15673 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15674 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15675 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15676 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15677 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15678 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15679 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15680 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15681 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15682 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15683 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15684 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15685 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15686 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15687 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15688 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15689 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15690 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15691 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15692 [XPG3] (acosh): Likewise.
15693 [XPG3] (asinh): Likewise.
15694 [XPG3] (atanh): Likewise.
15695 [XPG3] (cbrt): Likewise.
15696 [XPG3] (expm1): Likewise.
15697 [XPG3] (ilogb): Likewise.
15698 [XPG3] (log1p): Likewise.
15699 [XPG3] (logb): Likewise.
15700 [XPG3] (nextafter): Likewise.
15701 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15702 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15703 [XPG3] (remainder): Likewise.
15704 [XPG3] (rint): Likewise.
15705 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15706 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15707 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15708 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15709 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15710 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15711 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15712 [UNIX98 || XOPEN2K] (scalb): Expect.
15713 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15714 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15715 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15716 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15717 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15718 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15719 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15720 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15721 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15722 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15723 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15724 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15725 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15726 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15727 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15728 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15729 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15730 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15731 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15732 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15733 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15734 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15735 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15736 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15737 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15738 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15739 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15740 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15741 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15742 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15743 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15744 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15745 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15746 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15747 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15748 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15749 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15750 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15751 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15752 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15753 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15754 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15755 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15756 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15757 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15758 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15759 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15760 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15761 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15762 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15763 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15764 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15765 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15766 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15767 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15768 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15769 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15770 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15771 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15772 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15773 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15774 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15775 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15776 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15777 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15778 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15779 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15780 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15781 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15782 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15783 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15784 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15785 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15786 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15787 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15788 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15789 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15790 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15791 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15792 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15793 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15794 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15795 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15796 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15797 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15798 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15799 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15800 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15801 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15802 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15803 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15804 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15805 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15806 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15807 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15808 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15809 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15810 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15811 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15812 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15813 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15814 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15815 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15816 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15817 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15818 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15819 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15820 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15821 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15822 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15823 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15824 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15825 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15826 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15827 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15828 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15829 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15830 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15831 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15832 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15833 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15834 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15835 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15836 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15837 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15838 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15839 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15840 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15841 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15842 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15843 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15844 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15845 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15846 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15847 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15848 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15849 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15850
73c5ebe3
JM
15851 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15852 _XOPEN_SOURCE_EXTENDED for XPG4.
15853
39c33b6c
JM
15854 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15855
62fde54f
JM
15856 * Makeconfig (localtime): Remove variable.
15857 (inst_localtime-file): Likewise.
15858
0741d64c
AS
158592012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15860
15861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15862 Update.
15863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15864 Update.
15865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15866 Update.
15867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15868 Update.
15869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15870 Update.
15871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15872 Update.
15873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15874 Update.
15875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15876 Update.
15877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15878 Update.
15879
7cb029ee
JM
158802012-05-01 Joseph Myers <joseph@codesourcery.com>
15881
15882 [BZ #2550]
15883 [BZ #2570]
15884 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15885 comparisons to determine direction to adjust input.
15886 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15887 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15888 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15889 Likewise.
15890 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15891 Likewise.
15892 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15893 Likewise.
15894 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15895 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15896 Likewise.
15897 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15898 Likewise.
15899 * math/libm-test.inc (nexttoward_test): Add more tests.
15900
412bd966
AS
159012012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15902
15903 [BZ #14040]
15904 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15905 in version GLIBC_2.1, not GLIBC_2.0.
15906 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15907 Likewise.
15908
9568c0c2
JM
159092012-04-30 Joseph Myers <joseph@codesourcery.com>
15910
adfbc8ac
JM
15911 [BZ #13942]
15912 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15913 (1 - x) * (1 + x).
15914 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15915 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15916 * math/libm-test.inc (acos_test): Add more tests.
15917 (asin_test): Likewise.
15918 * sysdeps/i386/fpu/libm-test-ulps: Update.
15919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15920
5ba3cc69
JM
15921 [BZ #14034]
15922 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15923 of square root.
15924 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15925 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15926 * math/libm-test.inc (acos_test_tonearest): New function.
15927 (acos_test_towardzero): Likewise.
15928 (acos_test_downward): Likewise.
15929 (acos_test_upward): Likewise.
15930 (asin_test_tonearest): Likewise.
15931 (asin_test_towardzero): Likewise.
15932 (asin_test_downward): Likewise.
15933 (asin_test_upward): Likewise.
15934 (main): Call the new functions.
15935 * sysdeps/i386/fpu/libm-test-ulps: Update.
15936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15937
9568c0c2
JM
15938 [BZ #13884]
15939 [BZ #13924]
15940 * math/e_exp10.c: Include <float.h>.
15941 (__ieee754_exp10): Handle underflow here rather than multiplying
15942 large negative argument by M_LN10.
15943 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15944 of __ieee754_expf.
15945 * math/e_exp10l.c: Include <float.h>.
15946 (__ieee754_exp10l): Handle underflow here rather than multiplying
15947 large negative argument by M_LN10l.
15948 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15949 spurious overflow exception on underflow.
15950
5ac3ea17
MP
159512012-04-29 Marek Polacek <polacek@redhat.com>
15952
15953 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15954 (__fortify_function): New macro.
15955 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15956 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15957 __extern_always_inline.
15958 * libio/bits/stdio2.h: Likewise.
15959 * libio/bits/stdio.h: Likewise.
15960 * string/string.h: Likewise.
15961 * string/bits/string3.h: Likewise.
15962 * include/stdio.h: Likewise.
15963 * stdlib/bits/stdlib.h: Likewise.
15964 * stdlib/stdlib.h: Likewise.
15965 * rt/bits/mqueue2.h: Likewise.
15966 * rt/mqueue.h: Likewise.
15967 * posix/bits/unistd.h: Likewise.
15968 * posix/unistd.h: Likewise.
15969 * io/bits/poll2.h: Likewise.
15970 * io/bits/fcntl2.h: Likewise.
15971 * io/fcntl.h: Likewise.
15972 * io/sys/poll.h: Likewise.
15973 * misc/bits/syslog.h: Likewise.
15974 * misc/bits/syslog-ldbl.h: Likewise.
15975 * misc/sys/syslog.h: Likewise.
15976 * socket/bits/socket2.h: Likewise.
15977 * socket/sys/socket.h: Likewise.
15978 * debug/tst-chk1.c: Likewise.
15979 * wcsmbs/bits/wchar2.h: Likewise.
15980 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15981 * wcsmbs/wchar.h: Likewise.
15982
ecf0ebfb
AJ
159832012-04-29 Andreas Jaeger <aj@suse.de>
15984
15985 * Makerules (tests): Remove enable-check-abi protection.
15986 (check-abi-warn): Remove.
15987 (check-abi-%): Remove check-abi-warn usage.
15988
15989 * configure.in: Remove check-abi configure option.
15990 * configure: Regenerated.
15991 * config.make.in (enable-check-abi): Remove.
15992
6d5c57fa
AS
159932012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15994
24c5d07e 15995 [BZ #14033]
ded5180a
AS
15996 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15997 double functions to double *_finite functions.
15998
7e0d315d
AS
15999 [BZ #13941]
16000 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16001 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16002 LDBL_MIN_EXP.
16003 * stdio-common/Makefile (tests): Add tst-sprintf3.
16004 * stdio-common/tst-sprintf3.c: New file.
16005
6d5c57fa
AS
16006 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16007 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16008
0749ff8b
JM
160092012-04-28 Joseph Myers <joseph@codesourcery.com>
16010
16011 * conform/conformtest.pl: Remove duplicate typed-constant
16012 handling.
16013
8dbd5d7b
DM
160142012-04-28 David S. Miller <davem@davemloft.net>
16015
16016 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16017 (check-abi-%): Remove AWK script prerequisite and explicit
16018 abilist directory.
16019 (check-abi): Rewrite to just diff the symlist with the abilist.
16020 (config-tls, config-abi-config): Delete, no longer used.
16021 (update-abi-%): Remove AWK script and explicit abilist directory.
16022 (update-abi): Rewrite to simply compare and conditionally copy the
16023 symlist and the sysdep abilist file. Remove update-abi-config
16024 checks.
16025 * abilist/ld.abilist: Remove.
16026 * abilist/libBrokenLocale.abilist: Remove.
16027 * abilist/libanl.abilist: Remove.
16028 * abilist/libcrypt.abilist: Remove.
16029 * abilist/libdl.abilist: Remove.
16030 * abilist/librt.abilist: Remove.
16031 * abilist/libthread_db.abilist: Remove.
16032 * abilist/libutil.abilist: Remove.
16033 * scripts/extract-abilist.awk: Remove.
16034 * scripts/merge-abilist.awk: Remove.
16035 * sysdeps/generic/libcidn.abilist: New file.
16036 * sysdeps/generic/libnss_compat.abilist: New file.
16037 * sysdeps/generic/libnss_db.abilist: New file.
16038 * sysdeps/generic/libnss_dns.abilist: New file.
16039 * sysdeps/generic/libnss_files.abilist: New file.
16040 * sysdeps/generic/libnss_hesiod.abilist: New file.
16041 * sysdeps/generic/libnss_nis.abilist: New file.
16042 * sysdeps/generic/libnss_nisplus.abilist: New file.
16043 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16044 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16045 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16046 file.
16047 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16048 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16049 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16050 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16051 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16052 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16053 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16054 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16055 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16056 file.
16057 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16058 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16059 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16060 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16061 file.
16062 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16063 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16064 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16065 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16066 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16067 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16068 file.
16069 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16070 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16071 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16072 file.
16073 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16075 New file.
16076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16077 New file.
16078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16079 New file.
16080 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16081 New file.
16082 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16083 New file.
16084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16085 New file.
16086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16087 New file.
16088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16089 New file.
16090 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16091 New file.
16092 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16093 New file.
16094 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16095 New file.
16096 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16097 New file.
16098 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16099 New file.
16100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16101 file.
16102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16103 New file.
16104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16105 New file.
16106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16107 file.
16108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16109 New file.
16110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16111 New file.
16112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16113 file.
16114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16115 New file.
16116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16117 New file.
16118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16119 New file.
16120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16121 New file.
16122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16123 New file.
16124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16125 New file.
16126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16128 file.
16129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16130 New file.
16131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16132 file.
16133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16134 file.
16135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16136 file.
16137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16138 file.
16139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16140 file.
16141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16142 New file.
16143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16144 file.
16145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16146 file.
16147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16148 New file.
16149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16150 file.
16151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16153 file.
16154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16155 New file.
16156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16157 file.
16158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16159 file.
16160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16161 file.
16162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16163 file.
16164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16165 file.
16166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16167 New file.
16168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16169 file.
16170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16171 file.
16172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16173 New file.
16174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16175 file.
16176 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16177 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16178 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16179 file.
16180 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16181 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16182 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16183 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16184 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16185 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16186 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16187 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16188 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16189 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16192 file.
16193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16194 New file.
16195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16196 file.
16197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16198 file.
16199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16200 file.
16201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16202 file.
16203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16204 file.
16205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16206 New file.
16207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16208 New file.
16209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16210 file.
16211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16212 New file.
16213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16214 file.
16215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16217 file.
16218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16219 New file.
16220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16221 file.
16222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16223 file.
16224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16225 file.
16226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16227 file.
16228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16229 file.
16230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16231 New file.
16232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16233 New file.
16234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16235 file.
16236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16237 New file.
16238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16239 file.
16240
41d73a1b
JM
162412012-04-28 Joseph Myers <joseph@codesourcery.com>
16242
16243 * conform/conformtest.pl: Fix typo in handling typed-constant from
16244 allow-header.
16245
28aeeda4
JM
162462012-04-27 Joseph Myers <joseph@codesourcery.com>
16247
adae8f5e
JM
16248 * README: Cut down references to pre-2.6 Linux kernels and
16249 Linuxthreads. Update lists of configurations in libc and ports
16250 and sort alphabetically. Say "or newer" with Linux kernel version
16251 requirements.
16252
28aeeda4
JM
16253 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16254
a462cb63
RA
162552012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16256
16257 [BZ #887]
16258 * math/libm-test.inc (logb_test_downward): New test to expose
16259 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16260 rounding mode.
16261
6ad3493e
JM
162622012-04-27 Joseph Myers <joseph@codesourcery.com>
16263
16264 [BZ #14027]
16265 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16266 to be done.
16267 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16268 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16269
2ce4f015
JM
162702012-04-26 Joseph Myers <joseph@codesourcery.com>
16271
5aeb141a
JM
16272 * sysdeps/unix/i386/brk.S: Remove file.
16273 * sysdeps/unix/i386/dl-brk.S: Likewise.
16274 * sysdeps/unix/i386/pipe.S: Likewise.
16275 * sysdeps/unix/i386/sigreturn.S: Likewise.
16276 * sysdeps/unix/i386/syscall.S: Likewise.
16277 * sysdeps/unix/i386/vfork.S: Likewise.
16278 * sysdeps/unix/i386/wait.S: Likewise.
16279
7143acae
JM
16280 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16281 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16282
2ce4f015
JM
16283 * configure.in (arm*-none*): Do not allow without
16284 --enable-hacker-mode.
16285 (netbsd*): Remove case setting base_os.
16286 (386bsd*): Likewise.
16287 (freebsd*): Likewise.
16288 (bsdi*): Likewise.
16289 (osf*): Likewise.
16290 (sunos*): Likewise.
16291 (ultrix*): Likewise.
16292 (newsos*): Likewise.
16293 (dynix*): Likewise.
16294 (*bsd*): Likewise.
16295 (sysv*): Likewise.
16296 (isc*): Likewise.
16297 (esix*): Likewise.
16298 (sco*): Likewise.
16299 (minix*): Likewise.
16300 (irix4*): Likewise.
16301 (irix6*): Likewise.
16302 (solaris[2-9]*): Likewise.
16303 (none): Likewise.
16304 * configure: Regenerated.
16305
0ac229c8
AZ
163062012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16307
16308 [BZ #11521]
16309 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16310 overflow or cancellation in calculating denominator.
16311 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16312 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16313 down expression to avoid unexpected rounding in newer GCCs.
16314 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16315
33f244f4
DM
163162012-04-26 David S. Miller <davem@davemloft.net>
16317
16318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16319 long-double compat symbols.
16320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16333
cfa1f3e8
DM
163342012-04-25 David S. Miller <davem@davemloft.net>
16335
16336 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16337 HWCAP_* values only after the memory barriers have been defined.
16338 (atomic_full_barrier): Define.
16339 (atomic_read_barrier): Define.
16340 (atomic_write_barrier): Define.
16341
6e236b92
SP
163422012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16343
16344 * shlib-versions: Add libgcc_s version information.
16345 * sysdeps/generic/libgcc_s.h: Remove.
16346 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16347 libgcc_s.h.
16348 * sysdeps/gnu/unwind-resume.c: Likewise.
16349 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16350
aab39a09
DM
163512012-04-25 David S. Miller <davem@davemloft.net>
16352
16353 * sysdeps/unix/sparc/brk.S: Delete.
16354 * sysdeps/unix/sparc/dl-brk.S: Delete.
16355 * sysdeps/unix/sparc/pipe.S: Delete.
16356 * sysdeps/unix/sparc/sysdep.S: Delete.
16357 * sysdeps/unix/sparc/sysdep.h: Delete.
16358 * sysdeps/unix/sparc/vfork.S: Delete.
16359 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16360 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16361 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16362 ret_ERRVAL, r0, r1, MOVE): Define.
16363 (JUMPTARGET): Remove.
16364 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16365 sysdeps/unix/sparc/sysdep.h
16366 (ENTRY, END): Remove.
16367 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16368
a3cc4f48
JM
163692012-04-25 Joseph Myers <joseph@codesourcery.com>
16370
2ed8cda2
JM
16371 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16372 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16373 -DIS_IN_build.
16374
35d76d59
JM
16375 * timezone/README: Update upstream location and email address for
16376 tzcode and tzdata.
16377 * timezone/zdump.c: Update from tzcode 2012b.
16378 * timezone/zic.c: Likewise.
16379
a3cc4f48
JM
16380 * configure.in (libc_cv_as_needed): Remove test.
16381 * configure: Regenerated.
16382 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16383 conditional definition.
16384 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16385 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16386 * config.make.in (have-as-needed): Remove variable.
16387
ceab42c3
SP
163882012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16389 Paul Pluzhnikov <ppluzhnikov@google.com>
16390
16391 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16392 strings correctly.
16393
3ce2865f
CLT
163942012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16395
16396 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16397 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16398 * sysdeps/sh/strlen.S: Likewise.
16399
f37e0d68
JM
164002012-04-24 Joseph Myers <joseph@codesourcery.com>
16401
ae186e9a
JM
16402 * sysdeps/unix/fork.S: Remove file.
16403 * sysdeps/unix/i386/fork.S: Likewise.
16404 * sysdeps/unix/sparc/fork.S: Likewise.
16405
b96914af
JM
16406 * sysdeps/unix/system.c: Remove file.
16407 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16408
f37e0d68
JM
16409 * sysdeps/unix/getegid.S: Remove file.
16410 * sysdeps/unix/geteuid.S: Likewise.
16411
87ef29ca
RM
164122012-04-24 Roland McGrath <roland@hack.frob.com>
16413
83bcd236
RM
16414 * scripts/check-localplt.awk: New file.
16415 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16416 of diff.
16417 * scripts/data/localplt-generic.data: Add a comment.
16418
87ef29ca
RM
16419 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16420 NODE when __dir_mkfile failed.
16421 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16422 Reported by Ludovic Courtès <ludo@gnu.org>.
16423
e5a6e567
AJ
164242012-04-24 Andreas Jaeger <aj@suse.de>
16425
16426 * Makerules (common-clean): Also remove gen-as-const-headers
16427 files.
16428
c1820385
JM
164292012-04-24 Joseph Myers <joseph@codesourcery.com>
16430
16431 * Makerules (native-compile): Do not change working directory for
16432 build. Use $(OUTPUT_OPTION) in command.
16433 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16434
94e02fc4
AZ
164352012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16436
16437 [BZ #13886]
16438 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16439 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16440 * math/libm-test.inc (floor_test): Add more tests.
16441 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16442
3a533ca3
JM
164432012-04-24 Joseph Myers <joseph@codesourcery.com>
16444
940ab4b3
JM
16445 * sysdeps/unix/getdents.c: Remove file.
16446 * sysdeps/unix/sysv/getdents.c: Likewise.
16447 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16448
90e037bd
JM
16449 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16450 sysdeps/unix/mman/syscalls.list.
16451 (mmap): Likewise.
16452 (mprotect): Likewise.
16453 (msync): Likewise.
16454 (munmap): Likewise.
16455 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16456 * sysdeps/unix/mman/syscalls.list: Remove.
16457 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16458
3a533ca3
JM
16459 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16460 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16461 * configure: Regenerated.
16462 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16463 $(libgcc_s_suffix).
16464 * config.make.in (libgcc_s_suffix): Remove variable.
16465
1ad743de
JM
164662012-04-23 Joseph Myers <joseph@codesourcery.com>
16467
4ad451e2
JM
16468 * sysdeps/unix/sysv/gethostname.c: Move to ...
16469 * sysdeps/posix/gethostname.c: ... here.
16470
5e37ce39
JM
16471 * sysdeps/unix/execve.S: Remove file.
16472
1ad743de
JM
16473 * sysdeps/unix/_exit.S: Remove file.
16474
4e681b5b
AJ
164752012-04-23 Andreas Jaeger <aj@suse.de>
16476
16477 [BZ #13739]
16478 * manual/Makefile: Remove make dist support, there's no
16479 need for a stand-alone documentation tar ball.
16480 (TEXI2DVI): Define always, it's not in Makeconfig.
16481 (dist): Removed.
16482 (tar-it): Removed.
16483 (edition): Removed.
16484 (glibc-doc-$(edition).tar): Removed
16485 (%.Z): Removed.
16486 (%.gz): Removed.
16487 (%.uu): Removed.
16488 (ETAGS): Remove, it's in Makeconfig.
16489 (move-if-change): Remove, it's in Makeconfig.
16490
38686a03 164912012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16492
16493 [BZ #13970]
16494 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16495 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16496 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16497 (strtod_l, strtof_l, strtold_l): Remove __wur.
16498 It is not necessarily an error to ignore strtol's return value.
16499 One can reliably look at the stored endptr to decide whether
16500 the number had valid syntax.
16501
7c0616fa
AJ
165022012-04-21 Andreas Jaeger <aj@suse.de>
16503
803cb6b7 16504 [BZ #13739]
7c0616fa
AJ
16505 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16506
b0fe253f
JM
165072012-04-21 Joseph Myers <joseph@codesourcery.com>
16508
16509 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16510 * sysdeps/unix/sysv/Versions: Remove file.
16511
8280f22d
MT
165122012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16513
16514 [BZ #13927]
16515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16516
75ce411f 165172012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16518
16519 [BZ #7064]
16520 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16521 version from __vm86.
16522
097d59fa
JM
165232012-04-20 Joseph Myers <joseph@codesourcery.com>
16524
a90f3bcb
JM
16525 * sysdeps/unix/common/lxstat.c: Remove file.
16526 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16527
edc7ea78
JM
16528 * sysdeps/unix/sysv/Makefile: Remove file.
16529
cb78c221
JM
16530 * sysdeps/unix/sysv/direct.h: Remove file.
16531
efa6a45f
JM
16532 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16533 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16534 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16535 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16536 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16537 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16538 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16539
9c9f2d0c
JM
16540 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16541
4541c83b
JM
16542 * sysdeps/unix/xmknod.c: Remove file.
16543 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16544
f5d153a0
JM
16545 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16546
aa746595
JM
16547 * sysdeps/unix/sysv/i386/time.S: Remove file.
16548
cce5905e
JM
16549 * sysdeps/unix/fxstat.c: Remove file.
16550 * sysdeps/unix/xstat.c: Likewise.
16551 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16552
37fa3841
JM
16553 * sysdeps/unix/sysv/sigaction.c: Remove file.
16554
ff1962a3
JM
16555 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16556 (sysdep_headers): Remove variable.
16557 [termio.h not in sysdep_headers] (generated): Likewise.
16558 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16559 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16560 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16561 * sysdeps/unix/sysv/tcflow.c: Likewise.
16562 * sysdeps/unix/sysv/tcflush.c: Likewise.
16563 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16564 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16565 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16566 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16567 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16568
e7740d31
JM
16569 * sysdeps/unix/siglist.c: Remove file.
16570
ee06f18b
JM
16571 * sysdeps/unix/getppid.S: Remove file.
16572
097d59fa
JM
16573 * sysdeps/unix/mkdir.c: Remove file.
16574 * sysdeps/unix/rmdir.c: Likewise.
16575
ff3d51ec
AS
165762012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16577
16578 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16579 ERR_MAX value.
16580 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16581 errlist-compat value.
16582
50f81fd7
DM
165832012-04-18 David S. Miller <davem@davemloft.net>
16584
16585 * sysdeps/generic/memcopy.h (reg_char): Delete.
16586 * debug/strcat_chk.c: Use char, not reg_char.
16587 * debug/strcpy_chk.c: Likewise.
16588 * debug/strncat_chk.c: Likewise.
16589 * debug/strncpy_chk.c: Likewise.
16590 * string/memchr.c: Likewise.
16591 * string/memrchr.c: Likewise.
16592 * string/rawmemchr.c: Likewise.
16593 * string/strcat.c: Likewise.
16594 * string/strchr.c: Likewise.
16595 * string/strchrnul.c: Likewise.
16596 * string/strcmp.c: Likewise.
16597 * string/strcpy.c: Likewise.
16598 * string/strncat.c: Likewise.
16599 * string/strncmp.c: Likewise.
16600 * string/strncpy.c: Likewise.
16601
8ff41c46
WS
166022012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16603
16604 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16605 __builtin_memcopy is called when src and dest ranges are known to not
16606 overlap.
16607
6b652f46
WS
166082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16609
16610 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16611 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16612 fwd_align_merge macro call.
16613 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16614 bwd_align_merge macro call.
16615 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16616
b282631e
WS
166172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16618
16619 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16620 bwd_align_merge macros.
16621 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16622 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16623 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16624
95aa737c
DM
166252012-04-18 David S. Miller <davem@davemloft.net>
16626
16627 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16628
7a99a614
AJ
166292012-04-18 Andreas Jaeger <aj@suse.de>
16630
16631 [BZ# 6794]
16632 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16633 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16634 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16635
16636 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16637 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16638 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16639
16640 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16641 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16642 Adjust for changed ldbl-128 files.
16643
16644 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16645 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16646 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16647
e5270c23
DM
166482012-04-17 David S. Miller <davem@davemloft.net>
16649
16650 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16651
fb5e92c9
AS
166522012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16653
16654 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16655 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16656 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16657 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16658 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16659 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16660
76da7265
AZ
166612012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16662
16663 [BZ #6794]
16664 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16665 * math/libm-test.inc: Add ilogb errno and exception tests.
16666 * math/w_ilogb.c: New file: ilogb wrapper.
16667 * math/w_ilogbf.c: New file: ilogbf wrapper.
16668 * math/w_ilogbl.c: New file: ilogbl wrapper.
16669 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16670 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16671 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16672 exception being thrown with 0.0 as argument.
16673 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16674 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16675 exception being thrown with 0.0 as argument.
16676 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16677 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16678 exception being thrown with 0.0 as argument.
16679 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16680 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16681 exception being thrown with 0.0 as argument.
16682 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16683 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16684 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16685 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16686 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16687 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16688 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16689 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16690 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16691
0396e69d
PB
166922012-04-17 Petr Baudis <pasky@ucw.cz>
16693
16694 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16695 with altivec.
16696
750b5926
MP
166972012-04-16 Marek Polacek <polacek@redhat.com>
16698
16699 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16700
751728a1
MP
167012012-04-16 Marek Polacek <polacek@redhat.com>
16702
16703 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16704 operands of fdivp instruction.
16705
34a27407
L
167062012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16707
16708 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16709 * elf/tst-auditmod3b.c: Likewise.
16710 * elf/tst-auditmod4b.c: Likewise.
16711 * elf/tst-auditmod5b.c: Likewise.
16712 * elf/tst-auditmod6b.c: Likewise.
16713 * elf/tst-auditmod6c.c: Likewise.
16714 * elf/tst-auditmod7b.c: Likewise.
16715 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16716 * sysdeps/x86_64/preconfigure.in: Likewise.
16717 * sysdeps/x86_64/preconfigure: Regenerated.
16718
7e73e17d
L
167192012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16720
16721 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16722 __ILP32__.
16723
c7a6ab72
AB
167242012-04-13 Antoine Balestrat <merkil33@gmail.com>
16725
16726 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16727 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16728
a9e8e0e0
CL
167292012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16730
16731 [BZ #13973]
16732 * locale/iso-639.def: Fix gl language name. Spotted by
16733 Yaron Shahrabani.
16734
ec98af7d
RM
167352012-04-12 Roland McGrath <roland@hack.frob.com>
16736
16737 [BZ #2074]
16738 * libio/libio.h (__io_write_fn): Update comment.
16739
247c3ede
PB
167402012-04-12 Petr Baudis <pasky@ucw.cz>
16741
16742 [BZ #2074]
16743 * stdio.texi (Hook Functions): The user provided writer function
16744 is not allowed to return -1.
16745
55939d6d
DM
167462012-04-11 David S. Miller <davem@davemloft.net>
16747
16748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16749
90020f5a
MF
167502012-04-11 Mike Frysinger <vapier@gentoo.org>
16751
16752 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16753 Add a leading slash to rtkaio.
16754
288f9098
JM
167552012-04-11 Jim Meyering <meyering@redhat.com>
16756
90020f5a
MF
16757 [BZ #11959]
16758 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16759 It is not necessarily an error to ignore fwrite's return
16760 value. One can reliably use ferror to test for errors after
16761 the fact.
288f9098 16762
4be2b570
L
167632012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16764
16765 * bits/types.h (__snseconds_t): New type.
16766 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16767
16768 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16769 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16770 (__SNSECONDS_T_TYPE): Likewise.
16771 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16772 (__SNSECONDS_T_TYPE): Likewise.
16773 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16774 (__SNSECONDS_T_TYPE): Likewise.
16775
288f9098 167762012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16777
16778 [BZ #2636]
16779 * manual/time.texi (Processor Time): Return type of times is
16780 elapsed real time since an arbitrary point in the past.
16781 (CPU Time): Move CLK_TCK from here...
16782 (Processor Time): ...to here. Correct description.
16783 * manual/conf.texi (Constants for Sysconf): Correct description of
16784 _SC_CLK_TCK.
16785
d7dd4413
DM
167862012-04-10 David S. Miller <davem@davemloft.net>
16787
16788 [BZ #13967]
16789 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16790 where the is a gap between DT_REL(A) and DT_JMPREL.
16791
b46068fc
L
167922012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16793
16794 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16795 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16796 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16797
73d65cc3
SP
167982012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16799
16800 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16801 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16802 (dl_main): Handle --inhibit-cache.
16803 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16804 _dl_inhibit_cache.
16805 * elf/dl-load.c (_dl_map_object): Use it.
16806 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16807
bcc8d661
JM
168082012-04-09 Joseph Myers <joseph@codesourcery.com>
16809
8f9a2fae
JM
16810 [BZ #13872]
16811 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16812 (__ieee754_powl): Saturate large exponents rather than testing for
16813 overflow of y*log2(x).
16814 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16815 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16816 exceptions.
16817
bcc8d661
JM
16818 [BZ #11521]
16819 * math/s_ctan.c: Include <float.h>.
16820 (__ctan): Avoid internal overflow or cancellation in calculating
16821 denominator.
16822 * math/s_ctanf.c: Likewise.
16823 * math/s_ctanl.c: Likewise.
16824 * math/s_ctanh.c: Likewise.
16825 * math/s_ctanhf.c: Likewise.
16826 * math/s_ctanhl.c: Likewise.
16827 * math/libm-test.inc (ctan_test): Add more tests.
16828 (ctanh_test): Likewise.
16829 * sysdeps/i386/fpu/libm-test-ulps: Update.
16830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16831
823fbbb4
AJ
168322012-04-09 Andreas Jaeger <aj@suse.de>
16833
03879793
AJ
16834 [BZ #6894]
16835 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16836 is an optional BSD extension.
16837
823fbbb4
AJ
16838 [BZ #10254]
16839 * manual/stdio.texi (Opening Streams): Document additional fopen
16840 parameters.
16841
8de131cb
RM
168422012-04-09 Roland McGrath <roland@hack.frob.com>
16843
16844 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16845 %eax without telling the compiler.
16846
c0ed9d7d
CD
168472012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16848
16849 [BZ # 13963]
16850 * manual/install.texi: Use sourceware.org.
16851
c483f6b4
JM
168522012-04-09 Joseph Myers <joseph@codesourcery.com>
16853
d7dd9453
JM
16854 [BZ #13873]
16855 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16856 (__ieee754_pow): Generate overflow and underflow using huge*huge
16857 and tiny*tiny rather than just returning constant infinity or zero
16858 for large exponents.
16859 * math/libm-test.inc (pow_test): Require overflow exceptions for
16860 applicable cases of large exponents.
16861
c483f6b4
JM
16862 [BZ #706]
16863 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16864 (__ieee754_pow): Use iterative multiplication algorithm only for
16865 integer exponents with absolute value below 1024. Check for odd
16866 integer exponents when using algorithm for real exponents.
16867 * math/libm-test.inc (pow_test): Add more tests.
16868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16869
d2de7579
JM
168702012-04-08 Joseph Myers <joseph@codesourcery.com>
16871
16872 [BZ #13705]
16873 * math/libm-test.inc (exp_test): Do not allow overflow exception
16874 on underflow test.
16875
f77f1232
AJ
168762012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16877
16878 [BZ #13705]
16879 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16880 instead of __kernel_standard_f.
16881
3884932b
MF
168822012-04-08 Mike Frysinger <vapier@gentoo.org>
16883
16884 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16885 * sysdeps/x86_64/memset_chk.S: Likewise.
16886
54472e9c
AJ
168872012-04-08 Andreas Jaeger <aj@suse.de>
16888
6ab0fbfc
AJ
16889 [BZ #10153]
16890 * manual/startup.texi (Environment Access): Describe return value
16891 for putenv and setenv.
16892
61efba8c
AJ
16893 [BZ #6895]
16894 * manual/filesys.texi (Directory Entries): Add description for
16895 DT_LNK.
16896
95c3f29a
AJ
16897 [BZ #6890]
16898 * manual/filesys.texi (Directory Entries): Clarify that it's file
16899 system not operating system in the description of DT_UNKNOWN.
16900
54472e9c
AJ
16901 [BZ #6578]
16902 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16903
624254b1
SC
169042012-04-08 Stephen Compall <s11@member.fsf.org>
16905
16906 [BZ #6649]
16907 * manual/llio.texi (Opening and Closing Files): Add cross
16908 reference to explain mode argument.
16909
1e4920e0
MF
169102012-04-07 Mike Frysinger <vapier@gentoo.org>
16911
16912 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16913 * sysdeps/x86_64/memset_chk.S: Likewise.
16914
5ed848f3
DM
169152012-04-07 David S. Miller <davem@davemloft.net>
16916
16917 * elf/elf.h (R_SPARC_WDISP10): Define.
16918 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16919 R_SPARC_SIZE32.
16920 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16921 R_SPARC_SIZE64 and R_SPARC_H34.
16922
96154cd8
CD
169232012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16924
16925 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16926 conditions and remove no longer applicable assertion.
16927
9904dc47
L
169282012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16929
16930 * bits/byteswap.h: Include <features.h>.
16931 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16932 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16933
f8887d0a
L
169342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16935
16936 * bits/byteswap.h (__bswap_16): Removed.
16937 Include <bits/byteswap-16.h> to get __bswap_16.
16938 * sysdeps/i386/bits/byteswap.h: Likewise.
16939 * sysdeps/s390/bits/byteswap.h: Likewise.
16940 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16941 * bits/byteswap-16.h: New file.
16942 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16943 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16944 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16945 * string/Makefile (headers): Add bits/byteswap-16.h.
16946
62470f60
PP
169472012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16948
16949 [BZ #13895]
16950 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16951 extra indirection.
16952 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16953 * nss/tst-nss-static.c: New.
16954
4dad7bab
RM
169552012-04-06 Robert Millan <rmh@gnu.org>
16956
16957 [BZ #6486]
16958 * manual/llio.texi (File Position Primitive): lseek
16959 refers to WHENCE when it really means OFFSET.
16960
e9142a17
AJ
169612012-04-06 Andreas Jaeger <aj@suse.de>
16962
2c040eff
AJ
16963 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16964 strncmp declarations.
16965
e9142a17
AJ
16966 * abilist/libc.abilist: Add __poll and __ppoll.
16967
ff9f1c5f
DM
169682012-04-05 David S. Miller <davem@davemloft.net>
16969
dcd2ae90
DM
16970 * scripts/check-local-headers.sh: Accept a host triplet in the
16971 path matched by the exclude regexp.
16972
993eb054
DM
16973 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16974 definition.
16975 * sysdeps/powerpc/powerpc32/dl-machine.h
16976 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16977 * sysdeps/s390/s390-32/dl-machine.h
16978 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16979 * sysdeps/sparc/sparc32/dl-machine.h
16980 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16981 * sysdeps/sparc/sparc64/dl-machine.h
16982 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16983
ff9f1c5f
DM
16984 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16985 lazy binding.
48e2e132 16986 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16987 undefined symbol errors.
16988
48e2e132 16989 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16990 DT_NEEDED entries.
16991
e80d6f94
MM
169922012-04-05 Michael Matz <matz@suse.de>
16993
16994 [BZ #13592]
16995 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16996
349fa79f
AJ
169972012-04-05 Andreas Jaeger <aj@suse.de>
16998
16999 [BZ #13908]
17000 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17001 comment.
17002
f402708f
KK
170032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17004
17005 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17006 which ROUND is no valid rounding mode.
17007
2ecccfc9
KK
170082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17009
17010 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17011 read again.
17012 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17013
8a53f50f
KK
170142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17015
17016 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17017 an exception using FPU order intentionally.
17018
170192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17020
17021 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17022 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17023 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17024 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17025
d653abb7
SJ
170262012-04-05 Simon Josefsson <simon@josefsson.org>
17027
17028 [BZ #12340]
17029 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17030 EINVAL when BUFLEN is too smal.
17031
c3b1bf7d
TS
170322012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17033
17034 [BZ #13553]
17035 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17036 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17037
b1aa60f3
AJ
170382012-04-03 Andreas Jaeger <aj@suse.de>
17039
c3b1bf7d 17040 [BZ #13938]
67f60a26
AJ
17041 * manual/setjmp.texi (System V contexts): Fix sentence.
17042
b1aa60f3
AJ
17043 [BZ #13926]
17044 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17045 New macro for this case.
17046 [!__GNUC__] (__bswap_64): New inline function for this case.
17047 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17048 * bits/byteswap.h: Likewise.
17049 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17050 ull, guard with __GLIBC_HAVE_LONG_LONG.
17051
17052 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17053 __GLIBC_HAVE_LONG_LONG.
17054
17055 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17056 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17057
39c59c35
TMQMF
170582012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17059
17060 [BZ #13691]
17061 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17062 inptr and inend, rather than using last_ch.
17063
135ffda8
DM
170642012-04-02 David S. Miller <davem@davemloft.net>
17065
17066 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17067 * stdio-common/printf-parse.h (read_int): Change return type to
17068 'int', return -1 on INT_MAX overflow.
17069 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17070 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17071 overflows INT_MAX. Check for overflow of in-format-string precision
17072 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17073 SIZE_MAX not INT_MAX for integer overflow test.
17074 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17075 skip the construct in the format string but do not record anything.
17076 * stdio-common/bug22.c: Adjust to test both width/prevision
17077 INT_MAX overflow as well as total length INT_MAX overflow. Check
17078 explicitly for proper errno values.
17079
228c019e
TS
170802012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17081
302cadd3
TS
17082 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17083 CHAR_MAX.
17084 * string/test-strcmp.c [! WIDE]: Likewise.
17085 * time/tst-mktime2.c: Likewise for INT_MAX.
17086 * string/test-string.h: #include <sys/param.h> for MIN.
17087
228c019e
TS
17088 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17089 * sysdeps/i386/init-first.c (init): Likewise.
17090 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17091 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17092 * sysdeps/sh/init-first.c (init): Likewise.
17093
cfa633f5
UD
170942012-04-01 Ulrich Drepper <drepper@gmail.com>
17095
17096 * po/ru.po: Update from translation team.
d1635ef8 17097 * po/vi.po: Likewise.
cfa633f5 17098
6cd0a5ea
SP
170992012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17100
17101 * resolv/nss_dns/dns-host.c: Merge copyright years.
17102
4b43400f
LD
171032012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17104
17105 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17106 Optimize memcpy with prefetch if
17107 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17108 src, dst pointers have unequal 16 byte alignments.
17109
48c41d04
SP
171102012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17111
17112 [BZ #13928]
17113 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17114 from a CNAME entry and return the minimum ttl for the query.
17115 (gaih_getanswer_slice): Likewise.
17116
b8dc394d
JL
171172012-03-30 Jeff Law <law@redhat.com>
17118
17119 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17120 due to long keys.
17121 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17122 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17123
2f5a5ed0
JL
17124 * resolv/nss_dns/dns-host.c: Update copyright year.
17125
1d39e359
UD
171262012-03-30 Ulrich Drepper <drepper@gmail.com>
17127
c030f70c 17128 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17129 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17130
1d39e359
UD
17131 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17132 comments for sendmmsg.
17133
171342012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17135
17136 [BZ #13691]
17137 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17138 with only 1 character between 0x0041 and 0x01b0.
17139 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17140 * wcsmbs/tst-mbsnrtowcs.c: New file.
17141
20fde227
DM
171422012-03-29 David S. Miller <davem@davemloft.net>
17143
17144 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17145 small copies by hand.
17146
984a4237
JL
171472012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17148
17149 [BZ #13761]
17150 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17151 _nss_compat_initgroups_dyn): Fall back to malloc/free
17152 for large group memberships.
17153
18c9d62b
DM
171542012-03-28 David S. Miller <davem@davemloft.net>
17155
88d85d4f
DM
17156 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17157 that branches into memcpy.
17158 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17159 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17160 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17161 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17162 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17163 bits.
17164 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17165 implementation too.
17166 * sysdeps/sparc/mempcpy.S: New file.
17167
e5aa83e1
DM
17168 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17169 the IFUNC routine in the libc case.
17170 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17171
88570753
DM
17172 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17173 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17174 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17175 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17176 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17177 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17178 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17179 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17180
249d7567
DM
17181 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17182 loop to 256 bytes instead of 64 bytes and fix test signedness.
17183
18c9d62b
DM
17184 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17185 * sysdeps/sparc/sparc32/Makefile: rather than here...
17186 * sysdeps/sparc/sparc64/Makefile: and here.
17187
05f3d1f6
UD
171882012-03-28 Ulrich Drepper <drepper@gmail.com>
17189
17190 * malloc/mallocbug.c: Avoid warnings about unused variables.
17191
86ae07a8
JL
171922012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17193
17194 [BZ #13760]
17195 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17196 in the right place. Discard and retry query if response is
17197 larger than input buffer size.
17198
41bf21a1
JM
171992012-03-28 Joseph Myers <joseph@codesourcery.com>
17200
d6270972
JM
17201 [BZ #369]
17202 [BZ #2678]
17203 [BZ #3866]
17204 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17205 x for large integer exponent.
17206 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17207 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17208 sign of result as needed afterwards.
17209 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17210 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17211 result for underflowing pow the same as for overflow.
17212 (__kernel_standard_l): Handle powl overflow and underflow here
17213 rather than calling __kernel_standard.
17214 * math/libm-test.inc (pow_test): Add more tests.
17215
414fca03 17216 [BZ #3868]
41bf21a1
JM
17217 [BZ #13879]
17218 [BZ #13910]
17219 [BZ #13911]
17220 [BZ #13912]
17221 [BZ #13913]
17222 [BZ #13915]
17223 [BZ #13916]
17224 [BZ #13917]
17225 [BZ #13918]
17226 [BZ #13919]
17227 [BZ #13920]
17228 [BZ #13921]
17229 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17230 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17231 (__kernel_standard_l): New function.
17232 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17233 __kernel_standard.
17234 * math/w_acosl.c (__acosl): Likewise.
17235 * math/w_asinl.c (__asinl): Likewise.
17236 * math/w_atan2l.c (__atan2l): Likewise.
17237 * math/w_atanhl.c (__atanhl): Likewise.
17238 * math/w_coshl.c (__coshl): Likewise.
17239 * math/w_exp10l.c (__exp10l): Likewise.
17240 * math/w_exp2l.c (__exp2l): Likewise.
17241 * math/w_fmodl.c (__fmodl): Likewise.
17242 * math/w_hypotl.c (__hypotl): Likewise.
17243 * math/w_j0l.c (__j0l, __y0l): Likewise.
17244 * math/w_j1l.c (__j1l, __y1l): Likewise.
17245 * math/w_jnl.c (__jnl, __ynl): Likewise.
17246 * math/w_lgammal.c (__lgammal): Likewise.
17247 * math/w_log10l.c (__log10l): Likewise.
17248 * math/w_log2l.c (__log2l): Likewise.
17249 * math/w_logl.c (__logl): Likewise.
17250 * math/w_powl.c (__powl): Likewise.
17251 * math/w_remainderl.c (__remainderl): Likewise.
17252 * math/w_scalbl.c (sysv_scalbl): Likewise.
17253 * math/w_sinhl.c (__sinhl): Likewise.
17254 * math/w_sqrtl.c (__sqrtl): Likewise.
17255 * math/w_tgammal.c (__tgammal): Likewise.
17256 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17257 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17258 * math/libm-test.inc (acos_test): Add more tests.
17259 (acosh_test): Likewise.
17260 (asin_test): Likewise.
17261 (atanh_test): Likewise.
17262 (exp_test): Likewise.
17263 (exp10_test): Likewise.
17264 (exp2_test): Likewise.
17265 (expm1_test): Likewise.
17266 (lgamma_test): Likewise.
17267 (log_test): Likewise.
17268 (log10_test): Likewise.
17269 (log1p_test): Likewise.
17270 (log2_test): Likewise.
17271 (pow_test): Do not allow some spurious overflow exceptions.
17272 (sqrt_test): Add more tests.
17273 (tgamma_test): Likewise.
17274 (y0_test): Likewise.
17275 (y1_test): Likewise.
17276 (yn_test): Likewise.
17277
dd62fda6
AB
172782012-03-27 Anton Blanchard <anton@samba.org>
17279
17280 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17281 MAP_HUGETLB.
17282 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17283 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17284 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17285
1e3cdfda
AJ
172862012-03-27 David S. Miller <davem@davemloft.net>
17287
b855ab85
DM
17288 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17289
1e3cdfda
AJ
17290 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17291 have-as-vis3 check.
17292
172932012-03-27 Andreas Jaeger <aj@suse.de>
17294
17295 * sysdeps/x86_64/elf/configure.in: Moved to ...
17296 * sysdeps/x86_64/configure.in: ... here.
17297 * sysdeps/x86_64/elf/start.S: Moved to ...
17298 * sysdeps/x86_64/start.S: ... here.
17299 * sysdeps/x86_64/elf/configure: Delete.
17300
17301 * sysdeps/x86_64/configure.in: Merge contents from
17302 sysdeps/i386/configure.in (without i686 check).
17303
17304 * sysdeps/i386/elf/Versions: Merge into ...
17305 * sysdeps/i386/Versions: ... this.
17306 * sysdeps/i386/elf/Versions: Delete file.
17307 * sysdeps/i386/elf/start.S: Moved to ...
17308 * sysdeps/i386/start.S: ...here.
17309 * sysdeps/i386/elf/configure.in: Merge into...
17310 * sysdeps/i386/configure.in: ...here.
17311 * sysdeps/i386/elf/configure.in: Delete file.
17312 * sysdeps/i386/elf/configure: Delete file.
17313
17314 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17315 * debug/backtracesyms.c: ... here.
17316 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17317 * debug/backtracesymsfd.c: ... here.
17318 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17319 * sysdeps/generic/ifunc-sel.h: ... here.
17320
17321 * sysdeps/unix/i386/start.c: Delete file.
17322 * sysdeps/unix/sparc/start.c: Delete file.
17323 * sysdeps/unix/start.c: Delete file.
17324
17325 * sysdeps/sh/elf/configure.in: Moved to ...
17326 * sysdeps/sh/configure.in: ... here.
17327 * sysdeps/sh/elf/start.S: Moved to ...
17328 * sysdeps/sh/start.S: ... here.
17329 * sysdeps/sh/elf/configure: Delete file.
17330
17331 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17332 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17333 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17334 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17335 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17336 * sysdeps/powerpc/powerpc64/start.S: here.
17337 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17338 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17339 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17340 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17341 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17342
17343 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17344 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17345 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17346 * sysdeps/powerpc/powerpc32/start.S: ... here.
17347 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17348 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17349 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17350
17351 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17352 * sysdeps/powerpc/ifunc-sel.h: ... here.
17353 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17354 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17355
17356 * sysdeps/sparc/elf/configure.in: Moved to ...
17357 * sysdeps/sparc/configure.in: ... here.
17358 * sysdeps/sparc/elf/configure: Delete file.
17359 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17360 * sysdeps/sparc/sparc32/start.S: ... here.
17361 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17362 * sysdeps/sparc/sparc64/start.S: ... here.
17363 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17364 * sysdeps/sparc/sparc32/Makefile: ... this.
17365 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17366 * sysdeps/sparc/sparc64/Makefile: ... this.
17367
17368 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17369 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17370 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17371 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17372 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17373 * sysdeps/s390/s390-32/setjmp.S: ... here.
17374 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17375 * sysdeps/s390/s390-32/configure.in: ... here.
17376 * sysdeps/s390/s390-32/elf/configure: Delete file.
17377 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17378 * sysdeps/s390/s390-32/start.S: ... here.
17379
17380 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17381 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17382 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17383 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17384 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17385 * sysdeps/s390/s390-64/setjmp.S: ... here.
17386 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17387 * sysdeps/s390/s390-64/configure.in: ... here
17388 * sysdeps/s390/s390-64/elf/configure: Delete file.
17389 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17390 * sysdeps/s390/s390-64/start.S: ... here.
17391 * sysdeps/s390/s390-64/elf/configure: Delete.
17392
17393 * configure.in: Remove support for elf directories in sysdeps.
17394
17395 * configure: Regenerated.
17396 * sysdeps/i386/configure: Regenerated.
17397 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17398 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17399 * sysdeps/s390/s390-32/configure: Regenerated.
17400 * sysdeps/s390/s390-64/configure: Regenerated.
17401 * sysdeps/sh/configure: Regenerated.
17402 * sysdeps/sparc/configure: Regenerated.
17403 * sysdeps/x86_64/configure: Regenerated.
17404
a3f61311
AS
174052012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17406
c876e002
AS
17407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17408
a3f61311
AS
17409 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17410 denormal result into account.
17411
ac4c54f0
RM
174122012-03-25 Roland McGrath <roland@hack.frob.com>
17413
17414 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17415 Reported by Allan McRae <allan@archlinux.org>.
17416
6a9b9c02
JL
174172012-03-23 Jeff Law <law@redhat.com>
17418
17419 * nss/getnssent.c (__nss_getent): Fix typo.
17420
4c42a0c1
DM
174212012-03-23 David S. Miller <davem@davemloft.net>
17422
17423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17424
1532c7ac
L
174252012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17426
17427 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17428 to pad to uint64_t for each field.
17429 (dl_tls_index): Replace unsigned long with uint64_t.
17430
3ff42526
PP
174312012-03-23 Daniel Jacobowitz <dmj@google.com>
17432 Paul Pluzhnikov <ppluzhnikov@google.com>
17433
17434 [BZ #6528]
17435 * grp/Makefile (otherlibs): Don't set it.
17436 * inet/Makefile (otherlibs): Likewise.
17437 * login/Makefile (otherlibs): Likewise.
17438 * nscd/Makefile (otherlibs): Likewise.
17439 * posix/Makefile (otherlibs): Likewise.
17440 * pwd/Makefile (otherlibs): Likewise.
17441 * rt/Makefile (otherlibs): Likewise.
17442 * sunrpc/Makefile (otherlibs): Likewise.
17443 * nss/Makefile (otherlibs): Likewise.
17444 Add libnss_files to routines and static-only-routines.
17445 ($(objpfx)getent): Remove rule.
17446 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17447 static-only-routines.
17448
7c69cd14
JM
174492012-03-22 Joseph Myers <joseph@codesourcery.com>
17450
17451 [BZ #13892]
17452 * math/s_cexp.c: Include <float.h>.
17453 (__cexp): Handle exp result overflowing not necessarily
17454 overflowing both real and imaginary parts of result.
17455 * math/s_cexpf.c: Likewise.
17456 * math/s_cexpl.c: Likewise.
17457 * math/libm-test.inc (cexp_test): Add more tests.
17458 * sysdeps/i386/fpu/libm-test-ulps: Update.
17459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17460
81b035fe
L
174612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17462
17463 * include/link.h (ELFW): New macro.
17464 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17465 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17466
1da7940c
L
174672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17468
17469 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17470 with uint64_t.
17471
b749dbb9
L
174722012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17473
17474 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17475 declaration.
17476 (struct La_x32_retval): Likewise.
17477
2ff87f3f
L
174782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17479
17480 * sysdeps/x86_64/preconfigure.in: New file.
17481 * sysdeps/x86_64/preconfigure: New generated file.
17482
c0df8e69
JM
174832012-03-22 Joseph Myers <joseph@codesourcery.com>
17484
48e44791
JM
17485 [BZ #13824]
17486 * math/e_exp2l.c: Include <float.h>.
17487 (__ieee754_exp2l): Handle overflow and underflow cases
17488 separately. Only pass fractional part of argument to
17489 __ieee754_expl.
17490 * math/libm-test.inc (exp2_test): Add more tests.
17491
c0df8e69
JM
17492 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17493 negating x to take absolute value.
17494 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17495 Likewise.
17496 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17497 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17498 Likewise.
17499 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17500 computing low part if x was negated.
17501 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17502
c8e43ba7
L
175032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17504
17505 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17506 la_x32_gnu_pltexit.
17507 (pltexit): Cast int_retval to ptrdiff_t.
17508 * elf/tst-auditmod3b.c: Likewise.
17509 * elf/tst-auditmod4b.c: Likewise.
17510 * elf/tst-auditmod5b.c: Likewise.
17511 * elf/tst-auditmod6b.c: Likewise.
17512 * elf/tst-auditmod6c.c: Likewise.
17513 * elf/tst-auditmod7b.c: Likewise.
17514
17515 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17516 and x32_gnu_pltexit.
17517
17518 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17519 __ELF_NATIVE_CLASS.
17520 (La_x32_regs): New macro.
17521 (La_x32_retval): Likewise.
17522 (la_x32_gnu_pltenter): New function prototype.
17523 (la_x32_gnu_pltexit): Likewise.
17524
7998fa78
AS
175252012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17526
dcb33988
AS
17527 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17528 exponent.
17529
233fc563
AS
17530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17531
7998fa78
AS
17532 * configure.in (libc_cv_cc_nofma): Check for option to disable
17533 generation of FMA instructions.
17534 * configure: Regenerate.
17535 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17536 * sysdeps/ieee754/dbl-64/Makefile: New file.
17537 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17538 Remove brandred-fma4.
17539 (CFLAGS-brandred-fma4.c): Remove.
17540 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17541 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17542 define.
17543 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17544 define.
17545
8e95c99a
L
175462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17547
17548 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17549 LLONG_MAX != LONG_MAX.
17550 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17551 (_fitoa_word): Likewise.
17552 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17553 LLONG_MAX != LONG_MAX.
17554 * stdio-common/_itowa.h: Include <_itoa.h>.
17555 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17556 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17557 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17558 only if not defined.
17559 (_ITOA_WORD_TYPE): Likewise.
17560 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17561 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17562
6f4db457
DM
175632012-03-21 David S. Miller <davem@davemloft.net>
17564
17565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17566
7785fe5a
L
175672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17568
17569 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17570 of x86_64 when setting libc_cv_slibdir, libdir and
17571 libc_cv_localedir.
17572 * sysdeps/unix/sysv/linux/configure: Regenerated.
17573
4535cd55
JM
175742012-03-21 Joseph Myers <joseph@codesourcery.com>
17575
17576 * manual/lang.texi (Old Varargs): Remove section.
17577 (How Variadic): Update menu.
17578 (va_start): Do not mention varargs.h.
17579
17228132
TS
175802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17581 Joseph Myers <joseph@codesourcery.com>
17582
17583 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17584 link test.
17585 * configure: Regenerated.
17586
8149f976
TS
175872012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17588
05f3d1f6
UD
17589 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17590 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17591 conformtest.pl
8149f976 17592
1a4ac776
JM
175932012-03-21 Joseph Myers <joseph@codesourcery.com>
17594
be22ce65
JM
17595 * NOTES: Remove.
17596 * Makefile (files-for-dist): Remove NOTES.
17597 (NOTES): Remove rule.
17598 * README: Don't refer to NOTES.
17599 * manual/creature.texi: Don't include macros.texi.
17600 * manual/intro.texi (creature.texi): Remove comment referring to
17601 NOTES.
17602
40b601fb
JM
17603 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17604 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17605 * configure: Regenerated.
17606 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17607 LIBC_TRY_CC_OPTION.
17608 (libc_cv_as_i686): Likewise.
17609 (libc_cv_cc_avx): Likewise.
17610 (libc_cv_cc_sse2avx): Likewise.
17611 (libc_cv_cc_fma4): Likewise.
17612 (libc_cv_cc_novzeroupper): Likewise.
17613 * sysdeps/i386/configure: Regenerated.
17614
1a4ac776
JM
17615 [BZ #13883]
17616 * sysdeps/i386/fpu/s_cexp.S: Remove.
17617 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17618 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17619 * math/libm-test.inc (cexp_test): Add more tests.
17620 * sysdeps/i386/fpu/libm-test-ulps: Update.
17621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17622
a458e7fe
AM
176232012-03-21 Allan McRae <allan@archlinux.org>
17624
17625 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17626
0cb7efc5
JM
176272012-03-21 Joseph Myers <joseph@codesourcery.com>
17628
17629 [BZ #13871]
17630 * math/w_exp2.c: Do not include <float.h>.
17631 (o_threshold, u_threshold): Remove.
17632 (__exp2): Calculate result before checking finiteness and calling
17633 __kernel_standard.
17634 * math/w_exp2f.c: Likewise.
17635 * math/w_exp2l.c: Likewise.
17636 * math/libm-test.inc (exp2_test): Require overflow exception for
17637 1e6 input.
2460d3aa
JM
17638
17639 [BZ #3866]
17640 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17641 range of signed 64-bit integers before using fistpll. Remove
17642 checks for whether integers fit in mantissa bits.
17643 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17644 the range of signed 32-bit integers before using fistpl. Remove
17645 checks for whether integers fit in mantissa bits.
17646 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17647 (__ieee754_powl): Test for y outside the range of signed 64-bit
17648 integers before using fistpll. Reduce 64-bit values to 63-bit
17649 ones as needed.
17650 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17651 divide-by-zero is raised for zero to large negative powers.
17652 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17653 (__ieee754_powl): Test for y outside the range of signed 64-bit
17654 integers before using fistpll. Reduce 64-bit values to 63-bit
17655 ones as needed.
17656 * math/libm-test.inc (pow_test): Add more tests.
17657
eb96ffb0
L
176582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17659
17660 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17661 <stdio-common/_itoa.h>.
17662 * debug/segfault.c: Likewise.
17663 * elf/dl-cache.c: Likewise.
17664 * elf/dl-minimal.c: Likewise.
17665 * elf/dl-misc.c: Likewise.
17666 * elf/dl-sysdep.c: Likewise.
17667 * elf/dl-version.c: Likewise.
17668 * elf/rtld.c: Likewise.
17669 * hurd/hurdsock.c: Likewise.
17670 * hurd/lookup-retry.c: Likewise.
17671 * malloc/malloc.c: Likewise.
17672 * malloc/mtrace.c: Likewise.
17673 * nscd/nscd_getgr_r.c: Likewise.
17674 * nscd/nscd_getpw_r.c: Likewise.
17675 * nscd/nscd_getserv_r.c: Likewise.
17676 * posix/getopt_init.c: Likewise.
17677 * posix/wordexp.c: Likewise.
17678 * stdio-common/_itoa.c: Likewise.
17679 * stdio-common/printf_fphex.c: Likewise.
17680 * stdio-common/vfprintf.c: Likewise.
17681 * string/_strerror.c: Likewise.
17682 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17683 * sysdeps/i386/i686/hp-timing.h: Likewise.
17684 * sysdeps/mach/_strerror.c: Likewise.
17685 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17686 * sysdeps/mach/hurd/sethostid.c: Likewise.
17687 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17688 * sysdeps/mach/xpg-strerror.c: Likewise.
17689 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17690 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17691 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17692 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17693 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17694 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17695 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17696 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17697 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17698 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17699 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17700 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17701 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17702 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17703 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17704 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17705 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17706 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17707 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17708 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17709 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17710
17711 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17712
17713 * stdio-common/_itoa.h: Moved to ...
17714 * sysdeps/generic/_itoa.h: Here.
17715
17716 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17717
17718 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17719 instead of "_itoa.h" and "_itowa.h".
17720 * stdio-common/vfprintf.: Likewise.
17721
d1af992d
L
177222012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17723
17724 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17725 <bits/wordsize.h>.
17726 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17727 (__signbit): Likwise.
17728 (llrintf): Likwise.
17729 (llrint): Likwise.
17730
114883e0
L
177312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17732
17733 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17734 __WORDSIZE != 64.
17735
c135cc1b
JM
177362012-03-20 Joseph Myers <joseph@codesourcery.com>
17737
17738 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17739 OVERFLOW_EXCEPTION_OK.
17740 * math/libm-test.inc ("Philosophy"): Update comment about
17741 exception testing.
17742 (OVERFLOW_EXCEPTION): Define.
17743 (OVERFLOW_EXCEPTION_OK): Likewise.
17744 (INVALID_EXCEPTION_OK): Renumber.
17745 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17746 (IGNORE_ZERO_INF_SIGN): Likewise.
17747 (test_exceptions): Handle FE_OVERFLOW.
17748 (exp10_test): Expect overflow exceptions.
17749 (exp2_test): Likewise.
17750 (expm1_test): Likewise.
17751 (nextafter_test): Likewise.
17752 (pow_test): Likewise.
17753 (scalbn_test): Likewise.
17754 (scalbln_test): Likewise.
17755
95443d88
L
177562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17757
17758 * sysdeps/x86_64/bits/atomic.h
17759 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17760 64bit integer.
17761 (atomic_exchange_acq): Likewise.
17762 (__arch_exchange_and_add_body): Likewise.
17763 (__arch_add_body): Likewise.
17764 (atomic_add_negative): Likewise.
17765 (atomic_add_zero): Likewise.
17766
490df6c4
L
177672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17768
c2722551 17769 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17770 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17771
5e52b189
L
177722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17773
17774 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17775 Check __x86_64__ instead of __WORDSIZE.
17776
a9879d4c
L
177772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17778
17779 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17780
5df98260
DM
177812012-03-19 David S. Miller <davem@davemloft.net>
17782
e1497744
DM
17783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17784
5df98260
DM
17785 * sysdeps/sparc/fpu/fenv_private.h: New file.
17786 * sysdeps/sparc/fpu/math_private.h: Use it.
17787 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17788 Remove.
17789 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17790 (libc_feholdexcept_setroundl): Remove.
17791 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17792 Remove.
17793 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17794 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17795
b4c35121
L
177962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17797
17798 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17799 int64_t instead of long int.
17800 (INSERT_WORDS64): Likwise.
17801
56965fd7
L
178022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17803
17804 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17805 _Unwind_GetCFA return to _Unwind_Ptr first.
17806
83d1aec8
JM
178072012-03-19 Joseph Myers <joseph@codesourcery.com>
17808
1897ad44
JM
17809 [BZ #13629]
17810 * math/s_clog.c: Include <float.h>.
17811 (__clog): Scale large or subnormal inputs.
17812 * math/s_clogf.c: Likewise.
17813 * math/s_clogl.c: Likewise.
17814 * math/s_clog10.c: Include <float.h>.
17815 (M_LOG10_2): Define.
17816 (__clog10): Scale large or subnormal inputs.
17817 * math/s_clog10f.c: Likewise.
17818 * math/s_clog10l.c: Likewise.
17819 * math/libm-test.inc (clog_test): Add more tests.
17820 (clog10_test): Likewise.
17821 * sysdeps/i386/fpu/libm-test-ulps: Update.
17822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17823
7726d6a9
JM
17824 [BZ #11451]
17825 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17826 x and y.
17827 * math/libm-test.inc (atan2_test): Add another test.
17828
83d1aec8
JM
17829 * Makerules (common-objdir-compile): Remove.
17830 * sysdeps/unix/Makefile (config-generated): Do not add
17831 $(unix-generated) to variable.
17832 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17833 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17834 Remove rule.
17835 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17836 Likewise.
17837 [generic bits/local_lim.h] (before-compile): Do not append to
17838 variable.
17839 [generic bits/local_lim.h] (common-generated): Likewise.
17840 [generic sys/param.h] (before-compile): Do not append to variable.
17841 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17842 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17843 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17844 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17845 include.
17846 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17847 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17848 [generic sys/param.h] ($(addprefix
17849 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17850 [generic sys/param.h] (common-generated): Do not append to
17851 variable.
17852 [generic sys/param.h] (sysdep_headers): Likewise.
17853 [generic bits/errno.h] (before-compile): Do not append to
17854 variable.
17855 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17856 rule.
17857 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17858 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17859 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17860 [generic bits/errno.h] (common-generated): Do not append to
17861 variable.
17862 [generic bits/ioctls.h] (before-compile): Do not append to
17863 variable.
17864 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17865 rule.
17866 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17867 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17868 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17869 rule.
17870 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17871 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17872 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17873 [generic bits/ioctls.h] (common-generated): Do not append to
17874 variable.
17875 [generic sys/syscall.h] (syscall.h): Remove variable.
17876 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17877 rule.
17878 [generic sys/syscall.h] (before-compile): Do not append to
17879 variable.
17880 [generic sys/syscall.h] (common-generated): Likewise.
17881 * sysdeps/unix/errnos-tmpl.c: Remove file.
17882 * sysdeps/unix/errnos.awk: Likewise.
17883 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17884 * sysdeps/unix/ioctls.awk: Likewise.
17885 * sysdeps/unix/mk-local_lim.c: Likewise.
17886 * sysdeps/unix/snarf-ioctls: Likewise.
17887
4851a949
RH
178882012-03-19 Richard Henderson <rth@twiddle.net>
17889
bd37f2ee
RH
17890 * sysdeps/i386/fpu/fenv_private.h: New file.
17891 * sysdeps/i386/fpu/math_private.h: Use it.
17892 (math_opt_barrier, math_force_eval): Remove.
17893 (libc_feholdexcept_setround_53bit): Remove.
17894 (libc_feupdateenv_53bit): Remove.
17895 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17896 (math_opt_barrier, math_force_eval): Remove.
17897 (libc_feholdexcept): Remove.
17898 (libc_feholdexcept_setround): Remove.
17899 (libc_fetestexcept, libc_fesetenv): Remove.
17900 (libc_feupdateenv_test): Remove.
17901 (libc_feupdateenv, libc_feholdsetround): Remove.
17902 (libc_feresetround): Remove.
17903
d0adc922
RH
17904 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17905 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17906
0fe0f1f8
RH
17907 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17908 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17909 (libc_feupdateenv_testl): New.
17910 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17911 (libc_feupdateenv_testf): New.
17912 (libc_feupdateenv): Use libc_feupdateenv_test.
17913 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17914 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17915
eb92c487
RH
17916 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17917 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17918 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17919 (libc_feresetround_noex): New.
17920 (libc_feresetround_noexf): New.
17921 (libc_feresetround_noexl): New.
17922 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17923 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17924 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17925 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17926 SET_RESTORE_ROUND.
17927 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17928 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17929 (__cos): Likewise.
17930 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17931 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17932 SET_RESTORE_ROUND_NOEX.
17933 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17934 SET_RESTORE_ROUND_NOEXF.
17935 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17936 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17937 (libc_feholdsetroundf): New.
17938 (libc_feresetround, libc_feresetroundf): New.
17939
7d2e8012
RH
17940 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17941 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17942 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17943
b4dabbb4
RH
17944 * sysdeps/generic/math_private.h: Include <fenv.h>.
17945 (default_libc_feholdexcept): New.
17946 (default_libc_feholdexcept_setround): New.
17947 (default_libc_fesetenv, default_libc_feupdateenv): New.
17948 (libc_feholdexcept): Only define if undefined.
17949 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17950 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17951 (libc_feholdexcept_setroundl): Likewise.
17952 (libc_feholdexcept_setround_53bit): Likewise.
17953 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17954 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17955 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17956 (libc_feupdateenv_53bit): Likewise.
17957 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17958 (libc_feholdexcept): Convert from macro to inline function.
17959 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17960 (libc_fesetenv, libc_feupdateenv): Likewise.
17961
4851a949
RH
17962 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17963 not previously defined.
17964 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17965 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17966 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17967 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17968 * sysdeps/ieee754/flt-32/math_private.h: New file.
17969 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17970 math_private.h below SET_FLOAT_WORD.
17971 (__isnan, __isinf_ns, __finite): Remove.
17972 (__isnanf, __isinf_nsf, __finitef): Remove.
17973
e79d442e
AS
179742012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17975
17976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17977
90b80344
DM
179782012-03-17 David S. Miller <davem@davemloft.net>
17979
17980 [BZ #6471]
17981 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17982 for 2.16.
17983
edc21804
DM
179842012-03-16 David S. Miller <davem@davemloft.net>
17985
77e927af
DM
17986 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17987 warnings.
17988
374976dd
DM
17989 [BZ #6471]
17990 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17991 properly.
17992 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17993 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17994 sysdep_routines when subdir is sysvipc.
17995 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17996 __getshmlba helper.
17997
edc21804
DM
17998 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17999
473c3ef3
L
180002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18001
18002 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18003 [__LP64__].
18004
eb0f39b6
L
180052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18006
18007 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18008 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18009 (__lround): Renamed to ...
18010 (__llround): This. Replace long int with long long int.
18011 Define lround functions as aliases of llround functions.
18012 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18013
6b6cd74b
L
180142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18015
18016 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18017 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18018 adresses to uintptr_t. Replace "long int" and "unsigned long
18019 int" with "greg_t" on va_arg.
18020
f1a77b01
L
180212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18022
18023 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18024 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18025
18026 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18027 Move e_machine check before EI_CLASS check. Handle x32
18028 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18029 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18030 SKIP_EM_IA_64 and include
18031 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18032
18033 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18034 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18035 (add_system_dir): New macro.
18036
18037 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18038 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18039
11b90b9f
JM
180402012-03-16 Joseph Myers <joseph@codesourcery.com>
18041
c36e1d23
JM
18042 [BZ #2551]
18043 [BZ #2552]
18044 [BZ #2553]
18045 [BZ #2554]
18046 [BZ #2562]
18047 [BZ #2563]
18048 [BZ #2565]
18049 [BZ #2566]
18050 [BZ #2576]
18051 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18052 (y0): Likewise.
18053 * math/w_j0f.c (j0f): Likewise.
18054 (y0f): Likewise.
18055 * math/w_j0l.c (__j0l): Likewise.
18056 (__y0l): Likewise.
18057 * math/w_j1.c (j1): Likewise.
18058 (y1): Likewise.
18059 * math/w_j1f.c (j1f): Likewise.
18060 (y1f): Likewise.
18061 * math/w_j1l.c (__j1l): Likewise.
18062 (__y1l): Likewise.
18063 * math/w_jn.c (jn): Likewise.
18064 (yn): Likewise.
18065 * math/w_jnf.c (jnf): Likewise.
18066 (ynf): Likewise.
18067 * math/w_jnl.c (__jnl): Likewise.
18068 (__ynl): Likewise.
18069 * math/libm-test.inc (j0_test): Add more tests.
18070 (j1_test): Likewise.
18071 (jn_test): Likewise. Add trailing semicolon to existing test.
18072 (y0_test): Likewise.
18073 (y1_test): Likewise.
18074 * sysdeps/i386/fpu/libm-test-ulps: Update.
18075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18076
11b90b9f
JM
18077 [BZ #13851]
18078 [BZ #13854]
18079 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18080 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18081 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18082 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18083 (__tanl): Set errno for infinite argument.
18084 * sysdeps/i386/fpu/mptan.c: Remove.
18085 * sysdeps/i386/fpu/s_tan.S: Likewise.
18086 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18087 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18088 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18089 * math/libm-test.inc (tan_test): Add more tests and enable more
18090 tests for double and long double.
18091 * sysdeps/i386/fpu/libm-test-ulps: Update.
18092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18093
6a1bd2a1
JK
180942012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18095
18096 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18097 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18098
10a803e0
RM
180992012-03-16 Roland McGrath <roland@hack.frob.com>
18100
18101 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18102 * configure.in: Use it for both main tree and add-ons.
18103 * configure: Regenerated.
18104
f196c7f7
L
181052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18106
18107 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18108
8848d99d
JM
181092012-03-16 Joseph Myers <joseph@codesourcery.com>
18110
96cbe7f4
JM
18111 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18112 in comment.
18113
8848d99d
JM
18114 [BZ #13851]
18115 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18116 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18117 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18118 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18119 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18120 infinite argument.
18121 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18122 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18123 != 0 for prec == 2.
18124 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18125 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18126 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18127 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18128 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18129 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18130 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18131 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18132 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18133 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18134 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18135 * math/libm-test.inc (cos_test): Add more tests and enable more
18136 tests for long double.
18137 (sin_test): Likewise.
18138 (sincos_test): Likewise.
18139 * sysdeps/i386/fpu/libm-test-ulps: Update.
18140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18141
dd7f4703
DM
181422012-03-16 David S. Miller <davem@davemloft.net>
18143
18144 * sysdeps/sparc/fpu/math_private.h: New file.
18145
006f1daa
DM
181462012-03-15 David S. Miller <davem@davemloft.net>
18147
c0c83bc8
DM
18148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18149 file.
e6a62e18 18150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18152 file.
e6a62e18
DM
18153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18158 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18159 sysdep routines.
18160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18161
88cb87d9
DM
18162 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18163 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18164
006f1daa 18165 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18167 sparc-ifunc.h
006f1daa 18168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18170 Likewise.
18171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18172 Likewise.
006f1daa
DM
18173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18177 Likewise.
006f1daa
DM
18178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18183 Likewise.
18184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18185 Likewise.
006f1daa
DM
18186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18190 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18191 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18192 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18193 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18194 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18195 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18200 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18201 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18202 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18204 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18205 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18206 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18207 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18208 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18209 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18210
11e0098e
AS
182112012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18212
18213 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18214 scaling.
18215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18216
e85b09d0
AJ
182172012-03-15 Andreas Jaeger <aj@suse.de>
18218
18219 [BZ #13852]
18220 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18221 ieee754/flt-32 implementation for sin, cos and sincos.
18222 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18223 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18224 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18225 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18226 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18227 ieee754/flt-32 implementation for tan.
18228
18229 * math/libm-test.inc (cos_test): Enable some large input tests for
18230 float as well
18231 (sin_test): Likewise.
18232 (sincos_test): Likewise.
18233 (tan_test): Add tests for large input.
18234
18235 * sysdeps/i386/fpu/libm-test-ulps: Update.
18236
81c64153
AJ
182372012-03-15 Andreas Jaeger <aj@suse.de>
18238
18239 [BZ #13658]
18240 * math/libm-test.inc (cos_test): Add more test cases.
18241 (sin_test): Likewise.
18242 (sincos_test): Likewise.
18243
7bbfa5c6
AJ
182442012-03-15 Andreas Jaeger <aj@suse.de>
18245
18246 [BZ #13837]
18247 * math/libm-test.inc (cos_test): Add a test case for large input
18248 value.
18249 (sin_test): Likewise.
18250 (sincos_test): Likewise.
18251
182522012-03-15 Andreas Jaeger <aj@suse.de>,
18253 Joseph Myers <joseph@codesourcery.com>
18254
18255 [BZ #13658]
0671f479 18256 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18257 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18258 * sysdeps/i386/fpu/branred.c: Likewise.
18259 * sysdeps/i386/fpu/dosincos.c: Likewise.
18260 * sysdeps/i386/fpu/mpa.c: Likewise.
18261 * sysdeps/i386/fpu/s_cos.S: Likewise.
18262 * sysdeps/i386/fpu/s_sin.S: Likewise.
18263 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18264 * sysdeps/i386/fpu/sincos32.c: Likewise.
18265
18266 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18267 Define.
18268 (libc_feupdateenv_53bit): Define.
18269 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18270 Define.
18271 (libc_feupdateenv_53bit): Define.
18272
18273 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18274 53 bit (without extend i386 double precision).
18275
18276 * math/libm-test.inc (sincos_test): Add tests for large input.
18277 (sin): Likewise.
18278 (cos): Likewise.
18279
18280 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18281
9cad04ea
AS
182822012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18283
18284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18285
f7062b9a
DM
182862012-03-15 David S. Miller <davem@davemloft.net>
18287
18288 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18289 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18290 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18291 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18304 file.
f7062b9a 18305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
18306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18307 file.
f7062b9a 18308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
18309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18310 file.
f7062b9a 18311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
18312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18313 file.
f7062b9a
DM
18314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18315 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18316 fmin/fmax sysdep routines.
18317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18318
7bd951ff
DM
183192012-03-14 David S. Miller <davem@davemloft.net>
18320
559398ab
DM
18321 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18323 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18325 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18326 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18327 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18328 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18329 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18331 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18332 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18338 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18339 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18340 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18341 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18342 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18343 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18344 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18345 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18346 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18347 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18348 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18349 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18350 routines.
18351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18352 file.
559398ab 18353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18355 file.
559398ab 18356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18358 file.
559398ab 18359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18361 file.
559398ab 18362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18364 file.
559398ab 18365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18367 file.
18368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18369 file.
18370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18371 file.
18372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18373 file.
18374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18375 New file.
18376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18377 file.
18378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18379 file.
559398ab 18380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18382 file.
559398ab 18383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18385 file.
559398ab 18386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18388 file.
559398ab 18389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18391 VIS3 routines.
559398ab
DM
18392
18393 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18394 New file.
18395
5a1c1e32
DM
18396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18397
eae47a36
DM
18398 * sysdeps/sparc/configure.in: New file.
18399 * sysdeps/sparc/configure: Generate.
18400 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18401 * configure: Regenerate.
18402 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18403 * config.make.in (have-as-vis3): New.
18404 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18405 available use -Av9d instead of -Av9a.
18406 * sysdeps/sparc/sparc64/Makefile: Likewise.
18407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18409 New file.
18410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18411 file.
18412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18413 New file.
18414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18415 file.
eae47a36
DM
18416 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18417 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18418 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18419 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18420 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18421
c0c83bc8
DM
18422 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18423 fzeros/fnegs to load 0x80000000 into a float register instead of
18424 using the stack.
7bd951ff
DM
18425 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18426
bd951ccb
JM
184272012-03-14 Joseph Myers <joseph@codesourcery.com>
18428
18429 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18430 bits/syscall.h.
18431 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18432 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18433 ($(inst_includedir)/bits/syscall.h): Remove rule.
18434 ($(objpfx)bits/syscall.d): Include instead of
18435 $(objpfx)syscall-list.d.
18436 (generated): Change syscall-list.h and syscall-list.d to
18437 bits/syscall.h and bits/syscall.d.
18438
bb4e6db2
RM
184392012-03-14 Roland McGrath <roland@hack.frob.com>
18440
18441 [BZ #13846]
18442 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18443
aa4a2ae1
JM
184442012-03-14 Joseph Myers <joseph@codesourcery.com>
18445
e456826d
JM
18446 [BZ #13841]
18447 * math/s_csqrt.c: Include <float.h>.
18448 (__csqrt): Scale large or subnormal inputs.
18449 * math/s_csqrtf.c: Likewise.
18450 * math/s_csqrtl.c: Likewise.
18451 * math/libm-test.inc (csqrt_test): Add more tests.
18452 * sysdeps/i386/fpu/libm-test-ulps: Update.
18453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18454
aa4a2ae1
JM
18455 [BZ #13840]
18456 * math/libm-test.inc (hypot_test): Add more tests.
18457
7c10fd35
DM
184582012-03-13 David S. Miller <davem@davemloft.net>
18459
18460 [BZ #13840]
18461 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18462 double-precision for the calculation instead of scaling.
18463
f453b98b
JM
184642012-03-13 Joseph Myers <joseph@codesourcery.com>
18465
18466 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18467 manipulate bits before adding and subtracting TWO52[sx].
18468 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18469 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18470 Likewise.
18471 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18472
09a3453f
DM
184732012-03-13 David S. Miller <davem@davemloft.net>
18474
8e59da90
DM
18475 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18476 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18477 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18478 rtld-global-offsets.h
18479 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18480
2a8ab7f2
DM
18481 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18482 large parameters.
18483
10f62770
DM
18484 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18485
5f0bdb18
DM
18486 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18487 'err' in the ifdef scope in which it is actually used.
18488
09a3453f
DM
18489 * nss/nss_db/db-init.c: Include string.h
18490
b4b2eb5e
DM
184912012-03-12 David S. Miller <davem@davemloft.net>
18492
98bb2f1c
DM
18493 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18494 masking out of the most significant byte of random value used.
18495 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18496 Fix coding style in previous change.
18497
b4b2eb5e
DM
18498 * sysdeps/unix/sysv/linux/kernel-features.h
18499 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18500 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18501 expression.
18502 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18503 later.
18504
6e226b09
DM
185052012-03-11 David S. Miller <davem@davemloft.net>
18506
a1bcbd40
DM
18507 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18508 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18509 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18510 for 'resultvar' otherwise things get truncated on 64-bit.
18511
cb9d6174
DM
18512 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18513 Fix masking out of the most significant byte of random value used.
18514
6e226b09
DM
18515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18516
058c132d
AS
185172012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18518
18519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18520
2d2cd515
DM
185212012-03-09 David S. Miller <davem@davemloft.net>
18522
18523 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18524 variables with appropriate CPP guards.
18525 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18526 frame pointer, not the stack pointer. Correct layout comments. Fix test
18527 on resulting framesize and the management of the outregs buffer for pltexit.
18528 Preserve floating point return values across _dl_call_pltexit call.
18529 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18530 framesize and the management of the outregs buffer for pltexit.
18531 Preserve floating point return values across _dl_call_pltexit
18532 call.
18533 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18534 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18535 (print_exit): Fix format string for return register value.
18536
9a07f9d0
JM
185372012-03-10 Joseph Myers <joseph@codesourcery.com>
18538
18539 * sunrpc/Makefile (others): Add rpcgen.
18540 ($(objpfx)rpcgen): Remove special build rule and dependency on
18541 libc.
18542 * sunrpc/rpcgen.c: New file.
18543
547b5e30
PE
185442012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18545
c524201a
PE
18546 [BZ #13673]
18547 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18548 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18549 * sysdeps/i386/crti.S: Likewise.
18550 * sysdeps/i386/crtn.S: Likewise.
18551 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18552 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18553 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18554 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18555 * sysdeps/sh/crti.S: Likewise.
18556 * sysdeps/sh/crtn.S: Likewise.
18557 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18558
7b6235f2
PE
18559 [BZ #13673]
18560 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18561 with URL.
18562 * locale/programs/locfile-kw.gperf: Likewise.
18563 * locale/programs/charmap-kw.h: Regenerated.
18564 * locale/programs/locfile-kw.h: Likewise.
18565
547b5e30
PE
18566 [BZ #13673]
18567 * intl/plural.y: Replace FSF snail mail address with URL.
18568 * intl/plural.c: Regenerated.
18569
5f0a5dae
RH
185702012-03-09 Richard Henderson <rth@twiddle.net>
18571
18572 * include/math_private.h: Remove file.
18573 * math/math_private.h: Move file ...
18574 * sysdeps/generic/math_private.h: ... here.
18575
b8c03620
RH
18576 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18577 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18578 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18579
4e234f5d 18580 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18581 and <math_private.h>.
18582 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18583 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18584 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18585 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18586 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18587 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18588 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18589 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18590 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18591 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18593 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18594 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18595 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18596 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18597 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18598 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18599 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18600 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18601 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18602 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18603 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18604 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18605 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18606 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18607 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18608 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18609 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18610 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18611 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18612 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18613 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18614 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18615 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18616 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18617 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18618 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18619 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18620 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18621 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18622 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18623 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18624 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18625 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18626 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18627 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18628 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18629 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18630 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18631 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18632 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18633 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18634 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18635 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18636 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18637 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18638 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18639 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18640 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18641 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18642 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18643 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18644 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18645 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18646 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18647 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18648 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18649 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18650 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18651 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18652 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18653 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18654 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18655 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18656 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18657 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18658 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18659 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18660 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18661 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18662 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18663 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18664 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18665 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18666 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18667 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18668 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18669 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18670 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18671 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18672 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18673 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18674 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18675 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18676 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18677 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18678 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18679 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18680 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18681 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18682 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18683 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18684 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18685 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18686 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18687 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18688 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18689 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18690 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18691 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18692 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18693 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18694 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18695 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18696 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18697 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18698 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18699 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18700 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18701 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18702 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18703 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18704 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18705 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18706 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18707 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18708 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18709 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18710 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18711 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18712 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18713 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18714 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18715 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18716 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18717 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18718 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18719 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18720 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18721 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18722 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18723 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18724 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18725 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18726 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18727 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18728 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18729 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18730 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18731 * sysdeps/ieee754/k_standard.c: Likewise.
18732 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18733 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18734 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18735 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18736 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18737 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18738 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18739 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18740 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18741 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18742 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18743 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18744 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18745 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18746 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18747 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18748 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18749 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18750 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18751 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18752 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18753 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18754 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18755 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18756 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18757 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18758 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18759 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18760 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18761 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18762 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18763 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18765 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18766 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18767 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18768 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18769 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18770 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18772 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18774 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18775 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18776 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18777 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18778 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18780 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18781 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18782 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18809 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18810 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18811 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18822 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18823 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18829 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18831 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18832 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18833 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18834 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18835 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18836 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18837 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18838 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18839 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18840 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18841 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18842 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18843 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18844 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18845 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18847 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18848 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18849 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18850 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18851 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18852 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18853 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18854 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18855 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18856 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18857 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18858 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18859 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18860 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18861 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18862 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18863 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18864 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18865 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18866 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18867 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18868 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18869 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18870 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18871 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18872 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18873 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18874 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18875 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18876 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18877 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18878 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18879 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18880 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18881 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18882 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18883 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18884 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18885 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18886 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18887 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18888 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18889 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18890 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18891 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18892 * sysdeps/ieee754/s_lib_version.c: Likewise.
18893 * sysdeps/ieee754/s_matherr.c: Likewise.
18894 * sysdeps/ieee754/s_signgam.c: Likewise.
18895 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18896 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18897 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18898 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18899 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18900 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18901 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18902 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18903 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18904 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18905 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18906 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18907 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18908 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18909 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18910 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18911 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18912 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18913 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18914 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18915 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18916
1991fa03
JM
189172012-03-09 Joseph Myers <joseph@codesourcery.com>
18918
18919 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18920 * sunrpc/rpc_main.c: Likewise.
18921 * sunrpc/rpc_svcout.c: Likewise.
18922
60d6f5a6
DM
189232012-03-09 David S. Miller <davem@davemloft.net>
18924
18925 * include/math_private.h: New file.
18926
4962050e
JM
189272012-03-09 Joseph Myers <joseph@codesourcery.com>
18928
02a6f887
JM
18929 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18930 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18931 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18932 from <bits/socket_type.h>.
18933 (enum __socket_type): Don't define here.
18934 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18936 bits/socket_type.h.
18937
c6e013c1
JM
18938 [BZ #13566]
18939 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18940 checking __USE_GNU.
18941
4962050e
JM
18942 * Makerules ($(inst_includedir)/%.h): New rule.
18943 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18944 (install-others): Remove variable setting.
18945 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18946
38842f45
RH
189472012-03-08 Richard Henderson <rth@twiddle.net>
18948
67bb6da6
RH
18949 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18950 from macro to inline function; merge with the
18951 !__LIBC_INTERNAL_MATH_INLINES version.
18952 (__ieee754_sqrtf): Likewise.
18953
15194b4b
RH
18954 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18955 to inline function.
18956 (__rintf, __floor, __floorf): Likewise.
18957
64e21ede
RH
18958 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18959 macro to inline function.
18960 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18961
38842f45
RH
18962 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18963 not <math/math_private.h>.
18964
c64bf5fe
DM
189652012-03-08 David S. Miller <davem@davemloft.net>
18966
18967 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18968 copyright year.
18969 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18970
82d86f28
TS
189712012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18972
18973 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18974 normalization.
18975 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18976 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18977
aea5d727
UD
189782012-03-08 Ulrich Drepper <drepper@gmail.com>
18979
18980 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18981 be defined individually, they must be defined as a block. Define
18982 S for printing a string instead of hidint the different by using a
18983 macro for adding the 'l'.
18984 * stdio-common/tst-fphex-wide.c: Adjust.
18985
70bca0a3
MP
189862012-03-07 Marek Polacek <polacek@redhat.com>
18987
18988 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18989
65b81130
MP
189902012-03-08 Marek Polacek <polacek@redhat.com>
18991
18992 [BZ #13806]
18993 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18994 * stdio-common/tst-fphex.c: Define a few macros to make the
18995 test reusable. Use them.
18996 * stdio-common/tst-fphex-wide.c: New file.
18997
07037eeb
JM
189982012-03-08 Joseph Myers <joseph@codesourcery.com>
18999
a7a93d50
JM
19000 [BZ #6911]
19001 * manual/macros.texi (gnusystems): New macro.
19002 (nongnusystems): Likewise.
19003 (gnulinuxhurdsystems): Likewise.
19004 (gnuhurdsystems): Likewise..
19005 (gnulinuxsystems): Likewise.
19006 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19007 variants of the GNU system, not "GNU system".
19008 * manual/conf.texi: Likewise.
19009 * manual/errno.texi: Likewise. Update example of errno macro
19010 expansion.
19011 * manual/filesys.texi: Likewise.
19012 (getumask): Document as specific to GNU/Hurd.
19013 * manual/install.texi: Likewise. Reword some references to
19014 GNU/Linux.
19015 * manual/intro.texi: Likewise.
19016 * manual/io.texi: Likewise.
19017 (File Name Portability): Detail which constraints are inapplicable
19018 to all GNU systems and which are only inapplicable to GNU/Hurd.
19019 * manual/job.texi: Likewise.
19020 * manual/llio.texi: Likewise.
19021 (O_NOCTTY): Document as present on GNU/Linux.
19022 * manual/maint.texi: Likewise.
19023 * manual/memory.texi: Likewise.
19024 * manual/pattern.texi: Likewise.
19025 * manual/pipe.texi: Likewise.
19026 * manual/process.texi: Likewise.
19027 * manual/resource.texi: Likewise.
19028 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19029 child on GNU/Hurd.
19030 * manual/setjmp.texi: Likewise.
19031 * manual/signal.texi: Likewise.
19032 * manual/startup.texi: Likewise.
19033 * manual/stdio.texi: Likewise.
19034 * manual/terminal.texi: Likewise.
19035 (ONLCR): Document as POSIX.
19036 (OXTABS): Document availability on GNU/Linux as XTABS.
19037 (ONOEOT): Document availability separately from other bits.
19038 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19039 * manual/time.texi: Likewise.
19040 * manual/users.texi: Likewise.
19041 * INSTALL: Regenerated.
19042 * sysdeps/gnu/errlist.c: Regenerated.
19043
07037eeb
JM
19044 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19045 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19046 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19047 puts.
19048 * configure: Regenerated.
19049
d1d3431a
JM
190502012-03-07 Joseph Myers <joseph@codesourcery.com>
19051
af6a1e37
JM
19052 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19053 default includes instead of AC_HEADER_CHECK.
19054 * sysdeps/i386/configure: Regenerated.
19055
d1d3431a
JM
19056 [BZ #10716]
19057 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19058 * math/s_cacoshf.c (__cacoshf): Likewise.
19059 * math/s_cacoshl.c (__cacoshl): Likewise.
19060 * math/s_casinh.c (__casinh): Set signs of result from argument.
19061 * math/s_casinhf.c (__casinhf): Likewise.
19062 * math/s_casinhl.c (__casinhl): Likewise.
19063 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19064 (casinh_test): Add more tests.
19065 * sysdeps/i386/fpu/libm-test-ulps: Update.
19066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19067
482ff4da
UD
190682012-03-07 Ulrich Drepper <drepper@gmail.com>
19069
872fda05
UD
19070 * po/zh_TW.po: Update from translation team.
19071
a4300c7a
UD
19072 * login/Makefile (distribute): Remove variable.
19073 * catgets/Makefile: Likewise.
19074 * mach/Makefile: Likewise.
19075 * malloc/Makefile: Likewise.
19076 * misc/Makefile: Likewise.
19077 * iconv/Makefile: Likewise.
19078 * nscd/Makefile: Likewise.
19079 * hurd/Makefile: Likewise.
19080 * manual/Makefile: Likewise.
19081 * locale/Makefile: Likewise.
19082 * intl/Makefile: Likewise.
19083 * conform/Makefile: Likewise.
19084 * nss/Makefile: Likewise.
19085 * time/Makefile: Likewise.
19086 * soft-fp/Makefile: Likewise.
19087 * dirent/Makefile: Likewise.
19088 * gmon/Makefile: Likewise.
19089 * po/Makefile: Likewise.
19090 * rt/Makefile: Likewise.
19091 * socket/Makefile: Likewise.
19092 * math/Makefile: Likewise.
19093 * signal/Makefile: Likewise.
19094 * debug/Makefile: Likewise.
19095 * elf/Makefile: Likewise.
19096 * timezone/Makefile: Likewise.
19097 * stdlib/Makefile: Likewise.
19098 * iconvdata/Makefile: Likewise.
19099 * sunrpc/Makefile: Likewise.
19100 * io/Makefile: Likewise.
19101 * argp/Makefile: Likewise.
19102 * inet/Makefile: Likewise.
19103 * hesiod/Makefile: Likewise.
19104 * grp/Makefile: Likewise.
19105 * csu/Makefile: Likewise.
19106 * wctype/Makefile: Likewise.
19107 * crypt/Makefile: Likewise.
19108 * libio/Makefile: Likewise.
19109 * string/Makefile: Likewise.
19110 * nis/Makefile: Likewise.
19111 * resolv/Makefile: Likewise.
19112 * stdio-common/Makefile: Likewise.
19113 * wcsmbs/Makefile: Likewise.
19114 * dlfcn/Makefile: Likewise.
19115 * posix/Makefile: Likewise.
19116
3b7c4e74 19117 [BZ #6959]
482ff4da
UD
19118 * timezone/Makefile: Don't install timezone files, just the programs
19119 and scripts.
19120
f72ed77d
UD
191212012-03-06 Ulrich Drepper <drepper@gmail.com>
19122
a000466f
UD
19123 * nss/databases.def: Add missing gshadow entry.
19124
f72ed77d
UD
19125 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19126
a53b7a4e
MP
191272012-03-06 Marek Polacek <polacek@redhat.com>
19128
19129 [BZ #13726]
19130 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19131 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19132 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19133 * stdio-common/tst-long-dbl-fphex.c: New file.
19134
e9258400
DM
191352012-03-06 David S. Miller <davem@davemloft.net>
19136
19137 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19138 (set_obp_int): New function.
19139 (get_obp_int): New function.
19140 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19141 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19142 Avoid unused variable warnings on 'val' and use builtin_expect.
19143 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19144 __builtin_expect.
e9258400
DM
19145 (INLINE_CLONE_SYSCALL): Likewise.
19146
3bd2c723
DM
191472012-03-05 David S. Miller <davem@davemloft.net>
19148
19149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19150
bbb78d03
AS
191512012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19152
884c5db4
AS
19153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19154
bbb78d03
AS
19155 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19156 only for |x| >= 40.
19157 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19158
1c9f702a 191592012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19160
19161 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19162 Replace gettimeofday with __vdso_gettimeofday.
19163
7be16f82
RM
19164 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19165 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19166 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19167
19168 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19169 time with __vdso_time.
19170
ed58a00f
JM
191712012-03-05 Joseph Myers <joseph@codesourcery.com>
19172
19173 * manual/lang.texi (size_t): Note types to which size_t may be
19174 equivalent with the GNU C Library, but do not describe when
19175 differences between them are significant.
19176
30ee4ced
AJ
191772012-03-05 Andreas Jaeger <aj@suse.de>
19178
19179 * sysdeps/i386/fpu/libm-test-ulps: Update.
19180
b7cd39e8
JM
191812012-03-05 Joseph Myers <joseph@codesourcery.com>
19182
19183 [BZ #3976]
19184 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19185 (__ieee754_pow): Save and restore rounding mode and use
19186 round-to-nearest for main computations.
19187 * math/libm-test.inc (pow_test_tonearest): New function.
19188 (pow_test_towardzero): Likewise.
19189 (pow_test_downward): Likewise.
19190 (pow_test_upward): Likewise.
19191 (main): Call the new functions.
19192 * sysdeps/i386/fpu/libm-test-ulps: Update.
19193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19194
19195 [BZ #3976]
19196 * math/libm-test.inc (cosh_test_tonearest): New function.
19197 (cosh_test_towardzero): Likewise.
19198 (cosh_test_downward): Likewise.
19199 (cosh_test_upward): Likewise.
19200 (sinh_test_tonearest): Likewise.
19201 (sinh_test_towardzero): Likewise.
19202 (sinh_test_downward): Likewise.
19203 (sinh_test_upward): Likewise.
19204 (main): Call the new functions.
19205 * sysdeps/i386/fpu/libm-test-ulps: Update.
19206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19207
6c6a98c9
TV
192082012-03-05 Tom de Vries <tom@codesourcery.com>
19209
19210 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19211 default stack guard is set in last bytes.
19212 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19213
21bb2d2e 192142012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19215
21bb2d2e 19216 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19217
21bb2d2e
AJ
19218 [BZ #13656]
19219 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19220 possibly allocate from heap instead of stack.
19221 * stdio-common/bug-vfprintf-nargs.c: New file.
19222 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19223
c6922934
AS
192242012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19225
19226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19227
bc957d53
MP
192282012-03-03 Marek Polacek <polacek@redhat.com>
19229
19230 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19231 * math/math_private.h: Likewise.
19232 * stdlib/tst-strtod.c: Likewise.
19233 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19234 * sysdeps/x86_64/bits/atomic.h: Likewise.
19235
6358490d
DM
192362012-03-02 David S. Miller <davem@davemloft.net>
19237
19238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19242 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19243 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19244 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19245 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19246
01ae168d
RM
192472012-03-02 Roland McGrath <roland@hack.frob.com>
19248
d9a17c07
RM
19249 [BZ #13792]
19250 * manual/examples/README: New file, says the example source files
19251 can be used under GPL>=2.
19252 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19253 line containing just "*/".
19254 * manual/examples/add.c: Add copyright header (GPL>=2).
19255 * manual/examples/argp-ex1.c: Likewise.
19256 * manual/examples/argp-ex2.c: Likewise.
19257 * manual/examples/argp-ex3.c: Likewise.
19258 * manual/examples/argp-ex4.c: Likewise.
19259 * manual/examples/atexit.c: Likewise.
19260 * manual/examples/db.c: Likewise.
19261 * manual/examples/dir.c: Likewise.
19262 * manual/examples/dir2.c: Likewise.
19263 * manual/examples/execinfo.c: Likewise.
19264 * manual/examples/filecli.c: Likewise.
19265 * manual/examples/filesrv.c: Likewise.
19266 * manual/examples/fmtmsgexpl.c: Likewise.
19267 * manual/examples/genpass.c: Likewise.
19268 * manual/examples/inetcli.c: Likewise.
19269 * manual/examples/inetsrv.c: Likewise.
19270 * manual/examples/isockad.c: Likewise.
19271 * manual/examples/longopt.c: Likewise.
19272 * manual/examples/memopen.c: Likewise.
19273 * manual/examples/memstrm.c: Likewise.
19274 * manual/examples/mkfsock.c: Likewise.
19275 * manual/examples/mkisock.c: Likewise.
19276 * manual/examples/mygetpass.c: Likewise.
19277 * manual/examples/pipe.c: Likewise.
19278 * manual/examples/popen.c: Likewise.
19279 * manual/examples/rprintf.c: Likewise.
19280 * manual/examples/search.c: Likewise.
19281 * manual/examples/select.c: Likewise.
19282 * manual/examples/setjmp.c: Likewise.
19283 * manual/examples/sigh1.c: Likewise.
19284 * manual/examples/sigusr.c: Likewise.
19285 * manual/examples/stpcpy.c: Likewise.
19286 * manual/examples/strdupa.c: Likewise.
19287 * manual/examples/strftim.c: Likewise.
19288 * manual/examples/strncat.c: Likewise.
19289 * manual/examples/subopt.c: Likewise.
19290 * manual/examples/swapcontext.c: Likewise.
19291 * manual/examples/termios.c: Likewise.
19292 * manual/examples/testopt.c: Likewise.
19293 * manual/examples/testpass.c: Likewise.
19294 * manual/examples/timeval_subtract.c: Likewise.
19295
01ae168d
RM
19296 [BZ #13792]
19297 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19298 function to ...
19299 * manual/timeval_subtract.c.texi: ... here, new file.
19300
49efa33d
DM
193012012-03-02 David S. Miller <davem@davemloft.net>
19302
19303 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19304
28afd92d
JM
193052012-03-02 Joseph Myers <joseph@codesourcery.com>
19306
804360ed
JM
19307 [BZ #3976]
19308 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19309 (__sin): Save and restore rounding mode and use round-to-nearest
19310 for all computations.
19311 (__cos): Save and restore rounding mode and use round-to-nearest
19312 for all computations.
19313 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19314 <fenv.h>.
19315 (tan): Save and restore rounding mode and use round-to-nearest for
19316 all computations.
19317 * math/libm-test.inc (cos_test_tonearest): New function.
19318 (cos_test_towardzero): Likewise.
19319 (cos_test_downward): Likewise.
19320 (cos_test_upward): Likewise.
19321 (sin_test_tonearest): Likewise.
19322 (sin_test_towardzero): Likewise.
19323 (sin_test_downward): Likewise.
19324 (sin_test_upward): Likewise.
19325 (tan_test_tonearest): Likewise.
19326 (tan_test_towardzero): Likewise.
19327 (tan_test_downward): Likewise.
19328 (tan_test_upward): Likewise.
19329 (main): Call the new functions.
19330 * sysdeps/i386/fpu/libm-test-ulps: Update.
19331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19332
a6d06d7b
JM
19333 [BZ #10135]
19334 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19335 small n, then large n, before computing and testing k+n.
19336 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19337 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19338 Likewise.
19339 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19340 Likewise.
19341 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19342 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19343 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19344 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19345 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19346 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19347 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19348 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19349 * math/libm-test.inc (scalbn_test): Add more tests.
19350 (scalbln_test): Likewise.
19351
07e12bb3
JM
19352 * manual/filesys.texi (mode_t): Describe constraints on size and
19353 signedness, not exact equivalence to a particular type.
19354 (ino_t): Likewise.
19355 (ino64_t): Likewise.
19356 (dev_t): Likewise.
19357 (nlink_t): Likewise.
19358 (blkcnt_t): Likewise.
19359 (blkcnt64_t): Likewise.
19360 * manual/llio.texi (off_t): Likewise.
19361
28afd92d
JM
19362 [BZ #3976]
19363 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19364 (__ieee754_exp): Save and restore rounding mode and use
19365 round-to-nearest for all computations.
19366 * math/libm-test.inc (exp_test_tonearest): New function.
19367 (exp_test_towardzero): Likewise.
19368 (exp_test_downward): Likewise.
19369 (exp_test_upward): Likewise.
19370 (main): Call the new functions.
19371 * sysdeps/i386/fpu/libm-test-ulps: Update.
19372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19373
b1eeb65d
CD
193742012-03-01 Chris Demetriou <cgd@google.com>
19375
19376 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19377 have predictable order.
19378
53362a4b
DM
193792012-03-01 David S. Miller <davem@davemloft.net>
19380
3c969083
DM
19381 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19382
759707de
DM
19383 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19384 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19385 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19386 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19387
dfdb8ff2
DM
19388 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19389 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19390 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19392 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19393 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19394 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19395 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19396 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19397
ead89f96
DM
19398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19399
7f66bd07
DM
19400 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19401 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19402 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19403
53362a4b
DM
19404 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19405 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19406 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19407 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19408 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19409 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19410 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19411 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19412 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19413 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19414 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19415 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19416 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19417 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19418 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19419 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19420 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19421 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19422 * sysdeps/sparc/elf/configure: Regenerated.
19423
7b1902cb
JM
194242012-03-01 Joseph Myers <joseph@codesourcery.com>
19425
bec039bc
JM
19426 * configure.in (AS, LD): Require binutils 2.20 or later.
19427 * configure: Regenerated.
19428 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19429 as required minimum version.
19430 * INSTALL: Regenerated.
19431
7b1902cb
JM
19432 [BZ #2541]
19433 [BZ #4108]
19434 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19435 before squaring exponent.
19436 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19437 bottom long double and 27 bits of top long double before squaring
19438 exponent.
19439 * math/libm-test.inc (erfc_test): Add more tests.
19440 * sysdeps/i386/fpu/libm-test-ulps: Update.
19441 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19443
f775c276
KT
194442012-03-01 Kai Tietz <ktietz@redhat.com>
19445
19446 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19447 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19448 containing bit-fields.
19449 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19450 * soft-fp/single.h (_FP_UNION_S): Likewise.
19451 * soft-fp/double.h (_FP_UNION_D): Likewise.
19452
5b8a4d4a
JM
194532012-02-29 Joseph Myers <joseph@codesourcery.com>
19454
0bab47b6
JM
19455 [BZ #13786]
19456 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19457 not include ../strcmp.S.
19458 [USE_AS_STRNCASECMP_L]: Likewise.
19459 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19460 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19461 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19462 (__strncasecmp_l_ia32): Define as alias to
19463 __strncasecmp_l_nonascii.
19464
0fcad3e2
JM
19465 [BZ #5794]
19466 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19467 * sysdeps/i386/fpu/libm-test-ulps: Update.
19468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19469
5b8a4d4a
JM
19470 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19472
8fdceb2e
JL
194732012-02-29 Jeff Law <law@redhat.com>
19474
19475 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19476 out of bounds read.
19477
1f393a11
MP
194782012-02-29 Marek Polacek <polacek@redhat.com>
19479
19480 [BZ #13706]
19481 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19482 * elf/Makefile: Add rules to run tst-unused-dep.out.
19483
8847f037
DM
194842012-02-28 David S. Miller <davem@davemloft.net>
19485
19486 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19487 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19488 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19489 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19490 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19491 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19492
169d7f11
JM
194932012-02-29 Joseph Myers <joseph@codesourcery.com>
19494
19495 * math/libm-test.inc (llround_test): Move one test from
19496 lround_test. Use TEST_f_L in moved test.
19497 (lround_test): Move misplaced test to llround_test. Add testcase
19498 from bug 2561.
19499
39adf059
UD
195002012-02-28 Ulrich Drepper <drepper@gmail.com>
19501
19502 * sysdeps/x86_64/fpu/e_expf.S: New file.
19503 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19504
71b5d1c5
SB
195052012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19506
19507 [BZ #13637]
19508 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19509 of remain_len that may cause incomplete multi-byte character and
19510 false match.
19511 * posix/bug-regex33.c: New file.
19512 * posix/Makefile (tests): Add bug-regex33.
19513
1f77f049
JM
195142012-02-28 Joseph Myers <joseph@codesourcery.com>
19515
19516 * manual/macros.texi: New file.
19517 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19518 * manual/libc.texinfo: Include macros.texi.
19519 * manual/creatute.texi: Likewise.
19520 * manual/install.texi: Likewise.
19521 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19522 @glibcadj{} in references to the GNU C Library.
19523 * manual/charset.texi: Likewise.
19524 * manual/conf.texi: Likewise.
19525 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19526 when not using those macros.
19527 * manual/creature.texi: Likewise.
19528 * manual/crypt.texi: Likewise.
19529 * manual/errno.texi: Likewise.
19530 * manual/filesys.texi: Likewise.
19531 * manual/header.texi: Likewise.
19532 * manual/install.texi: Likewise.
19533 * manual/intro.texi: Likewise.
19534 * manual/io.texi: Likewise.
19535 * manual/job.texi: Likewise.
19536 * manual/lang.texi: Likewise.
19537 * manual/libc.texiinfo: Likewise.
19538 * manual/llio.texi: Likewise.
19539 * manual/locale.texi: Likewise.
19540 * manual/maint.texi: Likewise.
19541 * manual/math.texi: Likewise.
19542 * manual/memory.texi: Likewise.
19543 * manual/message.texi: Likewise.
19544 * manual/nss.texi: Likewise.
19545 * manual/pattern.texi: Likewise.
19546 * manual/process.texi: Likewise.
19547 * manual/resource.texi: Likewise.
19548 * manual/search.texi: Likewise.
19549 * manual/setjmp.texi: Likewise.
19550 * manual/signal.texi: Likewise.
19551 * manual/socket.texi: Likewise.
19552 * manual/startup.texi: Likewise.
19553 * manual/stdio.texi: Likewise.
19554 * manual/string.texi: Likewise.
19555 * manual/sysinfo.texi: Likewise.
19556 * manual/syslog.texi: Likewise.
19557 * manual/terminal.texi: Likewise.
19558 * manual/time.texi: Likewise.
19559 * manual/users.texi: Likewise.
19560 * INSTALL: Regenerated.
19561 * NOTES: Regenerated.
d40c5d54 19562 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19563
450bf206
AS
195642012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19565
19566 * include/dirent.h: Include <dirstream.h> before
19567 <dirent/dirent.h>.
19568
741a235b
DM
195692012-02-28 David S. Miller <davem@davemloft.net>
19570
19571 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19572 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19573 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19574 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19575
d6b5aa58
DM
195762012-02-27 David S. Miller <davem@davemloft.net>
19577
1aff59a3
DM
19578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19580 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19581 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19582
d6b5aa58
DM
19583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19584 frame pointer instead of stack pointer relative arg slot.
19585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19586 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19587 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19588
433f48bf
CD
195892012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19590
19591 [BZ #3992]
19592 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19593
d674b76d
DM
195942012-02-27 David S. Miller <davem@davemloft.net>
19595
19596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19600 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19601 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19602 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19603 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19604
0e7727f7
JM
196052012-02-27 Joseph Myers <joseph@codesourcery.com>
19606
19607 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19608 later. Allow versions 5-9.
43be4ca2 19609 * configure: Regenerated.
0e7727f7
JM
19610 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19611 required minimum version and 4.6 as recommended version. Do not
19612 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19613 * INSTALL: Regenerated.
0e7727f7 19614
a78bc654
DM
196152012-02-27 David S. Miller <davem@davemloft.net>
19616
428d5830
DM
19617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19621 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19622 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19623 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19624 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19625
a78bc654
DM
19626 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19627 manipulate bits before adding and subtracting TWO112[sx].
19628 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19629
4579f81c
RM
196302012-02-27 Roland McGrath <roland@hack.frob.com>
19631
36c8acb4
RM
19632 [BZ #13775]
19633 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19634 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19635 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19636 being in POSIX, because they are in 1003.1-2008.
19637
84ad622b
RM
19638 * rt/tst-aio.c: Include <fcntl.h>.
19639 * rt/tst-aio7.c: Likewise.
19640 * rt/tst-aio64.c: Likewise.
19641
4579f81c
RM
19642 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19643
abd923db
JM
196442012-02-27 Joseph Myers <joseph@codesourcery.com>
19645
19646 * manual/install.texi (--with-headers): Describe headers as
19647 interface headers, not private headers.
19648 (Specific advice for GNU/Linux systems): Describe use of headers
19649 from "make headers_install", not private headers from older
19650 kernels.
43be4ca2 19651 * INSTALL: Regenerated.
abd923db
JM
19652 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19653 Change to 2.6.19.
19654 * sysdeps/unix/sysv/linux/configure: Regenerated.
19655
6664049b
JM
19656 * manual/llio.texi (fclean): Remove documentation.
19657
bb8b6697
JM
19658 * manual/Makefile (libc-texi-generated): New variable. Include
19659 version.texi.
19660 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19661 $(libc-texi-generated), not duplicated list of files.
19662 (version.texi, stamp-version): New rules.
19663 (realclean): Remove $(libc-texi-generated), not individual files
19664 from that list. Do not remove dir-add.texinfo.
19665 * manual/libc.texinfo: Comment out uses of edition numbers and
19666 references to printed manual. Remove last-updated dates.
19667 (EDITION): Comment out.
19668 (ISBN): Likewise.
19669 (VERSION, UPDATED): Remove.
19670 (version.texi): Include.
19671
12e5c3b9
AS
196722012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19673
19674 * sysdeps/posix/spawni.c: Include <signal.h>.
19675 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19676 * sysdeps/pthread/aio_fsync.c: Likewise.
19677
4efeffc1 196782012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19679
ba63ba08
UD
19680 * conform/Makefile (tests): Run only when not cross-compiling and
19681 when fast-check is not defined.
19682
d94a4670
UD
19683 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19684 * conform/data/limits.h-data: Fixes for POSIX2008.
19685 * conform/run-conformtest.sh: Run all tests.
19686 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19687 headers.
19688 * include/bits/dlfcn.h: Likewise.
19689 * include/langinfo.h: Likewise.
19690 * include/monetary.h: Likewise.
19691 * include/sys/poll.h: Likewise.
19692
19693 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19694 for __USE_GNU.
19695 * posix/spawn.h: Define __need_sigset_t.
19696 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19697 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19698 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19699 to get sigevent_t only.
19700 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19701 only for __USE_GNU.
19702 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19703 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19704 process_vm_writev only for __USE_GNU.
19705 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19706
19707 * conform/Makefile: For now ignore errors from run-conformtest.
19708 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19709 POSIX to avoid namespace pollution. Don't prepend headers.
19710 * conform/data/aio.h-data: Fixes for POSIX testing.
19711 * conform/data/fcntl.h-data: Likewise.
19712 * conform/data/glob.h-data: Likewise.
19713 * conform/data/grp.h-data: Likewise.
19714 * conform/data/pthread.h-data: Likewise.
19715 * conform/data/pwd.h-data: Likewise.
19716 * conform/data/signal.h-data: Likewise.
19717 * conform/data/spawn.h-data: Likewise.
19718 * conform/data/stdio.h-data: Likewise.
19719 * conform/data/stdlib.h-data: Likewise.
19720 * conform/data/stropts.h-data: Likewise.
19721 * conform/data/sys/mman.h-data: Likewise.
19722 * conform/data/sys/stat.h-data: Likewise.
19723 * conform/data/sys/types.h-data: Likewise.
19724 * conform/data/sys/wait.h-data: Likewise.
19725 * conform/data/time.h-data: Likewise.
19726 * conform/data/unistd.h-data: Likewise.
19727 * conform/data/utime.h-data: Likewise.
19728
19729 * io/sys/stat.h: fchmod was always in POSIX.
19730 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19731 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19732 * rt/aio.h: Define __need_timespec before including <time.h>.
19733 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19734 struct. Add forward declaration of pthread_attr_t and use it in
19735 sigevent.
19736 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19737 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19738 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19739 always remove CLK_TCK definition.
19740
c20105c3
AS
197412012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19742
19743 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19744
7a270350
UD
197452012-02-25 Ulrich Drepper <drepper@gmail.com>
19746
31341567
UD
19747 * conform/run-conformtest.sh: New file.
19748 * conform/Makefile: Run run-conformtest for tests.
19749 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19750 support.
19751
19752 * conform/data/uchar.h-data: New file.
19753 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19754 * conform/data/arpa/inet.h-data: Likewise.
19755 * conform/data/assert.h-data: Likewise.
19756 * conform/data/complex.h-data: Likewise.
19757 * conform/data/cpio.h-data: Likewise.
19758 * conform/data/ctype.h-data: Likewise.
19759 * conform/data/dirent.h-data: Likewise.
19760 * conform/data/dlfcn.h-data: Likewise.
19761 * conform/data/errno.h-data: Likewise.
19762 * conform/data/fcntl.h-data: Likewise.
19763 * conform/data/float.h-data: Likewise.
19764 * conform/data/fmtmsg.h-data: Likewise.
19765 * conform/data/fnmatch.h-data: Likewise.
19766 * conform/data/ftw.h-data: Likewise.
19767 * conform/data/glob.h-data: Likewise.
19768 * conform/data/grp.h-data: Likewise.
19769 * conform/data/iconv.h-data: Likewise.
19770 * conform/data/inttypes.h-data: Likewise.
19771 * conform/data/langinfo.h-data: Likewise.
19772 * conform/data/libgen.h-data: Likewise.
19773 * conform/data/limits.h-data: Likewise.
19774 * conform/data/locale.h-data: Likewise.
19775 * conform/data/math.h-data: Likewise.
19776 * conform/data/monetary.h-data: Likewise.
19777 * conform/data/mqueue.h-data: Likewise.
19778 * conform/data/ndbm.h-data: Likewise.
19779 * conform/data/net/if.h-data: Likewise.
19780 * conform/data/netdb.h-data: Likewise.
19781 * conform/data/netinet/in.h-data: Likewise.
19782 * conform/data/nl_types.h-data: Likewise.
19783 * conform/data/poll.h-data: Likewise.
19784 * conform/data/pthread.h-data: Likewise.
19785 * conform/data/pwd.h-data: Likewise.
19786 * conform/data/regex.h-data: Likewise.
19787 * conform/data/sched.h-data: Likewise.
19788 * conform/data/search.h-data: Likewise.
19789 * conform/data/semaphore.h-data: Likewise.
19790 * conform/data/setjmp.h-data: Likewise.
19791 * conform/data/signal.h-data: Likewise.
19792 * conform/data/spawn.h-data: Likewise.
19793 * conform/data/stdarg.h-data: Likewise.
19794 * conform/data/stdio.h-data: Likewise.
19795 * conform/data/stdlib.h-data: Likewise.
19796 * conform/data/string.h-data: Likewise.
19797 * conform/data/strings.h-data: Likewise.
19798 * conform/data/stropts.h-data: Likewise.
19799 * conform/data/sys/ipc.h-data: Likewise.
19800 * conform/data/sys/mman.h-data: Likewise.
19801 * conform/data/sys/msg.h-data: Likewise.
19802 * conform/data/sys/resource.h-data: Likewise.
19803 * conform/data/sys/select.h-data: Likewise.
19804 * conform/data/sys/sem.h-data: Likewise.
19805 * conform/data/sys/shm.h-data: Likewise.
19806 * conform/data/sys/socket.h-data: Likewise.
19807 * conform/data/sys/stat.h-data: Likewise.
19808 * conform/data/sys/statvfs.h-data: Likewise.
19809 * conform/data/sys/time.h-data: Likewise.
19810 * conform/data/sys/timeb.h-data: Likewise.
19811 * conform/data/sys/times.h-data: Likewise.
19812 * conform/data/sys/types.h-data: Likewise.
19813 * conform/data/sys/uio.h-data: Likewise.
19814 * conform/data/sys/un.h-data: Likewise.
19815 * conform/data/sys/utsname.h-data: Likewise.
19816 * conform/data/sys/wait.h-data: Likewise.
19817 * conform/data/syslog.h-data: Likewise.
19818 * conform/data/tar.h-data: Likewise.
19819 * conform/data/termios.h-data: Likewise.
19820 * conform/data/utime.h-data: Likewise.
19821 * conform/data/utmpx.h-data: Likewise.
19822 * conform/data/varargs.h-data: Likewise.
19823 * conform/data/wchar.h-data: Likewise.
19824 * conform/data/wctype.h-data: Likewise.
19825 * conform/data/wordexp.h-data: Likewise.
19826
19827 * include/stropts.h: New file.
19828 * include/uchar.h: New file.
19829 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19830 * include/assert.h: Likewise.
19831 * include/ctype.h: Likewise.
19832 * include/dirent.h: Likewise.
19833 * include/dlfcn.h: Likewise.
19834 * include/fcntl.h: Likewise.
19835 * include/fnmatch.h: Likewise.
19836 * include/glob.h: Likewise.
19837 * include/grp.h: Likewise.
19838 * include/libio.h: Likewise.
19839 * include/locale.h: Likewise.
19840 * include/math.h: Likewise.
19841 * include/net/if.h: Likewise.
19842 * include/netdb.h: Likewise.
19843 * include/netinet/in.h: Likewise.
19844 * include/pthread.h: Likewise.
19845 * include/pwd.h: Likewise.
19846 * include/regex.h: Likewise.
19847 * include/sched.h: Likewise.
19848 * include/search.h: Likewise.
19849 * include/setjmp.h: Likewise.
19850 * include/signal.h: Likewise.
19851 * include/stdio.h: Likewise.
19852 * include/stdlib.h: Likewise.
19853 * include/string.h: Likewise.
19854 * include/sys/cdefs.h: Likewise.
19855 * include/sys/mman.h: Likewise.
19856 * include/sys/msg.h: Likewise.
19857 * include/sys/resource.h: Likewise.
19858 * include/sys/select.h: Likewise.
19859 * include/sys/socket.h: Likewise.
19860 * include/sys/stat.h: Likewise.
19861 * include/sys/statvfs.h: Likewise.
19862 * include/sys/time.h: Likewise.
19863 * include/sys/times.h: Likewise.
19864 * include/sys/uio.h: Likewise.
19865 * include/sys/utsname.h: Likewise.
19866 * include/sys/wait.h: Likewise.
19867 * include/termios.h: Likewise.
19868 * include/time.h: Likewise.
19869 * include/ulimit.h: Likewise.
19870 * include/unistd.h: Likewise.
19871 * include/utime.h: Likewise.
19872 * include/wchar.h: Likewise.
19873 * include/wctype.h: Likewise.
19874 * include/wordexp.h: Likewise.
19875
19876 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19877
7a270350
UD
19878 * time/time.h: TIME_UTC must be a macro.
19879 Make timespec_get available for ISO C11 only as well.
19880
7724defc
UD
198812012-02-24 Ulrich Drepper <drepper@gmail.com>
19882
19883 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19884 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19885
6b1d1d46
JM
198862012-02-24 Joseph Myers <joseph@codesourcery.com>
19887
19888 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19889
0f8bbd69
JM
198902012-02-24 Joseph Myers <joseph@codesourcery.com>
19891
19892 * manual/texinfo.tex: Update to version 2012-01-19.16.
19893
66ab80bc
JM
198942012-02-24 Joseph Myers <joseph@codesourcery.com>
19895
19896 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19897
74981cc5
RM
198982012-02-24 Roland McGrath <roland@hack.frob.com>
19899
ee968201
RM
19900 [BZ #13738]
19901 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19902 * manual/fdl-1.3.texi: New file.
19903 * manual/fdl-1.1.texi: File removed.
19904
74981cc5
RM
19905 [BZ #13738]
19906 * manual/libc.texinfo (FDL_VERSION): New @set.
19907 Use it for mention of FDL in cover text.
19908 (Documentation License): Use it in @include file name.
19909
7bb764bc
JM
199102012-02-22 Joseph Myers <joseph@codesourcery.com>
19911 Roland McGrath <roland@hack.frob.com>
19912
19913 [BZ #5461]
19914 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19915 not LONG_LONG_MAX and LONG_LONG_MIN.
19916 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19917 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19918 name.
19919 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19920
6cbeae47
JM
199212012-02-22 Joseph Myers <joseph@codesourcery.com>
19922
19923 [BZ #2547]
19924 [BZ #11365]
19925 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19926 manipulate bits before adding and subtracting TWO23[sx].
19927 * math/libm-test.inc (nearbyint_test): Add more tests.
19928
fe45ce09
JM
199292012-02-22 Joseph Myers <joseph@codesourcery.com>
19930
19931 [BZ #2548]
19932 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19933 bits before adding and subtracting TWO23[sx].
19934 * math/libm-test.inc (rint_test): Add more tests.
19935 (rint_test_tonearest): Likewise.
19936 (rint_test_towardzero): Likewise.
19937 (rint_test_downward): Likewise.
19938 (rint_test_upward: Likewise.
19939
ff3b3d82
JM
199402012-02-22 Joseph Myers <joseph@codesourcery.com>
19941
19942 [BZ #10110]
19943 * include/stdc-predef.h: New file. Extracted from features.h.
19944 * include/features.h: Include stdc-predef.h.
19945 * Makefile (headers): Add stdc-predef.h.
19946 * CONFORMANCE (Compiler limitations): Update.
19947
ef0aab35
JM
199482012-02-22 Joseph Myers <joseph@codesourcery.com>
19949
19950 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19951
58639409
DM
199522012-02-21 David S. Miller <davem@davemloft.net>
19953
19954 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19955 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19956
c0e70b25
DM
199572012-02-20 David S. Miller <davem@davemloft.net>
19958
19959 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19960 using a normal save/restore sequence, rather than allocating a
19961 dummy stack frame just to store a frame pointer and restore.
19962 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19963
fb06851d
JM
199642012-02-21 Joseph Myers <joseph@codesourcery.com>
19965
19966 * manual/install.texi: Fix stray word in line-wrapped comment.
19967
7a8b71c3
DM
199682012-02-20 David S. Miller <davem@davemloft.net>
19969
d510c123
DM
19970 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19971 both binutils and gcc support GOTDATA.
19972
0722d7c2
DM
19973 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19974 "rd %pc" in the PIC register setup sequences.
19975
3d2b3019
DM
19976 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19977 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19978 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19979 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19980 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19981 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19982 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19983 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19985 (SYSCALL_ERROR_HANDLER): Likewise.
19986 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19987 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19988 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19989 (SYSCALL_ERROR_HANDLER): Likewise.
19990
c80098a9
DM
19991 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19992 (HAVE_GCC_GOTDATA): New.
19993 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19994 relocation support in both binutils and gcc.
19995 * sysdeps/sparc/elf/configure: Regenerate.
19996
3a2545a0
DM
19997 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19998 * sysdeps/sparc/sparc32/elf/configure: Delete.
19999 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20000 * sysdeps/sparc/sparc64/elf/configure: Delete.
20001 * sysdeps/sparc/elf/configure.in: New file.
20002 * sysdeps/sparc/elf/configure: Generate.
20003
7a8b71c3
DM
20004 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20005 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20006 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20007 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20008 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20009
f1e86fca
JM
200102012-02-21 Joseph Myers <joseph@codesourcery.com>
20011
20012 * manual/install.texi: Do not mention specific glibc version
20013 numbers.
20014 * manual/libc.texinfo (VERSION, UPDATED): Update.
20015 (@copying): Use @copyright{} and range of years.
20016
0e7dfaef
JM
200172012-02-21 Joseph Myers <joseph@codesourcery.com>
20018
20019 [BZ #13695]
20020 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20021 [crti.S not in sysdirs] (generated): Do not append.
20022 [crti.S not in sysdirs] (omit-deps): Likewise.
20023 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20024 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20025 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20026 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20027 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20028 Likewise.
20029 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20030 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20031 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20032 * csu/defs.awk: Remove file.
20033 * sysdeps/generic/initfini.c: Likewise.
20034 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20035 variable.
20036 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20037 Likewise.
20038
599af3ca
JM
200392012-02-20 Joseph Myers <joseph@codesourcery.com>
20040
20041 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20042 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20043 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20044 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20045 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20046 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20047 <bits/epoll.h>.
20048 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20049 (__EPOLL_PACKED): Define to empty if not defined by
20050 <bits/epoll.h>.
20051 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20053 bits/epoll.h.
20054
0e499750
JM
200552012-02-20 Joseph Myers <joseph@codesourcery.com>
20056
20057 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20058 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20059 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20060 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20061 <bits/timerfd.h>.
20062 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20064 bits/timerfd.h.
20065
5ad91f6e
JM
200662012-02-20 Joseph Myers <joseph@codesourcery.com>
20067
20068 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20069 in C locale.
20070 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20071 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20072 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20074
06b99b02
AJ
200752012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20076
20077 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20078 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20079
7638c0fd
AS
200802012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20081
20082 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20083 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20084 defined.
20085 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20086 Likewise.
20087 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20088 entry for 2.16.
20089
92221550
AJ
200902012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20091
20092 * math/w_acos.c: Use non-signaling floating-point comparisons.
20093 * math/w_acosf.c: Likewise.
20094 * math/w_acosh.c: Likewise.
20095 * math/w_acoshf.c: Likewise.
20096 * math/w_acoshl.c: Likewise.
20097 * math/w_acosl.c: Likewise.
20098 * math/w_asin.c: Likewise.
20099 * math/w_asinf.c: Likewise.
20100 * math/w_asinl.c: Likewise.
20101 * math/w_atanh.c: Likewise.
20102 * math/w_atanhf.c: Likewise.
20103 * math/w_atanhl.c: Likewise.
20104 * math/w_exp2.c: Likewise.
20105 * math/w_exp2f.c: Likewise.
20106 * math/w_exp2l.c: Likewise.
20107 * math/w_j0.c: Likewise.
20108 * math/w_j0f.c: Likewise.
20109 * math/w_j0l.c: Likewise.
20110 * math/w_j1.c: Likewise.
20111 * math/w_j1f.c: Likewise.
20112 * math/w_j1l.c: Likewise.
20113 * math/w_jn.c: Likewise.
20114 * math/w_jnf.c: Likewise.
20115 * math/w_log.c: Likewise.
20116 * math/w_log10.c: Likewise.
20117 * math/w_log10f.c: Likewise.
20118 * math/w_log10l.c: Likewise.
20119 * math/w_log2.c: Likewise.
20120 * math/w_log2f.c: Likewise.
20121 * math/w_log2l.c: Likewise.
20122 * math/w_logf.c: Likewise.
20123 * math/w_logl.c: Likewise.
20124 * math/w_sqrt.c: Likewise.
20125 * math/w_sqrtf.c: Likewise.
20126 * math/w_sqrtl.c: Likewise.
20127 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20128 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20129 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20130 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20131 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20132
ebaf36eb
JM
201332012-02-19 Joseph Myers <joseph@codesourcery.com>
20134
20135 [BZ #9739]
20136 * manual/string.texi (strnlen): Use correct parameter name in
20137 equivalent expression.
20138
71c254a6
JM
201392012-02-19 Joseph Myers <joseph@codesourcery.com>
20140
20141 [BZ #11174]
20142 * manual/users.texi (seteuid): Consistently use neweuid for
20143 argument name.
20144
16d2c631
JM
201452012-02-19 Joseph Myers <joseph@codesourcery.com>
20146
20147 [BZ #13704]
20148 * manual/nss.texi (Services in the NSS configuration): Correct
20149 list of services in example configuration file.
20150
cd837b09
NB
201512012-02-19 Nick Bowler <nbowler@draconx.ca>
20152
20153 [BZ #11322]
20154 * manual/arith.texi: Remove statements about negative zero
20155 behaving identically to zero.
20156
02c4bbad
JM
201572012-02-18 Joseph Myers <joseph@codesourcery.com>
20158
20159 [BZ #5993]
20160 * manual/install.texi: Do not document upgrading from libc5.
20161
366842e7
JM
201622012-02-18 Joseph Myers <joseph@codesourcery.com>
20163
20164 [BZ #4596]
20165 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20166
dd54084d
DM
201672012-02-18 David S. Miller <davem@davemloft.net>
20168
20169 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20170 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20171 %o7 across the call.
20172 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20173 instead.
20174 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20175 SETUP_PIC_REG_LEAF.
20176 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20177 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20178 * sysdeps/sparc/crtn.S: Likewise.
20179
2bcc53a3
UD
201802012-02-17 Ulrich Drepper <drepper@gmail.com>
20181
20182 * aout/Makefile: Remove.
20183
09c093b5
RK
201842012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20185
20186 [BZ #13058]
20187 * manual/examples/argp-ex1.c (main): Format definition in GNU
20188 style.
20189 * manual/examples/argp-ex2.c (main): Likewise.
20190 * manual/examples/argp-ex3.c (main): Likewise.
20191 * manual/examples/argp-ex4.c (main): Likewise.
20192 * manual/examples/longopt.c (main): Use new-style prototype
20193 definition.
20194 * manual/examples/strncat.c (main): Specify return type and use
20195 (void) for arguments.
20196 * manual/examples/subopt.c (main): Use char **argv argument.
20197
2ee633a2
JM
201982012-02-17 Joseph Myers <joseph@codesourcery.com>
20199
20200 [BZ #5077]
20201 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20202 rounding modes.
20203
0520adde
FB
202042012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20205
20206 [BZ #6907]
20207 * manual/string.texi (strchr): Change when strchrnul is
20208 recommended.
20209
3f4081cd
DGM
202102012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20211
20212 [BZ #174]
20213 * manual/locale.texi (setlocale): Document LOCPATH.
20214
d1b10e78
JM
202152012-02-17 Joseph Myers <joseph@codesourcery.com>
20216
20217 [BZ #10210]
20218 * manual/process.texi (execle): Move @dots{} before last argument.
20219
79c6869c
PB
202202012-02-17 Paul Bolle <pebolle@tiscali.nl>
20221
20222 [BZ #12047]
20223 * manual/charset.texi (Generic Charset Conversion): Fix typo
20224 (LC_TYPE -> LC_CTYPE).
20225
cc6e48bc
NB
202262012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20227
20228 [BZ #5805]
20229 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20230 (scalbnf): Likewise.
20231 (scalbnl): Likewise.
20232 (scalbln): Likewise.
20233 (scalblnf): Likewise.
20234 (scalblnl): Likewise.
20235 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20236 (vwarnx): Likewise.
20237 (verr): Likewise.
20238 (verrx): Likewise.
20239 * manual/filesys.texi (telldir): Use braces around return type.
20240 * manual/llio.texi (mmap): Add space after comma.
20241 (mmap64): Likewise.
20242 * manual/math.texi (jn): Use @var{} on parameter names.
20243 (jnf): Likewise.
20244 (jnl): Likewise.
20245 (yn): Likewise.
20246 (ynf): Likewise.
20247 (ynl): Likewise.
20248 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20249 line.
20250 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20251 "...".
20252 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20253 (sched_get_priority_max): Likewise.
20254 * manual/signal.texi (sigvec): Add space after comma.
20255 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20256 names.
20257 (if_indextoname): Likewise.
20258 (if_freenameindex): Likewise.
20259 (sendto): Use ',' instead of '.' in prototype.
20260 * manual/startup.texi (syscall): Use @dots{} instead of literal
20261 "...".
20262 * manual/stdio.texi (__fpending): Separate initial words of
20263 paragraph from @deftypefun line.
20264 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20265 "...".
20266 (vsyslog): Use @var{} on parameter names.
20267 * manual/terminal.texi (stty): Use @var{} on parameter names.
20268 * manual/users.texi (getutmp): Use @var{} on parameter names.
20269 (getutmpx): Likewise.
20270
5b23062f
JM
202712012-02-17 Joseph Myers <joseph@codesourcery.com>
20272
20273 [BZ #6884]
20274 * manual/stdio.texi (fopen): Fix typos in description of
20275 ",ccs=STRING".
20276
8dee4833
AJ
202772012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20278
20279 [BZ #4026]
20280 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20281 get clock_id definition.
20282
9078ce93
TS
202832012-02-17 Thomas Schwinge <thomas@schwinge.name>
20284
20285 [BZ #4822]
20286 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20287 (madvise): Cast every argument to void on its own.
20288
3835c55f
JM
202892012-02-17 Joseph Myers <joseph@codesourcery.com>
20290
20291 [BZ #9902]
20292 * manual/startup.texi (Exit Status): Fix typo.
20293
35c47e37
JM
202942012-02-17 Joseph Myers <joseph@codesourcery.com>
20295
20296 [BZ #10140]
20297 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20298 * manual/examples/argp-ex2.c: Likewise.
20299 * manual/examples/argp-ex3.c: Likewise.
20300
e3b69ca7
RH
203012012-02-16 Richard Henderson <rth@redhat.com>
20302
20303 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20304 * sysdeps/s390/s390-32/initfini.c: Remove.
20305 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20306 * sysdeps/s390/s390-64/initfini.c: Remove.
20307
df83af67
KK
203082012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20309
20310 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20311 compiler output for sysdeps/generic/initfini.c.
20312 * sysdeps/sh/elf/initfini.c: Remove file.
20313
f63f3380
DM
203142012-02-16 David S. Miller <davem@davemloft.net>
20315
fb59b3a4
DM
20316 [BZ #11494]
20317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20318
f63f3380
DM
20319 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20320 * sysdeps/sparc/crti.S: New file.
20321 * sysdeps/sparc/crtn.S: New file.
20322 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20323 * sysdeps/sparc/sparc64/Makefile: Likewise.
20324
df6a4a4a
MF
203252012-02-15 Mike Frysinger <vapier@gentoo.org>
20326
6dd8f3dc 20327 [BZ #3335]
df6a4a4a
MF
20328 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20329
1cac7236
RM
203302012-02-15 Roland McGrath <roland@hack.frob.com>
20331
d2c736f8
RM
20332 [BZ #4822]
20333 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20334
1cac7236
RM
20335 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20336 (write, read, close): Likewise.
20337 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20338
8e475601
JM
203392012-02-15 Joseph Myers <joseph@codesourcery.com>
20340
20341 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20342 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20343 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20344 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20345 <bits/signalfd.h>.
20346 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20348 bits/signalfd.h.
20349
ed656b40
MP
203502012-02-14 Marek Polacek <polacek@redhat.com>
20351
20352 * sysdeps/x86_64/crti.S: New file.
20353 * sysdeps/x86_64/crtn.S: New file.
20354 * sysdeps/x86_64/elf/initfini.c: Remove file.
20355
2a979d3a
JM
203562012-02-13 Joseph Myers <joseph@codesourcery.com>
20357
20358 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20359 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20360 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20361 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20362 <bits/inotify.h>.
20363 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20365 bits/inotify.h.
20366
2a418ac3
JM
203672012-02-13 Joseph Myers <joseph@codesourcery.com>
20368
20369 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20370 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20371 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20372 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20373 <bits/eventfd.h>.
20374 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20376 bits/eventfd.h.
20377
fb779be7
TS
203782012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20379
e19e83c5
RM
20380 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20381 __feraiseexcept instead of feraiseexcept.
7c35ffed 20382
fb779be7
TS
20383 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20384 nanosleep invocations.
20385 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20386 strings, and add error checking for a nanosleep invocations.
20387
59ba27a6
PE
203882012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20389
20390 Replace FSF snail mail address with URLs, as per GNU coding standards.
20391 Most of the snail mail addresses were wrong anyway, and omitting
20392 them makes the source code easier to maintain. Almost all of the
20393 changes are to license notices and to locale LC_IDENTIFICATION
20394 addresses, except for this one:
20395 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20396 not its snail mail address.
20397
57b957eb
RH
203982012-02-09 Richard Henderson <rth@twiddle.net>
20399
af850b1c
RH
20400 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20401 of kernel-features.h.
20402
57b957eb
RH
20403 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20404
6b73181a
MP
204052012-02-08 Marek Polacek <polacek@redhat.com>
20406
20407 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20408 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20409 * sysdeps/gnu/_G_config.h: Likewise.
20410 * sysdeps/generic/_G_config.h: Likewise.
20411
26ecc33a
AS
204122012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20413
6c6dbc63
AS
20414 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20415 tests.
20416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20417
e216c012
AS
20418 * sysdeps/powerpc/powerpc32/crti.S: New file.
20419 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20420 * sysdeps/powerpc/powerpc64/crti.S: New file.
20421 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20422
26ecc33a
AS
20423 * Makeconfig (have-initfini): Don't set.
20424 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20425 * configure.in (nopic_initfini): Don't substitute.
20426 * config.h.in (HAVE_INITFINI): Don't #undef.
20427 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20428 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20429
3add8e13
JM
204302012-02-08 Joseph Myers <joseph@codesourcery.com>
20431
20432 Support crti.S and crtn.S provided directly by architectures.
20433 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20434 [crti.S in sysdirs] (omit-deps): Likewise.
20435 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20436 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20437 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20438 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20439 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20440 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20441 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20442 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20443 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20444 compiler output for sysdeps/generic/initfini.c.
20445 * sysdeps/i386/elf/Makefile: Remove file.
20446 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20447
a22f12b4
MP
204482012-02-07 Marek Polacek <polacek@redhat.com>
20449
20450 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20451 * sysdeps/gnu/_G_config.h: Likewise.
20452 * sysdeps/mach/hurd/_G_config.h: Likewise.
20453
148cf100
MP
204542012-02-07 Marek Polacek <polacek@redhat.com>
20455
20456 * math/Makefile (tests): Add tst-CMPLX2.
20457 * math/tst-CMPLX2.c: New file.
20458
cfdc0dd7
AS
204592012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20460
84ba42c4
AS
20461 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20462
cfdc0dd7
AS
20463 * math/libm-test.inc (jn_test): Add missing L suffix.
20464
622c86f4
MP
204652012-02-06 Marek Polacek <polacek@redhat.com>
20466
20467 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20468 * sysdeps/i386/fpu/e_powf.S: Likewise.
20469 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20470 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20471 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20472 * sysdeps/i386/fpu/e_pow.S: Likewise.
20473 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20474 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20475 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20476 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20477 * sysdeps/i386/fpu/e_log2.S: Likewise.
20478 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20479 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20480 * sysdeps/i386/fpu/e_powl.S: Likewise.
20481 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20482 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20483 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20484 * sysdeps/i386/fpu/e_logl.S: Likewise.
20485 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20486 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20487 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20488 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20489 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20490 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20491 * sysdeps/i386/fpu/e_log.S: Likewise.
20492 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20493 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20494 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20495 * sysdeps/i386/fpu/e_logf.S: Likewise.
20496 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20497 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20498 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20499 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20500 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20501 * sysdeps/i386/fpu/e_log10.S: Likewise.
20502 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20503 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20504 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20505 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20506 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20507 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20508 * sysdeps/i386/asm-syntax.h: Likewise.
20509 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20510 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20511 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20512 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20513 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20514 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20515 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20516 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20517 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20518 * sysdeps/powerpc/sysdep.h: Likewise.
20519 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20520 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20521
d4a54ac6
JM
205222012-02-06 Joseph Myers <joseph@codesourcery.com>
20523
20524 [BZ #411]
20525 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20526
314054ea
JM
205272012-02-06 Joseph Myers <joseph@codesourcery.com>
20528
20529 * sysdeps/i386/sysdep.h: Include <features.h>.
20530 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20531 version.
20532
d8e0ca50
JM
205332012-02-05 Joseph Myers <joseph@codesourcery.com>
20534
20535 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20536 Define.
20537 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20538 LOAD_PIC_REG_STR.
20539
b1da7dd9
JM
205402012-02-03 Joseph Myers <joseph@codesourcery.com>
20541
20542 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20543 (SETUP_PIC_REG): Use GET_PC_THUNK.
20544 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20545 macro.
20546
9a1d9254
JM
205472012-02-03 Joseph Myers <joseph@codesourcery.com>
20548
20549 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20550 for non-PIC compilation.
20551 (SETUP_PIC_REG): Add .p2align directive.
20552 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20553 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20554 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20555 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20556 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20557 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20558 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20559 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20560 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20561 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20562 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20563 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20564 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20565 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20566 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20567 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20568 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20569 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20570 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20571 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20572 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20573 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20574 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20575 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20576 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20577 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20578 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20579 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20580 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20581 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20582 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20583 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20584 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20585 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20586 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20587 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20588 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20589 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20590 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20591 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20592 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20593
65dc3b75
JM
205942012-02-03 Joseph Myers <joseph@codesourcery.com>
20595
20596 * math/tst-CMPLX.c: Include <stdio.h>.
20597
d55bf177
JM
205982012-01-31 Joseph Myers <joseph@codesourcery.com>
20599
20600 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20601 float.
20602 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20603 * sysdeps/sparc/bits/mathdef.h: Likewise.
20604
69db4f8f
MP
206052012-01-31 Marek Polacek <polacek@redhat.com>
20606
20607 * libio/libio.h: Don't define _PARAMS.
20608 * locale/programs/config.h: Don't define PARAMS.
20609 * stdlib/strtol_l.c: Likewise.
20610 (__strtol_l): Remove PARAMS from the prototype.
20611
41b81892
UD
206122012-01-31 Ulrich Drepper <drepper@gmail.com>
20613
3b49edc0
UD
20614 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20615 names. Just use the correct names. Remove unnecessary wrapper
20616 functions.
20617 * malloc/arena.c: Likewise.
20618 * malloc/hooks.c: Likewise.
20619
41b81892
UD
20620 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20621 ARENA_TEST says not to. Simplify test for creation of a new arena.
20622 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20623
27a25b6e
UD
206242012-01-30 Ulrich Drepper <drepper@gmail.com>
20625
20626 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20627 into tail calls.
20628 (update_get_addr): New function.
20629 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20630 GET_ADDR_MODULE parameter.
20631
c8a89e7d
JM
206322012-01-30 Joseph Myers <joseph@codesourcery.com>
20633
20634 * crypt/cert.c: Remove __STDC__ conditionals.
20635 * crypt/crypt-entry.c: Likewise.
20636 * crypt/crypt_util.c: Likewise.
20637 * libio/filedoalloc.c: Likewise.
20638 * libio/fileops.c: Likewise.
20639 * libio/genops.c: Likewise.
20640 * libio/iofclose.c: Likewise.
20641 * libio/iofdopen.c: Likewise.
20642 * libio/iofopen.c: Likewise.
20643 * libio/iofopen64.c: Likewise.
20644 * libio/iogetdelim.c: Likewise.
20645 * libio/iopopen.c: Likewise.
20646 * libio/obprintf.c: Likewise.
20647 * libio/oldfileops.c: Likewise.
20648 * libio/oldiofclose.c: Likewise.
20649 * libio/oldiofdopen.c: Likewise.
20650 * libio/oldiofopen.c: Likewise.
20651 * libio/oldiopopen.c: Likewise.
20652 * libio/wfiledoalloc.c: Likewise.
20653 * libio/wgenops.c: Likewise.
20654 * locale/programs/xmalloc.c: Likewise.
20655 * misc/syslog.c: Likewise.
20656 * stdio-common/xbug.c: Likewise.
20657 * string/memchr.c: Likewise.
20658 * string/memcmp.c: Likewise.
20659 * string/memrchr.c: Likewise.
20660 * string/rawmemchr.c: Likewise.
20661 * sysdeps/posix/getcwd.c: Likewise.
20662 * time/strftime_l.c: Likewise.
20663
3b100462
JM
206642012-01-30 Joseph Myers <joseph@codesourcery.com>
20665
20666 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20667 * config.make.in (config-cflags-sse2avx): Define.
20668 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20669 Fix typo.
20670
607998af
CM
206712012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20672
20673 * scripts/config.guess: Update from upstream config git repository.
20674 * scripts/config.sub: Likewise.
20675
3601428f
CM
206762012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20677
3ac8b282
CM
20678 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20679 (EM_NUM): Update.
20680 (R_TILEPRO_*, R_TILEGX_*): New macros.
20681
e034841e
CM
20682 * scripts/firstversions.awk: Fix bug in version range handling.
20683
540d7568
CM
20684 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20685
3601428f
CM
20686 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20687
463de862
CM
20688 * include/sys/epoll.h: New file.
20689 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20690 libc_hidden_def.
20691
73139a76
UD
206922012-01-28 Ulrich Drepper <drepper@gmail.com>
20693
96bc5b45
UD
20694 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20695 Avoid unnecessary __WORDSIZE == 64 test.
20696 (fmaxf): Use VEX format if possible.
20697 (fmax): Likewise.
20698 (fminf): Likewise.
20699 (fmin): Likewise.
20700
56f6f6a2
UD
20701 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20702 * math/math_private.h: Remove libc_fegetround* and
20703 libc_fesetround*.
20704 * sysdeps/i386/configure.in: Check for -msse2avx.
20705 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20706 also if SSE2AVX is defined.
20707 Remove libc_fegetround* and libc_fesetround*.
20708 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20709 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20710 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20711 of HAS_YMM_USABLE.
20712 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20713 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20714 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20715 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20716 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20717
73139a76
UD
20718 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20719
d73f93a4
AZ
207202012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20721
20722 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20723 size is not set.
20724 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20725
6ee65ed6
UD
207262012-01-27 Ulrich Drepper <drepper@gmail.com>
20727
20728 [BZ #13618]
20729 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20730 relocation.
20731 * Makeconfig (libm): Define.
20732 * elf/Makefile: Add rules to build and run tst-relsort1.
20733 * elf/tst-relsort1.c: New file.
20734 * elf/tst-relsort1mod1.c: New file.
20735 * elf/tst-relsort1mod2.c: New file.
20736
8db21882
JM
207372012-01-27 Joseph Myers <joseph@codesourcery.com>
20738
20739 * math/s_ldexp.c: Remove __STDC__ conditionals.
20740 * math/s_ldexpf.c: Likewise.
20741 * math/s_ldexpl.c: Likewise.
20742 * math/s_nextafter.c: Likewise.
20743 * math/s_nexttowardf.c: Likewise.
20744 * math/s_significand.c: Likewise.
20745 * math/s_significandf.c: Likewise.
20746 * math/s_significandl.c: Likewise.
20747 * math/w_jnl.c: Likewise.
20748 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20749 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20750 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20751 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20752 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20753 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20754 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20755 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20756 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20757 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20758 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20759 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20760 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20761 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20762 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20763 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20764 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20765 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20766 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20767 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20768 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20769 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20770 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20771 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20772 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20773 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20774 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20775 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20776 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20777 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20778 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20779 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20780 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20781 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20782 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20783 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20784 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20785 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20786 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20787 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20788 * sysdeps/ieee754/k_standard.c: Likewise.
20789 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20790 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20791 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20792 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20793 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20794 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20795 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20796 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20797 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20798 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20799 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20800 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20801 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20802 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20803 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20804 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20805 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20806 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20807 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20808 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20809 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20810 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20811 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20812 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20813 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20814 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20815 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20817 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20818 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20819 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20820 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20821 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20822 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20823 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20824 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20825 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20826 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20827 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20828 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20829 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20830 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20831 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20832 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20833 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20834 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20835 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20836 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20837 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20838 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20839 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20840 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20841 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20842 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20843 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20844 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20845 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20846 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20847 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20848 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20849 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20850 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20851 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20852 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20853 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20854 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20855 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20856 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20857 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20858 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20859 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20860 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20861 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20862 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20863 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20864 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20865 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20866 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20867 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20868 * sysdeps/ieee754/s_matherr.c: Likewise.
20869 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20870 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20871 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20872 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20873
965a54a4
JM
208742012-01-26 Joseph Myers <joseph@codesourcery.com>
20875
20876 * crypt/md5.h: Remove __STDC__ conditionals.
20877 * libio/libioP.h: Likewise.
20878 * locale/programs/config.h: Likewise.
20879 * sysdeps/generic/sysdep.h: Likewise.
20880 * sysdeps/i386/asm-syntax.h: Likewise.
20881 * sysdeps/s390/asm-syntax.h: Likewise.
20882 * sysdeps/unix/sysdep.h: Likewise.
20883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20885
7071ad79
JM
208862012-01-26 Joseph Myers <joseph@codesourcery.com>
20887
20888 * libio/libio.h: Remove __STDC__ conditionals.
20889 * malloc/obstack.h: Likewise.
20890 * math/complex.h: Likewise.
20891 * math/math.h: Likewise.
20892 * sysdeps/generic/_G_config.h: Likewise.
20893 * sysdeps/gnu/_G_config.h: Likewise.
20894 * sysdeps/mach/hurd/_G_config.h: Likewise.
20895 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20896 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20897 * sysdeps/sparc/bits/mathdef.h: Likewise.
20898
afc5ed09
UD
208992012-01-26 Ulrich Drepper <drepper@gmail.com>
20900
20901 [BZ #13583]
20902 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20903 Clean up HAS_* macros.
afc5ed09 20904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20905 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20906 possible.
20907 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20908 HAS_AVX.
20909 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20910 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20911 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20912 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20913 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20914
bdb6de1d
JM
209152012-01-25 Joseph Myers <joseph@codesourcery.com>
20916
20917 * elf/tst-unique3.cc (gets): Remove declaration.
20918 * elf/tst-unique3lib.cc (gets): Likewise.
20919 * elf/tst-unique3lib2.cc (gets): Likewise.
20920 * elf/tst-unique4.cc (gets): Likewise.
20921
b15549e6
UD
209222012-01-24 Ulrich Drepper <drepper@gmail.com>
20923
20924 * include/stdio.h: Add C++ protection. Add gets declarations and
20925 definitions.
20926 * debug/tst-chk1.c: Don't declare gets here.
20927 * stdio-common/tst-gets.c: Likewise.
20928
a037381f
JM
209292012-01-24 Joseph Myers <joseph@codesourcery.com>
20930
20931 * posix/glob: Remove directory.
20932
f1d4aa75
JM
209332012-01-24 Joseph Myers <joseph@codesourcery.com>
20934
20935 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20936
81c0c964
PT
209372012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20938
20939 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20940 of the non-standard EPFNOSUPPORT.
20941
0ea698ae
ST
209422011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20943
20944 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20945 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20946 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20947
d220b117
UD
209482012-01-21 Ulrich Drepper <drepper@gmail.com>
20949
20950 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20951
3e1aa84e
UD
209522012-01-20 Ulrich Drepper <drepper@gmail.com>
20953
20954 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20955 transient errors.
20956 * nscd/grpcache.c (cache_addgr): Likewise.
20957 * nscd/hstcache.c (cache_addhst): Likewise.
20958 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20959 * nscd/pwdcache.c (cache_addpw): Likewise.
20960 * nscd/servicescache.c (cache_addserv): Likewise.
20961
400aa020
UD
209622012-01-16 Ulrich Drepper <drepper@gmail.com>
20963
d77e7869
UD
20964 * malloc/malloc.c: Various cleanups.
20965 * malloc/hooks.c: Likewise.
20966
400aa020
UD
20967 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20968 * stdlib/bug-fmtmsg1.c: New file.
20969
20970 * stdlib/fmtmsg.c (init): Add missing unlock.
20971 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20972
e0a309cf
MP
209732012-01-12 Marek Polacek <polacek@redhat.com>
20974
20975 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20976 and _GNU_SOURCE.
20977
929d11c7
WS
209782012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20979
20980 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20981 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20982 macro to ensure uniqueness of label name.
20983 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20984 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20985
41d0e869
UD
209862012-01-11 Ulrich Drepper <drepper@gmail.com>
20987
0cc5ed3b
UD
20988 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20989
41d0e869
UD
20990 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20991 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20992 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20993 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20994
a47a831a
UD
209952012-01-10 Ulrich Drepper <drepper@gmail.com>
20996
daa891c0
UD
20997 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20998
20999 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21000 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21001 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21002
e58ef0f2
UD
21003 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21004
a47a831a 21005 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21006 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21007 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21008 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21009
21010 * math/bits/math-finite.h: Add ldexp support.
21011
a0bfc9c7
MP
210122012-01-10 Marek Polacek <polacek@redhat.com>
21013
21014 * locale/programs/localedef.h (show_archive_content): Add noreturn
21015 attribute.
21016
d6e97a1d
UD
210172012-01-09 Ulrich Drepper <drepper@gmail.com>
21018
21019 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21020
d5835c26
UD
210212012-01-08 Ulrich Drepper <drepper@gmail.com>
21022
e5f484c6
UD
21023 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21024
d5835c26
UD
21025 * io/Makefile (headers): Add bits/poll2.h.
21026
d1f741e9
WS
210272011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21028
21029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21030 typo #include statement.
21031
ec09c1c4
UD
210322012-01-08 Ulrich Drepper <drepper@gmail.com>
21033
21034 * include/sys/cdefs.h: Define __attribute_alloc_size.
21035 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21036 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21037 * elf/pldd.c: Likewise.
21038 * iconv/iconv_charmap.c: Likewise.
21039 * iconv/iconvconfig.c: Likewise.
21040 * iconv/strtab.c: Likewise.
21041 * locale/programs/locale.c: Likewise.
21042 * locale/programs/localedef.h: Likewise.
21043 * locale/programs/simple-hash.c: Likewise.
21044 * nscd/nscd.h: Likewise.
21045 * nss/makedb.c: Likewise.
21046 * sysdeps/generic/ldconfig.h: Likewise.
21047 * locale/programs/localedef.c: Remove xmalloc prototype.
21048 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21049
20b38e03
PP
210502012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21051
21052 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21053 appropriate.
21054
a0da5fe1
UD
210552012-01-08 Ulrich Drepper <drepper@gmail.com>
21056
1d5a644a 21057 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21058 * math/tst-CMPLX.c: New file.
1d5a644a 21059
8784a6db
UD
21060 * math/complex.h (CMPLXL): Fix typo.
21061
d9a216c0
UD
21062 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21063 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21064 GLIBC_2.16.
21065 * debug/tst-chk1.c: Add poll and ppoll tests.
21066 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21067 * include/sys/poll.h: Add hidden proto for ppoll.
21068 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21069 * sysdeps/mach/hurd/ppoll.c: Likewise.
21070 * io/ppoll.c: Likewise.
21071 * debug/poll_chk.c: New file.
21072 * debug/ppoll_chk.c: New file.
21073 * include/bits/poll2.h: New file.
21074 * io/bits/poll2.h: New file.
21075
ac097f5c
UD
21076 [BZ #1350]
21077 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21078
2119dcfa
UD
21079 * configure.in: static is always set to yes. Remove.
21080 * config.make.in: Don't set build-static.
21081 * Makeconfig: Remove use of build-static.
21082 * dlfcn/Makefile: Likewise.
21083 * elf/Makefile: Likewise.
21084 * math/Makefile: Likewise.
21085 * misc/Makefile: Likewise.
21086 * nptl/Makefile: Likewise.
21087 * sysdeps/mach/hurd/Makefile: Likewise.
21088
121766a9
UD
21089 * configure.in: PWD_P is not used anymore.
21090 * config.make.in: Remove PWD_P entry.
21091
51a1d39c 21092 * configure.in: Remove last remnants of RANLIB.
8720d066 21093 No need to check for signed size_t anymore.
215f4bdc
UD
21094 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21095 and IA-64.
3857022a 21096 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21097 * aclocal.m4: Likewise.
21098
d3ed7225
UD
21099 * wcsmbs/mbrtoc16.c: Implement using towc function.
21100 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21101 * wcsmbs/wcsmbsload.c: Likewise.
21102 * iconv/gconv_simple.c: Likewise.
21103 * iconv/gconv_int.h: Likewise.
21104 * iconv/gconv_builtin.h: Likewise.
21105 * iconv/iconv_prog.c: Remove CHAR16 handling.
21106
21107 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21108
21109 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21110
a0da5fe1
UD
21111 * configure.in: Remove --with-elf and --enable-bounded options.
21112 Dont set base_machine for ia64. More non-ELF conditions removed.
21113 Remove testing and setting of leading underscore information.
21114 * config.make.in (build-bounded): Set to no.
21115 * config.h.in: Remove NO_UNDERSCORES entry.
21116 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21117 them.
21118 * csu/start.c: Remove !NO_UNDERSCORE code.
21119 * locale/localeinfo.h: Likewise.
21120 * sysdeps/generic/machine-gmon.h: Likewise.
21121 * sysdeps/generic/sysdep.h: Likewise.
21122 * sysdeps/i386/sysdep.h: Likewise.
21123 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21124 * sysdeps/mach/sysdep.h: Likewise.
21125 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21126 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21127 * sysdeps/sh/sysdep.h: Likewise.
21128 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21129 * sysdeps/unix/i386/sysdep.S: Likewise.
21130 * sysdeps/unix/sparc/start.c: Likewise.
21131 * sysdeps/unix/sparc/sysdep.S: Likewise.
21132 * sysdeps/unix/sparc/sysdep.h: Likewise.
21133 * sysdeps/unix/start.c: Likewise.
21134 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21135 * sysdeps/x86_64/sysdep.h: Likewise.
21136
df78418a
UD
211372012-01-07 Ulrich Drepper <drepper@gmail.com>
21138
a784e502
UD
21139 [BZ #13553]
21140 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21141 for non-gcc.
21142 * argp/argp-fmtstream.h: Use const instead __const.
21143 * argp/argp.h: Likewise.
21144 * assert/assert.h: Likewise.
21145 * bits/fenv.h: Likewise.
21146 * bits/sched.h: Likewise.
21147 * bits/sigset.h: Likewise.
21148 * bits/sigthread.h: Likewise.
21149 * catgets/nl_types.h: Likewise.
21150 * conform/data/pthread.h-data: Likewise.
21151 * crypt/crypt-private.h: Likewise.
21152 * crypt/crypt.h: Likewise.
21153 * crypt/crypt_util.c: Likewise.
21154 * ctype/ctype.h: Likewise.
21155 * debug/execinfo.h: Likewise.
21156 * debug/mbsnrtowcs_chk.c: Likewise.
21157 * debug/mbsrtowcs_chk.c: Likewise.
21158 * debug/wcsnrtombs_chk.c: Likewise.
21159 * debug/wcsrtombs_chk.c: Likewise.
21160 * debug/wcstombs_chk.c: Likewise.
21161 * dirent/dirent.h: Likewise.
21162 * dlfcn/dlfcn.h: Likewise.
21163 * elf/neededtest4.c: Likewise.
21164 * grp/grp.h: Likewise.
21165 * gshadow/gshadow.h: Likewise.
21166 * iconv/gconv.h: Likewise.
21167 * iconv/gconv_int.h: Likewise.
21168 * iconv/gconv_simple.c: Likewise.
21169 * iconv/iconv.h: Likewise.
21170 * iconv/loop.c: Likewise.
21171 * iconv/skeleton.c: Likewise.
21172 * include/aio.h: Likewise.
21173 * include/aliases.h: Likewise.
21174 * include/argz.h: Likewise.
21175 * include/arpa/inet.h: Likewise.
21176 * include/assert.h: Likewise.
21177 * include/dirent.h: Likewise.
21178 * include/dlfcn.h: Likewise.
21179 * include/execinfo.h: Likewise.
21180 * include/fcntl.h: Likewise.
21181 * include/fenv.h: Likewise.
21182 * include/glob.h: Likewise.
21183 * include/grp.h: Likewise.
21184 * include/libintl.h: Likewise.
21185 * include/mntent.h: Likewise.
21186 * include/netdb.h: Likewise.
21187 * include/pwd.h: Likewise.
21188 * include/rpc/netdb.h: Likewise.
21189 * include/sched.h: Likewise.
21190 * include/search.h: Likewise.
21191 * include/shadow.h: Likewise.
21192 * include/signal.h: Likewise.
21193 * include/stdio.h: Likewise.
21194 * include/stdlib.h: Likewise.
21195 * include/string.h: Likewise.
21196 * include/sys/socket.h: Likewise.
21197 * include/sys/stat.h: Likewise.
21198 * include/sys/statfs.h: Likewise.
21199 * include/sys/statvfs.h: Likewise.
21200 * include/sys/syslog.h: Likewise.
21201 * include/sys/time.h: Likewise.
21202 * include/sys/uio.h: Likewise.
21203 * include/time.h: Likewise.
21204 * include/unistd.h: Likewise.
21205 * include/utmp.h: Likewise.
21206 * include/wchar.h: Likewise.
21207 * include/wctype.h: Likewise.
21208 * inet/aliases.h: Likewise.
21209 * inet/arpa/inet.h: Likewise.
21210 * inet/netinet/ether.h: Likewise.
21211 * inet/netinet/in.h: Likewise.
21212 * intl/libintl.h: Likewise.
21213 * io/bits/fcntl2.h: Likewise.
21214 * io/fcntl.h: Likewise.
21215 * io/ftw.h: Likewise.
21216 * io/sys/poll.h: Likewise.
21217 * io/sys/stat.h: Likewise.
21218 * io/sys/statfs.h: Likewise.
21219 * io/sys/statvfs.h: Likewise.
21220 * io/utime.h: Likewise.
21221 * libio/bits/stdio.h: Likewise.
21222 * libio/bits/stdio2.h: Likewise.
21223 * libio/libio.h: Likewise.
21224 * libio/libioP.h: Likewise.
21225 * libio/stdio.h: Likewise.
21226 * locale/lc-ctype.c: Likewise.
21227 * locale/locale.h: Likewise.
21228 * login/utmp.h: Likewise.
21229 * malloc/arena.c: Likewise.
21230 * malloc/malloc.c: Likewise.
21231 * malloc/malloc.h: Likewise.
21232 * malloc/mcheck.c: Likewise.
21233 * malloc/mtrace.c: Likewise.
21234 * math/bits/mathcalls.h: Likewise.
21235 * math/fenv.h: Likewise.
21236 * math/math_private.h: Likewise.
21237 * misc/bits/error.h: Likewise.
21238 * misc/bits/syslog.h: Likewise.
21239 * misc/err.h: Likewise.
21240 * misc/error.h: Likewise.
21241 * misc/fstab.h: Likewise.
21242 * misc/mntent.h: Likewise.
21243 * misc/regexp.h: Likewise.
21244 * misc/search.h: Likewise.
21245 * misc/sgtty.h: Likewise.
21246 * misc/sys/mman.h: Likewise.
21247 * misc/sys/syslog.h: Likewise.
21248 * misc/sys/uio.h: Likewise.
21249 * misc/sys/xattr.h: Likewise.
21250 * misc/ttyent.h: Likewise.
21251 * nis/rpcsvc/ypclnt.h: Likewise.
21252 * nss/nss.h: Likewise.
21253 * posix/bits/unistd.h: Likewise.
21254 * posix/fnmatch.h: Likewise.
21255 * posix/glob.h: Likewise.
21256 * posix/sched.h: Likewise.
21257 * posix/spawn.h: Likewise.
21258 * posix/sys/wait.h: Likewise.
21259 * posix/unistd.h: Likewise.
21260 * posix/wordexp.h: Likewise.
21261 * pwd/pwd.h: Likewise.
21262 * resolv/netdb.h: Likewise.
21263 * resource/sys/resource.h: Likewise.
21264 * rt/aio.h: Likewise.
21265 * rt/bits/mqueue2.h: Likewise.
21266 * rt/mqueue.h: Likewise.
21267 * shadow/shadow.h: Likewise.
21268 * signal/signal.h: Likewise.
21269 * socket/send.c: Likewise.
21270 * socket/sendto.c: Likewise.
21271 * socket/sys/socket.h: Likewise.
21272 * stdio-common/printf.h: Likewise.
21273 * stdlib/bits/stdlib.h: Likewise.
21274 * stdlib/fmtmsg.h: Likewise.
21275 * stdlib/monetary.h: Likewise.
21276 * stdlib/stdlib.h: Likewise.
21277 * stdlib/ucontext.h: Likewise.
21278 * streams/stropts.h: Likewise.
21279 * string/argz.h: Likewise.
21280 * string/bits/string2.h: Likewise.
21281 * string/string.h: Likewise.
21282 * string/strings.h: Likewise.
21283 * sunrpc/rpc/auth.h: Likewise.
21284 * sunrpc/rpc/auth_des.h: Likewise.
21285 * sunrpc/rpc/clnt.h: Likewise.
21286 * sunrpc/rpc/netdb.h: Likewise.
21287 * sunrpc/rpc/pmap_clnt.h: Likewise.
21288 * sunrpc/rpc/xdr.h: Likewise.
21289 * sysdeps/generic/inttypes.h: Likewise.
21290 * sysdeps/generic/net/if.h: Likewise.
21291 * sysdeps/generic/sys/swap.h: Likewise.
21292 * sysdeps/gnu/net/if.h: Likewise.
21293 * sysdeps/gnu/utmpx.h: Likewise.
21294 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21295 * sysdeps/i386/i486/bits/string.h: Likewise.
21296 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21297 * sysdeps/s390/bits/string.h: Likewise.
21298 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21299 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21300 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21301 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21302 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21303 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21304 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21305 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21306 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21307 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21308 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21309 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21310 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21311 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21312 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21313 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21314 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21315 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21316 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21317 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21318 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21319 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21320 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21321 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21322 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21323 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21324 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21325 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21326 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21327 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21328 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21329 * sysvipc/sys/ipc.h: Likewise.
21330 * sysvipc/sys/msg.h: Likewise.
21331 * sysvipc/sys/sem.h: Likewise.
21332 * sysvipc/sys/shm.h: Likewise.
21333 * termios/termios.h: Likewise.
21334 * time/sys/time.h: Likewise.
21335 * time/time.h: Likewise.
21336 * wcsmbs/bits/wchar2.h: Likewise.
21337 * wcsmbs/uchar.h: Likewise.
21338 * wcsmbs/wchar.h: Likewise.
21339 * wctype/wctype.h: Likewise.
21340
0269750c
UD
21341 [BZ #13551]
21342 * Makeconfig: Remove all but ELF support including AIX support.
21343 * Makerules: Likewise.
21344 * config.h.in: Likewise.
21345 * config.make.in: Likewise.
21346 * configure: Likewise.
21347 * configure.in: Likewise.
21348 * csu/Makefile: Likewise.
21349 * csu/version.c: Likewise.
21350 * debug/Makefile: Likewise.
21351 * dlfcn/Makefile: Likewise.
21352 * elf/Makefile: Likewise.
21353 * extra-lib.mk: Likewise.
21354 * iconv/Makefile: Likewise.
21355 * include/libc-symbols.h: Likewise.
21356 * include/shlib-compat.h: Likewise.
21357 * resolv/Makefile: Likewise.
21358 * resolv/res_libc.c: Likewise.
21359 * rt/Makefile: Likewise.
21360 * sysdeps/i386/asm-syntax.h: Likewise.
21361 * sysdeps/i386/sysdep.h: Likewise.
21362 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21363 * sysdeps/mach/sysdep.h: Likewise.
21364 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21365 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21366 * sysdeps/s390/asm-syntax.h: Likewise.
21367 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21368 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21369 * sysdeps/sh/sysdep.h: Likewise.
21370 * sysdeps/unix/sparc/sysdep.h: Likewise.
21371 * sysdeps/wordsize-32/divdi3.c: Likewise.
21372 * sysdeps/x86_64/sysdep.h: Likewise.
21373
00bbd29b
UD
21374 * argp/Versions: Remove _argp_unlock_xxx.
21375
21376 [BZ #13559]
21377 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21378 * abilist/libBrokenLocale.abilist: Likewise.
21379 * abilist/libanl.abilist: Likewise.
21380 * abilist/libc.abilist: Likewise.
21381 * abilist/libcrypt.abilist: Likewise.
21382 * abilist/libdl.abilist: Likewise.
21383 * abilist/libm.abilist: Likewise.
21384 * abilist/libnsl.abilist: Likewise.
21385 * abilist/libpthread.abilist: Likewise.
21386 * abilist/libresolv.abilist: Likewise.
21387 * abilist/librt.abilist: Likewise.
21388 * abilist/libthread_db.abilist: Likewise.
21389 * abilist/libutil.abilist: Likewise.
21390 * abilist/libnss_db.abilist: New file.
21391
21392 * scripts/abilist.awk: Add support for indirect functions.
21393
a2693a0e
UD
21394 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21395
3f05895f
UD
21396 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21397
ecb6fb48
UD
21398 * shlib-versions: Remove entries for ports architectures.
21399
664f8cb9
UD
21400 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21401 files in ports.
21402 * elf/stackguard-macros.h: Remove support for IA-64.
21403 * elf/tst-auditmod1.c: Likewise.
21404 * sysdeps/generic/ldsodefs.h: Likewise.
21405
7ae81d88
UD
21406 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21407 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21408 configure files.
21409
bdeba135
UD
21410 [BZ #13552]
21411 * configure.in: Remove --enable-omitfp support.
21412 * FAQ.in: Adjust.
21413 * config.make.in: Likewise.
21414 * Makeconfig: Likewise.
21415 * manual/install.texi: Likewise.
21416
d75a0a62
UD
21417 In case anyone cares, the IA-64 architecture could move to ports.
21418 * sysdeps/ia64/*: Removed.
21419 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21420 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21421
dcc9756b
UD
21422 [BZ #13555]
21423 * configure.in: Remove entries for unsupported architectures.
21424
d3761ebc 21425 [BZ #13533]
9954432e
UD
21426 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21427 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21428 routines.
21429 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21430 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21431 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21432 fall back to using wcrtomb.
21433 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21434 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21435 renaming.
21436 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21437 * wcsmbs/tst-c16c32-1.c: New file.
21438
21439 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21440 local variable.
21441
c3a87236
UD
21442 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21443
28926a1b
UD
21444 * elf/tst-unique3.cc: Add explicit declaration of gets.
21445 * elf/tst-unique3lib.cc: Likewise.
21446 * elf/tst-unique3lib2.cc: Likewise.
21447 * elf/tst-unique4.cc: Likewise.
21448
df78418a
UD
21449 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21450
8ecd6b2a
JM
214512012-01-06 Joseph Myers <joseph@codesourcery.com>
21452
21453 [BZ #13566]
21454 * assert/assert.h (static_assert): Don't define for C++.
21455 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21456 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21457
9f115170
UD
214582012-01-03 Ulrich Drepper <drepper@gmail.com>
21459
5e0d0300
UD
21460 * iconv/loop.c (single loop): Fix assertion in storing of
21461 remaining bytes.
21462
9f115170
UD
21463 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21464
81fb02b0
UD
214652012-01-01 Ulrich Drepper <drepper@gmail.com>
21466
21467 * posix/getconf.c: Update copyright year.
21468 * nss/getent.c: Likewise.
a316c1f6 21469 * nss/makedb.c: Likewise.
81fb02b0
UD
21470 * iconv/iconvconfig.c: Likewise.
21471 * iconv/iconv_prog.c: Likewise.
21472 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21473 * elf/pldd.c: Likewise.
21474 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21475 * catgets/gencat.c: Likewise.
21476 * csu/version.c: Likewise.
21477 * elf/ldd.bash.in: Likewise.
21478 * elf/sprof.c (print_version): Likewise.
21479 * locale/programs/locale.c: Likewise.
21480 * locale/programs/localedef.c: Likewise.
a316c1f6 21481 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21482 * nscd/nscd.c (print_version): Likewise.
21483 * debug/xtrace.sh: Likewise.
21484 * malloc/memusage.sh: Likewise.
21485 * malloc/mtrace.pl: Likewise.
21486 * debug/catchsegv.sh: Likewise.
21487
2ba92745
JJ
214882011-12-30 Jakub Jelinek <jakub@redhat.com>
21489
21490 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21491 pure attribute.
21492
dadebdae
UD
214932011-12-24 Ulrich Drepper <drepper@gmail.com>
21494
d3761ebc 21495 [BZ #13533]
db6af3eb
UD
21496 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21497 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21498 transformations.
21499 * iconv/gconv_int.h: Likewise.
21500 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21501 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21502 from libc for GLIBC_2.16.
21503 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21504 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21505 * wcsmbs/uchar.h: Really define mbstate_t.
21506 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21507 * wcsmbs/c16rtomb.c: New file.
21508 * wcsmbs/mbrtoc16.c: New file.
21509 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21510 for C/POSIX locale.
21511 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21512 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21513
dadebdae
UD
21514 * wcsmbs/wchar.h: Add missing __restrict.
21515
67371b56
UD
215162011-12-23 Ulrich Drepper <drepper@gmail.com>
21517
74033a25
UD
21518 [BZ #13532]
21519 * time/Makefile (routines): Add timespec_get.
21520 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21521 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21522 timespec for ISO C11.
21523 * time/timespec_get.c: New file.
21524 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21525 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21526
380d7e87
UD
21527 [BZ #13531]
21528 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21529 * stdlib/stdlib.h: Declare aligned_alloc.
21530 * Versions.def: Add GLIBC_2.16 for libc.
21531 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21532
4e9e7a35
UD
21533 [BZ 13527]
21534 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21535 ISO C11.
21536
380d7e87 21537 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21538 code.
21539
03a71829
UD
21540 [BZ #13528]
21541 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21542
839e283e
UD
21543 [BZ #13529]
21544 * assert/assert.h (static_assert): Define.
21545
ce5294e2 21546 * version.h: Update for 2.16 development version.
90fa7312 21547
8d44e150 21548 [BZ #13526]
d7809905
UD
21549 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21550 _ISOC11_SOURCE.
21551
c0da14cd
UD
21552 * version.h (RELEASE): Bump for 2.15 release.
21553 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21554
530a3249
MP
21555 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21556 Patch by Marek Polacek <mpolacek@redhat.com>.
21557
67371b56
UD
21558 * bits/byteswap.h: Protect long long constants with __extension__.
21559 * sysdeps/i386/bits/byteswap.h: Likewise.
21560 * sysdeps/ia64/bits/byteswap.h: Likewise.
21561 * sysdeps/s390/bits/byteswap.h: Likewise.
21562 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21563
15db4de1
LD
215642011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21565
21566 [BZ #13540]
bbe315ea
LD
21567 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21568 destination buffer.
15db4de1
LD
21569 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21570
2b2596b1
MP
215712011-12-23 Marek Polacek <polacek@redhat.com>
21572
21573 * elf/dl-addr.c (determine_info): Add inline keyword.
21574 * elf/tst-auditmod4b.c (check_avx): Likewise.
21575 * elf/tst-auditmod6b.c (check_avx): Likewise.
21576 * elf/tst-auditmod6c.c (check_avx): Likewise.
21577 * elf/tst-auditmod7b.c (check_avx): Likewise.
21578
70c6c246
UD
215792011-12-23 Ulrich Drepper <drepper@gmail.com>
21580
21581 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21582 !__SSE_MATH__.
21583
c044cf14
LD
215842011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21585
15db4de1 21586 [BZ #13540]
c044cf14
LD
21587 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21588 processing for last bytes.
21589
6b13d9d9
BH
215902011-08-06 Bruno Haible <bruno@clisp.org>
21591
d455f537
BH
21592 [BZ #13061]
21593 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21594 U+0385, not to U+1FEE.
21595
6b13d9d9
BH
21596 [BZ #13062]
21597 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21598 entry for U+00A5 U+0301.
21599
db910efd
UD
216002011-12-22 Ulrich Drepper <drepper@gmail.com>
21601
27deeafc
UD
21602 [BZ #13166]
21603 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21604 buffer for the output is too small.
21605
aed9d171
UD
21606 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21607 optimization.
21608
db910efd
UD
21609 [BZ #13185]
21610 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21611 SSE flags if possible.
21612
2bd779ae
LD
216132011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21614
e7f9dac3 21615 [BZ #13540]
2bd779ae
LD
21616 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21617 processing for last bytes.
21618
154bfc16
JM
216192011-12-22 Joseph Myers <joseph@codesourcery.com>
21620
21621 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21622 (syscall-list-default-options, syscall-list-default-condition)
21623 (syscall-list-includes): Define.
21624 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21625 list of ABIs and options and #if conditions for each ABI. Do not
21626 handle common syscalls between ABIs specially.
21627 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21628 Remove.
21629 (syscall-list-variants, syscall-list-32bit-options)
21630 (syscall-list-32bit-condition, syscall-list-64bit-options)
21631 (syscall-list-64bit-condition): Define.
21632 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21633 (syscall-list-variants, syscall-list-32bit-options)
21634 (syscall-list-32bit-condition, syscall-list-64bit-options)
21635 (syscall-list-64bit-condition): Define.
21636 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21637 Remove.
21638 (syscall-list-variants, syscall-list-32bit-options)
21639 (syscall-list-32bit-condition, syscall-list-64bit-options)
21640 (syscall-list-64bit-condition): Define.
21641 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21642 Remove.
21643 (syscall-list-variants, syscall-list-32bit-options)
21644 (syscall-list-32bit-condition, syscall-list-64bit-options)
21645 (syscall-list-64bit-condition): Define.
21646
21eaf3a5
UD
216472011-12-22 Ulrich Drepper <drepper@gmail.com>
21648
16c6f992
UD
21649 * locale/iso-639.def: Add brx entry.
21650
41043168
UD
21651 [BZ #13328]
21652 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21653 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21654
21eaf3a5
UD
21655 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21656 __feraiseexcept_renamed.
21657
e3a851a2
UD
216582011-12-21 Ulrich Drepper <drepper@gmail.com>
21659
4920765e
UD
21660 [BZ #13538]
21661 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21662 EPOLLET with unsigned values.
21663 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21664 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21665
e3a851a2
UD
21666 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21667 to large cancellation.
21668 * math/s_cacoshf.c: Likewise.
21669 * math/s_cacoshl.c: Likewise.
21670
b27e24b8
RK
216712011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21672
21673 [BZ #13305]
aebefeee 21674 [BZ #12786]
b27e24b8
RK
21675 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21676 * math/s_cacoshf.c: Likewise.
21677 * math/s_cacoshl.c: Likewise.
21678
ee190f67
UD
216792011-12-21 Ulrich Drepper <drepper@gmail.com>
21680
21681 [BZ #13439]
21682 * iconv/gconv.h: Define __GCONV_SWAP.
21683 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21684 * iconvdata/utf-16.c: Likewise.
21685 * iconvdata/utf-32.c: Likewise.
21686
707f25df
AS
216872011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21688
21689 [BZ #13524]
21690 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21691 numerator after shifting it by one limb.
21692
d2daaa1e
RÁE
216932011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21694
21695 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21696 under [__USE_EXTERN_INLINES].
21697
a4647e72
UD
216982011-12-17 Ulrich Drepper <drepper@gmail.com>
21699
21700 [BZ #13446]
21701 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21702
f0b264f1
AZ
217032011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21704
21705 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21706 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21707 optimized code.
21708 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21709 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21710 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21711 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21712 for strncasecmp/strncasecmp_l compilation.
21713 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21714 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21715
8ef4f244
MP
217162011-12-08 Marek Polacek <mpolacek@redhat.com>
21717
21718 [BZ #13484]
21719 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21720 of __asm__.
21721
97ac2654
UD
217222011-12-17 Ulrich Drepper <drepper@gmail.com>
21723
21724 [BZ #13506]
21725 * time/tzfile.c (__tzfile_read): Check values from file header.
21726
91d2a845
WS
217272011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21728
21729 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21730 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21731 * powerpc/powerpc32/dl-start.S: Likewise.
21732 * powerpc/powerpc32/elf/start.S: Likewise.
21733 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21734 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21735 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21736 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21737 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21738 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21739 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21740 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21741 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21742 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21743 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21744 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21745 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21746 * powerpc/powerpc32/memset.S: Likewise.
21747 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21748 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21749 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21750 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21751 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21752 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21753 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21754 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21755 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21756 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21757 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21758 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21759 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21760
a1267ba1
AZ
217612011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21762
21763 * math/libm-test.inc: Added more nearbyint tests.
21764 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21765 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21766 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21767 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21768
ad8ac1bd
RL
217692011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21770
21771 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21772 FD_CLOEXEC.
21773
1d3e4b61
UD
217742011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21775
21776 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21777 Add wcscpy-ssse3 wcscpy-c.
21778 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21779 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21780 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21781 * sysdeps/x86_64/wcschr.S: New file.
21782 * sysdeps/x86_64/wcsrchr.S: New file.
21783 * string/test-strcmp.c: Remove checking of wcscmp function for
21784 wrong alignments.
21785 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21786 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21787 wcsrchr-sse2 wcsrchr-c.
21788 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21789 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21790 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21791 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21792 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21793 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21794 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21795 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21796 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21797 * wcsmbc/wcschr.c (WCSCHR): New macro.
21798
5b330a2d
UD
217992011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21800
21801 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21802 * wcsmbs/test-wcsrchr.c: New file.
21803 * string/test-strrchr.c: Add wcsrchr support.
21804 (WIDE): New macro.
21805 * wcsmbs/test-wcscpy.c: New file.
21806 * string/test-strcpy.c: Add wcscpy support.
21807 (WIDE): New macro.
26428b7c 21808
f039c043
UD
218092011-12-10 Ulrich Drepper <drepper@gmail.com>
21810
21811 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21812 the inner loop.
21813
850fb039
AS
218142011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21815
21816 [BZ #13472]
21817 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21818
4efbd5cb
UD
218192011-12-04 Ulrich Drepper <drepper@gmail.com>
21820
52ff5dd0 21821 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21822 Minor optimizations.
52ff5dd0 21823
4efbd5cb
UD
21824 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21825 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21826 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21827
8a426e12
UD
218282011-12-03 Ulrich Drepper <drepper@gmail.com>
21829
aff2453d
UD
21830 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21831 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21832 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21833 for gcc to avoid warnings.
21834 * inet/Makefile (tests): Add tst-checks.
21835 * inet/tst-checks.c: New file.
21836
21837 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21838 warning.
21839
21840 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21841 __wmemcmp_sse2.
21842
21843 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21844 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21845
8a426e12
UD
21846 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21847
9bea3473
UD
218482011-12-02 Ulrich Drepper <drepper@gmail.com>
21849
3a965496
UD
21850 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21851 problem.
21852
9bea3473
UD
21853 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21854
f101631b
UD
218552011-11-29 Joseph Myers <joseph@codesourcery.com>
21856
21857 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21858 conditional on GCC version.
21859 (__arch_compare_and_exchange_val_8_acq)
21860 (__arch_compare_and_exchange_val_16_acq)
21861 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21862 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21863 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21864
a98275aa
UD
218652011-12-02 Joseph Myers <joseph@codesourcery.com>
21866
21867 * sysdeps/sh/backtrace.c: New file.
21868
d4cc29a2
AS
218692011-12-02 Andreas Schwab <schwab@redhat.com>
21870
21871 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21872 parenthesis.
21873
6257af2d
AS
218742011-12-01 Andreas Schwab <schwab@redhat.com>
21875
21876 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21877 falling back to utime.
21878
b5f44c1a
AS
218792011-11-30 Andreas Schwab <schwab@redhat.com>
21880
21881 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21882 expectations for float.
21883
f3a6cc0a
AS
218842011-11-29 Andreas Schwab <schwab@redhat.com>
21885
21886 * locale/weight.h (findidx): Add parameter len.
21887 * locale/weightwc.h (findidx): Likewise.
21888 * posix/fnmatch_loop.c (FCT): Adjust caller.
21889 * posix/regcomp.c (build_equiv_class): Likewise.
21890 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21891 * posix/regexec.c (check_node_accept_bytes): Likewise.
21892 * string/strcoll_l.c (STRCOLL): Likewise.
21893 * string/strxfrm_l.c (STRXFRM): Likewise.
21894
9d65ea3a
UD
218952011-11-17 Ulrich Drepper <drepper@gmail.com>
21896
21897 * Makefile.in: Remove CVSOPT handling.
21898 * configure.in: Remove use of AC_REVISION.
21899 * iconvdata/Makefile (distribute): No need to filter out CVS.
21900 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21901 handling.
21902
5583a086
AS
219032011-11-16 Andreas Schwab <schwab@redhat.com>
21904
21905 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21906 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21907 [USE_AS_STRNCASECMP_L]: Likewise.
21908 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21909 NO_TLS_DIRECT_SEG_REFS.
21910 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21911 Fix argument offsets for non-PIC.
21912 [USE_AS_STRNCASECMP_L]: Likewise.
21913 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21914 NO_TLS_DIRECT_SEG_REFS.
21915
d62a8200
UD
219162011-11-15 Ulrich Drepper <drepper@gmail.com>
21917
9d65ea3a 21918 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21919 O_CLOEXEC.
21920 * locale/loadlocale.c (_nl_load_locale): Likewise.
21921
09f93bd3
AS
219222011-11-15 Andreas Schwab <schwab@redhat.com>
21923
446514f9
AS
21924 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21925 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21926 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21927 (SYSCALL_GETTIME): Set errno on error.
21928
09f93bd3
AS
21929 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21930 count references to noai6ai_cached.
21931
312be3f9
UD
219322011-11-15 Ulrich Drepper <drepper@gmail.com>
21933
21934 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21935
21936 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21937 FD_CLOEXEC for /proc/self/maps.
21938
21939 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21940 FD_CLOEXEC for /proc/meminfo.
21941
21942 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21943 gai.conf.
21944
21945 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21946 FD_CLOEXEC for given file.
21947
21948 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21949
21950 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21951 FD_CLOEXEC for /etc/hosts.
21952 (_gethtent): Likewise.
21953
21954 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21955
21956 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21957 cancellation and set FD_CLOEXEC for /etc/netgroup.
21958
21959 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21960 reading /etc/publickey.
21961
21962 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21963 allow cancellation when reading /etc/group.
21964
21965 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21966 cancellation.
21967 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21968
21969 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21970 when using data file.
21971
21972 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21973
21974 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21975 (write_nis_obj): Use "c" and "e" in fopen.
21976
21977 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21978
21979 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21980
21981 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21982
21983 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21984
21985 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21986 locale.alias.
21987
21988 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21989
21990 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21991
21992 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21993
21994 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21995 file parsing and set FD_CLOEXEC.
21996
82af0fa8
UD
219972011-11-14 Ulrich Drepper <drepper@gmail.com>
21998
21999 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22000
a5fb313c
AS
220012011-11-14 Andreas Schwab <schwab@redhat.com>
22002
22003 * malloc/arena.c (arena_get2): Don't call reused_arena when
22004 _int_new_arena failed.
22005
6abf3465
UD
220062011-11-14 Ulrich Drepper <drepper@gmail.com>
22007
22008 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22009 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22010 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22011 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22012 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22013 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22014 to compile strcasecmp and strncasecmp.
22015 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22016 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22017
22018 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22019
76e3966e
UD
220202011-11-13 Ulrich Drepper <drepper@gmail.com>
22021
22022 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22023 locale-defines.sym to gen-as-const-headers.
22024 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22025 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22027 to compile strcasecmp and strncasecmp.
22028 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22029 strcasecmp_l and strncasecmp_l.
22030 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22031 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22032 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22033 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22034 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22035 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22036 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22037 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22038 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22039 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22040 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22041
ab26144e
UD
220422011-11-12 Ulrich Drepper <drepper@gmail.com>
22043
7edb22ef
UD
22044 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22045 result of SYSDEP_GETTIME_CPU to retval.
22046 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22047 parameter list to macro. Remove trailing semicolon. Adjust users.
22048
9694fc44
UD
22049 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22050 variable.
22051
8ad89ef8
UD
22052 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22053 mantissa words.
22054 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22055
0c822ef9
UD
22056 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22057 from unused variable.
22058
874e0564
UD
22059 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22060 DWARF definitions.
22061 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22062 for assembling.
22063
3a2edc79
UD
22064 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22065 over namespaces.
22066
f3c2577f
UD
22067 * sunrpc/rpc_prot.c (rejected): Fix case value.
22068
294ce126
UD
22069 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22070 unsigned long long int to avoid warnings in shift.
22071
5e2b63c6
UD
22072 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22073 of use of trans.
22074 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22075 variable tmp.
22076
e7f4b08e
UD
22077 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22078 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22079 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22080
ab26144e
UD
22081 * nis/nis_table.c (nis_list): Use variable of correct type for
22082 result of __follow_path call.
22083
8a6d5255
AZ
220842011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22085
22086 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22087 of math functions ceil, trunc, floor, round, and sqrt, when
22088 avaliable on the platform.
22089 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22090 name clash.
22091 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22092 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22093 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22094
aaddc98c
MP
220952011-10-30 Marek Polacek <mpolacek@redhat.com>
22096
22097 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22098 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22099
95b7042b
RM
221002011-11-11 Roland McGrath <roland@hack.frob.com>
22101
22102 * include/unistd.h: Fix __readlink return type.
22103 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22104
57769839
UD
221052011-11-11 Ulrich Drepper <drepper@gmail.com>
22106
22107 * stdlib/ucontext.h: Undo last change for makecontext.
22108
edc5984d
AS
221092011-11-11 Andreas Schwab <schwab@redhat.com>
22110
98591e58
AS
22111 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22112
edc5984d
AS
22113 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22114 * setjmp/setjmp.h: Mark functions as non-leaf.
22115 * setjmp/bits/setjmp2.h: Likewise.
22116 * stdlib/ucontext.h: Likewise.
22117
77cdc054
AS
221182011-11-10 Andreas Schwab <schwab@redhat.com>
22119
22120 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22121 (reused_arena): Don't check arena limit.
22122 (arena_get2): Atomically check arena limit.
22123
fe72eebd
UD
221242011-11-08 Ulrich Drepper <drepper@gmail.com>
22125
5f078c32
UD
22126 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22127 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22128
fe72eebd
UD
22129 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22130 instructions.
22131
ae1bc2fa
AS
221322011-11-07 Andreas Schwab <schwab@redhat.com>
22133
7583a88d
AS
22134 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22135 handler when locking.
22136
ae1bc2fa
AS
22137 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22138 Fix size of allocated buffer.
22139
10fb0bfa
AS
221402011-11-04 Andreas Schwab <schwab@redhat.com>
22141
998832a4
AS
22142 [BZ #10103]
22143 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22144 declarations for long double functions.
22145 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22146
10fb0bfa
AS
22147 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22148
3d7ba52b
AS
221492011-11-03 Andreas Schwab <schwab@redhat.com>
22150
a9ae54a1
AS
22151 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22152 installed.
22153
3d7ba52b
AS
22154 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22155 is disabled.
22156
bc8db248
ST
221572011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22158
22159 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22160
45b96dd6
AS
221612011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22162
647776f6
AS
22163 * include/alloca.h (stackinfo_alloca_round): Define.
22164 (extend_alloca): Use it.
22165 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22166 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22167 here.
22168
d91a8b93
AS
22169 * scripts/check-local-headers.sh: Ignore libaudit.h.
22170
45b96dd6
AS
22171 * nscd/Makefile (extra-objs): Make recursively expanded.
22172
432d41ce
UD
221732011-11-01 Ulrich Drepper <drepper@gmail.com>
22174
34372fc6
UD
22175 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22176 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22177
fadb59f8
UD
22178 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22179 * posix/tst-rfc3484-2.c: Likewise.
22180 * posix/tst-rfc3484-3.c: Likewise.
22181
78239589
UD
22182 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22183 process_vm_writev.
22184 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22185 process_vm_writev.
22186 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22187 process_vm_writev from libc using GLIBC_2.15 version.
22188
432d41ce
UD
22189 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22190
02f9c6cf
PP
221912011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22192
22193 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22194 stack usage.
22195
3a2c0242
UD
221962011-10-31 Ulrich Drepper <drepper@gmail.com>
22197
f4ec4833
UD
22198 [BZ #13367]
22199 * nss/getent.c (initgroups_keys): Show error message in case no group
22200 names are given.
22201
3a2c0242
UD
22202 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22203 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22204 __bump_nl_timestamp.
22205 * nscd/connections (nscd_init): When host database is served open
22206 netlink socket and request notification about configuration changes.
22207 (main_loop_poll): Track netlink file descriptor and bump timestamp
22208 in case data becomes available.
22209 (main_loop_epoll): Likewise.
22210 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22211 (database_pers_head): Add extra_data fileds.
22212 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22213 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22214 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22215 Adjust caller.
22216 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22217 in6ai data, call __free_in6ai.
22218 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22219 Add -DHAVE_NETLINK.
22220 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22221 interface information. Reuse previous data if netlink timestamp
22222 is not changed.
22223 (__bump_nl_timestamp): New function.
22224 (__free_in6ai): New function.
22225
636064eb
UD
222262011-10-30 Ulrich Drepper <drepper@gmail.com>
22227
22228 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22229 close_not_cancel_no_status here.
22230 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22231
9beb2334
UD
222322011-10-29 Ulrich Drepper <drepper@gmail.com>
22233
6ef76f3b
UD
22234 [BZ #13276]
22235 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22236 return value.
22237
0ffc4f3e 22238 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22239 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22240 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22241
cb95113e
UD
222422011-07-03 Andreas Jaeger <aj@suse.de>
22243
22244 [BZ #10709]
22245 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22246 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22247 * math/libm-test.inc (sin_test): Add test case.
22248
a1b560ff
UD
222492011-10-29 Ulrich Drepper <drepper@gmail.com>
22250
c9aaface
UD
22251 [BZ #13337]
22252 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22253 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22254
d272e7f1
UD
22255 * elf/chroot_canon.c (chroot_canon): Cleanups.
22256
1bc33071
UD
22257 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22258
1760874d
TJ
22259 [BZ #13335]
22260 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22261 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22262
51d91b18
UD
22263 * string/test-strchr.c: Make usable for strchrnul testing.
22264 * string/test-strchrnul.c: New file.
22265 * string/Makefile (strop-tests): Add strchrnul.
22266
a1b560ff 22267 * po/it.po: Update from translation team.
b611fb81 22268 * po/es.po: Likewise.
a1b560ff 22269
a5b81e1f
UD
222702011-10-28 Ulrich Drepper <drepper@gmail.com>
22271
fd52bc6d
UD
22272 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22273 the three constants needed as parameters. Drop the others.
22274 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22275 __m128i_strloadu_tolower.
52e4b9eb
UD
22276 Create and initialize variable zero and use it in all the places
22277 where _mm_setzero_si128 was used.
fd52bc6d 22278
a5b81e1f
UD
22279 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22280 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22281 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22282 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22283 anymore.
22284 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22285 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22286 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22287 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22288 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22289 __mpranred, __mptan.
22290 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22291 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22292 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22293 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22294 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22295 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22296 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22297 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22298 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22299
b4343346
AS
223002011-10-28 Andreas Schwab <schwab@redhat.com>
22301
0c92d8a8
AS
22302 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22303 redefine if SHARED.
22304 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22305
b4343346
AS
22306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22307 wide char related routines to wcsmbs subdir.
22308
3871f58f
AS
223092011-10-27 Andreas Schwab <schwab@redhat.com>
22310
22311 [BZ #13344]
22312 * misc/sys/cdefs.h (__THROWNL): Define.
22313 * posix/unistd.h: Use __THREADNL instead of __THREAD
22314 for memory synchronization functions.
22315
94d44d9f
RM
223162011-10-26 Roland McGrath <roland@hack.frob.com>
22317
21b64b15 22318 [BZ #13349]
94d44d9f
RM
22319 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22320 doesn't exist.
22321 * manual/stdio.texi (Obstack Streams): Node removed.
22322
f6ce9294
AS
223232011-10-26 Andreas Schwab <schwab@redhat.com>
22324
80479147
AS
22325 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22326 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22327 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22328
f6ce9294
AS
22329 * math/math_private.h (math_force_eval): Allow non-addressable
22330 arguments.
22331 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22332
618280a1
UD
223332011-10-25 Ulrich Drepper <drepper@gmail.com>
22334
e0016b11
UD
22335 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22336 file is not needed.
22337
22338 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22339 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22340 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22341 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22342 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22343 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22344 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22345 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22346 Add AVX variants.
22347 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22348 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22349 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22350 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22351 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22352 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22353 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22354 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22355 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22356 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22357 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22358 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22359 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22360 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22361 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22362 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22363 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22364 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22365 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22366
22367 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22368 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22369
618280a1
UD
22370 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22371 place. Use VEX encoding when compiling for AVX.
22372
37822576
AS
223732011-10-25 Andreas Schwab <schwab@redhat.com>
22374
1f1e1947
AS
22375 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22376 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22377
37822576
AS
22378 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22379
31ea014d
UD
223802011-10-25 Ulrich Drepper <drepper@gmail.com>
22381
d7826aa1 22382 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22383 useless if() expression.
d7826aa1
UD
22384 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22385 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22386 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22387 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22388 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22389 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22390 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22391 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22392 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22393 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22394 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22395 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22396 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22397 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22398 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22399 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22400 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22401 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22402 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22403
31ea014d
UD
22404 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22405
16437fec
AS
224062011-10-25 Andreas Schwab <schwab@redhat.com>
22407
22408 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22409 condition.
22410 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22411
31d3cc00
UD
224122011-10-25 Ulrich Drepper <drepper@gmail.com>
22413
22414 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22415 .text section. Avoid duplicate constants.
22416 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22417 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22418 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22419 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22420 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22421 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22422 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22423 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22424 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22425 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22426 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22427 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22428 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22429 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22430 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22431 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22432 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22433 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22434 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22435 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22436 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22437 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22438 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22439 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22440 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22441 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22442 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22443 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22444 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22445 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22446 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22447 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22448 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22449 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22450 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22451 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22452 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22453 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22454 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22455 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22456 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22457 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22458 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22459 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22460 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22461
58985aa9
UD
224622011-10-24 Ulrich Drepper <drepper@gmail.com>
22463
202c9deb
UD
22464 * sysdeps/x86_64/dla.h: Move to ...
22465 * sysdeps/x86_64/fpu/dla.h: ...here.
22466 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22467 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22468
af968f62
UD
22469 * config.make.in: Add have-mfma4 entry.
22470 * configure.in: Substitute libc_cv_cc_fma4.
22471 * math/Makefile (dbl-only-routines): Add sincostab.
22472 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22473 Use __sincostab not sincos.
22474 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22475 name is a macro.
22476 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22477 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22478 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22479 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22480 using __copysign.
22481 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22482 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22483 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22484 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22485 and __inv.
22486 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22487 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22488 __copysign.
22489 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22490 define aliases when function name is a macro.
22491 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22492 sysdeps/ieee754/dbl-64/sincos.tbl.
22493 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22494 fma4-enabled routines.
22495 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22496 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22497 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22498 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22499 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22500 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22501 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22502 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22503 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22504 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22505 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22506 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22507 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22508 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22509 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22510 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22511 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22512 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22513 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22514 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22515 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22516 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22517 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22518 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22519 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22520 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22521 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22522 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22523 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22524 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22525
58985aa9
UD
22526 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22527 rename.
22528 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22529 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22530 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22531 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22532 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22534 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22535 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22536
a201fbcf
AS
225372011-10-24 Andreas Schwab <schwab@redhat.com>
22538
22539 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22540
fc2ee42a
LD
225412011-10-23 Ulrich Drepper <drepper@gmail.com>
22542
bb3129bd
UD
22543 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22544
0275fff8
UD
22545 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22546 prediction.
22547 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22548
2fa2ae85
UD
22549 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22550 Remove unused variable magic_bits.
22551 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22552
fc2ee42a
LD
22553 * string/strnlen.c: Define and use STRNLEN macro.
22554 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22555 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22556 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22557 * wcsmbs/wcslen.c: Define and use WCSLEN.
22558 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22559 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22560 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22561 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22562 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22563 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22564 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22565
ce7dd29f
LD
225662011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22567
22568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22569 strnlen-sse2-no-bsf.
22570 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22571 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22572 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22573 Add strnlen support.
22574 (USE_AS_STRNLEN): New macro.
22575 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22576 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22577 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22578 * sysdeps/x86_64/wcslen.S: New file.
22579
979c70a3
MZ
225802011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22581
22582 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22583 XMM-moves are used for copying on small sizes.
22584
2d09f82f
LD
225852011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22586
22587 * wcsmbs/Makefile (strop-tests): Add wcschr.
22588 * wcsmbs/test-wcschr.c: New file.
22589 * string/test-strchr.c: Update.
22590 Add wcschr support.
22591 (WIDE): New macro.
22592
619fccca
LD
225932011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22594
2d09f82f 22595 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22596 * wcsmbs/test-wcslen.c: New file.
22597 * string/test-strlen.c: Update.
22598 Add wcslen support.
22599 (WIDE): New macro.
22600
09f699ea
UD
226012011-10-23 Ulrich Drepper <drepper@gmail.com>
22602
22603 * po/it.po: Update from translation team.
22604
95584d3b
LD
226052011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22606
22607 * sysdeps/x86_64/wcscmp.S: Update.
22608 Fix wrong comparison semantics.
22609 wcscmp shall use signed comparison not unsigned.
22610 Don't use substraction to avoid overflow bug.
22611 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22612 * wcsmbc/wcscmp.c: Likewise.
22613 * string/test-strcmp.c: Likewise.
22614 Add new tests to check cases with negative values.
22615
c8b3296b
UD
226162011-10-23 Ulrich Drepper <drepper@gmail.com>
22617
22618 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22619 * sysdeps/x86_64/dla.h: ...here. New file.
22620 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22621 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22622 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22628 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22629
246ad57a
AS
226302011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22631
22632 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22633 __ynl_finite aliases.
22634
a1a87169
UD
226352011-10-22 Ulrich Drepper <drepper@gmail.com>
22636
0d355eb7
UD
22637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22638
a1a87169
UD
22639 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22640 define DLA_FMA.
22641 [DLA_FMA] (EMULV): Use DLA_FMA.
22642 [DLA_FMA] (MUL12): Use EMULV.
22643 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22644 that are not needed.
22645 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22646 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22647 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22648 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22649 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22650 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22651 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22652
ee2aafe0
AS
226532011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22654
22655 * math/s_nan.c: Undef __nan.
22656 * math/s_nanf.c: Undef __nanf.
22657 * math/s_nanl.c: Undef __nanl.
22658 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22659 "math_private.h".
22660
bc62c2fb
UD
226612011-10-22 Ulrich Drepper <drepper@gmail.com>
22662
77425c63
UD
22663 * math/s_catan.c: Add branch predictions.
22664 * math/s_catanf.c: Likewise.
22665 * math/s_catanh.c: Likewise.
22666 * math/s_catanhf.c: Likewise.
22667 * math/s_catanhl.c: Likewise.
22668 * math/s_catanl.c: Likewise.
22669 * math/s_cexp.c: Likewise.
22670 * math/s_cexpf.c: Likewise.
22671 * math/s_cexpl.c: Likewise.
22672 * math/s_clog.c: Likewise.
22673 * math/s_clog10.c: Likewise.
22674 * math/s_clog10f.c: Likewise.
22675 * math/s_clog10l.c: Likewise.
22676 * math/s_clogf.c: Likewise.
22677 * math/s_clogl.c: Likewise.
22678 * math/s_csqrt.c: Likewise.
22679 * math/s_csqrtf.c: Likewise.
22680 * math/s_csqrtl.c: Likewise.
22681 * math/s_ctanf.c: Likewise.
22682 * math/s_ctanh.c: Likewise.
22683 * math/s_ctanhf.c: Likewise.
22684 * math/s_ctanhl.c: Likewise.
22685 * math/s_ctanl.c: Likewise.
22686
bc62c2fb
UD
22687 * math/math_private.h: Define __nan, __nanf, __nanl.
22688 * math/s_cacosh.c: Include <math_private.h>.
22689 * math/s_cacoshl.c: Likewise.
22690 * math/s_casinh.c: Likewise.
22691 * math/s_casinhf.c: Likewise.
22692 * math/s_casinhl.c: Likewise.
22693 * math/s_ccos.c: Rely entire on ccosh.
22694 * math/s_ccosf.c: Rely entire on ccoshf.
22695 * math/s_ccosl.c: Rely entirely on ccoshl.
22696 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22697 Remove tests for FE_INVALID.
22698 * math/s_ccoshf.c: Likewise.
22699 * math/s_ccoshl.c: Likewise.
22700 * math/s_csin.c: Likewise.
22701 * math/s_csinf.c: Likewise.
22702 * math/s_csinh.c Likewise.
22703 * math/s_csinhf.c: Likewise.
22704 * math/s_csinhl.c: Likewise.
22705 * math/s_csinl.c: Likewise.
22706 * math/s_ctan.c: Likewise.
22707 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22708 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22709 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22710
8ec250a4
UD
227112011-10-21 Ulrich Drepper <drepper@gmail.com>
22712
c196fed8
UD
22713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22714 compilation problems.
22715
8ec250a4
UD
22716 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22717 __builtin_expect.
22718
8d4f46c6
UD
227192011-10-20 Ulrich Drepper <drepper@gmail.com>
22720
ed72b654
UD
22721 * sysdeps/i386/configure.in: Test for -mfma4 option.
22722 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22723 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22724 COMMON_CPUID_INDEX_80000001.
22725 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22726 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22727 use it if FMA3 is not supported.
22728 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22729
8d4f46c6
UD
22730 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22731 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22732
d45c60c2
AS
227332011-10-20 Andreas Schwab <schwab@redhat.com>
22734
22735 [BZ #12892]
22736 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22737 it would create a cycle with a link time dependency.
22738
d9a4d2ab
UD
227392011-10-19 Ulrich Drepper <drepper@gmail.com>
22740
855d1560
UD
22741 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22742 instruction.
22743 * string/Makefile (strop-tests): Add rawmemchr.
22744 * string/test-rawmemchr.c: New file.
22745
d9a4d2ab
UD
22746 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22747 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22748 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22749 when compiling str{,n}casecmp and when AVX is available. Hook up
22750 new optimized code in initializers.
22751
8f3b1ffe
AS
227522011-10-19 Andreas Schwab <schwab@redhat.com>
22753
22754 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22755 __feraiseexcept instead of feraiseexcept.
22756
d38f1dba
UD
227572011-10-18 Ulrich Drepper <drepper@gmail.com>
22758
d9a8d0ab
UD
22759 * math/math_private.h: Define defaults for libc_fetestexcept and
22760 libc_feupdateenv.
22761 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22762 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22763 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22764 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22765 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22766 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22767 libc_fetestexcept and libc_feupdateenv.
22768
4855e3dd
UD
22769 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22770 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22771 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22772 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22773 libc_feholdexcept_setround.
22774
581d30e3
UD
22775 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22776 Add s_nearbyint-c and s_nearbyintf-c.
22777 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22778 nearbyintf inlines.
22779 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22780 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22781 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22782 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22783
d38f1dba
UD
22784 * math/math_private.h: Define defaults for libc_fegetround,
22785 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22786 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22787 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22788 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22789 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22790 standard functions.
22791 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22792 Remove comments and hacks for old compiler versions.
22793 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22794 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22795 libc_feholdexceptl.
22796
caa6c9d8
AS
227972011-10-18 Andreas Schwab <schwab@redhat.com>
22798
22799 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22800 (__feraiseexcept_renamed): Add __NTH.
22801 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22802 namespace violations.
22803
97c066e6
UD
228042011-10-17 Ulrich Drepper <drepper@gmail.com>
22805
99ce7b04
UD
22806 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22807
1004d182
UD
22808 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22809
228a984d
UD
22810 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22811 recently added interfaces.
22812 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22813
c8553a6a
UD
22814 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22815 about macro parameter expansion.
22816
ed22dcf6
UD
22817 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22818 __NO_MATH_INLINES is defined. Cleanups.
22819
22820 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22821 and __floorf is target has SSE4.1.
22822 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22823 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22824 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22825 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22826
b171c137
UD
22827 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22828 name.
22829 (floorf): Likewise.
22830
97c066e6
UD
22831 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22832
629f62ef
AS
228332011-10-17 Andreas Schwab <schwab@redhat.com>
22834
49a43d80
AS
22835 * misc/sys/cdefs.h: Fix last change.
22836
629f62ef
AS
22837 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22838 database lookup.
22839
e453f6cd
UD
228402011-10-16 Ulrich Drepper <drepper@gmail.com>
22841
aa78043a
UD
22842 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22843
ad0f5cad
UD
22844 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22845 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22846 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22847 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22848 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22849 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22850 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22851 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22852 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22853 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22854 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22855 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22856 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22857 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22858 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22859 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22860 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22861 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22862 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22863 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22864 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22865 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22866
22867 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22868 ceil, ceilf, floor, floorf.
22869
22870 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22871 Perform IRELATIVE relocations last.
22872
e453f6cd
UD
22873 * elf/do-rel.h: Add another parameter nrelative, replacing the
22874 local variable with the same name. Change name of the function
22875 to end in Rel or Rela (uppercase).
22876 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22877 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22878 elf_dynamic_do_##reloc function.
22879
fd5bdc09
UD
228802011-10-15 Ulrich Drepper <drepper@gmail.com>
22881
79b195b5
UD
22882 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22883 is sufficient, at least on modern CPUs.
22884
d4a28569
UD
22885 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22886
b61099b5
UD
22887 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22888 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22889
bcf01e6d
UD
22890 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22891 __expl_finite.
22892 * math/bits/math-finite.h: Add entries for exp.
22893 * math/e_expl.c: Add __*_finite alias.
22894 * sysdeps/i386/fpu/e_exp.S: Likewise.
22895 * sysdeps/i386/fpu/e_expf.S: Likewise.
22896 * sysdeps/i386/fpu/e_expl.c: Likewise.
22897 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22898 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22899 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22900 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22901 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22902 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22903 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22904
ba1a0d59
UD
22905 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22906 is sufficient, at least on modern CPUs.
22907
fd5bdc09
UD
22908 * ctype/ctype-info.c (__ctype_init): Define.
22909 * include/ctype.h (__ctype_init): Declare.
22910 (__ctype_b_loc): The variable is always initialized.
22911 (__ctype_toupper_loc): Likewise.
22912 (__ctype_tolower_loc): Likewise.
22913 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22914 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22915
7872cfb0
AS
229162011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22917
b468825a
AS
22918 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22919
7872cfb0
AS
22920 * configure.in: Also look in $cxxmachine/include for C++ system
22921 headers.
22922
be13f7bf
LD
229232011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22924
22925 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22926 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22927 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22928 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22929 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22930 (USE_AS_WMEMCMP): New macro.
22931 Fixing indents.
22932 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22933 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22934 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22935 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22936 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22937 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22938 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22939 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22940 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22941 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22942 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22943 (USE_AS_WMEMCMP): New macro.
22944 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22945 * sysdeps/string/test-memcmp.c: Update.
22946 Fix simple_wmemcmp.
22947 Add new tests.
22948 * wcsmbs/wmemcmp.c: Update.
22949 (WMEMCMP): New macro.
22950 Fix overflow bug.
22951
556a2007
AJ
229522011-10-12 Andreas Jaeger <aj@suse.de>
22953
22954 [BZ #13268]
22955 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22956
538faaa7
UD
229572011-10-15 Ulrich Drepper <drepper@gmail.com>
22958
ab6737ff
UD
22959 * libio/iofwide.c (do_length): Avoid warning.
22960
538faaa7
UD
22961 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22962
396a21b1
UD
229632011-10-14 Ulrich Drepper <drepper@gmail.com>
22964
cdf2901f
UD
22965 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22966
38ad40ce
UD
22967 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22968 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22969 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22970 * sysdeps/i386/i686/fpu/e_log.S: New file.
22971 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22972 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22973
396a21b1
UD
22974 * ctype/ctype.h: Add support for inlined isXXX functions when
22975 compiling C++ code.
22976
6b1f68c9
AS
229772011-10-14 Andreas Schwab <schwab@redhat.com>
22978
349290c0
AS
22979 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22980
6b1f68c9
AS
22981 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22982
f2282d42
RM
229832011-10-13 Roland McGrath <roland@hack.frob.com>
22984
22985 [BZ #13291]
22986 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22987
5298ffa8
AS
229882011-10-13 Andreas Schwab <schwab@redhat.com>
22989
714fad23
AS
22990 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22991 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22992 feraiseexcept.
22993
81dcc7fb
AS
22994 * sysdeps/x86_64/memrchr.S: Check for zero size.
22995
5298ffa8
AS
22996 * string/stratcliff.c: Add memrchr tests.
22997
951fbcec
LD
229982011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22999
23000 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23001 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23002 rawmemchr-sse2 rawmemchr-sse2-bsf.
23003 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23004 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23005 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23006 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23007 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23008 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23009 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23010 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23011 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23012 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23013 * string/memrchr.c (MEMRCHR): New macro.
23014
0ac5ae23
UD
230152011-10-12 Ulrich Drepper <drepper@gmail.com>
23016
23017 Add integration with gcc's -ffinite-math-only and optimize wrapper
23018 functions in libm.
23019 * Versions.def: Define GLIBC_2.15 version for libm.
23020 * math/Makefile (headers): Add bits/math-finite.h.
23021 * math/bits/math-finite.h: New file.
23022 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23023 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23024 * math/e_acoshl.c: Add __*_finite alias.
23025 * math/e_acosl.c: Likewise.
23026 * math/e_asinl.c: Likewise.
23027 * math/e_atan2l.c: Likewise.
23028 * math/e_atanhl.c: Likewise.
23029 * math/e_coshl.c: Likewise.
23030 * math/e_exp10.c: Likewise.
23031 * math/e_exp10f.c: Likewise.
23032 * math/e_exp10l.c: Likewise.
23033 * math/e_exp2l.c: Likewise.
23034 * math/e_fmodl.c: Likewise.
23035 * math/e_gammal_r.c: Likewise.
23036 * math/e_hypotl.c: Likewise.
23037 * math/e_j0l.c: Likewise.
23038 * math/e_j1l.c: Likewise.
23039 * math/e_jnl.c: Likewise.
23040 * math/e_lgammal_r.c: Likewise.
23041 * math/e_log10l.c: Likewise.
23042 * math/e_log2l.c: Likewise.
23043 * math/e_logl.c: Likewise.
23044 * math/e_powl.c: Likewise.
23045 * math/e_sinhl.c: Likewise.
23046 * math/e_sqrtl.c: Likewise.
23047 * math/e_scalb.c: Completely rewritten and optimized.
23048 * math/e_scalbf.c: Likewise.
23049 * math/e_scalbl.c: Likewise.
23050 * math/w_acos.c: Likewise.
23051 * math/w_acosf.c: Likewise.
23052 * math/w_acosl.c: Likewise.
23053 * math/w_acosh.c: Likewise.
23054 * math/w_acoshf.c: Likewise.
23055 * math/w_acoshl.c: Likewise.
23056 * math/w_asin.c: Likewise.
23057 * math/w_asinf.c: Likewise.
23058 * math/w_asinl.c: Likewise.
23059 * math/w_atan2.c: Likewise.
23060 * math/w_atan2f.c: Likewise.
23061 * math/w_atan2l.c: Likewise.
23062 * math/w_atanh.c: Likewise.
23063 * math/w_atanhf.c: Likewise.
23064 * math/w_atanhl.c: Likewise.
23065 * math/w_exp10.c: Likewise.
23066 * math/w_exp10f.c: Likewise.
23067 * math/w_exp10l.c: Likewise.
23068 * math/w_fmod.c: Likewise.
23069 * math/w_fmodf.c: Likewise.
23070 * math/w_fmodl.c: Likewise.
23071 * math/w_j0.c: Likewise.
23072 * math/w_j0f.c: Likewise.
23073 * math/w_j0l.c: Likewise.
23074 * math/w_j1.c: Likewise.
23075 * math/w_j1f.c: Likewise.
23076 * math/w_j1l.c: Likewise.
23077 * math/w_jn.c: Likewise.
23078 * math/w_jnf.c: Likewise.
23079 * math/w_log.c: Likewise.
23080 * math/w_logf.c: Likewise.
23081 * math/w_logl.c: Likewise.
23082 * math/w_log10.c: Likewise.
23083 * math/w_log10f.c: Likewise.
23084 * math/w_log10l.c: Likewise.
23085 * math/w_log2.c: Likewise.
23086 * math/w_log2f.c: Likewise.
23087 * math/w_log2l.c: Likewise.
23088 * math/w_pow.c: Likewise.
23089 * math/w_powf.c: Likewise.
23090 * math/w_powl.c: Likewise.
23091 * math/w_remainder.c: Likewise.
23092 * math/w_remainderf.c: Likewise.
23093 * math/w_remainderl.c: Likewise.
23094 * math/w_scalb.c: Likewise.
23095 * math/w_scalbf.c: Likewise.
23096 * math/w_scalbl.c: Likewise.
23097 * math/w_sqrt.c: Likewise.
23098 * math/w_sqrtf.c: Likewise.
23099 * math/w_sqrtl.c: Likewise.
23100 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23101 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23102 used.
23103 * math/math_private.h: Declare __kernel_standard_f.
23104 * math/w_cosh.c: Remove cruft and optimize a bit.
23105 * math/w_coshf.c: Likewise.
23106 * math/w_coshl.c: Likewise.
23107 * math/w_exp2.c: Likewise.
23108 * math/w_exp2f.c: Likewise.
23109 * math/w_exp2l.c: Likewise.
23110 * math/w_hypot.c: Likewise.
23111 * math/w_hypotf.c: Likewise.
23112 * math/w_hypotl.c: Likewise.
23113 * math/w_lgamma.c: Likewise.
23114 * math/w_lgamma_r.c: Likewise.
23115 * math/w_lgammaf.c: Likewise.
23116 * math/w_lgammaf_r.c: Likewise.
23117 * math/w_lgammal.c: Likewise.
23118 * math/w_lgammal_r.c: Likewise.
23119 * math/w_sinh.c: Likewise.
23120 * math/w_sinhf.c: Likewise.
23121 * math/w_sinhl.c: Likewise.
23122 * math/w_tgamma.c: Likewise.
23123 * math/w_tgammaf.c: Likewise.
23124 * math/w_tgammal.c: Likewise.
23125 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23126 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23127 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23128 Minor optimizations. Pretty printing. Remove cruft.
23129 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23130 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23131 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23132 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23133 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23134 * sysdeps/i386/fpu/e_asin.S: Likewise.
23135 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23136 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23137 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23138 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23139 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23140 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23141 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23142 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23143 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23144 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23145 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23146 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23147 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23148 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23149 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23150 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23151 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23152 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23153 * sysdeps/i386/fpu/e_log.S: Likewise.
23154 * sysdeps/i386/fpu/e_log10.S: Likewise.
23155 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23156 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23157 * sysdeps/i386/fpu/e_log2.S: Likewise.
23158 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23159 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23160 * sysdeps/i386/fpu/e_logf.S: Likewise.
23161 * sysdeps/i386/fpu/e_logl.S: Likewise.
23162 * sysdeps/i386/fpu/e_pow.S: Likewise.
23163 * sysdeps/i386/fpu/e_powf.S: Likewise.
23164 * sysdeps/i386/fpu/e_powl.S: Likewise.
23165 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23166 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23167 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23168 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23169 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23170 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23171 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23172 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23173 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23174 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23175 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23176 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23177 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23178 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23179 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23180 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23181 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23182 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23183 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23184 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23185 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23186 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23187 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23188 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23189 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23190 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23191 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23192 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23193 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23194 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23195 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23196 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23197 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23198 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23199 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23200 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23201 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23202 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23203 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23204 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23205 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23206 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23207 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23208 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23209 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23210 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23211 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23212 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23213 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23214 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23215 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23216 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23217 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23218 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23219 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23220 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23221 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23222 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23223 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23224 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23225 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23226 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23227 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23228 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23229 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23230 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23231 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23232 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23233 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23234 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23235 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23236 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23237 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23238 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23239 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23240 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23241 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23242 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23243 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23244 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23245 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23246 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23247 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23248 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23249 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23250 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23251 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23252 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23253 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23254 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23255 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23256 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23257 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23258 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23259 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23260 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23261 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23262 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23263 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23264 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23265 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23266 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23267 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23268 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23269 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23270 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23271 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23272 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23273 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23274 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23275 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23276 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23277 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23278 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23279 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23280 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23281 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23282 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23283 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23284 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23285 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23286 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23287 (__isnanf): Likewise.
23288 (__isinf_ns): Likewise.
23289 (__isinf_nsf): Likewise.
23290 (__finite): Likewise.
23291 (__finitef): Likewise.
23292 (__ieee754_sqrt): Define as macro.
23293 (__ieee754_sqrtf): Define as macro.
23294 (__ieee754_sqrtl): Define as macro.
23295 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23296 inlined copy.
23297 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23298 __FINITE_MATH_ONLY__ consistent.
23299 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23300
12cc2fcd
AS
233012011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23302
a843a204
AS
23303 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23304 of rawmemchr.
23305
12cc2fcd
AS
23306 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23307
c853acd5
UD
233082011-10-09 Ulrich Drepper <drepper@gmail.com>
23309
23310 * po/ja.po: Update from translation team.
23311
c658d255
RM
233122011-10-08 Roland McGrath <roland@hack.frob.com>
23313
110946e4
RM
23314 * locale/programs/locarchive.c (prepare_address_space): New function.
23315 (create_archive, enlarge_archive, open_archive): Use it.
23316
50604220
RM
23317 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23318 inside [SHARED], where it is used.
23319
c658d255
RM
23320 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23321
23322 * nss/getent.c (netgroup_keys): Remove unused variable.
23323 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23324
6a621eb7
UD
233252011-10-08 Ulrich Drepper <drepper@gmail.com>
23326
7edb55ce
UD
23327 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23328 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23329 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23330 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23331 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23332 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23333 * math/Makefile (libm-calls): Add s_isinf_ns.
23334 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23335 * math/multc3.c: Likewise.
23336 * math/s_casin.c: Likewise.
23337 * math/s_casinf.c: Likewise.
23338 * math/s_casinl.c: Likewise.
23339 * math/s_ccos.c: Likewise.
23340 * math/s_ccosf.c: Likewise.
23341 * math/s_ccosl.c: Likewise.
23342 * math/s_ctan.c: Likewise.
23343 * math/s_ctanf.c: Likewise.
23344 * math/s_ctanh.c: Likewise.
23345 * math/s_ctanhf.c: Likewise.
23346 * math/s_ctanhl.c: Likewise.
23347 * math/s_ctanl.c: Likewise.
23348 * math/w_fmod.c: Likewise.
23349 * math/w_fmodf.c: Likewise.
23350 * math/w_fmodl.c: Likewise.
23351 * math/w_remainder.c: Likewise.
23352 * math/w_remainderf.c: Likewise.
23353 * math/w_remainderl.c: Likewise.
23354 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23355 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23356 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23357 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23358 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23359 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23360 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23361 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23362
187da0ae
UD
23363 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23364 of the number.
23365 * stdio-common/printf_fphex.c: Likewise.
23366 * stdio-common/printf_size.c: Likewise.
23367
9277c064
UD
23368 * math/e_exp10.c: Include math_private.h using <...> not "...".
23369 * math/e_exp10f.c: Likewise.
23370 * math/e_exp10l.c: Likewise.
23371 * math/e_exp2l.c: Likewise.
23372 * math/e_j0l.c: Likewise.
23373 * math/e_j1l.c: Likewise.
23374 * math/e_jnl.c: Likewise.
23375 * math/e_lgammal_r.c: Likewise.
23376 * math/e_rem_pio2l.c: Likewise.
23377 * math/e_scalb.c: Likewise.
23378 * math/e_scalbf.c: Likewise.
23379 * math/e_scalbl.c: Likewise.
23380 * math/k_cosl.c: Likewise.
23381 * math/k_sinl.c: Likewise.
23382 * math/k_tanl.c: Likewise.
23383 * math/s_cacoshf.c: Likewise.
23384 * math/s_catan.c: Likewise.
23385 * math/s_catanf.c: Likewise.
23386 * math/s_catanh.c: Likewise.
23387 * math/s_catanhf.c: Likewise.
23388 * math/s_catanhl.c: Likewise.
23389 * math/s_catanl.c: Likewise.
23390 * math/s_ccosh.c: Likewise.
23391 * math/s_ccoshf.c: Likewise.
23392 * math/s_ccoshl.c: Likewise.
23393 * math/s_cexp.c: Likewise.
23394 * math/s_cexpf.c: Likewise.
23395 * math/s_cexpl.c: Likewise.
23396 * math/s_clog.c: Likewise.
23397 * math/s_clog10.c: Likewise.
23398 * math/s_clog10f.c: Likewise.
23399 * math/s_clog10l.c: Likewise.
23400 * math/s_clogf.c: Likewise.
23401 * math/s_clogl.c: Likewise.
23402 * math/s_csin.c: Likewise.
23403 * math/s_csinf.c: Likewise.
23404 * math/s_csinh.c: Likewise.
23405 * math/s_csinhf.c: Likewise.
23406 * math/s_csinhl.c: Likewise.
23407 * math/s_csinl.c: Likewise.
23408 * math/s_csqrt.c: Likewise.
23409 * math/s_csqrtf.c: Likewise.
23410 * math/s_csqrtl.c: Likewise.
23411 * math/s_ctan.c: Likewise.
23412 * math/s_ctanf.c: Likewise.
23413 * math/s_ctanh.c: Likewise.
23414 * math/s_ctanhf.c: Likewise.
23415 * math/s_ctanhl.c: Likewise.
23416 * math/s_ctanl.c: Likewise.
23417 * math/s_ldexp.c: Likewise.
23418 * math/s_ldexpf.c: Likewise.
23419 * math/s_ldexpl.c: Likewise.
23420 * math/s_significand.c: Likewise.
23421 * math/s_significandf.c: Likewise.
23422 * math/s_significandl.c: Likewise.
23423 * math/w_acos.c: Likewise.
23424 * math/w_acosf.c: Likewise.
23425 * math/w_acosh.c: Likewise.
23426 * math/w_acoshf.c: Likewise.
23427 * math/w_acoshl.c: Likewise.
23428 * math/w_acosl.c: Likewise.
23429 * math/w_asin.c: Likewise.
23430 * math/w_asinf.c: Likewise.
23431 * math/w_asinl.c: Likewise.
23432 * math/w_atan2.c: Likewise.
23433 * math/w_atan2f.c: Likewise.
23434 * math/w_atan2l.c: Likewise.
23435 * math/w_atanh.c: Likewise.
23436 * math/w_atanhf.c: Likewise.
23437 * math/w_atanhl.c: Likewise.
23438 * math/w_cosh.c: Likewise.
23439 * math/w_coshf.c: Likewise.
23440 * math/w_coshl.c: Likewise.
23441 * math/w_dremf.c: Likewise.
23442 * math/w_exp10.c: Likewise.
23443 * math/w_exp10f.c: Likewise.
23444 * math/w_exp10l.c: Likewise.
23445 * math/w_exp2.c: Likewise.
23446 * math/w_exp2f.c: Likewise.
23447 * math/w_fmod.c: Likewise.
23448 * math/w_fmodf.c: Likewise.
23449 * math/w_fmodl.c: Likewise.
23450 * math/w_hypot.c: Likewise.
23451 * math/w_hypotf.c: Likewise.
23452 * math/w_hypotl.c: Likewise.
23453 * math/w_j0.c: Likewise.
23454 * math/w_j0f.c: Likewise.
23455 * math/w_j0l.c: Likewise.
23456 * math/w_j1.c: Likewise.
23457 * math/w_j1f.c: Likewise.
23458 * math/w_j1l.c: Likewise.
23459 * math/w_jn.c: Likewise.
23460 * math/w_jnf.c: Likewise.
23461 * math/w_jnl.c: Likewise.
23462 * math/w_lgamma.c: Likewise.
23463 * math/w_lgamma_r.c: Likewise.
23464 * math/w_lgammaf.c: Likewise.
23465 * math/w_lgammaf_r.c: Likewise.
23466 * math/w_lgammal.c: Likewise.
23467 * math/w_lgammal_r.c: Likewise.
23468 * math/w_log.c: Likewise.
23469 * math/w_log10.c: Likewise.
23470 * math/w_log10f.c: Likewise.
23471 * math/w_log10l.c: Likewise.
23472 * math/w_log2.c: Likewise.
23473 * math/w_log2f.c: Likewise.
23474 * math/w_log2l.c: Likewise.
23475 * math/w_logf.c: Likewise.
23476 * math/w_logl.c: Likewise.
23477 * math/w_pow.c: Likewise.
23478 * math/w_powf.c: Likewise.
23479 * math/w_powl.c: Likewise.
23480 * math/w_remainder.c: Likewise.
23481 * math/w_remainderf.c: Likewise.
23482 * math/w_remainderl.c: Likewise.
23483 * math/w_scalb.c: Likewise.
23484 * math/w_scalbf.c: Likewise.
23485 * math/w_scalbl.c: Likewise.
23486 * math/w_sinh.c: Likewise.
23487 * math/w_sinhf.c: Likewise.
23488 * math/w_sinhl.c: Likewise.
23489 * math/w_sqrt.c: Likewise.
23490 * math/w_sqrtf.c: Likewise.
23491 * math/w_sqrtl.c: Likewise.
23492 * math/w_tgamma.c: Likewise.
23493 * math/w_tgammaf.c: Likewise.
23494 * math/w_tgammal.c: Likewise.
23495
6a621eb7
UD
23496 * po/ja.po: Update from translation team.
23497
bf582445
AJ
234982011-09-29 Andreas Jaeger <aj@suse.de>
23499
f9efbf3a
AJ
23500 [BZ #13179]
23501 * sunrpc/netname.c (netname2host): Fix logic.
23502
bf582445
AJ
23503 [BZ #6779]
23504 [BZ #6783]
23505 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23506 correctly.
23507 * math/w_remainder.c (__remainder): Likewise.
23508 * math/w_remainderf.c (__remainderf): Likewise.
23509 * math/libm-test.inc (remainder_test): Add test cases.
23510
48693bea
AK
235112011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23512
23513 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23514 sdiv_qrnnd.
23515
42622229
LD
235162011-10-07 Ulrich Drepper <drepper@gmail.com>
23517
23518 * string/test-memcmp.c: Avoid unncessary #defines.
23519 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23520
093ecf92
LD
235212011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23522
23523 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23524 Use new sse2 version for core i3 - i7 as it's faster
23525 than sse42 version.
23526 (bit_Prefer_PMINUB_for_stringop): New.
23527 * sysdeps/x86_64/rawmemchr.S: Update.
23528 Replace with faster SSE2 version.
23529 * sysdeps/x86_64/memrchr.S: New file.
23530 * sysdeps/x86_64/memchr.S: Update.
23531 Replace with faster SSE2 version.
23532
fde56e5c
MP
235332011-09-12 Marek Polacek <mpolacek@redhat.com>
23534
23535 * elf/dl-load.c (lose): Add cast to avoid warning.
23536
21fd49a9
UD
235372011-10-07 Ulrich Drepper <drepper@gmail.com>
23538
5a06e643
UD
23539 * po/ca.po: Update from translation team.
23540
684ae515
UD
23541 * inet/getnetgrent_r.c: Hook up nscd.
23542 * nscd/Makefile (routines): Add nscd_netgroup.
23543 (nscd-modules): Add netgroupcache.
23544 (CFLAGS-netgroupcache.c): Define.
23545 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23546 (cache_search): Add const to second parameter.
23547 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23548 INNETGR.
23549 (dbs): Add netgrdb entry.
23550 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23551 (verify_persistent_db): Handle netgrdb.
23552 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23553 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23554 GETFDNETGR.
23555 (netgroup_response_header): Define.
23556 (innetgroup_response_header): Define.
23557 (datahead): Add netgroup_response_header and innetgroup_response_header
23558 elements.
23559 * nscd/nscd.conf: Add entries for netgroup cache.
23560 * nscd/nscd.h (dbtype): Add netgrdb.
23561 (_PATH_NSCD_NETGROUP_DB): Define.
23562 (netgroup_iov_disabled): Declare.
23563 (xmalloc, xcalloc, xrealloc): Move declarations here.
23564 (cache_search): Adjust prototype.
23565 Add netgroup-related prototypes.
23566 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23567 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23568 (__nscd_innetgr): Declare.
23569 * nscd/selinux.c (perms): Use access_vector_t as element type and
23570 add netgroup-related initializers.
23571 * nscd/netgroupcache.c: New file.
23572 * nscd/nscd_netgroup.c: New file.
23573 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23574 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23575 For four parameters use innetgr.
23576 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23577 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23578 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23579 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23580
21fd49a9
UD
23581 * nscd/connections.c (register_traced_file): Don't register file
23582 for disabled databases.
23583
054c0457
UD
235842011-10-06 Ulrich Drepper <drepper@gmail.com>
23585
32b63198
UD
23586 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23587
054c0457
UD
23588 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23589 from tree and freeing node.
23590
64031225
JO
235912011-09-25 Jiri Olsa <jolsa@redhat.com>
23592
23593 * nss/nsswitch.c (__nss_database_lookup): Handle
23594 nss_parse_service_list out of memory case.
23595
0490345c
JO
235962011-09-15 Jiri Olsa <jolsa@redhat.com>
23597
23598 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23599 out of memory case.
23600
3a62d00d
AS
236012011-10-04 Andreas Schwab <schwab@redhat.com>
23602
23603 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23604 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23605 pass it down.
23606 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23607 elf_machine_rela, elf_machine_lazy_rel.
23608 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23609 (ELF_DYNAMIC_DO_REL): Likewise.
23610 (ELF_DYNAMIC_DO_RELA): Likewise.
23611 (ELF_DYNAMIC_RELOCATE): Likewise.
23612 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23613 to ELF_DYNAMIC_DO_REL.
23614 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23615 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23616 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23617 elf_machine_rela.
23618 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23619 skip_ifunc, don't call ifunc function if non-zero.
23620 (elf_machine_rela): Likewise.
23621 (elf_machine_lazy_rel): Likewise.
23622 (elf_machine_lazy_rela): Likewise.
23623 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23624 (elf_machine_lazy_rel): Likewise.
23625 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23626 Likewise.
23627 (elf_machine_lazy_rel): Likewise.
23628 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23629 Likewise.
23630 (elf_machine_lazy_rel): Likewise.
23631 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23632 (elf_machine_lazy_rel): Likewise.
23633 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23634 (elf_machine_lazy_rel): Likewise.
23635 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23636 (elf_machine_lazy_rel): Likewise.
23637 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23638 (elf_machine_lazy_rel): Likewise.
23639 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23640 (elf_machine_lazy_rel): Likewise.
23641 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23642 (elf_machine_lazy_rel): Likewise.
23643
68577918
UD
236442011-09-28 Ulrich Drepper <drepper@gmail.com>
23645
23646 * nss/nss_files/files-init.c (_nss_files_init): Use static
23647 initialization for all the *_traced_file variables.
23648
68822d74
AS
236492011-09-28 Andreas Schwab <schwab@redhat.com>
23650
23651 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23652
2056100b
RM
236532011-09-27 Roland McGrath <roland@hack.frob.com>
23654
23655 [BZ #13226]
23656 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23657
32c76b63
AS
236582011-09-27 Andreas Schwab <schwab@redhat.com>
23659
23660 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23661 Reread the line before reparsing it.
23662
bf972c9d
AS
236632011-09-26 Andreas Schwab <schwab@redhat.com>
23664
23665 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23666
e057a1b5
JM
236672011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23668 Maxim Kuvyrkov <maxim@codesourcery.com>
23669 Joseph Myers <joseph@codesourcery.com>
23670
23671 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23672 if needed for __stack_chk_guard.
23673
bc7e1c36
RM
236742011-09-19 Roland McGrath <roland@hack.frob.com>
23675
ecb1482f
RM
23676 * sysdeps/posix/spawni.c (script_execute): Always define it.
23677 It will be optimized away if unused.
23678 (maybe_script_execute): New function.
23679 (__spawni): Call it.
23680
bc7e1c36
RM
23681 * Makerules: Don't include tls.make.
23682 (config-tls): Always set to thread.
23683 * tls.make.c: File removed.
23684
1c3b002b
MF
236852011-09-19 Mike Frysinger <vapier@gentoo.org>
23686
23687 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23688 * config.make.in (CPPFLAGS-config): New substituted variable.
23689
2840865d
UD
236902011-09-15 Ulrich Drepper <drepper@gmail.com>
23691
88738eb6
UD
23692 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23693
cbf645a6 23694 [BZ #13192]
2840865d
UD
23695 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23696 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23697
b402e91a
RM
236982011-09-15 Roland McGrath <roland@hack.frob.com>
23699
23700 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23701 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23702 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23703 (CALL_FAIL): Likewise.
23704 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23705 (CALL_FAIL): Macro removed.
23706 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23707
4c1a1f71
UD
237082011-09-15 Ulrich Drepper <drepper@gmail.com>
23709
23710 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23711 for __FINITE_MATH_ONLY__ == 1.
23712
edc121be
AS
237132011-09-15 Andreas Schwab <schwab@redhat.com>
23714
23715 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23716 __ieee754_sqrt instead of sqrt.
23717 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23718 __ieee754_sqrtf instead of sqrtf.
23719 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23720 __floorf instead of floorf.
23721 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23722 __floorf, __truncf instead of floorf, truncf.
23723
cd205654
UD
237242011-09-14 Ulrich Drepper <drepper@gmail.com>
23725
ee4d0315
UD
23726 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23727
cd205654
UD
23728 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23729 __extern_always_inline.
23730 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23731 32-bit.
23732
48b67d71
AS
237332011-09-14 Andreas Schwab <schwab@redhat.com>
23734
23735 * elf/rtld.c (dl_main): Also relocate in dependency order when
23736 doing symbol dependency testing.
23737
1ae12c75
AS
237382011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23739
23740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23741 Always define `refsym'.
23742
995a80df
AS
237432011-09-13 Andreas Schwab <schwab@redhat.com>
23744
e529793b
AS
23745 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23746 (__FD_ELT): Renamed from __FDELT.
23747 * misc/bits/select2.h (__FD_ELT): Likewise.
23748 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23749 __FD_MASK instead of __FDELT, __FDMASK.
23750 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23751 Likewise.
23752 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23753 Likewise.
23754
52d4fef8
AS
23755 * elf/Makefile (gen-ldd): Fix pattern.
23756
995a80df
AS
23757 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23758 (init_tls): Likewise.
23759
8682f8b0
UD
237602011-09-12 Ulrich Drepper <drepper@gmail.com>
23761
23762 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23763
de82006d
AS
237642011-09-12 Andreas Schwab <schwab@redhat.com>
23765
a7c8e6a1
AS
23766 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23767 `struct cmsghdr *' instead of `void *'.
23768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23769 Likewise.
23770
0f31fe77
AS
237712011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23772
23773 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23774 if non-absolute.
23775 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23776 ldd_rewrite_script.
0f31fe77 23777
32b4c839
UD
237782011-09-11 Ulrich Drepper <drepper@gmail.com>
23779
83cd1420
UD
23780 * configure.in: Remove --with-tls option.
23781 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23782 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23783 out in case it is missing.
23784 * sysdeps/ia64/elf/configure.in: Likewise.
23785 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23786 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23787 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23788 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23789 * sysdeps/sh/elf/configure.in: Likewise.
23790 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23791 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23792 * sysdeps/x86_64/elf/configure.in: Likewise.
23793 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23794 * sysdeps/mach/hurd/tls.h: Likewise.
23795
633f745d
UD
23796 [BZ #13067]
23797 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23798
f318beb8
UD
23799 [BZ #13090]
23800 * configure.in: Fix use of AC_INIT.
23801
32b4c839
UD
23802 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23803
3ce1f295
UD
238042011-09-10 Ulrich Drepper <drepper@gmail.com>
23805
bb016596
UD
23806 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23807 __set_errno.
8e58439c
UD
23808 * malloc/hooks.c: Likewise.
23809
aebae053 23810 [BZ #11929]
02d46fc4
UD
23811 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23812 variables statically.
23813 (narenas): Initialize.
23814 (list_lock): Initialize.
bb016596
UD
23815 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23816 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23817 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23818 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23819 Add initializers to main_arena and mp_.
23820 (malloc_state): Remove pagesize member. Change all users to use
23821 GLRO(dl_pagesize).
23822
23823 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23824 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23825 is always initialized.
23826
22a89187
UD
23827 * malloc/malloc.c: Removed unused configurations and dead code.
23828 * malloc/arena.c: Likewise.
23829 * malloc/hooks.c: Likewise.
02d46fc4 23830 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23831
d063d164
UD
23832 * include/tls.h: Removed. USE___THREAD must always be defined.
23833 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23834 * elf/dl-libc.c: Likewise.
23835 * elf/dl-tsd.c: Likewise.
23836 * include/errno.h: Likewise.
23837 * include/netdb.h: Likewise.
23838 * include/resolv.h: Likewise.
23839 * inet/herrno-loc.c: Likewise.
23840 * inet/herrno.c: Likewise.
23841 * malloc/arena.c: Likewise.
23842 * malloc/hooks.c: Likewise.
23843 * malloc/malloc.c: Likewise.
23844 * resolv/res-state.c: Likewise.
23845 * resolv/res_libc.c: Likewise.
23846 * sysdeps/i386/dl-machine.h: Likewise.
23847 * sysdeps/ia64/dl-machine.h: Likewise.
23848 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23849 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23850 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23851 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23852 * sysdeps/sh/dl-machine.h: Likewise.
23853 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23854 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23855 * sysdeps/unix/i386/sysdep.S: Likewise.
23856 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23857 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23858 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23859 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23860 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23861 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23862 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23863 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23864 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23865 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23866 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23867 * sysdeps/x86_64/dl-machine.h: Likewise.
23868 * tls.make.c: Likewise.
23869
3ce1f295
UD
23870 * configure.in: Remove --with-__thread option. Make tests for
23871 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23872 tls_model attribute fail if no support is available. Remove
23873 USE_IN_LIBIO.
23874 * Makeconfig: Adjust for dropped configure option. All features are
23875 now mandatory.
23876 * Makerules: Likewise.
23877 * Versions.def: Likewise.
23878 * argp/argp-fmtstream.c: Likewise.
23879 * argp/argp-fmtstream.h: Likewise.
23880 * argp/argp-help.c: Likewise.
23881 * assert/assert.c: Likewise.
23882 * config.h.in: Likewise.
23883 * config.make.in: Likewise.
23884 * configure: Likewise.
23885 * configure.in: Likewise.
23886 * csu/Versions: Likewise.
23887 * csu/init.c: Likewise.
23888 * elf/tst-audit2.c: Likewise.
23889 * elf/tst-tls10.c: Likewise.
23890 * elf/tst-tls10.h: Likewise.
23891 * elf/tst-tls11.c: Likewise.
23892 * elf/tst-tls12.c: Likewise.
23893 * elf/tst-tls14.c: Likewise.
23894 * elf/tst-tlsmod11.c: Likewise.
23895 * elf/tst-tlsmod12.c: Likewise.
23896 * elf/tst-tlsmod13.c: Likewise.
23897 * elf/tst-tlsmod13a.c: Likewise.
23898 * elf/tst-tlsmod14a.c: Likewise.
23899 * elf/tst-tlsmod15b.c: Likewise.
23900 * elf/tst-tlsmod16a.c: Likewise.
23901 * elf/tst-tlsmod16b.c: Likewise.
23902 * elf/tst-tlsmod7.c: Likewise.
23903 * elf/tst-tlsmod8.c: Likewise.
23904 * elf/tst-tlsmod9.c: Likewise.
23905 * gmon/gmon.c: Likewise.
23906 * grp/fgetgrent_r.c: Likewise.
23907 * grp/putgrent.c: Likewise.
23908 * hurd/fopenport.c: Likewise.
23909 * include/libc-symbols.h: Likewise.
23910 * include/tls.h: Likewise.
23911 * intl/gettextP.h: Likewise.
23912 * intl/loadinfo.h: Likewise.
23913 * locale/global-locale.c: Likewise.
23914 * locale/localeinfo.h: Likewise.
23915 * mach/devstream.c: Likewise.
23916 * malloc/arena.c: Likewise.
23917 * malloc/set-freeres.c: Likewise.
23918 * misc/err.c: Likewise.
23919 * misc/getttyent.c: Likewise.
23920 * misc/mntent_r.c: Likewise.
23921 * posix/getopt.c: Likewise.
23922 * posix/wordexp.c: Likewise.
23923 * pwd/fgetpwent_r.c: Likewise.
23924 * resolv/Versions: Likewise.
23925 * resolv/res_hconf.c: Likewise.
23926 * shadow/fgetspent_r.c: Likewise.
23927 * shadow/putspent.c: Likewise.
23928 * stdio-common/printf_fphex.c: Likewise.
23929 * stdio-common/tmpfile.c: Likewise.
23930 * stdlib/abort.c: Likewise.
23931 * stdlib/fmtmsg.c: Likewise.
23932 * sunrpc/auth_unix.c: Likewise.
23933 * sunrpc/clnt_perr.c: Likewise.
23934 * sunrpc/clnt_tcp.c: Likewise.
23935 * sunrpc/clnt_udp.c: Likewise.
23936 * sunrpc/clnt_unix.c: Likewise.
23937 * sunrpc/openchild.c: Likewise.
23938 * sunrpc/svc_simple.c: Likewise.
23939 * sunrpc/svc_tcp.c: Likewise.
23940 * sunrpc/svc_udp.c: Likewise.
23941 * sunrpc/svc_unix.c: Likewise.
23942 * sunrpc/xdr.c: Likewise.
23943 * sunrpc/xdr_array.c: Likewise.
23944 * sunrpc/xdr_rec.c: Likewise.
23945 * sunrpc/xdr_ref.c: Likewise.
23946 * sunrpc/xdr_stdio.c: Likewise.
23947
1248c1c4
PB
239482011-09-09 Ulrich Drepper <drepper@gmail.com>
23949
23950 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23951
239522011-07-03 Andreas Jaeger <aj@suse.de>
23953
23954 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23955 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23956 regenerate with gen-libm-tests.pl.
23957
239582010-05-12 Petr Baudis <pasky@suse.cz>
23959
23960 [BZ #11589]
23961 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23962 around j0() zero points by switching to j1().
23963 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23964 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23965 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23966 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23967
f22e1074
UD
239682011-09-09 Ulrich Drepper <drepper@gmail.com>
23969
f19009c1
UD
23970 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23971 instead of 0.
23972 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23973 instead of 0.
f19009c1
UD
23974 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23975 Patch in part by Pavel Roskin <proski@gnu.org>.
23976
3f8cc204
UD
23977 [BZ #13138]
23978 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23979 realloc.
23980 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23981 Free memory block if necessary.
23982
f22e1074
UD
23983 [BZ #12847]
23984 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23985 be NULL. Don't lock in this case.
23986
0a2349f9
RM
239872011-09-09 Roland McGrath <roland@hack.frob.com>
23988
23989 * elf/elf.h (ELFOSABI_GNU): New macro.
23990 (ELFOSABI_LINUX): Define to that.
23991
f3cdd467
DZ
239922011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23993
23994 * string/strncat.c (strncat): Undef the symbol in case it has been
23995 defined in bits/string.h.
23996
74718d13
UD
239972011-09-09 Ulrich Drepper <drepper@gmail.com>
23998
633e9e0f
UD
23999 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24000
0a2349f9 24001 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24002 link map.
24003
f9924780
AJ
240042011-08-17 Andreas Jaeger <aj@suse.de>
24005
24006 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24007
7f5517aa
PP
240082011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24009 Ian Lance Taylor <iant@google.com>
24010
24011 * math/libm-test.inc (lround_test): New testcase.
24012 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24013
762011fe
UD
240142011-09-08 Ulrich Drepper <drepper@gmail.com>
24015
92963737
UD
24016 * Makefile: Remove support for automatic cvs check-ins.
24017 * Makerules: Likewise.
24018 * config.make.in: Likewise.
24019 * configure.in: Likewise.
24020 * intl/Makefile: Likewise.
24021 * locale/Makefile: Likewise.
24022 * po/Makefile: Likewise.
24023 * posix/Makefile: Likewise.
24024 * sysdeps/gnu/Makefile: Likewise.
24025 * sysdeps/mach/hurd/Makefile: Likewise.
24026 * sysdeps/sparc/sparc32/Makefile: Likewise.
24027
b0727fd8
JS
24028 [BZ #13118]
24029 * posix/Makefile (bug-regex32-ENV): Define.
24030 Patch by John Stanley <jpsinthemix@verizon.net>.
24031
a0f33f99
UD
24032 * misc/Makefile (headers): Add bits/select2.h.
24033 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24034 * misc/bits/select2.h: New file.
24035 * include/bits/select2.h: New file.
24036 * debug/Makefile (routines): Add fdelt_chk.
24037 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24038 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24039 FD_ISSET.
24040 * debug/fdelt_chk.c: New file.
24041
762011fe
UD
24042 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24043 * wcsmbs/test-wmemcmp.c: Likewise.
24044 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24045 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24046
240472011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24048
24049 * string/Makefile (strop-tests): Add memcmp.
24050 * string/test-wmemcmp.c: New file.
24051 * string/test-memcmp.c: Add wmemcmp support.
24052
7f513ec8
RM
240532011-09-08 Roland McGrath <roland@hack.frob.com>
24054
0442afb4
RM
24055 [BZ #13153]
24056 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24057 2011-07-19 change.
24058
7f513ec8
RM
24059 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24060 garbage value in a __mach_port_mod_refs call in the cases of the
24061 task-self and thread-self ports.
24062
a12b2239
ST
240632011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24064
24065 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24066
610f9ab4
AS
240672011-09-08 Andreas Schwab <schwab@redhat.com>
24068
7f513ec8 24069 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24070
48882a1a
LD
240712011-09-07 Ulrich Drepper <drepper@gmail.com>
24072
b49865be
UD
24073 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24074
fdc86bc9
UD
24075 * elf/dl-libc.c (dlerror_run): Pass back error code from
24076 dl_catch_error.
24077
c966526a
UD
24078 [BZ #13123]
24079 * elf/dl-load.c (lose): Free l_origin if it is valid.
24080
48882a1a
LD
24081 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24082 names.
24083 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24084 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24085 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24086 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24087 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24088 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24089
77a2a8b4
AZ
240902011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24091
24092 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24093 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24094 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24095 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24096 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24097 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24098 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24099 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24100 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24101 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24102
24f579d8
AM
241032011-08-15 Alan Modra <amodra@gmail.com>
24104
24105 [BZ #13092]
24106 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24107 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24108 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24109 ppc_mcount to static-only-routines.
24110 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24111 __mcount_internal.
24112 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24113 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24114
3d4837df
UD
241152011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24116
24117 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24118 for finite and infinity parameters.
24119
22700377
WS
241202011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24121
24122 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24123 and add nop instructions for throughput optimization.
24124 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24125
5025581e
WS
241262011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24127
24128 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24129 aligned copy for power7 with vector-scalar instructions.
24130 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24131
08a300c9
L
241322011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24133
24134 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24135 AVX check.
24136
59178ef9
AS
241372011-09-07 Andreas Schwab <schwab@redhat.com>
24138
24139 [BZ #13144]
24140 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24141 last change.
24142
e38ba7ab
UD
241432011-09-07 Ulrich Drepper <drepper@gmail.com>
24144
24145 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24146 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24147 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24148 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24149 clock_gettime.
24150
d53a73ac
UD
241512011-09-06 Ulrich Drepper <drepper@gmail.com>
24152
fc8bffcc
UD
24153 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24154 Forgot to demangle the pointer.
24155
ceaa0c5d
UD
24156 * sysdeps/i386/sysdep.h: Define atom_text_section.
24157 * sysdeps/x86_64/sysdep.h: Likewise.
24158 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24159 section with atom_text_section.
24160 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24161 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24162 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24163 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24164 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24165
a77d3c17
UD
24166 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24167 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24168 already be defined. Change to take two parameters and don't assign
24169 result to variable. Adjust all users.
24170 Define INTERNAL_GETTIME if not already defined.
24171 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24172 call.
24173 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24174 HAVE_CLOCK_GETTIME_VSYSCALL.
24175 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24176
d53a73ac
UD
24177 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24178 gettimeofday vsyscall, just use time.
24179
a8f84144
AS
241802011-09-06 Andreas Schwab <schwab@redhat.com>
24181
24182 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24183 <errno.h>.
24184
ef606249
UD
241852011-09-06 Ulrich Drepper <drepper@gmail.com>
24186
24187 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24188 syscall on x86-64.
24189 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24190 syscall.
24191 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24192 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24193 syscall if possible.
24194
6585cb60
UD
241952011-09-05 Ulrich Drepper <drepper@gmail.com>
24196
24197 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24198 e_ident. Don't pass to find_mapsXX.
24199 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24200
a5f524e4
LD
242012011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24202
24203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24204 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24205 * sysdeps/x86_64/multiarch/strchr.S: Update.
24206 Check bit_slow_BSF bit.
24207 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24208 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24209 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24210
554881ef
UD
242112011-09-05 Ulrich Drepper <drepper@gmail.com>
24212
d96de963
UD
24213 [BZ #13134]
24214 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24215 before glibc 2.15.
24216 (tryshell): Define.
24217 (__spawni): Change last parameter to be flag. Test
24218 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24219 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24220 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24221 * posix/spawni.c: Likewise.
24222 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24223 * posix/spawnp.c: Likewise. Change normal version to use
24224 SPAWN_XFLAGS_USE_PATH.
24225 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24226 SPAWN_XFLAGS_TRY_SHELL.
24227
d48e5868
UD
24228 [BZ #13150]
24229 * posix/glob.h: Remove gcc 1.x support.
24230
554881ef
UD
24231 [BZ #13068]
24232 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24233
693fb948
LD
242342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24235
24236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24237 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24238 strrchr-sse2-bsf
24239 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24240 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24241 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24242 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24243 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24244 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24245
1b48c537
UD
242462011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24247
49d42c37
UD
24248 * sysdeps/x86_64/wcscmp.S: New file.
24249
1b48c537
UD
24250 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24251 wcscmp-c wcscmp-sse2
24252 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24253 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24254 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24255 * wcsmbs/wcscmp.c: Allow renaming.
24256
15c95c5d
DM
242572011-09-05 David S. Miller <davem@davemloft.net>
24258
24259 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24260 stack slot, rather than the struct return pointer slot.
24261 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24262 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24264 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24265
2f0ad8f3
UD
242662011-09-05 Ulrich Drepper <drepper@gmail.com>
24267
d88ae418
UD
24268 * po/ja.po: Update from translation team.
24269
2f0ad8f3
UD
24270 [BZ #13144]
24271 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24272 kernel in 64-bit binaries.
24273
5f4318d1
DM
242742011-09-01 David S. Miller <davem@davemloft.net>
24275
24276 * elf/elf.h (HWCAP_SPARC_*): Move to..
24277 * sysdeps/sparc/sysdep.h: this new file and add new values.
24278 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24279 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24280 _DL_HWCAP_COUNT to 24.
24281 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24282 entries.
24283 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24284 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24285 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24286 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24287 instead of magic constants.
24288 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24289
3ba57516
DM
242902011-08-31 David S. Miller <davem@davemloft.net>
24291
24292 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24294 Reimplement to do errno handling inline.
24295 (SYSCALL_ERROR_HANDLER): New macro.
24296 (__SYSCALL_STRING): Do not do errno handling in asm.
24297 (__CLONE_SYSCALL_STRING): Delete.
24298 (__INTERNAL_SYSCALL_STRING): Delete.
24299 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24300 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24301 (PSEUDO): Reimplement to do errno handling inline.
24302 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24303 (SYSCALL_ERROR_HANDLER): New macro.
24304 (__SYSCALL_STRING): Do not do errno handling in asm.
24305 (__CLONE_SYSCALL_STRING): Delete.
24306 (__INTERNAL_SYSCALL_STRING): Delete.
24307 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24308 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24309 i386.
24310 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24311 (inline_syscall*): Add 'err' argument.
24312 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24313 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24314 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24315 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24316
24317 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24318 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24319
2bc17433
AS
243202011-08-30 Andreas Schwab <schwab@redhat.com>
24321
24322 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24323
fbeb5f4d
JO
243242011-08-29 Jiri Olsa <jolsa@redhat.com>
24325
24326 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24327 directive.
24328
ad69cc26
DM
243292011-08-24 David S. Miller <davem@davemloft.net>
24330
24331 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24332
39dd69df
AS
243332011-08-24 Andreas Schwab <schwab@redhat.com>
24334
24335 * elf/Makefile: Add rules to build and run unload8 test.
24336 * elf/unload8.c: New file.
24337 * elf/unload8mod1.c: New file.
24338 * elf/unload8mod1x.c: New file.
24339 * elf/unload8mod2.c: New file.
24340 * elf/unload8mod3.c: New file.
24341
24342 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24343 it wasn't used.
24344
2c0b250a
DM
243452011-08-23 David S. Miller <davem@davemloft.net>
24346
24347 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24348 subtract stack bias.
24349 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24350 %sp not %fp in calculations.
24351 (_JMPBUF_UNWINDS_ADJ): Likewise.
24352
22044b48
DM
24353 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24354 (aio_suspend): Call it to force an exception region around the
24355 AIO_MISC_WAIT() invocation.
24356
2cae4995
AS
243572011-08-23 Andreas Schwab <schwab@redhat.com>
24358
24359 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24360 backslash.
24361
873a772e
AJ
243622011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24363
24364 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24365 protection macro.
24366 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24367 and <dl-machine.h>.
24368 (Elf64_FuncDesc): Remove.
24369
25ad0df1
DM
243702011-08-22 David S. Miller <davem@davemloft.net>
24371
24372 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24373 sigaltstack check, add missing cfi directives.
24374 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24375 missing cfi directives, and sigaltstack handling.
24376
e888bcbe
AS
243772011-08-16 Andreas Schwab <schwab@redhat.com>
24378
24379 [BZ #11724]
24380 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24381 object is seen twice.
24382 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24383
24384 * elf/Makefile (distribute): Add tst-initorder2.c.
24385 (tests): Add tst-initorder2.
24386 (modules-names): Add tst-initorder2a tst-initorder2b
24387 tst-initorder2c tst-initorder2d. Add rules to build them.
24388 ($(objpfx)tst-initorder2.out): New rule.
24389 * elf/tst-initorder2.c: New file.
24390 * elf/tst-initorder2.exp: New file.
24391
87162f46
AS
243922011-08-22 Andreas Schwab <schwab@redhat.com>
24393
70538b7f
AS
24394 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24395
f55ffe58
AS
24396 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24397 dependencies back to end of function.
24398
87162f46
AS
24399 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24400 $(elfobjdir)/ld.so.
24401
91b392a4
UD
244022011-08-21 Ulrich Drepper <drepper@gmail.com>
24403
24404 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24405 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24407 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24408 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24409 of __vdso_gettimeofday.
24410 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24411 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24412 attribute_hidden.
24413 (_libc_vdso_platform_setup): Remove initialization of
24414 __vdso_gettimeofday and __vdso_time.
24415
5c43483f
UD
244162011-08-20 Ulrich Drepper <drepper@gmail.com>
24417
775a77e7
UD
24418 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24419 and fgetc_unlocked.
24420 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24421 getc_unlocked.
89f447ed 24422
49c74ba9
UD
24423 * elf/dl-open.c (add_to_global): Report additions to the global scope
24424 for LD_DEBUG=scopes.
24425 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24426 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24427
5c43483f
UD
24428 [BZ #13114]
24429 * stdio-common/Makefile (tests): Add bug24.
24430 * stdio-common/bug24.c: New file.
24431
a101b025
AJ
244322011-08-19 Andreas Jaeger <aj@suse.de>
24433
24434 [BZ #13114]
24435 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24436 non-existant file when using close-on-exec mode.
24437
c88f1766
UD
244382011-08-20 Ulrich Drepper <drepper@gmail.com>
24439
0276a718
UD
24440 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24441 the very first instruction.
24442
c88f1766
UD
24443 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24444 the CFI state in the end.
24445 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24446 inclusion of dl-trampoline.h.
24447 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24448
51ccffa0
AS
244492011-08-19 Andreas Schwab <schwab@redhat.com>
24450
94d7165f
AS
24451 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24452 expectations for long double.
24453
51ccffa0
AS
24454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24455 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24456
fd708658 244572011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24458
24459 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24460 artificual limit depends upon the system page size.
24461
44f0a71e
UD
244622011-08-17 Ulrich Drepper <drepper@gmail.com>
24463
24464 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24465 * resolv/Makefile: Define CFLAGS-libresolv.
24466
8de79a24
AS
244672011-08-17 Andreas Schwab <schwab@redhat.com>
24468
24469 * nss/makedb.c (compute_tables): Make variables used in nested
24470 function static.
24471
27724598
UD
244722011-08-17 Ulrich Drepper <drepper@gmail.com>
24473
c5305d88
UD
24474 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24475 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24476 if buffer was too small.
24477
27724598
UD
24478 * elf/pldd.c (main): Attach to all threads in the process.
24479 Rewrite /proc handling to use *at functions.
24480
076fe015
UD
244812011-08-16 Ulrich Drepper <drepper@gmail.com>
24482
174baab3
UD
24483 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24484 specifies first scope to show.
24485 (dl_open_worker): Update callers. Move printing scope of new
24486 object to before the relocation.
44f0a71e 24487 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24488 * sysdeps/generic/ldsodefs.h: Update declaration.
24489
076fe015
UD
24490 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24491 string for the scope number.
24492
a60df2c3
UD
244932011-08-14 Ulrich Drepper <drepper@gmail.com>
24494
24495 * nscd/servicescache.c (cache_addserv): Make sure written is always
24496 initialized.
24497
5e4287d1
RM
244982011-08-14 Roland McGrath <roland@hack.frob.com>
24499
85ae0589
RM
24500 * sysdeps/i386/i486/bits/atomic.h
24501 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24502 statement expression, so as to suppress "set but not used" warning.
24503 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24504
69f63097
RM
24505 * string/strncat.c (STRNCAT): Use prototype definition.
24506
675456ef
RM
24507 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24508 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24509 -Iprograms here.
24510 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24511 (localedef-modules): Add localedef.
24512 (locale-modules): Add locale.
24513
5e4287d1
RM
24514 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24515 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24516 to avoid a warning.
24517
9c96ff23
DM
245182011-08-14 David S. Miller <davem@davemloft.net>
24519
24520 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24521 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24522
f9ddf089
UD
245232011-08-13 Ulrich Drepper <drepper@gmail.com>
24524
44f0a71e 24525 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24526 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24527 * elf/rtld.c (dl_main): Set l_name of vDSO.
24528 Call _dl_show_scope when DL_DEBUG_SCOPES.
24529 (process_dl_debug): Recognize scopes flag and also set it for all.
24530 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24531 Declare _dl_show_scope.
24532
1dc27704
UD
24533 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24534 (do_dlopen): Pass caller_dlopen to dl_open.
24535 (__libc_dlopen_mode): Initialize caller_dlopen.
24536
f9ddf089
UD
24537 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24538 of libc. Make tolower call locale-independent. Optimize a bit by
24539 using isdigit instead of isalnum.
24540 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24541
9ac533d3
UD
245422011-08-12 Ulrich Drepper <drepper@gmail.com>
24543
24544 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24545 was a dependency or dynamically loaded.
24546
89edf2e9
UD
245472011-08-11 Ulrich Drepper <drepper@gmail.com>
24548
8e999d29
UD
24549 * intl/l10nflist.c: Allow architecture-specific pop function.
24550 * sysdeps/x86_64/l10nflist.c: New file.
24551
89edf2e9
UD
24552 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24553 classification.
24554
14d96785
AS
245552011-08-10 Andreas Schwab <schwab@redhat.com>
24556
24557 * include/dirent.h: Add libc_hidden_proto for scandirat and
24558 scandirat64. Don't declare __scandirat64.
24559 * dirent/scandirat.c: Add libc_hidden_def.
24560 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24561 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24562
6761ac04
DM
245632011-08-10 David S. Miller <davem@davemloft.net>
24564
24565 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24566 enum.
24567 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24568 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24569 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24570
c55fbd1e
UD
245712011-08-09 Ulrich Drepper <drepper@gmail.com>
24572
24573 * Versions.def [libc]: Add GLIBC_2.15.
24574 * dirent/Makefile (routines): Add scandirat and scandirat64.
24575 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24576 GLIBC_2.15.
24577 * dirent/dirent.h: Declare scandirat and scandirat64.
24578 * dirent/scandirat.c: New file.
24579 * dirent/scandirat64.c: New file.
24580 * sysdeps/wordsize-64/scandirat.c: New file.
24581 * sysdeps/wordsize-64/scandirat64.c: New file.
24582 * dirent/opendir.c: Define opendirat.
24583 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24584 using scandirat.
24585 * dirent/scandir64.c: Adjust for scandir.c change.
24586 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24587 __scandirat64, and __scandir_cancel_handler.
24588 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24589 additional parameter and use openat instead of open (outside of ld.so).
24590 Add new __opendir as wrapper around __opendirat.
24591 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24592 here without requiring old scandirat implementation.
24593
879165f2
UD
245942011-08-08 Ulrich Drepper <drepper@gmail.com>
24595
24596 * dirent/scandir.c (cancel_handler): Renamed to
24597 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24598 defined. Adjust users.
24599 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24600 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24601
cb7e923b
UD
246022011-08-04 Ulrich Drepper <drepper@gmail.com>
24603
16292edd
UD
24604 * string/test-string.h (IMPL): Use __STRING to expand name and then
24605 stringify it.
24606
cb7e923b
UD
24607 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24608 of cleanups.
24609
cff82933
LD
246102011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24611
24612 * string/Makefile: Update.
24613 (strop-tests): Append strncat.
24614 * string/test-wcscmp.c: New file.
24615 New comprehensive test for wcscmp.
24616 * string/test-strcmp.c: Update.
24617 (WIDE): New define.
24618
9be9bfcc
AS
246192011-07-22 Andreas Schwab <schwab@redhat.com>
24620
24621 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24622 line.
24623
2e96f1c7
AS
246242011-07-26 Andreas Schwab <schwab@redhat.com>
24625
24626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24627 encoding to ACE if AI_IDN.
24628
85188888
JJ
246292011-08-01 Jakub Jelinek <jakub@redhat.com>
24630
24631 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24632 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24633
5fa16e9b
LD
246342011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24635
24636 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24637 Fix overflow bug in strncat.
24638 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24639
24640 * string/test-strncat.c: Update.
24641 Add new tests for checking overflow bugs.
24642
246432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24644
24645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24646 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24647 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24648 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24649 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24650 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24651 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24652 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24653 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24654
24655 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24656 (USE_AS_STRCAT): Define.
24657 Add strcat and strncat support.
24658 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24659
8c1a459f
AS
246602011-07-25 Andreas Schwab <schwab@redhat.com>
24661
24662 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24663 __n bigger than INT_MAX+1.
24664 (__strncmp_g): Likewise.
24665
bba33c28
UD
246662011-07-23 Ulrich Drepper <drepper@gmail.com>
24667
798be72d
UD
24668 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24669 * libio/stido.h: Likewise.
24670
8accd4dc
UD
24671 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24672 (AF_NFC): Define.
24673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24674 (AF_NFC): Define.
24675
cbff0d96
UD
24676 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24677 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24678 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24679 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24680 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24681
9191c04a
UD
24682 [BZ #13021]
24683 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24684 installed.
24685
bba33c28
UD
24686 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24687 typo.
24688 (_dl_x86_64_save_sse): Likewise.
24689
90f139dd
UD
246902011-07-22 Ulrich Drepper <drepper@gmail.com>
24691
1aae088a
UD
24692 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24693 OSXSAVE.
24694 (_dl_x86_64_save_sse): Likewise.
24695
8e2045f5
UD
24696 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24697
90f139dd
UD
24698 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24699
1d002f25
AS
247002011-07-21 Andreas Schwab <schwab@redhat.com>
24701
24702 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24703 change.
24704 (_dl_x86_64_save_sse): Use correct AVX check.
24705
21137f89
UD
247062011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24707
24708 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24709 bug in strncpy/strncat.
24710 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24711
a65c0b7a
UD
247122011-07-21 Ulrich Drepper <drepper@gmail.com>
24713
24714 * string/tester.c (test_strcat): Add tests for different alignments
24715 of source and destination.
24716 (test_strncat): Likewise.
24717
6986b98a
UD
247182011-07-20 Ulrich Drepper <drepper@gmail.com>
24719
90bb2039
UD
24720 [BZ #12852]
24721 * posix/glob.c (glob): Check passed in values before using them in
24722 expressions to avoid some overflows.
24723 (glob_in_dir): Likewise.
24724
5644ef54
UD
24725 [BZ #13007]
24726 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24727 check for AVX enablement so that we don't crash with old kernels and
24728 new hardware.
24729 * elf/tst-audit4.c: Add same checks here.
24730 * elf/tst-audit6.c: Likewise.
24731
24732 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24733
bfc9dc9b
AS
247342011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24735
24736 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24737
702e64bb
UD
247382011-07-20 Ulrich Drepper <drepper@gmail.com>
24739
24740 * po/cs.po: Update from translation team.
24741 * po/bg.po: Likewise.
24742
295e904f
MP
247432011-07-12 Marek Polacek <mpolacek@redhat.com>
24744
24745 * misc/sys/cdefs.h: Add support for const attribute.
24746 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24747 to gnu_dev_{major,minor,makedev} functions.
24748
3ff94596
MP
247492011-07-20 Marek Polacek <mpolacek@redhat.com>
24750
24751 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24752
28b59fca
AS
247532011-07-20 Andreas Schwab <schwab@redhat.com>
24754
24755 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24756 strlen results.
24757
19df733e
AK
247582011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24759
24760 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24761 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24762 register in order to avoid conflicts with the soft frame pointer
24763 being held in r11 when necessary.
24764 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24765 (INTERNAL_VSYSCALL_NCS): Likewise.
24766
c8835729
MP
247672011-07-14 Marek Polacek <mpolacek@redhat.com>
24768
24769 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24770 * elf/dl-fini.c (_dl_fini): Adjust caller.
24771 * elf/dl-close.c (_dl_close_worker): Likewise.
24772 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24773
b902330c
MP
247742011-07-15 Marek Polacek <mpolacek@redhat.com>
24775
8991e135
MP
24776 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24777 "aux_cache->nlibs < 0".
24778
b902330c
MP
24779 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24780 in the reload-count case.
24781
99710781
LD
247822011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24783
24784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24785 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24786 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24787 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24788 * sysdeps/x86_64/multiarch/strcat.S: New file.
24789 * sysdeps/x86_64/multiarch/strncat.S: New file.
24790 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24791 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24792 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24793 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24794 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24795 (USE_AS_STRCAT): Define.
24796 Add strcat and strncat support.
24797 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24798 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24799 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24800 * string/strncat.c: Update.
24801 (USE_AS_STRNCAT): Define.
24802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24803 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24804 and i7.
24805 * sysdeps/x86_64/multiarch/init-arch.h
24806 (bit_Prefer_PMINUB_for_stringop): New.
24807 (index_Prefer_PMINUB_for_stringop): Likewise.
24808 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24809 bit_Prefer_PMINUB_for_stringop.
24810
7dc6bd90
UD
248112011-07-19 Ulrich Drepper <drepper@gmail.com>
24812
24813 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24814 buffer64.
24815 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24816 of casting of buffer.
24817 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24818 buffer32 and buffer64.
24819 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24820 writes instead of casting of buffer.
24821 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24822 buffer32.
24823 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24824 casting of buffer.
24825
e0e72284
AS
248262011-07-19 Andreas Schwab <schwab@redhat.com>
24827
24828 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24829
feb1eb0b
UD
248302011-07-19 Ulrich Drepper <drepper@gmail.com>
24831
24832 * nscd/nscd.c (termination_handler): Don't do anything for a database
24833 if it has not yet been initialized.
24834
298711ff
UD
248352011-07-18 Ulrich Drepper <drepper@gmail.com>
24836
24837 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24838
248392011-07-15 Marek Polacek <mpolacek@redhat.com>
24840
24841 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24842
f9d68389
UD
248432011-07-18 Ulrich Drepper <drepper@gmail.com>
24844
24845 * po/nl.po: Update from translation team.
24846 * po/sv.po: Likewise.
24847
db290cf5
RM
248482011-07-16 Roland McGrath <roland@hack.frob.com>
24849
24850 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24851 now disallowed by GCC.
5c550700 24852
fd5e21c7
RM
24853 * configure.in (use-default-link): Default to yes if a test -shared
24854 link meets our qualifications.
24855 * configure: Regenerated.
24856
5c550700
RM
24857 * config.make.in (output-format): New variable.
24858 * configure.in: Check for ld --print-output-format support.
24859 * configure: Regenerated.
24860 * Makerules ($(common-objpfx)format.lds)
24861 [$(output-format) != unknown]: Just use $(output-format),
24862 instead of the linker-script munging.
24863
9fa2c032
RM
248642011-07-14 Roland McGrath <roland@hack.frob.com>
24865
a6928d51
RM
24866 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24867 of $(common-objpfx)shlib.lds.
24868 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24869
661607b3
RM
24870 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24871 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24872
9fa2c032
RM
24873 * configure.in (-z relro check): Adjust test code to add a large
24874 writable data section after it.
24875 * configure: Regenerated.
24876
defe9061
RM
248772011-07-11 Roland McGrath <roland@hack.frob.com>
24878
24879 * configure.in (-z relro check): Fix test code to make the variable
24880 truly const.
24881 * configure: Regenerated.
24882
319b9ad4
UD
248832011-07-11 Ulrich Drepper <drepper@gmail.com>
24884
24885 * nscd/nscd.h (struct traced_file): Define.
24886 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24887 elements. Add traced_files.
24888 (inotify_fd): Declare.
24889 (register_traced_file): Declare.
24890 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24891 (inotify_fd): Export.
24892 (resolv_conf_descr): Remove.
24893 (nscd_init): Move inotify descriptor creation to main.
24894 Don't register files for notification here.
24895 (register_traced_file): New function.
24896 (invalidate_cache): Don't use reset_res to determine whether to call
24897 res_init, go through the list of registered files.
24898 (main_loop_poll): The inotify descriptors are now stored in the
24899 structures for the traced files.
24900 (main_loop_epoll): Likewise
24901 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24902 to __nss_disable_nscd.
24903 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24904 for a database anymore. Check the records for all the registered
24905 files instead.
24906 * nss/Makefile (libnss_files-routines): Add files-init.
24907 (libnss_db-routines): Add db-init.
24908 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24909 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24910 * nss/nss_db/db-init.c: New file.
24911 * nss/nss_files/files-init.c: New file.
24912 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24913 __nss_lookup_function.
24914 (__nss_lookup_function): Call nss_load_library.
24915 (nss_load_all_libraries): New function.
24916 (__nss_disable_nscd): Take parameter with callback function for files
24917 to register. Set is_nscd. Load all the DSOs for the NSS modules
24918 used for the cached services.
24919 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24920 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24921 options for features to all the files in nscd.
24922
24923 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24924
23bee3e8
RM
249252011-07-10 Roland McGrath <roland@hack.frob.com>
24926
24927 * csu/elf-init.c (__libc_csu_init): Comment typo.
24928
46a5b7f0
UD
249292011-07-09 Ulrich Drepper <drepper@gmail.com>
24930
24931 * po/pl.po: Update from translation team.
24932 * po/ja.po: Likewise.
24933 * po/ru.po: Likewise.
24934 * po/ko.po: Likewise.
24935 * po/fr.po: Likewise.
24936
d30cf5bb
RM
249372011-07-09 Roland McGrath <roland@hack.frob.com>
24938
113ddea4
RM
24939 * configure.in (.ctors/.dtors header and trailer check):
24940 Use an empirical test on a built program.
24941 * configure: Regenerated.
24942
574920b4
RM
24943 * configure.in (-z relro check): Use an empirical test on a built DSO.
24944 Detect, but do not require, on ia64.
24945 * configure: Regenerated.
24946
d30cf5bb
RM
24947 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24948 Update tests that use readelf to use $READELF instead.
24949 * configure: Regenerated.
24950
8538fdb3
UD
249512011-07-08 Ulrich Drepper <drepper@gmail.com>
24952
24953 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24954 if the result is not used.
24955
04d08991
AJ
249562011-07-05 Andreas Jaeger <aj@suse.de>
24957
24958 [BZ#9696]
24959 * stdlib/tst-strtod.c: Add testcase.
24960
de283087
AD
249612011-07-07 Ulrich Drepper <drepper@gmail.com>
24962
4e5f31c8 24963 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24964 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24965 The latter has a higher limit. Take additional parameter to pass to
24966 the new function.
24967 (__pathconf): Pass file to __statfs_link_max.
24968 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24969 __statfs_link_max.
24970 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24971 __statfs_link_max.
24972
de283087
AD
24973 [BZ #12868]
24974 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24975 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24976 Handle Lustre.
24977 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24978 (__statfs_filesize_max): Likewise.
24979 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24980
c75fa153
AJ
249812011-07-05 Andreas Jaeger <aj@suse.de>
24982
24983 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24984
1a544854
UD
249852011-07-06 Marek Polacek <mpolacek@redhat.com>
24986
24987 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24988 `status' variable.
24989 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24990 Likewise.
24991
6f0eec67
UD
249922011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24993
24994 * Makefile (strop-tests): Add strncat.
24995 * string/test-strncat.c: New file.
24996
aae30307
UD
249972011-06-30 Marek Polacek <mpolacek@redhat.com>
24998
24999 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25000
c0cfb5eb
UD
250012011-06-21 Andreas Jaeger <aj@suse.de>
25002
25003 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25004 Copy rule from iconvdata/Makefile.
25005
01636b21
UD
250062011-07-06 Ulrich Drepper <drepper@gmail.com>
25007
25008 [BZ #12922]
25009 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25010 but no long options are defined, just return 'W'.
25011
9895c8bc
UD
250122011-06-22 Marek Polacek <mpolacek@redhat.com>
25013
25014 [BZ #9696]
25015 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25016
5d4cf042
UD
250172011-07-06 Ulrich Drepper <drepper@gmail.com>
25018
25019 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25020 netgroups to read.
960e5535 25021 (innetgr): Likewise.
5d4cf042 25022
751eb97e
RM
250232011-07-05 Roland McGrath <roland@hack.frob.com>
25024
25025 * config.make.in (install_root): Default to $(DESTDIR).
25026
f15f1e45
UD
250272011-07-05 Ulrich Drepper <drepper@gmail.com>
25028
25029 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25030
4e34ac6a
RM
250312011-07-02 Roland McGrath <roland@hack.frob.com>
25032
5e9b6af4
RM
25033 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25034
84f9ea0f
RM
25035 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25036 containing directory rather than embedding absolute directory names.
25037
ea5ee9f7
RM
25038 * scripts/check-local-headers.sh: Rewritten using awk.
25039 Match by word, not by line. Print error messages for matches.
25040 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25041
1b74661a
RM
25042 * Makerules [shlib-lds-flags empty]:
25043 ($(common-objpfx)libc_pic.opts): New target.
25044 ($(common-objpfx)libc_pic.os.clean): New target.
25045 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25046
25047 * config.make.in (OBJCOPY): New variable.
25048 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25049 * configure: Regenerated.
25050
f781ef40
RM
25051 * config.make.in (use-default-link): New variable.
25052 * configure.in (use_default_link): Grok --with-default-link to set it.
25053 * configure: Regenerated.
25054 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25055 (shlib-lds, shlib-lds-flags): Define to empty.
25056
2d4fa81e
RM
25057 * Makerules (shlib-lds): New variable.
25058 (shlib-lds-flags): New variable.
25059 (build-shlib, build-moduile, build-module-asneeded): Use it.
25060 ($(common-objpfx)libc.so): Use $(shlib-lds).
25061 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25062 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25063
31fffa6b
RM
25064 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25065 DT_FLAGS/DT_FLAGS_1 with zero flags.
25066
4e34ac6a
RM
25067 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25068 linker script munging.
25069
fcfc776b
UD
250702011-07-02 Ulrich Drepper <drepper@gmail.com>
25071
25072 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25073 as 128-bit value.
25074 * crypt/sha512.c (sha512_process_block): Perform total addition using
25075 128-bit if possible.
25076 (__sha512_finish_ctx): Likewise.
25077 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25078 as 64-bit value.
25079 * crypt/sha256.c (SWAP64): Define.
25080 (sha256_process_block): Perform total addition using 64-bit if
25081 possible.
25082 (__sha256_finish_ctx): Likewise.
25083
99231d9a
UD
250842011-07-01 Ulrich Drepper <drepper@gmail.com>
25085
25086 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25087 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25088 * nscd/hstcache.c (cache_addhst): Likewise.
25089 * nscd/grpcache.c (cache_addgr): Likewise.
25090 * nscd/aicache.c (addhstaiX): Likewise
25091 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25092
445b4a53
TK
250932011-07-01 Thorsten Kukuk <kukuk@suse.de>
25094
25095 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25096 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25097 * nscd/hstcache.c (cache_addhst): Likewise.
25098 * nscd/grpcache.c (cache_addgr): Likewise.
25099 * nscd/aicache.c (addhstaiX): Likewise
25100
6d4d8e8e
AS
251012011-07-01 Andreas Schwab <schwab@redhat.com>
25102
25103 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25104 domain only when needed.
25105
89f654c5
AS
251062011-06-30 Andreas Schwab <schwab@redhat.com>
25107
25108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25109 is always restored.
25110
cf3b23ff
UD
251112011-06-29 Ulrich Drepper <drepper@gmail.com>
25112
25113 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25114 are re-adding the entry.
25115 * nscd/servicescache.c (cache_addserv): Likewise.
25116
751626f9
AJ
251172011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25118
25119 * sysdeps/generic/dl-irel.h: fix protection against multiple
25120 inclusions.
25121 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25122
9113ea1f
UD
251232011-06-28 Ulrich Drepper <drepper@gmail.com>
25124
5c0b8d90
UD
25125 [BZ #12935]
25126 * malloc/memusage.sh: Fix quoting in message.
25127 * debug/xtrace.sh: Likewise.
25128
9113ea1f
UD
25129 * configure.in: Remove support for --experimental-malloc option, make
25130 it the default.
25131 * config.make.in: Likewise.
25132 * malloc/Makefile: Likewise.
25133
a4172181
AS
251342011-06-27 Andreas Schwab <schwab@redhat.com>
25135
25136 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25137 two-byte characters.
25138
78a7eee7
RM
251392011-06-27 Roland McGrath <roland@hack.frob.com>
25140
62bede13
RM
25141 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25142 AC_CACHE_CHECK invocation.
25143 * configure: Regenerated.
25144
78a7eee7
RM
25145 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25146
5ce33a62
UD
251472011-06-27 Ulrich Drepper <drepper@gmail.com>
25148
034807a9
UD
25149 [BZ #12350]
25150 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25151 bit from old_res_options.
25152
4902da17
UD
25153 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25154
5ce33a62
UD
25155 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25156 value type for setfct.
25157
c2344f56
L
251582011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25159
25160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25161 __gettimeofday instead of gettimeofday.
25162
68468076
UD
251632011-06-26 Ulrich Drepper <drepper@gmail.com>
25164
25165 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25166
acb0d739
L
251672011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25168
25169 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25170
25171 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25172 info.
25173
8912479f
L
251742011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25175
25176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25177 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25178 strcpy-sse2-unaligned strncpy-sse2-unaligned
25179 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25180 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25181 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25182 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25183 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25184 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25185 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25186 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25187 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25188 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25189 (STRCPY): Support SSE2 and SSSE3 versions.
25190
d5495a11
UD
251912011-06-24 Ulrich Drepper <drepper@gmail.com>
25192
25193 [BZ #12874]
25194 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25195 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25196 kernels which artificially limit size of requests.
25197
0b1cbaae
L
251982011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25199
25200 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25201 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25202 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25203 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25204 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25205 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25206 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25207 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25208 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25209 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25210 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25211 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25212 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25213 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25214 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25216 Enable unaligned load optimization for Intel Core i3, i5 and i7
25217 processors.
25218 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25219 Define.
25220 (index_Fast_Unaligned_Load): Define.
25221 (HAS_FAST_UNALIGNED_LOAD): Define.
25222
07f494a0
MP
252232011-06-23 Marek Polacek <mpolacek@redhat.com>
25224
25225 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25226
fa3fc0fe
UD
252272011-06-22 Ulrich Drepper <drepper@gmail.com>
25228
25229 [BZ #12907]
25230 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25231 until it is clear that the information is realy needed.
25232 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25233
e12df166
AS
252342011-06-22 Andreas Schwab <schwab@redhat.com>
25235
25236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25237
852eb34d
UD
252382011-06-22 Ulrich Drepper <drepper@gmail.com>
25239
84e2a551
UD
25240 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25241 /sys/devices/system/cpu/online if it is usable.
25242
852eb34d
UD
25243 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25244 reading the information from the /proc filesystem to once a second.
25245
6e502e19
UD
252462011-06-21 Andreas Jaeger <aj@suse.de>
25247
25248 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25249 NULL after inclusion of kernel headers.
25250
75d39ff2
UD
252512011-06-21 Ulrich Drepper <drepper@gmail.com>
25252
51f9aa6a
UD
25253 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25254 calls to internal_setent.
25255
c0244a9d
UD
25256 [BZ #12885]
25257 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25258 addresses using gethostbyname4_r ignore IPv4 addresses.
25259
c5e3c2ae
UD
25260 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25261 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25262
75d39ff2
UD
25263 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25264
42675c6f
DM
252652011-06-20 David S. Miller <davem@davemloft.net>
25266
25267 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25268 inclusions.
25269 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25270
25271 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25272 (elf_irel): Use it.
25273 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25274 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25275 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25276 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25277 * sysdeps/x86_64/dl-irel.h: Likewise.
25278
25279 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25280 * elf/dl-sym.c: Likewise.
25281
57912a71
UD
252822011-06-15 Ulrich Drepper <drepper@gmail.com>
25283
25284 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25285 need to dereference resplen2.
25286
ee22793d
AS
252872011-06-14 Andreas Schwab <schwab@redhat.com>
25288
25289 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25290
a9e836b0
UD
252912011-06-15 Ulrich Drepper <drepper@gmail.com>
25292
77fb9117
UD
25293 * Makeconfig: Define vardbdir and inst_vardbdir.
25294 * nss/Makefile: Add rules to install db-Makefile.
25295
40c1b22c
UD
25296 * nss/nss_db/db-XXX.c: Cleanup.
25297
9f2da732
UD
25298 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25299 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25300 GLIBC_PRIVATE.
25301 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25302 * nss/makedb.c: Implement -g option to specify that value strings
25303 are generated and should not be added to table iterated over for
25304 get*ent calls.
25305 * nss/nss_db/db-initgroups.c: New file.
25306
82e9a1f7
UD
25307 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25308 interface.
25309
c41af17e
UD
25310 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25311 (internal_getgrouplist): Adjust to name change.
25312 Update use_initgroups_entry if this is not the first call.
25313 * nss/databases.def: Add initgroups entry.
25314
a9e836b0
UD
25315 * nss/makedb.c (compute_tables): Check result of multiple hash table
25316 sizes to minimize maximum chain length.
25317
2666d441
UD
253182011-06-14 Ulrich Drepper <drepper@gmail.com>
25319
25320 * Versions.def: Add entry for libnss_db.
25321 * shlib-versions: Likewise.
25322 * nss/Makefile: Add rules to build libnss_db.
25323 * nss/Versions: Add libnss_db information. Organize libnss_files
25324 entries better.
25325 * nss/db-Makefile: Add gshadow support. Change rules for the new
25326 makedb progra. Some minor improvements to generate smaller files.
25327 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25328 here from...
25329 * nss/makedb.c: ...here.
25330 Improve database format to be smaller and require less memory at
25331 runtime.
25332 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25333 db anymore.
25334 * nss/nss_db/db-netgrp.c: Likewise.
25335 * nss/nss_db/db-open.c: Likewise.
25336 * nss/nss_files/flies-XXX.x: Adjust comments.
25337 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25338 * nss/nss_files/files-grp.c: Likewise.
25339 * nss/nss_files/files-hosts.c: Likewise.
25340 * nss/nss_files/files-network.c: Likewise.
25341 * nss/nss_files/files-proto.c: Likewise.
25342 * nss/nss_files/files-pwd.c: Likewise.
25343 * nss/nss_files/files-rpc.c: Likewise.
25344 * nss/nss_files/files-service.c: Likewise.
25345 * nss/nss_files/files-sgrp.c: Likewise.
25346 * nss/nss_files/files-spwd.c: Likewise.
25347 * nss/nss_db/db-alias.c: Removed.
25348 * nss/nss_db/dummy-db.h: Removed.
25349
9ee76b5a
UD
253502011-06-02 Ulrich Drepper <drepper@gmail.com>
25351
25352 * nss/makedb.c: Rewritten to not use database library.
25353 * nss/Makefile: Update to build new makedb program.
25354
c71ca1f8
AJ
253552011-06-14 Andreas Jaeger <aj@suse.de>
25356
25357 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25358 memset declaration.
25359
3154bfb8
UD
253602011-06-10 Andreas Schwab <schwab@redhat.com>
25361
25362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25363 tmpbuf.
25364
b350afab
RM
253652011-06-10 Roland McGrath <roland@hack.frob.com>
25366
decd4e50
RM
25367 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25368 * elf/Makefile ($(objpfx)ld.so): Likewise.
25369
5615eaf2
RM
25370 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25371 Don't list ld.so twice in dependencies.
25372
25373 * posix/bug-regex31.c: Include <stdlib.h>.
25374
25375 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25376
25377 * nis/nss_compat/compat-spwd.c
25378 (getspent_next_nss_netgr): Remove unused variable.
25379 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25380
25381 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25382 nonmembers" output to use the right array.
25383
25384 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25385
25386 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25387
25388 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25389 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25390 * catgets/gencat.c (read_input_file): Likewise.
25391 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25392
25393 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25394 variable definition inside #if's controlling its use.
25395
25396 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25397
25398 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25399
25400 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25401
25402 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25403 unreachable code.
25404
25405 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25406
b68e08db
RM
25407 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25408 * configure: Regenerated.
25409
b350afab
RM
25410 * Makerules: Revert last change.
25411 * elf/Makefile: Likewise.
25412
28368601
RM
254132011-06-09 Roland McGrath <roland@hack.frob.com>
25414
25415 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25416 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25417 (reloc-link): Likewise.
25418
11988f8f
UD
254192011-06-09 Ulrich Drepper <drepper@gmail.com>
25420
25421 * elf/Makefile: Add rules to build pldd.
25422 * elf/pldd.c: New file.
25423 * elf/pldd-xx.c: New file.
25424
e80fab37
UD
254252011-06-07 Ulrich Drepper <drepper@gmail.com>
25426
25427 * version.h: Update for 2.15 development version.
25428
9b849836
DM
254292011-06-07 David S. Miller <davem@davemloft.net>
25430
25431 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25432 ifuncs.
25433 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25434 elf_machine_lazy_rel): Likewise.
25435 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25436 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25437 elf_machine_lazy_rel): Likewise.
25438 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25439 dl_hwcap via passed in argument.
25440 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25441 Likewise.
25442
5a31b283
AK
254432011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25444
25445 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25446
069e52f8
RM
254472011-06-06 Roland McGrath <roland@hack.frob.com>
25448
25449 [BZ #12849]
25450 * manual/fdl-1.1.texi: New file, verbatim from:
25451 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25452 * manual/lgpl-2.1.texi: New file, verbatim from:
25453 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25454 * manual/Makefile (licenses): New variable, list those new file names.
25455 (texis): Use it.
25456 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25457
25458 * manual/fdl.texi: File removed.
25459 * manual/lesser.texi: File removed.
25460 * manual/libc.texinfo (Copying, Documentation License):
25461 Use new @include file names, put @appendix directive before @include.
25462
f16846a5
JJ
254632011-06-04 Jakub Jelinek <jakub@redhat.com>
25464
25465 [BZ #12841]
25466 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25467 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25468 (mq_open): Add __NTH.
25469
3d29045b
L
254702011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25471
25472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25473 Assume Intel Core i3/i5/i7 processor if AVX is available.
25474
8c297311
UD
254752011-05-31 Ulrich Drepper <drepper@gmail.com>
25476
25477 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25478 typo.
25479
c8fc0c91
UD
254802011-05-31 Andreas Schwab <schwab@redhat.com>
25481
25482 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25483 memory. Use alloca_account. Fix memory leak when retrying.
25484
5b27a807
UD
254852011-05-31 Ulrich Drepper <drepper@gmail.com>
25486
356f8bc6
UD
25487 * version.h (RELEASE): Bump for 2.14 release.
25488 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25489
5b27a807
UD
25490 * config.make.in (RANLIB): Remove entry.
25491
01f16ab0
UD
254922011-05-30 Ulrich Drepper <drepper@gmail.com>
25493
41fce8bd
UD
25494 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25495 (libc.pot): Work around missing support for .ksh extension in xgettext.
25496
4769ae77
UD
25497 [BZ #12684]
25498 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25499 if both request failed.
25500 (send_dg): In case of server errors clear resplen or *resplen2.
25501
6b1e7d19
UD
25502 [BZ #12454]
25503 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25504 when there are multiple maps.
25505 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25506 (_dl_fini): Remove test here.
25507
01f16ab0
UD
25508 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25509
b1ebd700
UD
255102011-05-29 Ulrich Drepper <drepper@gmail.com>
25511
7ae22829
UD
25512 [BZ #12350]
25513 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25514 bit from old_res_options.
25515 (gaih_inet): Likewise.
25516
553149f6 25517 [BZ #11099]
18a84741 25518 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25519 as signed.
25520
652ffab1
UD
25521 * resolv/res_init.c (res_setoptions): Make the code more compact.
25522
16985fd0
UD
25523 [BZ #11558]
25524 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25525 set RES_USEVC.
25526
0464f746
UD
25527 [BZ #11634]
25528 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25529
7d17596c
UD
25530 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25531
cf6bbbd7
UD
25532 [BZ #11781]
25533 * malloc/malloc.h: Declare malloc hook variables as volatile.
25534
13f1ab36
UD
25535 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25536 in last patch.
25537
b1ebd700
UD
25538 [BZ #11799]
25539 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25540 raise in the comment.
80e2212d
UD
25541 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25542 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25543 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25544
ce67228d
UD
255452011-05-28 Ulrich Drepper <drepper@gmail.com>
25546
8887a920
UD
25547 [BZ #12811]
25548 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25549 grow the buffers more if it already has to be sufficient.
25550 (build_wcs_upper_buffer): Likewise.
25551 * posix/regexec.c (check_matching): Likewise.
25552 (clean_state_log_if_needed): Likewise.
25553 (extend_buffers): Don't enlarge buffers beyond size of the input
25554 buffer.
25555 Patches mostly by Emil Wojak <emil@wojak.eu>.
25556 * posix/bug-regex32.c: New file.
25557 * posix/Makefile (tests): Add bug-regex32.
25558
4f031072
UD
25559 * locale/findlocale.c (_nl_find_locale): Return right away if
25560 _nl_explode_name failed.
25561 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25562
d0478f0c
UD
25563 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25564
de81b246
UD
25565 * debug/xtrace.sh: Unify messages.
25566 * malloc/memusage.sh: Likewise.
25567
c738465a
UD
25568 [BZ #12813]
25569 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25570 time symbol from vDSO. Substitute with vsyscall if not available.
25571 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25572 __vdso_time.
25573
f1f929d7
UD
25574 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25575 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25576 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25577 Add sendmmsg and internal_sendmmsg.
25578 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25579 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25580 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25581
ce67228d
UD
25582 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25583 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25584 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25585
e57420c6
UD
255862011-05-27 Ulrich Drepper <drepper@gmail.com>
25587
a8509ca5
UD
25588 [BZ #12813]
25589 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25590 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25591 available.
25592 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25593 __vdso_getcpu.
25594
e57420c6
UD
25595 [BZ #12814]
25596 * iconvdata/Makefile (tests): Add bug-iconv9.
25597 * iconvdata/bug-iconv9.c: New file.
25598
4d07db15
AS
255992011-05-27 Andreas Schwab <schwab@redhat.com>
25600
25601 [BZ #12814]
25602 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25603
ea486f69
JJ
256042011-05-25 Jakub Jelinek <jakub@redhat.com>
25605
25606 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25607 (struct user_regs_struct): Change intcs field back to cs.
25608
6f038433
UD
256092011-05-25 Ulrich Drepper <drepper@gmail.com>
25610
25611 * po/ja.po: Update from translation team.
25612
67f86a25
UD
256132011-05-23 Ulrich Drepper <drepper@gmail.com>
25614
25615 [BZ #12795]
25616 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25617 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25618
def7fbd6
AS
256192011-05-20 Andreas Schwab <schwab@redhat.com>
25620
25621 * stdlib/longlong.h: Update from GCC.
25622
f50ef8f1
AS
256232011-05-23 Andreas Schwab <schwab@redhat.com>
25624
25625 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25626 parameter name.
25627 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25628 Add parameter name.
25629 (__sysconf): Pass it down.
25630
de7ce8f1
UD
256312011-05-22 Ulrich Drepper <drepper@gmail.com>
25632
f2962a71
UD
25633 [BZ #12671]
25634 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25635 some situations.
25636 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25637 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25638 add in in __libc_use_alloca calls. Adjust callers.
25639 (glob): Use malloc in some situations.
25640
de7ce8f1
UD
25641 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25642 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25643 pltexit.
25644
aec84f53
UD
256452011-05-21 Ulrich Drepper <drepper@gmail.com>
25646
05bb4a68
UD
25647 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25648 and CLOCK_BOOTTIME_ALARM.
25649
7ea72f99
UD
25650 [BZ #12782]
25651 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25652 is returned.
25653
7e4afad5
UD
25654 * string/_strerror.c (__strerror_r): Print negative errors as signed
25655 numbers.
25656
8e211fec
UD
25657 [BZ #12777]
25658 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25659 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25660 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25661
f7d82dc9
UD
25662 * configure.in: Fix typo in redirection and correct removal of test
25663 files in two cases.
25664
cc9e536d
UD
25665 [BZ #12788]
25666 * locale/setlocale.c (new_composite_name): Fix test to check for
25667 identical name of all categories.
25668
aec84f53
UD
25669 [BZ #12792]
25670 * libio/filedoalloc.c (local_isatty): New function.
25671 (_IO_file_doallocate): Use local_isatty.
25672 * stdio-common/perror.c (perror): In case a new stream is used
25673 forward the stream error.
25674 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25675 error flag.
25676
78e64fdc
RT
256772011-05-20 Ulrich Drepper <drepper@gmail.com>
25678
34a9094f
UD
25679 [BZ #11869]
25680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25681 alloca.
25682 * include/alloca.h (extend_alloca_account): Define.
25683
78e64fdc
RT
25684 [BZ #11857]
25685 * posix/regex.h: Fix comments with documentation of user-accessible
25686 fields after compilation and describe correct free'ing of pattern
25687 after re_compile_pattern.
25688 Patch by Reuben Thomas <rrt@sc3d.org>.
25689
457bddfc
RA
256902011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25691
25692 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25693 and -mno-altivec to prevent the compiler from using Altivec and/or
25694 VSX instructions when the corresponding registers are not available.
25695
a4527b51
AS
256962011-05-19 Andreas Schwab <schwab@redhat.com>
25697
25698 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25699
ed690b2f
UD
257002011-05-19 Ulrich Drepper <drepper@gmail.com>
25701
25702 * libio/freopen.c (freopen): Use __dup2, not dup2.
25703 * libio/freopen64.c (freopen64): Likewise.
25704
8db73634
L
257052011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25706
25707 [BZ #12775]
25708 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25709 * math/Makefile (tests): Add test-powl.
25710 (CFLAGS-test-powl.c): Define.
25711 * math/test-powl.c: New file.
25712
0a197a9d
L
257132011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25714
25715 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25716
ee30c380
UD
257172011-05-17 Ulrich Drepper <drepper@gmail.com>
25718
25719 [BZ #11837]
25720 * iconvdata/gb18030.c: Update to GB18020-2005.
25721
6ce75379
UD
257222011-05-16 Ulrich Drepper <drepper@gmail.com>
25723
a4b89fd8
AR
25724 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25725 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25726 Patch by Aharon Robbins <arnold@skeeve.com>.
25727
ea389b12
UD
25728 [BZ #11892]
25729 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25730 on the stack.
25731
68a3f91f
UD
25732 [BZ #11895]
25733 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25734 through underflows.
25735
15cc7dd1
UD
25736 [BZ #12766]
25737 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25738 point to strings before performing equality test for error_one_per_line
25739 mode.
25740
f3799213
UD
25741 [BZ #11697]
25742 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25743
d79a9c94
UD
25744 [BZ #11820]
25745 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25746 (struct user_fpregs_struct): Avoid __uint*_t types.
25747
56e5eb46
UD
25748 [BZ #6420]
25749 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25750 symbol info. Use it instead of calling _dl_addr locally.
25751 (lock_and_info): New function.
25752 (tr_freehook): Call lock_and_info and pass symbol info as additional
25753 parameter to tr_where.
25754 (tr_mallochook): Likewise.
25755 (tr_reallochook): Likewise.
25756 (tr_memalignhook): Likewise.
25757
6ce75379
UD
25758 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25759 used and couldn't be at all thread-safe.
25760
f8a3b5bf
UD
257612011-05-15 Ulrich Drepper <drepper@gmail.com>
25762
94b7cc37
UD
25763 * libio/freopen.c (freopen): Don't close old file descriptor
25764 before the new one is opened. Instead dup the new file descriptor
25765 to the old one after the new stream is created.
25766 * libio/freopen64.c (freopen64): Likewise.
25767 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25768 * libio/fileops.c (_IO_new_file_close_it): Handle new
25769 _IO_FLAGS2_NOCLOSE flag.
25770 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25771 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25772 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25773 _IO_FLAGS2_NOCLOSE flag.
25774 * include/unistd.h: Add hidden_proto for dup3.
25775 Define __have_dup3.
25776 * io/dup3.c: Define hidden symbol.
25777 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25778
bd25564e
UD
25779 [BZ #7101]
25780 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25781 when an incomplete long option is used.
25782 * posix/tst-getopt_long1.c: New file.
25783 * posix/Makefile (tests): Add tst-getopt_long1.
25784
c84cfef4
UD
25785 [BZ #10138]
25786 * scripts/config.guess: Update from autoconf-2.68.
25787 * scripts/config.sub: Likewise.
25788
3b85df27
UD
25789 [BZ #10157]
25790 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25791 tests into ...
25792 (has_cpuclock): ...this. New function.
25793 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25794 macro here based on has_cpuclock code.
25795
15a856b1
UD
25796 [BZ #10149]
25797 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25798 First byte (not low byte) is now always NUL.
25799 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25800
05f399e6
UD
25801 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25802 Use non-cancelable interfaces.
25803
10a52685 25804 [BZ #9809]
94ecc67d
UD
25805 * locale/iso-639.def: Add entry for Sorani.
25806
f8a3b5bf
UD
25807 [BZ #11901]
25808 * include/stdlib.h: Move include protection to the right place.
25809 Define abort_msg_s. Declare __abort_msg with it.
25810 * stdlib/abort.c (__abort_msg): Adjust type.
25811 * assert/assert.c (__assert_fail_base): New function. Majority
25812 of code from __assert_fail. Allocate memory for __abort_msg with
25813 mmap.
25814 (__assert_fail): Now call __assert_fail_base.
25815 * assert/assert-perr.c: Remove bulk of implementation. Use
25816 __assert_fail_base.
25817 * include/assert.hL Declare __assert_fail_base.
25818 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25819 mmap.
25820 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25821
1af4e298
UD
258222011-05-14 Ulrich Drepper <drepper@gmail.com>
25823
f8a3b5bf 25824 [BZ #11952]
d26dfc60
MG
25825 [BZ #12453]
25826 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25827 until all modules are registered in the DTV.
25828 * elf/Makefile: Add rules to build and run tst-tls19.
25829 * elf/tst-tls19.c: New file.
25830 * elf/tst-tls19mod1.c: New file.
25831 * elf/tst-tls19mod2.c: New file.
25832 * elf/tst-tls19mod3.c: New file.
25833 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25834
2fc54d6f
UD
25835 [BZ #12083]
25836 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25837 correctly.
25838
98d76b46
UD
25839 [BZ #12601]
25840 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25841 two-byte sequence errors.
25842 * iconvdata/Makefile (tests): Add bug-iconv8.
25843 * iconvdata/bug-iconv8.c: New file.
25844
da3c19ef
UD
25845 [BZ #12626]
25846 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25847 buf2 definition.
25848
ca408c15
UD
25849 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25850
d6f67f7d
UD
25851 [BZ #12432]
25852 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25853 (dummy_getcfa): New function.
25854 (init): Get _Unwind_GetCFA address, use dummy if not found.
25855 (backtrace_helper): In recursion check, also check whether CFA changes.
25856 (__backtrace): Completely initialize arg.
25857
1af4e298 25858 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25859 storing incomplete byte sequence in state object. Avoid testing for
25860 guaranteed too small input if we know there is enough data available.
1af4e298 25861
da62f81b
AS
258622011-05-11 Andreas Schwab <schwab@redhat.com>
25863
25864 * Makeconfig (+link-pie): Indent.
25865 * Rules (binaries-pie): Define if $(have-fpie) and
25866 $(build-shared).
25867 (binaries-shared): Also filter out $(binaries-pie).
25868 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25869 * nscd/Makefile (others-pie): Add nscd.
25870 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25871 ($(objpfx)nscd): Remove command override.
25872 * login/Makefile (others-pie): Add pt_chown.
25873 ($(objpfx)pt_chown): Remove command override.
25874 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25875 remove command overrides.
25876
fcabc0f8
UD
258772011-05-13 Ulrich Drepper <drepper@gmail.com>
25878
20030ae6
UD
25879 * libio/tst_putwc.c: Fix error messages.
25880
fcabc0f8
UD
25881 [BZ #12724]
25882 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25883 currently writing and seek to current position when not.
25884 * libio/Makefile (tests): Add bug-fclose1.
25885 * libio/bug-fclose1.c: New file.
25886
320a5dc0
PB
258872011-05-12 Ulrich Drepper <drepper@gmail.com>
25888
25889 [BZ #12511]
25890 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25891 don't set DF_1_NODELETE here.
25892 (do_lookup_x): When entering new entry test for copy relocation
25893 and if necessary set DF_1_NODELETE flag.
25894 * elf/tst-unique4.cc: New file.
25895 * elf/tst-unique4.h: New file.
25896 * elf/tst-unique4lib.cc: New file.
25897 * elf/Makefile: Add rules to build and run tst-unique4.
25898 Patch by Piotr Bury <pbury@goahead.com>.
25899
22836f52
UD
259002011-05-11 Ulrich Drepper <drepper@gmail.com>
25901
f574184a
UD
25902 [BZ #12052]
25903 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25904
e1fb097f
UD
25905 [BZ #12625]
25906 * misc/mntent_r.c (addmntent): Flush the stream after the output
25907
22836f52
UD
25908 [BZ #12393]
25909 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25910 (is_trusted_path_normalize): Skip initial colon. Append slash
25911 to empty buffer. Duplicate is_trusted_path code but allow
25912 constructed patch to be prefix.
25913 (is_dst): Allow $ORIGIN followed by /.
25914 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25915 Correct testing of result of is_trusted_path_normalize
25916 (decompose_rpath): Fix warning.
25917
7b3b0b2a
UD
259182011-05-10 Ulrich Drepper <drepper@gmail.com>
25919
25920 [BZ #11257]
25921 * grp/initgroups.c (internal_getgrouplist): When we found the service
25922 list through the initgroups entry in nsswitch.conf do not always
25923 continue on a successful lookup. Don't always use the
eac80ce2 25924 __nss_group_database value if it is set.
7b3b0b2a
UD
25925 * nss/nsswitch.conf (initgroups): Change action for successful db
25926 lookup to continue for compatibility.
25927
2a81eaa5
UD
259282011-05-09 Ulrich Drepper <drepper@gmail.com>
25929
be97a69e
UD
25930 [BZ #11532]
25931 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25932 and CP774 modules.
25933 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25934 and CP774 modules.
25935 * iconvdata/tst-tables.sh: Likewise.
25936 * iconvdata/cp770.c: New file.
25937 * iconvdata/cp771.c: New file.
25938 * iconvdata/cp772.c: New file.
25939 * iconvdata/cp773.c: New file.
25940 * iconvdata/cp774.c: New file.
25941 * iconvdata/testdata/CP770: New file.
25942 * iconvdata/testdata/CP770..UTF8: New file.
25943 * iconvdata/testdata/CP771: New file.
25944 * iconvdata/testdata/CP771..UTF8: New file.
25945 * iconvdata/testdata/CP772: New file.
25946 * iconvdata/testdata/CP772..UTF8: New file.
25947 * iconvdata/testdata/CP773: New file.
25948 * iconvdata/testdata/CP773..UTF8: New file.
25949 * iconvdata/testdata/CP774: New file.
25950 * iconvdata/testdata/CP774..UTF8: New file.
25951
25952 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25953 END CHARMAP line.
25954 * iconvdata/gen-8bit-gap.sh: Likewise.
25955 * iconvdata/gen-8bit.sh: Likewise.
25956
c1e9e399
UD
25957 * locale/iso-639.def: Add ary entry.
25958
24c55fb3 25959 [BZ #11258]
96b4b1b0
UD
25960 * locale/C-translit.h.in: Add U20A1 transliteration.
25961
bdc2f971
KB
25962 [BZ #12178]
25963 * locale/iso-639.def: Add wae entry.
25964 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25965
2952b117
UD
25966 [BZ #12545]
25967 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25968 for n.
25969
2a81eaa5
UD
25970 [BZ #12711]
25971 * locale/C-translit.h.in: Add entry for U20B9.
25972 Patch by pravin.d.s@gmail.com.
25973
28377d1b
UD
259742011-05-08 Ulrich Drepper <drepper@gmail.com>
25975
7fb90fb8
UD
25976 [BZ #12713]
25977 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25978 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25979 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25980 in rtld. Use *stat64.
7fb90fb8 25981 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25982 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25983 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25984 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25985 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25986 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25987 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25988 __fstatat64 macros.
7fb90fb8
UD
25989 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25990 * dirent/rewinddir.c: Add libc_hidden_def.
25991 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25992 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25993
28377d1b
UD
25994 * include/dirent.h (__alloc_dir): Add flags parameter.
25995 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25996 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25997 __alloc_dir.
25998 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25999 from fdopendir if O_CLOEXEC is already set.
26000
66bdbaa4
AM
260012011-03-15 Alan Modra <amodra@gmail.com>
26002
26003 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26004 l_tls_firstbyte_offset non-zero. Save padding offset in
26005 l_tls_firstbyte_offset for later use.
26006 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26007 freeing static tls block.
26008
95721191
JN
260092011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26010
26011 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26012 where #ifdef was intended. The intent is to prevent ARG_MAX from
26013 being defined by the kernel headers.
26014
f87dfb1f
UD
260152011-05-07 Ulrich Drepper <drepper@gmail.com>
26016
26017 [BZ #12734]
26018 * resolv/resolv.h: Define RES_NOTLDQUERY.
26019 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26020 no-tld-query and set RES_NOTLDQUERY.
26021 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26022 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26023 modern BIND to search name as TLD unless forbidden.
26024
47c3cd7a
UD
260252011-05-07 Petr Baudis <pasky@suse.cz>
26026 Ulrich Drepper <drepper@gmail.com>
26027
26028 [BZ #12393]
26029 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26030 (is_trusted_path): ...to here.
c1e9ea35 26031 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26032 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26033 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26034
8a35c912
PP
260352011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26036
26037 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26038 __BEGIN/__END_DECLS.
26039
acd41f47
UD
260402011-05-06 Ulrich Drepper <drepper@gmail.com>
26041
26042 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26043 NSS_STATUS_NOTFOUND if no record was found.
26044
597df647
AS
260452011-05-05 Andreas Schwab <schwab@redhat.com>
26046
26047 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26048 (headers-not-in-tirpc): Remove rpc/netdb.h
26049 * resolv/netdb.h: Revert last change.
26050
b9af1301
PP
260512011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26052
26053 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26054 circular dependency between libgcc.a and libc.a.
26055
4e34d5f5
AS
260562011-05-05 Andreas Schwab <schwab@redhat.com>
26057
26058 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26059 * nis/Makefile: Don't install rpcsvc/*.
26060 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26061 instead of <rpc/types.h>.
26062 (MAXHOSTNAMELEN): Define.
26063
00ee369c
AS
260642011-05-03 Andreas Schwab <schwab@redhat.com>
26065
26066 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26067
0b592a30
MB
260682011-04-28 Maciej Babinski <mbabinski@google.com>
26069
26070 [BZ #12714]
26071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26072 gethostbyname4_r when IPv6 results are possible.
26073
6e04cbbe
UD
260742011-05-02 Ulrich Drepper <drepper@gmail.com>
26075
26076 [BZ #12723]
26077 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26078 _PC_PIPE_BUF handling.
26079
e4ecafe0
BH
260802011-04-30 Bruno Haible <bruno@clisp.org>
26081
26082 [BZ #12717]
26083 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26084 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26085 to 'int'.
26086 * inet/getnameinfo.c (getnameinfo): Likewise.
26087
125ee683
UD
260882011-04-29 Ulrich Drepper <drepper@gmail.com>
26089
26090 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26091 to groups setting in database lookup.
26092 * nss/nsswitch.conf: Add initgroups entry.
26093
b722481a
EB
260942011-04-22 Ulrich Drepper <drepper@gmail.com>
26095
26096 [BZ #12685]
26097 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26098 mode string.
26099 Patch by Eric Blake <eblake@redhat.com>.
26100
4df46dbd
L
261012011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26102
26103 * sunrpc/Makefile (need-export-routines): Add svc_run.
26104 (routines): Remove svc_run.
26105 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26106 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26107 * sunrpc/svc_run.c (svc_run): Likewise.
26108 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26109
e84142d2
UD
261102011-04-21 Ulrich Drepper <drepper@gmail.com>
26111
26112 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26113 problem in reallocation in last patch.
26114
877175d8
UD
261152011-04-20 Ulrich Drepper <drepper@gmail.com>
26116
26117 * sunrpc/Makefile: Move inclusion of Rules.
26118
ab8eed78
UD
261192011-04-19 Ulrich Drepper <drepper@gmail.com>
26120
26121 * nss/nss_files/files-initgroups.c: New file.
26122 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26123 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26124 _nss_files_initgroups_dyn.
26125
e3d8f584
RS
261262011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26127
26128 * elf/elf.h (R_ARM_IRELATIVE): Define.
26129
af190f45
UD
261302011-04-19 Ulrich Drepper <drepper@gmail.com>
26131
26132 * po/ru.po: Update from translation team.
26133
53cf59ef
UD
261342011-04-17 Ulrich Drepper <drepper@gmail.com>
26135
26136 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26137 dependencies.
26138
4c559bcd
MF
261392011-02-06 Mike Frysinger <vapier@gentoo.org>
26140
26141 [BZ #12653]
26142 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26143 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26144 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26145 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26146 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26147
4420675c
AS
261482011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26149
26150 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26151 differing bytes.
26152 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26153 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26154 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26155
75ea32ab
UD
261562011-04-17 Ulrich Drepper <drepper@gmail.com>
26157
26158 [BZ #12420]
26159 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26160 storing it.
26161 * stdlib/bug-getcontext.c: New file.
26162 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26163
27390476
AK
261642011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26165
26166 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26167 instructions into .machine "z9-109".
26168 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26169 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26170
10442705
AK
261712011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26172
26173 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26174 between environment variables and auxiliary vector.
26175
7b57bfe5
UD
261762011-04-16 Ulrich Drepper <drepper@gmail.com>
26177
26178 * Makefile: Add rules to build linkobj/libc.so.
26179 * include/libc-symbols.h: Define libc_hidden_nolink.
26180 * include/rpc/auth.h: Mark functions which are to be hidden.
26181 * include/rpc/auth_des.h: Likewise.
26182 * include/rpc/auth_unix.h: Likewise.
26183 * include/rpc/clnt.h: Likewise.
26184 * include/rpc/des_crypt.h: Likewise.
26185 * include/rpc/key_prot.h: Likewise.
26186 * include/rpc/pmap_clnt.h: Likewise.
26187 * include/rpc/pmap_prot.h: Likewise.
26188 * include/rpc/pmap_rmt.h: Likewise.
26189 * include/rpc/rpc_msg.h: Likewise.
26190 * include/rpc/svc.h: Likewise.
26191 * include/rpc/svc_auth.h: Likewise.
26192 * include/rpc/xdr.h: Likewise.
26193 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26194 * nss/Makefile: Likewise.
26195 * sunrpc/Makefile: Don't install headers. Build library with normal
26196 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26197 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26198 for the compat linking library. Remove use of INTDEF/INTUSE.
26199 * sunrpc/auth_none.c: Likewise.
26200 * sunrpc/auth_unix.c: Likewise.
26201 * sunrpc/authdes_prot.c: Likewise.
26202 * sunrpc/authuxprot.c: Likewise.
26203 * sunrpc/clnt_gen.c: Likewise.
26204 * sunrpc/clnt_perr.c: Likewise.
26205 * sunrpc/clnt_raw.c: Likewise.
26206 * sunrpc/clnt_simp.c: Likewise.
26207 * sunrpc/clnt_tcp.c: Likewise.
26208 * sunrpc/clnt_udp.c: Likewise.
26209 * sunrpc/clnt_unix.c: Likewise.
26210 * sunrpc/des_crypt.c: Likewise.
26211 * sunrpc/des_soft.c: Likewise.
26212 * sunrpc/get_myaddr.c: Likewise.
26213 * sunrpc/key_call.c: Likewise.
26214 * sunrpc/key_prot.c: Likewise.
26215 * sunrpc/netname.c: Likewise.
26216 * sunrpc/pm_getmaps.c: Likewise.
26217 * sunrpc/pm_getport.c: Likewise.
26218 * sunrpc/pmap_clnt.c: Likewise.
26219 * sunrpc/pmap_prot.c: Likewise.
26220 * sunrpc/pmap_prot2.c: Likewise.
26221 * sunrpc/pmap_rmt.c: Likewise.
26222 * sunrpc/publickey.c: Likewise.
26223 * sunrpc/rpc_cmsg.c: Likewise.
26224 * sunrpc/rpc_common.c: Likewise.
26225 * sunrpc/rpc_dtable.c: Likewise.
26226 * sunrpc/rpc_prot.c: Likewise.
26227 * sunrpc/rpc_thread.c: Likewise.
26228 * sunrpc/rtime.c: Likewise.
26229 * sunrpc/svc.c: Likewise.
26230 * sunrpc/svc_auth.c: Likewise.
26231 * sunrpc/svc_authux.c: Likewise.
26232 * sunrpc/svc_raw.c: Likewise.
26233 * sunrpc/svc_run.c: Likewise.
26234 * sunrpc/svc_simple.c: Likewise.
26235 * sunrpc/svc_tcp.c: Likewise.
26236 * sunrpc/svc_udp.c: Likewise.
26237 * sunrpc/svc_unix.c: Likewise.
26238 * sunrpc/svcauth_des.c: Likewise.
26239 * sunrpc/xcrypt.c: Likewise.
26240 * sunrpc/xdr.c: Likewise.
26241 * sunrpc/xdr_array.c: Likewise.
26242 * sunrpc/xdr_float.c: Likewise.
26243 * sunrpc/xdr_intXX_t.c: Likewise.
26244 * sunrpc/xdr_mem.c: Likewise.
26245 * sunrpc/xdr_rec.c: Likewise.
26246 * sunrpc/xdr_ref.c: Likewise.
26247 * sunrpc/xdr_sizeof.c: Likewise.
26248 * sunrpc/xdr_stdio.c: Likewise.
26249
e6c61494
UD
262502011-04-10 Ulrich Drepper <drepper@gmail.com>
26251
26252 [BZ #12650]
26253 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26254 * sysdeps/ia64/dl-tls.h: Likewise.
26255 * sysdeps/powerpc/dl-tls.h: Likewise.
26256 * sysdeps/s390/dl-tls.h: Likewise.
26257 * sysdeps/sh/dl-tls.h: Likewise.
26258 * sysdeps/sparc/dl-tls.h: Likewise.
26259 * sysdeps/x86_64/dl-tls.h: Likewise.
26260 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26261
34fe483e
AS
262622011-03-14 Andreas Schwab <schwab@redhat.com>
26263
26264 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26265 rpath element also skip the following colon.
26266 (expand_dynamic_string_token): Add is_path parameter and pass
26267 down to DL_DST_REQUIRED and _dl_dst_substitute.
26268 (decompose_rpath): Call expand_dynamic_string_token with
26269 non-zero is_path. Ignore empty rpaths.
26270 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26271 with zero is_path.
26272
f12a32e6
AS
262732011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26274
26275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26276 Make cancelable.
26277
38a7d692
UD
262782011-04-09 Ulrich Drepper <drepper@gmail.com>
26279
26280 [BZ #12655]
26281 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26282 Patch by Filipe David Manana <fdmanana@apache.org>.
26283
e451d22b
AS
262842011-04-07 Andreas Schwab <schwab@redhat.com>
26285
26286 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26287 Maintain aligned stack.
26288 (CHECK_RSP): Remove unused macro.
26289
dedc7c7b
UD
262902011-04-03 Ulrich Drepper <drepper@gmail.com>
26291
26292 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26293 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26294
94521213
UD
262952011-04-02 Ulrich Drepper <drepper@gmail.com>
26296
26297 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26298
8cb700c0 26299 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26300
0354e355
L
263012011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26302
26303 [BZ #12518]
26304 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26305 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26306 * sysdeps/x86_64/memmove.c: New file.
26307 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26308 (memcpy): Renamed to ...
26309 (__new_memcpy): This.
26310 (memcpy): Provide GLIBC_2_14 memcpy.
26311 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26312 (memcpy): Provide GLIBC_2_2_5 memcpy.
26313
8593482f
UD
263142011-04-01 Ulrich Drepper <drepper@gmail.com>
26315
26316 [BZ #12631]
26317 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26318
81a5726b
AS
263192011-03-30 Andreas Schwab <schwab@redhat.com>
26320
26321 * misc/syncfs.c: New file.
26322 * misc/Makefile (routines): Add syncfs.
26323 * posix/unistd.h: Declare syncfs.
26324 * sysdeps/unix/syscalls.list: Add syncfs.
26325
00e5419f
AS
263262011-04-01 Andreas Schwab <schwab@redhat.com>
26327
26328 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26329 open_by_handle_at.
26330 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26331 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26332 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26333 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26334 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26335 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26336 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26337
748876bf
UD
263382011-04-01 Ulrich Drepper <drepper@gmail.com>
26339
658e451d
UD
26340 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26341 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26342 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26344 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26346 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26347
748876bf
UD
26348 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26349 sync_file_range.c with -fexceptions.
26350 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26351 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26352 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26353 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26354 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26355 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26356 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26357 sync_file_range as cancellation point
26358 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26359 now a wrapper around __call_sync_file_range with cancellation handling.
26360 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26361 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26362 function name to __call_sync_file_range.
26363 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26364 Add call_sync_file_range.
748876bf 26365
6e63d5e1
AS
263662011-04-01 Andreas Schwab <schwab@redhat.com>
26367
26368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26369 bits/timex.h.
6e63d5e1 26370
46998f74
UD
263712011-04-01 Ulrich Drepper <drepper@gmail.com>
26372
4c1423ed
UD
26373 * iconv/iconv.h: Fix typo in comment.
26374 * io/fcntl.h: Likewise.
26375 * libio/stdio.h: Likewise.
26376 * posix/spawn.h: Likewise.
26377 * posix/unistd.h: Likewise.
26378 * stdlib/stdlib.h: Likewise.
26379 * time/time.h: Likewise.
26380 * wcsmbs/wchar.h: Likewise.
26381
158648c0
UD
26382 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26383 open_by_handle): Add.
26384 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26385 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26386 Augment a few comments.
26387 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26388 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26389 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26390 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26391 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26392 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26393 open_by_handle.
26394
46998f74
UD
26395 * io/fcntl.h (AT_EMPTY_PATH): Define.
26396
83fe108b
UD
263972011-03-30 Ulrich Drepper <drepper@gmail.com>
26398
26399 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26400 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26401 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26402 to...
26403 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26404 * Versions.def: Add GLIBC_2.14.
26405 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26406 Export.
83fe108b 26407
bb242059
UD
264082011-03-22 Ulrich Drepper <drepper@gmail.com>
26409
26410 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26411 round counter.
26412 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26413
c97a1282
L
264142011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26415
26416 [BZ #12597]
26417 * string/test-strncmp.c (do_page_test): New function.
26418 (check2): Likewise.
26419 (test_main): Call check2.
26420 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26421
2a115601
UD
264222011-03-20 Ulrich Drepper <drepper@gmail.com>
26423
26424 [BZ #12587]
26425 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26426 Handle cache information in CPU leaf 4.
26427 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26428
8126d904
UD
264292011-03-18 Ulrich Drepper <drepper@gmail.com>
26430
042c49c6 26431 [BZ #12583]
8126d904
UD
26432 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26433 character representation.
26434 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26435
ccfe366e
RA
264362011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26437
26438 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26439 END(__isnan) to END(__isnanf) to match function entry point/label
26440 EALIGN(__isnanf,...).
26441
c6e13027
JJ
264422011-03-10 Jakub Jelinek <jakub@redhat.com>
26443
26444 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26445
33f85a3f
UD
264462011-03-10 Ulrich Drepper <drepper@gmail.com>
26447
028478fa
UD
26448 [BZ #12510]
26449 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26450 copy from the symbol referenced in the relocation to initialize the
26451 used variable.
26452 Patch by Piotr Bury <pbury@goahead.com>.
26453 * elf/Makefile: Add rules to build and tst-unique3.
26454 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26455 * elf/tst-unique3.cc: New file.
26456 * elf/tst-unique3.h: New file.
26457 * elf/tst-unique3lib.cc: New file.
26458 * elf/tst-unique3lib2.cc: New file.
26459
33f85a3f
UD
26460 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26461
03592fc7
MF
264622011-03-10 Mike Frysinger <vapier@gentoo.org>
26463
26464 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26465 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26466 to _start.
03592fc7 26467
6a5ee102
UD
264682011-03-06 Ulrich Drepper <drepper@gmail.com>
26469
26470 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26471 to-be-loaded object along a path to loader is ld.so.
26472
7e4ba49c
HJ
264732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26474 Ulrich Drepper <drepper@gmail.com>
26475
26476 * sysdeps/x86_64/memset.S: After aligning destination, code
26477 branches to different locations depending on the value of
26478 misalignment, when multiarch is enabled. Fix this.
26479
264802011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26481
26482 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26483 Set _x86_64_preferred_memory_instruction for AMD processsors.
26484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26485 Set bit_Prefer_SSE_for_memop for AMD processors.
26486
13a804de
UD
264872011-03-04 Ulrich Drepper <drepper@gmail.com>
26488
26489 * libio/fmemopen.c (fmemopen): Optimize a bit.
26490
9d25c392
AS
264912011-03-03 Andreas Schwab <schwab@redhat.com>
26492
26493 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26494
a5543c6a
RM
264952011-03-03 Roland McGrath <roland@redhat.com>
26496
26497 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26498
012d35f7
DM
264992011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26500
7e4ba49c 26501 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26502 __bzero_ultra1 instead of __memset_ultra1.
26503
4bff6e01
AS
265042011-02-23 Andreas Schwab <schwab@redhat.com>
26505 Ulrich Drepper <drepper@gmail.com>
26506
26507 [BZ #12509]
26508 * include/link.h (struct link_map): Add l_orig_initfini.
26509 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26510 returning unsuccessfully.
26511 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26512 close of a file loaded at startup, restore the original l_initfini
26513 list.
26514 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26515 list, store the pointer.
26516 * elf/Makefile ($(objpfx)noload-mem): New rule.
26517 (noload-ENV): Define.
26518 (tests): Add $(objpfx)noload-mem.
26519 * elf/noload.c: Include <memcheck.h>.
26520 (main): Call mtrace. Close all opened handles.
26521
f2092faf
AS
265222011-02-17 Andreas Schwab <schwab@redhat.com>
26523
26524 [BZ #12454]
26525 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26526 dependencies are missing.
26527
6c8a2e88
ST
265282011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26529
f2092faf 26530 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26531 Hurd needs munmap.
26532 * sysdeps/mach/hurd/ifreq.h: New file.
26533
84a42118
PB
265342011-01-27 Petr Baudis <pasky@suse.cz>
26535 Ulrich Drepper <drepper@gmail.com>
26536
071f805e 26537 [BZ 12445]#
84a42118
PB
26538 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26539 to extend_alloca().
26540 * stdio-common/bug23.c: New file.
26541 * stdio-common/Makefile (tests): Add bug23.
26542
e23fe25b
AS
265432010-09-28 Andreas Schwab <schwab@redhat.com>
26544 Ulrich Drepper <drepper@gmail.com>
26545
26546 [BZ #12489]
26547 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26548 before performing relro protection. At old place add assertion
26549 to make sure nothing changed.
26550
d3f02e10
NS
265512011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26552 Glauber de Oliveira Costa <glommer@gmail.com>
26553
26554 * elf/elf.h: Add new ARM TLS relocs.
26555
d55fd7a5
RA
265562011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26557
26558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26559 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26560 cast from r3.
26561 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26562 'tests' variable.
26563 * sysdeps/wordsize-64/tst-writev.c: New file.
26564
2206397e
RA
265652011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26566
26567 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26568 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26569 insns in _dl_start to prevent a TOC reference before relocs are
26570 resolved.
26571
e9433893
UD
265722011-02-15 Ulrich Drepper <drepper@gmail.com>
26573
26574 [BZ #12469]
26575 * Makeconfig: Remove RANLIB definition.
26576 * Makerules: Don't use RANLIB.
26577 * aclocal.m4: Remove ranlib test.
26578 * configure.in: No need to check for ranlib.
26579 * elf/rtld-Rules: Don't use RANLIB.
26580
f75286c6
ST
265812011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26582
8e31c82d
ST
26583 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26584 protection macro.
26585 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26586 inclusion protection macro.
26587
f75286c6
ST
26588 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26589 SIGRTMIN and SIGRTMAX and print information in that case only when
26590 SIGRTMIN is defined.
26591
c1d0e639
JJ
265922011-02-11 Jakub Jelinek <jakub@redhat.com>
26593
26594 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26595 arginfo fn returning -1.
26596
26597 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26598 and thousands string is zero terminated.
26599
edf9294e
AS
266002011-02-03 Andreas Schwab <schwab@redhat.com>
26601
26602 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26603 sysdeps/unix/sysv/linux/bits/socket.h.
26604
2b7e92df
ST
266052011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26606
edf9294e
AS
26607 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26608 (__CPU_COUNT): Remove old macros.
26609 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26610 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26611 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26612 (__sched_cpualloc, __sched_cpufree): Add declarations.
26613
a4c7ea7b
UD
266142011-02-05 Ulrich Drepper <drepper@gmail.com>
26615
26616 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26617 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26618 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26619 (readdhstai): Return value of addhstaiX call.
26620 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26621 (addgrbyX): Return value returned by cache_addgr.
26622 (readdgrbyname): Return value returned by addgrbyX.
26623 (readdgrbygid): Likewise.
26624 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26625 (addpwbyX): Return value returned by cache_addpw.
26626 (readdpwbyname): Return value returned by addhstbyX.
26627 (readdpwbyuid): Likewise.
26628 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26629 (addservbyX): Return value returned by cache_addserv.
26630 (readdservbyname): Return value returned by addservbyX:
26631 (readdservbyport): Likewise.
26632 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26633 (addhstbyX): Return value returned by cache_addhst.
26634 (readdhstbyname): Return value returned by addhstbyX.
26635 (readdhstbyaddr): Likewise.
26636 (readdhstbynamev6): Likewise.
26637 (readdhstbyaddrv6): Likewise.
26638 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26639 (readdinitgroups): Return value returned by addinitgroupsX.
26640 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26641 (prune_cache): Keep track of timeout value of re-added entries.
26642 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26643 * nscd/nscd.h: Adjust prototypes of readd* functions.
26644
a0bf67cc
RM
266452011-02-04 Roland McGrath <roland@redhat.com>
26646
26647 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26648 (nis_stats): Likewise.
26649 * nis/nis_modify.c (nis_modify): Likewise.
26650 * nis/nis_remove.c (nis_remove): Likewise.
26651 * nis/nis_add.c (nis_add): Likewise.
26652
26653 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26654
26655 * posix/fnmatch_loop.c: Add some consts.
26656
26657 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26658
435b95eb
L
266592011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26660
26661 [BZ #12460]
26662 * config.make.in (config-cflags-novzeroupper): Define.
26663 * configure.in: Substitute libc_cv_cc_novzeroupper.
26664 * elf/Makefile (AVX-CFLAGS): Define.
26665 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26666 (CFLAGS-tst-auditmod4a.c): Likewise.
26667 (CFLAGS-tst-auditmod4b.c): Likewise.
26668 (CFLAGS-tst-auditmod6b.c): Likewise.
26669 (CFLAGS-tst-auditmod6c.c): Likewise.
26670 (CFLAGS-tst-auditmod7b.c): Likewise.
26671 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26672
8517b15e
UD
266732011-02-02 Ulrich Drepper <drepper@gmail.com>
26674
26675 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26676 function to the callback.
26677 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26678
10a656fe
AS
266792011-02-02 Andreas Schwab <schwab@redhat.com>
26680
26681 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26682 of errno.
26683
968dad0a
UD
266842011-01-19 Ulrich Drepper <drepper@gmail.com>
26685
9f94d2ea 26686 [BZ #11724]
968dad0a
UD
26687 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26688 of constructors.
26689 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26690 of destructors.
26691 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26692
26693 [BZ #11724]
26694 * elf/Makefile: Add rules to build and run new test.
26695 * elf/tst-initorder.c: New file.
26696 * elf/tst-initorder.exp: New file.
26697 * elf/tst-initordera1.c: New file.
26698 * elf/tst-initordera2.c: New file.
26699 * elf/tst-initordera3.c: New file.
26700 * elf/tst-initordera4.c: New file.
26701 * elf/tst-initorderb1.c: New file.
26702 * elf/tst-initorderb2.c: New file.
26703 * elf/tst-order-a1.c: New file.
26704 * elf/tst-order-a2.c: New file.
26705 * elf/tst-order-a3.c: New file.
26706 * elf/tst-order-a4.c: New file.
26707 * elf/tst-order-b1.c: New file.
26708 * elf/tst-order-b2.c: New file.
26709 * elf/tst-order-main.c: New file.
26710 New test case by George Gensure <werkt0@gmail.com>.
26711
86e92359
UD
267122010-10-01 Andreas Schwab <schwab@redhat.com>
26713
26714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26715 decoding ACE if AI_CANONIDN.
26716
5d5732b0
UD
267172011-01-18 Ulrich Drepper <drepper@gmail.com>
26718
26719 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26720
a77e8cbc
UD
267212011-01-17 Ulrich Drepper <drepper@gmail.com>
26722
6392473f
UD
26723 * version.h (RELEASE): Bump for 2.13 release.
26724 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26725
620a0529
UD
26726 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26727
18ba70a5
UD
26728 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26729 MADV_NOHUGEPAGE.
32465c3e
UD
26730 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26731 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26732 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26733 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26734 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26735 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26736
c0dafcf1
UD
26737 * posix/getconf.c: Update copyright year.
26738 * catgets/gencat.c: Likewise.
26739 * csu/version.c: Likewise.
26740 * debug/catchsegv.sh: Likewise.
26741 * debug/xtrace.sh: Likewise.
26742 * elf/ldconfig.c: Likewise.
26743 * elf/ldd.bash.in: Likewise.
26744 * elf/sprof.c (print_version): Likewise.
26745 * iconv/iconv_prog.c: Likewise.
26746 * iconv/iconvconfig.c: Likewise.
26747 * locale/programs/locale.c: Likewise.
26748 * locale/programs/localedef.c: Likewise.
26749 * malloc/memusage.sh: Likewise.
26750 * malloc/mtrace.pl: Likewise.
26751 * nscd/nscd.c (print_version): Likewise.
26752 * nss/getent.c: Likewise.
26753
a77e8cbc
UD
26754 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26755 PF_CAIF, and PF_ALG.
26756 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26757
77e8bddf
AS
267582011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26759
1f20b93a
AS
26760 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26761 (modules-names): Use them.
26762 (ifunc-test-modules, ifunc-pie-tests): Define.
26763 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26764 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26765 (test-extras): Likewise.
26766 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26767 $(compile-command.c).
26768 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26769 (all-built-dso): Define.
26770 (check-textrel.out, check-execstack.out): Depend on it.
26771
77e8bddf
AS
26772 * configure.in: Don't override --enable-multi-arch.
26773
bc425b33
UD
267742011-01-15 Ulrich Drepper <drepper@gmail.com>
26775
26776 [BZ #6812]
26777 * nscd/hstcache.c (tryagain): Define.
26778 (cache_addhst): Return tryagain not notfound for temporary errors.
26779 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26780 failed.
26781
794c3ad3
UD
267822011-01-14 Ulrich Drepper <drepper@gmail.com>
26783
70181fdd
UD
26784 [BZ #10563]
26785 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26786 to make the syscall.
26787 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26788
794c3ad3
UD
26789 [BZ #12378]
26790 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26791 and fall back to matching as normal character if the string ends before
26792 the matching ']' is found. This is what POSIX requires.
26793 * posix/testfnm.c: Adjust test result.
26794 * posix/globtest.sh: Adjust test result. Add new test.
26795 * posix/tst-fnmatch.input: Likewise.
26796 * posix/tst-fnmatch2.c: Add new test.
26797
68dc9497
AS
267982010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26799
26800 * elf/Makefile (check-execstack): Revert last change. Depend on
26801 check-execstack.h.
26802 (check-execstack.h): New target.
26803 (generated): Add check-execstack.h.
26804 * elf/check-execstack.c: Include "check-execstack.h".
26805 (main): Revert last change.
26806 (handle_file): Return zero if GNU_STACK is absent and
26807 DEFAULT_STACK_PERMS doesn't include PF_X.
26808
451f001b
UD
268092011-01-13 Ulrich Drepper <drepper@gmail.com>
26810
cfa28e56
UD
26811 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26812 in child fails because the descriptor is already closed.
8cf8ce17
UD
26813 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26814 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26815 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26816
1086d70d
UD
26817 [BZ #12397]
26818 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26819 syscall.
26820
451f001b
UD
26821 [BZ #10484]
26822 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26823 temporary buffer used to handle multi lookups locally.
a85b5cb4 26824 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26825
08769175
UD
268262011-01-12 Ulrich Drepper <drepper@gmail.com>
26827
26828 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26829 loader is ld.so.
26830
5e49c52e
UD
268312011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26832
26833 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26834 alignment for SSE2.
26835
60522a5f
UD
268362011-01-12 Ulrich Drepper <drepper@gmail.com>
26837
26838 [BZ #12394]
26839 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26840 characters. When rounding increased number of integer digits recompute
26841 number of groups.
26842 * stdio-common/tst-grouping.c: New file.
26843 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26844
f257bbd7
UD
268452011-01-09 Ulrich Drepper <drepper@gmail.com>
26846
26847 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26848 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26849
26850 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26851 void.
26852 * bits/select.h: Likewise.
26853
fa9c15cb
UD
268542011-01-08 Ulrich Drepper <drepper@gmail.com>
26855
26856 * po/ja.po: Update from translation team.
26857
16c2895f
DM
268582011-01-04 David S. Miller <davem@sunset.davemloft.net>
26859
26860 [BZ #11155]
26861 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26862 implementation just like for lxstat, fxstatat, et al.
26863
2543fef2
JM
268642010-12-27 Jim Meyering <meyering@redhat.com>
26865
26866 [BZ #12348]
26867 * posix/regexec.c (build_trtable): Return failure indication upon
26868 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26869
98727dbe
UD
268702010-12-25 Ulrich Drepper <drepper@gmail.com>
26871
5bd6dc5c
UD
26872 [BZ #12201]
26873 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26874 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26875 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26876 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26877
97983464
UD
26878 [BZ #12207]
26879 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26880
98727dbe
UD
26881 [BZ #12204]
26882 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26883 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26884
4a531bb0
L
268852010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26886
26887 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26888 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26889 script has SORT_BY_INIT_PRIORITY.
26890 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26891 NO_CTORS_DTORS_SECTIONS is defined.
26892 * elf/soinit.c: Likewise.
26893 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26894 NO_CTORS_DTORS_SECTIONS is defined.
26895 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26896 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26897 * sysdeps/sh/init-first.c: Likewise.
26898 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26899
07eb4b71
UD
269002010-12-24 Ulrich Drepper <drepper@gmail.com>
26901
26902 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26903 always use the slow path.
26904
30950a5f
RA
269052010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26906
26907 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26908 similar rule which adds the sysdep directories to the header search in
26909 order to pick up the correct platform stackinfo.h.
26910 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26911 perform test if it is, otherwise return successfully without testing.
26912 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26913 DEFAULT_STACK_PERMS define in stackinfo.h.
26914 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26915 defined in stackinfo.h.
26916 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26917 DEFAULT_STACK_PERMS defined in stackinfo.h.
26918 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26919 * sysdeps/ia64/stackinfo.h: Likewise.
26920 * sysdeps/s390/stackinfo.h: Likewise.
26921 * sysdeps/sh/stackinfo.h: Likewise.
26922 * sysdeps/sparc/stackinfo.h: Likewise.
26923 * sysdeps/x86_64/stackinfo.h: Likewise.
26924 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26925 PF_X for powerpc64. Retain PF_X for powerpc32.
26926
db753e2c
UD
269272010-12-19 Ulrich Drepper <drepper@gmail.com>
26928
14b697f7
UD
26929 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26930 accurately.
db753e2c
UD
26931 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26932 GETDENTS_64BIT_ALIGNED.
26933
28300719
UD
269342010-12-14 Ulrich Drepper <dreper@gmail.com>
26935
14b697f7 26936 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26937
4f197237
AS
269382010-12-10 Andreas Schwab <schwab@redhat.com>
26939
dbb0472f
AS
26940 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26941 _GNU_SOURCE.
26942
4f197237
AS
26943 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26944 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26945 Remove __restrict.
26946 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26947 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26948
fb88ac72
UD
269492010-12-09 Ulrich Drepper <drepper@gmail.com>
26950
26951 [BZ #11655]
26952 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26953 are initialized.
26954
42acbb92
JJ
269552010-12-09 Jakub Jelinek <jakub@redhat.com>
26956
26957 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26958
c038d98d
UD
269592010-12-03 Ulrich Drepper <drepper@gmail.com>
26960
26961 * po/it.po: Update from translation team.
26962
3a4a2499
L
269632010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26964
26965 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26966 unused codes.
26967
1e24cf6e
UD
269682010-11-30 Ulrich Drepper <drepper@gmail.com>
26969
26970 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26971
a7690819
AS
269722010-11-24 Andreas Schwab <schwab@redhat.com>
26973
26974 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26975 specially.
26976 (gaih_getanswer_slice): Likewise.
26977
3bf8d1b1
JJ
269782010-10-20 Jakub Jelinek <jakub@redhat.com>
26979
26980 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26981
6db52fbb
PB
269822010-05-31 Petr Baudis <pasky@suse.cz>
26983
26984 [BZ #11149]
26985 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26986 silently even in the chroot mode.
26987
eaca7569
UD
269882010-11-22 Ulrich Drepper <drepper@gmail.com>
26989
26990 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26991 last patch a bit. Pretty printing
26992
3056dcdb
UD
269932010-05-31 Petr Baudis <pasky@suse.cz>
26994
26995 [BZ #10085]
26996 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26997 initialization of skip_initgroups_dyn.
26998
cf7c9078
UD
269992010-11-19 Ulrich Drepper <drepper@gmail.com>
27000
27001 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27002 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27003
a1fb5e3e
UD
270042010-11-16 Ulrich Drepper <drepper@gmail.com>
27005
27006 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27007
3540d66b
AS
270082010-11-11 Andreas Schwab <schwab@redhat.com>
27009
27010 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27011 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27012 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27013 ($(objpfx)tst-fnmatch-mem): New rule.
27014 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27015 * posix/tst-fnmatch.c (main): Call mtrace.
27016
13b69574
L
270172010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27018
27019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27020 Support Intel processor model 6 and model 0x2c.
27021
da93d214
LM
270222010-11-10 Luis Machado <luisgpm@br.ibm.com>
27023
27024 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27025 signed comparison.
27026
8ca52c6e
L
270272010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27028
27029 [BZ #12205]
27030 * string/test-strncasecmp.c (check_result): New function.
27031 (do_one_test): Use it.
27032 (check1): New function.
27033 (test_main): Use it.
27034 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27035 Support strcasecmp and strncasecmp.
27036
69da074d
UD
270372010-11-08 Ulrich Drepper <drepper@gmail.com>
27038
27039 [BZ #12194]
27040 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27041 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27042
ff02d528
L
270432010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27044
27045 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27046 IFUNC support.
27047 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27048 memset-x86-64.
27049 * sysdeps/x86_64/multiarch/bzero.S: New file.
27050 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27051 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27052 * sysdeps/x86_64/multiarch/memset.S: New file.
27053 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27055 Set bit_Prefer_SSE_for_memop for Intel processors.
27056 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27057 Define.
27058 (index_Prefer_SSE_for_memop): Define.
27059 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27060
344d0b54
LM
270612010-11-04 Luis Machado <luisgpm@br.ibm.com>
27062
27063 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27064 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27065
c0dde15b
UD
270662010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27067
27068 [BZ #12191]
27069 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27070 (__x86_64_raw_data_cache_size_half): Likewise.
27071 (__x86_64_raw_shared_cache_size): Likewise.
27072 (__x86_64_raw_shared_cache_size_half): Likewise.
27073
27074 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27075 (__x86_64_raw_data_cache_size_half): Likewise.
27076 (__x86_64_raw_shared_cache_size): Likewise.
27077 (__x86_64_raw_shared_cache_size_half): Likewise.
27078 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27079 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27080 and __x86_64_raw_shared_cache_size_half. Round
27081 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27082 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27083 to multiple of 256 bytes.
27084
0e516e0e
MS
270852010-11-03 Ulrich Drepper <drepper@gmail.com>
27086
27087 [BZ #12167]
27088 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27089 of inacessible symlinks. Verify result of symlink before returning it.
27090 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27091 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27092
0e012e87
ER
270932010-10-28 Erich Ritz <erichritz@gmail.com>
27094
27095 * math/math.h (isinf): Fix typo in comment.
27096
de0ff7bc
UD
270972010-11-01 Ulrich Drepper <drepper@gmail.com>
27098
27099 * po/da.po: Update from translation team.
27100
fa41c84d
UD
271012010-10-26 Ulrich Drepper <drepper@gmail.com>
27102
27103 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27104 is added to the list.
27105
f0967738
AK
271062010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27107 Ulrich Drepper <drepper@gmail.com>
27108
27109 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27110 the global list here. Move code to...
27111 (_dl_add_to_namespace_list): ...here. New function.
27112 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27113 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27114 * elf/dl-load.c (lose): Don't remove the element from the list.
27115 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27116 (_dl_map_object): Likewise.
27117
271182010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27119
27120 [BZ #12159]
27121 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27122 into all bytes of SSE register.
27123 Patch by Richard Li <richardpku@gmail.com>.
27124
f0967738 271252010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27126
27127 [BZ #12140]
27128 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27129 perturbing.
27130
d0b9e94f
MB
271312010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27132
27133 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27134 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27135 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27136 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27138 submachine.
27139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27140
8e9f92e9
AS
271412010-10-22 Andreas Schwab <schwab@redhat.com>
27142
27143 * include/dlfcn.h (__RTLD_SECURE): Define.
27144 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27145 mode & __RTLD_SECURE instead.
27146 (open_path): Rename preloaded parameter to secure.
27147 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27148 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27149 * elf/dl-deps.c (openaux): Likewise.
27150 * elf/rtld.c (struct map_args): Remove is_preloaded.
27151 (map_doit): Don't use it.
27152 (dl_main): Likewise.
27153 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27154 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27155
bc96fbda
AS
271562010-09-09 Andreas Schwab <schwab@redhat.com>
27157
27158 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27159 (sysd-rules-targets): Remove duplicates.
27160 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27161 rtld-%.$o dependency.
27162
22cd1c9b
AS
271632010-10-18 Andreas Schwab <schwab@redhat.com>
27164
27165 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27166 _dl_map_object do it.
27167
18edac48
UD
271682010-10-19 Ulrich Drepper <drepper@gmail.com>
27169
27170 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27171 fast fma builtins, define the macros in the C99 standard.
27172 (FP_FAST_FMAF): Likewise.
27173 (FP_FAST_FMAL): Likewise.
27174 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27175
27176 * bits/mathdef.h: Update copyright year.
27177 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27178
d2050124
MM
271792010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27180
27181 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27182 builtins, define the macros in the C99 standard.
27183 (FP_FAST_FMAF): Likewise.
27184 (FP_FAST_FMAL): Likewise.
27185 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27186 multiply/add.
27187 (FP_FAST_FMAF): Likewise.
27188
475facd1
JJ
271892010-10-15 Jakub Jelinek <jakub@redhat.com>
27190
27191 [BZ #3268]
27192 * math/libm-test.inc (fma_test): Some new testcases.
27193 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27194 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27195 y and infinite z. Do multiplication by C already in long double.
27196 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27198 y and infinite z. Do bitwise or of inexact bit into u.d.
27199 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27200 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27201 * sysdeps/i386/fpu/s_fma.S: Removed.
27202 * sysdeps/i386/fpu/s_fmal.S: Removed.
27203
7c08a05c
JJ
272042010-10-16 Jakub Jelinek <jakub@redhat.com>
27205
27206 [BZ #3268]
27207 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27208 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27209 computation is not scheduled after fetestexcept. Fix value
27210 of minimum denormal long double.
27211
f3f7372d
JJ
272122010-10-14 Jakub Jelinek <jakub@redhat.com>
27213
27214 [BZ #3268]
27215 * math/libm-test.inc (fma_test): Add some more tests.
27216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27217 correctly.
27218
14d43591
AS
272192010-10-15 Andreas Schwab <schwab@redhat.com>
27220
27221 * scripts/data/localplt-s390-linux-gnu.data: New file.
27222 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27223
5e908464
JJ
272242010-10-13 Jakub Jelinek <jakub@redhat.com>
27225
27226 [BZ #3268]
27227 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27228 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27229 instead of dbl-64.
27230 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27231 inlines.
27232 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27233 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27234 if one of x and y is very large and the other is subnormal.
27235 * sysdeps/s390/fpu/s_fmaf.c: New file.
27236 * sysdeps/s390/fpu/s_fma.c: New file.
27237 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27238 * sysdeps/powerpc/fpu/s_fma.S: New file.
27239 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27240 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27241 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27242
272432010-10-12 Jakub Jelinek <jakub@redhat.com>
27244
27245 [BZ #3268]
27246 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27247 fma tests.
27248 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27249 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27250 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27251 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27252 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27253 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27254 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27255
b833d51f
UD
272562010-10-12 Ulrich Drepper <drepper@redhat.com>
27257
27258 [BZ #12078]
27259 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27260 * posix/bug-regex31.input: Add test case.
27261
1751705d
UD
272622010-10-11 Ulrich Drepper <drepper@gmail.com>
27263
e9b9cbf5
UD
27264 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27265 * posix/bug-regex31.input: New file.
27266
27267 [BZ #12078]
27268 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27269 (parse_sub_exp): Fix last change, use postorder.
27270
ef06edbe
UD
27271 * posix/bug-regex31.c: New file.
27272 * posix/Makefile: Add rules to build and run bug-regex31.
27273
a129c80d
UD
27274 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27275
27276 [BZ #12078]
27277 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27278
b76b818e
UD
27279 [BZ #12108]
27280 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27281 to have entries in sys_siglist.
27282
1751705d
UD
27283 [BZ #12093]
27284 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27285 be NULL.
27286
9ff8d36f
JJ
272872010-10-07 Jakub Jelinek <jakub@redhat.com>
27288
27289 [BZ #3268]
27290 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27291 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27292 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27293 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27294 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27295 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27296 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27297 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27298 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27299 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27300 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27301 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27302 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27303 * math/ftestexcept.c (fetestexcept): Likewise.
27304 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27305 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27306 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27307 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27308 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27309 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27310 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27311
af325969
UD
273122010-10-11 Ulrich Drepper <drepper@gmail.com>
27313
c579b202 27314 [BZ #12107]
af325969
UD
27315 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27316 newline.
27317
67a67b95
UD
273182010-10-06 Ulrich Drepper <drepper@gmail.com>
27319
27320 * string/bug-strstr1.c: New file.
27321 * string/Makefile: Add rules to build and run bug-strstr1.
27322
5fb308bc
EB
273232010-10-05 Eric Blake <eblake@redhat.com>
27324
27325 [BZ #12092]
27326 * string/str-two-way.h (two_way_long_needle): Always clear memory
27327 when skipping input due to the shift table.
27328
45db99c7
UD
273292010-10-03 Ulrich Drepper <drepper@gmail.com>
27330
3b111893
UD
27331 [BZ #12005]
27332 * malloc/mcheck.c: Handle large requests.
27333
45db99c7
UD
27334 [BZ #12077]
27335 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27336 for strncmp and strncasecmp.
27337 * string/stratcliff.c: Add tests for strcmp and strncmp.
27338 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27339
cf7a1eb8
NI
273402010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27341
27342 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27343 __set_fpscr.
27344
6484ba5e
AJ
273452010-09-30 Andreas Jaeger <aj@suse.de>
27346
27347 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27348 (CGROUP_SUPER_MAGIC): Define.
27349 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27350 Handle btrfs and cgroup file systems.
27351 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27352 Likewise.
27353
91c42559
LM
273542010-09-27 Luis Machado <luisgpm@br.ibm.com>
27355
27356 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27357 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27358
87a97932
AK
273592010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27360
27361 [BZ #12067]
27362 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27363 trying to locate the ELF header.
27364
c21cc9bc
AS
273652010-09-27 Andreas Schwab <schwab@redhat.com>
27366
27367 [BZ #11611]
27368 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27369 Mask out sign-bit copies when constructing f_fsid.
27370
315970f6
PB
273712010-09-24 Petr Baudis <pasky@suse.cz>
27372
27373 * debug/stack_chk_fail_local.c: Add missing licence exception.
27374 * debug/warning-nop.c: Likewise.
27375
1ac7a2c7
JM
273762010-09-15 Joseph Myers <joseph@codesourcery.com>
27377
27378 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27379 implementing getdents64 using getdents syscall, set d_type if
27380 __ASSUME_GETDENTS32_D_TYPE.
27381
56801c50
AS
273822010-09-16 Andreas Schwab <schwab@redhat.com>
27383
27384 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27385 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27386
dda51327
UD
273872010-09-21 Ulrich Drepper <drepper@redhat.com>
27388
27389 [BZ #12037]
27390 * posix/unistd.h: Undo change of feature selection for ftruncate from
27391 2010-01-11.
27392
8ffcee4a
UD
273932010-09-20 Ulrich Drepper <drepper@redhat.com>
27394
a545ecd9 27395 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27396 detection.
27397
e24f0a8b
AS
273982010-09-20 Andreas Schwab <schwab@redhat.com>
27399
27400 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27401 fanotify_mark.
27402 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27403
7291c56f
AS
274042010-09-14 Andreas Schwab <schwab@redhat.com>
27405
27406 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27407 variables after CHECK_SP call.
27408 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27409
bc5fb037
AS
274102010-09-13 Andreas Schwab <schwab@redhat.com>
27411 Ulrich Drepper <drepper@redhat.com>
27412
27413 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27414 re-relocationg ld.so.
27415 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27416 _dl_init_paths call.
27417 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27418 here anymore.
27419
e66e7419
UD
274202010-09-14 Ulrich Drepper <drepper@redhat.com>
27421
27422 * resolv/res_init.c (__res_vinit): Count the default server we added.
27423
c044aa75
CLT
274242010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27425 Ulrich Drepper <drepper@redhat.com>
27426
27427 [BZ #11968]
27428 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27429 (____longjmp_chk): Use %ebx for saving value across system call.
27430 Add unwind info.
27431
32cf4069
AS
274322010-09-06 Andreas Schwab <schwab@redhat.com>
27433
27434 * manual/Makefile: Don't mix pattern rules with normal rules.
27435
817328ee
AS
274362010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27437
27438 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27439 operation.
27440 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27441 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27442 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27443 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27444 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27445 Likewise.
27446
29fddf61
UD
274472010-09-04 Ulrich Drepper <drepper@redhat.com>
27448
27449 [BZ #11979]
27450 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27451 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27452
0959ffc9
UD
274532010-09-02 Ulrich Drepper <drepper@redhat.com>
27454
27455 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27456 * sysdeps/x86_64/addmul_1.S: Likewise.
27457 * sysdeps/x86_64/lshift.S: Likewise.
27458 * sysdeps/x86_64/mul_1.S: Likewise.
27459 * sysdeps/x86_64/rshift.S: Likewise.
27460 * sysdeps/x86_64/sub_n.S: Likewise.
27461 * sysdeps/x86_64/submul_1.S: Likewise.
27462
ece29840
ST
274632010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27464
0959ffc9
UD
27465 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27466 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27467 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27468 * bits/sched.h [__need_schedparam]
ece29840 27469 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27470 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27471 (__defined_schedparam): Define to 1.
ece29840
ST
27472 (__sched_param): New structure, identical to sched_param.
27473 (__need_schedparam): Undefine.
27474
e53a31fe
MF
274752010-08-31 Mike Frysinger <vapier@gentoo.org>
27476
fdc0c10d
MF
27477 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27478 (epoll_create1): Declare.
27479
e53a31fe
MF
27480 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27481
a726d796
AS
274822010-08-31 Andreas Schwab <schwab@redhat.com>
27483
27484 [BZ #7066]
27485 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27486 shifting retval into place.
27487
2f3e3dc7
UD
274882010-09-01 Ulrich Drepper <drepper@redhat.com>
27489
f2933da9
UD
27490 * nis/rpcsvc/nis.h: Update copyright notice.
27491 * nis/rpcsvc/nis.x: Likewise.
27492 * nis/rpcsvc/nis_callback.h: Likewise.
27493 * nis/rpcsvc/nis_callback.x: Likewise.
27494 * nis/rpcsvc/nis_object.x: Likewise.
27495 * nis/rpcsvc/nis_tags.h: Likewise.
27496 * nis/rpcsvc/yp.h: Likewise.
27497 * nis/rpcsvc/yp.x: Likewise.
27498 * nis/rpcsvc/ypupd.h: Likewise.
27499 * nis/yp_xdr.c: Likewise.
27500 * nis/ypupdate_xdr.c: Likewise.
27501
2f3e3dc7
UD
27502 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27503 mainly the body of pmap_getport. Add parameters to specify timeouts.
27504 (pmap_getport): Use __libc_rpc_getport.
27505 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27506 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27507 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27508
f3dcc2f9
AS
275092010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27510
27511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27512 fanotify_mark.
27513
6d34eb5b
RM
275142010-08-27 Roland McGrath <roland@redhat.com>
27515
27516 * sysdeps/i386/i686/multiarch/Makefile
27517 (CFLAGS-varshift.c): New variable.
27518
9ea3de11
UD
275192010-08-27 Ulrich Drepper <drepper@redhat.com>
27520
c96d23fc
UD
27521 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27522 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27523
9ea3de11
UD
27524 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27525
27526 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27527
623aac7f
L
275282010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27529
27530 * sysdeps/x86_64/strlen.S: Unroll the loop.
27531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27532 strlen-sse2 strlen-sse2-bsf.
27533 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27534 __strlen_no_bsf if bit_Slow_BSF is set.
27535 (__strlen_sse42): Removed.
27536 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27537 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27538
8b2b7715
RM
275392010-08-25 Roland McGrath <roland@redhat.com>
27540
27541 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27542 * sysdeps/x86_64/multiarch/varshift.c: New file.
27543 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27544 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27545 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27546 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27547
e73015f2
L
275482010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27549
27550 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27551 strlen-sse2 strlen-sse2-bsf.
27552 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27553 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27554 (__strlen_sse2): Removed.
27555 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27556 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27558 bit_Slow_BSF for Atom.
27559 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27560 (index_Slow_BSF): Define.
27561 (HAS_SLOW_BSF): Define.
27562
df24a73e
UD
275632010-08-25 Ulrich Drepper <drepper@redhat.com>
27564
27565 [BZ #10851]
27566 * resolv/res_init.c (__res_vinit): When no server address at all
27567 is given default to loopback.
27568
f2ac4868
RM
275692010-08-24 Roland McGrath <roland@redhat.com>
27570
09055553
RM
27571 * configure.in: Remove config-name.h generation.
27572 * configure: Regenerated.
27573 * config-name.in: File removed.
27574 * scripts/config-uname.sh: New file.
27575 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27576 ($(objdir)config-name.h): New target.
27577
f2ac4868
RM
27578 * sunrpc/rpc_parse.h: Avoid nested comment.
27579
73f27d5e
RH
275802010-08-24 Richard Henderson <rth@redhat.com>
27581 Ulrich Drepper <drepper@redhat.com>
27582 H.J. Lu <hongjiu.lu@intel.com>
27583
27584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27586 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27587 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27588 _mm_alignr_epi8 with _mm_loadu_si128.
27589 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27590 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27591 (__m128i_shift_right): Removed.
27592 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27593 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27594 * sysdeps/x86_64/multiarch/varshift.h: New file.
27595 * sysdeps/x86_64/multiarch/varshift.S: New file.
27596
84b9230c
MF
275972010-08-21 Mike Frysinger <vapier@gentoo.org>
27598
27599 * configure.in: Move assembler checks to before sysdep dir checking.
27600
9bbd0ddc
PB
276012010-08-20 Petr Baudis <pasky@suse.cz>
27602
27603 * LICENSES: Sync the sunrpc license.
27604
9da4bb31
UD
276052010-08-19 Ulrich Drepper <drepper@redhat.com>
27606
a7ab6ec8
UD
27607 * sunrpc/auth_des.c: Update copyright notice once again.
27608 * sunrpc/auth_none.c: Likewise.
27609 * sunrpc/auth_unix.c: Likewise.
27610 * sunrpc/authdes_prot.c: Likewise.
27611 * sunrpc/authuxprot.c: Likewise.
27612 * sunrpc/bindrsvprt.c: Likewise.
27613 * sunrpc/clnt_gen.c: Likewise.
27614 * sunrpc/clnt_perr.c: Likewise.
27615 * sunrpc/clnt_raw.c: Likewise.
27616 * sunrpc/clnt_simp.c: Likewise.
27617 * sunrpc/clnt_tcp.c: Likewise.
27618 * sunrpc/clnt_udp.c: Likewise.
27619 * sunrpc/clnt_unix.c: Likewise.
27620 * sunrpc/des_crypt.c: Likewise.
27621 * sunrpc/des_soft.c: Likewise.
27622 * sunrpc/get_myaddr.c: Likewise.
27623 * sunrpc/getrpcport.c: Likewise.
27624 * sunrpc/key_call.c: Likewise.
27625 * sunrpc/key_prot.c: Likewise.
27626 * sunrpc/openchild.c: Likewise.
27627 * sunrpc/pm_getmaps.c: Likewise.
27628 * sunrpc/pm_getport.c: Likewise.
27629 * sunrpc/pmap_clnt.c: Likewise.
27630 * sunrpc/pmap_prot.c: Likewise.
27631 * sunrpc/pmap_prot2.c: Likewise.
27632 * sunrpc/pmap_rmt.c: Likewise.
27633 * sunrpc/rpc/auth.h: Likewise.
27634 * sunrpc/rpc/auth_unix.h: Likewise.
27635 * sunrpc/rpc/clnt.h: Likewise.
27636 * sunrpc/rpc/des_crypt.h: Likewise.
27637 * sunrpc/rpc/key_prot.h: Likewise.
27638 * sunrpc/rpc/netdb.h: Likewise.
27639 * sunrpc/rpc/pmap_clnt.h: Likewise.
27640 * sunrpc/rpc/pmap_prot.h: Likewise.
27641 * sunrpc/rpc/pmap_rmt.h: Likewise.
27642 * sunrpc/rpc/rpc.h: Likewise.
27643 * sunrpc/rpc/rpc_des.h: Likewise.
27644 * sunrpc/rpc/rpc_msg.h: Likewise.
27645 * sunrpc/rpc/svc.h: Likewise.
27646 * sunrpc/rpc/svc_auth.h: Likewise.
27647 * sunrpc/rpc/types.h: Likewise.
27648 * sunrpc/rpc/xdr.h: Likewise.
27649 * sunrpc/rpc_clntout.c: Likewise.
27650 * sunrpc/rpc_cmsg.c: Likewise.
27651 * sunrpc/rpc_common.c: Likewise.
27652 * sunrpc/rpc_cout.c: Likewise.
27653 * sunrpc/rpc_dtable.c: Likewise.
27654 * sunrpc/rpc_hout.c: Likewise.
27655 * sunrpc/rpc_main.c: Likewise.
27656 * sunrpc/rpc_parse.c: Likewise.
27657 * sunrpc/rpc_parse.h: Likewise.
27658 * sunrpc/rpc_prot.c: Likewise.
27659 * sunrpc/rpc_sample.c: Likewise.
27660 * sunrpc/rpc_scan.c: Likewise.
27661 * sunrpc/rpc_scan.h: Likewise.
27662 * sunrpc/rpc_svcout.c: Likewise.
27663 * sunrpc/rpc_tblout.c: Likewise.
27664 * sunrpc/rpc_util.c: Likewise.
27665 * sunrpc/rpc_util.h: Likewise.
27666 * sunrpc/rpcinfo.c: Likewise.
27667 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27668 * sunrpc/rpcsvc/key_prot.x: Likewise.
27669 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27670 * sunrpc/rpcsvc/mount.x: Likewise.
27671 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27672 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27673 * sunrpc/rpcsvc/rex.x: Likewise.
27674 * sunrpc/rpcsvc/rstat.x: Likewise.
27675 * sunrpc/rpcsvc/rusers.x: Likewise.
27676 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27677 * sunrpc/rpcsvc/spray.x: Likewise.
27678 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27679 * sunrpc/rtime.c: Likewise.
27680 * sunrpc/svc.c: Likewise.
27681 * sunrpc/svc_auth.c: Likewise.
27682 * sunrpc/svc_authux.c: Likewise.
27683 * sunrpc/svc_raw.c: Likewise.
27684 * sunrpc/svc_run.c: Likewise.
27685 * sunrpc/svc_simple.c: Likewise.
27686 * sunrpc/svc_tcp.c: Likewise.
27687 * sunrpc/svc_udp.c: Likewise.
27688 * sunrpc/svc_unix.c: Likewise.
27689 * sunrpc/svcauth_des.c: Likewise.
27690 * sunrpc/xcrypt.c: Likewise.
27691 * sunrpc/xdr.c: Likewise.
27692 * sunrpc/xdr_array.c: Likewise.
27693 * sunrpc/xdr_float.c: Likewise.
27694 * sunrpc/xdr_mem.c: Likewise.
27695 * sunrpc/xdr_rec.c: Likewise.
27696 * sunrpc/xdr_ref.c: Likewise.
27697 * sunrpc/xdr_sizeof.c: Likewise.
27698 * sunrpc/xdr_stdio.c: Likewise.
27699
9da4bb31
UD
27700 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27701 handling.
27702
bdaa77bc
AS
277032010-08-19 Andreas Schwab <schwab@redhat.com>
27704
27705 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27706
fe2f79db
LM
277072010-08-19 Luis Machado <luisgpm@br.ibm.com>
27708
27709 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27710 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27711 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27712 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27713 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27714 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27715 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27716 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27717 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27718 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27719 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27720 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27721 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27722 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27723
b9b42ee0
AB
277242010-07-26 Anton Blanchard <anton@samba.org>
27725
27726 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27727 * malloc/arena.c (heap_trim): Likewise.
27728
1c06ba31
UD
277292010-08-16 Ulrich Drepper <drepper@redhat.com>
27730
27731 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27732 here. Not...
27733 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27734 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27735
f8392f40
L
277362010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27737
27738 * sysdeps/i386/elf/Makefile: New file.
27739
3162f12e
AS
277402010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27741
27742 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27743 from fanotify_init.
27744 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27745 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27746
28c90b2c
UD
277472010-08-15 Ulrich Drepper <drepper@redhat.com>
27748
27749 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27750 of strncasecmp_l.
1feccb6c 27751 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27752
ca6bb004
UD
277532010-08-14 Ulrich Drepper <drepper@redhat.com>
27754
e9f82e0d
UD
27755 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27756 strncase_l-nonascii.
27757 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27758 Add strncase_l-ssse3.
27759 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27760 * sysdeps/x86_64/strcmp.S: Likewise.
27761 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27762 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27763 * sysdeps/x86_64/strncase.S: New file.
27764 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27765 * sysdeps/x86_64/strncase_l.S: New file.
27766 * string/Makefile (strop-tests): Add strncasecmp.
27767 * string/test-strncasecmp.c: New file.
27768
27769 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27770 warning.
27771
ca6bb004
UD
27772 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27773 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27774
052fa7b3
AS
277752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27776
27777 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27778
962dba78
UD
277792010-08-12 Ulrich Drepper <drepper@redhat.com>
27780
27781 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27782 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27783 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27784
bebff237
AM
277852010-05-01 Alan Modra <amodra@gmail.com>
27786
27787 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27788 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27789 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27790 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27791 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27792 tidying. Don't tail-call __sigjmp_save for static lib.
27793 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27794 save location.
27795 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27796 (CALL_MCOUNT): Add eh info, and nop after bl.
27797 (TAIL_CALL_SYSCALL_ERROR): New macro.
27798 (PSEUDO_RET): Use it.
27799 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27800 Correct save location of integer regs and cr.
27801 (_dl_profile_resolve): Correct cr save location. Delete nops
27802 after bl when SHARED. Reduce cfi size a little by better
27803 placement of cfi directives.
27804 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27805 make a stack frame. Instead use parm save area as a temp.
27806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27807 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27809 Don't make a stack frame for parent, use parm save area.
27810 Increase child stack frame to 112 bytes. Don't save unused reg,
27811 and adjust reg usage. Set up cfi on error recovery and
27812 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27814 (__makecontext): Add dummy nop after jump to exit.
27815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27816 Use correct parm save area and cr save, reduce stack frame.
27817 Correct cfi for possible PSEUDO_RET frame setup.
27818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27819 Branch to local label emitted by PSEUDO_RET rather than
27820 __syscall_error.
27821
02637374
AS
278222010-08-12 Andreas Schwab <schwab@redhat.com>
27823
27824 [BZ #11904]
27825 * locale/programs/locale.c (print_assignment): New function.
27826 (show_locale_vars): Use it.
27827
c3e2f19b
UD
278282010-08-11 Ulrich Drepper <drepper@redhat.com>
27829
3cdaa6ad
UD
27830 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27831 field.
27832 (struct statfs64): Likewise.
27833 (_STATFS_F_FLAGS): Define.
27834 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27835 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27836 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27837 (ST_VALID): Define locally.
27838 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27839 __statvfs_getflags, use the provided value.
27840 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27841 __ASSUME_STATFS_F_FLAGS.
27842
754f7da3
UD
27843 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27844
10b3bedc
UD
27845 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27846 Add sys/fanotify.h.
27847 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27848 fanotify_mask for GLIBC_2.13.
27849 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27850 fanotify_init and fanotify_mark.
27851 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27852 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27853
c08fb0d7
UD
27854 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27855 Add prlimit.
27856 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27857 prlimit64 for GLIBC_2.13.
27858 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27859 prlimit64.
27860 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27861 syscall.
27862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27863 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27864 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27865 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27866 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27867 add prlimit alias.
27868 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27869
15bac72b
UD
27870 [BZ #11903]
27871 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27872 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27873
c3e2f19b
UD
27874 * nss/Makefile: Add rules to build and run tst-nss-test1.
27875 * shlib-versions: Add entry for libnss_test1.
27876 * nss/nss_test1.c: New file.
27877 * nss/tst-nss-test1.c: New file.
27878
27879 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27880 (__nss_configure_lookup): Set appropriate entry in
27881 __nss_configure_lookup to true.
27882 * nss/nsswitch.h: Define enum with indeces of databases in
27883 databases and __nss_database_custom arrays. Declare
27884 __nss_database_custom.
27885 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27886 to avoid using nscd when custom rules are installed.
27887 * nss/getXXbyYY_r.c: Likewise.
27888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27889
27890 * nss/nss_files/files-parse.c: Whitespace fixes.
27891
f15ce4d8
UD
278922010-08-09 Ulrich Drepper <drepper@redhat.com>
27893
27894 [BZ #11883]
27895 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27896 * posix/fnmatch_loop.c: Likewise.
27897
d22e4cc9
AK
278982010-07-17 Andi Kleen <ak@linux.intel.com>
27899
27900 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27901 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27902 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27903 * Versions.def [GLIBC_2.13]: Add.
27904
805bc17d
UD
279052010-08-06 Ulrich Drepper <drepper@redhat.com>
27906
27907 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27908 Also fail if tpwd after pwuid call is NULL.
27909
5a42321d
ST
279102010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27911
27912 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27913 when converting to ms.
27914
fd3ebeda
ST
279152010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27916
27917 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27918 EOPNOTSUPP errors with ENOTTY.
27919 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27920 EOPNOTSUPP errors with ENOTTY.
27921
73507d3a
UD
279222010-07-31 Ulrich Drepper <drepper@redhat.com>
27923
27924 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27925 Add strcasecmp_l-ssse3.
27926 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27927 strcasecmp.
27928 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27929 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27930 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27931
fe36dd02
UD
279322010-07-30 Ulrich Drepper <drepper@redhat.com>
27933
66f6765a
UD
27934 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27935
42e08a54
UD
27936 * string/Makefile (strop-tests): Add strcasecmp.
27937 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27938 strcasecmp_l-nonascii.
27939 (gen-as-const-headers): Add locale-defines.sym.
27940 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27941 * sysdeps/x86_64/strcasecmp.S: New file.
27942 * sysdeps/x86_64/strcasecmp_l.S: New file.
27943 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27944 * sysdeps/x86_64/locale-defines.sym: New file.
27945 * string/test-strcasecmp.c: New file.
27946
fe36dd02
UD
27947 * string/test-strcasestr.c: Test both ends of the range of characters.
27948 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27949
48cbc0d6
RM
279502010-07-29 Roland McGrath <roland@redhat.com>
27951
76e6d6bc 27952 [BZ #11856]
48cbc0d6
RM
27953 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27954
880113d9
UD
279552010-07-27 Ulrich Drepper <drepper@redhat.com>
27956
27957 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27958 for ld.so.
27959
deb9cabb
AS
279602010-07-27 Andreas Schwab <schwab@redhat.com>
27961
27962 * manual/memory.texi (Malloc Tunable Parameters): Document
27963 M_PERTURB.
27964
1c7570ff
RM
279652010-07-26 Roland McGrath <roland@redhat.com>
27966
27967 [BZ #11840]
27968 * configure.in (-fgnu89-inline check): Set and substitute
27969 gnu89_inline, not libc_cv_gnu89_inline.
27970 * configure: Regenerated.
27971 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27972
24fb0f88
UD
279732010-07-26 Ulrich Drepper <drepper@redhat.com>
27974
27975 * string/test-strnlen.c: New file.
27976 * string/Makefile (strop-tests): Add strnlen.
27977 * string/tester.c (test_strnlen): Add a few more test cases.
27978 * string/tst-strlen.c: Better error reporting.
27979
27980 * sysdeps/x86_64/strnlen.S: New file.
27981
8e96b93a
UD
279822010-07-24 Ulrich Drepper <drepper@redhat.com>
27983
27984 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27985 lower-latency instructions.
27986
dbc676d4
UD
279872010-07-23 Ulrich Drepper <drepper@redhat.com>
27988
27989 * string/test-strcasestr.c: New file.
27990 * string/test-strstr.c: New file.
27991 * string/Makefile (strop-tests): Add strstr and strcasestr.
27992 * string/str-two-way.h: Don't undefine MAX.
27993 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27994
f6a31e0e
AS
279952010-07-21 Andreas Schwab <schwab@redhat.com>
27996
27997 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27998 strcasestr-nonascii.
27999 (CFLAGS-strcasestr-nonascii.c): Define.
28000 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28001 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28002 Remove unused attribute.
28003
5dbc3b6c
RM
280042010-07-20 Roland McGrath <roland@redhat.com>
28005
28006 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28007 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28008 ld.so.cache was broken. With it, there is no way to disable dsocaps
28009 like LD_HWCAP_MASK can disable hwcaps.
28010
23d101d8
EPM
280112010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28012
28013 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28014
cc9f2e47
UD
280152010-07-16 Ulrich Drepper <drepper@redhat.com>
28016
28017 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28018 call in strcasestr.
28019 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28020 __strcasestr_sse42_nonascii.
28021 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28022 strcasestr-nonascii.c.
28023 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28024
77c1b069
LM
280252010-06-15 Luis Machado <luisgpm@br.ibm.com>
28026
28027 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28028 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28029 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28030 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28031
440566c3
UD
280322010-07-09 Ulrich Drepper <drepper@redhat.com>
28033
28034 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28035 fcntl.
28036
5be9d05d
AS
280372010-07-06 Andreas Schwab <schwab@redhat.com>
28038
c30b7ee2 28039 [BZ #11577]
5be9d05d
AS
28040 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28041 dl_signal_cerror.
28042
8a492a67
UD
280432010-07-06 Ulrich Drepper <drepper@redhat.com>
28044
28045 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28046 _PC_PIPE_BUF using F_GETPIPE_SZ.
28047
713df3d5
RM
280482010-07-05 Roland McGrath <roland@redhat.com>
28049
28050 * manual/arith.texi (Rounding Functions): Fix rint description
28051 implicit in round description.
28052
702e8f14
UD
280532010-07-02 Ulrich Drepper <drepper@redhat.com>
28054
28055 * elf/Makefile: Fix linking for a few tests to make recent linker
28056 happy.
28057
52ed8be9
AS
280582010-06-30 Andreas Schwab <schwab@redhat.com>
28059
28060 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28061 $(common-objpfx)libc_nonshared.a.
28062
f47c9a11
LM
280632010-06-21 Luis Machado <luisgpm@br.ibm.com>
28064
28065 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28066 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28067 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28068 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28069 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28070 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28071 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28072 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28087 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28088 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28089 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28090 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28091 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28092 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28093 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28094 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28095 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28096 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28097 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28098 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28113
6fb8cbcb
L
281142010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28115
28116 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28117 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28118 * string/memmove.c (memmove): Renamed to ...
28119 (MEMMOVE): ...this. Default to memmove.
28120 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28121 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28122 (END_CHK): Define.
28123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28124 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28125 mempcpy-ssse3-back memmove-ssse3-back.
28126 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28127 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28128 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28129 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28130 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28131 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28132 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28133 * sysdeps/x86_64/multiarch/memmove.c: New file.
28134 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28135 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28136 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28137 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28138 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28139 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28140 Define.
28141 (index_Fast_Copy_Backward): Define.
28142 (HAS_ARCH_FEATURE): Define.
28143 (HAS_FAST_REP_STRING): Define.
28144 (HAS_FAST_COPY_BACKWARD): Define.
28145
4e733bac 281462010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28147
28148 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28149 Restore proper fallback handling.
28150
63c4ed22
UD
281512010-06-19 Ulrich Drepper <drepper@redhat.com>
28152
ac2b484c
UD
28153 [BZ #11701]
28154 * posix/group_member.c (__group_member): Correct checking loop.
28155
63c4ed22
UD
28156 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28157 OOM in getpwuid_r correctly. Return error number when the caller
28158 should return, otherwise -1.
28159 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28160 call returning > 0 value.
28161 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28162
765ade4b
AS
281632010-06-07 Andreas Schwab <schwab@redhat.com>
28164
28165 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28166 libc_nonshared.a from targets in modules-names.
28167
80da2e09
KS
281682010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28169
28170 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28171 requires it.
28172
158db122
LM
281732010-06-10 Luis Machado <luisgpm@br.ibm.com>
28174
28175 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28176 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28177 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28178 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28179
caa78cf8
AS
281802010-06-02 Andreas Schwab <schwab@redhat.com>
28181
28182 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28183
b2ef2c01
UD
281842010-06-14 Ulrich Drepper <drepper@redhat.com>
28185
28186 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28187 and F_GETPIPE_SZ.
28188 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28189 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28190 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28191 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28192 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28193 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28194
fbd643b6
RM
281952010-06-14 Roland McGrath <roland@redhat.com>
28196
28197 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28198
f32f2869
JJ
281992010-06-07 Jakub Jelinek <jakub@redhat.com>
28200
28201 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28202 __REDIRECT followed by __THROW.
28203 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28204 * posix/getopt.h (getopt): Likewise.
28205
2a50c078
EPM
282062010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28207
28208 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28209 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28210 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28211 in AT_FLAGS.
28212 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28213 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28214
eb5ad2eb
LM
282152010-05-28 Luis Machado <luisgpm@br.ibm.com>
28216
28217 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28218
3c88fe1e
L
282192010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28220
28221 [BZ #11640]
28222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28223 Properly check family and model.
28224
d2f73151
TY
282252010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28226
28227 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28228
ebd2e13d
LM
282292010-05-24 Luis Machado <luisgpm@br.ibm.com>
28230
28231 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28232
b32b8b45
UD
282332010-05-21 Ulrich Drepper <drepper@redhat.com>
28234
28235 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28236 symbol reference.
28237
9acbe24d
AS
282382010-05-19 Andreas Schwab <schwab@redhat.com>
28239
28240 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28241 symbol reference.
28242
f0ccf6ea
AS
282432010-05-21 Andreas Schwab <schwab@redhat.com>
28244
3d04ff3a
AS
28245 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28246 and internal_recvmmsg.
28247 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28248 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28249 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28250 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28251
f0ccf6ea
AS
28252 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28253 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28254 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28255
5b08ac57
AS
282562010-05-20 Andreas Schwab <schwab@redhat.com>
28257
28258 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28259
4828935d
LM
282602010-05-17 Luis Machado <luisgpm@br.ibm.com>
28261
28262 POWER7 optimizations.
28263 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28264 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28265
373d545e
UD
282662010-05-19 Ulrich Drepper <drepper@redhat.com>
28267
28268 * version.h: Update for 2.13 development version.
28269
21a2b1ae
AS
282702010-05-12 Andrew Stubbs <ams@codesourcery.com>
28271
28272 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28273 exceptions. Return 0.
28274
3f7dcb2b
RM
282752010-05-07 Roland McGrath <roland@redhat.com>
28276
28277 * elf/ldconfig.c (main): Add a const.
28278
5f24d53a 282792010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28280
a160f8d8
UD
28281 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28282 (args_options): Add no-idn option.
28283 (ahosts_keys_int): Add idn_flags to ai_flags.
28284 (parse_option): Handle 'i' option to clear idn_flags.
28285
5f24d53a
UD
28286 * malloc/malloc.c (_int_free): Possible race in the most recently
28287 added check. Only act on the data if no current modification
28288 happened.
265bb1ce
UD
28289
28290See ChangeLog.17 for earlier changes.